Closed Bug 1608280 Opened 4 years ago Closed 4 years ago

Support a per-tile clip (valid) region for compositor tiles

Categories

(Core :: Graphics: WebRender, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla75
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: nobody → gwatson

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.

Attachment #9119933 - Attachment description: Bug 1608280 - Support a per-tile clip (valid) region for compositor tiles. → Bug 1608280 - Support a per-tile clip (valid) region for compositor tiles
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
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla74

Backed out for causing bugs 1608912 and 1608871

Backout: https://hg.mozilla.org/mozilla-central/rev/0690f68a8d9984d2653792e3294bf876eecef651

Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Target Milestone: mozilla74 → ---
Regressions: 1608871

== 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

Attachment #9119933 - Attachment is obsolete: true

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.

Keywords: leave-open
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

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.

Keywords: leave-open
Pushed by gwatson@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b174d2f9072d
Part 2 - Use valid rect to reduce pixel costs. r=kvark
Status: REOPENED → RESOLVED
Closed: 4 years ago4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: