Closed
Bug 1591527
Opened 5 years ago
Closed 5 years ago
Integrate partial repainting with OS compositor surfaces
Categories
(Core :: Graphics: WebRender, enhancement)
Core
Graphics: WebRender
Tracking
()
RESOLVED
FIXED
mozilla72
Tracking | Status | |
---|---|---|
firefox72 | --- | fixed |
People
(Reporter: mstange, Assigned: gw)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
The current implementation of OS compositor surfaces always repaints the entire surface if anything changes in it.
Instead, we should give webrender::compositor::bind
an update rect parameter so that we can save the overhead from touching unchanged pixels.
Updated•5 years ago
|
Blocks: WR-Win-Compositing
Assignee | ||
Updated•5 years ago
|
Assignee: nobody → gwatson
Comment 1•5 years ago
|
||
Maybe use a region instead of a rectangle? Just as side note.
Assignee | ||
Comment 2•5 years ago
|
||
This passes the existing dirty rect for a picture cache update
through the native compositor interface, allowing compositors
to only update a sub-rect of a tile.
Also update the example to pass dirty rect to DirectComposition,
and add debug drawing for compositor redraw region.
Pushed by gwatson@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/da9cbdbdfcbf
Integrate partial repainting with OS compositor surfaces. r=kvark,mstange
Comment 4•5 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox72:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
You need to log in
before you can comment on or make changes to this bug.
Description
•