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 > > I will obviously have some other questions later on that I will > address in this email. > > Thanks for the time guys, > > Felipe > _______________________________________________ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/mesa-dev _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev