zenilib: zenilib/jni/external/glew/auto/src/wglew_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
wglew_tail.h
Go to the documentation of this file.
1 /* ------------------------------------------------------------------------- */
2
3 #ifdef GLEW_MX
4
5 typedef struct WGLEWContextStruct WGLEWContext;
6 GLEWAPI GLenum GLEWAPIENTRY wglewContextInit (WGLEWContext *ctx);
7 GLEWAPI GLboolean GLEWAPIENTRY wglewContextIsSupported (const WGLEWContext *ctx, const char *name);
8
9 #define wglewInit() wglewContextInit(wglewGetContext())
10 #define wglewIsSupported(x) wglewContextIsSupported(wglewGetContext(), x)
11
12 #define WGLEW_GET_VAR(x) (*(const GLboolean*)&(wglewGetContext()->x))
13 #define WGLEW_GET_FUN(x) wglewGetContext()->x
14
15 #else /* GLEW_MX */
16
17 #define WGLEW_GET_VAR(x) (*(const GLboolean*)&x)
18 #define WGLEW_GET_FUN(x) x
19
20 GLEWAPI GLboolean GLEWAPIENTRY wglewIsSupported (const char *name);
21
22 #endif /* GLEW_MX */
23
24 GLEWAPI GLboolean GLEWAPIENTRY wglewGetExtension (const char *name);
25
26 #ifdef __cplusplus
27 }
28 #endif
29
30 #undef GLEWAPI
31
32 #endif /* __wglew_h__ */
wglewIsSupported
GLEWAPI GLboolean GLEWAPIENTRY wglewIsSupported(const char *name)
GLenum
unsigned int GLenum
Definition: gl2.h:23
GLboolean
unsigned char GLboolean
Definition: gl2.h:24
wglewContextInit
GLenum GLEWAPIENTRY wglewContextInit(WGLEW_CONTEXT_ARG_DEF_LIST)
Definition: glew_init_wgl.c:23
name
EGLImageKHR EGLint * name
Definition: eglext.h:284
GLEWAPIENTRY
#define GLEWAPIENTRY
Definition: glew_head.h:178
GLEWAPI
#define GLEWAPI
Definition: glew_head.h:164
wglewGetExtension
GLboolean GLEWAPIENTRY wglewGetExtension(const char *name)
Definition: glew_init_wgl.c:6
ctx
EGLContext ctx
Definition: eglext.h:87