zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
glxew_tail.h
Go to the documentation of this file.
1 /* ------------------------------------------------------------------------ */
2 
3 #ifdef GLEW_MX
4 
5 typedef struct GLXEWContextStruct GLXEWContext;
7 GLEWAPI GLboolean GLEWAPIENTRY glxewContextIsSupported (const GLXEWContext *ctx, const char *name);
8 
9 #define glxewInit() glxewContextInit(glxewGetContext())
10 #define glxewIsSupported(x) glxewContextIsSupported(glxewGetContext(), x)
11 
12 #define GLXEW_GET_VAR(x) (*(const GLboolean*)&(glxewGetContext()->x))
13 #define GLXEW_GET_FUN(x) x
14 
15 #else /* GLEW_MX */
16 
17 #define GLXEW_GET_VAR(x) (*(const GLboolean*)&x)
18 #define GLXEW_GET_FUN(x) x
19 
21 
22 #endif /* GLEW_MX */
23 
25 
26 #ifdef __cplusplus
27 }
28 #endif
29 
30 #endif /* __glxew_h__ */
unsigned int GLenum
Definition: gl2.h:23
unsigned char GLboolean
Definition: gl2.h:24
EGLImageKHR EGLint * name
Definition: eglext.h:284
GLenum glxewContextInit(GLXEW_CONTEXT_ARG_DEF_LIST)
Definition: glew_init_glx.c:15
GLboolean glxewGetExtension(const char *name)
Definition: glew_init_glx.c:3
#define GLEWAPIENTRY
Definition: glew_head.h:178
GLEWAPI GLboolean GLEWAPIENTRY glxewIsSupported(const char *name)
Definition: glew.c:17624
#define GLEWAPI
Definition: glew_head.h:164
EGLContext ctx
Definition: eglext.h:87