Closed Bug 1696301 Opened 3 years ago Closed 3 years ago

Tiled clip masks can be incorrectly culled on scaled raster root surfaces

Categories

(Core :: Graphics: WebRender, defect)

defect

Tracking

()

RESOLVED FIXED
88 Branch
Tracking Status
firefox88 --- fixed

People

(Reporter: gw, Assigned: gw)

References

Details

Attachments

(1 file)

No description provided.

The check for which tiles of a clip mask need to be drawn was using
the surface device pixel ratio to calculate a true device position
for the tile. In most cases, this works fine.

However if the device pixel ratio of a surface is different to the
global device pixel ratio (e.g. due to a scale factor being applied
on a surface that establishes a raster root), then the calculations
are incorrect and can result in skipping clip mask tiles that do
need to be rendered for correctness.

Assignee: nobody → gwatson
Status: NEW → ASSIGNED
Pushed by gwatson@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c7760ee4f8e2
Tiled clip masks can be incorrectly culled on scaled raster root surfaces. r=gfx-reviewers,bradwerth
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
Regressions: 1700063
Regressions: 1707154
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: