
Add support for OpenGL 4.0 tokens
Posted Thursday, 11 March, 2010 - 15:36 by the Fiddler| Project: | The Open Toolkit library |
| Version: | 1.1-dev |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | fixed |
Jump to:
Description
The first step is to update gl.spec, enum.spec and enumext.spec with the versions found in http://opengl.org/registry. (Care should be taken with enumext.spec, as the last few hundred lines are custom).
The second step is to collect the new enum tokens into actual .Net enums and update gloverrides.xml to make the generated bindings use those new enums. This part requires help by the community: for each new 4.0 method, we need to identify which parameters it can take (using the PDF spec) and suggest a good name for the new enum.
Anyone willing to help, please make a post below.


Comments
#1
GL_ARB_texture_query_lod (GLSL only)
http://www.opengl.org/registry/specs/ARB/texture_query_lod.txt
#1788: [ARB] Draw Buffers Blend
#1789: [GL 4.0] Draw Indirect
#1791: [GL 4.0] GPU Shader 5
#1792: [GL 4.0] GPU Shader fp64
#1793: [GL 4.0] Sample Shading
#1794: [GL 4.0] Shader Subroutine
#1795: [GL 4.0] Tessellation Shader
GL_ARB_texture_buffer_object_rgb32 (The enum PixelInternalFormat already contains these)
http://www.opengl.org/registry/specs/ARB/texture_buffer_object_rgb32.txt
#1796: [GL 4.0] Texture Cube Map Array
#1797: [GL 4.0] Texture Gather
#1798: [GL 4.0] Transform Feedback 2
#1799: [GL 4.0] Transform Feedback 3
#2
#3
The tokens have been committed to gl4 branch, need to merge to trunk when ready.
#4
Well done, you certainly earned that grilled octopus for diner!
#5
Nice work! I was able to build the gl4 branch, and the tessellation etc. is working a treat!
#6
Please post any issues you encounter!
#7
Merged to trunk.