[Mesa-dev] [PATCH 0/6] Some glapi clean-up releated to GLES

Chad Versace chad.versace at linux.intel.com
Mon Mar 31 08:18:31 PDT 2014


On Wed, Mar 26, 2014 at 05:12:20PM -0700, Ian Romanick wrote:
> Tomorrow or Friday I'm going to send out the last of the
> GL_ARB_separate_shader_objects patches.  Shortly after that, I will send
> out patches to enable GL_EXT_separate_shader_objects on GLES.  This EXT
> is the GLES subset of the ARB extension.
> 
> In preparing for this new extension, I noticed the old problem that any
> extension function that aliases a core function (whether it is core in
> GLES or desktop GL) isn't hidden.  This series should fix that.
> 
> Longer term, I'd like to change the generation of libGL*.  Right now all
> the information describing the interfaces and the information selecting
> the exposed interfaces in combined in a single XML database.  As patch 4
> shows, that makes it impossible to have a single function that is
> exposed in one API but hidden in another.  I'd like to pull all the
> "offset", "static_dispatch", "glx_ignore", and "exec" information out
> into separate files.
> 
> This will mean that adding a new extension will require changes to
> multiple files.  The usual XML bits will need to be added.  Entries will
> need to be add to per-libGL* files, an "exec" file, and an "offsets".
> We can probably get rid of the offsets file since no functions will ever
> be added that have static offsets.

I'm glad to see this cleanup happen. And to echo Eric, we should
probably move to Khronos XML sooner rather than later if possible.

Patches 1,4,5 have my reviewed-by.

Patches 2,3,6 have my acked-by. I didn't check all the boring details.


More information about the mesa-dev mailing list