You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Vladimír Vondruš 361ab62fe9 Added ANDROID_extension_pack_es31a extensions. 11 years ago
..
Emscripten Don't expose EXT_sRGB on ES3/WebGL2 builds. 11 years ago
NaCl Use flextGL also for OpenGL ES. 12 years ago
CMakeLists.txt Oh, it's 2015 already. 11 years ago
README.md First-class WebGL support, part 14: reduced available extensions. 11 years ago
extensions.txt Added ANDROID_extension_pack_es31a extensions. 11 years ago
flextGL.cpp Added ANDROID_extension_pack_es31a extensions. 11 years ago
flextGL.cpp.template Added definitions for OpenGL ES function pointers. 12 years ago
flextGL.h Added ANDROID_extension_pack_es31a extensions. 11 years ago
flextGL.h.template Fix static build on Windows. 12 years ago
flextGLEmscripten.h Don't expose EXT_sRGB on ES3/WebGL2 builds. 11 years ago
flextGLNaCl.h Added ANDROID_extension_pack_es31a extensions. 11 years ago
flextGLPlatform.cpp Added ANDROID_extension_pack_es31a extensions. 11 years ago
flextGLPlatform.cpp.template Extension loading for OpenGL ES. 12 years ago

README.md

OpenGL header and extension loader is generated using flextGL, get it at https://github.com/ginkgo/flextGL.

See extensions.txt for requested version and a list of non-core extensions. Call flextGLgen.py in this directory with the following arguments to generate files for generic GLES2 implementations:

.../flextGLgen.py -D . -t . extensions.txt

It will generate flextGL.h and flextGL.cpp files.

NaCl and Emscripten don't have the ability to manually load extension pointers, thus they have only header files:

.../flextGLgen.py -D . -t NaCl/ extensions.txt
.../flextGLgen.py -D . -t Emscripten/ Emscripten/extensions.txt

This will generate stripped-down flextGLNaCl.h and flextGLEmscripten.h files.

As usual, be sure to check the diff for suspicious changes and whitespace-at-EOL (although there shouldn't be any).