[Mesa-dev] [PATCH 09/26] glapi: Generate GL API marshalling code from the XML.

Matt Turner mattst88 at gmail.com
Thu Feb 9 12:56:31 UTC 2017


On Wed, Feb 8, 2017 at 6:03 PM, Marek Olšák <maraeo at gmail.com> wrote:
> From: Paul Berry <stereotype441 at gmail.com>
>
> This is not yet used in the build, just generated.
>
> v2: Add missing build dependencies.
> v3: Avoid mixing declarations and code, remove logic for avoiding emitting
>     code that the compiler's optimizer can deal with anyway.
> ---
>  src/mapi/glapi/gen/Makefile.am     |   8 ++
>  src/mapi/glapi/gen/gl_marshal.py   | 288 +++++++++++++++++++++++++++++++++++++
>  src/mapi/glapi/gen/gl_marshal_h.py |  86 +++++++++++
>  src/mapi/glapi/gen/marshal_XML.py  |  96 +++++++++++++
>  src/mesa/Android.gen.mk            |  12 ++
>  src/mesa/SConscript                |  16 +++
>  src/mesa/main/.gitignore           |   2 +
>  7 files changed, 508 insertions(+)
>  create mode 100644 src/mapi/glapi/gen/gl_marshal.py
>  create mode 100644 src/mapi/glapi/gen/gl_marshal_h.py
>  create mode 100644 src/mapi/glapi/gen/marshal_XML.py

These new files need to be listed in EXTRA_DIST in
src/mapi/glapi/gen/Makefile.am.


More information about the mesa-dev mailing list