Bug 227824 - GPUP canvas drawing SVG image with mask fails
Summary: GPUP canvas drawing SVG image with mask fails
Status: RESOLVED DUPLICATE of bug 227519
Alias: None
Product: WebKit
Classification: Unclassified
Component: Canvas (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-07-08 17:14 PDT by Cameron McCormack (:heycam)
Modified: 2021-07-08 19:45 PDT (History)
3 users (show)

See Also:


Attachments
test (136 bytes, text/html)
2021-07-08 17:14 PDT, Cameron McCormack (:heycam)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***