<?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>75507</bug_id>
          
          <creation_ts>2012-01-03 18:06:24 -0800</creation_ts>
          <short_desc>Some state is lost after compositing?</short_desc>
          <delta_ts>2012-05-23 13:20:39 -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>WebGL</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>87136</dup_id>
          
          <bug_file_loc>https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/tests/conformance/misc/delayed-drawing.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Gregg Tavares">gman</reporter>
          <assigned_to name="Kenneth Russell">kbr</assigned_to>
          <cc>cmarrin</cc>
    
    <cc>kbr</cc>
    
    <cc>twiz</cc>
    
    <cc>zmo</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>529219</commentid>
    <comment_count>0</comment_count>
    <who name="Gregg Tavares">gman</who>
    <bug_when>2012-01-03 18:06:24 -0800</bug_when>
    <thetext>This sample demonstrates the issue
https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/tests/conformance/misc/delayed-drawing.html

It draws a quad, does a setTimeout of 1000, then issues the draw command again. No state is changed between the first draw command and the second by JavaScript. 

Sometime between the two calls 2 things happen

#1) a GL error is generated by code not related to JavaScript

#2) The texture bound to texture unit 0&apos;s  TEXTURE_2D bind point has changed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>529227</commentid>
    <comment_count>1</comment_count>
    <who name="Gregg Tavares">gman</who>
    <bug_when>2012-01-03 18:28:13 -0800</bug_when>
    <thetext>just fyi, 

The bug is also related to NPOT textures. If you change the texture to POT the bug doesn&apos;t happen.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>529871</commentid>
    <comment_count>2</comment_count>
    <who name="Zhenyao Mo">zmo</who>
    <bug_when>2012-01-04 16:26:25 -0800</bug_when>
    <thetext>Does this happen in chromium or webkit or both?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>531554</commentid>
    <comment_count>3</comment_count>
    <who name="Kenneth Russell">kbr</who>
    <bug_when>2012-01-06 17:59:36 -0800</bug_when>
    <thetext>Gregg indicated offline that this only happens in Safari, not in Chromium.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>631965</commentid>
    <comment_count>4</comment_count>
    <who name="Kenneth Russell">kbr</who>
    <bug_when>2012-05-23 13:20:39 -0700</bug_when>
    <thetext>Sorry for taking so long to get to this, but the fix for Bug 87136 also fixes this one.

*** This bug has been marked as a duplicate of bug 87136 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>