<?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>34909</bug_id>
          
          <creation_ts>2010-02-12 15:20:19 -0800</creation_ts>
          <short_desc>Need to create an OffscreenCanvas.</short_desc>
          <delta_ts>2011-02-09 15:32:16 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>DOM</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>35262</dependson>
    
    <dependson>35322</dependson>
    
    <dependson>35453</dependson>
    
    <dependson>35615</dependson>
    
    <dependson>35616</dependson>
    
    <dependson>36906</dependson>
    
    <dependson>41032</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="David Levin">levin</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>levin</cc>
    
    <cc>mdelaney7</cc>
    
    <cc>oliver</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>190171</commentid>
    <comment_count>0</comment_count>
    <who name="David Levin">levin</who>
    <bug_when>2010-02-12 15:20:19 -0800</bug_when>
    <thetext>It should be usable in both Document and Worker context. To start with only 2D will be supported.

(This is the umbrella bug for the feature -- where I&apos;ll mention the general approach, etc. I&apos;ll file other bugs for each step.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>192653</commentid>
    <comment_count>1</comment_count>
      <attachid>49243</attachid>
    <who name="David Levin">levin</who>
    <bug_when>2010-02-22 15:00:49 -0800</bug_when>
    <thetext>Created attachment 49243
Proposed fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>194283</commentid>
    <comment_count>2</comment_count>
    <who name="David Levin">levin</who>
    <bug_when>2010-02-26 14:10:45 -0800</bug_when>
    <thetext>Here&apos;s a basic outline of the work:
1. make HTMLCanvasElement derive from CanvsaSurface.
2. make CanvasRenderingContext2D only depend on CanvasSurface (in a future change)
   a. Move methods that CanvasRenderingContext2D depends on from  HTMLCanvasElement to CanvasSurface.
   b. Change CanvasRenderingContext2D to only use CanvasSurface.
3. Create an OffscreenCanvas which derives from CanvasSurface.
4. Expose OffscreenCanvas for document context (with layout tests).
5. Expose OffscreenCanvas for the worker context (fix threadsafety issues, idl changes, layout tests, etc.).

This result in allowing CanvasRenderingContext2D to be used with either HTMLCanvasElement or OffscreenCanvas.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>245445</commentid>
    <comment_count>3</comment_count>
    <who name="David Levin">levin</who>
    <bug_when>2010-07-01 11:29:40 -0700</bug_when>
    <thetext>This work has been suspended for now (after various bits of feedback on whatwg regarding our target scenario of image resizing).

Note that https://bugs.webkit.org/show_bug.cgi?id=41032 wasn&apos;t landed but may help in this effort if anyone pursues it.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>49243</attachid>
            <date>2010-02-22 15:00:49 -0800</date>
            <delta_ts>2010-02-22 15:01:20 -0800</delta_ts>
            <desc>Proposed fix.</desc>
            <filename>bug34909.txt</filename>
            <type>text/plain</type>
            <size>1073</size>
            <attacher name="David Levin">levin</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1dlYkNvcmUvQ2hhbmdlTG9nIGIvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXgg
NGRmYzZmNi4uMDE5OThhYiAxMDA2NDQKLS0tIGEvV2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