
OpenGL ES madness
Posted Friday, 21 January, 2011 - 11:23 by the FiddlerRecent AMD desktop drivers apparently include a complete OpenGL ES implementation. To access it, you need to get the address of eglGetProcAddress and use it to retrieve the entry points for OpenGL ES functions.
Now, the issue is that it's not apparent whether we can use entry points on a GLX context or if we need to destroy that context and create an EGL one. Ideally, the drivers would have installed a separate libEGL.so we could p/invoke directly - but they don't, so we need to jump through some hoops to get to the meat.
Let's see if OpenTK can support this in a sane way.
- the Fiddler's blog
- Login or register to post comments


Comments
Re: OpenGL ES madness
theres also still a bunch of issues with openGL ES on linux... i'll be posting some bug reports as I start sorting through it (although anyone who wants to download support for their distro and help out I would certainly appreciate it)
Re: OpenGL ES madness
Please do, I haven't managed to get OpenGL ES to work on Linux at all...
Re: OpenGL ES madness
The ATI ES sample loads atioglxx.dll, and reports version 1.4.
Walking the example operates correctly in C++ land.
Changing egl.cs to load this dll correctly imports the function, but the call to CreateWindowSurface fails with EGL_BAD_CONFIG.
It seems that the mode RGB is incorrectly reset from 565 (maybe 556?) to 888 at some point in the process, which causes this error.