[Webkit-unassigned] [Bug 94300] [GTK] three.js example webgl_terrain_dynamic.html doesn't work

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 11 15:57:56 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=94300





--- Comment #8 from arno. <arno at renevier.net>  2012-09-11 15:58:19 PST ---
(In reply to comment #7)
> (In reply to comment #6)
> 
> > actually, gl.getError() is already INVALID_OPERATION just after gl.getContext()
> > This is true also in other webgl tests, but it does not trigger an exception (because the first gl.getError() test appear at other moments). My guess is, it could be a bug of my driver (ati catalyst) with Xvfb.
> 
> Perhaps the WebGL WebKitWebSetting is not enabled in DumpRenderTree?

But the other tests run fine; and getContext returns a webgl context (with a non getError).
I could check with printf-debug that:
webgl settings are enabled during the test.
At some point (in WebGLRenderingContext::initVertexAttrib0), a buffer is created with:

    GLuint o = 0;
    glGenBuffers(1, &o);

And after glGenBuffers, o is 0 and glGetError is GL_NO_ERROR.
Following call to glBufferData will trigger an error because:
http://www.opengl.org/sdk/docs/man/xhtml/glBufferData.

GL_INVALID_OPERATION is generated if the reserved buffer object name 0 is bound to target.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list