I have been working on porting OSG to NativeClient -
http://code.google.com/p/nativeclient/

NativeClient allows STATIC linkage to a custom OpenGL ES 2.0 library.
OSG requires dynamic GLESv2 libs. I am looking for a way to make OSG
work with static linking. I am also volunteering to do the actual work
with some guidance.

It seems for OSG_GLES2_AVAILABLE and OSG_GL3_AVAILABLE there is no
need to call built-in functions (glCreateShader, etc) through the
extension mechanism. The built-in functions can be called directly
eliminating the need for LoadLib + ProcAddress. I can either change
osg::GL2Extensions or all the places where the built-in functions need
to be called. These functions are not extensions anymore anyway.
Ideas?

Thanks,
-Alok
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to