25#ifndef ODTRGL2EXTENSIONS
26#define ODTRGL2EXTENSIONS
28#include "../nogl/TrRndNoGLExtensionsRegistry.h"
32#define GL_BGR_EXT 0x80E0
35#define GL_BGRA_EXT 0x80E1
40#define GL_CLAMP 0x2900
44#ifndef GL_CLAMP_TO_BORDER
45#define GL_CLAMP_TO_BORDER 0x812D
47#ifndef GL_TEXTURE_BORDER_COLOR
48#define GL_TEXTURE_BORDER_COLOR 0x1004
52#ifndef GL_DEPTH_COMPONENT
53#define GL_DEPTH_COMPONENT 0x1902
55#ifndef GL_DEPTH_COMPONENT32
56#define GL_DEPTH_COMPONENT32 0x81A7
60#ifndef GL_DEPTH_COMPONENT24
61#define GL_DEPTH_COMPONENT24 0x81A6
65#ifndef GL_DEPTH_STENCIL
66#define GL_DEPTH_STENCIL 0x84F9
68#ifndef GL_UNSIGNED_INT_24_8
69#define GL_UNSIGNED_INT_24_8 0x84FA
71#ifndef GL_DEPTH24_STENCIL8
72#define GL_DEPTH24_STENCIL8 0x88F0
75#ifndef GL_DEPTH_STENCIL_ATTACHMENT
76#define GL_DEPTH_STENCIL_ATTACHMENT 0x821A
80#ifndef GL_STENCIL_INDEX
81#define GL_STENCIL_INDEX 0x1901
83#ifndef GL_STENCIL_INDEX8
84#define GL_STENCIL_INDEX8 0x8D48
89#define GL_RGBA16F 0x881A
96#define GL_HALF_FLOAT 0x8D61
101#define GL_RGBA32F 0x8814
110#define GL_R16F 0x822D
113#define GL_RG16F 0x822F
118#define GL_R32F 0x822E
121#define GL_RG32F 0x8230
138#define GL_RGB8 0x8051
141#define GL_ALPHA8 0x803C
144#define GL_LUMINANCE8 0x8040
152#define GL_RG16 0x822C
155#define GL_RGBA16 0x805B
158#define GL_ALPHA16 0x803E
163#define GL_RED_SNORM 0x8F90
166#define GL_RG_SNORM 0x8F91
169#define GL_RGBA_SNORM 0x8F93
171#ifndef GL_ALPHA_SNORM
172#define GL_ALPHA_SNORM 0x9010
175#define GL_R8_SNORM 0x8F94
178#define GL_RG8_SNORM 0x8F95
180#ifndef GL_RGBA8_SNORM
181#define GL_RGBA8_SNORM 0x8F97
183#ifndef GL_ALPHA8_SNORM
184#define GL_ALPHA8_SNORM 0x9014
189#define GL_R16_SNORM 0x8F98
192#define GL_RG16_SNORM 0x8F99
194#ifndef GL_RGBA16_SNORM
195#define GL_RGBA16_SNORM 0x8F9B
197#ifndef GL_ALPHA16_SNORM
198#define GL_ALPHA16_SNORM 0x9018
202#ifndef GL_RGBA_FLOAT_MODE
203#define GL_RGBA_FLOAT_MODE 0x8820
205#ifndef GL_CLAMP_VERTEX_COLOR
206#define GL_CLAMP_VERTEX_COLOR 0x891A
208#ifndef GL_CLAMP_FRAGMENT_COLOR
209#define GL_CLAMP_FRAGMENT_COLOR 0x891B
211#ifndef GL_CLAMP_READ_COLOR
212#define GL_CLAMP_READ_COLOR 0x891C
215#define GL_FIXED_ONLY 0x891D
219#ifndef GL_DRAW_BUFFER0
220#define GL_DRAW_BUFFER0 0x8825
224#ifndef GL_COPY_READ_BUFFER
225#define GL_COPY_READ_BUFFER 0x8F36
227#ifndef GL_COPY_WRITE_BUFFER
228#define GL_COPY_WRITE_BUFFER 0x8F37
232#ifndef GL_LINE_SMOOTH
233#define GL_LINE_SMOOTH 0x0B20
235#ifndef GL_LINE_SMOOTH_HINT
236#define GL_LINE_SMOOTH_HINT 0x0C52
238#ifndef GL_SMOOTH_LINE_WIDTH_RANGE
239#define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22
243#ifndef GL_SHADING_LANGUAGE_VERSION
244#define GL_SHADING_LANGUAGE_VERSION 0x8B8C
248#ifndef GL_POINT_SPRITE
249#define GL_POINT_SPRITE 0x8861
252#ifndef GL_VERTEX_PROGRAM_POINT_SIZE
253#define GL_VERTEX_PROGRAM_POINT_SIZE 0x8642
261#define GL_RGBA8 0x8058
266#ifndef GL_GEOMETRY_SHADER
267#define GL_GEOMETRY_SHADER 0x8DD9
269#ifndef GL_GEOMETRY_VERTICES_OUT
270#define GL_GEOMETRY_VERTICES_OUT 0x8DDA
272#ifndef GL_GEOMETRY_INPUT_TYPE
273#define GL_GEOMETRY_INPUT_TYPE 0x8DDB
275#ifndef GL_GEOMETRY_OUTPUT_TYPE
276#define GL_GEOMETRY_OUTPUT_TYPE 0x8DDC
278#ifndef GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS
279#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS 0x8C29
281#ifndef GL_LINES_ADJACENCY
282#define GL_LINES_ADJACENCY 0xA
284#ifndef GL_LINE_STRIP_ADJACENCY
285#define GL_LINE_STRIP_ADJACENCY 0xB
287#ifndef GL_TRIANGLES_ADJACENCY
288#define GL_TRIANGLES_ADJACENCY 0xC
290#ifndef GL_TRIANGLE_STRIP_ADJACENCY
291#define GL_TRIANGLE_STRIP_ADJACENCY 0xD
295#ifndef GL_MAX_FRAGMENT_UNIFORM_COMPONENTS
296#define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49
298#ifndef GL_MAX_VERTEX_UNIFORM_COMPONENTS
299#define GL_MAX_VERTEX_UNIFORM_COMPONENTS 0x8B4A
301#ifndef GL_POINT_SIZE_RANGE
302#define GL_POINT_SIZE_RANGE 0x0B12
305#define GL_DOUBLE 0x140A
void glClampColor(GLenum target, GLenum clamp)
OdTrGL2ExtensionsRegistry(OdTrRndLocalContext *pLocalContext)
bool isExtensionSupported(ExtensionName nExt)
void glDrawBuffers(GLsizei n, const GLenum *bufs)
bool isFunctionAvailable(FunctionName nFunc)
void glCopyBufferSubData(GLenum readtarget, GLenum writetarget, GLintptr readoffset, GLintptr writeoffset, GLsizeiptr size)
void glProgramParameteri(GLuint program, GLenum pname, GLint value)
void glFramebufferTexture(GLenum target, GLenum attachment, GLuint texture, GLint level)
GLenum GLenum GLuint texture
GLsizei const GLfloat * value