the Fiddler's picture

Add support for OpenGL 4.0 tokens

Project:The Open Toolkit library

The first step is to update gl.spec, enum.spec and enumext.spec with the versions found in (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.


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Inertia's picture


Assigned to:Inertia» Anonymous
Status:in progress» open
the Fiddler's picture


Status:open» in progress (commit)

The tokens have been committed to gl4 branch, need to merge to trunk when ready.

Inertia's picture


Well done, you certainly earned that grilled octopus for diner!

swiftcoder's picture


Nice work! I was able to build the gl4 branch, and the tessellation etc. is working a treat!

the Fiddler's picture


Please post any issues you encounter!

the Fiddler's picture


Status:in progress (commit)» fixed

Merged to trunk.

the Fiddler's picture


Version:1.1-dev» 1.1-2014-01-02
Status:fixed» closed

Closing bugs fixed in OpenTK 1.1.

If this is still an issue please file a new bug report at