Hi all, Here is v2 of the gl dispatch rework, that makes use of the upstream Khronos gl.xml. Seen [1] for details.
Changes since v1: - use os.path.join - existing mesa and new patches (Dylan) - new patch: drop gl_dispatch_stub declarations (Erik) - new patch: revert ABI breaking change (Erik) - drop patch printing the lists/order - reuse existing genCoommon.py - fixup genCommon.py bug - misc python style fixes (Dylan, Erik) - new patch: split out public_entries table (Erik) - extended sed pattern + link to outstanding diff Some patches have been reviewed (thanks Erik), although a handful are outstanding: 1-3, 5-14, 16, 17, 19 Note patch 9 is reverted in 19, although kept for reproducibility. Thus anyone can double-check the diff of the generated dispatch. Further review and general input will be appreciated. Thanks Emil [1] https://lists.freedesktop.org/archives/mesa-dev/2018-November/210052.html Emil Velikov (23): mesa: correctly use os.path.join in our python scripts Revert "mesa/main: remove ARB suffix from glGetnTexImage" mapi: sort static entrypoints numerically mapi: add all _glapi_table entrypoints to static_data.py genCommon.py: Fix typo in _LIBRARY_FEATURE_NAMES. mapi: move genCommon.py to src/mapi/new mapi/new: import mapi scripts from glvnd mapi/new: sort by slot number mapi/new: use the static_data offsets in the new generator mapi/new: reinstate _NO_HIDDEN suffixes in the new generator mapi/new: split out public_entries handling mapi/new: don't print info we don't need for ES1/ES2 mapi/new: fixup the GLDEBUGPROCKHR typedef to the non KHR one mapi/new: remove duplicate GLvoid/void substitution autotools: wire the new generator for es1 and es2 meson: wire the new generator for es1 and es2 scons: wire the new generator for es1 and es2 Revert "mapi/new: sort by slot number" mapi/es*api: remove GL_OES_EGL_image entrypoints mapi/es*api: remove GL_EXT_multi_draw_arrays entrypoints mapi/es2api: remove no longer present entrypoints mapi: remove old, unused ES* generator code mapi: remove machinery handling CSV files Erik Faye-Lund (1): mapi: drop unneeded gl_dispatch_stub declarations src/egl/Makefile.am | 6 +- src/egl/generate/gen_egl_dispatch.py | 3 + src/egl/meson.build | 4 +- src/mapi/Makefile.am | 25 +- src/mapi/es1api/ABI-check | 10 +- src/mapi/es1api/meson.build | 6 +- src/mapi/es2api/ABI-check | 14 +- src/mapi/es2api/meson.build | 6 +- src/mapi/glapi/gen/ARB_robustness.xml | 2 +- src/mapi/glapi/gen/gl_API.xml | 9 - src/mapi/glapi/gen/gl_XML.py | 56 +- src/mapi/glapi/gen/meson.build | 7 + src/mapi/glapi/gen/static_data.py | 1029 ++++++++++++++++++- src/mapi/mapi_abi.py | 145 +-- src/mapi/meson.build | 1 + src/{egl/generate => mapi/new}/genCommon.py | 24 +- src/mapi/new/gen_gldispatch_mapi.py | 193 ++++ src/mapi/shared-glapi/SConscript | 28 +- src/mesa/main/get_hash_generator.py | 7 +- src/mesa/main/texgetimage.c | 6 +- src/mesa/main/texgetimage.h | 4 +- 21 files changed, 1317 insertions(+), 268 deletions(-) rename src/{egl/generate => mapi/new}/genCommon.py (88%) create mode 100755 src/mapi/new/gen_gldispatch_mapi.py -- 2.19.2 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev