Going From OpenGL ES To OpenGL Over EGL Is Easy

Posted by Michael Larabel on August 20, 2012

Going from supporting OpenGL ES to OpenGL while using EGL rather than GLX is quite easy, as shown by recent work on the open-source Doom 3 code-base.

With Oliver McFadden's Dante project, which has OpenGL ES 2.0 support, EGL support, a new GLSL back-end, and can now run Doom 3 on Android, there is now OpenGL desktop with EGL support.

In a recent pull there was work on "[Implementing] OpenGL over EGL api. The changes are minor and shows how clean the switch from OpenGL ES to OpenGL can be."

The code diff shows how easy it can be switching from OpenGL ES to OpenGL while sticking with EGL windowing system API.

While it's easy on the application/game side, there's still EGL/OpenGL bugs within Mesa to be ironed out -- i.e. this new bug for exposing OpenGL extensions rather than OpenGL ES extensions when using EGL.

Discuss this article in our forums, IRC channel, or email the author. You can also follow our content via RSS and on social networks like Facebook, Identi.ca, and Twitter (@Phoronix and @MichaelLarabel). Subscribe to Phoronix Premium to view our content without advertisements, view entire articles on a single page, and experience other benefits.
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite