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_TOTAL_AVAILABLE_MEMORY_NVX
25 #define GPU_MEMORY_INFO_TOTAL_AVAILABLE_MEMORY_NVX 0x9048
26 #endif
27 
28 #ifndef GPU_MEMORY_INFO_CURRENT_AVAILABLE_VIDMEM_NVX
29 #define GPU_MEMORY_INFO_CURRENT_AVAILABLE_VIDMEM_NVX 0x9049
30 #endif
31 
32 using MYTH_GLsizeiptr = ptrdiff_t;
33 using MYTH_GLMAPBUFFERPROC = GLvoid* (APIENTRY *) (GLenum target, GLenum access);
34 using MYTH_GLUNMAPBUFFERPROC = GLboolean (APIENTRY *) (GLenum target);
35 #endif
MYTH_GLMAPBUFFERPROC
GLvoid *(APIENTRY *)(GLenum target, GLenum access) MYTH_GLMAPBUFFERPROC
Definition: mythrenderopengldefs.h:33
APIENTRY
#define APIENTRY
Definition: mythrenderopengldefs.h:21
MYTH_GLsizeiptr
ptrdiff_t MYTH_GLsizeiptr
Definition: mythrenderopengldefs.h:32
MYTH_GLUNMAPBUFFERPROC
GLboolean(APIENTRY *)(GLenum target) MYTH_GLUNMAPBUFFERPROC
Definition: mythrenderopengldefs.h:34