Re: [Mesa-dev] [PATCH] i965: Update MESA_INFO to eliminate error

2013-10-24 Thread Kenneth Graunke
On 10/23/2013 12:41 PM, Courtney Goeltzenleuchter wrote: > If a user set MESA_INFO and the OpenGL application uses a > 3.0 or later context then the MESA_INFO debug output will have > an error when it queries for extensions using the deprecated > enum GL_EXTENSIONS. Passing context argument allows

Re: [Mesa-dev] [PATCH] i965: Update MESA_INFO to eliminate error

2013-10-23 Thread Brian Paul
On 10/23/2013 03:14 PM, Courtney Goeltzenleuchter wrote: On Wed, Oct 23, 2013 at 3:05 PM, Matt Turner mailto:matts...@gmail.com>> wrote: On Wed, Oct 23, 2013 at 12:41 PM, Courtney Goeltzenleuchter mailto:court...@lunarg.com>> wrote: > If a user set MESA_INFO and the OpenGL applicati

Re: [Mesa-dev] [PATCH] i965: Update MESA_INFO to eliminate error

2013-10-23 Thread Courtney Goeltzenleuchter
Hi Matt, I think the intended use was to provide glxinfo-like information from the app's perspective, i.e. if it asked for a compatibility context or something like that. That was how I discovered it, I wanted to get at the list of extensions that was being given to the app as it was different tha

Re: [Mesa-dev] [PATCH] i965: Update MESA_INFO to eliminate error

2013-10-23 Thread Matt Turner
On Wed, Oct 23, 2013 at 12:41 PM, Courtney Goeltzenleuchter wrote: > If a user set MESA_INFO and the OpenGL application uses a > 3.0 or later context then the MESA_INFO debug output will have > an error when it queries for extensions using the deprecated > enum GL_EXTENSIONS. Passing context argum

[Mesa-dev] [PATCH] i965: Update MESA_INFO to eliminate error

2013-10-23 Thread Courtney Goeltzenleuchter
If a user set MESA_INFO and the OpenGL application uses a 3.0 or later context then the MESA_INFO debug output will have an error when it queries for extensions using the deprecated enum GL_EXTENSIONS. Passing context argument allows code to return extension list directly regardless of profile. ---