[Mesa-dev] Questions regarding KHR_debug for OpenGL ES

Timothy Arceri t_arceri at yahoo.com.au
Thu Apr 24 03:23:55 PDT 2014


On Wed, 2014-03-26 at 16:27 -0700, Felipe Tonello wrote:
> Hi Timothy,
> 
> On Sun, Mar 23, 2014 at 2:11 PM, Timothy Arceri <t_arceri at yahoo.com.au> wrote:
> > On Mon, 2014-03-17 at 11:42 -0700, Felipe Tonello wrote:
> >> Hi all,
> >>
> >> I'm working on the KHR_debug for OpenGL ES junior job. I recently
> >> submitted patches to allow the piglit tests to be enabled in GLES
> >> contexts as well.
> >> Now I want to work on the src/mapi/glapi/gen/es_EXT.xml file. Recently
> >> I saw a patch that moved the KHR_debug extension to a include type of
> >> file.
> >>
> >> My question is: How can I reuse this file but change the functions
> >> definitions to add the KHR suffix?
> >
> > Hi Felipe,
> >
> > You need to use the alias attribute. Take a look at ARB_debug_output.xml
> > basically you will need to do the same thing in the es_EXT.xml file but
> > using the KHR suffix rather than ARB. I don't think there is anyway to
> > avoid the obvious duplications here (someone please correct me if I'm
> > wrong).
> >
> > Tim
> >
> 
> Where should I define GLDEBUGPROCKHR? I tried gl_and_es_API.xml under
> <category name="es2.0"> but when I compile I get that the compiler
> cannot find GLDEBUGPROCKHR type name.
> 
> Any idea?

Did you end up getting this working? If not you could post your work in
progress patches and it might be easier to help.

> 
> BR
> 
> Felipe




More information about the mesa-dev mailing list