mono / opentk

OpenTK is a set of bindings to OpenGL, OpenCL and OpenAL. This is not the main repository, just a temporary import to allow Mono developers to make changes to this module. Please do not contribute changes here, contribute them to the upstream maintainers at http://www.opentk.com
http://www.opentk.com
115 stars 66 forks source link

OpenGL ES 3.1 support #5

Open thefiddler opened 10 years ago

thefiddler commented 10 years ago

OpenGL ES 3.1 was released a few days ago, introducing compute shaders and aligning OpenGL ES with desktop OpenGL 4.4. This is a significant update.

I am adding ES 3.1 support to OpenTK in preparation of Android 4.5 and would like some input on the optimal way to handle this:

The first options adds ~420KB to OpenTK.dll, while the second adds only ~40KB. The linker should be able to eliminate the bloat in either case, so I am leaning towards the separate ES31 namespace.

Does anyone have any better ideas?

KonajuGames commented 10 years ago

Separate namespace would be my choice.