MythTV  master
mythrenderopengldefs.h
Go to the documentation of this file.
1 #ifndef MYTHRENDER_OPENGL_DEFS_H_
2 #define MYTHRENDER_OPENGL_DEFS_H_
3 
4 #ifndef GL_COLOR_EXT
5 #define GL_COLOR_EXT 0x1800
6 #endif
7 
8 #ifndef GL_TEXTURE0
9 #define GL_TEXTURE0 0x84C0
10 #endif
11 
12 #ifndef GL_TEXTURE_EXTERNAL_OES
13 #define GL_TEXTURE_EXTERNAL_OES 0x8D65
14 #endif
15 
16 #ifndef GL_UNPACK_ROW_LENGTH
17 #define GL_UNPACK_ROW_LENGTH 0x0CF2
18 #endif
19 
20 #ifndef APIENTRY
21 #define APIENTRY
22 #endif
23 
24 #ifndef GPU_MEMORY_INFO_DEDICATED_VIDMEM_NVX
25 #define GPU_MEMORY_INFO_DEDICATED_VIDMEM_NVX 0x9047
26 #endif
27 
28 #ifndef GPU_MEMORY_INFO_TOTAL_AVAILABLE_MEMORY_NVX
29 #define GPU_MEMORY_INFO_TOTAL_AVAILABLE_MEMORY_NVX 0x9048
30 #endif
31 
32 #ifndef GPU_MEMORY_INFO_CURRENT_AVAILABLE_VIDMEM_NVX
33 #define GPU_MEMORY_INFO_CURRENT_AVAILABLE_VIDMEM_NVX 0x9049
34 #endif
35 
36 using MYTH_GLsizeiptr = ptrdiff_t;
37 using MYTH_GLMAPBUFFERPROC = GLvoid* (APIENTRY *) (GLenum target, GLenum access);
38 using MYTH_GLUNMAPBUFFERPROC = GLboolean (APIENTRY *) (GLenum target);
39 #endif
MYTH_GLMAPBUFFERPROC
GLvoid *(APIENTRY *)(GLenum target, GLenum access) MYTH_GLMAPBUFFERPROC
Definition: mythrenderopengldefs.h:37
APIENTRY
#define APIENTRY
Definition: mythrenderopengldefs.h:21
MYTH_GLsizeiptr
ptrdiff_t MYTH_GLsizeiptr
Definition: mythrenderopengldefs.h:36
MYTH_GLUNMAPBUFFERPROC
GLboolean(APIENTRY *)(GLenum target) MYTH_GLUNMAPBUFFERPROC
Definition: mythrenderopengldefs.h:38