Bug 227824

Summary: GPUP canvas drawing SVG image with mask fails
Product: WebKit Reporter: Cameron McCormack (:heycam) <heycam>
Component: CanvasAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: dino, sabouhallawa, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
test none

Description Cameron McCormack (:heycam) 2021-07-08 17:14:51 PDT
Created attachment 433186 [details]
test

.
Comment 1 Cameron McCormack (:heycam) 2021-07-08 17:15:23 PDT
<rdar://79556786>
Comment 2 Cameron McCormack (:heycam) 2021-07-08 18:50:06 PDT
Whenr rendering the SVG image, we use SVGRenderingContext::clipToImageBuffer to apply the mask, but we're not calling cacheNativeImage to send the image buffer to the GPU process, so we get stuck waiting for it when processing the clip-to-image-buffer display list item.
Comment 3 Said Abou-Hallawa 2021-07-08 18:54:05 PDT
This bug is fixed with by the fix of bug 227519. We are not supposed to draw SVGImage in GPUP.
Comment 4 Said Abou-Hallawa 2021-07-08 18:54:36 PDT
(In reply to Said Abou-Hallawa from comment #3)
> This bug is fixed with by the fix of bug 227519. We are not supposed to draw
> SVGImage in GPUP.

I meant to say "may" be fixed. Please verify.
Comment 5 Cameron McCormack (:heycam) 2021-07-08 19:11:43 PDT
Oh.  I forgot that!
Comment 6 Cameron McCormack (:heycam) 2021-07-08 19:45:32 PDT
Confirmed bug 227519 disables GPUP rendering of the SVG image.

*** This bug has been marked as a duplicate of bug 227519 ***