25 #ifndef ODTRGL2EXTENSIONS
26 #define ODTRGL2EXTENSIONS
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
57 #ifndef GL_DEPTH_COMPONENT24
58 #define GL_DEPTH_COMPONENT24 0x81A6
62 #ifndef GL_DEPTH_STENCIL
63 #define GL_DEPTH_STENCIL 0x84F9
65 #ifndef GL_UNSIGNED_INT_24_8
66 #define GL_UNSIGNED_INT_24_8 0x84FA
68 #ifndef GL_DEPTH24_STENCIL8
69 #define GL_DEPTH24_STENCIL8 0x88F0
72 #ifndef GL_DEPTH_STENCIL_ATTACHMENT
73 #define GL_DEPTH_STENCIL_ATTACHMENT 0x821A
77 #ifndef GL_STENCIL_INDEX
78 #define GL_STENCIL_INDEX 0x1901
80 #ifndef GL_STENCIL_INDEX8
81 #define GL_STENCIL_INDEX8 0x8D48
86 #define GL_RGBA16F 0x881A
93 #define GL_HALF_FLOAT 0x8D61
98 #define GL_RGBA32F 0x8814
106 #ifndef GL_DRAW_BUFFER0
107 #define GL_DRAW_BUFFER0 0x8825
111 #ifndef GL_LINE_SMOOTH
112 #define GL_LINE_SMOOTH 0x0B20
114 #ifndef GL_LINE_SMOOTH_HINT
115 #define GL_LINE_SMOOTH_HINT 0x0C52
117 #ifndef GL_SMOOTH_LINE_WIDTH_RANGE
118 #define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22
122 #ifndef GL_SHADING_LANGUAGE_VERSION
123 #define GL_SHADING_LANGUAGE_VERSION 0x8B8C
127 #ifndef GL_POINT_SPRITE
128 #define GL_POINT_SPRITE 0x8861
131 #ifndef GL_VERTEX_PROGRAM_POINT_SIZE
132 #define GL_VERTEX_PROGRAM_POINT_SIZE 0x8642
140 #define GL_RGBA8 0x8058
@ kExtensionTextureEdgeClamp
@ kExtensionPackedDepthStencil
@ kExtensionElementIndexUInt
@ kExtensionTextureMirroredRepeat
@ kExtensionTextureBorderClamp
@ kExtensionTextureHalfFloat
OdUInt32 m_extensionChecked[kNumExtensions/32+1]
bool isExtensionSupported(ExtensionName nExt)
void glDrawBuffers(GLsizei n, const GLenum *bufs)
OdTrGL2LocalContext * m_pLocalContext
OdUInt32 m_extensionAvailable[kNumExtensions/32+1]
bool isFunctionAvailable(FunctionName nFunc)
OdTrGL2ExtensionsRegistry()
void * m_pFunctionPtr[kNumFunctions]
typedef GLenum(APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSPROC)(GLenum target)