Support a per-tile clip (valid) region for compositor tiles
Categories
(Core :: Graphics: WebRender, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox75 | --- | fixed |
People
(Reporter: gw, Assigned: gw)
References
Details
Attachments
(2 files, 1 obsolete file)
This will allow us to avoid some overdraw in cases where a large picture cache slice has holes (e.g. a slice with status bar at the bottom + main ui bar at the top).
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Assignee | ||
Comment 2•4 years ago
|
||
Note that this doesn't pass the valid region rect to the native compositor trait yet, it is only used by the simple (WR) compositing mode. I will implement the native compositor usage of the valid region rect as a follow up.
Updated•4 years ago
|
Pushed by gwatson@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7295ca89e880 Support a per-tile clip (valid) region for compositor tiles r=nical
Comment 4•4 years ago
|
||
bugherder |
Comment 5•4 years ago
|
||
Backed out for causing bugs 1608912 and 1608871
Backout: https://hg.mozilla.org/mozilla-central/rev/0690f68a8d9984d2653792e3294bf876eecef651
Comment 6•4 years ago
•
|
||
== Change summary for alert #24671 (as of Wed, 15 Jan 2020 06:06:10 GMT) ==
Improvements:
6% glterrain windows10-64-shippable-qr opt e10s stylo 1.11 -> 1.05
For up to date results, see: https://treeherder.mozilla.org/perf.html#/alerts?id=24671
Updated•4 years ago
|
Assignee | ||
Comment 7•4 years ago
|
||
This patch introduces a per-tile valid rect. In the initial implementation,
this only uses the bounds of the overall picture cache bounding rect. The
next part of this patch will make use of true per-tile valid regions, to
improve performance where there are holes in a single cache slice.
Assignee | ||
Updated•4 years ago
|
Pushed by gwatson@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/42095e4b1709 Part 1 - Add a valid_rect to picture cache and composite tiles. r=mstange
Comment 9•4 years ago
|
||
bugherder |
Assignee | ||
Comment 10•4 years ago
|
||
With this patch, a minimal valid rect is calculated for each
picture cache tile. This is used to reduce the scissor rect
during tile rasterization, and the draw rect during tile
compositing, whenever there is a partial tile.
Assignee | ||
Updated•4 years ago
|
Comment 11•4 years ago
|
||
Pushed by gwatson@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b174d2f9072d Part 2 - Use valid rect to reduce pixel costs. r=kvark
Comment 12•4 years ago
|
||
bugherder |
Description
•