mirror of https://github.com/mosra/magnum.git
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.
|
|
11 years ago | |
|---|---|---|
| .. | ||
| Emscripten | 12 years ago | |
| NaCl | 12 years ago | |
| CMakeLists.txt | 11 years ago | |
| README.md | 11 years ago | |
| extensions.txt | 12 years ago | |
| flextGL.cpp | 12 years ago | |
| flextGL.cpp.template | 12 years ago | |
| flextGL.h | 11 years ago | |
| flextGL.h.template | 12 years ago | |
| flextGLEmscripten.h | 11 years ago | |
| flextGLNaCl.h | 11 years ago | |
| flextGLPlatform.cpp | 12 years ago | |
| flextGLPlatform.cpp.template | 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).