diff options
author | Eric Anholt <[email protected]> | 2015-09-17 19:10:28 -0400 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2015-12-01 10:24:34 -0800 |
commit | cbabf5f9dc4f69ef17e24566cb3fbc1c4ef0de4f (patch) | |
tree | 0bface9e2b18ad0c88b2820446c88382e4e75811 /src/gbm/Makefile.am | |
parent | f72923aaead58e6c51a044c1125ee1dccd8c910a (diff) |
mesa: Switch to using the Khronos registry for generating enums.
I've used a bunch of python code to cut out new enums so that the two
generated files can be diffed. I'll remove all that hardcoding in the
following commits. All remaining differences between the generated code:
- GL_TEXTURE_BUFFER_FORMAT didn't appear in GL3 when TBOs got merged to
core, so it now gets an _ARB suffix instead.
- Blacklisting can't keep EXT_sso's GL_ACTIVE_PROGRAM_EXT from becoming
GL_ACTIVE_PROGRAM -- in our hash table, GL_ACTIVE_PROGRAM_EXT points at
the GLES2 enum's value (aka GL_CURRENT_PROGRAM). By not blacklisting
the core name, we get both enums translated.
- GL_DRAW_FRAMEBUFFER_BINDING and GL_FRAMEBUFFER_BINDING both appeared in
GL3 as synonyms, and the new code happens to choose
GL_FRAMEBUFFER_BINDING instead.
- GL_TEXTURE_COMPONENTS and GL_TEXTURE_INTERNAL_FORMAT both appear in 1.1,
and the new code chooses GL_TEXTURE_INTERNAL_FORMAT instead (which seems
better, to me)
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/gbm/Makefile.am')
0 files changed, 0 insertions, 0 deletions