10

I'm developing a desktop OpenGL application, and I want to make sure it'll be compatible to OpenGL ES, so that it'll be easier to port it to mobile platforms later.

What's the best way to make sure I'm using only the OpenGL ES specifications in my software?

Elazar Leibovich
  • 32,750
  • 33
  • 122
  • 169
  • Similar question http://stackoverflow.com/questions/2476929/opengles-on-a-desktop-pc but this is not exactly what I'm after. – Elazar Leibovich Jun 21 '10 at 13:01
  • Are you targeting ES 1.1 or 2.0? – genpfault Jun 21 '10 at 14:24
  • I think 1.1, since 2.0 is still not that common. But I'll be glad to hear about both options. – Elazar Leibovich Jun 21 '10 at 14:52
  • If you target OpenGL ES 2.0 and Desktop 3.0>, you can also try OpenREng ( openreng.sourceforge.net ). You just change the cmake opengl platform to mobile and related installed libraries are used. You can try PowerVR OpenGL ES 2.0 emulators, which use OpenGL 2.1 underneath (if I remember correctly) – AdilYalcin Jun 24 '10 at 17:41

2 Answers2

3

If you occasionally build/run against dgles you should be set.

Other than that just pop open the ES 1.1 spec from time to time and double-check whatever you're using is in it.

Community
  • 1
  • 1
genpfault
  • 51,148
  • 11
  • 85
  • 139
  • If some software could pop open the ES 1.1 specs, and double check whatever I'm using, I'm sure it'll do a much better job than I would ;-). But thanks! – Elazar Leibovich Jun 21 '10 at 14:53
3

There is an OpenGL ES emulator that you can use. Here's a link

zooropa
  • 3,929
  • 8
  • 39
  • 61