Bug 75507 - Some state is lost after compositing?
Summary: Some state is lost after compositing?
Status: RESOLVED DUPLICATE of bug 87136
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGL (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Kenneth Russell
URL: https://cvs.khronos.org/svn/repos/reg...
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-03 18:06 PST by Gregg Tavares
Modified: 2012-05-23 13:20 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gregg Tavares 2012-01-03 18:06:24 PST
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's  TEXTURE_2D bind point has changed.
Comment 1 Gregg Tavares 2012-01-03 18:28:13 PST
just fyi, 

The bug is also related to NPOT textures. If you change the texture to POT the bug doesn't happen.
Comment 2 Zhenyao Mo 2012-01-04 16:26:25 PST
Does this happen in chromium or webkit or both?
Comment 3 Kenneth Russell 2012-01-06 17:59:36 PST
Gregg indicated offline that this only happens in Safari, not in Chromium.
Comment 4 Kenneth Russell 2012-05-23 13:20:39 PDT
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 ***