37 #ifndef GL_TEXTURE_MAX_ANISOTROPY
38 #define GL_TEXTURE_MAX_ANISOTROPY 0x84FE
40 #ifndef GL_MAX_TEXTURE_MAX_ANISOTROPY
41 #define GL_MAX_TEXTURE_MAX_ANISOTROPY 0x84FF
44 #ifndef GL_VBO_FREE_MEMORY_ATI
45 #define GL_VBO_FREE_MEMORY_ATI 0x87FB
47 #ifndef GL_TEXTURE_FREE_MEMORY_ATI
48 #define GL_TEXTURE_FREE_MEMORY_ATI 0x87FC
50 #ifndef GL_RENDERBUFFER_FREE_MEMORY_ATI
51 #define GL_RENDERBUFFER_FREE_MEMORY_ATI 0x87FD
54 #ifndef GL_GPU_MEM_INFO_TOTAL_AVAILABLE_MEM_NVX
55 #define GL_GPU_MEM_INFO_TOTAL_AVAILABLE_MEM_NVX 0x9048
58 #ifndef GL_POINT_SPRITE
59 #define GL_POINT_SPRITE 0x8861
62 #ifndef GL_GPU_MEM_INFO_CURRENT_AVAILABLE_MEM_NVX
63 #define GL_GPU_MEM_INFO_CURRENT_AVAILABLE_MEM_NVX 0x9049
65 #ifndef GLX_CONTEXT_ROBUST_ACCESS_BIT_ARB
66 #define GLX_CONTEXT_ROBUST_ACCESS_BIT_ARB 0x00000004
68 #ifndef GLX_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB
69 #define GLX_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB 0x8256
71 #ifndef GLX_NO_RESET_NOTIFICATION_ARB
72 #define GLX_NO_RESET_NOTIFICATION_ARB 0x8261
74 #ifndef GLX_LOSE_CONTEXT_ON_RESET_ARB
75 #define GLX_LOSE_CONTEXT_ON_RESET_ARB 0x8252
82 typedef const char * (
APIENTRYP RE_PFNWGLGETEXTENSIONSSTRINGPROC)(
void);
83 typedef const char * (
APIENTRYP RE_PFNWGLGETEXTENSIONSSTRINGARBPROC) (HDC hdc);
84 typedef BOOL (
APIENTRYP RE_PFNWGLSWAPINTERVALPROC) (
int);
85 typedef BOOL (
APIENTRYP RE_PFNWGLCHOOSEPIXELFORMATARBPROC)
86 (HDC hdc,
const int *piAttribIList,
87 const FLOAT *pfAttribFList,
92 typedef const char * (
APIENTRYP RE_PFNWGLGETEXTENSIONSSTRINGPROC)(
void);
96 #ifndef PFNGLXSWAPINTERVALSGIPROC
99 #define RE_PFNGLXSWAPINTERVALSGIPROC PFNGLXSWAPINTERVALSGIPROC
104 #if defined(WIN32) && !defined(WGL_NUMBER_PIXEL_FORMATS_ARB)
105 #define WGL_NUMBER_PIXEL_FORMATS_ARB 0x2000
106 #define WGL_DRAW_TO_WINDOW_ARB 0x2001
107 #define WGL_DRAW_TO_BITMAP_ARB 0x2002
108 #define WGL_ACCELERATION_ARB 0x2003
109 #define WGL_SWAP_LAYER_BUFFERS_ARB 0x2006
110 #define WGL_SWAP_METHOD_ARB 0x2007
111 #define WGL_SUPPORT_OPENGL_ARB 0x2010
112 #define WGL_DOUBLE_BUFFER_ARB 0x2011
113 #define WGL_COLOR_BITS_ARB 0x2014
114 #define WGL_RED_BITS_ARB 0x2015
115 #define WGL_RED_SHIFT_ARB 0x2016
116 #define WGL_GREEN_BITS_ARB 0x2017
117 #define WGL_GREEN_SHIFT_ARB 0x2018
118 #define WGL_BLUE_BITS_ARB 0x2019
119 #define WGL_BLUE_SHIFT_ARB 0x201A
120 #define WGL_ALPHA_BITS_ARB 0x201B
121 #define WGL_ALPHA_SHIFT_ARB 0x201C
122 #define WGL_ACCUM_BITS_ARB 0x201D
123 #define WGL_ACCUM_RED_BITS_ARB 0x201E
124 #define WGL_ACCUM_GREEN_BITS_ARB 0x201F
125 #define WGL_ACCUM_BLUE_BITS_ARB 0x2020
126 #define WGL_ACCUM_ALPHA_BITS_ARB 0x2021
127 #define WGL_DEPTH_BITS_ARB 0x2022
128 #define WGL_STENCIL_BITS_ARB 0x2023
129 #define WGL_FULL_ACCELERATION_ARB 0x2027
130 #define WGL_SWAP_EXCHANGE_ARB 0x2028
131 #define WGL_SAMPLE_BUFFERS_ARB 0x2041
132 #define WGL_SAMPLES_ARB 0x2042
135 #ifndef GL_SHADING_LANGUAGE_VERSION
136 #define GL_SHADING_LANGUAGE_VERSION 0x8B8C
140 #ifndef WGL_CONTEXT_MAJOR_VERSION_ARB
141 #define WGL_CONTEXT_MAJOR_VERSION_ARB 0x2091
143 #ifndef WGL_CONTEXT_MINOR_VERSION_ARB
144 #define WGL_CONTEXT_MINOR_VERSION_ARB 0x2092
146 #ifndef WGL_CONTEXT_LAYER_PLANE_ARB
147 #define WGL_CONTEXT_LAYER_PLANE_ARB 0x2093
149 #ifndef WGL_CONTEXT_FLAGS_ARB
150 #define WGL_CONTEXT_FLAGS_ARB 0x2094
152 #ifndef WGL_CONTEXT_PROFILE_MASK_ARB
153 #define WGL_CONTEXT_PROFILE_MASK_ARB 0x9126
155 #ifndef WGL_CONTEXT_DEBUG_BIT_ARB
156 #define WGL_CONTEXT_DEBUG_BIT_ARB 0x0001
158 #ifndef WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB
159 #define WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x0002
161 #ifndef WGL_CONTEXT_CORE_PROFILE_BIT_ARB
162 #define WGL_CONTEXT_CORE_PROFILE_BIT_ARB 0x00000001
164 #ifndef WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB
165 #define WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB 0x00000002
167 #ifndef ERROR_INVALID_VERSION_ARB
168 #define ERROR_INVALID_VERSION_ARB 0x2095
172 typedef HGLRC (
APIENTRYP RE_PFNWGLCREATECONTEXTATTRIBSARBPROC) (HDC hdc,
174 const int *attrib_list);
181 #ifndef GL_EXT_memory_object
182 #define GL_EXT_memory_object 1
183 #define GL_TEXTURE_TILING_EXT 0x9580
184 #define GL_DEDICATED_MEMORY_OBJECT_EXT 0x9581
185 #define GL_PROTECTED_MEMORY_OBJECT_EXT 0x959B
186 #define GL_NUM_TILING_TYPES_EXT 0x9582
187 #define GL_TILING_TYPES_EXT 0x9583
188 #define GL_OPTIMAL_TILING_EXT 0x9584
189 #define GL_LINEAR_TILING_EXT 0x9585
190 #define GL_NUM_DEVICE_UUIDS_EXT 0x9596
191 #define GL_DEVICE_UUID_EXT 0x9597
192 #define GL_DRIVER_UUID_EXT 0x9598
193 #define GL_UUID_SIZE_EXT 16
215 #ifndef GL_EXT_semaphore
216 #define GL_EXT_semaphore 1
217 #define GL_LAYOUT_GENERAL_EXT 0x958D
218 #define GL_LAYOUT_COLOR_ATTACHMENT_EXT 0x958E
219 #define GL_LAYOUT_DEPTH_STENCIL_ATTACHMENT_EXT 0x958F
220 #define GL_LAYOUT_DEPTH_STENCIL_READ_ONLY_EXT 0x9590
221 #define GL_LAYOUT_SHADER_READ_ONLY_EXT 0x9591
222 #define GL_LAYOUT_TRANSFER_SRC_EXT 0x9592
223 #define GL_LAYOUT_TRANSFER_DST_EXT 0x9593
224 #define GL_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_EXT 0x9530
225 #define GL_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_EXT 0x9531
236 #ifndef GL_EXT_memory_object_win32
237 #define GL_EXT_memory_object_win32 1
238 #define GL_HANDLE_TYPE_OPAQUE_WIN32_EXT 0x9587
239 #define GL_HANDLE_TYPE_OPAQUE_WIN32_KMT_EXT 0x9588
240 #define GL_DEVICE_LUID_EXT 0x9599
241 #define GL_DEVICE_NODE_MASK_EXT 0x959A
242 #define GL_LUID_SIZE_EXT 8
243 #define GL_HANDLE_TYPE_D3D12_TILEPOOL_EXT 0x9589
244 #define GL_HANDLE_TYPE_D3D12_RESOURCE_EXT 0x958A
245 #define GL_HANDLE_TYPE_D3D11_IMAGE_EXT 0x958B
246 #define GL_HANDLE_TYPE_D3D11_IMAGE_KMT_EXT 0x958C
250 #ifndef GL_EXT_semaphore_win32
251 #define GL_EXT_semaphore_win32 1
252 #define GL_HANDLE_TYPE_D3D12_FENCE_EXT 0x9594
253 #define GL_D3D12_FENCE_VALUE_EXT 0x9595
258 #ifndef GL_EXT_memory_object_fd
259 #define GL_EXT_memory_object_fd 1
260 #define GL_HANDLE_TYPE_OPAQUE_FD_EXT 0x9586
266 #endif // __RE_OGL_h__
GLsizei GLenum GLsizei GLsizei GLuint memory
typedef int(APIENTRYP RE_PFNGLXSWAPINTERVALSGIPROC)(int)
GLsizei GLenum GLsizei GLsizei GLboolean fixedSampleLocations
GLsizei const GLfloat * value
GLuint64 GLenum handleType
GLuint const GLuint GLuint const GLuint const GLenum * srcLayouts
GLsizei GLenum GLsizei GLsizei GLuint GLuint64 offset
GLsizei GLenum internalFormat
typedef void(APIENTRYP RE_PFNGLBINDMULTITEXTUREEXTPROC)(GLenum texunit
GLsizei GLenum GLsizei GLsizei height
GLuint const GLuint GLuint numTextureBarriers
GLenum const GLint * params
GLuint const GLuint * buffers
GLuint const GLchar * name
typedef GLboolean(APIENTRYP RE_PFNGLISMEMORYOBJECTEXTPROC)(GLuint memoryObject)
GLsizei GLenum GLsizei GLsizei GLsizei depth
const GLuint * memoryObjects
GLuint const GLuint GLuint const GLuint * textures
GLuint const GLuint GLuint const GLuint const GLenum * dstLayouts
GLsizei GLenum GLsizei width