views:

133

answers:

3

I'm working on a OpenGL project that I would like to port to embedded systems that support OpenGL|ES.

Since OpenGL|ES is a subset of OpenGL how hard would it be to compile my OpenGL application on an embedded system? (Assuming that my OpenGL code is in the limits of OpenGL|ES)

I guess what I'm wondering is: is it possible to dircetly wrap my OpenGL calls with MACROS to make it compatible with OpenGL|ES API call names? Are there any calls specific to OpenGL|ES that I would have to implement?

Sorry, if I'm not clear. Thank you.

A: 

Actually this is what I'm trying to implement: http://www.malideveloper.com/tools/software-development/opengl-es-20-emulator.php

But for a limited number of calls not the whole OpenGL|ES API. How hard would it be?

The reason I'm asking is that it looks too easy to be true, and I'm pretty sure I'm missing some insight on the issue and I wouldn't want to spend my time on a "too much time taking" project.

Thank you.

almb
A: 

There's always dgles. Sami Kyostila made some updates to it.

genpfault
A: 

thank you that looks like what I'm looking for

almb