zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
glew_str_glx.c
Go to the documentation of this file.
1  }
2  ret = (len == 0);
3  }
4  return ret;
5 }
6 
7 #elif !defined(__ANDROID__) && !defined(__native_client__) && !defined(__APPLE__) || defined(GLEW_APPLE_GLX)
8 
9 #if defined(GLEW_MX)
10 GLboolean glxewContextIsSupported (const GLXEWContext* ctx, const char* name)
11 #else
12 GLboolean glxewIsSupported (const char* name)
13 #endif
14 {
15  GLubyte* pos = (GLubyte*)name;
16  GLuint len = _glewStrLen(pos);
18  while (ret && len > 0)
19  {
20  if(_glewStrSame1(&pos, &len, (const GLubyte*)"GLX_", 4))
21  {
#define GL_TRUE
Definition: gl2.h:51
unsigned char GLboolean
Definition: gl2.h:24
EGLImageKHR EGLint * name
Definition: eglext.h:284
GLenum GLsizei len
Definition: glew.h:7035
ret
Definition: glew_str_glx.c:2
khronos_uint8_t GLubyte
Definition: gl2.h:30
static GLboolean _glewStrSame1(GLubyte **a, GLuint *na, const GLubyte *b, GLuint nb)
Definition: glew_head.c:178
static GLuint _glewStrLen(const GLubyte *s)
Definition: glew_head.c:153
GLEWAPI GLboolean GLEWAPIENTRY glxewIsSupported(const char *name)
Definition: glew.c:17624
unsigned int GLuint
Definition: gl2.h:32
EGLContext ctx
Definition: eglext.h:87