DescriptionFall back on stencil clip when SW mask fails to allocate
When generating a SW clip mask, we didn't used to verify that the
pixels had been successfully allocated. This would obviously crash
when the allocation was not successful. This change checks the
allocation first, and falls back on a stencil clip when it doesn't
succeed.
BUG=656589
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2456153003
Committed: https://skia.googlesource.com/skia/+/3affdc1bcd881ccf031fe18c96a1de2b9439a393
Patch Set 1 #
Total comments: 2
Patch Set 2 : Fall back on stencil clip when SW mask fails to allocate #Patch Set 3 : Fall back on stencil clip when SW mask fails to allocate #Messages
Total messages: 12 (6 generated)
|