]> git.tdb.fi Git - libs/gl.git/commit
Complete rewrite of extension handling
authorMikko Rasa <tdb@tdb.fi>
Mon, 27 Aug 2012 20:22:10 +0000 (23:22 +0300)
committerMikko Rasa <tdb@tdb.fi>
Mon, 27 Aug 2012 20:59:16 +0000 (23:59 +0300)
commit6afbace895a7bbcf216ab8e48280ea0303ab5892
treeb317bdae357b00a28a9a3b41b3fa7c74622bf792
parent485315ca65cb40f33253008a79b0933997bd74f5
Complete rewrite of extension handling

Prefer the promoted versions of extensions.  This improves compatibility
with OpenGL 3.0 and OpenGL ES 2.0.

Extension availability is now checked through global identifiers rather
than strings.  This eliminates the possibility of typos.
61 files changed:
gl.spec.fixes [new file with mode: 0644]
scripts/extgen.py
source/arb_fragment_shader.cpp [new file with mode: 0644]
source/arb_fragment_shader.h [new file with mode: 0644]
source/arb_multitexture.cpp [new file with mode: 0644]
source/arb_multitexture.h [new file with mode: 0644]
source/arb_pixel_buffer_object.cpp [new file with mode: 0644]
source/arb_pixel_buffer_object.h [new file with mode: 0644]
source/arb_shader_objects.cpp
source/arb_shader_objects.h
source/arb_texture_cube_map.cpp [new file with mode: 0644]
source/arb_texture_cube_map.h [new file with mode: 0644]
source/arb_uniform_buffer_object.cpp
source/arb_uniform_buffer_object.h
source/arb_vertex_buffer_object.cpp
source/arb_vertex_buffer_object.h
source/arb_vertex_program.cpp [deleted file]
source/arb_vertex_program.h [deleted file]
source/arb_vertex_shader.cpp
source/arb_vertex_shader.h
source/batch.cpp
source/blend.cpp
source/buffer.cpp
source/buffer.h
source/ext_blend_minmax.cpp [new file with mode: 0644]
source/ext_blend_minmax.h [new file with mode: 0644]
source/ext_blend_subtract.cpp [new file with mode: 0644]
source/ext_blend_subtract.h [new file with mode: 0644]
source/ext_draw_range_elements.cpp [new file with mode: 0644]
source/ext_draw_range_elements.h [new file with mode: 0644]
source/ext_framebuffer_blit.cpp
source/ext_framebuffer_blit.h
source/ext_framebuffer_multisample.cpp
source/ext_framebuffer_multisample.h
source/ext_framebuffer_object.cpp
source/ext_framebuffer_object.h
source/ext_texture3d.cpp [new file with mode: 0644]
source/ext_texture3d.h [new file with mode: 0644]
source/extension.cpp
source/extension.h
source/framebuffer.cpp
source/framebuffer.h
source/mesh.cpp
source/nv_primitive_restart.cpp
source/nv_primitive_restart.h
source/program.cpp
source/programdata.cpp
source/renderbuffer.cpp
source/sgis_generate_mipmap.cpp [new file with mode: 0644]
source/sgis_generate_mipmap.h [new file with mode: 0644]
source/shader.cpp
source/texture.cpp
source/texture3d.cpp
source/texturecube.cpp
source/texunit.cpp
source/uniform.cpp
source/version_1_2.cpp [deleted file]
source/version_1_2.h [deleted file]
source/version_1_3.cpp [deleted file]
source/version_1_3.h [deleted file]
source/vertexarray.cpp