opengl es - How To Use libGLESv2.so in Your Program -


i accustomed linking against libgl.so on linux distributions. either mesa's implementation or nvidia's. however, limit myself opengl es 2.x functionality, attempting link against , use libglesv2.so. however, see glx functions not present in libglesv2.so dynamic section:

nm --dynamic /usr/lib64/nvidia/libglesv2.so | grep glx 

also attempting link agains libglesv2.so results in undefined references glx functions.

this leads me question. correct way "getprocaddress" while dynamically linking against libglesv2.so? how construct appropriate context without glx?

i'm not sure how easy figure out , how relevant applications in pi3d drawing context using libegl.so (or libegl.dll angle on windows).

this dynamic libraries found , loaded

https://github.com/tipam/pi3d/blob/master/pi3d/constants/init.py

and surface created , attached glesv2 functions

https://github.com/tipam/pi3d/blob/master/pi3d/util/displayopengl.py


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -