[Mesa-dev] WebGL test suite, and whitelisting drivers / OpenGL implementations in Firefox

Benoit Jacob bjacob at mozilla.com
Wed Jan 19 11:08:43 PST 2011



----- Original Message -----
> On Wed, Jan 19, 2011 at 10:18 AM, Benoit Jacob <bjacob at mozilla.com>
> wrote:
> > ----- Original Message -----
> >> It looks like a number of failures are happening because WebGL is
> >> assuming GL_ARB_ES2_compatibility support in the OpenGL driver when
> >> the extension isn't actually present. Mesa generates an error and
> >> the
> >> test fails.
> >
> > Thanks a lot! That also seems to explain failures I'm having on
> > various platforms, and couldn't figure out.
> >
> > We don't want to require GL_ARB_ES2_compatibility. So i'll try to
> > see how I can emulate this functionality on desktop OpenGL.
> 
> In your debug build, it would be good to check glGetError() after
> every glGet*() call to make sure that the query was valid. It's easy
> to miss things like this.

We actually do this when MOZ_GL_DEBUG is defined (only in debug builds), but somehow I hadn't paid enough attention to this.

Benoit

> 
> -Brian


More information about the mesa-dev mailing list