zenilib: zenilib/jni/external/glew/auto/src/glxew_tail.h 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
glxew_tail.h
Go to the documentation of this file.
1 /* ------------------------------------------------------------------------ */
2
3 #ifdef GLEW_MX
4
5 typedef struct GLXEWContextStruct GLXEWContext;
6 GLEWAPI GLenum GLEWAPIENTRY glxewContextInit (GLXEWContext *ctx);
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
20 GLEWAPI GLboolean GLEWAPIENTRY glxewIsSupported (const char *name);
21
22 #endif /* GLEW_MX */
23
24 GLEWAPI GLboolean GLEWAPIENTRY glxewGetExtension (const char *name);
25
26 #ifdef __cplusplus
27 }
28 #endif
29
30 #endif /* __glxew_h__ */
GLenum
unsigned int GLenum
Definition: gl2.h:23
GLboolean
unsigned char GLboolean
Definition: gl2.h:24
name
EGLImageKHR EGLint * name
Definition: eglext.h:284
glxewContextInit
GLenum glxewContextInit(GLXEW_CONTEXT_ARG_DEF_LIST)
Definition: glew_init_glx.c:15
glxewGetExtension
GLboolean glxewGetExtension(const char *name)
Definition: glew_init_glx.c:3
GLEWAPIENTRY
#define GLEWAPIENTRY
Definition: glew_head.h:178
glxewIsSupported
GLEWAPI GLboolean GLEWAPIENTRY glxewIsSupported(const char *name)
Definition: glew.c:17624
GLEWAPI
#define GLEWAPI
Definition: glew_head.h:164
ctx
EGLContext ctx
Definition: eglext.h:87