WebRender does not handle mask render tasks that exceed the maximum task size
Categories
(Core :: Graphics: WebRender, defect)
Tracking
()
People
(Reporter: cbrewster, Assigned: cbrewster)
References
(Blocks 1 open bug)
Details
(Keywords: crash)
Crash Data
Attachments
(3 files, 1 obsolete file)
I ran into this while testing a patch for bug 1559861. This can happen if there is a very large clip that requires a mask render task which is applied to a picture that forms a raster root.
Mask render tasks are created in the following places:
https://searchfox.org/mozilla-central/rev/9f074fab9bf905fad62e7cc32faf121195f4ba46/gfx/wr/webrender/src/prim_store/mod.rs#4270
https://searchfox.org/mozilla-central/rev/9f074fab9bf905fad62e7cc32faf121195f4ba46/gfx/wr/webrender/src/prim_store/mod.rs#1057
We should downscale the masks so they fit within the maximum render task size. However, I am not sure if we can change the device pixel scale of the mask without it breaking other things.
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
This is an additional HTML test-case which currently hits the max render task size assertion
Updated•4 years ago
|
Assignee | ||
Comment 2•4 years ago
|
||
Updated•4 years ago
|
Comment 3•4 years ago
|
||
Updated•4 years ago
|
Comment 5•4 years ago
|
||
bugherder |
Updated•4 years ago
|
Description
•