PDA

View Full Version : Linking dynamically with libGLES_CM



tyua
04-01-2009, 05:45 AM
I recently tried some C# implementation from here :
http://www.koushikdutta.com/search/labe ... penGL%20ES (http://www.koushikdutta.com/search/label/Managed%20OpenGL%20ES)
and it appears that compared to C++ Vincent implementation it generates some much faster code.
Since C# is not as fast as C++ I then realized that the C# implementation links dynamically with libGLES_CM.dll, while Vincent requires to use the libGLES_CM.dll it provides.
So I am wondering if there is some C++ wrapper working dynamically with any libGLES_CM.dll version.

ydroneaud
10-14-2009, 08:21 AM
I've made a custom OpenGL ES 1.x SDK for Windows Mobile 6 (just a bunch of .lib plus headers from Khronos Group, not a big deal).

Link your program against the provided .lib and you will be able to use EGL and OpenGL ES function directly. But your target must have the OpenGL DLLs otherwise your program will failed to load.
Tested on HTC Touch HD and Toshiba TG01.

Windows Mobile 6 OpenGL ES 1.x SDK (https://quoi.quest-ce.net/data/opengl/windows-mobile-6-opengles-1.x-sdk.zip)

ydroneaud
11-13-2009, 02:48 AM
As reported here (http://www.khronos.org/message_boards/viewtopic.php?p=5454#p5454):

Instead of statically linked against libGLES*.lib, which can fail at runtime if the associated DLL is not here, I suggest to use a dynamic loader like the one used in San Angeles Demo (http://www.khronos.org/developers/code_samples/angeles-ogles.zip) you can find in the OpenGL ES example section (http://www.khronos.org/developers/resources/opengles/#texamples).

Regards.

fatming
06-22-2010, 11:46 PM
hey ydroneaud

Can you please tell me where can I get the dll relative to Opengl ES for WinCE.

thanks