zenilib: zenilib/jni/external/glew/auto/src/glew_str_head.c Source File

zenilib 0.5.3.0

- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
glew_str_head.c
Go to the documentation of this file.
1 #ifdef GLEW_MX
2 GLboolean GLEWAPIENTRY glewContextIsSupported (const GLEWContext* ctx, const char* name)
3 #else
4 GLboolean GLEWAPIENTRY glewIsSupported (const char* name)
5 #endif
6 {
7 GLubyte* pos = (GLubyte*)name;
8 GLuint len = _glewStrLen(pos);
9 GLboolean ret = GL_TRUE;
10 while (ret && len > 0)
11 {
12 if (_glewStrSame1(&pos, &len, (const GLubyte*)"GL_", 3))
13 {
GL_TRUE
#define GL_TRUE
Definition: gl2.h:51
GLboolean
unsigned char GLboolean
Definition: gl2.h:24
name
EGLImageKHR EGLint * name
Definition: eglext.h:284
len
GLenum GLsizei len
Definition: glew.h:7035
ret
ret
Definition: glew_str_glx.c:2
GLubyte
khronos_uint8_t GLubyte
Definition: gl2.h:30
_glewStrSame1
static GLboolean _glewStrSame1(GLubyte **a, GLuint *na, const GLubyte *b, GLuint nb)
Definition: glew_head.c:178
_glewStrLen
static GLuint _glewStrLen(const GLubyte *s)
Definition: glew_head.c:153
GLEWAPIENTRY
#define GLEWAPIENTRY
Definition: glew_head.h:178
GLuint
unsigned int GLuint
Definition: gl2.h:32
glewIsSupported
GLboolean GLEWAPIENTRY glewIsSupported(const char *name)
Definition: glew_str_head.c:4
ctx
EGLContext ctx
Definition: eglext.h:87