[Mesa-dev] [PATCH 00/10] glapi: Get rid of gles_api.py file.

Matt Turner mattst88 at gmail.com
Mon Oct 15 14:23:26 PDT 2012

On Fri, Oct 12, 2012 at 12:53 PM, Paul Berry <stereotype441 at gmail.com> wrote:
> This patch series gets rid of the file
> src/mapi/glapi/gen/gles_api.py (which previously contained a list
> of the functions exposed in GLES 1 and GLES 2).  This information
> is now stored in the XML files in src/mapi/glapi/gen/, using the
> XML attributes "es1" and "es2".
> Patch 01 does some preliminary clean-up.  Patch 02 adds the new
> data to the XML file.  Patches 03-04 adapt the python scripts in
> src/mapi/glapi/gen to use the new XML attributes.  Patches 05-09
> adapt the python script src/mapi/mapi/mapi_abi.py to use the new
> XML attributes.  Patch 10 removes the old gles_api.py file.
> Patch 02 was too big for the email list so I had to trim it down; to
> see the full series, please check out branch "remove-gles-api-script"
> from git://github.com/stereotype441/mesa.git.
> [PATCH 01/10] glapi: use new-style Python classes.
> [PATCH 02/10] glapi: Add es1 and es2 attributes to XML.
> [PATCH 03/10] glapi: Read GLES information from XML.
> [PATCH 04/10] glapi: Use GLES information from XML rather than gles_api.py.
> [PATCH 05/10] mapi_abi: Collect all imports at top of file.
> [PATCH 06/10] mapi_abi: Remove sanity check that all GLES functions are present.
> [PATCH 07/10] mapi_abi: Get rid of unnecessary copy.
> [PATCH 08/10] mapi_abi: Override 'hidden' and 'handcode' attributes using polymorphism.
> [PATCH 09/10] mapi_abi: Use GLES information from XML rather than gles_api.py.
> [PATCH 10/10] glapi: Delete gles_api.py, since it is no longer used.

I've confirmed that the libGLESv{1,2}* binaries are identical before and after.

Tested-by: Matt Turner <mattst88 at gmail.com>

More information about the mesa-dev mailing list