Bug 75507
Summary: | Some state is lost after compositing? | ||
---|---|---|---|
Product: | WebKit | Reporter: | Gregg Tavares <gman> |
Component: | WebGL | Assignee: | Kenneth Russell <kbr> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | cmarrin, kbr, twiz, zmo |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/tests/conformance/misc/delayed-drawing.html |
Gregg Tavares
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.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Gregg Tavares
just fyi,
The bug is also related to NPOT textures. If you change the texture to POT the bug doesn't happen.
Zhenyao Mo
Does this happen in chromium or webkit or both?
Kenneth Russell
Gregg indicated offline that this only happens in Safari, not in Chromium.
Kenneth Russell
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 ***