X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=src%2Ftype3_AndroidCloud%2Fanbox-master%2Fexternal%2Fandroid-emugl%2Fhost%2Flibs%2FlibOpenGLESDispatch%2Fgles3_only.entries;fp=src%2Ftype3_AndroidCloud%2Fanbox-master%2Fexternal%2Fandroid-emugl%2Fhost%2Flibs%2FlibOpenGLESDispatch%2Fgles3_only.entries;h=2feb1b21f133e3ed7b0a9ba1ab7cdc0d4cea0ff2;hb=e26c1ec581be598521517829adba8c8dd23a768f;hp=0000000000000000000000000000000000000000;hpb=6699c1aea74eeb0eb400e6299079f0c7576f716f;p=iec.git diff --git a/src/type3_AndroidCloud/anbox-master/external/android-emugl/host/libs/libOpenGLESDispatch/gles3_only.entries b/src/type3_AndroidCloud/anbox-master/external/android-emugl/host/libs/libOpenGLESDispatch/gles3_only.entries new file mode 100644 index 0000000..2feb1b2 --- /dev/null +++ b/src/type3_AndroidCloud/anbox-master/external/android-emugl/host/libs/libOpenGLESDispatch/gles3_only.entries @@ -0,0 +1,18 @@ +!gles3_only + +# GLES 3.x functions required by the translator library. +# Right now, this is only use to get glGetStringi() from the host GL library +# in order to deal with the fact that glGetString(GL_EXTENSIONS) is obsolete +# in OpenGL 3.0, and some drivers don't implement it anymore (i.e. the +# function just returns NULL). + +%#include +% +%// Used to avoid adding GLES3/gl3.h to our headers. +%#ifndef GL_NUM_EXTENSIONS +%#define GL_NUM_EXTENSIONS 0x821D +%#endif + +%typedef const GLubyte* GLconstubyteptr; + +GLconstubyteptr glGetStringi(GLenum name, GLint index);