<?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>119690</bug_id>
          
          <creation_ts>2013-08-12 09:26:01 -0700</creation_ts>
          <short_desc>[CSS Shapes] Eliminate GraphicsContext3D::ImageExtractor dependency</short_desc>
          <delta_ts>2013-08-12 09:32:09 -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>CSS</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</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>
          
          <blocked>116643</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Hans Muller">giles_joplin</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>916303</commentid>
    <comment_count>0</comment_count>
    <who name="Hans Muller">giles_joplin</who>
    <bug_when>2013-08-12 09:26:01 -0700</bug_when>
    <thetext>The reviewer for bug 116643 had asked for the GraphicsContext3D dependency in Shapes.cpp to be removed.

The original plan was to refactor GraphicsContext3D::ImageExtractor et al, to remove its dependency on the rest of the WebGL code. See: 

The new plan is to render the shape&apos;s StyleImage instead: https://bugs.webkit.org/show_bug.cgi?id=119634

Use ImageBuffer::create() to create an ImageBuffer of the right size.
Draw the Image* with the GraphicsContext returned by imageBuffer-&gt;context().
Use ImageBuffer::getUnmultipliedImageData() to extract the RGBA pixels data.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>916309</commentid>
    <comment_count>1</comment_count>
    <who name="Hans Muller">giles_joplin</who>
    <bug_when>2013-08-12 09:32:09 -0700</bug_when>
    <thetext>This doesn&apos;t need to be a separate bug.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>