Closed Bug 1593845 Opened 5 years ago Closed 5 years ago

WR + OS compositor: Bind can be called with a dirty rectangle that extends beyond the surface bounds

Categories

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

defect

Tracking

()

RESOLVED FIXED
mozilla72
Tracking Status
firefox72 --- fixed

People

(Reporter: mstange, Assigned: gw)

Details

Attachments

(1 file)

It would be nice to ensure that bind is always called with a dirty rect that is contained in the surface bounds, because updating content "outside" of the surface is not a meaningful operation.
At the moment, when we union the bounds of non-cacheable items into the tile's dirty rect, we do not intersect the result with the tile rect. So e.g. videos can cause us to end up with dirty rects that extend beyond the tile.

Priority: -- → P3
Assignee: nobody → gwatson
Pushed by gwatson@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e05f10f48f52
Ensure picture cache dirty rect is clamped to tile rect. r=sotaro
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: