Auto-generate GLES extensions.

Uses the data from registry.xml combined with gl.xml to produce the
necessary header and source file with the strings map. Also updates
the list of supported extensions. Several extensions were missing
from the supported extensions map.

ARB_sync and NV_robustness_video_memory_purge require some specific
tweaks to get the generator to accept them as gles extensions.

Also includes a generate markdown file that lists supported exts.

Bug: angleproject:6379
Change-Id: I95bd589aa31a62b4a008de24408c7823a49023ed
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3157418
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Cody Northrop <cnorthrop@google.com>
Reviewed-by: Jonah Ryan-Davis <jonahr@google.com>
This commit is contained in:
Jamie Madill
2021-09-10 16:44:59 -04:00
committed by Angle LUCI CQ
parent 4fbbd09708
commit b918b1c656
27 changed files with 2782 additions and 1031 deletions

View File

@@ -99,6 +99,8 @@ generators = {
'src/libANGLE/renderer/gen_dxgi_support_tables.py',
'Emulated HLSL functions':
'src/compiler/translator/gen_emulated_builtin_function_tables.py',
'Extension files':
'src/libANGLE/gen_extensions.py',
'GL copy conversion table':
'src/libANGLE/gen_copy_conversion_table.py',
'GL CTS (dEQP) build files':