<?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>113667</bug_id>
          
          <creation_ts>2013-03-31 17:38:50 -0700</creation_ts>
          <short_desc>Implement SVG2&apos;s buffered-rendering property for paths</short_desc>
          <delta_ts>2013-04-01 15:14:13 -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>SVG</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>104207</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Philip Rogers">pdr</reporter>
          <assigned_to name="Philip Rogers">pdr</assigned_to>
          <cc>krit</cc>
    
    <cc>syoichi</cc>
    
    <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>866845</commentid>
    <comment_count>0</comment_count>
    <who name="Philip Rogers">pdr</who>
    <bug_when>2013-03-31 17:38:50 -0700</bug_when>
    <thetext>Paths can benefit more from buffered-rendering than the other shape primitives (e.g., rect). Lets implement it!

Spec: https://svgwg.org/svg2-draft/single-page.html#painting-BufferedRendering</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>867325</commentid>
    <comment_count>1</comment_count>
    <who name="Philip Rogers">pdr</who>
    <bug_when>2013-04-01 13:33:26 -0700</bug_when>
    <thetext>Syoichi, I saw that you cc&apos;ed yourself on this. Are you planning on using this feature? I&apos;d love to get feedback on what users are looking to use it for.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>867330</commentid>
    <comment_count>2</comment_count>
    <who name="Dirk Schulze">krit</who>
    <bug_when>2013-04-01 13:38:20 -0700</bug_when>
    <thetext>(In reply to comment #0)
&gt; Paths can benefit more from buffered-rendering than the other shape primitives (e.g., rect). Lets implement it!
&gt; 
&gt; Spec: https://svgwg.org/svg2-draft/single-page.html#painting-BufferedRendering

Lets hold back for a minute and see if we can optimize it in another way before exposing this property widely. What is the main problem on path and how can we fix it without relying on the property. It should be easier than the image problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>867383</commentid>
    <comment_count>3</comment_count>
    <who name="Philip Rogers">pdr</who>
    <bug_when>2013-04-01 15:14:13 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; (In reply to comment #0)
&gt; &gt; Paths can benefit more from buffered-rendering than the other shape primitives (e.g., rect). Lets implement it!
&gt; &gt; 
&gt; &gt; Spec: https://svgwg.org/svg2-draft/single-page.html#painting-BufferedRendering
&gt; 
&gt; Lets hold back for a minute and see if we can optimize it in another way before exposing this property widely. What is the main problem on path and how can we fix it without relying on the property. It should be easier than the image problem.

Consider a complex path such as the animating svg cougar (philbit.com/animatingcougar.svg) or an application that uses very complex paths for text (like Google Docs&apos; presentation tool). In these cases I can see an advantage to not re-rasterizing the path every time.

This isn&apos;t a fundamental problem with paths, it&apos;s just a graphics reality: sometimes it&apos;s best to cache the rasterized result.

I&apos;m happy to wait on this. Unlike image, I don&apos;t know of anyone asking for this feature at the moment.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>