<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>227824</bug_id>
          
          <creation_ts>2021-07-08 17:14:51 -0700</creation_ts>
          <short_desc>GPUP canvas drawing SVG image with mask fails</short_desc>
          <delta_ts>2021-07-08 19:45:32 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Canvas</component>
          <version>WebKit Local Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>227519</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Cameron McCormack (:heycam)">heycam</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>dino</cc>
    
    <cc>sabouhallawa</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1775874</commentid>
    <comment_count>0</comment_count>
      <attachid>433186</attachid>
    <who name="Cameron McCormack (:heycam)">heycam</who>
    <bug_when>2021-07-08 17:14:51 -0700</bug_when>
    <thetext>Created attachment 433186
test

.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1775875</commentid>
    <comment_count>1</comment_count>
    <who name="Cameron McCormack (:heycam)">heycam</who>
    <bug_when>2021-07-08 17:15:23 -0700</bug_when>
    <thetext>&lt;rdar://79556786&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1775895</commentid>
    <comment_count>2</comment_count>
    <who name="Cameron McCormack (:heycam)">heycam</who>
    <bug_when>2021-07-08 18:50:06 -0700</bug_when>
    <thetext>Whenr rendering the SVG image, we use SVGRenderingContext::clipToImageBuffer to apply the mask, but we&apos;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1775896</commentid>
    <comment_count>3</comment_count>
    <who name="Said Abou-Hallawa">sabouhallawa</who>
    <bug_when>2021-07-08 18:54:05 -0700</bug_when>
    <thetext>This bug is fixed with by the fix of bug 227519. We are not supposed to draw SVGImage in GPUP.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1775897</commentid>
    <comment_count>4</comment_count>
    <who name="Said Abou-Hallawa">sabouhallawa</who>
    <bug_when>2021-07-08 18:54:36 -0700</bug_when>
    <thetext>(In reply to Said Abou-Hallawa from comment #3)
&gt; This bug is fixed with by the fix of bug 227519. We are not supposed to draw
&gt; SVGImage in GPUP.

I meant to say &quot;may&quot; be fixed. Please verify.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1775898</commentid>
    <comment_count>5</comment_count>
    <who name="Cameron McCormack (:heycam)">heycam</who>
    <bug_when>2021-07-08 19:11:43 -0700</bug_when>
    <thetext>Oh.  I forgot that!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1775904</commentid>
    <comment_count>6</comment_count>
    <who name="Cameron McCormack (:heycam)">heycam</who>
    <bug_when>2021-07-08 19:45:32 -0700</bug_when>
    <thetext>Confirmed bug 227519 disables GPUP rendering of the SVG image.

*** This bug has been marked as a duplicate of bug 227519 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>433186</attachid>
            <date>2021-07-08 17:14:51 -0700</date>
            <delta_ts>2021-07-08 17:14:51 -0700</delta_ts>
            <desc>test</desc>
            <filename>a.html</filename>
            <type>text/html</type>
            <size>136</size>
            <attacher name="Cameron McCormack (:heycam)">heycam</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxwcmU+PC9wcmU+CjxzY3JpcHQ+CmxldCBpID0gMDsKb25yZXNpemUg
PSAoKSA9PiBkb2N1bWVudC5xdWVyeVNlbGVjdG9yKCdwcmUnKS50ZXh0Q29udGVudCA9IGByZXNp
emUgJHsrK2l9YDsKPC9zY3JpcHQ+Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>