Inertia's picture

OpenGL 3.0 bindings

Project:The Open Toolkit library
Version:0.9.6
Component:Code
Category:feature request
Priority:normal
Assigned:the Fiddler
Status:closed
Description

Ati has done its homework and over half of the GL 3.0 extensions are supported.

This feature request does not cover forward compatible contexts. No remarks about deprecation either.

I'd really like to see this going in 0.9.2, so we have all gremlins hunted down by the time 0.9.3 is due.


Comments

Comment viewing options

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

#51

The changes in revision 1633 fixed the signed/unsigned glUniform problem, Thanks!

the Fiddler's picture

#52

Unfortunately they have also caused a regression on functions with unsigned / signed byte parameters (e.g. Color3ub / Color3b). I'm planning to release a new snapshot once that's fixed.

the Fiddler's picture

#54

Status:in progress» fixed

OpenTK now supports OpenGL 3.0 on all platforms with 3.0-capable drivers. Marking this issue as fixed.

Mac OS X support will be added once Apple releases their new OS. Work on type-safety is still on-going (check the other issues in the tracker).

the Fiddler's picture

#55

Version:0.9.x-dev» 0.9.6
Status:fixed» closed

Closing bugs fixed in 0.9.6.

pokemoen's picture

#56

the Fiddler wrote:

1. Make the new methods type-safe. We'll need to divide the large Version30 enum into smaller ones and modify the gl.spec to use those (like we did with Version12 - Version21).

I noticed
GetString(OpenTK.Graphics.Version30 name, Int32 index).
For this I now need to cast:
Debug.WriteLine(GL.GetString((Version30)All.Extensions, i));
There are some other places I need to cast as well.

Is it still the idea to move these into smaller enums?

If so, do you want me to post all occurances of where I need to cast from Version30?

the Fiddler's picture

#57

Yes, the cleanup for GL3.0 is only ~1/3 complete. No need to hunt down these instances, they are already listed in the issue tracker (e.g. EXT_gpu_shader4 or ARB_vertex_array_object etc).