[Mesa-dev] [PATCH v2 00/12] mesa: glGet: fix lookup for apps using multiple APIs
Imre Deak
imre.deak at intel.com
Sun Sep 9 23:41:36 PDT 2012
Hi,
this addresses Brian's and Eric's comments. I opted to use a python
script for the build time hash table generation, since if I understood
correctly, having support for CC_FOR_BUILD is not planned (at least for
master) [1].
PATCH 6 adds things that are later removed, this is for clarity and to
show the actual bugfix separately.
This will apply only on master and 9.0, for 8.0 I need to rebase it,
since the autoconf parts have changed there. I can push this somewhere
if needed.
--Imre
[1]
http://www.mail-archive.com/mesa-dev@lists.freedesktop.org/msg16878.html
In v2:
- build hash tables during build time (Eric)
- use seperate API specific hash tables (Eric)
- run piglit tests w/o regressions (Brian)
- fix EGL_image_external enums' API mask
Imre Deak (12):
mesa: glGet: fix indentation of _mesa_init_get_hash
mesa: glGet: fix indentation of find_value
mesa: glGet: fix indentation of print_table_stats
mesa: glGet: fix API check for EGL_image_external enums
mesa: add API_NUM
mesa: glGet: fix parameter lookup for apps using multiple APIs
mesa: glGet: simplify the 'enum not found' condition
gl.h: add missing GL_POLYGON_OFFSET_BIAS definition
mesa: glGet: rename *{_EXT,_ARB} enums missing from the XML spec
mesa: glGet: add script to generate hash tables in build time
mesa: glGet: use the build time generated hash tables
mesa: glGet: remove the unused TYPE_API_MASK flags
include/GL/gl.h | 1 +
src/mesa/Android.gen.mk | 8 +-
src/mesa/Android.mk | 3 +
src/mesa/Makefile.am | 14 +
src/mesa/SConscript | 18 +-
src/mesa/main/.gitignore | 2 +
src/mesa/main/context.c | 7 +-
src/mesa/main/get.c | 1069 ++---------------------------------
src/mesa/main/get_hash_generator.py | 196 +++++++
src/mesa/main/get_hash_params.py | 731 ++++++++++++++++++++++++
src/mesa/main/mtypes.h | 2 +
src/mesa/main/version.c | 3 +
12 files changed, 1020 insertions(+), 1034 deletions(-)
create mode 100644 src/mesa/main/get_hash_generator.py
create mode 100644 src/mesa/main/get_hash_params.py
--
1.7.9.5
More information about the mesa-dev
mailing list