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š 06aa24553f external: updated GLES2 headers. 11 years ago
..
Emscripten Use flextGL also for OpenGL ES. 12 years ago
NaCl Use flextGL also for OpenGL ES. 12 years ago
CMakeLists.txt Oh, it's 2015 already. 11 years ago
README.md external: fix links in README. 11 years ago
extensions.txt Use flextGL also for OpenGL ES. 12 years ago
flextGL.cpp Added definitions for OpenGL ES function pointers. 12 years ago
flextGL.cpp.template Added definitions for OpenGL ES function pointers. 12 years ago
flextGL.h external: updated GLES2 headers. 11 years ago
flextGL.h.template Fix static build on Windows. 12 years ago
flextGLEmscripten.h external: updated GLES2 headers. 11 years ago
flextGLNaCl.h external: updated GLES2 headers. 11 years ago
flextGLPlatform.cpp Extension loading for OpenGL ES. 12 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/ 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).