Closed
Bug 1604383
Opened 5 years ago
Closed 5 years ago
Refactor the Compositor trait to allow support for DC virtual surface API
Categories
(Core :: Graphics: WebRender, enhancement)
Core
Graphics: WebRender
Tracking
()
RESOLVED
FIXED
mozilla73
Tracking | Status | |
---|---|---|
firefox73 | --- | fixed |
People
(Reporter: gw, Assigned: gw)
References
Details
Attachments
(1 file)
No description provided.
Assignee | ||
Updated•5 years ago
|
Assignee: nobody → gwatson
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Comment 2•5 years ago
|
||
Rough outline of the main changes:
The Compositor trait now exposes both the concept of surfaces and tiles.
A surface maps 1:1 with a picture cache slice.
Tiles exist within a given surface.
A given surface has a constant tile size (the surface is re-created if the tile size changes).
A tile is uniquely identified by (surface id, x, y) where (x, y) are the index of the tile on each axis (signed).
The DC implementation is expanded to have DCSurface and DCTile (currently the old name DCLayer).
A DC visual is created for each tile, and also one for each surface.
Tile visuals are attached to the surface visual, and placed in a local space offset.
Surface visuals are attached to the root. Clip rect and scroll position are applied to the surface visual.
(more detail to come later)
Pushed by gwatson@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c81cf0c409bc
Refactor the Compositor trait to allow support for DC virtual surface API. r=mstange,sotaro
Comment 4•5 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox73:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla73
You need to log in
before you can comment on or make changes to this bug.
Description
•