Generate EGL framework .inl files from Khronos XML registry
authorPyry Haulos <phaulos@google.com>
Fri, 21 Nov 2014 22:56:21 +0000 (14:56 -0800)
committerPyry Haulos <phaulos@google.com>
Thu, 4 Dec 2014 19:50:50 +0000 (11:50 -0800)
commita017863963f9194666b813f6ef88130288a5fc50
tree7ed844e2e81b56f9b4888ba1b1631d05e92bba8f
parentda5b95934637f27e7fc3894dd69a49cb73b6d16b
Generate EGL framework .inl files from Khronos XML registry

This change adds support for producing auto-generated parts of the EGL
framework from official Khronos XML API description.

The change comes with some refactoring of opengl generator scripts as
common code is moved to scripts/khr_util.

Bug: 18273960
Change-Id: I4da9a1a5fae02854e3de3facfc93b325e3087502
25 files changed:
framework/egl/egluCallLogWrapper.hpp
framework/egl/egluCallLogWrapper.inl
framework/egl/egluCallLogWrapperApi.inl [moved from framework/egl/egluApiPrototypes.inl with 60% similarity]
framework/egl/egluStrUtil.inl
framework/egl/egluStrUtilPrototypes.inl
modules/egl/teglGetProcAddressTests.cpp
modules/egl/teglGetProcAddressTests.inl
scripts/egl/__init__.py [new file with mode: 0644]
scripts/egl/call_log_wrapper.py [new file with mode: 0644]
scripts/egl/common.py [new file with mode: 0644]
scripts/egl/proc_address_tests.py [new file with mode: 0644]
scripts/egl/str_util.py [new file with mode: 0644]
scripts/gen_egl.py [new file with mode: 0644]
scripts/khr_util/.gitignore [new file with mode: 0644]
scripts/khr_util/__init__.py [new file with mode: 0644]
scripts/khr_util/format.py [new file with mode: 0644]
scripts/khr_util/gen_str_util.py [new file with mode: 0644]
scripts/khr_util/registry.py [new file with mode: 0644]
scripts/khr_util/registry_cache.py [new file with mode: 0644]
scripts/opengl/.gitignore [deleted file]
scripts/opengl/__init__.py [new file with mode: 0644]
scripts/opengl/gen_str_util.py
scripts/opengl/khronos_registry.py [deleted file]
scripts/opengl/src_util.py
targets/x11_egl_glx/x11_egl_glx.cmake