Closed Bug 1389139 Opened 7 years ago Closed 7 years ago

Provide transform/perspective information to APZ in layers-free mode

Categories

(Core :: Graphics: WebRender, enhancement, P3)

Other Branch
enhancement

Tracking

()

RESOLVED FIXED
mozilla57
Tracking Status
firefox57 --- fixed

People

(Reporter: kats, Assigned: kats)

References

Details

(Whiteboard: [gfx-noted])

Attachments

(2 files)

Right now when we create layers-free WR transaction, we put together a tree of scroll data information [1] to send over to APZ. This scroll data includes things that APZ needs to know such as the scroll metadata for a particular scrollable frame. One of the things currently missing from this data structure is the transform information. We need to create WebRenderLayerScrollData nodes with transform/perspective information so that on the compositor side APZ knows what things are transformed and can adjust coordinates accordingly. [1] http://searchfox.org/mozilla-central/rev/c329d562fb6c6218bdb79290faaf015467ef89e2/gfx/layers/wr/WebRenderLayerManager.cpp#284
Comment on attachment 8897914 [details] Bug 1389139 - Add support for transform and perspective display items to layers-free APZ. https://reviewboard.mozilla.org/r/169198/#review174606
Attachment #8897914 - Flags: review?(jmuizelaar) → review+
Comment on attachment 8897915 [details] Bug 1389139 - Add transforms for reflayer equivalents in the layers-free APZ world. https://reviewboard.mozilla.org/r/169200/#review174608
Attachment #8897915 - Flags: review?(jmuizelaar) → review+
Pushed by kgupta@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/47af683d76df Add support for transform and perspective display items to layers-free APZ. r=jrmuizel https://hg.mozilla.org/integration/autoland/rev/21377565dbae Add transforms for reflayer equivalents in the layers-free APZ world. r=jrmuizel
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: