this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Build OpenGL stubs

+11580
+16
src/OpenGL/CMakeLists.txt
··· 1 + project(OpenGL) 2 + 3 + set(DYLIB_COMPAT_VERSION "1.0.0") 4 + set(DYLIB_CURRENT_VERSION "1.0.0") 5 + 6 + add_framework(OpenGL 7 + FAT 8 + CURRENT_VERSION 9 + VERSION "A" 10 + 11 + SOURCES 12 + src/OpenGL.c 13 + 14 + DEPENDENCIES 15 + system 16 + )
+25
src/OpenGL/include/OpenGL/CGLContext.h
··· 1 + #ifndef _CGLCONTEXT_H 2 + #define _CGLCONTEXT_H 3 + 4 + #include <OpenGL/gliContext.h> 5 + #include <OpenGL/gliDispatch.h> 6 + 7 + #ifdef __cplusplus 8 + extern "C" { 9 + #endif 10 + 11 + typedef struct _CGLPrivateObject *CGLPrivateObj; 12 + 13 + struct _CGLContextObject { 14 + GLIContext rend; 15 + GLIFunctionDispatch disp; 16 + CGLPrivateObj priv; 17 + void *stak; 18 + }; 19 + 20 + 21 + #ifdef __cplusplus 22 + } 23 + #endif 24 + 25 + #endif
+21
src/OpenGL/include/OpenGL/CGLCurrent.h
··· 1 + #ifndef _CGLCURRENT_H 2 + #define _CGLCURRENT_H 3 + 4 + #include <OpenGL/CGLTypes.h> 5 + 6 + #ifdef __cplusplus 7 + extern "C" { 8 + #endif 9 + 10 + OPENGL_ASSUME_NONNULL_BEGIN 11 + 12 + extern CGLError CGLSetCurrentContext(CGLContextObj OPENGL_NULLABLE ctx); 13 + extern CGLContextObj OPENGL_NULLABLE CGLGetCurrentContext(void); 14 + 15 + OPENGL_ASSUME_NONNULL_END 16 + 17 + #ifdef __cplusplus 18 + } 19 + #endif 20 + 21 + #endif
+27
src/OpenGL/include/OpenGL/CGLDevice.h
··· 1 + #ifndef _CGLDEVICE_H 2 + #define _CGLDEVICE_H 3 + 4 + #include <OpenGL/CGLTypes.h> 5 + #include <OpenGL/gltypes.h> 6 + 7 + #ifdef __cplusplus 8 + extern "C" { 9 + #endif 10 + 11 + OPENGL_ASSUME_NONNULL_BEGIN 12 + 13 + typedef struct CGLShareGroupRec *CGLShareGroupObj OPENGL_AVAILABLE(10_6); 14 + 15 + CGLShareGroupObj OPENGL_NULLABLE CGLGetShareGroup(CGLContextObj ctx) OPENGL_AVAILABLE(10_6); 16 + 17 + typedef struct _cl_device_id * cl_device_id OPENGL_AVAILABLE(10_10); 18 + 19 + cl_device_id CGLGetDeviceFromGLRenderer(GLint rendererID) OPENGL_AVAILABLE(10_10); 20 + 21 + OPENGL_ASSUME_NONNULL_END 22 + 23 + #ifdef __cplusplus 24 + } 25 + #endif 26 + 27 + #endif
+25
src/OpenGL/include/OpenGL/CGLIOSurface.h
··· 1 + #ifndef _CGLIOSURFACE_H 2 + #define _CGLIOSURFACE_H 3 + 4 + #include <AvailabilityMacros.h> 5 + #include <OpenGL/CGLTypes.h> 6 + #include <OpenGL/gltypes.h> 7 + 8 + #ifdef __cplusplus 9 + extern "C" { 10 + #endif 11 + 12 + OPENGL_ASSUME_NONNULL_BEGIN 13 + 14 + typedef struct OPENGL_BRIDGED_TYPE(id) __IOSurface *IOSurfaceRef OPENGL_SWIFT_NAME(IOSurfaceRef); 15 + 16 + extern CGLError CGLTexImageIOSurface2D(CGLContextObj ctx, GLenum target, GLenum internal_format, 17 + GLsizei width, GLsizei height, GLenum format, GLenum type, IOSurfaceRef ioSurface, GLuint plane) OPENGL_AVAILABLE(10_6); 18 + 19 + OPENGL_ASSUME_NONNULL_END 20 + 21 + #ifdef __cplusplus 22 + } 23 + #endif 24 + 25 + #endif
+36
src/OpenGL/include/OpenGL/CGLRenderers.h
··· 1 + #ifndef _CGLRENDERERS_H 2 + #define _CGLRENDERERS_H 3 + 4 + #include <OpenGL/OpenGLAvailability.h> 5 + 6 + enum { 7 + kCGLRendererGenericID OPENGL_ENUM_DEPRECATED(10_0, 10_5) = 0x00020200, 8 + kCGLRendererGenericFloatID OPENGL_ENUM_AVAILABLE(10_3) = 0x00020400, 9 + kCGLRendererAppleSWID = 0x00020600, 10 + kCGLRendererATIRage128ID OPENGL_ENUM_DEPRECATED(10_0, 10_5) = 0x00021000, 11 + kCGLRendererATIRadeonID OPENGL_ENUM_DEPRECATED(10_0, 10_6) = 0x00021200, 12 + kCGLRendererATIRageProID OPENGL_ENUM_DEPRECATED(10_0, 10_6) = 0x00021400, 13 + kCGLRendererATIRadeon8500ID OPENGL_ENUM_DEPRECATED(10_2, 10_6) = 0x00021600, 14 + kCGLRendererATIRadeon9700ID OPENGL_ENUM_DEPRECATED(10_2, 10_6) = 0x00021800, 15 + kCGLRendererATIRadeonX1000ID OPENGL_ENUM_DEPRECATED(10_4, 10_8) = 0x00021900, 16 + kCGLRendererATIRadeonX2000ID OPENGL_ENUM_AVAILABLE(10_4) = 0x00021A00, 17 + kCGLRendererATIRadeonX3000ID OPENGL_ENUM_AVAILABLE(10_6) = 0x00021B00, 18 + kCGLRendererATIRadeonX4000ID OPENGL_ENUM_AVAILABLE(10_8) = 0x00021C00, 19 + kCGLRendererGeForce2MXID OPENGL_ENUM_DEPRECATED(10_0, 10_6) = 0x00022000, 20 + kCGLRendererGeForce3ID OPENGL_ENUM_DEPRECATED(10_0, 10_6) = 0x00022200, 21 + kCGLRendererGeForceFXID OPENGL_ENUM_DEPRECATED(10_2, 10_8) = 0x00022400, 22 + kCGLRendererGeForce8xxxID OPENGL_ENUM_AVAILABLE(10_4) = 0x00022600, 23 + kCGLRendererGeForceID OPENGL_ENUM_AVAILABLE(10_9) = 0x00022700, 24 + kCGLRendererVTBladeXP2ID OPENGL_ENUM_DEPRECATED(10_3, 10_6) = 0x00023000, 25 + kCGLRendererIntel900ID OPENGL_ENUM_DEPRECATED(10_4, 10_8) = 0x00024000, 26 + kCGLRendererIntelX3100ID OPENGL_ENUM_DEPRECATED(10_5, 10_8) = 0x00024200, 27 + kCGLRendererIntelHDID OPENGL_ENUM_AVAILABLE(10_6) = 0x00024300, 28 + kCGLRendererIntelHD4000ID OPENGL_ENUM_AVAILABLE(10_7) = 0x00024400, 29 + kCGLRendererIntelHD5000ID OPENGL_ENUM_AVAILABLE(10_8) = 0x00024500, 30 + 31 + kCGLRendererMesa3DFXID OPENGL_ENUM_DEPRECATED(10_0, 10_6) = 0x00040000, 32 + }; 33 + 34 + #define kCGLRendererIDMatchingMask 0x00FE7F00 35 + 36 + #endif
+273
src/OpenGL/include/OpenGL/CGLTypes.h
··· 1 + #ifndef _CGLTYPES_H 2 + #define _CGLTYPES_H 3 + 4 + #include <OpenGL/OpenGLAvailability.h> 5 + 6 + #ifdef __cplusplus 7 + extern "C" { 8 + #endif 9 + 10 + #if __has_feature(assume_nonnull) 11 + #define OPENGL_ASSUME_NONNULL_BEGIN _Pragma("clang assume_nonnull begin") 12 + #define OPENGL_ASSUME_NONNULL_END _Pragma("clang assume_nonnull end") 13 + #else 14 + #define OPENGL_ASSUME_NONNULL_BEGIN 15 + #define OPENGL_ASSUME_NONNULL_END 16 + #endif 17 + 18 + #if __has_feature(nullability) 19 + #define OPENGL_NULLABLE __nullable 20 + #define OPENGL_NONNULL __nonnull 21 + #else 22 + #define OPENGL_NULLABLE 23 + #define OPENGL_NONNULL 24 + #endif 25 + 26 + #if __has_attribute(objc_bridge) && __has_feature(objc_bridge_id) && __has_feature(objc_bridge_id_on_typedefs) 27 + #define OPENGL_BRIDGED_TYPE(T) __attribute__((objc_bridge(T))) 28 + #else 29 + #define OPENGL_BRIDGED_TYPE(T) 30 + #endif 31 + 32 + #if __has_feature(objc_class_property) 33 + #define OPENGL_SWIFT_NAME(name) __attribute__((swift_name(#name))) 34 + #else 35 + #define OPENGL_SWIFT_NAME(name) 36 + #endif 37 + 38 + typedef struct _CGLContextObject *CGLContextObj; 39 + typedef struct _CGLPixelFormatObject *CGLPixelFormatObj; 40 + typedef struct _CGLRendererInfoObject *CGLRendererInfoObj; 41 + typedef struct _CGLPBufferObject *CGLPBufferObj OPENGL_DEPRECATED(10_3, 10_7); 42 + 43 + typedef enum _CGLPixelFormatAttribute { 44 + kCGLPFAAllRenderers = 1, 45 + kCGLPFATripleBuffer OPENGL_ENUM_AVAILABLE(10_7) = 3, 46 + kCGLPFADoubleBuffer = 5, 47 + kCGLPFAColorSize = 8, 48 + kCGLPFAAlphaSize = 11, 49 + kCGLPFADepthSize = 12, 50 + kCGLPFAStencilSize = 13, 51 + kCGLPFAMinimumPolicy = 51, 52 + kCGLPFAMaximumPolicy = 52, 53 + kCGLPFASampleBuffers OPENGL_ENUM_AVAILABLE(10_2) = 55, 54 + kCGLPFASamples OPENGL_ENUM_AVAILABLE(10_2) = 56, 55 + kCGLPFAColorFloat OPENGL_ENUM_AVAILABLE(10_2) = 58, 56 + kCGLPFAMultisample OPENGL_ENUM_AVAILABLE(10_3) = 59, 57 + kCGLPFASupersample OPENGL_ENUM_AVAILABLE(10_3) = 60, 58 + kCGLPFASampleAlpha OPENGL_ENUM_AVAILABLE(10_3) = 61, 59 + kCGLPFARendererID = 70, 60 + kCGLPFANoRecovery = 72, 61 + kCGLPFAAccelerated = 73, 62 + kCGLPFAClosestPolicy = 74, 63 + kCGLPFABackingStore = 76, 64 + kCGLPFABackingVolatile OPENGL_ENUM_AVAILABLE(10_7) = 77, 65 + kCGLPFADisplayMask = 84, 66 + kCGLPFAAllowOfflineRenderers OPENGL_ENUM_AVAILABLE(10_5) = 96, 67 + kCGLPFAAcceleratedCompute OPENGL_ENUM_AVAILABLE(10_6) = 97, 68 + kCGLPFAOpenGLProfile OPENGL_ENUM_AVAILABLE(10_7) = 99, 69 + kCGLPFASupportsAutomaticGraphicsSwitching OPENGL_ENUM_AVAILABLE(10_8) = 101, 70 + kCGLPFAVirtualScreenCount = 128, 71 + kCGLPFAAuxBuffers = 7, 72 + kCGLPFAAccumSize = 14, 73 + kCGLPFAAuxDepthStencil OPENGL_ENUM_AVAILABLE(10_2) = 57, 74 + 75 + kCGLPFAStereo OPENGL_ENUM_DEPRECATED(10_0, 10_11) = 6, 76 + kCGLPFAOffScreen OPENGL_ENUM_DEPRECATED(10_0, 10_7) = 53, 77 + kCGLPFAWindow OPENGL_ENUM_DEPRECATED(10_0, 10_9) = 80, 78 + kCGLPFACompliant OPENGL_ENUM_DEPRECATED(10_0, 10_9) = 83, 79 + kCGLPFAPBuffer OPENGL_ENUM_DEPRECATED(10_3, 10_7) = 90, 80 + kCGLPFARemotePBuffer OPENGL_ENUM_DEPRECATED(10_3, 10_9) = 91, 81 + 82 + kCGLPFASingleRenderer OPENGL_ENUM_DEPRECATED(10_0, 10_9) = 71, 83 + kCGLPFARobust OPENGL_ENUM_DEPRECATED(10_0, 10_5) = 75, 84 + kCGLPFAMPSafe OPENGL_ENUM_DEPRECATED(10_0, 10_5) = 78, 85 + kCGLPFAMultiScreen OPENGL_ENUM_DEPRECATED(10_0, 10_5) = 81, 86 + kCGLPFAFullScreen OPENGL_ENUM_DEPRECATED(10_0, 10_6) = 54, 87 + } CGLPixelFormatAttribute; 88 + 89 + typedef enum _CGLRendererProperty { 90 + kCGLRPOffScreen = 53, 91 + kCGLRPRendererID = 70, 92 + kCGLRPAccelerated = 73, 93 + kCGLRPBackingStore = 76, 94 + kCGLRPWindow = 80, 95 + kCGLRPCompliant = 83, 96 + kCGLRPDisplayMask = 84, 97 + kCGLRPBufferModes = 100, 98 + kCGLRPColorModes = 103, 99 + kCGLRPAccumModes = 104, 100 + kCGLRPDepthModes = 105, 101 + kCGLRPStencilModes = 106, 102 + kCGLRPMaxAuxBuffers = 107, 103 + kCGLRPMaxSampleBuffers OPENGL_ENUM_AVAILABLE(10_2) = 108, 104 + kCGLRPMaxSamples OPENGL_ENUM_AVAILABLE(10_2) = 109, 105 + kCGLRPSampleModes OPENGL_ENUM_AVAILABLE(10_3) = 110, 106 + kCGLRPSampleAlpha OPENGL_ENUM_AVAILABLE(10_3) = 111, 107 + kCGLRPGPUVertProcCapable OPENGL_ENUM_AVAILABLE(10_4) = 122, 108 + kCGLRPGPUFragProcCapable OPENGL_ENUM_AVAILABLE(10_4) = 123, 109 + kCGLRPRendererCount = 128, 110 + kCGLRPOnline OPENGL_ENUM_AVAILABLE(10_5) = 129, 111 + kCGLRPAcceleratedCompute OPENGL_ENUM_AVAILABLE(10_6) = 130, 112 + kCGLRPVideoMemoryMegabytes OPENGL_ENUM_AVAILABLE(10_7) = 131, 113 + kCGLRPTextureMemoryMegabytes OPENGL_ENUM_AVAILABLE(10_7) = 132, 114 + kCGLRPMajorGLVersion OPENGL_ENUM_AVAILABLE(10_9) = 133, 115 + 116 + kCGLRPRegistryIDLow OPENGL_ENUM_AVAILABLE(10_13) = 140, 117 + kCGLRPRegistryIDHigh OPENGL_ENUM_AVAILABLE(10_13) = 141, 118 + kCGLRPRemovable OPENGL_ENUM_AVAILABLE(10_13) = 142, 119 + 120 + kCGLRPRobust OPENGL_ENUM_DEPRECATED(10_0, 10_5) = 75, 121 + kCGLRPMPSafe OPENGL_ENUM_DEPRECATED(10_0, 10_5) = 78, 122 + kCGLRPMultiScreen OPENGL_ENUM_DEPRECATED(10_0, 10_5) = 81, 123 + kCGLRPFullScreen OPENGL_ENUM_DEPRECATED(10_0, 10_6) = 54, 124 + kCGLRPVideoMemory OPENGL_ENUM_DEPRECATED_MSG(10_0, 10_7, "Use kCGLRPVideoMemoryMegabytes") = 120, 125 + kCGLRPTextureMemory OPENGL_ENUM_DEPRECATED_MSG(10_0, 10_7, "Use kCGLRPTextureMemoryMegabytes") = 121, 126 + } CGLRendererProperty; 127 + 128 + typedef enum _CGLContextEnable { 129 + kCGLCESwapRectangle = 201, 130 + kCGLCESwapLimit OPENGL_ENUM_AVAILABLE(10_2) = 203, 131 + kCGLCERasterization = 221, 132 + kCGLCEStateValidation = 301, 133 + kCGLCESurfaceBackingSize OPENGL_ENUM_AVAILABLE(10_3) = 305, 134 + kCGLCEDisplayListOptimization OPENGL_ENUM_AVAILABLE(10_3) = 307, 135 + kCGLCEMPEngine OPENGL_ENUM_AVAILABLE(10_4) = 313, 136 + kCGLCECrashOnRemovedFunctions OPENGL_ENUM_AVAILABLE(10_7) = 316 137 + } CGLContextEnable; 138 + 139 + typedef enum _CGLGPURestartStatus { 140 + kCGLCPGPURestartStatusNone = 0, 141 + kCGLCPGPURestartStatusCaused = 1, 142 + kCGLCPGPURestartStatusBlacklisted = 2, 143 + } CGLGPURestartStatus; 144 + 145 + typedef enum _CGLContextParameter { 146 + kCGLCPSwapRectangle = 200, 147 + kCGLCPSwapInterval = 222, 148 + kCGLCPDispatchTableSize OPENGL_ENUM_AVAILABLE(10_3) = 224, 149 + kCGLCPClientStorage = 226, 150 + kCGLCPSurfaceTexture OPENGL_ENUM_DEPRECATED(10_3, 10_9) = 228, 151 + kCGLCPSurfaceOrder OPENGL_ENUM_AVAILABLE(10_2) = 235, 152 + kCGLCPSurfaceOpacity OPENGL_ENUM_AVAILABLE(10_2) = 236, 153 + kCGLCPSurfaceBackingSize OPENGL_ENUM_AVAILABLE(10_3) = 304, 154 + kCGLCPSurfaceSurfaceVolatile OPENGL_ENUM_AVAILABLE(10_3) = 306, 155 + kCGLCPReclaimResources OPENGL_ENUM_AVAILABLE(10_4) = 308, 156 + kCGLCPCurrentRendererID OPENGL_ENUM_AVAILABLE(10_4) = 309, 157 + kCGLCPGPUVertexProcessing OPENGL_ENUM_AVAILABLE(10_4) = 310, 158 + kCGLCPGPUFragmentProcessing OPENGL_ENUM_AVAILABLE(10_4) = 311, 159 + kCGLCPHasDrawable OPENGL_ENUM_AVAILABLE(10_5) = 314, 160 + kCGLCPMPSwapsInFlight OPENGL_ENUM_AVAILABLE(10_5) = 315, 161 + kCGLCPGPURestartStatus OPENGL_ENUM_AVAILABLE(10_10) = 317, 162 + kCGLCPAbortOnGPURestartStatusBlacklisted OPENGL_ENUM_AVAILABLE(10_10) = 318, 163 + kCGLCPSupportGPURestart OPENGL_ENUM_AVAILABLE(10_10) = 319, 164 + kCGLCPSupportSeparateAddressSpace OPENGL_ENUM_AVAILABLE(10_10) = 320, 165 + kCGLCPContextPriorityRequest OPENGL_ENUM_AVAILABLE(10_10) = 608, 166 + } CGLContextParameter; 167 + 168 + typedef enum 169 + { 170 + kCGLCPContextPriorityRequestHigh = 0, 171 + kCGLCPContextPriorityRequestNormal = 1, 172 + kCGLCPContextPriorityRequestLow = 2 173 + } CGLCPContextPriorityRequest; 174 + 175 + typedef enum _CGLGlobalOption { 176 + kCGLGOFormatCacheSize = 501, 177 + kCGLGOClearFormatCache = 502, 178 + kCGLGORetainRenderers = 503, 179 + kCGLGOUseBuildCache OPENGL_ENUM_AVAILABLE(10_5) = 506, 180 + 181 + kCGLGOResetLibrary OPENGL_ENUM_DEPRECATED(10_0, 10_4) = 504, 182 + kCGLGOUseErrorHandler OPENGL_ENUM_DEPRECATED(10_0, 10_7) = 505, 183 + } CGLGlobalOption; 184 + 185 + typedef enum _CGLOpenGLProfile { 186 + kCGLOGLPVersion_Legacy OPENGL_ENUM_AVAILABLE(10_7) = 0x1000, 187 + kCGLOGLPVersion_3_2_Core OPENGL_ENUM_AVAILABLE(10_7) = 0x3200, 188 + kCGLOGLPVersion_GL3_Core OPENGL_ENUM_AVAILABLE(10_7) = 0x3200, 189 + kCGLOGLPVersion_GL4_Core OPENGL_ENUM_AVAILABLE(10_9) = 0x4100, 190 + } CGLOpenGLProfile OPENGL_AVAILABLE(10_7); 191 + 192 + typedef enum _CGLError { 193 + kCGLNoError = 0, 194 + kCGLBadAttribute = 10000, 195 + kCGLBadProperty = 10001, 196 + kCGLBadPixelFormat = 10002, 197 + kCGLBadRendererInfo = 10003, 198 + kCGLBadContext = 10004, 199 + kCGLBadDrawable = 10005, 200 + kCGLBadDisplay = 10006, 201 + kCGLBadState = 10007, 202 + kCGLBadValue = 10008, 203 + kCGLBadMatch = 10009, 204 + kCGLBadEnumeration = 10010, 205 + kCGLBadOffScreen = 10011, 206 + kCGLBadFullScreen = 10012, 207 + kCGLBadWindow = 10013, 208 + kCGLBadAddress = 10014, 209 + kCGLBadCodeModule = 10015, 210 + kCGLBadAlloc = 10016, 211 + kCGLBadConnection = 10017 212 + } CGLError; 213 + 214 + #define kCGLMonoscopicBit 0x00000001 215 + #define kCGLStereoscopicBit 0x00000002 216 + #define kCGLSingleBufferBit 0x00000004 217 + #define kCGLDoubleBufferBit 0x00000008 218 + #define kCGLTripleBufferBit 0x00000010 219 + 220 + #define kCGL0Bit 0x00000001 221 + #define kCGL1Bit 0x00000002 222 + #define kCGL2Bit 0x00000004 223 + #define kCGL3Bit 0x00000008 224 + #define kCGL4Bit 0x00000010 225 + #define kCGL5Bit 0x00000020 226 + #define kCGL6Bit 0x00000040 227 + #define kCGL8Bit 0x00000080 228 + #define kCGL10Bit 0x00000100 229 + #define kCGL12Bit 0x00000200 230 + #define kCGL16Bit 0x00000400 231 + #define kCGL24Bit 0x00000800 232 + #define kCGL32Bit 0x00001000 233 + #define kCGL48Bit 0x00002000 234 + #define kCGL64Bit 0x00004000 235 + #define kCGL96Bit 0x00008000 236 + #define kCGL128Bit 0x00010000 237 + 238 + #define kCGLRGB444Bit 0x00000040 239 + #define kCGLARGB4444Bit 0x00000080 240 + #define kCGLRGB444A8Bit 0x00000100 241 + #define kCGLRGB555Bit 0x00000200 242 + #define kCGLARGB1555Bit 0x00000400 243 + #define kCGLRGB555A8Bit 0x00000800 244 + #define kCGLRGB565Bit 0x00001000 245 + #define kCGLRGB565A8Bit 0x00002000 246 + #define kCGLRGB888Bit 0x00004000 247 + #define kCGLARGB8888Bit 0x00008000 248 + #define kCGLRGB888A8Bit 0x00010000 249 + #define kCGLRGB101010Bit 0x00020000 250 + #define kCGLARGB2101010Bit 0x00040000 251 + #define kCGLRGB101010_A8Bit 0x00080000 252 + #define kCGLRGB121212Bit 0x00100000 253 + #define kCGLARGB12121212Bit 0x00200000 254 + #define kCGLRGB161616Bit 0x00400000 255 + #define kCGLRGBA16161616Bit 0x00800000 256 + #define kCGLRGBFloat64Bit 0x01000000 257 + #define kCGLRGBAFloat64Bit 0x02000000 258 + #define kCGLRGBFloat128Bit 0x04000000 259 + #define kCGLRGBAFloat128Bit 0x08000000 260 + #define kCGLRGBFloat256Bit 0x10000000 261 + #define kCGLRGBAFloat256Bit 0x20000000 262 + 263 + #define kCGLSupersampleBit 0x00000001 264 + #define kCGLMultisampleBit 0x00000002 265 + 266 + #define kCGLARGB16161616Bit kCGLRGBA16161616Bit 267 + 268 + 269 + #ifdef __cplusplus 270 + } 271 + #endif 272 + 273 + #endif
+110
src/OpenGL/include/OpenGL/OpenGL.h
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2017 Lubos Dolezel 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + 21 + #ifndef _OpenGL_H_ 22 + #define _OpenGL_H_ 23 + 24 + #include <OpenGL/OpenGLAvailability.h> 25 + #include <OpenGL/CGLCurrent.h> 26 + #include <OpenGL/CGLDevice.h> 27 + #include <OpenGL/CGLRenderers.h> 28 + #include <OpenGL/CGLIOSurface.h> 29 + #include <OpenGL/gltypes.h> 30 + 31 + #ifdef __cplusplus 32 + extern "C" { 33 + #endif 34 + 35 + OPENGL_ASSUME_NONNULL_BEGIN 36 + 37 + #define CGL_VERSION_1_0 1 38 + #define CGL_VERSION_1_1 1 39 + #define CGL_VERSION_1_2 1 40 + #define CGL_VERSION_1_3 1 41 + 42 + extern CGLError CGLChoosePixelFormat(const CGLPixelFormatAttribute *attribs, CGLPixelFormatObj OPENGL_NULLABLE * OPENGL_NONNULL pix, GLint *npix); 43 + extern CGLError CGLDestroyPixelFormat(CGLPixelFormatObj pix); 44 + extern CGLError CGLDescribePixelFormat(CGLPixelFormatObj pix, GLint pix_num, CGLPixelFormatAttribute attrib, GLint *value); 45 + extern void CGLReleasePixelFormat(CGLPixelFormatObj pix) OPENGL_AVAILABLE(10_5); 46 + extern CGLPixelFormatObj CGLRetainPixelFormat(CGLPixelFormatObj pix) OPENGL_AVAILABLE(10_5); 47 + extern GLuint CGLGetPixelFormatRetainCount(CGLPixelFormatObj pix) OPENGL_AVAILABLE(10_5); 48 + 49 + extern CGLError CGLQueryRendererInfo(GLuint display_mask, CGLRendererInfoObj OPENGL_NULLABLE * OPENGL_NONNULL rend, GLint *nrend); 50 + extern CGLError CGLDestroyRendererInfo(CGLRendererInfoObj rend); 51 + extern CGLError CGLDescribeRenderer(CGLRendererInfoObj rend, GLint rend_num, CGLRendererProperty prop, GLint * OPENGL_NULLABLE value); 52 + 53 + extern CGLError CGLCreateContext(CGLPixelFormatObj pix, CGLContextObj OPENGL_NULLABLE share, CGLContextObj OPENGL_NULLABLE * OPENGL_NONNULL ctx); 54 + extern CGLError CGLDestroyContext(CGLContextObj ctx); 55 + extern CGLError CGLCopyContext(CGLContextObj src, CGLContextObj dst, GLbitfield mask) OPENGL_DEPRECATED(10_0, 10_8); 56 + extern CGLContextObj CGLRetainContext(CGLContextObj ctx) OPENGL_AVAILABLE(10_5); 57 + extern void CGLReleaseContext(CGLContextObj ctx) OPENGL_AVAILABLE(10_5); 58 + extern GLuint CGLGetContextRetainCount(CGLContextObj ctx) OPENGL_AVAILABLE(10_5); 59 + extern CGLPixelFormatObj OPENGL_NULLABLE CGLGetPixelFormat(CGLContextObj ctx) OPENGL_AVAILABLE(10_5); 60 + 61 + extern CGLError CGLCreatePBuffer(GLsizei width, GLsizei height, GLenum target, GLenum internalFormat, GLint max_level, CGLPBufferObj OPENGL_NULLABLE * OPENGL_NONNULL pbuffer) OPENGL_DEPRECATED(10_3, 10_7); 62 + extern CGLError CGLDestroyPBuffer(CGLPBufferObj pbuffer) OPENGL_DEPRECATED(10_3, 10_7); 63 + extern CGLError CGLDescribePBuffer(CGLPBufferObj obj, GLsizei *width, GLsizei *height, GLenum *target, GLenum *internalFormat, GLint *mipmap) OPENGL_DEPRECATED(10_3, 10_7); 64 + extern CGLError CGLTexImagePBuffer(CGLContextObj ctx, CGLPBufferObj pbuffer, GLenum source) OPENGL_DEPRECATED(10_3, 10_7); 65 + extern CGLPBufferObj CGLRetainPBuffer(CGLPBufferObj pbuffer) OPENGL_DEPRECATED(10_5, 10_7); 66 + extern void CGLReleasePBuffer(CGLPBufferObj pbuffer) OPENGL_DEPRECATED(10_5, 10_7); 67 + extern GLuint CGLGetPBufferRetainCount(CGLPBufferObj pbuffer) OPENGL_DEPRECATED(10_5, 10_7); 68 + 69 + extern CGLError CGLSetOffScreen(CGLContextObj ctx, GLsizei width, GLsizei height, GLint rowbytes, void *baseaddr) OPENGL_DEPRECATED(10_0, 10_7); 70 + extern CGLError CGLGetOffScreen(CGLContextObj ctx, GLsizei *width, GLsizei *height, GLint *rowbytes, void * OPENGL_NULLABLE * OPENGL_NONNULL baseaddr) OPENGL_DEPRECATED(10_0, 10_7); 71 + extern CGLError CGLSetFullScreen(CGLContextObj ctx) OPENGL_DEPRECATED(10_0, 10_6); 72 + extern CGLError CGLSetFullScreenOnDisplay(CGLContextObj ctx, GLuint display_mask) OPENGL_DEPRECATED(10_5, 10_7); 73 + 74 + extern CGLError CGLSetPBuffer(CGLContextObj ctx, CGLPBufferObj pbuffer, GLenum face, GLint level, GLint screen) OPENGL_DEPRECATED(10_3, 10_7); 75 + extern CGLError CGLGetPBuffer(CGLContextObj ctx, CGLPBufferObj OPENGL_NULLABLE * OPENGL_NONNULL pbuffer, GLenum *face, GLint *level, GLint *screen) OPENGL_DEPRECATED(10_3, 10_7); 76 + 77 + extern CGLError CGLClearDrawable(CGLContextObj ctx); 78 + extern CGLError CGLFlushDrawable(CGLContextObj ctx); 79 + 80 + extern CGLError CGLEnable(CGLContextObj ctx, CGLContextEnable pname); 81 + extern CGLError CGLDisable(CGLContextObj ctx, CGLContextEnable pname); 82 + extern CGLError CGLIsEnabled(CGLContextObj ctx, CGLContextEnable pname, GLint *enable); 83 + extern CGLError CGLSetParameter(CGLContextObj ctx, CGLContextParameter pname, const GLint *params); 84 + extern CGLError CGLGetParameter(CGLContextObj ctx, CGLContextParameter pname, GLint *params); 85 + 86 + extern CGLError CGLSetVirtualScreen(CGLContextObj ctx, GLint screen); 87 + extern CGLError CGLGetVirtualScreen(CGLContextObj ctx, GLint *screen); 88 + 89 + extern CGLError CGLUpdateContext(CGLContextObj ctx) OPENGL_AVAILABLE(10_7); 90 + 91 + extern CGLError CGLSetGlobalOption(CGLGlobalOption pname, const GLint * OPENGL_NULLABLE params) OPENGL_AVAILABLE(10_6); 92 + extern CGLError CGLGetGlobalOption(CGLGlobalOption pname, GLint *params) OPENGL_AVAILABLE(10_6); 93 + extern CGLError CGLSetOption(CGLGlobalOption pname, GLint param); 94 + extern CGLError CGLGetOption(CGLGlobalOption pname, GLint *param); 95 + 96 + extern CGLError CGLLockContext(CGLContextObj ctx) OPENGL_AVAILABLE(10_4); 97 + 98 + extern CGLError CGLUnlockContext(CGLContextObj ctx) OPENGL_AVAILABLE(10_4); 99 + 100 + extern void CGLGetVersion(GLint * OPENGL_NULLABLE majorvers, GLint * OPENGL_NULLABLE minorvers); 101 + 102 + const char *CGLErrorString(CGLError error); 103 + 104 + OPENGL_ASSUME_NONNULL_END 105 + 106 + #ifdef __cplusplus 107 + } 108 + #endif 109 + 110 + #endif
+24
src/OpenGL/include/OpenGL/OpenGLAvailability.h
··· 1 + #ifndef _OpenGLAvailability_H 2 + #define _OpenGLAvailability_H 3 + 4 + #include <Availability.h> 5 + 6 + #if !defined(__has_extension) 7 + #define __has_extension(x) 0 8 + #endif 9 + 10 + #define OPENGL_AVAILABLE(from) __OSX_AVAILABLE_STARTING(__MAC_##from, __IPHONE_NA) 11 + #define OPENGL_DEPRECATED(from, to) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_##from, __MAC_##to, __IPHONE_NA, __IPHONE_NA) 12 + #define OPENGL_DEPRECATED_MSG(from, to, msg) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_##from, __MAC_##to, __IPHONE_NA, __IPHONE_NA, "" #msg "") 13 + 14 + #if __has_extension(enumerator_attributes) 15 + #define OPENGL_ENUM_AVAILABLE(from) OPENGL_AVAILABLE(from) 16 + #define OPENGL_ENUM_DEPRECATED(from, to) OPENGL_DEPRECATED(from, to) 17 + #define OPENGL_ENUM_DEPRECATED_MSG(from, to, msg) OPENGL_DEPRECATED_MSG(from, to, msg) 18 + #else 19 + #define OPENGL_ENUM_AVAILABLE(from) 20 + #define OPENGL_ENUM_DEPRECATED(from, to) 21 + #define OPENGL_ENUM_DEPRECATED_MSG(from, to, msg) 22 + #endif 23 + 24 + #endif
+2983
src/OpenGL/include/OpenGL/gl.h
··· 1 + #ifndef __gl_h_ 2 + #define __gl_h_ 3 + 4 + #if defined __gl3_h_ && !(defined GL_DO_NOT_WARN_IF_MULTI_GL_VERSION_HEADERS_INCLUDED) 5 + #warning gl.h and gl3.h are both included. Compiler will not invoke errors if using removed OpenGL functionality. 6 + #endif 7 + 8 + /* 9 + ** License Applicability. Except to the extent portions of this file are 10 + ** made subject to an alternative license as permitted in the SGI Free 11 + ** Software License B, Version 1.1 (the "License"), the contents of this 12 + ** file are subject only to the provisions of the License. You may not use 13 + ** this file except in compliance with the License. You may obtain a copy 14 + ** of the License at Silicon Graphics, Inc., attn: Legal Services, 1600 15 + ** Amphitheatre Parkway, Mountain View, CA 94043-1351, or at: 16 + ** 17 + ** http://oss.sgi.com/projects/FreeB 18 + ** 19 + ** Note that, as provided in the License, the Software is distributed on an 20 + ** "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS 21 + ** DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND 22 + ** CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A 23 + ** PARTICULAR PURPOSE, AND NON-INFRINGEMENT. 24 + ** 25 + ** Original Code. The Original Code is: OpenGL Sample Implementation, 26 + ** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics, 27 + ** Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc. 28 + ** Copyright in any portions created by third parties is as indicated 29 + ** elsewhere herein. All Rights Reserved. 30 + ** 31 + ** Additional Notice Provisions: This software was created using the 32 + ** OpenGL(R) version 1.2.1 Sample Implementation published by SGI, but has 33 + ** not been independently verified as being compliant with the OpenGL(R) 34 + ** version 1.2.1 Specification. 35 + */ 36 + 37 + // switches to providing function pointers 38 + //#define GL_GLEXT_FUNCTION_POINTERS 1 39 + 40 + #include <OpenGL/gltypes.h> 41 + 42 + #ifndef GL_GLEXT_LEGACY 43 + #include <OpenGL/glext.h> 44 + #endif 45 + 46 + #ifdef __cplusplus 47 + extern "C" { 48 + #endif 49 + 50 + /* For compatibility with OpenGL v1.0 */ 51 + #define GL_LOGIC_OP GL_INDEX_LOGIC_OP 52 + #define GL_TEXTURE_COMPONENTS GL_TEXTURE_INTERNAL_FORMAT 53 + 54 + /*************************************************************/ 55 + 56 + /* Version */ 57 + #define GL_VERSION_1_1 1 58 + #define GL_VERSION_1_2 1 59 + #define GL_VERSION_1_3 1 60 + #define GL_VERSION_1_4 1 61 + #define GL_VERSION_1_5 1 62 + #define GL_VERSION_2_0 1 63 + #define GL_VERSION_2_1 1 64 + 65 + /* AccumOp */ 66 + #define GL_ACCUM 0x0100 67 + #define GL_LOAD 0x0101 68 + #define GL_RETURN 0x0102 69 + #define GL_MULT 0x0103 70 + #define GL_ADD 0x0104 71 + 72 + /* AlphaFunction */ 73 + #define GL_NEVER 0x0200 74 + #define GL_LESS 0x0201 75 + #define GL_EQUAL 0x0202 76 + #define GL_LEQUAL 0x0203 77 + #define GL_GREATER 0x0204 78 + #define GL_NOTEQUAL 0x0205 79 + #define GL_GEQUAL 0x0206 80 + #define GL_ALWAYS 0x0207 81 + 82 + /* AttribMask */ 83 + #define GL_CURRENT_BIT 0x00000001 84 + #define GL_POINT_BIT 0x00000002 85 + #define GL_LINE_BIT 0x00000004 86 + #define GL_POLYGON_BIT 0x00000008 87 + #define GL_POLYGON_STIPPLE_BIT 0x00000010 88 + #define GL_PIXEL_MODE_BIT 0x00000020 89 + #define GL_LIGHTING_BIT 0x00000040 90 + #define GL_FOG_BIT 0x00000080 91 + #define GL_DEPTH_BUFFER_BIT 0x00000100 92 + #define GL_ACCUM_BUFFER_BIT 0x00000200 93 + #define GL_STENCIL_BUFFER_BIT 0x00000400 94 + #define GL_VIEWPORT_BIT 0x00000800 95 + #define GL_TRANSFORM_BIT 0x00001000 96 + #define GL_ENABLE_BIT 0x00002000 97 + #define GL_COLOR_BUFFER_BIT 0x00004000 98 + #define GL_HINT_BIT 0x00008000 99 + #define GL_EVAL_BIT 0x00010000 100 + #define GL_LIST_BIT 0x00020000 101 + #define GL_TEXTURE_BIT 0x00040000 102 + #define GL_SCISSOR_BIT 0x00080000 103 + #define GL_ALL_ATTRIB_BITS 0x000fffff 104 + 105 + /* BeginMode */ 106 + #define GL_POINTS 0x0000 107 + #define GL_LINES 0x0001 108 + #define GL_LINE_LOOP 0x0002 109 + #define GL_LINE_STRIP 0x0003 110 + #define GL_TRIANGLES 0x0004 111 + #define GL_TRIANGLE_STRIP 0x0005 112 + #define GL_TRIANGLE_FAN 0x0006 113 + #define GL_QUADS 0x0007 114 + #define GL_QUAD_STRIP 0x0008 115 + #define GL_POLYGON 0x0009 116 + 117 + /* BlendEquationMode */ 118 + /* GL_LOGIC_OP */ 119 + /* GL_FUNC_ADD */ 120 + /* GL_MIN */ 121 + /* GL_MAX */ 122 + /* GL_FUNC_SUBTRACT */ 123 + /* GL_FUNC_REVERSE_SUBTRACT */ 124 + 125 + /* BlendingFactorDest */ 126 + #define GL_ZERO 0 127 + #define GL_ONE 1 128 + #define GL_SRC_COLOR 0x0300 129 + #define GL_ONE_MINUS_SRC_COLOR 0x0301 130 + #define GL_SRC_ALPHA 0x0302 131 + #define GL_ONE_MINUS_SRC_ALPHA 0x0303 132 + #define GL_DST_ALPHA 0x0304 133 + #define GL_ONE_MINUS_DST_ALPHA 0x0305 134 + /* GL_CONSTANT_COLOR */ 135 + /* GL_ONE_MINUS_CONSTANT_COLOR */ 136 + /* GL_CONSTANT_ALPHA */ 137 + /* GL_ONE_MINUS_CONSTANT_ALPHA */ 138 + 139 + /* BlendingFactorSrc */ 140 + /* GL_ZERO */ 141 + /* GL_ONE */ 142 + #define GL_DST_COLOR 0x0306 143 + #define GL_ONE_MINUS_DST_COLOR 0x0307 144 + #define GL_SRC_ALPHA_SATURATE 0x0308 145 + /* GL_SRC_ALPHA */ 146 + /* GL_ONE_MINUS_SRC_ALPHA */ 147 + /* GL_DST_ALPHA */ 148 + /* GL_ONE_MINUS_DST_ALPHA */ 149 + /* GL_CONSTANT_COLOR */ 150 + /* GL_ONE_MINUS_CONSTANT_COLOR */ 151 + /* GL_CONSTANT_ALPHA */ 152 + /* GL_ONE_MINUS_CONSTANT_ALPHA */ 153 + 154 + /* Boolean */ 155 + #define GL_TRUE 1 156 + #define GL_FALSE 0 157 + 158 + /* ClearBufferMask */ 159 + /* GL_COLOR_BUFFER_BIT */ 160 + /* GL_ACCUM_BUFFER_BIT */ 161 + /* GL_STENCIL_BUFFER_BIT */ 162 + /* GL_DEPTH_BUFFER_BIT */ 163 + 164 + /* ClientArrayType */ 165 + /* GL_VERTEX_ARRAY */ 166 + /* GL_NORMAL_ARRAY */ 167 + /* GL_COLOR_ARRAY */ 168 + /* GL_INDEX_ARRAY */ 169 + /* GL_TEXTURE_COORD_ARRAY */ 170 + /* GL_EDGE_FLAG_ARRAY */ 171 + 172 + /* ClipPlaneName */ 173 + #define GL_CLIP_PLANE0 0x3000 174 + #define GL_CLIP_PLANE1 0x3001 175 + #define GL_CLIP_PLANE2 0x3002 176 + #define GL_CLIP_PLANE3 0x3003 177 + #define GL_CLIP_PLANE4 0x3004 178 + #define GL_CLIP_PLANE5 0x3005 179 + 180 + /* ColorMaterialFace */ 181 + /* GL_FRONT */ 182 + /* GL_BACK */ 183 + /* GL_FRONT_AND_BACK */ 184 + 185 + /* ColorMaterialParameter */ 186 + /* GL_AMBIENT */ 187 + /* GL_DIFFUSE */ 188 + /* GL_SPECULAR */ 189 + /* GL_EMISSION */ 190 + /* GL_AMBIENT_AND_DIFFUSE */ 191 + 192 + /* ColorPointerType */ 193 + /* GL_BYTE */ 194 + /* GL_UNSIGNED_BYTE */ 195 + /* GL_SHORT */ 196 + /* GL_UNSIGNED_SHORT */ 197 + /* GL_INT */ 198 + /* GL_UNSIGNED_INT */ 199 + /* GL_FLOAT */ 200 + /* GL_DOUBLE */ 201 + 202 + /* ColorTableParameterPName */ 203 + /* GL_COLOR_TABLE_SCALE */ 204 + /* GL_COLOR_TABLE_BIAS */ 205 + 206 + /* ColorTableTarget */ 207 + /* GL_COLOR_TABLE */ 208 + /* GL_POST_CONVOLUTION_COLOR_TABLE */ 209 + /* GL_POST_COLOR_MATRIX_COLOR_TABLE */ 210 + /* GL_PROXY_COLOR_TABLE */ 211 + /* GL_PROXY_POST_CONVOLUTION_COLOR_TABLE */ 212 + /* GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE */ 213 + 214 + /* ConvolutionBorderMode */ 215 + /* GL_REDUCE */ 216 + /* GL_IGNORE_BORDER */ 217 + /* GL_CONSTANT_BORDER */ 218 + 219 + /* ConvolutionParameter */ 220 + /* GL_CONVOLUTION_BORDER_MODE */ 221 + /* GL_CONVOLUTION_FILTER_SCALE */ 222 + /* GL_CONVOLUTION_FILTER_BIAS */ 223 + 224 + /* ConvolutionTarget */ 225 + /* GL_CONVOLUTION_1D */ 226 + /* GL_CONVOLUTION_2D */ 227 + 228 + /* CullFaceMode */ 229 + /* GL_FRONT */ 230 + /* GL_BACK */ 231 + /* GL_FRONT_AND_BACK */ 232 + 233 + /* DataType */ 234 + #define GL_BYTE 0x1400 235 + #define GL_UNSIGNED_BYTE 0x1401 236 + #define GL_SHORT 0x1402 237 + #define GL_UNSIGNED_SHORT 0x1403 238 + #define GL_INT 0x1404 239 + #define GL_UNSIGNED_INT 0x1405 240 + #define GL_FLOAT 0x1406 241 + #define GL_2_BYTES 0x1407 242 + #define GL_3_BYTES 0x1408 243 + #define GL_4_BYTES 0x1409 244 + #define GL_DOUBLE 0x140A 245 + 246 + /* DepthFunction */ 247 + /* GL_NEVER */ 248 + /* GL_LESS */ 249 + /* GL_EQUAL */ 250 + /* GL_LEQUAL */ 251 + /* GL_GREATER */ 252 + /* GL_NOTEQUAL */ 253 + /* GL_GEQUAL */ 254 + /* GL_ALWAYS */ 255 + 256 + /* DrawBufferMode */ 257 + #define GL_NONE 0 258 + #define GL_FRONT_LEFT 0x0400 259 + #define GL_FRONT_RIGHT 0x0401 260 + #define GL_BACK_LEFT 0x0402 261 + #define GL_BACK_RIGHT 0x0403 262 + #define GL_FRONT 0x0404 263 + #define GL_BACK 0x0405 264 + #define GL_LEFT 0x0406 265 + #define GL_RIGHT 0x0407 266 + #define GL_FRONT_AND_BACK 0x0408 267 + #define GL_AUX0 0x0409 268 + #define GL_AUX1 0x040A 269 + #define GL_AUX2 0x040B 270 + #define GL_AUX3 0x040C 271 + 272 + /* Enable */ 273 + /* GL_FOG */ 274 + /* GL_LIGHTING */ 275 + /* GL_TEXTURE_1D */ 276 + /* GL_TEXTURE_2D */ 277 + /* GL_LINE_STIPPLE */ 278 + /* GL_POLYGON_STIPPLE */ 279 + /* GL_CULL_FACE */ 280 + /* GL_ALPHA_TEST */ 281 + /* GL_BLEND */ 282 + /* GL_INDEX_LOGIC_OP */ 283 + /* GL_COLOR_LOGIC_OP */ 284 + /* GL_DITHER */ 285 + /* GL_STENCIL_TEST */ 286 + /* GL_DEPTH_TEST */ 287 + /* GL_CLIP_PLANE0 */ 288 + /* GL_CLIP_PLANE1 */ 289 + /* GL_CLIP_PLANE2 */ 290 + /* GL_CLIP_PLANE3 */ 291 + /* GL_CLIP_PLANE4 */ 292 + /* GL_CLIP_PLANE5 */ 293 + /* GL_LIGHT0 */ 294 + /* GL_LIGHT1 */ 295 + /* GL_LIGHT2 */ 296 + /* GL_LIGHT3 */ 297 + /* GL_LIGHT4 */ 298 + /* GL_LIGHT5 */ 299 + /* GL_LIGHT6 */ 300 + /* GL_LIGHT7 */ 301 + /* GL_TEXTURE_GEN_S */ 302 + /* GL_TEXTURE_GEN_T */ 303 + /* GL_TEXTURE_GEN_R */ 304 + /* GL_TEXTURE_GEN_Q */ 305 + /* GL_MAP1_VERTEX_3 */ 306 + /* GL_MAP1_VERTEX_4 */ 307 + /* GL_MAP1_COLOR_4 */ 308 + /* GL_MAP1_INDEX */ 309 + /* GL_MAP1_NORMAL */ 310 + /* GL_MAP1_TEXTURE_COORD_1 */ 311 + /* GL_MAP1_TEXTURE_COORD_2 */ 312 + /* GL_MAP1_TEXTURE_COORD_3 */ 313 + /* GL_MAP1_TEXTURE_COORD_4 */ 314 + /* GL_MAP2_VERTEX_3 */ 315 + /* GL_MAP2_VERTEX_4 */ 316 + /* GL_MAP2_COLOR_4 */ 317 + /* GL_MAP2_INDEX */ 318 + /* GL_MAP2_NORMAL */ 319 + /* GL_MAP2_TEXTURE_COORD_1 */ 320 + /* GL_MAP2_TEXTURE_COORD_2 */ 321 + /* GL_MAP2_TEXTURE_COORD_3 */ 322 + /* GL_MAP2_TEXTURE_COORD_4 */ 323 + /* GL_POINT_SMOOTH */ 324 + /* GL_LINE_SMOOTH */ 325 + /* GL_POLYGON_SMOOTH */ 326 + /* GL_SCISSOR_TEST */ 327 + /* GL_COLOR_MATERIAL */ 328 + /* GL_NORMALIZE */ 329 + /* GL_AUTO_NORMAL */ 330 + /* GL_VERTEX_ARRAY */ 331 + /* GL_NORMAL_ARRAY */ 332 + /* GL_COLOR_ARRAY */ 333 + /* GL_INDEX_ARRAY */ 334 + /* GL_TEXTURE_COORD_ARRAY */ 335 + /* GL_EDGE_FLAG_ARRAY */ 336 + /* GL_POLYGON_OFFSET_POINT */ 337 + /* GL_POLYGON_OFFSET_LINE */ 338 + /* GL_POLYGON_OFFSET_FILL */ 339 + /* GL_COLOR_TABLE */ 340 + /* GL_POST_CONVOLUTION_COLOR_TABLE */ 341 + /* GL_POST_COLOR_MATRIX_COLOR_TABLE */ 342 + /* GL_CONVOLUTION_1D */ 343 + /* GL_CONVOLUTION_2D */ 344 + /* GL_SEPARABLE_2D */ 345 + /* GL_HISTOGRAM */ 346 + /* GL_MINMAX */ 347 + /* GL_RESCALE_NORMAL */ 348 + /* GL_TEXTURE_3D */ 349 + 350 + /* ErrorCode */ 351 + #define GL_NO_ERROR 0 352 + #define GL_INVALID_ENUM 0x0500 353 + #define GL_INVALID_VALUE 0x0501 354 + #define GL_INVALID_OPERATION 0x0502 355 + #define GL_STACK_OVERFLOW 0x0503 356 + #define GL_STACK_UNDERFLOW 0x0504 357 + #define GL_OUT_OF_MEMORY 0x0505 358 + /* GL_TABLE_TOO_LARGE */ 359 + 360 + /* FeedBackMode */ 361 + #define GL_2D 0x0600 362 + #define GL_3D 0x0601 363 + #define GL_3D_COLOR 0x0602 364 + #define GL_3D_COLOR_TEXTURE 0x0603 365 + #define GL_4D_COLOR_TEXTURE 0x0604 366 + 367 + /* FeedBackToken */ 368 + #define GL_PASS_THROUGH_TOKEN 0x0700 369 + #define GL_POINT_TOKEN 0x0701 370 + #define GL_LINE_TOKEN 0x0702 371 + #define GL_POLYGON_TOKEN 0x0703 372 + #define GL_BITMAP_TOKEN 0x0704 373 + #define GL_DRAW_PIXEL_TOKEN 0x0705 374 + #define GL_COPY_PIXEL_TOKEN 0x0706 375 + #define GL_LINE_RESET_TOKEN 0x0707 376 + 377 + /* FogMode */ 378 + /* GL_LINEAR */ 379 + #define GL_EXP 0x0800 380 + #define GL_EXP2 0x0801 381 + 382 + /* FogParameter */ 383 + /* GL_FOG_COLOR */ 384 + /* GL_FOG_DENSITY */ 385 + /* GL_FOG_END */ 386 + /* GL_FOG_INDEX */ 387 + /* GL_FOG_MODE */ 388 + /* GL_FOG_START */ 389 + 390 + /* FrontFaceDirection */ 391 + #define GL_CW 0x0900 392 + #define GL_CCW 0x0901 393 + 394 + /* GetColorTableParameterPName */ 395 + /* GL_COLOR_TABLE_SCALE */ 396 + /* GL_COLOR_TABLE_BIAS */ 397 + /* GL_COLOR_TABLE_FORMAT */ 398 + /* GL_COLOR_TABLE_WIDTH */ 399 + /* GL_COLOR_TABLE_RED_SIZE */ 400 + /* GL_COLOR_TABLE_GREEN_SIZE */ 401 + /* GL_COLOR_TABLE_BLUE_SIZE */ 402 + /* GL_COLOR_TABLE_ALPHA_SIZE */ 403 + /* GL_COLOR_TABLE_LUMINANCE_SIZE */ 404 + /* GL_COLOR_TABLE_INTENSITY_SIZE */ 405 + 406 + /* GetConvolutionParameterPName */ 407 + /* GL_CONVOLUTION_BORDER_COLOR */ 408 + /* GL_CONVOLUTION_BORDER_MODE */ 409 + /* GL_CONVOLUTION_FILTER_SCALE */ 410 + /* GL_CONVOLUTION_FILTER_BIAS */ 411 + /* GL_CONVOLUTION_FORMAT */ 412 + /* GL_CONVOLUTION_WIDTH */ 413 + /* GL_CONVOLUTION_HEIGHT */ 414 + /* GL_MAX_CONVOLUTION_WIDTH */ 415 + /* GL_MAX_CONVOLUTION_HEIGHT */ 416 + 417 + /* GetHistogramParameterPName */ 418 + /* GL_HISTOGRAM_WIDTH */ 419 + /* GL_HISTOGRAM_FORMAT */ 420 + /* GL_HISTOGRAM_RED_SIZE */ 421 + /* GL_HISTOGRAM_GREEN_SIZE */ 422 + /* GL_HISTOGRAM_BLUE_SIZE */ 423 + /* GL_HISTOGRAM_ALPHA_SIZE */ 424 + /* GL_HISTOGRAM_LUMINANCE_SIZE */ 425 + /* GL_HISTOGRAM_SINK */ 426 + 427 + /* GetMapTarget */ 428 + #define GL_COEFF 0x0A00 429 + #define GL_ORDER 0x0A01 430 + #define GL_DOMAIN 0x0A02 431 + 432 + /* GetMinmaxParameterPName */ 433 + /* GL_MINMAX_FORMAT */ 434 + /* GL_MINMAX_SINK */ 435 + 436 + /* GetPixelMap */ 437 + /* GL_PIXEL_MAP_I_TO_I */ 438 + /* GL_PIXEL_MAP_S_TO_S */ 439 + /* GL_PIXEL_MAP_I_TO_R */ 440 + /* GL_PIXEL_MAP_I_TO_G */ 441 + /* GL_PIXEL_MAP_I_TO_B */ 442 + /* GL_PIXEL_MAP_I_TO_A */ 443 + /* GL_PIXEL_MAP_R_TO_R */ 444 + /* GL_PIXEL_MAP_G_TO_G */ 445 + /* GL_PIXEL_MAP_B_TO_B */ 446 + /* GL_PIXEL_MAP_A_TO_A */ 447 + 448 + /* GetPointerTarget */ 449 + /* GL_VERTEX_ARRAY_POINTER */ 450 + /* GL_NORMAL_ARRAY_POINTER */ 451 + /* GL_COLOR_ARRAY_POINTER */ 452 + /* GL_INDEX_ARRAY_POINTER */ 453 + /* GL_TEXTURE_COORD_ARRAY_POINTER */ 454 + /* GL_EDGE_FLAG_ARRAY_POINTER */ 455 + 456 + /* GetTarget */ 457 + #define GL_CURRENT_COLOR 0x0B00 458 + #define GL_CURRENT_INDEX 0x0B01 459 + #define GL_CURRENT_NORMAL 0x0B02 460 + #define GL_CURRENT_TEXTURE_COORDS 0x0B03 461 + #define GL_CURRENT_RASTER_COLOR 0x0B04 462 + #define GL_CURRENT_RASTER_INDEX 0x0B05 463 + #define GL_CURRENT_RASTER_TEXTURE_COORDS 0x0B06 464 + #define GL_CURRENT_RASTER_POSITION 0x0B07 465 + #define GL_CURRENT_RASTER_POSITION_VALID 0x0B08 466 + #define GL_CURRENT_RASTER_DISTANCE 0x0B09 467 + #define GL_POINT_SMOOTH 0x0B10 468 + #define GL_POINT_SIZE 0x0B11 469 + #define GL_POINT_SIZE_RANGE 0x0B12 470 + #define GL_POINT_SIZE_GRANULARITY 0x0B13 471 + #define GL_LINE_SMOOTH 0x0B20 472 + #define GL_LINE_WIDTH 0x0B21 473 + #define GL_LINE_WIDTH_RANGE 0x0B22 474 + #define GL_LINE_WIDTH_GRANULARITY 0x0B23 475 + #define GL_LINE_STIPPLE 0x0B24 476 + #define GL_LINE_STIPPLE_PATTERN 0x0B25 477 + #define GL_LINE_STIPPLE_REPEAT 0x0B26 478 + /* GL_SMOOTH_POINT_SIZE_RANGE */ 479 + /* GL_SMOOTH_POINT_SIZE_GRANULARITY */ 480 + /* GL_SMOOTH_LINE_WIDTH_RANGE */ 481 + /* GL_SMOOTH_LINE_WIDTH_GRANULARITY */ 482 + /* GL_ALIASED_POINT_SIZE_RANGE */ 483 + /* GL_ALIASED_LINE_WIDTH_RANGE */ 484 + #define GL_LIST_MODE 0x0B30 485 + #define GL_MAX_LIST_NESTING 0x0B31 486 + #define GL_LIST_BASE 0x0B32 487 + #define GL_LIST_INDEX 0x0B33 488 + #define GL_POLYGON_MODE 0x0B40 489 + #define GL_POLYGON_SMOOTH 0x0B41 490 + #define GL_POLYGON_STIPPLE 0x0B42 491 + #define GL_EDGE_FLAG 0x0B43 492 + #define GL_CULL_FACE 0x0B44 493 + #define GL_CULL_FACE_MODE 0x0B45 494 + #define GL_FRONT_FACE 0x0B46 495 + #define GL_LIGHTING 0x0B50 496 + #define GL_LIGHT_MODEL_LOCAL_VIEWER 0x0B51 497 + #define GL_LIGHT_MODEL_TWO_SIDE 0x0B52 498 + #define GL_LIGHT_MODEL_AMBIENT 0x0B53 499 + #define GL_SHADE_MODEL 0x0B54 500 + #define GL_COLOR_MATERIAL_FACE 0x0B55 501 + #define GL_COLOR_MATERIAL_PARAMETER 0x0B56 502 + #define GL_COLOR_MATERIAL 0x0B57 503 + #define GL_FOG 0x0B60 504 + #define GL_FOG_INDEX 0x0B61 505 + #define GL_FOG_DENSITY 0x0B62 506 + #define GL_FOG_START 0x0B63 507 + #define GL_FOG_END 0x0B64 508 + #define GL_FOG_MODE 0x0B65 509 + #define GL_FOG_COLOR 0x0B66 510 + #define GL_DEPTH_RANGE 0x0B70 511 + #define GL_DEPTH_TEST 0x0B71 512 + #define GL_DEPTH_WRITEMASK 0x0B72 513 + #define GL_DEPTH_CLEAR_VALUE 0x0B73 514 + #define GL_DEPTH_FUNC 0x0B74 515 + #define GL_ACCUM_CLEAR_VALUE 0x0B80 516 + #define GL_STENCIL_TEST 0x0B90 517 + #define GL_STENCIL_CLEAR_VALUE 0x0B91 518 + #define GL_STENCIL_FUNC 0x0B92 519 + #define GL_STENCIL_VALUE_MASK 0x0B93 520 + #define GL_STENCIL_FAIL 0x0B94 521 + #define GL_STENCIL_PASS_DEPTH_FAIL 0x0B95 522 + #define GL_STENCIL_PASS_DEPTH_PASS 0x0B96 523 + #define GL_STENCIL_REF 0x0B97 524 + #define GL_STENCIL_WRITEMASK 0x0B98 525 + #define GL_MATRIX_MODE 0x0BA0 526 + #define GL_NORMALIZE 0x0BA1 527 + #define GL_VIEWPORT 0x0BA2 528 + #define GL_MODELVIEW_STACK_DEPTH 0x0BA3 529 + #define GL_PROJECTION_STACK_DEPTH 0x0BA4 530 + #define GL_TEXTURE_STACK_DEPTH 0x0BA5 531 + #define GL_MODELVIEW_MATRIX 0x0BA6 532 + #define GL_PROJECTION_MATRIX 0x0BA7 533 + #define GL_TEXTURE_MATRIX 0x0BA8 534 + #define GL_ATTRIB_STACK_DEPTH 0x0BB0 535 + #define GL_CLIENT_ATTRIB_STACK_DEPTH 0x0BB1 536 + #define GL_ALPHA_TEST 0x0BC0 537 + #define GL_ALPHA_TEST_FUNC 0x0BC1 538 + #define GL_ALPHA_TEST_REF 0x0BC2 539 + #define GL_DITHER 0x0BD0 540 + #define GL_BLEND_DST 0x0BE0 541 + #define GL_BLEND_SRC 0x0BE1 542 + #define GL_BLEND 0x0BE2 543 + #define GL_LOGIC_OP_MODE 0x0BF0 544 + #define GL_INDEX_LOGIC_OP 0x0BF1 545 + #define GL_COLOR_LOGIC_OP 0x0BF2 546 + #define GL_AUX_BUFFERS 0x0C00 547 + #define GL_DRAW_BUFFER 0x0C01 548 + #define GL_READ_BUFFER 0x0C02 549 + #define GL_SCISSOR_BOX 0x0C10 550 + #define GL_SCISSOR_TEST 0x0C11 551 + #define GL_INDEX_CLEAR_VALUE 0x0C20 552 + #define GL_INDEX_WRITEMASK 0x0C21 553 + #define GL_COLOR_CLEAR_VALUE 0x0C22 554 + #define GL_COLOR_WRITEMASK 0x0C23 555 + #define GL_INDEX_MODE 0x0C30 556 + #define GL_RGBA_MODE 0x0C31 557 + #define GL_DOUBLEBUFFER 0x0C32 558 + #define GL_STEREO 0x0C33 559 + #define GL_RENDER_MODE 0x0C40 560 + #define GL_PERSPECTIVE_CORRECTION_HINT 0x0C50 561 + #define GL_POINT_SMOOTH_HINT 0x0C51 562 + #define GL_LINE_SMOOTH_HINT 0x0C52 563 + #define GL_POLYGON_SMOOTH_HINT 0x0C53 564 + #define GL_FOG_HINT 0x0C54 565 + #define GL_TEXTURE_GEN_S 0x0C60 566 + #define GL_TEXTURE_GEN_T 0x0C61 567 + #define GL_TEXTURE_GEN_R 0x0C62 568 + #define GL_TEXTURE_GEN_Q 0x0C63 569 + #define GL_PIXEL_MAP_I_TO_I 0x0C70 570 + #define GL_PIXEL_MAP_S_TO_S 0x0C71 571 + #define GL_PIXEL_MAP_I_TO_R 0x0C72 572 + #define GL_PIXEL_MAP_I_TO_G 0x0C73 573 + #define GL_PIXEL_MAP_I_TO_B 0x0C74 574 + #define GL_PIXEL_MAP_I_TO_A 0x0C75 575 + #define GL_PIXEL_MAP_R_TO_R 0x0C76 576 + #define GL_PIXEL_MAP_G_TO_G 0x0C77 577 + #define GL_PIXEL_MAP_B_TO_B 0x0C78 578 + #define GL_PIXEL_MAP_A_TO_A 0x0C79 579 + #define GL_PIXEL_MAP_I_TO_I_SIZE 0x0CB0 580 + #define GL_PIXEL_MAP_S_TO_S_SIZE 0x0CB1 581 + #define GL_PIXEL_MAP_I_TO_R_SIZE 0x0CB2 582 + #define GL_PIXEL_MAP_I_TO_G_SIZE 0x0CB3 583 + #define GL_PIXEL_MAP_I_TO_B_SIZE 0x0CB4 584 + #define GL_PIXEL_MAP_I_TO_A_SIZE 0x0CB5 585 + #define GL_PIXEL_MAP_R_TO_R_SIZE 0x0CB6 586 + #define GL_PIXEL_MAP_G_TO_G_SIZE 0x0CB7 587 + #define GL_PIXEL_MAP_B_TO_B_SIZE 0x0CB8 588 + #define GL_PIXEL_MAP_A_TO_A_SIZE 0x0CB9 589 + #define GL_UNPACK_SWAP_BYTES 0x0CF0 590 + #define GL_UNPACK_LSB_FIRST 0x0CF1 591 + #define GL_UNPACK_ROW_LENGTH 0x0CF2 592 + #define GL_UNPACK_SKIP_ROWS 0x0CF3 593 + #define GL_UNPACK_SKIP_PIXELS 0x0CF4 594 + #define GL_UNPACK_ALIGNMENT 0x0CF5 595 + #define GL_PACK_SWAP_BYTES 0x0D00 596 + #define GL_PACK_LSB_FIRST 0x0D01 597 + #define GL_PACK_ROW_LENGTH 0x0D02 598 + #define GL_PACK_SKIP_ROWS 0x0D03 599 + #define GL_PACK_SKIP_PIXELS 0x0D04 600 + #define GL_PACK_ALIGNMENT 0x0D05 601 + #define GL_MAP_COLOR 0x0D10 602 + #define GL_MAP_STENCIL 0x0D11 603 + #define GL_INDEX_SHIFT 0x0D12 604 + #define GL_INDEX_OFFSET 0x0D13 605 + #define GL_RED_SCALE 0x0D14 606 + #define GL_RED_BIAS 0x0D15 607 + #define GL_ZOOM_X 0x0D16 608 + #define GL_ZOOM_Y 0x0D17 609 + #define GL_GREEN_SCALE 0x0D18 610 + #define GL_GREEN_BIAS 0x0D19 611 + #define GL_BLUE_SCALE 0x0D1A 612 + #define GL_BLUE_BIAS 0x0D1B 613 + #define GL_ALPHA_SCALE 0x0D1C 614 + #define GL_ALPHA_BIAS 0x0D1D 615 + #define GL_DEPTH_SCALE 0x0D1E 616 + #define GL_DEPTH_BIAS 0x0D1F 617 + #define GL_MAX_EVAL_ORDER 0x0D30 618 + #define GL_MAX_LIGHTS 0x0D31 619 + #define GL_MAX_CLIP_PLANES 0x0D32 620 + #define GL_MAX_TEXTURE_SIZE 0x0D33 621 + #define GL_MAX_PIXEL_MAP_TABLE 0x0D34 622 + #define GL_MAX_ATTRIB_STACK_DEPTH 0x0D35 623 + #define GL_MAX_MODELVIEW_STACK_DEPTH 0x0D36 624 + #define GL_MAX_NAME_STACK_DEPTH 0x0D37 625 + #define GL_MAX_PROJECTION_STACK_DEPTH 0x0D38 626 + #define GL_MAX_TEXTURE_STACK_DEPTH 0x0D39 627 + #define GL_MAX_VIEWPORT_DIMS 0x0D3A 628 + #define GL_MAX_CLIENT_ATTRIB_STACK_DEPTH 0x0D3B 629 + #define GL_SUBPIXEL_BITS 0x0D50 630 + #define GL_INDEX_BITS 0x0D51 631 + #define GL_RED_BITS 0x0D52 632 + #define GL_GREEN_BITS 0x0D53 633 + #define GL_BLUE_BITS 0x0D54 634 + #define GL_ALPHA_BITS 0x0D55 635 + #define GL_DEPTH_BITS 0x0D56 636 + #define GL_STENCIL_BITS 0x0D57 637 + #define GL_ACCUM_RED_BITS 0x0D58 638 + #define GL_ACCUM_GREEN_BITS 0x0D59 639 + #define GL_ACCUM_BLUE_BITS 0x0D5A 640 + #define GL_ACCUM_ALPHA_BITS 0x0D5B 641 + #define GL_NAME_STACK_DEPTH 0x0D70 642 + #define GL_AUTO_NORMAL 0x0D80 643 + #define GL_MAP1_COLOR_4 0x0D90 644 + #define GL_MAP1_INDEX 0x0D91 645 + #define GL_MAP1_NORMAL 0x0D92 646 + #define GL_MAP1_TEXTURE_COORD_1 0x0D93 647 + #define GL_MAP1_TEXTURE_COORD_2 0x0D94 648 + #define GL_MAP1_TEXTURE_COORD_3 0x0D95 649 + #define GL_MAP1_TEXTURE_COORD_4 0x0D96 650 + #define GL_MAP1_VERTEX_3 0x0D97 651 + #define GL_MAP1_VERTEX_4 0x0D98 652 + #define GL_MAP2_COLOR_4 0x0DB0 653 + #define GL_MAP2_INDEX 0x0DB1 654 + #define GL_MAP2_NORMAL 0x0DB2 655 + #define GL_MAP2_TEXTURE_COORD_1 0x0DB3 656 + #define GL_MAP2_TEXTURE_COORD_2 0x0DB4 657 + #define GL_MAP2_TEXTURE_COORD_3 0x0DB5 658 + #define GL_MAP2_TEXTURE_COORD_4 0x0DB6 659 + #define GL_MAP2_VERTEX_3 0x0DB7 660 + #define GL_MAP2_VERTEX_4 0x0DB8 661 + #define GL_MAP1_GRID_DOMAIN 0x0DD0 662 + #define GL_MAP1_GRID_SEGMENTS 0x0DD1 663 + #define GL_MAP2_GRID_DOMAIN 0x0DD2 664 + #define GL_MAP2_GRID_SEGMENTS 0x0DD3 665 + #define GL_TEXTURE_1D 0x0DE0 666 + #define GL_TEXTURE_2D 0x0DE1 667 + #define GL_FEEDBACK_BUFFER_POINTER 0x0DF0 668 + #define GL_FEEDBACK_BUFFER_SIZE 0x0DF1 669 + #define GL_FEEDBACK_BUFFER_TYPE 0x0DF2 670 + #define GL_SELECTION_BUFFER_POINTER 0x0DF3 671 + #define GL_SELECTION_BUFFER_SIZE 0x0DF4 672 + /* GL_TEXTURE_BINDING_1D */ 673 + /* GL_TEXTURE_BINDING_2D */ 674 + /* GL_TEXTURE_BINDING_3D */ 675 + /* GL_VERTEX_ARRAY */ 676 + /* GL_NORMAL_ARRAY */ 677 + /* GL_COLOR_ARRAY */ 678 + /* GL_INDEX_ARRAY */ 679 + /* GL_TEXTURE_COORD_ARRAY */ 680 + /* GL_EDGE_FLAG_ARRAY */ 681 + /* GL_VERTEX_ARRAY_SIZE */ 682 + /* GL_VERTEX_ARRAY_TYPE */ 683 + /* GL_VERTEX_ARRAY_STRIDE */ 684 + /* GL_NORMAL_ARRAY_TYPE */ 685 + /* GL_NORMAL_ARRAY_STRIDE */ 686 + /* GL_COLOR_ARRAY_SIZE */ 687 + /* GL_COLOR_ARRAY_TYPE */ 688 + /* GL_COLOR_ARRAY_STRIDE */ 689 + /* GL_INDEX_ARRAY_TYPE */ 690 + /* GL_INDEX_ARRAY_STRIDE */ 691 + /* GL_TEXTURE_COORD_ARRAY_SIZE */ 692 + /* GL_TEXTURE_COORD_ARRAY_TYPE */ 693 + /* GL_TEXTURE_COORD_ARRAY_STRIDE */ 694 + /* GL_EDGE_FLAG_ARRAY_STRIDE */ 695 + /* GL_POLYGON_OFFSET_FACTOR */ 696 + /* GL_POLYGON_OFFSET_UNITS */ 697 + /* GL_COLOR_TABLE */ 698 + /* GL_POST_CONVOLUTION_COLOR_TABLE */ 699 + /* GL_POST_COLOR_MATRIX_COLOR_TABLE */ 700 + /* GL_CONVOLUTION_1D */ 701 + /* GL_CONVOLUTION_2D */ 702 + /* GL_SEPARABLE_2D */ 703 + /* GL_POST_CONVOLUTION_RED_SCALE */ 704 + /* GL_POST_CONVOLUTION_GREEN_SCALE */ 705 + /* GL_POST_CONVOLUTION_BLUE_SCALE */ 706 + /* GL_POST_CONVOLUTION_ALPHA_SCALE */ 707 + /* GL_POST_CONVOLUTION_RED_BIAS */ 708 + /* GL_POST_CONVOLUTION_GREEN_BIAS */ 709 + /* GL_POST_CONVOLUTION_BLUE_BIAS */ 710 + /* GL_POST_CONVOLUTION_ALPHA_BIAS */ 711 + /* GL_COLOR_MATRIX */ 712 + /* GL_COLOR_MATRIX_STACK_DEPTH */ 713 + /* GL_MAX_COLOR_MATRIX_STACK_DEPTH */ 714 + /* GL_POST_COLOR_MATRIX_RED_SCALE */ 715 + /* GL_POST_COLOR_MATRIX_GREEN_SCALE */ 716 + /* GL_POST_COLOR_MATRIX_BLUE_SCALE */ 717 + /* GL_POST_COLOR_MATRIX_ALPHA_SCALE */ 718 + /* GL_POST_COLOR_MATRIX_RED_BIAS */ 719 + /* GL_POST_COLOR_MATRIX_GREEN_BIAS */ 720 + /* GL_POST_COLOR_MATRIX_BLUE_BIAS */ 721 + /* GL_POST_COLOR_MATRIX_ALPHA_BIAS */ 722 + /* GL_HISTOGRAM */ 723 + /* GL_MINMAX */ 724 + /* GL_MAX_ELEMENTS_VERTICES */ 725 + /* GL_MAX_ELEMENTS_INDICES */ 726 + /* GL_RESCALE_NORMAL */ 727 + /* GL_LIGHT_MODEL_COLOR_CONTROL */ 728 + /* GL_PACK_SKIP_IMAGES */ 729 + /* GL_PACK_IMAGE_HEIGHT */ 730 + /* GL_UNPACK_SKIP_IMAGES */ 731 + /* GL_UNPACK_IMAGE_HEIGHT */ 732 + /* GL_TEXTURE_3D */ 733 + /* GL_MAX_3D_TEXTURE_SIZE */ 734 + /* GL_BLEND_COLOR */ 735 + /* GL_BLEND_EQUATION */ 736 + 737 + /* GetTextureParameter */ 738 + /* GL_TEXTURE_MAG_FILTER */ 739 + /* GL_TEXTURE_MIN_FILTER */ 740 + /* GL_TEXTURE_WRAP_S */ 741 + /* GL_TEXTURE_WRAP_T */ 742 + #define GL_TEXTURE_WIDTH 0x1000 743 + #define GL_TEXTURE_HEIGHT 0x1001 744 + #define GL_TEXTURE_INTERNAL_FORMAT 0x1003 745 + #define GL_TEXTURE_BORDER_COLOR 0x1004 746 + #define GL_TEXTURE_BORDER 0x1005 747 + /* GL_TEXTURE_RED_SIZE */ 748 + /* GL_TEXTURE_GREEN_SIZE */ 749 + /* GL_TEXTURE_BLUE_SIZE */ 750 + /* GL_TEXTURE_ALPHA_SIZE */ 751 + /* GL_TEXTURE_LUMINANCE_SIZE */ 752 + /* GL_TEXTURE_INTENSITY_SIZE */ 753 + /* GL_TEXTURE_PRIORITY */ 754 + /* GL_TEXTURE_RESIDENT */ 755 + /* GL_TEXTURE_DEPTH */ 756 + /* GL_TEXTURE_WRAP_R */ 757 + /* GL_TEXTURE_MIN_LOD */ 758 + /* GL_TEXTURE_MAX_LOD */ 759 + /* GL_TEXTURE_BASE_LEVEL */ 760 + /* GL_TEXTURE_MAX_LEVEL */ 761 + 762 + /* HintMode */ 763 + #define GL_DONT_CARE 0x1100 764 + #define GL_FASTEST 0x1101 765 + #define GL_NICEST 0x1102 766 + 767 + /* HintTarget */ 768 + /* GL_PERSPECTIVE_CORRECTION_HINT */ 769 + /* GL_POINT_SMOOTH_HINT */ 770 + /* GL_LINE_SMOOTH_HINT */ 771 + /* GL_POLYGON_SMOOTH_HINT */ 772 + /* GL_FOG_HINT */ 773 + 774 + /* HistogramTarget */ 775 + /* GL_HISTOGRAM */ 776 + /* GL_PROXY_HISTOGRAM */ 777 + 778 + /* IndexPointerType */ 779 + /* GL_SHORT */ 780 + /* GL_INT */ 781 + /* GL_FLOAT */ 782 + /* GL_DOUBLE */ 783 + 784 + /* LightModelColorControl */ 785 + /* GL_SINGLE_COLOR */ 786 + /* GL_SEPARATE_SPECULAR_COLOR */ 787 + 788 + /* LightModelParameter */ 789 + /* GL_LIGHT_MODEL_AMBIENT */ 790 + /* GL_LIGHT_MODEL_LOCAL_VIEWER */ 791 + /* GL_LIGHT_MODEL_TWO_SIDE */ 792 + /* GL_LIGHT_MODEL_COLOR_CONTROL */ 793 + 794 + /* LightName */ 795 + #define GL_LIGHT0 0x4000 796 + #define GL_LIGHT1 0x4001 797 + #define GL_LIGHT2 0x4002 798 + #define GL_LIGHT3 0x4003 799 + #define GL_LIGHT4 0x4004 800 + #define GL_LIGHT5 0x4005 801 + #define GL_LIGHT6 0x4006 802 + #define GL_LIGHT7 0x4007 803 + 804 + /* LightParameter */ 805 + #define GL_AMBIENT 0x1200 806 + #define GL_DIFFUSE 0x1201 807 + #define GL_SPECULAR 0x1202 808 + #define GL_POSITION 0x1203 809 + #define GL_SPOT_DIRECTION 0x1204 810 + #define GL_SPOT_EXPONENT 0x1205 811 + #define GL_SPOT_CUTOFF 0x1206 812 + #define GL_CONSTANT_ATTENUATION 0x1207 813 + #define GL_LINEAR_ATTENUATION 0x1208 814 + #define GL_QUADRATIC_ATTENUATION 0x1209 815 + 816 + /* InterleavedArrays */ 817 + /* GL_V2F */ 818 + /* GL_V3F */ 819 + /* GL_C4UB_V2F */ 820 + /* GL_C4UB_V3F */ 821 + /* GL_C3F_V3F */ 822 + /* GL_N3F_V3F */ 823 + /* GL_C4F_N3F_V3F */ 824 + /* GL_T2F_V3F */ 825 + /* GL_T4F_V4F */ 826 + /* GL_T2F_C4UB_V3F */ 827 + /* GL_T2F_C3F_V3F */ 828 + /* GL_T2F_N3F_V3F */ 829 + /* GL_T2F_C4F_N3F_V3F */ 830 + /* GL_T4F_C4F_N3F_V4F */ 831 + 832 + /* ListMode */ 833 + #define GL_COMPILE 0x1300 834 + #define GL_COMPILE_AND_EXECUTE 0x1301 835 + 836 + /* ListNameType */ 837 + /* GL_BYTE */ 838 + /* GL_UNSIGNED_BYTE */ 839 + /* GL_SHORT */ 840 + /* GL_UNSIGNED_SHORT */ 841 + /* GL_INT */ 842 + /* GL_UNSIGNED_INT */ 843 + /* GL_FLOAT */ 844 + /* GL_2_BYTES */ 845 + /* GL_3_BYTES */ 846 + /* GL_4_BYTES */ 847 + 848 + /* LogicOp */ 849 + #define GL_CLEAR 0x1500 850 + #define GL_AND 0x1501 851 + #define GL_AND_REVERSE 0x1502 852 + #define GL_COPY 0x1503 853 + #define GL_AND_INVERTED 0x1504 854 + #define GL_NOOP 0x1505 855 + #define GL_XOR 0x1506 856 + #define GL_OR 0x1507 857 + #define GL_NOR 0x1508 858 + #define GL_EQUIV 0x1509 859 + #define GL_INVERT 0x150A 860 + #define GL_OR_REVERSE 0x150B 861 + #define GL_COPY_INVERTED 0x150C 862 + #define GL_OR_INVERTED 0x150D 863 + #define GL_NAND 0x150E 864 + #define GL_SET 0x150F 865 + 866 + /* MapTarget */ 867 + /* GL_MAP1_COLOR_4 */ 868 + /* GL_MAP1_INDEX */ 869 + /* GL_MAP1_NORMAL */ 870 + /* GL_MAP1_TEXTURE_COORD_1 */ 871 + /* GL_MAP1_TEXTURE_COORD_2 */ 872 + /* GL_MAP1_TEXTURE_COORD_3 */ 873 + /* GL_MAP1_TEXTURE_COORD_4 */ 874 + /* GL_MAP1_VERTEX_3 */ 875 + /* GL_MAP1_VERTEX_4 */ 876 + /* GL_MAP2_COLOR_4 */ 877 + /* GL_MAP2_INDEX */ 878 + /* GL_MAP2_NORMAL */ 879 + /* GL_MAP2_TEXTURE_COORD_1 */ 880 + /* GL_MAP2_TEXTURE_COORD_2 */ 881 + /* GL_MAP2_TEXTURE_COORD_3 */ 882 + /* GL_MAP2_TEXTURE_COORD_4 */ 883 + /* GL_MAP2_VERTEX_3 */ 884 + /* GL_MAP2_VERTEX_4 */ 885 + 886 + /* MaterialFace */ 887 + /* GL_FRONT */ 888 + /* GL_BACK */ 889 + /* GL_FRONT_AND_BACK */ 890 + 891 + /* MaterialParameter */ 892 + #define GL_EMISSION 0x1600 893 + #define GL_SHININESS 0x1601 894 + #define GL_AMBIENT_AND_DIFFUSE 0x1602 895 + #define GL_COLOR_INDEXES 0x1603 896 + /* GL_AMBIENT */ 897 + /* GL_DIFFUSE */ 898 + /* GL_SPECULAR */ 899 + 900 + /* MatrixMode */ 901 + #define GL_MODELVIEW 0x1700 902 + #define GL_PROJECTION 0x1701 903 + #define GL_TEXTURE 0x1702 904 + 905 + /* MeshMode1 */ 906 + /* GL_POINT */ 907 + /* GL_LINE */ 908 + 909 + /* MeshMode2 */ 910 + /* GL_POINT */ 911 + /* GL_LINE */ 912 + /* GL_FILL */ 913 + 914 + /* MinmaxTarget */ 915 + /* GL_MINMAX */ 916 + 917 + /* NormalPointerType */ 918 + /* GL_BYTE */ 919 + /* GL_SHORT */ 920 + /* GL_INT */ 921 + /* GL_FLOAT */ 922 + /* GL_DOUBLE */ 923 + 924 + /* PixelCopyType */ 925 + #define GL_COLOR 0x1800 926 + #define GL_DEPTH 0x1801 927 + #define GL_STENCIL 0x1802 928 + 929 + /* PixelFormat */ 930 + #define GL_COLOR_INDEX 0x1900 931 + #define GL_STENCIL_INDEX 0x1901 932 + #define GL_DEPTH_COMPONENT 0x1902 933 + #define GL_RED 0x1903 934 + #define GL_GREEN 0x1904 935 + #define GL_BLUE 0x1905 936 + #define GL_ALPHA 0x1906 937 + #define GL_RGB 0x1907 938 + #define GL_RGBA 0x1908 939 + #define GL_LUMINANCE 0x1909 940 + #define GL_LUMINANCE_ALPHA 0x190A 941 + /* GL_ABGR */ 942 + 943 + /* PixelInternalFormat */ 944 + /* GL_ALPHA4 */ 945 + /* GL_ALPHA8 */ 946 + /* GL_ALPHA12 */ 947 + /* GL_ALPHA16 */ 948 + /* GL_LUMINANCE4 */ 949 + /* GL_LUMINANCE8 */ 950 + /* GL_LUMINANCE12 */ 951 + /* GL_LUMINANCE16 */ 952 + /* GL_LUMINANCE4_ALPHA4 */ 953 + /* GL_LUMINANCE6_ALPHA2 */ 954 + /* GL_LUMINANCE8_ALPHA8 */ 955 + /* GL_LUMINANCE12_ALPHA4 */ 956 + /* GL_LUMINANCE12_ALPHA12 */ 957 + /* GL_LUMINANCE16_ALPHA16 */ 958 + /* GL_INTENSITY */ 959 + /* GL_INTENSITY4 */ 960 + /* GL_INTENSITY8 */ 961 + /* GL_INTENSITY12 */ 962 + /* GL_INTENSITY16 */ 963 + /* GL_R3_G3_B2 */ 964 + /* GL_RGB4 */ 965 + /* GL_RGB5 */ 966 + /* GL_RGB8 */ 967 + /* GL_RGB10 */ 968 + /* GL_RGB12 */ 969 + /* GL_RGB16 */ 970 + /* GL_RGBA2 */ 971 + /* GL_RGBA4 */ 972 + /* GL_RGB5_A1 */ 973 + /* GL_RGBA8 */ 974 + /* GL_RGB10_A2 */ 975 + /* GL_RGBA12 */ 976 + /* GL_RGBA16 */ 977 + 978 + /* PixelMap */ 979 + /* GL_PIXEL_MAP_I_TO_I */ 980 + /* GL_PIXEL_MAP_S_TO_S */ 981 + /* GL_PIXEL_MAP_I_TO_R */ 982 + /* GL_PIXEL_MAP_I_TO_G */ 983 + /* GL_PIXEL_MAP_I_TO_B */ 984 + /* GL_PIXEL_MAP_I_TO_A */ 985 + /* GL_PIXEL_MAP_R_TO_R */ 986 + /* GL_PIXEL_MAP_G_TO_G */ 987 + /* GL_PIXEL_MAP_B_TO_B */ 988 + /* GL_PIXEL_MAP_A_TO_A */ 989 + 990 + /* PixelStore */ 991 + /* GL_UNPACK_SWAP_BYTES */ 992 + /* GL_UNPACK_LSB_FIRST */ 993 + /* GL_UNPACK_ROW_LENGTH */ 994 + /* GL_UNPACK_SKIP_ROWS */ 995 + /* GL_UNPACK_SKIP_PIXELS */ 996 + /* GL_UNPACK_ALIGNMENT */ 997 + /* GL_PACK_SWAP_BYTES */ 998 + /* GL_PACK_LSB_FIRST */ 999 + /* GL_PACK_ROW_LENGTH */ 1000 + /* GL_PACK_SKIP_ROWS */ 1001 + /* GL_PACK_SKIP_PIXELS */ 1002 + /* GL_PACK_ALIGNMENT */ 1003 + /* GL_PACK_SKIP_IMAGES */ 1004 + /* GL_PACK_IMAGE_HEIGHT */ 1005 + /* GL_UNPACK_SKIP_IMAGES */ 1006 + /* GL_UNPACK_IMAGE_HEIGHT */ 1007 + 1008 + /* PixelTransfer */ 1009 + /* GL_MAP_COLOR */ 1010 + /* GL_MAP_STENCIL */ 1011 + /* GL_INDEX_SHIFT */ 1012 + /* GL_INDEX_OFFSET */ 1013 + /* GL_RED_SCALE */ 1014 + /* GL_RED_BIAS */ 1015 + /* GL_GREEN_SCALE */ 1016 + /* GL_GREEN_BIAS */ 1017 + /* GL_BLUE_SCALE */ 1018 + /* GL_BLUE_BIAS */ 1019 + /* GL_ALPHA_SCALE */ 1020 + /* GL_ALPHA_BIAS */ 1021 + /* GL_DEPTH_SCALE */ 1022 + /* GL_DEPTH_BIAS */ 1023 + /* GL_POST_CONVOLUTION_RED_SCALE */ 1024 + /* GL_POST_CONVOLUTION_GREEN_SCALE */ 1025 + /* GL_POST_CONVOLUTION_BLUE_SCALE */ 1026 + /* GL_POST_CONVOLUTION_ALPHA_SCALE */ 1027 + /* GL_POST_CONVOLUTION_RED_BIAS */ 1028 + /* GL_POST_CONVOLUTION_GREEN_BIAS */ 1029 + /* GL_POST_CONVOLUTION_BLUE_BIAS */ 1030 + /* GL_POST_CONVOLUTION_ALPHA_BIAS */ 1031 + /* GL_POST_COLOR_MATRIX_RED_SCALE */ 1032 + /* GL_POST_COLOR_MATRIX_GREEN_SCALE */ 1033 + /* GL_POST_COLOR_MATRIX_BLUE_SCALE */ 1034 + /* GL_POST_COLOR_MATRIX_ALPHA_SCALE */ 1035 + /* GL_POST_COLOR_MATRIX_RED_BIAS */ 1036 + /* GL_POST_COLOR_MATRIX_GREEN_BIAS */ 1037 + /* GL_POST_COLOR_MATRIX_BLUE_BIAS */ 1038 + /* GL_POST_COLOR_MATRIX_ALPHA_BIAS */ 1039 + 1040 + /* PixelType */ 1041 + #define GL_BITMAP 0x1A00 1042 + /* GL_BYTE */ 1043 + /* GL_UNSIGNED_BYTE */ 1044 + /* GL_SHORT */ 1045 + /* GL_UNSIGNED_SHORT */ 1046 + /* GL_INT */ 1047 + /* GL_UNSIGNED_INT */ 1048 + /* GL_FLOAT */ 1049 + /* GL_BGR */ 1050 + /* GL_BGRA */ 1051 + /* GL_UNSIGNED_BYTE_3_3_2 */ 1052 + /* GL_UNSIGNED_SHORT_4_4_4_4 */ 1053 + /* GL_UNSIGNED_SHORT_5_5_5_1 */ 1054 + /* GL_UNSIGNED_INT_8_8_8_8 */ 1055 + /* GL_UNSIGNED_INT_10_10_10_2 */ 1056 + /* GL_UNSIGNED_SHORT_5_6_5 */ 1057 + /* GL_UNSIGNED_BYTE_2_3_3_REV */ 1058 + /* GL_UNSIGNED_SHORT_5_6_5_REV */ 1059 + /* GL_UNSIGNED_SHORT_4_4_4_4_REV */ 1060 + /* GL_UNSIGNED_SHORT_1_5_5_5_REV */ 1061 + /* GL_UNSIGNED_INT_8_8_8_8_REV */ 1062 + /* GL_UNSIGNED_INT_2_10_10_10_REV */ 1063 + 1064 + /* PolygonMode */ 1065 + #define GL_POINT 0x1B00 1066 + #define GL_LINE 0x1B01 1067 + #define GL_FILL 0x1B02 1068 + 1069 + /* ReadBufferMode */ 1070 + /* GL_FRONT_LEFT */ 1071 + /* GL_FRONT_RIGHT */ 1072 + /* GL_BACK_LEFT */ 1073 + /* GL_BACK_RIGHT */ 1074 + /* GL_FRONT */ 1075 + /* GL_BACK */ 1076 + /* GL_LEFT */ 1077 + /* GL_RIGHT */ 1078 + /* GL_AUX0 */ 1079 + /* GL_AUX1 */ 1080 + /* GL_AUX2 */ 1081 + /* GL_AUX3 */ 1082 + 1083 + /* RenderingMode */ 1084 + #define GL_RENDER 0x1C00 1085 + #define GL_FEEDBACK 0x1C01 1086 + #define GL_SELECT 0x1C02 1087 + 1088 + /* SeparableTarget */ 1089 + /* GL_SEPARABLE_2D */ 1090 + 1091 + /* ShadingModel */ 1092 + #define GL_FLAT 0x1D00 1093 + #define GL_SMOOTH 0x1D01 1094 + 1095 + /* StencilFunction */ 1096 + /* GL_NEVER */ 1097 + /* GL_LESS */ 1098 + /* GL_EQUAL */ 1099 + /* GL_LEQUAL */ 1100 + /* GL_GREATER */ 1101 + /* GL_NOTEQUAL */ 1102 + /* GL_GEQUAL */ 1103 + /* GL_ALWAYS */ 1104 + 1105 + /* StencilOp */ 1106 + /* GL_ZERO */ 1107 + #define GL_KEEP 0x1E00 1108 + #define GL_REPLACE 0x1E01 1109 + #define GL_INCR 0x1E02 1110 + #define GL_DECR 0x1E03 1111 + /* GL_INVERT */ 1112 + 1113 + /* StringName */ 1114 + #define GL_VENDOR 0x1F00 1115 + #define GL_RENDERER 0x1F01 1116 + #define GL_VERSION 0x1F02 1117 + #define GL_EXTENSIONS 0x1F03 1118 + 1119 + /* TextureCoordName */ 1120 + #define GL_S 0x2000 1121 + #define GL_T 0x2001 1122 + #define GL_R 0x2002 1123 + #define GL_Q 0x2003 1124 + 1125 + /* TexCoordPointerType */ 1126 + /* GL_SHORT */ 1127 + /* GL_INT */ 1128 + /* GL_FLOAT */ 1129 + /* GL_DOUBLE */ 1130 + 1131 + /* TextureEnvMode */ 1132 + #define GL_MODULATE 0x2100 1133 + #define GL_DECAL 0x2101 1134 + /* GL_BLEND */ 1135 + /* GL_REPLACE */ 1136 + 1137 + /* TextureEnvParameter */ 1138 + #define GL_TEXTURE_ENV_MODE 0x2200 1139 + #define GL_TEXTURE_ENV_COLOR 0x2201 1140 + 1141 + /* TextureEnvTarget */ 1142 + #define GL_TEXTURE_ENV 0x2300 1143 + 1144 + /* TextureGenMode */ 1145 + #define GL_EYE_LINEAR 0x2400 1146 + #define GL_OBJECT_LINEAR 0x2401 1147 + #define GL_SPHERE_MAP 0x2402 1148 + 1149 + /* TextureGenParameter */ 1150 + #define GL_TEXTURE_GEN_MODE 0x2500 1151 + #define GL_OBJECT_PLANE 0x2501 1152 + #define GL_EYE_PLANE 0x2502 1153 + 1154 + /* TextureMagFilter */ 1155 + #define GL_NEAREST 0x2600 1156 + #define GL_LINEAR 0x2601 1157 + 1158 + /* TextureMinFilter */ 1159 + /* GL_NEAREST */ 1160 + /* GL_LINEAR */ 1161 + #define GL_NEAREST_MIPMAP_NEAREST 0x2700 1162 + #define GL_LINEAR_MIPMAP_NEAREST 0x2701 1163 + #define GL_NEAREST_MIPMAP_LINEAR 0x2702 1164 + #define GL_LINEAR_MIPMAP_LINEAR 0x2703 1165 + 1166 + /* TextureParameterName */ 1167 + #define GL_TEXTURE_MAG_FILTER 0x2800 1168 + #define GL_TEXTURE_MIN_FILTER 0x2801 1169 + #define GL_TEXTURE_WRAP_S 0x2802 1170 + #define GL_TEXTURE_WRAP_T 0x2803 1171 + /* GL_TEXTURE_BORDER_COLOR */ 1172 + /* GL_TEXTURE_PRIORITY */ 1173 + /* GL_TEXTURE_WRAP_R */ 1174 + /* GL_TEXTURE_MIN_LOD */ 1175 + /* GL_TEXTURE_MAX_LOD */ 1176 + /* GL_TEXTURE_BASE_LEVEL */ 1177 + /* GL_TEXTURE_MAX_LEVEL */ 1178 + 1179 + /* TextureTarget */ 1180 + /* GL_TEXTURE_1D */ 1181 + /* GL_TEXTURE_2D */ 1182 + /* GL_PROXY_TEXTURE_1D */ 1183 + /* GL_PROXY_TEXTURE_2D */ 1184 + /* GL_TEXTURE_3D */ 1185 + /* GL_PROXY_TEXTURE_3D */ 1186 + 1187 + /* TextureWrapMode */ 1188 + #define GL_CLAMP 0x2900 1189 + #define GL_REPEAT 0x2901 1190 + /* GL_CLAMP_TO_EDGE */ 1191 + 1192 + /* VertexPointerType */ 1193 + /* GL_SHORT */ 1194 + /* GL_INT */ 1195 + /* GL_FLOAT */ 1196 + /* GL_DOUBLE */ 1197 + 1198 + /* ClientAttribMask */ 1199 + #define GL_CLIENT_PIXEL_STORE_BIT 0x00000001 1200 + #define GL_CLIENT_VERTEX_ARRAY_BIT 0x00000002 1201 + #define GL_CLIENT_ALL_ATTRIB_BITS 0xffffffff 1202 + 1203 + /* polygon_offset */ 1204 + #define GL_POLYGON_OFFSET_FACTOR 0x8038 1205 + #define GL_POLYGON_OFFSET_UNITS 0x2A00 1206 + #define GL_POLYGON_OFFSET_POINT 0x2A01 1207 + #define GL_POLYGON_OFFSET_LINE 0x2A02 1208 + #define GL_POLYGON_OFFSET_FILL 0x8037 1209 + 1210 + /* texture */ 1211 + #define GL_ALPHA4 0x803B 1212 + #define GL_ALPHA8 0x803C 1213 + #define GL_ALPHA12 0x803D 1214 + #define GL_ALPHA16 0x803E 1215 + #define GL_LUMINANCE4 0x803F 1216 + #define GL_LUMINANCE8 0x8040 1217 + #define GL_LUMINANCE12 0x8041 1218 + #define GL_LUMINANCE16 0x8042 1219 + #define GL_LUMINANCE4_ALPHA4 0x8043 1220 + #define GL_LUMINANCE6_ALPHA2 0x8044 1221 + #define GL_LUMINANCE8_ALPHA8 0x8045 1222 + #define GL_LUMINANCE12_ALPHA4 0x8046 1223 + #define GL_LUMINANCE12_ALPHA12 0x8047 1224 + #define GL_LUMINANCE16_ALPHA16 0x8048 1225 + #define GL_INTENSITY 0x8049 1226 + #define GL_INTENSITY4 0x804A 1227 + #define GL_INTENSITY8 0x804B 1228 + #define GL_INTENSITY12 0x804C 1229 + #define GL_INTENSITY16 0x804D 1230 + #define GL_R3_G3_B2 0x2A10 1231 + #define GL_RGB4 0x804F 1232 + #define GL_RGB5 0x8050 1233 + #define GL_RGB8 0x8051 1234 + #define GL_RGB10 0x8052 1235 + #define GL_RGB12 0x8053 1236 + #define GL_RGB16 0x8054 1237 + #define GL_RGBA2 0x8055 1238 + #define GL_RGBA4 0x8056 1239 + #define GL_RGB5_A1 0x8057 1240 + #define GL_RGBA8 0x8058 1241 + #define GL_RGB10_A2 0x8059 1242 + #define GL_RGBA12 0x805A 1243 + #define GL_RGBA16 0x805B 1244 + #define GL_TEXTURE_RED_SIZE 0x805C 1245 + #define GL_TEXTURE_GREEN_SIZE 0x805D 1246 + #define GL_TEXTURE_BLUE_SIZE 0x805E 1247 + #define GL_TEXTURE_ALPHA_SIZE 0x805F 1248 + #define GL_TEXTURE_LUMINANCE_SIZE 0x8060 1249 + #define GL_TEXTURE_INTENSITY_SIZE 0x8061 1250 + #define GL_PROXY_TEXTURE_1D 0x8063 1251 + #define GL_PROXY_TEXTURE_2D 0x8064 1252 + 1253 + /* texture_object */ 1254 + #define GL_TEXTURE_PRIORITY 0x8066 1255 + #define GL_TEXTURE_RESIDENT 0x8067 1256 + #define GL_TEXTURE_BINDING_1D 0x8068 1257 + #define GL_TEXTURE_BINDING_2D 0x8069 1258 + #define GL_TEXTURE_BINDING_3D 0x806A 1259 + 1260 + /* vertex_array */ 1261 + #define GL_VERTEX_ARRAY 0x8074 1262 + #define GL_NORMAL_ARRAY 0x8075 1263 + #define GL_COLOR_ARRAY 0x8076 1264 + #define GL_INDEX_ARRAY 0x8077 1265 + #define GL_TEXTURE_COORD_ARRAY 0x8078 1266 + #define GL_EDGE_FLAG_ARRAY 0x8079 1267 + #define GL_VERTEX_ARRAY_SIZE 0x807A 1268 + #define GL_VERTEX_ARRAY_TYPE 0x807B 1269 + #define GL_VERTEX_ARRAY_STRIDE 0x807C 1270 + #define GL_NORMAL_ARRAY_TYPE 0x807E 1271 + #define GL_NORMAL_ARRAY_STRIDE 0x807F 1272 + #define GL_COLOR_ARRAY_SIZE 0x8081 1273 + #define GL_COLOR_ARRAY_TYPE 0x8082 1274 + #define GL_COLOR_ARRAY_STRIDE 0x8083 1275 + #define GL_INDEX_ARRAY_TYPE 0x8085 1276 + #define GL_INDEX_ARRAY_STRIDE 0x8086 1277 + #define GL_TEXTURE_COORD_ARRAY_SIZE 0x8088 1278 + #define GL_TEXTURE_COORD_ARRAY_TYPE 0x8089 1279 + #define GL_TEXTURE_COORD_ARRAY_STRIDE 0x808A 1280 + #define GL_EDGE_FLAG_ARRAY_STRIDE 0x808C 1281 + #define GL_VERTEX_ARRAY_POINTER 0x808E 1282 + #define GL_NORMAL_ARRAY_POINTER 0x808F 1283 + #define GL_COLOR_ARRAY_POINTER 0x8090 1284 + #define GL_INDEX_ARRAY_POINTER 0x8091 1285 + #define GL_TEXTURE_COORD_ARRAY_POINTER 0x8092 1286 + #define GL_EDGE_FLAG_ARRAY_POINTER 0x8093 1287 + #define GL_V2F 0x2A20 1288 + #define GL_V3F 0x2A21 1289 + #define GL_C4UB_V2F 0x2A22 1290 + #define GL_C4UB_V3F 0x2A23 1291 + #define GL_C3F_V3F 0x2A24 1292 + #define GL_N3F_V3F 0x2A25 1293 + #define GL_C4F_N3F_V3F 0x2A26 1294 + #define GL_T2F_V3F 0x2A27 1295 + #define GL_T4F_V4F 0x2A28 1296 + #define GL_T2F_C4UB_V3F 0x2A29 1297 + #define GL_T2F_C3F_V3F 0x2A2A 1298 + #define GL_T2F_N3F_V3F 0x2A2B 1299 + #define GL_T2F_C4F_N3F_V3F 0x2A2C 1300 + #define GL_T4F_C4F_N3F_V4F 0x2A2D 1301 + 1302 + /* bgra */ 1303 + #define GL_BGR 0x80E0 1304 + #define GL_BGRA 0x80E1 1305 + 1306 + /* blend_color */ 1307 + #define GL_CONSTANT_COLOR 0x8001 1308 + #define GL_ONE_MINUS_CONSTANT_COLOR 0x8002 1309 + #define GL_CONSTANT_ALPHA 0x8003 1310 + #define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004 1311 + #define GL_BLEND_COLOR 0x8005 1312 + 1313 + /* blend_minmax */ 1314 + #define GL_FUNC_ADD 0x8006 1315 + #define GL_MIN 0x8007 1316 + #define GL_MAX 0x8008 1317 + #define GL_BLEND_EQUATION 0x8009 1318 + 1319 + /* blend_equation_separate */ 1320 + #define GL_BLEND_EQUATION_RGB 0x8009 1321 + #define GL_BLEND_EQUATION_ALPHA 0x883D 1322 + 1323 + /* blend_subtract */ 1324 + #define GL_FUNC_SUBTRACT 0x800A 1325 + #define GL_FUNC_REVERSE_SUBTRACT 0x800B 1326 + 1327 + /* color_matrix */ 1328 + #define GL_COLOR_MATRIX 0x80B1 1329 + #define GL_COLOR_MATRIX_STACK_DEPTH 0x80B2 1330 + #define GL_MAX_COLOR_MATRIX_STACK_DEPTH 0x80B3 1331 + #define GL_POST_COLOR_MATRIX_RED_SCALE 0x80B4 1332 + #define GL_POST_COLOR_MATRIX_GREEN_SCALE 0x80B5 1333 + #define GL_POST_COLOR_MATRIX_BLUE_SCALE 0x80B6 1334 + #define GL_POST_COLOR_MATRIX_ALPHA_SCALE 0x80B7 1335 + #define GL_POST_COLOR_MATRIX_RED_BIAS 0x80B8 1336 + #define GL_POST_COLOR_MATRIX_GREEN_BIAS 0x80B9 1337 + #define GL_POST_COLOR_MATRIX_BLUE_BIAS 0x80BA 1338 + #define GL_POST_COLOR_MATRIX_ALPHA_BIAS 0x80BB 1339 + 1340 + /* color_table */ 1341 + #define GL_COLOR_TABLE 0x80D0 1342 + #define GL_POST_CONVOLUTION_COLOR_TABLE 0x80D1 1343 + #define GL_POST_COLOR_MATRIX_COLOR_TABLE 0x80D2 1344 + #define GL_PROXY_COLOR_TABLE 0x80D3 1345 + #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4 1346 + #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5 1347 + #define GL_COLOR_TABLE_SCALE 0x80D6 1348 + #define GL_COLOR_TABLE_BIAS 0x80D7 1349 + #define GL_COLOR_TABLE_FORMAT 0x80D8 1350 + #define GL_COLOR_TABLE_WIDTH 0x80D9 1351 + #define GL_COLOR_TABLE_RED_SIZE 0x80DA 1352 + #define GL_COLOR_TABLE_GREEN_SIZE 0x80DB 1353 + #define GL_COLOR_TABLE_BLUE_SIZE 0x80DC 1354 + #define GL_COLOR_TABLE_ALPHA_SIZE 0x80DD 1355 + #define GL_COLOR_TABLE_LUMINANCE_SIZE 0x80DE 1356 + #define GL_COLOR_TABLE_INTENSITY_SIZE 0x80DF 1357 + 1358 + /* convolution */ 1359 + #define GL_CONVOLUTION_1D 0x8010 1360 + #define GL_CONVOLUTION_2D 0x8011 1361 + #define GL_SEPARABLE_2D 0x8012 1362 + #define GL_CONVOLUTION_BORDER_MODE 0x8013 1363 + #define GL_CONVOLUTION_FILTER_SCALE 0x8014 1364 + #define GL_CONVOLUTION_FILTER_BIAS 0x8015 1365 + #define GL_REDUCE 0x8016 1366 + #define GL_CONVOLUTION_FORMAT 0x8017 1367 + #define GL_CONVOLUTION_WIDTH 0x8018 1368 + #define GL_CONVOLUTION_HEIGHT 0x8019 1369 + #define GL_MAX_CONVOLUTION_WIDTH 0x801A 1370 + #define GL_MAX_CONVOLUTION_HEIGHT 0x801B 1371 + #define GL_POST_CONVOLUTION_RED_SCALE 0x801C 1372 + #define GL_POST_CONVOLUTION_GREEN_SCALE 0x801D 1373 + #define GL_POST_CONVOLUTION_BLUE_SCALE 0x801E 1374 + #define GL_POST_CONVOLUTION_ALPHA_SCALE 0x801F 1375 + #define GL_POST_CONVOLUTION_RED_BIAS 0x8020 1376 + #define GL_POST_CONVOLUTION_GREEN_BIAS 0x8021 1377 + #define GL_POST_CONVOLUTION_BLUE_BIAS 0x8022 1378 + #define GL_POST_CONVOLUTION_ALPHA_BIAS 0x8023 1379 + #define GL_CONSTANT_BORDER 0x8151 1380 + #define GL_REPLICATE_BORDER 0x8153 1381 + #define GL_CONVOLUTION_BORDER_COLOR 0x8154 1382 + 1383 + /* draw_range_elements */ 1384 + #define GL_MAX_ELEMENTS_VERTICES 0x80E8 1385 + #define GL_MAX_ELEMENTS_INDICES 0x80E9 1386 + 1387 + /* histogram */ 1388 + #define GL_HISTOGRAM 0x8024 1389 + #define GL_PROXY_HISTOGRAM 0x8025 1390 + #define GL_HISTOGRAM_WIDTH 0x8026 1391 + #define GL_HISTOGRAM_FORMAT 0x8027 1392 + #define GL_HISTOGRAM_RED_SIZE 0x8028 1393 + #define GL_HISTOGRAM_GREEN_SIZE 0x8029 1394 + #define GL_HISTOGRAM_BLUE_SIZE 0x802A 1395 + #define GL_HISTOGRAM_ALPHA_SIZE 0x802B 1396 + #define GL_HISTOGRAM_LUMINANCE_SIZE 0x802C 1397 + #define GL_HISTOGRAM_SINK 0x802D 1398 + #define GL_MINMAX 0x802E 1399 + #define GL_MINMAX_FORMAT 0x802F 1400 + #define GL_MINMAX_SINK 0x8030 1401 + #define GL_TABLE_TOO_LARGE 0x8031 1402 + 1403 + /* packed_pixels */ 1404 + #define GL_UNSIGNED_BYTE_3_3_2 0x8032 1405 + #define GL_UNSIGNED_SHORT_4_4_4_4 0x8033 1406 + #define GL_UNSIGNED_SHORT_5_5_5_1 0x8034 1407 + #define GL_UNSIGNED_INT_8_8_8_8 0x8035 1408 + #define GL_UNSIGNED_INT_10_10_10_2 0x8036 1409 + #define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362 1410 + #define GL_UNSIGNED_SHORT_5_6_5 0x8363 1411 + #define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364 1412 + #define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365 1413 + #define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366 1414 + #define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367 1415 + #define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368 1416 + 1417 + /* rescale_normal */ 1418 + #define GL_RESCALE_NORMAL 0x803A 1419 + 1420 + /* separate_specular_color */ 1421 + #define GL_LIGHT_MODEL_COLOR_CONTROL 0x81F8 1422 + #define GL_SINGLE_COLOR 0x81F9 1423 + #define GL_SEPARATE_SPECULAR_COLOR 0x81FA 1424 + 1425 + /* texture3D */ 1426 + #define GL_PACK_SKIP_IMAGES 0x806B 1427 + #define GL_PACK_IMAGE_HEIGHT 0x806C 1428 + #define GL_UNPACK_SKIP_IMAGES 0x806D 1429 + #define GL_UNPACK_IMAGE_HEIGHT 0x806E 1430 + #define GL_TEXTURE_3D 0x806F 1431 + #define GL_PROXY_TEXTURE_3D 0x8070 1432 + #define GL_TEXTURE_DEPTH 0x8071 1433 + #define GL_TEXTURE_WRAP_R 0x8072 1434 + #define GL_MAX_3D_TEXTURE_SIZE 0x8073 1435 + 1436 + /* texture_edge_clamp */ 1437 + #define GL_CLAMP_TO_EDGE 0x812F 1438 + #define GL_CLAMP_TO_BORDER 0x812D 1439 + 1440 + /* texture_lod */ 1441 + #define GL_TEXTURE_MIN_LOD 0x813A 1442 + #define GL_TEXTURE_MAX_LOD 0x813B 1443 + #define GL_TEXTURE_BASE_LEVEL 0x813C 1444 + #define GL_TEXTURE_MAX_LEVEL 0x813D 1445 + 1446 + /* GetTarget1_2 */ 1447 + #define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12 1448 + #define GL_SMOOTH_POINT_SIZE_GRANULARITY 0x0B13 1449 + #define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22 1450 + #define GL_SMOOTH_LINE_WIDTH_GRANULARITY 0x0B23 1451 + #define GL_ALIASED_POINT_SIZE_RANGE 0x846D 1452 + #define GL_ALIASED_LINE_WIDTH_RANGE 0x846E 1453 + 1454 + #define GL_TEXTURE0 0x84C0 1455 + #define GL_TEXTURE1 0x84C1 1456 + #define GL_TEXTURE2 0x84C2 1457 + #define GL_TEXTURE3 0x84C3 1458 + #define GL_TEXTURE4 0x84C4 1459 + #define GL_TEXTURE5 0x84C5 1460 + #define GL_TEXTURE6 0x84C6 1461 + #define GL_TEXTURE7 0x84C7 1462 + #define GL_TEXTURE8 0x84C8 1463 + #define GL_TEXTURE9 0x84C9 1464 + #define GL_TEXTURE10 0x84CA 1465 + #define GL_TEXTURE11 0x84CB 1466 + #define GL_TEXTURE12 0x84CC 1467 + #define GL_TEXTURE13 0x84CD 1468 + #define GL_TEXTURE14 0x84CE 1469 + #define GL_TEXTURE15 0x84CF 1470 + #define GL_TEXTURE16 0x84D0 1471 + #define GL_TEXTURE17 0x84D1 1472 + #define GL_TEXTURE18 0x84D2 1473 + #define GL_TEXTURE19 0x84D3 1474 + #define GL_TEXTURE20 0x84D4 1475 + #define GL_TEXTURE21 0x84D5 1476 + #define GL_TEXTURE22 0x84D6 1477 + #define GL_TEXTURE23 0x84D7 1478 + #define GL_TEXTURE24 0x84D8 1479 + #define GL_TEXTURE25 0x84D9 1480 + #define GL_TEXTURE26 0x84DA 1481 + #define GL_TEXTURE27 0x84DB 1482 + #define GL_TEXTURE28 0x84DC 1483 + #define GL_TEXTURE29 0x84DD 1484 + #define GL_TEXTURE30 0x84DE 1485 + #define GL_TEXTURE31 0x84DF 1486 + #define GL_ACTIVE_TEXTURE 0x84E0 1487 + #define GL_CLIENT_ACTIVE_TEXTURE 0x84E1 1488 + #define GL_MAX_TEXTURE_UNITS 0x84E2 1489 + 1490 + #define GL_COMBINE 0x8570 1491 + #define GL_COMBINE_RGB 0x8571 1492 + #define GL_COMBINE_ALPHA 0x8572 1493 + #define GL_RGB_SCALE 0x8573 1494 + #define GL_ADD_SIGNED 0x8574 1495 + #define GL_INTERPOLATE 0x8575 1496 + #define GL_CONSTANT 0x8576 1497 + #define GL_PRIMARY_COLOR 0x8577 1498 + #define GL_PREVIOUS 0x8578 1499 + #define GL_SUBTRACT 0x84E7 1500 + 1501 + #define GL_SRC0_RGB 0x8580 1502 + #define GL_SRC1_RGB 0x8581 1503 + #define GL_SRC2_RGB 0x8582 1504 + #define GL_SRC0_ALPHA 0x8588 1505 + #define GL_SRC1_ALPHA 0x8589 1506 + #define GL_SRC2_ALPHA 0x858A 1507 + 1508 + /* Obsolete */ 1509 + #define GL_SOURCE0_RGB 0x8580 1510 + #define GL_SOURCE1_RGB 0x8581 1511 + #define GL_SOURCE2_RGB 0x8582 1512 + #define GL_SOURCE0_ALPHA 0x8588 1513 + #define GL_SOURCE1_ALPHA 0x8589 1514 + #define GL_SOURCE2_ALPHA 0x858A 1515 + 1516 + #define GL_OPERAND0_RGB 0x8590 1517 + #define GL_OPERAND1_RGB 0x8591 1518 + #define GL_OPERAND2_RGB 0x8592 1519 + #define GL_OPERAND0_ALPHA 0x8598 1520 + #define GL_OPERAND1_ALPHA 0x8599 1521 + #define GL_OPERAND2_ALPHA 0x859A 1522 + 1523 + #define GL_DOT3_RGB 0x86AE 1524 + #define GL_DOT3_RGBA 0x86AF 1525 + 1526 + #define GL_TRANSPOSE_MODELVIEW_MATRIX 0x84E3 1527 + #define GL_TRANSPOSE_PROJECTION_MATRIX 0x84E4 1528 + #define GL_TRANSPOSE_TEXTURE_MATRIX 0x84E5 1529 + #define GL_TRANSPOSE_COLOR_MATRIX 0x84E6 1530 + 1531 + #define GL_NORMAL_MAP 0x8511 1532 + #define GL_REFLECTION_MAP 0x8512 1533 + #define GL_TEXTURE_CUBE_MAP 0x8513 1534 + #define GL_TEXTURE_BINDING_CUBE_MAP 0x8514 1535 + #define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515 1536 + #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516 1537 + #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517 1538 + #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518 1539 + #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519 1540 + #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A 1541 + #define GL_PROXY_TEXTURE_CUBE_MAP 0x851B 1542 + #define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C 1543 + 1544 + #define GL_COMPRESSED_ALPHA 0x84E9 1545 + #define GL_COMPRESSED_LUMINANCE 0x84EA 1546 + #define GL_COMPRESSED_LUMINANCE_ALPHA 0x84EB 1547 + #define GL_COMPRESSED_INTENSITY 0x84EC 1548 + #define GL_COMPRESSED_RGB 0x84ED 1549 + #define GL_COMPRESSED_RGBA 0x84EE 1550 + #define GL_TEXTURE_COMPRESSION_HINT 0x84EF 1551 + #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE 0x86A0 1552 + #define GL_TEXTURE_COMPRESSED 0x86A1 1553 + #define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2 1554 + #define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3 1555 + 1556 + #define GL_MULTISAMPLE 0x809D 1557 + #define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E 1558 + #define GL_SAMPLE_ALPHA_TO_ONE 0x809F 1559 + #define GL_SAMPLE_COVERAGE 0x80A0 1560 + #define GL_SAMPLE_BUFFERS 0x80A8 1561 + #define GL_SAMPLES 0x80A9 1562 + #define GL_SAMPLE_COVERAGE_VALUE 0x80AA 1563 + #define GL_SAMPLE_COVERAGE_INVERT 0x80AB 1564 + #define GL_MULTISAMPLE_BIT 0x20000000 1565 + 1566 + #define GL_DEPTH_COMPONENT16 0x81A5 1567 + #define GL_DEPTH_COMPONENT24 0x81A6 1568 + #define GL_DEPTH_COMPONENT32 0x81A7 1569 + #define GL_TEXTURE_DEPTH_SIZE 0x884A 1570 + #define GL_DEPTH_TEXTURE_MODE 0x884B 1571 + 1572 + #define GL_TEXTURE_COMPARE_MODE 0x884C 1573 + #define GL_TEXTURE_COMPARE_FUNC 0x884D 1574 + #define GL_COMPARE_R_TO_TEXTURE 0x884E 1575 + 1576 + /* occlusion_query */ 1577 + #define GL_QUERY_COUNTER_BITS 0x8864 1578 + #define GL_CURRENT_QUERY 0x8865 1579 + #define GL_QUERY_RESULT 0x8866 1580 + #define GL_QUERY_RESULT_AVAILABLE 0x8867 1581 + #define GL_SAMPLES_PASSED 0x8914 1582 + 1583 + #define GL_FOG_COORD_SRC 0x8450 1584 + #define GL_FOG_COORD 0x8451 1585 + #define GL_FRAGMENT_DEPTH 0x8452 1586 + #define GL_CURRENT_FOG_COORD 0x8453 1587 + #define GL_FOG_COORD_ARRAY_TYPE 0x8454 1588 + #define GL_FOG_COORD_ARRAY_STRIDE 0x8455 1589 + #define GL_FOG_COORD_ARRAY_POINTER 0x8456 1590 + #define GL_FOG_COORD_ARRAY 0x8457 1591 + 1592 + /* Obsolete */ 1593 + #define GL_FOG_COORDINATE_SOURCE 0x8450 1594 + #define GL_FOG_COORDINATE 0x8451 1595 + #define GL_CURRENT_FOG_COORDINATE 0x8453 1596 + #define GL_FOG_COORDINATE_ARRAY_TYPE 0x8454 1597 + #define GL_FOG_COORDINATE_ARRAY_STRIDE 0x8455 1598 + #define GL_FOG_COORDINATE_ARRAY_POINTER 0x8456 1599 + #define GL_FOG_COORDINATE_ARRAY 0x8457 1600 + 1601 + #define GL_COLOR_SUM 0x8458 1602 + #define GL_CURRENT_SECONDARY_COLOR 0x8459 1603 + #define GL_SECONDARY_COLOR_ARRAY_SIZE 0x845A 1604 + #define GL_SECONDARY_COLOR_ARRAY_TYPE 0x845B 1605 + #define GL_SECONDARY_COLOR_ARRAY_STRIDE 0x845C 1606 + #define GL_SECONDARY_COLOR_ARRAY_POINTER 0x845D 1607 + #define GL_SECONDARY_COLOR_ARRAY 0x845E 1608 + 1609 + #define GL_POINT_SIZE_MIN 0x8126 1610 + #define GL_POINT_SIZE_MAX 0x8127 1611 + #define GL_POINT_FADE_THRESHOLD_SIZE 0x8128 1612 + #define GL_POINT_DISTANCE_ATTENUATION 0x8129 1613 + 1614 + #define GL_BLEND_DST_RGB 0x80C8 1615 + #define GL_BLEND_SRC_RGB 0x80C9 1616 + #define GL_BLEND_DST_ALPHA 0x80CA 1617 + #define GL_BLEND_SRC_ALPHA 0x80CB 1618 + 1619 + #define GL_GENERATE_MIPMAP 0x8191 1620 + #define GL_GENERATE_MIPMAP_HINT 0x8192 1621 + 1622 + #define GL_INCR_WRAP 0x8507 1623 + #define GL_DECR_WRAP 0x8508 1624 + 1625 + #define GL_MIRRORED_REPEAT 0x8370 1626 + 1627 + #define GL_MAX_TEXTURE_LOD_BIAS 0x84FD 1628 + #define GL_TEXTURE_FILTER_CONTROL 0x8500 1629 + #define GL_TEXTURE_LOD_BIAS 0x8501 1630 + 1631 + /* vertex_buffer_object */ 1632 + #define GL_ARRAY_BUFFER 0x8892 1633 + #define GL_ELEMENT_ARRAY_BUFFER 0x8893 1634 + #define GL_ARRAY_BUFFER_BINDING 0x8894 1635 + #define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895 1636 + #define GL_VERTEX_ARRAY_BUFFER_BINDING 0x8896 1637 + #define GL_NORMAL_ARRAY_BUFFER_BINDING 0x8897 1638 + #define GL_COLOR_ARRAY_BUFFER_BINDING 0x8898 1639 + #define GL_INDEX_ARRAY_BUFFER_BINDING 0x8899 1640 + #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A 1641 + #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING 0x889B 1642 + #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING 0x889C 1643 + #define GL_FOG_COORD_ARRAY_BUFFER_BINDING 0x889D 1644 + #define GL_WEIGHT_ARRAY_BUFFER_BINDING 0x889E 1645 + #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F 1646 + #define GL_STREAM_DRAW 0x88E0 1647 + #define GL_STREAM_READ 0x88E1 1648 + #define GL_STREAM_COPY 0x88E2 1649 + #define GL_STATIC_DRAW 0x88E4 1650 + #define GL_STATIC_READ 0x88E5 1651 + #define GL_STATIC_COPY 0x88E6 1652 + #define GL_DYNAMIC_DRAW 0x88E8 1653 + #define GL_DYNAMIC_READ 0x88E9 1654 + #define GL_DYNAMIC_COPY 0x88EA 1655 + #define GL_READ_ONLY 0x88B8 1656 + #define GL_WRITE_ONLY 0x88B9 1657 + #define GL_READ_WRITE 0x88BA 1658 + #define GL_BUFFER_SIZE 0x8764 1659 + #define GL_BUFFER_USAGE 0x8765 1660 + #define GL_BUFFER_ACCESS 0x88BB 1661 + #define GL_BUFFER_MAPPED 0x88BC 1662 + #define GL_BUFFER_MAP_POINTER 0x88BD 1663 + /* Obsolete */ 1664 + #define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING 0x889D 1665 + 1666 + /* OpenGL 2.0 */ 1667 + #define GL_CURRENT_PROGRAM 0x8B8D 1668 + #define GL_SHADER_TYPE 0x8B4F 1669 + #define GL_DELETE_STATUS 0x8B80 1670 + #define GL_COMPILE_STATUS 0x8B81 1671 + #define GL_LINK_STATUS 0x8B82 1672 + #define GL_VALIDATE_STATUS 0x8B83 1673 + #define GL_INFO_LOG_LENGTH 0x8B84 1674 + #define GL_ATTACHED_SHADERS 0x8B85 1675 + #define GL_ACTIVE_UNIFORMS 0x8B86 1676 + #define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87 1677 + #define GL_SHADER_SOURCE_LENGTH 0x8B88 1678 + #define GL_FLOAT_VEC2 0x8B50 1679 + #define GL_FLOAT_VEC3 0x8B51 1680 + #define GL_FLOAT_VEC4 0x8B52 1681 + #define GL_INT_VEC2 0x8B53 1682 + #define GL_INT_VEC3 0x8B54 1683 + #define GL_INT_VEC4 0x8B55 1684 + #define GL_BOOL 0x8B56 1685 + #define GL_BOOL_VEC2 0x8B57 1686 + #define GL_BOOL_VEC3 0x8B58 1687 + #define GL_BOOL_VEC4 0x8B59 1688 + #define GL_FLOAT_MAT2 0x8B5A 1689 + #define GL_FLOAT_MAT3 0x8B5B 1690 + #define GL_FLOAT_MAT4 0x8B5C 1691 + #define GL_SAMPLER_1D 0x8B5D 1692 + #define GL_SAMPLER_2D 0x8B5E 1693 + #define GL_SAMPLER_3D 0x8B5F 1694 + #define GL_SAMPLER_CUBE 0x8B60 1695 + #define GL_SAMPLER_1D_SHADOW 0x8B61 1696 + #define GL_SAMPLER_2D_SHADOW 0x8B62 1697 + #define GL_SHADING_LANGUAGE_VERSION 0x8B8C 1698 + #define GL_VERTEX_SHADER 0x8B31 1699 + #define GL_MAX_VERTEX_UNIFORM_COMPONENTS 0x8B4A 1700 + #define GL_MAX_VARYING_FLOATS 0x8B4B 1701 + #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C 1702 + #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D 1703 + #define GL_ACTIVE_ATTRIBUTES 0x8B89 1704 + #define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A 1705 + #define GL_FRAGMENT_SHADER 0x8B30 1706 + #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49 1707 + #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B 1708 + #define GL_MAX_VERTEX_ATTRIBS 0x8869 1709 + #define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622 1710 + #define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623 1711 + #define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624 1712 + #define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625 1713 + #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A 1714 + #define GL_CURRENT_VERTEX_ATTRIB 0x8626 1715 + #define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645 1716 + #define GL_VERTEX_PROGRAM_POINT_SIZE 0x8642 1717 + #define GL_VERTEX_PROGRAM_TWO_SIDE 0x8643 1718 + #define GL_MAX_TEXTURE_COORDS 0x8871 1719 + #define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872 1720 + #define GL_MAX_DRAW_BUFFERS 0x8824 1721 + #define GL_DRAW_BUFFER0 0x8825 1722 + #define GL_DRAW_BUFFER1 0x8826 1723 + #define GL_DRAW_BUFFER2 0x8827 1724 + #define GL_DRAW_BUFFER3 0x8828 1725 + #define GL_DRAW_BUFFER4 0x8829 1726 + #define GL_DRAW_BUFFER5 0x882A 1727 + #define GL_DRAW_BUFFER6 0x882B 1728 + #define GL_DRAW_BUFFER7 0x882C 1729 + #define GL_DRAW_BUFFER8 0x882D 1730 + #define GL_DRAW_BUFFER9 0x882E 1731 + #define GL_DRAW_BUFFER10 0x882F 1732 + #define GL_DRAW_BUFFER11 0x8830 1733 + #define GL_DRAW_BUFFER12 0x8831 1734 + #define GL_DRAW_BUFFER13 0x8832 1735 + #define GL_DRAW_BUFFER14 0x8833 1736 + #define GL_DRAW_BUFFER15 0x8834 1737 + #define GL_POINT_SPRITE 0x8861 1738 + #define GL_COORD_REPLACE 0x8862 1739 + #define GL_POINT_SPRITE_COORD_ORIGIN 0x8CA0 1740 + #define GL_LOWER_LEFT 0x8CA1 1741 + #define GL_UPPER_LEFT 0x8CA2 1742 + #define GL_STENCIL_BACK_FUNC 0x8800 1743 + #define GL_STENCIL_BACK_VALUE_MASK 0x8CA4 1744 + #define GL_STENCIL_BACK_REF 0x8CA3 1745 + #define GL_STENCIL_BACK_FAIL 0x8801 1746 + #define GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802 1747 + #define GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803 1748 + #define GL_STENCIL_BACK_WRITEMASK 0x8CA5 1749 + 1750 + /* OpenGL 2.1 */ 1751 + #define GL_CURRENT_RASTER_SECONDARY_COLOR 0x845F 1752 + #define GL_PIXEL_PACK_BUFFER 0x88EB 1753 + #define GL_PIXEL_UNPACK_BUFFER 0x88EC 1754 + #define GL_PIXEL_PACK_BUFFER_BINDING 0x88ED 1755 + #define GL_PIXEL_UNPACK_BUFFER_BINDING 0x88EF 1756 + #define GL_FLOAT_MAT2x3 0x8B65 1757 + #define GL_FLOAT_MAT2x4 0x8B66 1758 + #define GL_FLOAT_MAT3x2 0x8B67 1759 + #define GL_FLOAT_MAT3x4 0x8B68 1760 + #define GL_FLOAT_MAT4x2 0x8B69 1761 + #define GL_FLOAT_MAT4x3 0x8B6A 1762 + #define GL_SRGB 0x8C40 1763 + #define GL_SRGB8 0x8C41 1764 + #define GL_SRGB_ALPHA 0x8C42 1765 + #define GL_SRGB8_ALPHA8 0x8C43 1766 + #define GL_SLUMINANCE_ALPHA 0x8C44 1767 + #define GL_SLUMINANCE8_ALPHA8 0x8C45 1768 + #define GL_SLUMINANCE 0x8C46 1769 + #define GL_SLUMINANCE8 0x8C47 1770 + #define GL_COMPRESSED_SRGB 0x8C48 1771 + #define GL_COMPRESSED_SRGB_ALPHA 0x8C49 1772 + #define GL_COMPRESSED_SLUMINANCE 0x8C4A 1773 + #define GL_COMPRESSED_SLUMINANCE_ALPHA 0x8C4B 1774 + 1775 + /*************************************************************/ 1776 + 1777 + #ifdef GL_GLEXT_FUNCTION_POINTERS 1778 + typedef void (* glAccumProcPtr) (GLenum op, GLfloat value); 1779 + typedef void (* glAlphaFuncProcPtr) (GLenum func, GLclampf ref); 1780 + typedef GLboolean (* glAreTexturesResidentProcPtr) (GLsizei n, const GLuint *textures, GLboolean *residences); 1781 + typedef void (* glArrayElementProcPtr) (GLint i); 1782 + typedef void (* glBeginProcPtr) (GLenum mode); 1783 + typedef void (* glBindTextureProcPtr) (GLenum target, GLuint texture); 1784 + typedef void (* glBitmapProcPtr) (GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap); 1785 + typedef void (* glBlendColorProcPtr) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); 1786 + typedef void (* glBlendEquationProcPtr) (GLenum mode); 1787 + typedef void (* glBlendEquationSeparateProcPtr) (GLenum modeRGB, GLenum modeAlpha); 1788 + typedef void (* glBlendFuncProcPtr) (GLenum sfactor, GLenum dfactor); 1789 + typedef void (* glCallListProcPtr) (GLuint list); 1790 + typedef void (* glCallListsProcPtr) (GLsizei n, GLenum type, const GLvoid *lists); 1791 + typedef void (* glClearProcPtr) (GLbitfield mask); 1792 + typedef void (* glClearAccumProcPtr) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); 1793 + typedef void (* glClearColorProcPtr) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); 1794 + typedef void (* glClearDepthProcPtr) (GLclampd depth); 1795 + typedef void (* glClearIndexProcPtr) (GLfloat c); 1796 + typedef void (* glClearStencilProcPtr) (GLint s); 1797 + typedef void (* glClipPlaneProcPtr) (GLenum plane, const GLdouble *equation); 1798 + typedef void (* glColor3bProcPtr) (GLbyte red, GLbyte green, GLbyte blue); 1799 + typedef void (* glColor3bvProcPtr) (const GLbyte *v); 1800 + typedef void (* glColor3dProcPtr) (GLdouble red, GLdouble green, GLdouble blue); 1801 + typedef void (* glColor3dvProcPtr) (const GLdouble *v); 1802 + typedef void (* glColor3fProcPtr) (GLfloat red, GLfloat green, GLfloat blue); 1803 + typedef void (* glColor3fvProcPtr) (const GLfloat *v); 1804 + typedef void (* glColor3iProcPtr) (GLint red, GLint green, GLint blue); 1805 + typedef void (* glColor3ivProcPtr) (const GLint *v); 1806 + typedef void (* glColor3sProcPtr) (GLshort red, GLshort green, GLshort blue); 1807 + typedef void (* glColor3svProcPtr) (const GLshort *v); 1808 + typedef void (* glColor3ubProcPtr) (GLubyte red, GLubyte green, GLubyte blue); 1809 + typedef void (* glColor3ubvProcPtr) (const GLubyte *v); 1810 + typedef void (* glColor3uiProcPtr) (GLuint red, GLuint green, GLuint blue); 1811 + typedef void (* glColor3uivProcPtr) (const GLuint *v); 1812 + typedef void (* glColor3usProcPtr) (GLushort red, GLushort green, GLushort blue); 1813 + typedef void (* glColor3usvProcPtr) (const GLushort *v); 1814 + typedef void (* glColor4bProcPtr) (GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha); 1815 + typedef void (* glColor4bvProcPtr) (const GLbyte *v); 1816 + typedef void (* glColor4dProcPtr) (GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha); 1817 + typedef void (* glColor4dvProcPtr) (const GLdouble *v); 1818 + typedef void (* glColor4fProcPtr) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); 1819 + typedef void (* glColor4fvProcPtr) (const GLfloat *v); 1820 + typedef void (* glColor4iProcPtr) (GLint red, GLint green, GLint blue, GLint alpha); 1821 + typedef void (* glColor4ivProcPtr) (const GLint *v); 1822 + typedef void (* glColor4sProcPtr) (GLshort red, GLshort green, GLshort blue, GLshort alpha); 1823 + typedef void (* glColor4svProcPtr) (const GLshort *v); 1824 + typedef void (* glColor4ubProcPtr) (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha); 1825 + typedef void (* glColor4ubvProcPtr) (const GLubyte *v); 1826 + typedef void (* glColor4uiProcPtr) (GLuint red, GLuint green, GLuint blue, GLuint alpha); 1827 + typedef void (* glColor4uivProcPtr) (const GLuint *v); 1828 + typedef void (* glColor4usProcPtr) (GLushort red, GLushort green, GLushort blue, GLushort alpha); 1829 + typedef void (* glColor4usvProcPtr) (const GLushort *v); 1830 + typedef void (* glColorMaskProcPtr) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); 1831 + typedef void (* glColorMaterialProcPtr) (GLenum face, GLenum mode); 1832 + typedef void (* glColorPointerProcPtr) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); 1833 + typedef void (* glColorSubTableProcPtr) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data); 1834 + typedef void (* glColorTableProcPtr) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table); 1835 + typedef void (* glColorTableParameterfvProcPtr) (GLenum target, GLenum pname, const GLfloat *params); 1836 + typedef void (* glColorTableParameterivProcPtr) (GLenum target, GLenum pname, const GLint *params); 1837 + typedef void (* glConvolutionFilter1DProcPtr) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image); 1838 + typedef void (* glConvolutionFilter2DProcPtr) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image); 1839 + typedef void (* glConvolutionParameterfProcPtr) (GLenum target, GLenum pname, GLfloat params); 1840 + typedef void (* glConvolutionParameterfvProcPtr) (GLenum target, GLenum pname, const GLfloat *params); 1841 + typedef void (* glConvolutionParameteriProcPtr) (GLenum target, GLenum pname, GLint params); 1842 + typedef void (* glConvolutionParameterivProcPtr) (GLenum target, GLenum pname, const GLint *params); 1843 + typedef void (* glCopyColorSubTableProcPtr) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width); 1844 + typedef void (* glCopyColorTableProcPtr) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); 1845 + typedef void (* glCopyConvolutionFilter1DProcPtr) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); 1846 + typedef void (* glCopyConvolutionFilter2DProcPtr) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height); 1847 + typedef void (* glCopyPixelsProcPtr) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum type); 1848 + typedef void (* glCopyTexImage1DProcPtr) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); 1849 + typedef void (* glCopyTexImage2DProcPtr) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); 1850 + typedef void (* glCopyTexSubImage1DProcPtr) (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); 1851 + typedef void (* glCopyTexSubImage2DProcPtr) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); 1852 + typedef void (* glCopyTexSubImage3DProcPtr) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); 1853 + typedef void (* glCullFaceProcPtr) (GLenum mode); 1854 + typedef void (* glDeleteListsProcPtr) (GLuint list, GLsizei range); 1855 + typedef void (* glDeleteTexturesProcPtr) (GLsizei n, const GLuint *textures); 1856 + typedef void (* glDepthFuncProcPtr) (GLenum func); 1857 + typedef void (* glDepthMaskProcPtr) (GLboolean flag); 1858 + typedef void (* glDepthRangeProcPtr) (GLclampd zNear, GLclampd zFar); 1859 + typedef void (* glDisableProcPtr) (GLenum cap); 1860 + typedef void (* glDisableClientStateProcPtr) (GLenum array); 1861 + typedef void (* glDrawArraysProcPtr) (GLenum mode, GLint first, GLsizei count); 1862 + typedef void (* glDrawBufferProcPtr) (GLenum mode); 1863 + typedef void (* glDrawElementsProcPtr) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices); 1864 + typedef void (* glDrawPixelsProcPtr) (GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels); 1865 + typedef void (* glDrawRangeElementsProcPtr) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices); 1866 + typedef void (* glEdgeFlagProcPtr) (GLboolean flag); 1867 + typedef void (* glEdgeFlagPointerProcPtr) (GLsizei stride, const GLvoid *pointer); 1868 + typedef void (* glEdgeFlagvProcPtr) (const GLboolean *flag); 1869 + typedef void (* glEnableProcPtr) (GLenum cap); 1870 + typedef void (* glEnableClientStateProcPtr) (GLenum array); 1871 + typedef void (* glEndProcPtr) (void); 1872 + typedef void (* glEndListProcPtr) (void); 1873 + typedef void (* glEvalCoord1dProcPtr) (GLdouble u); 1874 + typedef void (* glEvalCoord1dvProcPtr) (const GLdouble *u); 1875 + typedef void (* glEvalCoord1fProcPtr) (GLfloat u); 1876 + typedef void (* glEvalCoord1fvProcPtr) (const GLfloat *u); 1877 + typedef void (* glEvalCoord2dProcPtr) (GLdouble u, GLdouble v); 1878 + typedef void (* glEvalCoord2dvProcPtr) (const GLdouble *u); 1879 + typedef void (* glEvalCoord2fProcPtr) (GLfloat u, GLfloat v); 1880 + typedef void (* glEvalCoord2fvProcPtr) (const GLfloat *u); 1881 + typedef void (* glEvalMesh1ProcPtr) (GLenum mode, GLint i1, GLint i2); 1882 + typedef void (* glEvalMesh2ProcPtr) (GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2); 1883 + typedef void (* glEvalPoint1ProcPtr) (GLint i); 1884 + typedef void (* glEvalPoint2ProcPtr) (GLint i, GLint j); 1885 + typedef void (* glFeedbackBufferProcPtr) (GLsizei size, GLenum type, GLfloat *buffer); 1886 + typedef void (* glFinishProcPtr) (void); 1887 + typedef void (* glFlushProcPtr) (void); 1888 + typedef void (* glFogfProcPtr) (GLenum pname, GLfloat param); 1889 + typedef void (* glFogfvProcPtr) (GLenum pname, const GLfloat *params); 1890 + typedef void (* glFogiProcPtr) (GLenum pname, GLint param); 1891 + typedef void (* glFogivProcPtr) (GLenum pname, const GLint *params); 1892 + typedef void (* glFrontFaceProcPtr) (GLenum mode); 1893 + typedef void (* glFrustumProcPtr) (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); 1894 + typedef GLuint (* glGenListsProcPtr) (GLsizei range); 1895 + typedef void (* glGenTexturesProcPtr) (GLsizei n, GLuint *textures); 1896 + typedef void (* glGetBooleanvProcPtr) (GLenum pname, GLboolean *params); 1897 + typedef void (* glGetClipPlaneProcPtr) (GLenum plane, GLdouble *equation); 1898 + typedef void (* glGetColorTableProcPtr) (GLenum target, GLenum format, GLenum type, GLvoid *table); 1899 + typedef void (* glGetColorTableParameterfvProcPtr) (GLenum target, GLenum pname, GLfloat *params); 1900 + typedef void (* glGetColorTableParameterivProcPtr) (GLenum target, GLenum pname, GLint *params); 1901 + typedef void (* glGetConvolutionFilterProcPtr) (GLenum target, GLenum format, GLenum type, GLvoid *image); 1902 + typedef void (* glGetConvolutionParameterfvProcPtr) (GLenum target, GLenum pname, GLfloat *params); 1903 + typedef void (* glGetConvolutionParameterivProcPtr) (GLenum target, GLenum pname, GLint *params); 1904 + typedef void (* glGetDoublevProcPtr) (GLenum pname, GLdouble *params); 1905 + typedef GLenum (* glGetErrorProcPtr) (void); 1906 + typedef void (* glGetFloatvProcPtr) (GLenum pname, GLfloat *params); 1907 + typedef void (* glGetHistogramProcPtr) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values); 1908 + typedef void (* glGetHistogramParameterfvProcPtr) (GLenum target, GLenum pname, GLfloat *params); 1909 + typedef void (* glGetHistogramParameterivProcPtr) (GLenum target, GLenum pname, GLint *params); 1910 + typedef void (* glGetIntegervProcPtr) (GLenum pname, GLint *params); 1911 + typedef void (* glGetLightfvProcPtr) (GLenum light, GLenum pname, GLfloat *params); 1912 + typedef void (* glGetLightivProcPtr) (GLenum light, GLenum pname, GLint *params); 1913 + typedef void (* glGetMapdvProcPtr) (GLenum target, GLenum query, GLdouble *v); 1914 + typedef void (* glGetMapfvProcPtr) (GLenum target, GLenum query, GLfloat *v); 1915 + typedef void (* glGetMapivProcPtr) (GLenum target, GLenum query, GLint *v); 1916 + typedef void (* glGetMaterialfvProcPtr) (GLenum face, GLenum pname, GLfloat *params); 1917 + typedef void (* glGetMaterialivProcPtr) (GLenum face, GLenum pname, GLint *params); 1918 + typedef void (* glGetMinmaxProcPtr) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values); 1919 + typedef void (* glGetMinmaxParameterfvProcPtr) (GLenum target, GLenum pname, GLfloat *params); 1920 + typedef void (* glGetMinmaxParameterivProcPtr) (GLenum target, GLenum pname, GLint *params); 1921 + typedef void (* glGetPixelMapfvProcPtr) (GLenum map, GLfloat *values); 1922 + typedef void (* glGetPixelMapuivProcPtr) (GLenum map, GLuint *values); 1923 + typedef void (* glGetPixelMapusvProcPtr) (GLenum map, GLushort *values); 1924 + typedef void (* glGetPointervProcPtr) (GLenum pname, GLvoid **params); 1925 + typedef void (* glGetPolygonStippleProcPtr) (GLubyte *mask); 1926 + typedef void (* glGetSeparableFilterProcPtr) (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span); 1927 + typedef const GLubyte *(* glGetStringProcPtr) (GLenum name); 1928 + typedef void (* glGetTexEnvfvProcPtr) (GLenum target, GLenum pname, GLfloat *params); 1929 + typedef void (* glGetTexEnvivProcPtr) (GLenum target, GLenum pname, GLint *params); 1930 + typedef void (* glGetTexGendvProcPtr) (GLenum coord, GLenum pname, GLdouble *params); 1931 + typedef void (* glGetTexGenfvProcPtr) (GLenum coord, GLenum pname, GLfloat *params); 1932 + typedef void (* glGetTexGenivProcPtr) (GLenum coord, GLenum pname, GLint *params); 1933 + typedef void (* glGetTexImageProcPtr) (GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels); 1934 + typedef void (* glGetTexLevelParameterfvProcPtr) (GLenum target, GLint level, GLenum pname, GLfloat *params); 1935 + typedef void (* glGetTexLevelParameterivProcPtr) (GLenum target, GLint level, GLenum pname, GLint *params); 1936 + typedef void (* glGetTexParameterfvProcPtr) (GLenum target, GLenum pname, GLfloat *params); 1937 + typedef void (* glGetTexParameterivProcPtr) (GLenum target, GLenum pname, GLint *params); 1938 + typedef void (* glHintProcPtr) (GLenum target, GLenum mode); 1939 + typedef void (* glHistogramProcPtr) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink); 1940 + typedef void (* glIndexMaskProcPtr) (GLuint mask); 1941 + typedef void (* glIndexPointerProcPtr) (GLenum type, GLsizei stride, const GLvoid *pointer); 1942 + typedef void (* glIndexdProcPtr) (GLdouble c); 1943 + typedef void (* glIndexdvProcPtr) (const GLdouble *c); 1944 + typedef void (* glIndexfProcPtr) (GLfloat c); 1945 + typedef void (* glIndexfvProcPtr) (const GLfloat *c); 1946 + typedef void (* glIndexiProcPtr) (GLint c); 1947 + typedef void (* glIndexivProcPtr) (const GLint *c); 1948 + typedef void (* glIndexsProcPtr) (GLshort c); 1949 + typedef void (* glIndexsvProcPtr) (const GLshort *c); 1950 + typedef void (* glIndexubProcPtr) (GLubyte c); 1951 + typedef void (* glIndexubvProcPtr) (const GLubyte *c); 1952 + typedef void (* glInitNamesProcPtr) (void); 1953 + typedef void (* glInterleavedArraysProcPtr) (GLenum format, GLsizei stride, const GLvoid *pointer); 1954 + typedef GLboolean (* glIsEnabledProcPtr) (GLenum cap); 1955 + typedef GLboolean (* glIsListProcPtr) (GLuint list); 1956 + typedef GLboolean (* glIsTextureProcPtr) (GLuint texture); 1957 + typedef void (* glLightModelfProcPtr) (GLenum pname, GLfloat param); 1958 + typedef void (* glLightModelfvProcPtr) (GLenum pname, const GLfloat *params); 1959 + typedef void (* glLightModeliProcPtr) (GLenum pname, GLint param); 1960 + typedef void (* glLightModelivProcPtr) (GLenum pname, const GLint *params); 1961 + typedef void (* glLightfProcPtr) (GLenum light, GLenum pname, GLfloat param); 1962 + typedef void (* glLightfvProcPtr) (GLenum light, GLenum pname, const GLfloat *params); 1963 + typedef void (* glLightiProcPtr) (GLenum light, GLenum pname, GLint param); 1964 + typedef void (* glLightivProcPtr) (GLenum light, GLenum pname, const GLint *params); 1965 + typedef void (* glLineStippleProcPtr) (GLint factor, GLushort pattern); 1966 + typedef void (* glLineWidthProcPtr) (GLfloat width); 1967 + typedef void (* glListBaseProcPtr) (GLuint base); 1968 + typedef void (* glLoadIdentityProcPtr) (void); 1969 + typedef void (* glLoadMatrixdProcPtr) (const GLdouble *m); 1970 + typedef void (* glLoadMatrixfProcPtr) (const GLfloat *m); 1971 + typedef void (* glLoadNameProcPtr) (GLuint name); 1972 + typedef void (* glLogicOpProcPtr) (GLenum opcode); 1973 + typedef void (* glMap1dProcPtr) (GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points); 1974 + typedef void (* glMap1fProcPtr) (GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points); 1975 + typedef void (* glMap2dProcPtr) (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points); 1976 + typedef void (* glMap2fProcPtr) (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points); 1977 + typedef void (* glMapGrid1dProcPtr) (GLint un, GLdouble u1, GLdouble u2); 1978 + typedef void (* glMapGrid1fProcPtr) (GLint un, GLfloat u1, GLfloat u2); 1979 + typedef void (* glMapGrid2dProcPtr) (GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2); 1980 + typedef void (* glMapGrid2fProcPtr) (GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2); 1981 + typedef void (* glMaterialfProcPtr) (GLenum face, GLenum pname, GLfloat param); 1982 + typedef void (* glMaterialfvProcPtr) (GLenum face, GLenum pname, const GLfloat *params); 1983 + typedef void (* glMaterialiProcPtr) (GLenum face, GLenum pname, GLint param); 1984 + typedef void (* glMaterialivProcPtr) (GLenum face, GLenum pname, const GLint *params); 1985 + typedef void (* glMatrixModeProcPtr) (GLenum mode); 1986 + typedef void (* glMinmaxProcPtr) (GLenum target, GLenum internalformat, GLboolean sink); 1987 + typedef void (* glMultMatrixdProcPtr) (const GLdouble *m); 1988 + typedef void (* glMultMatrixfProcPtr) (const GLfloat *m); 1989 + typedef void (* glNewListProcPtr) (GLuint list, GLenum mode); 1990 + typedef void (* glNormal3bProcPtr) (GLbyte nx, GLbyte ny, GLbyte nz); 1991 + typedef void (* glNormal3bvProcPtr) (const GLbyte *v); 1992 + typedef void (* glNormal3dProcPtr) (GLdouble nx, GLdouble ny, GLdouble nz); 1993 + typedef void (* glNormal3dvProcPtr) (const GLdouble *v); 1994 + typedef void (* glNormal3fProcPtr) (GLfloat nx, GLfloat ny, GLfloat nz); 1995 + typedef void (* glNormal3fvProcPtr) (const GLfloat *v); 1996 + typedef void (* glNormal3iProcPtr) (GLint nx, GLint ny, GLint nz); 1997 + typedef void (* glNormal3ivProcPtr) (const GLint *v); 1998 + typedef void (* glNormal3sProcPtr) (GLshort nx, GLshort ny, GLshort nz); 1999 + typedef void (* glNormal3svProcPtr) (const GLshort *v); 2000 + typedef void (* glNormalPointerProcPtr) (GLenum type, GLsizei stride, const GLvoid *pointer); 2001 + typedef void (* glOrthoProcPtr) (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); 2002 + typedef void (* glPassThroughProcPtr) (GLfloat token); 2003 + typedef void (* glPixelMapfvProcPtr) (GLenum map, GLint mapsize, const GLfloat *values); 2004 + typedef void (* glPixelMapuivProcPtr) (GLenum map, GLint mapsize, const GLuint *values); 2005 + typedef void (* glPixelMapusvProcPtr) (GLenum map, GLint mapsize, const GLushort *values); 2006 + typedef void (* glPixelStorefProcPtr) (GLenum pname, GLfloat param); 2007 + typedef void (* glPixelStoreiProcPtr) (GLenum pname, GLint param); 2008 + typedef void (* glPixelTransferfProcPtr) (GLenum pname, GLfloat param); 2009 + typedef void (* glPixelTransferiProcPtr) (GLenum pname, GLint param); 2010 + typedef void (* glPixelZoomProcPtr) (GLfloat xfactor, GLfloat yfactor); 2011 + typedef void (* glPointSizeProcPtr) (GLfloat size); 2012 + typedef void (* glPolygonModeProcPtr) (GLenum face, GLenum mode); 2013 + typedef void (* glPolygonOffsetProcPtr) (GLfloat factor, GLfloat units); 2014 + typedef void (* glPolygonStippleProcPtr) (const GLubyte *mask); 2015 + typedef void (* glPopAttribProcPtr) (void); 2016 + typedef void (* glPopClientAttribProcPtr) (void); 2017 + typedef void (* glPopMatrixProcPtr) (void); 2018 + typedef void (* glPopNameProcPtr) (void); 2019 + typedef void (* glPrioritizeTexturesProcPtr) (GLsizei n, const GLuint *textures, const GLclampf *priorities); 2020 + typedef void (* glPushAttribProcPtr) (GLbitfield mask); 2021 + typedef void (* glPushClientAttribProcPtr) (GLbitfield mask); 2022 + typedef void (* glPushMatrixProcPtr) (void); 2023 + typedef void (* glPushNameProcPtr) (GLuint name); 2024 + typedef void (* glRasterPos2dProcPtr) (GLdouble x, GLdouble y); 2025 + typedef void (* glRasterPos2dvProcPtr) (const GLdouble *v); 2026 + typedef void (* glRasterPos2fProcPtr) (GLfloat x, GLfloat y); 2027 + typedef void (* glRasterPos2fvProcPtr) (const GLfloat *v); 2028 + typedef void (* glRasterPos2iProcPtr) (GLint x, GLint y); 2029 + typedef void (* glRasterPos2ivProcPtr) (const GLint *v); 2030 + typedef void (* glRasterPos2sProcPtr) (GLshort x, GLshort y); 2031 + typedef void (* glRasterPos2svProcPtr) (const GLshort *v); 2032 + typedef void (* glRasterPos3dProcPtr) (GLdouble x, GLdouble y, GLdouble z); 2033 + typedef void (* glRasterPos3dvProcPtr) (const GLdouble *v); 2034 + typedef void (* glRasterPos3fProcPtr) (GLfloat x, GLfloat y, GLfloat z); 2035 + typedef void (* glRasterPos3fvProcPtr) (const GLfloat *v); 2036 + typedef void (* glRasterPos3iProcPtr) (GLint x, GLint y, GLint z); 2037 + typedef void (* glRasterPos3ivProcPtr) (const GLint *v); 2038 + typedef void (* glRasterPos3sProcPtr) (GLshort x, GLshort y, GLshort z); 2039 + typedef void (* glRasterPos3svProcPtr) (const GLshort *v); 2040 + typedef void (* glRasterPos4dProcPtr) (GLdouble x, GLdouble y, GLdouble z, GLdouble w); 2041 + typedef void (* glRasterPos4dvProcPtr) (const GLdouble *v); 2042 + typedef void (* glRasterPos4fProcPtr) (GLfloat x, GLfloat y, GLfloat z, GLfloat w); 2043 + typedef void (* glRasterPos4fvProcPtr) (const GLfloat *v); 2044 + typedef void (* glRasterPos4iProcPtr) (GLint x, GLint y, GLint z, GLint w); 2045 + typedef void (* glRasterPos4ivProcPtr) (const GLint *v); 2046 + typedef void (* glRasterPos4sProcPtr) (GLshort x, GLshort y, GLshort z, GLshort w); 2047 + typedef void (* glRasterPos4svProcPtr) (const GLshort *v); 2048 + typedef void (* glReadBufferProcPtr) (GLenum mode); 2049 + typedef void (* glReadPixelsProcPtr) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels); 2050 + typedef void (* glRectdProcPtr) (GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2); 2051 + typedef void (* glRectdvProcPtr) (const GLdouble *v1, const GLdouble *v2); 2052 + typedef void (* glRectfProcPtr) (GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2); 2053 + typedef void (* glRectfvProcPtr) (const GLfloat *v1, const GLfloat *v2); 2054 + typedef void (* glRectiProcPtr) (GLint x1, GLint y1, GLint x2, GLint y2); 2055 + typedef void (* glRectivProcPtr) (const GLint *v1, const GLint *v2); 2056 + typedef void (* glRectsProcPtr) (GLshort x1, GLshort y1, GLshort x2, GLshort y2); 2057 + typedef void (* glRectsvProcPtr) (const GLshort *v1, const GLshort *v2); 2058 + typedef GLint (* glRenderModeProcPtr) (GLenum mode); 2059 + typedef void (* glResetHistogramProcPtr) (GLenum target); 2060 + typedef void (* glResetMinmaxProcPtr) (GLenum target); 2061 + typedef void (* glRotatedProcPtr) (GLdouble angle, GLdouble x, GLdouble y, GLdouble z); 2062 + typedef void (* glRotatefProcPtr) (GLfloat angle, GLfloat x, GLfloat y, GLfloat z); 2063 + typedef void (* glScaledProcPtr) (GLdouble x, GLdouble y, GLdouble z); 2064 + typedef void (* glScalefProcPtr) (GLfloat x, GLfloat y, GLfloat z); 2065 + typedef void (* glScissorProcPtr) (GLint x, GLint y, GLsizei width, GLsizei height); 2066 + typedef void (* glSelectBufferProcPtr) (GLsizei size, GLuint *buffer); 2067 + typedef void (* glSeparableFilter2DProcPtr) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column); 2068 + typedef void (* glShadeModelProcPtr) (GLenum mode); 2069 + typedef void (* glStencilFuncProcPtr) (GLenum func, GLint ref, GLuint mask); 2070 + typedef void (* glStencilMaskProcPtr) (GLuint mask); 2071 + typedef void (* glStencilOpProcPtr) (GLenum fail, GLenum zfail, GLenum zpass); 2072 + typedef void (* glTexCoord1dProcPtr) (GLdouble s); 2073 + typedef void (* glTexCoord1dvProcPtr) (const GLdouble *v); 2074 + typedef void (* glTexCoord1fProcPtr) (GLfloat s); 2075 + typedef void (* glTexCoord1fvProcPtr) (const GLfloat *v); 2076 + typedef void (* glTexCoord1iProcPtr) (GLint s); 2077 + typedef void (* glTexCoord1ivProcPtr) (const GLint *v); 2078 + typedef void (* glTexCoord1sProcPtr) (GLshort s); 2079 + typedef void (* glTexCoord1svProcPtr) (const GLshort *v); 2080 + typedef void (* glTexCoord2dProcPtr) (GLdouble s, GLdouble t); 2081 + typedef void (* glTexCoord2dvProcPtr) (const GLdouble *v); 2082 + typedef void (* glTexCoord2fProcPtr) (GLfloat s, GLfloat t); 2083 + typedef void (* glTexCoord2fvProcPtr) (const GLfloat *v); 2084 + typedef void (* glTexCoord2iProcPtr) (GLint s, GLint t); 2085 + typedef void (* glTexCoord2ivProcPtr) (const GLint *v); 2086 + typedef void (* glTexCoord2sProcPtr) (GLshort s, GLshort t); 2087 + typedef void (* glTexCoord2svProcPtr) (const GLshort *v); 2088 + typedef void (* glTexCoord3dProcPtr) (GLdouble s, GLdouble t, GLdouble r); 2089 + typedef void (* glTexCoord3dvProcPtr) (const GLdouble *v); 2090 + typedef void (* glTexCoord3fProcPtr) (GLfloat s, GLfloat t, GLfloat r); 2091 + typedef void (* glTexCoord3fvProcPtr) (const GLfloat *v); 2092 + typedef void (* glTexCoord3iProcPtr) (GLint s, GLint t, GLint r); 2093 + typedef void (* glTexCoord3ivProcPtr) (const GLint *v); 2094 + typedef void (* glTexCoord3sProcPtr) (GLshort s, GLshort t, GLshort r); 2095 + typedef void (* glTexCoord3svProcPtr) (const GLshort *v); 2096 + typedef void (* glTexCoord4dProcPtr) (GLdouble s, GLdouble t, GLdouble r, GLdouble q); 2097 + typedef void (* glTexCoord4dvProcPtr) (const GLdouble *v); 2098 + typedef void (* glTexCoord4fProcPtr) (GLfloat s, GLfloat t, GLfloat r, GLfloat q); 2099 + typedef void (* glTexCoord4fvProcPtr) (const GLfloat *v); 2100 + typedef void (* glTexCoord4iProcPtr) (GLint s, GLint t, GLint r, GLint q); 2101 + typedef void (* glTexCoord4ivProcPtr) (const GLint *v); 2102 + typedef void (* glTexCoord4sProcPtr) (GLshort s, GLshort t, GLshort r, GLshort q); 2103 + typedef void (* glTexCoord4svProcPtr) (const GLshort *v); 2104 + typedef void (* glTexCoordPointerProcPtr) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); 2105 + typedef void (* glTexEnvfProcPtr) (GLenum target, GLenum pname, GLfloat param); 2106 + typedef void (* glTexEnvfvProcPtr) (GLenum target, GLenum pname, const GLfloat *params); 2107 + typedef void (* glTexEnviProcPtr) (GLenum target, GLenum pname, GLint param); 2108 + typedef void (* glTexEnvivProcPtr) (GLenum target, GLenum pname, const GLint *params); 2109 + typedef void (* glTexGendProcPtr) (GLenum coord, GLenum pname, GLdouble param); 2110 + typedef void (* glTexGendvProcPtr) (GLenum coord, GLenum pname, const GLdouble *params); 2111 + typedef void (* glTexGenfProcPtr) (GLenum coord, GLenum pname, GLfloat param); 2112 + typedef void (* glTexGenfvProcPtr) (GLenum coord, GLenum pname, const GLfloat *params); 2113 + typedef void (* glTexGeniProcPtr) (GLenum coord, GLenum pname, GLint param); 2114 + typedef void (* glTexGenivProcPtr) (GLenum coord, GLenum pname, const GLint *params); 2115 + typedef void (* glTexImage1DProcPtr) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels); 2116 + typedef void (* glTexImage2DProcPtr) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels); 2117 + typedef void (* glTexImage3DProcPtr) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels); 2118 + typedef void (* glTexParameterfProcPtr) (GLenum target, GLenum pname, GLfloat param); 2119 + typedef void (* glTexParameterfvProcPtr) (GLenum target, GLenum pname, const GLfloat *params); 2120 + typedef void (* glTexParameteriProcPtr) (GLenum target, GLenum pname, GLint param); 2121 + typedef void (* glTexParameterivProcPtr) (GLenum target, GLenum pname, const GLint *params); 2122 + typedef void (* glTexSubImage1DProcPtr) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels); 2123 + typedef void (* glTexSubImage2DProcPtr) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels); 2124 + typedef void (* glTexSubImage3DProcPtr) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels); 2125 + typedef void (* glTranslatedProcPtr) (GLdouble x, GLdouble y, GLdouble z); 2126 + typedef void (* glTranslatefProcPtr) (GLfloat x, GLfloat y, GLfloat z); 2127 + typedef void (* glVertex2dProcPtr) (GLdouble x, GLdouble y); 2128 + typedef void (* glVertex2dvProcPtr) (const GLdouble *v); 2129 + typedef void (* glVertex2fProcPtr) (GLfloat x, GLfloat y); 2130 + typedef void (* glVertex2fvProcPtr) (const GLfloat *v); 2131 + typedef void (* glVertex2iProcPtr) (GLint x, GLint y); 2132 + typedef void (* glVertex2ivProcPtr) (const GLint *v); 2133 + typedef void (* glVertex2sProcPtr) (GLshort x, GLshort y); 2134 + typedef void (* glVertex2svProcPtr) (const GLshort *v); 2135 + typedef void (* glVertex3dProcPtr) (GLdouble x, GLdouble y, GLdouble z); 2136 + typedef void (* glVertex3dvProcPtr) (const GLdouble *v); 2137 + typedef void (* glVertex3fProcPtr) (GLfloat x, GLfloat y, GLfloat z); 2138 + typedef void (* glVertex3fvProcPtr) (const GLfloat *v); 2139 + typedef void (* glVertex3iProcPtr) (GLint x, GLint y, GLint z); 2140 + typedef void (* glVertex3ivProcPtr) (const GLint *v); 2141 + typedef void (* glVertex3sProcPtr) (GLshort x, GLshort y, GLshort z); 2142 + typedef void (* glVertex3svProcPtr) (const GLshort *v); 2143 + typedef void (* glVertex4dProcPtr) (GLdouble x, GLdouble y, GLdouble z, GLdouble w); 2144 + typedef void (* glVertex4dvProcPtr) (const GLdouble *v); 2145 + typedef void (* glVertex4fProcPtr) (GLfloat x, GLfloat y, GLfloat z, GLfloat w); 2146 + typedef void (* glVertex4fvProcPtr) (const GLfloat *v); 2147 + typedef void (* glVertex4iProcPtr) (GLint x, GLint y, GLint z, GLint w); 2148 + typedef void (* glVertex4ivProcPtr) (const GLint *v); 2149 + typedef void (* glVertex4sProcPtr) (GLshort x, GLshort y, GLshort z, GLshort w); 2150 + typedef void (* glVertex4svProcPtr) (const GLshort *v); 2151 + typedef void (* glVertexPointerProcPtr) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); 2152 + typedef void (* glViewportProcPtr) (GLint x, GLint y, GLsizei width, GLsizei height); 2153 + 2154 + typedef void (* glSampleCoverageProcPtr) (GLclampf value, GLboolean invert); 2155 + 2156 + typedef void (* glLoadTransposeMatrixfProcPtr) (const GLfloat *m); 2157 + typedef void (* glLoadTransposeMatrixdProcPtr) (const GLdouble *m); 2158 + typedef void (* glMultTransposeMatrixfProcPtr) (const GLfloat *m); 2159 + typedef void (* glMultTransposeMatrixdProcPtr) (const GLdouble *m); 2160 + 2161 + typedef void (* glCompressedTexImage3DProcPtr) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data); 2162 + typedef void (* glCompressedTexImage2DProcPtr) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data); 2163 + typedef void (* glCompressedTexImage1DProcPtr) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data); 2164 + typedef void (* glCompressedTexSubImage3DProcPtr) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data); 2165 + typedef void (* glCompressedTexSubImage2DProcPtr) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data); 2166 + typedef void (* glCompressedTexSubImage1DProcPtr) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data); 2167 + typedef void (* glGetCompressedTexImageProcPtr) (GLenum target, GLint lod, GLvoid *img); 2168 + 2169 + typedef void (* glActiveTextureProcPtr) (GLenum texture); 2170 + typedef void (* glClientActiveTextureProcPtr) (GLenum texture); 2171 + typedef void (* glMultiTexCoord1dProcPtr) (GLenum target, GLdouble s); 2172 + typedef void (* glMultiTexCoord1dvProcPtr) (GLenum target, const GLdouble *v); 2173 + typedef void (* glMultiTexCoord1fProcPtr) (GLenum target, GLfloat s); 2174 + typedef void (* glMultiTexCoord1fvProcPtr) (GLenum target, const GLfloat *v); 2175 + typedef void (* glMultiTexCoord1iProcPtr) (GLenum target, GLint s); 2176 + typedef void (* glMultiTexCoord1ivProcPtr) (GLenum target, const GLint *v); 2177 + typedef void (* glMultiTexCoord1sProcPtr) (GLenum target, GLshort s); 2178 + typedef void (* glMultiTexCoord1svProcPtr) (GLenum target, const GLshort *v); 2179 + typedef void (* glMultiTexCoord2dProcPtr) (GLenum target, GLdouble s, GLdouble t); 2180 + typedef void (* glMultiTexCoord2dvProcPtr) (GLenum target, const GLdouble *v); 2181 + typedef void (* glMultiTexCoord2fProcPtr) (GLenum target, GLfloat s, GLfloat t); 2182 + typedef void (* glMultiTexCoord2fvProcPtr) (GLenum target, const GLfloat *v); 2183 + typedef void (* glMultiTexCoord2iProcPtr) (GLenum target, GLint s, GLint t); 2184 + typedef void (* glMultiTexCoord2ivProcPtr) (GLenum target, const GLint *v); 2185 + typedef void (* glMultiTexCoord2sProcPtr) (GLenum target, GLshort s, GLshort t); 2186 + typedef void (* glMultiTexCoord2svProcPtr) (GLenum target, const GLshort *v); 2187 + typedef void (* glMultiTexCoord3dProcPtr) (GLenum target, GLdouble s, GLdouble t, GLdouble r); 2188 + typedef void (* glMultiTexCoord3dvProcPtr) (GLenum target, const GLdouble *v); 2189 + typedef void (* glMultiTexCoord3fProcPtr) (GLenum target, GLfloat s, GLfloat t, GLfloat r); 2190 + typedef void (* glMultiTexCoord3fvProcPtr) (GLenum target, const GLfloat *v); 2191 + typedef void (* glMultiTexCoord3iProcPtr) (GLenum target, GLint s, GLint t, GLint r); 2192 + typedef void (* glMultiTexCoord3ivProcPtr) (GLenum target, const GLint *v); 2193 + typedef void (* glMultiTexCoord3sProcPtr) (GLenum target, GLshort s, GLshort t, GLshort r); 2194 + typedef void (* glMultiTexCoord3svProcPtr) (GLenum target, const GLshort *v); 2195 + typedef void (* glMultiTexCoord4dProcPtr) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); 2196 + typedef void (* glMultiTexCoord4dvProcPtr) (GLenum target, const GLdouble *v); 2197 + typedef void (* glMultiTexCoord4fProcPtr) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); 2198 + typedef void (* glMultiTexCoord4fvProcPtr) (GLenum target, const GLfloat *v); 2199 + typedef void (* glMultiTexCoord4iProcPtr) (GLenum target, GLint s, GLint t, GLint r, GLint q); 2200 + typedef void (* glMultiTexCoord4ivProcPtr) (GLenum target, const GLint *v); 2201 + typedef void (* glMultiTexCoord4sProcPtr) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); 2202 + typedef void (* glMultiTexCoord4svProcPtr) (GLenum target, const GLshort *v); 2203 + 2204 + typedef void (* glFogCoordfProcPtr) (GLfloat coord); 2205 + typedef void (* glFogCoordfvProcPtr) (const GLfloat *coord); 2206 + typedef void (* glFogCoorddProcPtr) (GLdouble coord); 2207 + typedef void (* glFogCoorddvProcPtr) (const GLdouble *coord); 2208 + typedef void (* glFogCoordPointerProcPtr) (GLenum type, GLsizei stride, const GLvoid *pointer); 2209 + 2210 + typedef void (* glSecondaryColor3bProcPtr) (GLbyte red, GLbyte green, GLbyte blue); 2211 + typedef void (* glSecondaryColor3bvProcPtr) (const GLbyte *v); 2212 + typedef void (* glSecondaryColor3dProcPtr) (GLdouble red, GLdouble green, GLdouble blue); 2213 + typedef void (* glSecondaryColor3dvProcPtr) (const GLdouble *v); 2214 + typedef void (* glSecondaryColor3fProcPtr) (GLfloat red, GLfloat green, GLfloat blue); 2215 + typedef void (* glSecondaryColor3fvProcPtr) (const GLfloat *v); 2216 + typedef void (* glSecondaryColor3iProcPtr) (GLint red, GLint green, GLint blue); 2217 + typedef void (* glSecondaryColor3ivProcPtr) (const GLint *v); 2218 + typedef void (* glSecondaryColor3sProcPtr) (GLshort red, GLshort green, GLshort blue); 2219 + typedef void (* glSecondaryColor3svProcPtr) (const GLshort *v); 2220 + typedef void (* glSecondaryColor3ubProcPtr) (GLubyte red, GLubyte green, GLubyte blue); 2221 + typedef void (* glSecondaryColor3ubvProcPtr) (const GLubyte *v); 2222 + typedef void (* glSecondaryColor3uiProcPtr) (GLuint red, GLuint green, GLuint blue); 2223 + typedef void (* glSecondaryColor3uivProcPtr) (const GLuint *v); 2224 + typedef void (* glSecondaryColor3usProcPtr) (GLushort red, GLushort green, GLushort blue); 2225 + typedef void (* glSecondaryColor3usvProcPtr) (const GLushort *v); 2226 + typedef void (* glSecondaryColorPointerProcPtr) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); 2227 + 2228 + typedef void (* glPointParameterfProcPtr) (GLenum pname, GLfloat param); 2229 + typedef void (* glPointParameterfvProcPtr) (GLenum pname, const GLfloat *params); 2230 + typedef void (* glPointParameteriProcPtr) (GLenum pname, GLint param); 2231 + typedef void (* glPointParameterivProcPtr) (GLenum pname, const GLint *params); 2232 + 2233 + typedef void (* glBlendFuncSeparateProcPtr) (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); 2234 + 2235 + typedef void (* glMultiDrawArraysProcPtr) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount); 2236 + typedef void (* glMultiDrawElementsProcPtr) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei primcount); 2237 + 2238 + typedef void (* glWindowPos2dProcPtr) (GLdouble x, GLdouble y); 2239 + typedef void (* glWindowPos2dvProcPtr) (const GLdouble *v); 2240 + typedef void (* glWindowPos2fProcPtr) (GLfloat x, GLfloat y); 2241 + typedef void (* glWindowPos2fvProcPtr) (const GLfloat *v); 2242 + typedef void (* glWindowPos2iProcPtr) (GLint x, GLint y); 2243 + typedef void (* glWindowPos2ivProcPtr) (const GLint *v); 2244 + typedef void (* glWindowPos2sProcPtr) (GLshort x, GLshort y); 2245 + typedef void (* glWindowPos2svProcPtr) (const GLshort *v); 2246 + typedef void (* glWindowPos3dProcPtr) (GLdouble x, GLdouble y, GLdouble z); 2247 + typedef void (* glWindowPos3dvProcPtr) (const GLdouble *v); 2248 + typedef void (* glWindowPos3fProcPtr) (GLfloat x, GLfloat y, GLfloat z); 2249 + typedef void (* glWindowPos3fvProcPtr) (const GLfloat *v); 2250 + typedef void (* glWindowPos3iProcPtr) (GLint x, GLint y, GLint z); 2251 + typedef void (* glWindowPos3ivProcPtr) (const GLint *v); 2252 + typedef void (* glWindowPos3sProcPtr) (GLshort x, GLshort y, GLshort z); 2253 + typedef void (* glWindowPos3svProcPtr) (const GLshort *v); 2254 + 2255 + typedef void (* glGenQueriesProcPtr) (GLsizei n, GLuint *ids); 2256 + typedef void (* glDeleteQueriesProcPtr) (GLsizei n, const GLuint *ids); 2257 + typedef GLboolean (* glIsQueryProcPtr) (GLuint id); 2258 + typedef void (* glBeginQueryProcPtr) (GLenum target, GLuint id); 2259 + typedef void (* glEndQueryProcPtr) (GLenum target); 2260 + typedef void (* glGetQueryivProcPtr) (GLenum target, GLenum pname, GLint *params); 2261 + typedef void (* glGetQueryObjectivProcPtr) (GLuint id, GLenum pname, GLint *params); 2262 + typedef void (* glGetQueryObjectuivProcPtr) (GLuint id, GLenum pname, GLuint *params); 2263 + 2264 + typedef void (* glBindBufferProcPtr) (GLenum target, GLuint buffer); 2265 + typedef void (* glDeleteBuffersProcPtr) (GLsizei n, const GLuint *buffers); 2266 + typedef void (* glGenBuffersProcPtr) (GLsizei n, GLuint *buffers); 2267 + typedef GLboolean (* glIsBufferProcPtr) (GLuint buffer); 2268 + typedef void (* glBufferDataProcPtr) (GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage); 2269 + typedef void (* glBufferSubDataProcPtr) (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data); 2270 + typedef void (* glGetBufferSubDataProcPtr) (GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data); 2271 + typedef GLvoid *(* glMapBufferProcPtr) (GLenum target, GLenum access); 2272 + typedef GLboolean (* glUnmapBufferProcPtr) (GLenum target); 2273 + typedef void (* glGetBufferParameterivProcPtr) (GLenum target, GLenum pname, GLint *params); 2274 + typedef void (* glGetBufferPointervProcPtr) (GLenum target, GLenum pname, GLvoid **params); 2275 + 2276 + typedef void (* glDrawBuffersProcPtr) (GLsizei n, const GLenum *bufs); 2277 + typedef void (* glVertexAttrib1dProcPtr) (GLuint index, GLdouble x); 2278 + typedef void (* glVertexAttrib1dvProcPtr) (GLuint index, const GLdouble *v); 2279 + typedef void (* glVertexAttrib1fProcPtr) (GLuint index, GLfloat x); 2280 + typedef void (* glVertexAttrib1fvProcPtr) (GLuint index, const GLfloat *v); 2281 + typedef void (* glVertexAttrib1sProcPtr) (GLuint index, GLshort x); 2282 + typedef void (* glVertexAttrib1svProcPtr) (GLuint index, const GLshort *v); 2283 + typedef void (* glVertexAttrib2dProcPtr) (GLuint index, GLdouble x, GLdouble y); 2284 + typedef void (* glVertexAttrib2dvProcPtr) (GLuint index, const GLdouble *v); 2285 + typedef void (* glVertexAttrib2fProcPtr) (GLuint index, GLfloat x, GLfloat y); 2286 + typedef void (* glVertexAttrib2fvProcPtr) (GLuint index, const GLfloat *v); 2287 + typedef void (* glVertexAttrib2sProcPtr) (GLuint index, GLshort x, GLshort y); 2288 + typedef void (* glVertexAttrib2svProcPtr) (GLuint index, const GLshort *v); 2289 + typedef void (* glVertexAttrib3dProcPtr) (GLuint index, GLdouble x, GLdouble y, GLdouble z); 2290 + typedef void (* glVertexAttrib3dvProcPtr) (GLuint index, const GLdouble *v); 2291 + typedef void (* glVertexAttrib3fProcPtr) (GLuint index, GLfloat x, GLfloat y, GLfloat z); 2292 + typedef void (* glVertexAttrib3fvProcPtr) (GLuint index, const GLfloat *v); 2293 + typedef void (* glVertexAttrib3sProcPtr) (GLuint index, GLshort x, GLshort y, GLshort z); 2294 + typedef void (* glVertexAttrib3svProcPtr) (GLuint index, const GLshort *v); 2295 + typedef void (* glVertexAttrib4NbvProcPtr) (GLuint index, const GLbyte *v); 2296 + typedef void (* glVertexAttrib4NivProcPtr) (GLuint index, const GLint *v); 2297 + typedef void (* glVertexAttrib4NsvProcPtr) (GLuint index, const GLshort *v); 2298 + typedef void (* glVertexAttrib4NubProcPtr) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); 2299 + typedef void (* glVertexAttrib4NubvProcPtr) (GLuint index, const GLubyte *v); 2300 + typedef void (* glVertexAttrib4NuivProcPtr) (GLuint index, const GLuint *v); 2301 + typedef void (* glVertexAttrib4NusvProcPtr) (GLuint index, const GLushort *v); 2302 + typedef void (* glVertexAttrib4bvProcPtr) (GLuint index, const GLbyte *v); 2303 + typedef void (* glVertexAttrib4dProcPtr) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 2304 + typedef void (* glVertexAttrib4dvProcPtr) (GLuint index, const GLdouble *v); 2305 + typedef void (* glVertexAttrib4fProcPtr) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 2306 + typedef void (* glVertexAttrib4fvProcPtr) (GLuint index, const GLfloat *v); 2307 + typedef void (* glVertexAttrib4ivProcPtr) (GLuint index, const GLint *v); 2308 + typedef void (* glVertexAttrib4sProcPtr) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); 2309 + typedef void (* glVertexAttrib4svProcPtr) (GLuint index, const GLshort *v); 2310 + typedef void (* glVertexAttrib4ubvProcPtr) (GLuint index, const GLubyte *v); 2311 + typedef void (* glVertexAttrib4uivProcPtr) (GLuint index, const GLuint *v); 2312 + typedef void (* glVertexAttrib4usvProcPtr) (GLuint index, const GLushort *v); 2313 + typedef void (* glVertexAttribPointerProcPtr) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer); 2314 + typedef void (* glEnableVertexAttribArrayProcPtr) (GLuint index); 2315 + typedef void (* glDisableVertexAttribArrayProcPtr) (GLuint index); 2316 + typedef void (* glGetVertexAttribdvProcPtr) (GLuint index, GLenum pname, GLdouble *params); 2317 + typedef void (* glGetVertexAttribfvProcPtr) (GLuint index, GLenum pname, GLfloat *params); 2318 + typedef void (* glGetVertexAttribivProcPtr) (GLuint index, GLenum pname, GLint *params); 2319 + typedef void (* glGetVertexAttribPointervProcPtr) (GLuint index, GLenum pname, GLvoid **pointer); 2320 + typedef void (* glDeleteShaderProcPtr) (GLuint shader); 2321 + typedef void (* glDetachShaderProcPtr) (GLuint program, GLuint shader); 2322 + typedef GLuint (* glCreateShaderProcPtr) (GLenum type); 2323 + typedef void (* glShaderSourceProcPtr) (GLuint shader, GLsizei count, const GLchar* const *string, const GLint *length); 2324 + typedef void (* glCompileShaderProcPtr) (GLuint shader); 2325 + typedef GLuint (* glCreateProgramProcPtr) (void); 2326 + typedef void (* glAttachShaderProcPtr) (GLuint program, GLuint shader); 2327 + typedef void (* glLinkProgramProcPtr) (GLuint program); 2328 + typedef void (* glUseProgramProcPtr) (GLuint program); 2329 + typedef void (* glDeleteProgramProcPtr) (GLuint program); 2330 + typedef void (* glValidateProgramProcPtr) (GLuint program); 2331 + typedef void (* glUniform1fProcPtr) (GLint location, GLfloat v0); 2332 + typedef void (* glUniform2fProcPtr) (GLint location, GLfloat v0, GLfloat v1); 2333 + typedef void (* glUniform3fProcPtr) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); 2334 + typedef void (* glUniform4fProcPtr) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); 2335 + typedef void (* glUniform1iProcPtr) (GLint location, GLint v0); 2336 + typedef void (* glUniform2iProcPtr) (GLint location, GLint v0, GLint v1); 2337 + typedef void (* glUniform3iProcPtr) (GLint location, GLint v0, GLint v1, GLint v2); 2338 + typedef void (* glUniform4iProcPtr) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); 2339 + typedef void (* glUniform1fvProcPtr) (GLint location, GLsizei count, const GLfloat *value); 2340 + typedef void (* glUniform2fvProcPtr) (GLint location, GLsizei count, const GLfloat *value); 2341 + typedef void (* glUniform3fvProcPtr) (GLint location, GLsizei count, const GLfloat *value); 2342 + typedef void (* glUniform4fvProcPtr) (GLint location, GLsizei count, const GLfloat *value); 2343 + typedef void (* glUniform1ivProcPtr) (GLint location, GLsizei count, const GLint *value); 2344 + typedef void (* glUniform2ivProcPtr) (GLint location, GLsizei count, const GLint *value); 2345 + typedef void (* glUniform3ivProcPtr) (GLint location, GLsizei count, const GLint *value); 2346 + typedef void (* glUniform4ivProcPtr) (GLint location, GLsizei count, const GLint *value); 2347 + typedef void (* glUniformMatrix2fvProcPtr) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2348 + typedef void (* glUniformMatrix3fvProcPtr) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2349 + typedef void (* glUniformMatrix4fvProcPtr) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2350 + typedef GLboolean (* glIsShaderProcPtr) (GLuint shader); 2351 + typedef GLboolean (* glIsProgramProcPtr) (GLuint program); 2352 + typedef void (* glGetShaderivProcPtr) (GLuint shader, GLenum pname, GLint *params); 2353 + typedef void (* glGetProgramivProcPtr) (GLuint program, GLenum pname, GLint *params); 2354 + typedef void (* glGetAttachedShadersProcPtr) (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders); 2355 + typedef void (* glGetShaderInfoLogProcPtr) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog); 2356 + typedef void (* glGetProgramInfoLogProcPtr) (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog); 2357 + typedef GLint (* glGetUniformLocationProcPtr) (GLuint program, const GLchar *name); 2358 + typedef void (* glGetActiveUniformProcPtr) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); 2359 + typedef void (* glGetUniformfvProcPtr) (GLuint program, GLint location, GLfloat *params); 2360 + typedef void (* glGetUniformivProcPtr) (GLuint program, GLint location, GLint *params); 2361 + typedef void (* glGetShaderSourceProcPtr) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source); 2362 + typedef void (* glBindAttribLocationProcPtr) (GLuint program, GLuint index, const GLchar *name); 2363 + typedef void (* glGetActiveAttribProcPtr) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); 2364 + typedef GLint (* glGetAttribLocationProcPtr) (GLuint program, const GLchar *name); 2365 + typedef void (* glStencilFuncSeparateProcPtr) (GLenum face, GLenum func, GLint ref, GLuint mask); 2366 + typedef void (* glStencilOpSeparateProcPtr) (GLenum face, GLenum fail, GLenum zfail, GLenum zpass); 2367 + typedef void (* glStencilMaskSeparateProcPtr) (GLenum face, GLuint mask); 2368 + 2369 + typedef void (* glUniformMatrix2x3fvProcPtr) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2370 + typedef void (* glUniformMatrix3x2fvProcPtr) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2371 + typedef void (* glUniformMatrix2x4fvProcPtr) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2372 + typedef void (* glUniformMatrix4x2fvProcPtr) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2373 + typedef void (* glUniformMatrix3x4fvProcPtr) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2374 + typedef void (* glUniformMatrix4x3fvProcPtr) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2375 + 2376 + #else /* GL_GLEXT_FUNCTION_POINTERS */ 2377 + 2378 + extern void glAccum (GLenum op, GLfloat value); 2379 + extern void glAlphaFunc (GLenum func, GLclampf ref); 2380 + extern GLboolean glAreTexturesResident (GLsizei n, const GLuint *textures, GLboolean *residences); 2381 + extern void glArrayElement (GLint i); 2382 + extern void glBegin (GLenum mode); 2383 + extern void glBindTexture (GLenum target, GLuint texture); 2384 + extern void glBitmap (GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap); 2385 + extern void glBlendColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); 2386 + extern void glBlendEquation (GLenum mode); 2387 + extern void glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha); 2388 + extern void glBlendFunc (GLenum sfactor, GLenum dfactor); 2389 + extern void glCallList (GLuint list); 2390 + extern void glCallLists (GLsizei n, GLenum type, const GLvoid *lists); 2391 + extern void glClear (GLbitfield mask); 2392 + extern void glClearAccum (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); 2393 + extern void glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); 2394 + extern void glClearDepth (GLclampd depth); 2395 + extern void glClearIndex (GLfloat c); 2396 + extern void glClearStencil (GLint s); 2397 + extern void glClipPlane (GLenum plane, const GLdouble *equation); 2398 + extern void glColor3b (GLbyte red, GLbyte green, GLbyte blue); 2399 + extern void glColor3bv (const GLbyte *v); 2400 + extern void glColor3d (GLdouble red, GLdouble green, GLdouble blue); 2401 + extern void glColor3dv (const GLdouble *v); 2402 + extern void glColor3f (GLfloat red, GLfloat green, GLfloat blue); 2403 + extern void glColor3fv (const GLfloat *v); 2404 + extern void glColor3i (GLint red, GLint green, GLint blue); 2405 + extern void glColor3iv (const GLint *v); 2406 + extern void glColor3s (GLshort red, GLshort green, GLshort blue); 2407 + extern void glColor3sv (const GLshort *v); 2408 + extern void glColor3ub (GLubyte red, GLubyte green, GLubyte blue); 2409 + extern void glColor3ubv (const GLubyte *v); 2410 + extern void glColor3ui (GLuint red, GLuint green, GLuint blue); 2411 + extern void glColor3uiv (const GLuint *v); 2412 + extern void glColor3us (GLushort red, GLushort green, GLushort blue); 2413 + extern void glColor3usv (const GLushort *v); 2414 + extern void glColor4b (GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha); 2415 + extern void glColor4bv (const GLbyte *v); 2416 + extern void glColor4d (GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha); 2417 + extern void glColor4dv (const GLdouble *v); 2418 + extern void glColor4f (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); 2419 + extern void glColor4fv (const GLfloat *v); 2420 + extern void glColor4i (GLint red, GLint green, GLint blue, GLint alpha); 2421 + extern void glColor4iv (const GLint *v); 2422 + extern void glColor4s (GLshort red, GLshort green, GLshort blue, GLshort alpha); 2423 + extern void glColor4sv (const GLshort *v); 2424 + extern void glColor4ub (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha); 2425 + extern void glColor4ubv (const GLubyte *v); 2426 + extern void glColor4ui (GLuint red, GLuint green, GLuint blue, GLuint alpha); 2427 + extern void glColor4uiv (const GLuint *v); 2428 + extern void glColor4us (GLushort red, GLushort green, GLushort blue, GLushort alpha); 2429 + extern void glColor4usv (const GLushort *v); 2430 + extern void glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); 2431 + extern void glColorMaterial (GLenum face, GLenum mode); 2432 + extern void glColorPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); 2433 + extern void glColorSubTable (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data); 2434 + extern void glColorTable (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table); 2435 + extern void glColorTableParameterfv (GLenum target, GLenum pname, const GLfloat *params); 2436 + extern void glColorTableParameteriv (GLenum target, GLenum pname, const GLint *params); 2437 + extern void glConvolutionFilter1D (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image); 2438 + extern void glConvolutionFilter2D (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image); 2439 + extern void glConvolutionParameterf (GLenum target, GLenum pname, GLfloat params); 2440 + extern void glConvolutionParameterfv (GLenum target, GLenum pname, const GLfloat *params); 2441 + extern void glConvolutionParameteri (GLenum target, GLenum pname, GLint params); 2442 + extern void glConvolutionParameteriv (GLenum target, GLenum pname, const GLint *params); 2443 + extern void glCopyColorSubTable (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width); 2444 + extern void glCopyColorTable (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); 2445 + extern void glCopyConvolutionFilter1D (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); 2446 + extern void glCopyConvolutionFilter2D (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height); 2447 + extern void glCopyPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum type); 2448 + extern void glCopyTexImage1D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); 2449 + extern void glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); 2450 + extern void glCopyTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); 2451 + extern void glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); 2452 + extern void glCopyTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); 2453 + extern void glCullFace (GLenum mode); 2454 + extern void glDeleteLists (GLuint list, GLsizei range); 2455 + extern void glDeleteTextures (GLsizei n, const GLuint *textures); 2456 + extern void glDepthFunc (GLenum func); 2457 + extern void glDepthMask (GLboolean flag); 2458 + extern void glDepthRange (GLclampd zNear, GLclampd zFar); 2459 + extern void glDisable (GLenum cap); 2460 + extern void glDisableClientState (GLenum array); 2461 + extern void glDrawArrays (GLenum mode, GLint first, GLsizei count); 2462 + extern void glDrawBuffer (GLenum mode); 2463 + extern void glDrawElements (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices); 2464 + extern void glDrawPixels (GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels); 2465 + extern void glDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices); 2466 + extern void glEdgeFlag (GLboolean flag); 2467 + extern void glEdgeFlagPointer (GLsizei stride, const GLvoid *pointer); 2468 + extern void glEdgeFlagv (const GLboolean *flag); 2469 + extern void glEnable (GLenum cap); 2470 + extern void glEnableClientState (GLenum array); 2471 + extern void glEnd (void); 2472 + extern void glEndList (void); 2473 + extern void glEvalCoord1d (GLdouble u); 2474 + extern void glEvalCoord1dv (const GLdouble *u); 2475 + extern void glEvalCoord1f (GLfloat u); 2476 + extern void glEvalCoord1fv (const GLfloat *u); 2477 + extern void glEvalCoord2d (GLdouble u, GLdouble v); 2478 + extern void glEvalCoord2dv (const GLdouble *u); 2479 + extern void glEvalCoord2f (GLfloat u, GLfloat v); 2480 + extern void glEvalCoord2fv (const GLfloat *u); 2481 + extern void glEvalMesh1 (GLenum mode, GLint i1, GLint i2); 2482 + extern void glEvalMesh2 (GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2); 2483 + extern void glEvalPoint1 (GLint i); 2484 + extern void glEvalPoint2 (GLint i, GLint j); 2485 + extern void glFeedbackBuffer (GLsizei size, GLenum type, GLfloat *buffer); 2486 + extern void glFinish (void); 2487 + extern void glFlush (void); 2488 + extern void glFogf (GLenum pname, GLfloat param); 2489 + extern void glFogfv (GLenum pname, const GLfloat *params); 2490 + extern void glFogi (GLenum pname, GLint param); 2491 + extern void glFogiv (GLenum pname, const GLint *params); 2492 + extern void glFrontFace (GLenum mode); 2493 + extern void glFrustum (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); 2494 + extern GLuint glGenLists (GLsizei range); 2495 + extern void glGenTextures (GLsizei n, GLuint *textures); 2496 + extern void glGetBooleanv (GLenum pname, GLboolean *params); 2497 + extern void glGetClipPlane (GLenum plane, GLdouble *equation); 2498 + extern void glGetColorTable (GLenum target, GLenum format, GLenum type, GLvoid *table); 2499 + extern void glGetColorTableParameterfv (GLenum target, GLenum pname, GLfloat *params); 2500 + extern void glGetColorTableParameteriv (GLenum target, GLenum pname, GLint *params); 2501 + extern void glGetConvolutionFilter (GLenum target, GLenum format, GLenum type, GLvoid *image); 2502 + extern void glGetConvolutionParameterfv (GLenum target, GLenum pname, GLfloat *params); 2503 + extern void glGetConvolutionParameteriv (GLenum target, GLenum pname, GLint *params); 2504 + extern void glGetDoublev (GLenum pname, GLdouble *params); 2505 + extern GLenum glGetError (void); 2506 + extern void glGetFloatv (GLenum pname, GLfloat *params); 2507 + extern void glGetHistogram (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values); 2508 + extern void glGetHistogramParameterfv (GLenum target, GLenum pname, GLfloat *params); 2509 + extern void glGetHistogramParameteriv (GLenum target, GLenum pname, GLint *params); 2510 + extern void glGetIntegerv (GLenum pname, GLint *params); 2511 + extern void glGetLightfv (GLenum light, GLenum pname, GLfloat *params); 2512 + extern void glGetLightiv (GLenum light, GLenum pname, GLint *params); 2513 + extern void glGetMapdv (GLenum target, GLenum query, GLdouble *v); 2514 + extern void glGetMapfv (GLenum target, GLenum query, GLfloat *v); 2515 + extern void glGetMapiv (GLenum target, GLenum query, GLint *v); 2516 + extern void glGetMaterialfv (GLenum face, GLenum pname, GLfloat *params); 2517 + extern void glGetMaterialiv (GLenum face, GLenum pname, GLint *params); 2518 + extern void glGetMinmax (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values); 2519 + extern void glGetMinmaxParameterfv (GLenum target, GLenum pname, GLfloat *params); 2520 + extern void glGetMinmaxParameteriv (GLenum target, GLenum pname, GLint *params); 2521 + extern void glGetPixelMapfv (GLenum map, GLfloat *values); 2522 + extern void glGetPixelMapuiv (GLenum map, GLuint *values); 2523 + extern void glGetPixelMapusv (GLenum map, GLushort *values); 2524 + extern void glGetPointerv (GLenum pname, GLvoid **params); 2525 + extern void glGetPolygonStipple (GLubyte *mask); 2526 + extern void glGetSeparableFilter (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span); 2527 + extern const GLubyte *glGetString (GLenum name); 2528 + extern void glGetTexEnvfv (GLenum target, GLenum pname, GLfloat *params); 2529 + extern void glGetTexEnviv (GLenum target, GLenum pname, GLint *params); 2530 + extern void glGetTexGendv (GLenum coord, GLenum pname, GLdouble *params); 2531 + extern void glGetTexGenfv (GLenum coord, GLenum pname, GLfloat *params); 2532 + extern void glGetTexGeniv (GLenum coord, GLenum pname, GLint *params); 2533 + extern void glGetTexImage (GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels); 2534 + extern void glGetTexLevelParameterfv (GLenum target, GLint level, GLenum pname, GLfloat *params); 2535 + extern void glGetTexLevelParameteriv (GLenum target, GLint level, GLenum pname, GLint *params); 2536 + extern void glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params); 2537 + extern void glGetTexParameteriv (GLenum target, GLenum pname, GLint *params); 2538 + extern void glHint (GLenum target, GLenum mode); 2539 + extern void glHistogram (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink); 2540 + extern void glIndexMask (GLuint mask); 2541 + extern void glIndexPointer (GLenum type, GLsizei stride, const GLvoid *pointer); 2542 + extern void glIndexd (GLdouble c); 2543 + extern void glIndexdv (const GLdouble *c); 2544 + extern void glIndexf (GLfloat c); 2545 + extern void glIndexfv (const GLfloat *c); 2546 + extern void glIndexi (GLint c); 2547 + extern void glIndexiv (const GLint *c); 2548 + extern void glIndexs (GLshort c); 2549 + extern void glIndexsv (const GLshort *c); 2550 + extern void glIndexub (GLubyte c); 2551 + extern void glIndexubv (const GLubyte *c); 2552 + extern void glInitNames (void); 2553 + extern void glInterleavedArrays (GLenum format, GLsizei stride, const GLvoid *pointer); 2554 + extern GLboolean glIsEnabled (GLenum cap); 2555 + extern GLboolean glIsList (GLuint list); 2556 + extern GLboolean glIsTexture (GLuint texture); 2557 + extern void glLightModelf (GLenum pname, GLfloat param); 2558 + extern void glLightModelfv (GLenum pname, const GLfloat *params); 2559 + extern void glLightModeli (GLenum pname, GLint param); 2560 + extern void glLightModeliv (GLenum pname, const GLint *params); 2561 + extern void glLightf (GLenum light, GLenum pname, GLfloat param); 2562 + extern void glLightfv (GLenum light, GLenum pname, const GLfloat *params); 2563 + extern void glLighti (GLenum light, GLenum pname, GLint param); 2564 + extern void glLightiv (GLenum light, GLenum pname, const GLint *params); 2565 + extern void glLineStipple (GLint factor, GLushort pattern); 2566 + extern void glLineWidth (GLfloat width); 2567 + extern void glListBase (GLuint base); 2568 + extern void glLoadIdentity (void); 2569 + extern void glLoadMatrixd (const GLdouble *m); 2570 + extern void glLoadMatrixf (const GLfloat *m); 2571 + extern void glLoadName (GLuint name); 2572 + extern void glLogicOp (GLenum opcode); 2573 + extern void glMap1d (GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points); 2574 + extern void glMap1f (GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points); 2575 + extern void glMap2d (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points); 2576 + extern void glMap2f (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points); 2577 + extern void glMapGrid1d (GLint un, GLdouble u1, GLdouble u2); 2578 + extern void glMapGrid1f (GLint un, GLfloat u1, GLfloat u2); 2579 + extern void glMapGrid2d (GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2); 2580 + extern void glMapGrid2f (GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2); 2581 + extern void glMaterialf (GLenum face, GLenum pname, GLfloat param); 2582 + extern void glMaterialfv (GLenum face, GLenum pname, const GLfloat *params); 2583 + extern void glMateriali (GLenum face, GLenum pname, GLint param); 2584 + extern void glMaterialiv (GLenum face, GLenum pname, const GLint *params); 2585 + extern void glMatrixMode (GLenum mode); 2586 + extern void glMinmax (GLenum target, GLenum internalformat, GLboolean sink); 2587 + extern void glMultMatrixd (const GLdouble *m); 2588 + extern void glMultMatrixf (const GLfloat *m); 2589 + extern void glNewList (GLuint list, GLenum mode); 2590 + extern void glNormal3b (GLbyte nx, GLbyte ny, GLbyte nz); 2591 + extern void glNormal3bv (const GLbyte *v); 2592 + extern void glNormal3d (GLdouble nx, GLdouble ny, GLdouble nz); 2593 + extern void glNormal3dv (const GLdouble *v); 2594 + extern void glNormal3f (GLfloat nx, GLfloat ny, GLfloat nz); 2595 + extern void glNormal3fv (const GLfloat *v); 2596 + extern void glNormal3i (GLint nx, GLint ny, GLint nz); 2597 + extern void glNormal3iv (const GLint *v); 2598 + extern void glNormal3s (GLshort nx, GLshort ny, GLshort nz); 2599 + extern void glNormal3sv (const GLshort *v); 2600 + extern void glNormalPointer (GLenum type, GLsizei stride, const GLvoid *pointer); 2601 + extern void glOrtho (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); 2602 + extern void glPassThrough (GLfloat token); 2603 + extern void glPixelMapfv (GLenum map, GLint mapsize, const GLfloat *values); 2604 + extern void glPixelMapuiv (GLenum map, GLint mapsize, const GLuint *values); 2605 + extern void glPixelMapusv (GLenum map, GLint mapsize, const GLushort *values); 2606 + extern void glPixelStoref (GLenum pname, GLfloat param); 2607 + extern void glPixelStorei (GLenum pname, GLint param); 2608 + extern void glPixelTransferf (GLenum pname, GLfloat param); 2609 + extern void glPixelTransferi (GLenum pname, GLint param); 2610 + extern void glPixelZoom (GLfloat xfactor, GLfloat yfactor); 2611 + extern void glPointSize (GLfloat size); 2612 + extern void glPolygonMode (GLenum face, GLenum mode); 2613 + extern void glPolygonOffset (GLfloat factor, GLfloat units); 2614 + extern void glPolygonStipple (const GLubyte *mask); 2615 + extern void glPopAttrib (void); 2616 + extern void glPopClientAttrib (void); 2617 + extern void glPopMatrix (void); 2618 + extern void glPopName (void); 2619 + extern void glPrioritizeTextures (GLsizei n, const GLuint *textures, const GLclampf *priorities); 2620 + extern void glPushAttrib (GLbitfield mask); 2621 + extern void glPushClientAttrib (GLbitfield mask); 2622 + extern void glPushMatrix (void); 2623 + extern void glPushName (GLuint name); 2624 + extern void glRasterPos2d (GLdouble x, GLdouble y); 2625 + extern void glRasterPos2dv (const GLdouble *v); 2626 + extern void glRasterPos2f (GLfloat x, GLfloat y); 2627 + extern void glRasterPos2fv (const GLfloat *v); 2628 + extern void glRasterPos2i (GLint x, GLint y); 2629 + extern void glRasterPos2iv (const GLint *v); 2630 + extern void glRasterPos2s (GLshort x, GLshort y); 2631 + extern void glRasterPos2sv (const GLshort *v); 2632 + extern void glRasterPos3d (GLdouble x, GLdouble y, GLdouble z); 2633 + extern void glRasterPos3dv (const GLdouble *v); 2634 + extern void glRasterPos3f (GLfloat x, GLfloat y, GLfloat z); 2635 + extern void glRasterPos3fv (const GLfloat *v); 2636 + extern void glRasterPos3i (GLint x, GLint y, GLint z); 2637 + extern void glRasterPos3iv (const GLint *v); 2638 + extern void glRasterPos3s (GLshort x, GLshort y, GLshort z); 2639 + extern void glRasterPos3sv (const GLshort *v); 2640 + extern void glRasterPos4d (GLdouble x, GLdouble y, GLdouble z, GLdouble w); 2641 + extern void glRasterPos4dv (const GLdouble *v); 2642 + extern void glRasterPos4f (GLfloat x, GLfloat y, GLfloat z, GLfloat w); 2643 + extern void glRasterPos4fv (const GLfloat *v); 2644 + extern void glRasterPos4i (GLint x, GLint y, GLint z, GLint w); 2645 + extern void glRasterPos4iv (const GLint *v); 2646 + extern void glRasterPos4s (GLshort x, GLshort y, GLshort z, GLshort w); 2647 + extern void glRasterPos4sv (const GLshort *v); 2648 + extern void glReadBuffer (GLenum mode); 2649 + extern void glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels); 2650 + extern void glRectd (GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2); 2651 + extern void glRectdv (const GLdouble *v1, const GLdouble *v2); 2652 + extern void glRectf (GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2); 2653 + extern void glRectfv (const GLfloat *v1, const GLfloat *v2); 2654 + extern void glRecti (GLint x1, GLint y1, GLint x2, GLint y2); 2655 + extern void glRectiv (const GLint *v1, const GLint *v2); 2656 + extern void glRects (GLshort x1, GLshort y1, GLshort x2, GLshort y2); 2657 + extern void glRectsv (const GLshort *v1, const GLshort *v2); 2658 + extern GLint glRenderMode (GLenum mode); 2659 + extern void glResetHistogram (GLenum target); 2660 + extern void glResetMinmax (GLenum target); 2661 + extern void glRotated (GLdouble angle, GLdouble x, GLdouble y, GLdouble z); 2662 + extern void glRotatef (GLfloat angle, GLfloat x, GLfloat y, GLfloat z); 2663 + extern void glScaled (GLdouble x, GLdouble y, GLdouble z); 2664 + extern void glScalef (GLfloat x, GLfloat y, GLfloat z); 2665 + extern void glScissor (GLint x, GLint y, GLsizei width, GLsizei height); 2666 + extern void glSelectBuffer (GLsizei size, GLuint *buffer); 2667 + extern void glSeparableFilter2D (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column); 2668 + extern void glShadeModel (GLenum mode); 2669 + extern void glStencilFunc (GLenum func, GLint ref, GLuint mask); 2670 + extern void glStencilMask (GLuint mask); 2671 + extern void glStencilOp (GLenum fail, GLenum zfail, GLenum zpass); 2672 + extern void glTexCoord1d (GLdouble s); 2673 + extern void glTexCoord1dv (const GLdouble *v); 2674 + extern void glTexCoord1f (GLfloat s); 2675 + extern void glTexCoord1fv (const GLfloat *v); 2676 + extern void glTexCoord1i (GLint s); 2677 + extern void glTexCoord1iv (const GLint *v); 2678 + extern void glTexCoord1s (GLshort s); 2679 + extern void glTexCoord1sv (const GLshort *v); 2680 + extern void glTexCoord2d (GLdouble s, GLdouble t); 2681 + extern void glTexCoord2dv (const GLdouble *v); 2682 + extern void glTexCoord2f (GLfloat s, GLfloat t); 2683 + extern void glTexCoord2fv (const GLfloat *v); 2684 + extern void glTexCoord2i (GLint s, GLint t); 2685 + extern void glTexCoord2iv (const GLint *v); 2686 + extern void glTexCoord2s (GLshort s, GLshort t); 2687 + extern void glTexCoord2sv (const GLshort *v); 2688 + extern void glTexCoord3d (GLdouble s, GLdouble t, GLdouble r); 2689 + extern void glTexCoord3dv (const GLdouble *v); 2690 + extern void glTexCoord3f (GLfloat s, GLfloat t, GLfloat r); 2691 + extern void glTexCoord3fv (const GLfloat *v); 2692 + extern void glTexCoord3i (GLint s, GLint t, GLint r); 2693 + extern void glTexCoord3iv (const GLint *v); 2694 + extern void glTexCoord3s (GLshort s, GLshort t, GLshort r); 2695 + extern void glTexCoord3sv (const GLshort *v); 2696 + extern void glTexCoord4d (GLdouble s, GLdouble t, GLdouble r, GLdouble q); 2697 + extern void glTexCoord4dv (const GLdouble *v); 2698 + extern void glTexCoord4f (GLfloat s, GLfloat t, GLfloat r, GLfloat q); 2699 + extern void glTexCoord4fv (const GLfloat *v); 2700 + extern void glTexCoord4i (GLint s, GLint t, GLint r, GLint q); 2701 + extern void glTexCoord4iv (const GLint *v); 2702 + extern void glTexCoord4s (GLshort s, GLshort t, GLshort r, GLshort q); 2703 + extern void glTexCoord4sv (const GLshort *v); 2704 + extern void glTexCoordPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); 2705 + extern void glTexEnvf (GLenum target, GLenum pname, GLfloat param); 2706 + extern void glTexEnvfv (GLenum target, GLenum pname, const GLfloat *params); 2707 + extern void glTexEnvi (GLenum target, GLenum pname, GLint param); 2708 + extern void glTexEnviv (GLenum target, GLenum pname, const GLint *params); 2709 + extern void glTexGend (GLenum coord, GLenum pname, GLdouble param); 2710 + extern void glTexGendv (GLenum coord, GLenum pname, const GLdouble *params); 2711 + extern void glTexGenf (GLenum coord, GLenum pname, GLfloat param); 2712 + extern void glTexGenfv (GLenum coord, GLenum pname, const GLfloat *params); 2713 + extern void glTexGeni (GLenum coord, GLenum pname, GLint param); 2714 + extern void glTexGeniv (GLenum coord, GLenum pname, const GLint *params); 2715 + extern void glTexImage1D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels); 2716 + extern void glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels); 2717 + extern void glTexImage3D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels); 2718 + extern void glTexParameterf (GLenum target, GLenum pname, GLfloat param); 2719 + extern void glTexParameterfv (GLenum target, GLenum pname, const GLfloat *params); 2720 + extern void glTexParameteri (GLenum target, GLenum pname, GLint param); 2721 + extern void glTexParameteriv (GLenum target, GLenum pname, const GLint *params); 2722 + extern void glTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels); 2723 + extern void glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels); 2724 + extern void glTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels); 2725 + extern void glTranslated (GLdouble x, GLdouble y, GLdouble z); 2726 + extern void glTranslatef (GLfloat x, GLfloat y, GLfloat z); 2727 + extern void glVertex2d (GLdouble x, GLdouble y); 2728 + extern void glVertex2dv (const GLdouble *v); 2729 + extern void glVertex2f (GLfloat x, GLfloat y); 2730 + extern void glVertex2fv (const GLfloat *v); 2731 + extern void glVertex2i (GLint x, GLint y); 2732 + extern void glVertex2iv (const GLint *v); 2733 + extern void glVertex2s (GLshort x, GLshort y); 2734 + extern void glVertex2sv (const GLshort *v); 2735 + extern void glVertex3d (GLdouble x, GLdouble y, GLdouble z); 2736 + extern void glVertex3dv (const GLdouble *v); 2737 + extern void glVertex3f (GLfloat x, GLfloat y, GLfloat z); 2738 + extern void glVertex3fv (const GLfloat *v); 2739 + extern void glVertex3i (GLint x, GLint y, GLint z); 2740 + extern void glVertex3iv (const GLint *v); 2741 + extern void glVertex3s (GLshort x, GLshort y, GLshort z); 2742 + extern void glVertex3sv (const GLshort *v); 2743 + extern void glVertex4d (GLdouble x, GLdouble y, GLdouble z, GLdouble w); 2744 + extern void glVertex4dv (const GLdouble *v); 2745 + extern void glVertex4f (GLfloat x, GLfloat y, GLfloat z, GLfloat w); 2746 + extern void glVertex4fv (const GLfloat *v); 2747 + extern void glVertex4i (GLint x, GLint y, GLint z, GLint w); 2748 + extern void glVertex4iv (const GLint *v); 2749 + extern void glVertex4s (GLshort x, GLshort y, GLshort z, GLshort w); 2750 + extern void glVertex4sv (const GLshort *v); 2751 + extern void glVertexPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); 2752 + extern void glViewport (GLint x, GLint y, GLsizei width, GLsizei height); 2753 + 2754 + extern void glSampleCoverage (GLclampf value, GLboolean invert); 2755 + 2756 + extern void glLoadTransposeMatrixf (const GLfloat *m); 2757 + extern void glLoadTransposeMatrixd (const GLdouble *m); 2758 + extern void glMultTransposeMatrixf (const GLfloat *m); 2759 + extern void glMultTransposeMatrixd (const GLdouble *m); 2760 + 2761 + extern void glCompressedTexImage3D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data); 2762 + extern void glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data); 2763 + extern void glCompressedTexImage1D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data); 2764 + extern void glCompressedTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data); 2765 + extern void glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data); 2766 + extern void glCompressedTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data); 2767 + extern void glGetCompressedTexImage (GLenum target, GLint lod, GLvoid *img); 2768 + 2769 + extern void glActiveTexture (GLenum texture); 2770 + extern void glClientActiveTexture (GLenum texture); 2771 + extern void glMultiTexCoord1d (GLenum target, GLdouble s); 2772 + extern void glMultiTexCoord1dv (GLenum target, const GLdouble *v); 2773 + extern void glMultiTexCoord1f (GLenum target, GLfloat s); 2774 + extern void glMultiTexCoord1fv (GLenum target, const GLfloat *v); 2775 + extern void glMultiTexCoord1i (GLenum target, GLint s); 2776 + extern void glMultiTexCoord1iv (GLenum target, const GLint *v); 2777 + extern void glMultiTexCoord1s (GLenum target, GLshort s); 2778 + extern void glMultiTexCoord1sv (GLenum target, const GLshort *v); 2779 + extern void glMultiTexCoord2d (GLenum target, GLdouble s, GLdouble t); 2780 + extern void glMultiTexCoord2dv (GLenum target, const GLdouble *v); 2781 + extern void glMultiTexCoord2f (GLenum target, GLfloat s, GLfloat t); 2782 + extern void glMultiTexCoord2fv (GLenum target, const GLfloat *v); 2783 + extern void glMultiTexCoord2i (GLenum target, GLint s, GLint t); 2784 + extern void glMultiTexCoord2iv (GLenum target, const GLint *v); 2785 + extern void glMultiTexCoord2s (GLenum target, GLshort s, GLshort t); 2786 + extern void glMultiTexCoord2sv (GLenum target, const GLshort *v); 2787 + extern void glMultiTexCoord3d (GLenum target, GLdouble s, GLdouble t, GLdouble r); 2788 + extern void glMultiTexCoord3dv (GLenum target, const GLdouble *v); 2789 + extern void glMultiTexCoord3f (GLenum target, GLfloat s, GLfloat t, GLfloat r); 2790 + extern void glMultiTexCoord3fv (GLenum target, const GLfloat *v); 2791 + extern void glMultiTexCoord3i (GLenum target, GLint s, GLint t, GLint r); 2792 + extern void glMultiTexCoord3iv (GLenum target, const GLint *v); 2793 + extern void glMultiTexCoord3s (GLenum target, GLshort s, GLshort t, GLshort r); 2794 + extern void glMultiTexCoord3sv (GLenum target, const GLshort *v); 2795 + extern void glMultiTexCoord4d (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); 2796 + extern void glMultiTexCoord4dv (GLenum target, const GLdouble *v); 2797 + extern void glMultiTexCoord4f (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); 2798 + extern void glMultiTexCoord4fv (GLenum target, const GLfloat *v); 2799 + extern void glMultiTexCoord4i (GLenum target, GLint s, GLint t, GLint r, GLint q); 2800 + extern void glMultiTexCoord4iv (GLenum target, const GLint *v); 2801 + extern void glMultiTexCoord4s (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); 2802 + extern void glMultiTexCoord4sv (GLenum target, const GLshort *v); 2803 + 2804 + extern void glFogCoordf (GLfloat coord); 2805 + extern void glFogCoordfv (const GLfloat *coord); 2806 + extern void glFogCoordd (GLdouble coord); 2807 + extern void glFogCoorddv (const GLdouble *coord); 2808 + extern void glFogCoordPointer (GLenum type, GLsizei stride, const GLvoid *pointer); 2809 + 2810 + extern void glSecondaryColor3b (GLbyte red, GLbyte green, GLbyte blue); 2811 + extern void glSecondaryColor3bv (const GLbyte *v); 2812 + extern void glSecondaryColor3d (GLdouble red, GLdouble green, GLdouble blue); 2813 + extern void glSecondaryColor3dv (const GLdouble *v); 2814 + extern void glSecondaryColor3f (GLfloat red, GLfloat green, GLfloat blue); 2815 + extern void glSecondaryColor3fv (const GLfloat *v); 2816 + extern void glSecondaryColor3i (GLint red, GLint green, GLint blue); 2817 + extern void glSecondaryColor3iv (const GLint *v); 2818 + extern void glSecondaryColor3s (GLshort red, GLshort green, GLshort blue); 2819 + extern void glSecondaryColor3sv (const GLshort *v); 2820 + extern void glSecondaryColor3ub (GLubyte red, GLubyte green, GLubyte blue); 2821 + extern void glSecondaryColor3ubv (const GLubyte *v); 2822 + extern void glSecondaryColor3ui (GLuint red, GLuint green, GLuint blue); 2823 + extern void glSecondaryColor3uiv (const GLuint *v); 2824 + extern void glSecondaryColor3us (GLushort red, GLushort green, GLushort blue); 2825 + extern void glSecondaryColor3usv (const GLushort *v); 2826 + extern void glSecondaryColorPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); 2827 + 2828 + extern void glPointParameterf (GLenum pname, GLfloat param); 2829 + extern void glPointParameterfv (GLenum pname, const GLfloat *params); 2830 + extern void glPointParameteri (GLenum pname, GLint param); 2831 + extern void glPointParameteriv (GLenum pname, const GLint *params); 2832 + 2833 + extern void glBlendFuncSeparate (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); 2834 + 2835 + extern void glMultiDrawArrays (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount); 2836 + extern void glMultiDrawElements (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei primcount); 2837 + 2838 + extern void glWindowPos2d (GLdouble x, GLdouble y); 2839 + extern void glWindowPos2dv (const GLdouble *v); 2840 + extern void glWindowPos2f (GLfloat x, GLfloat y); 2841 + extern void glWindowPos2fv (const GLfloat *v); 2842 + extern void glWindowPos2i (GLint x, GLint y); 2843 + extern void glWindowPos2iv (const GLint *v); 2844 + extern void glWindowPos2s (GLshort x, GLshort y); 2845 + extern void glWindowPos2sv (const GLshort *v); 2846 + extern void glWindowPos3d (GLdouble x, GLdouble y, GLdouble z); 2847 + extern void glWindowPos3dv (const GLdouble *v); 2848 + extern void glWindowPos3f (GLfloat x, GLfloat y, GLfloat z); 2849 + extern void glWindowPos3fv (const GLfloat *v); 2850 + extern void glWindowPos3i (GLint x, GLint y, GLint z); 2851 + extern void glWindowPos3iv (const GLint *v); 2852 + extern void glWindowPos3s (GLshort x, GLshort y, GLshort z); 2853 + extern void glWindowPos3sv (const GLshort *v); 2854 + 2855 + extern void glGenQueries (GLsizei n, GLuint *ids); 2856 + extern void glDeleteQueries (GLsizei n, const GLuint *ids); 2857 + extern GLboolean glIsQuery (GLuint id); 2858 + extern void glBeginQuery (GLenum target, GLuint id); 2859 + extern void glEndQuery (GLenum target); 2860 + extern void glGetQueryiv (GLenum target, GLenum pname, GLint *params); 2861 + extern void glGetQueryObjectiv (GLuint id, GLenum pname, GLint *params); 2862 + extern void glGetQueryObjectuiv (GLuint id, GLenum pname, GLuint *params); 2863 + 2864 + extern void glBindBuffer (GLenum target, GLuint buffer); 2865 + extern void glDeleteBuffers (GLsizei n, const GLuint *buffers); 2866 + extern void glGenBuffers (GLsizei n, GLuint *buffers); 2867 + extern GLboolean glIsBuffer (GLuint buffer); 2868 + extern void glBufferData (GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage); 2869 + extern void glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data); 2870 + extern void glGetBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data); 2871 + extern GLvoid *glMapBuffer (GLenum target, GLenum access); 2872 + extern GLboolean glUnmapBuffer (GLenum target); 2873 + extern void glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params); 2874 + extern void glGetBufferPointerv (GLenum target, GLenum pname, GLvoid **params); 2875 + 2876 + extern void glDrawBuffers (GLsizei n, const GLenum *bufs); 2877 + extern void glVertexAttrib1d (GLuint index, GLdouble x); 2878 + extern void glVertexAttrib1dv (GLuint index, const GLdouble *v); 2879 + extern void glVertexAttrib1f (GLuint index, GLfloat x); 2880 + extern void glVertexAttrib1fv (GLuint index, const GLfloat *v); 2881 + extern void glVertexAttrib1s (GLuint index, GLshort x); 2882 + extern void glVertexAttrib1sv (GLuint index, const GLshort *v); 2883 + extern void glVertexAttrib2d (GLuint index, GLdouble x, GLdouble y); 2884 + extern void glVertexAttrib2dv (GLuint index, const GLdouble *v); 2885 + extern void glVertexAttrib2f (GLuint index, GLfloat x, GLfloat y); 2886 + extern void glVertexAttrib2fv (GLuint index, const GLfloat *v); 2887 + extern void glVertexAttrib2s (GLuint index, GLshort x, GLshort y); 2888 + extern void glVertexAttrib2sv (GLuint index, const GLshort *v); 2889 + extern void glVertexAttrib3d (GLuint index, GLdouble x, GLdouble y, GLdouble z); 2890 + extern void glVertexAttrib3dv (GLuint index, const GLdouble *v); 2891 + extern void glVertexAttrib3f (GLuint index, GLfloat x, GLfloat y, GLfloat z); 2892 + extern void glVertexAttrib3fv (GLuint index, const GLfloat *v); 2893 + extern void glVertexAttrib3s (GLuint index, GLshort x, GLshort y, GLshort z); 2894 + extern void glVertexAttrib3sv (GLuint index, const GLshort *v); 2895 + extern void glVertexAttrib4Nbv (GLuint index, const GLbyte *v); 2896 + extern void glVertexAttrib4Niv (GLuint index, const GLint *v); 2897 + extern void glVertexAttrib4Nsv (GLuint index, const GLshort *v); 2898 + extern void glVertexAttrib4Nub (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); 2899 + extern void glVertexAttrib4Nubv (GLuint index, const GLubyte *v); 2900 + extern void glVertexAttrib4Nuiv (GLuint index, const GLuint *v); 2901 + extern void glVertexAttrib4Nusv (GLuint index, const GLushort *v); 2902 + extern void glVertexAttrib4bv (GLuint index, const GLbyte *v); 2903 + extern void glVertexAttrib4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 2904 + extern void glVertexAttrib4dv (GLuint index, const GLdouble *v); 2905 + extern void glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 2906 + extern void glVertexAttrib4fv (GLuint index, const GLfloat *v); 2907 + extern void glVertexAttrib4iv (GLuint index, const GLint *v); 2908 + extern void glVertexAttrib4s (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); 2909 + extern void glVertexAttrib4sv (GLuint index, const GLshort *v); 2910 + extern void glVertexAttrib4ubv (GLuint index, const GLubyte *v); 2911 + extern void glVertexAttrib4uiv (GLuint index, const GLuint *v); 2912 + extern void glVertexAttrib4usv (GLuint index, const GLushort *v); 2913 + extern void glVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer); 2914 + extern void glEnableVertexAttribArray (GLuint index); 2915 + extern void glDisableVertexAttribArray (GLuint index); 2916 + extern void glGetVertexAttribdv (GLuint index, GLenum pname, GLdouble *params); 2917 + extern void glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat *params); 2918 + extern void glGetVertexAttribiv (GLuint index, GLenum pname, GLint *params); 2919 + extern void glGetVertexAttribPointerv (GLuint index, GLenum pname, GLvoid **pointer); 2920 + extern void glDeleteShader (GLuint shader); 2921 + extern void glDetachShader (GLuint program, GLuint shader); 2922 + extern GLuint glCreateShader (GLenum type); 2923 + extern void glShaderSource (GLuint shader, GLsizei count, const GLchar* const *string, const GLint *length); 2924 + extern void glCompileShader (GLuint shader); 2925 + extern GLuint glCreateProgram (void); 2926 + extern void glAttachShader (GLuint program, GLuint shader); 2927 + extern void glLinkProgram (GLuint program); 2928 + extern void glUseProgram (GLuint program); 2929 + extern void glDeleteProgram (GLuint program); 2930 + extern void glValidateProgram (GLuint program); 2931 + extern void glUniform1f (GLint location, GLfloat v0); 2932 + extern void glUniform2f (GLint location, GLfloat v0, GLfloat v1); 2933 + extern void glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); 2934 + extern void glUniform4f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); 2935 + extern void glUniform1i (GLint location, GLint v0); 2936 + extern void glUniform2i (GLint location, GLint v0, GLint v1); 2937 + extern void glUniform3i (GLint location, GLint v0, GLint v1, GLint v2); 2938 + extern void glUniform4i (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); 2939 + extern void glUniform1fv (GLint location, GLsizei count, const GLfloat *value); 2940 + extern void glUniform2fv (GLint location, GLsizei count, const GLfloat *value); 2941 + extern void glUniform3fv (GLint location, GLsizei count, const GLfloat *value); 2942 + extern void glUniform4fv (GLint location, GLsizei count, const GLfloat *value); 2943 + extern void glUniform1iv (GLint location, GLsizei count, const GLint *value); 2944 + extern void glUniform2iv (GLint location, GLsizei count, const GLint *value); 2945 + extern void glUniform3iv (GLint location, GLsizei count, const GLint *value); 2946 + extern void glUniform4iv (GLint location, GLsizei count, const GLint *value); 2947 + extern void glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2948 + extern void glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2949 + extern void glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2950 + extern GLboolean glIsShader (GLuint shader); 2951 + extern GLboolean glIsProgram (GLuint program); 2952 + extern void glGetShaderiv (GLuint shader, GLenum pname, GLint *params); 2953 + extern void glGetProgramiv (GLuint program, GLenum pname, GLint *params); 2954 + extern void glGetAttachedShaders (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders); 2955 + extern void glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog); 2956 + extern void glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog); 2957 + extern GLint glGetUniformLocation (GLuint program, const GLchar *name); 2958 + extern void glGetActiveUniform (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); 2959 + extern void glGetUniformfv (GLuint program, GLint location, GLfloat *params); 2960 + extern void glGetUniformiv (GLuint program, GLint location, GLint *params); 2961 + extern void glGetShaderSource (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source); 2962 + extern void glBindAttribLocation (GLuint program, GLuint index, const GLchar *name); 2963 + extern void glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); 2964 + extern GLint glGetAttribLocation (GLuint program, const GLchar *name); 2965 + extern void glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask); 2966 + extern void glStencilOpSeparate (GLenum face, GLenum fail, GLenum zfail, GLenum zpass); 2967 + extern void glStencilMaskSeparate (GLenum face, GLuint mask); 2968 + 2969 + extern void glUniformMatrix2x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2970 + extern void glUniformMatrix3x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2971 + extern void glUniformMatrix2x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2972 + extern void glUniformMatrix4x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2973 + extern void glUniformMatrix3x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2974 + extern void glUniformMatrix4x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2975 + 2976 + 2977 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 2978 + 2979 + #ifdef __cplusplus 2980 + } 2981 + #endif 2982 + 2983 + #endif /* __gl_h_ */
+3735
src/OpenGL/include/OpenGL/glext.h
··· 1 + /* 2 + Copyright: (c) 1999-2012 Apple Inc. All rights reserved. 3 + */ 4 + 5 + #ifndef __glext_h_ 6 + #define __glext_h_ 7 + 8 + #include <OpenGL/gltypes.h> 9 + 10 + #ifdef __cplusplus 11 + extern "C" { 12 + #endif 13 + 14 + /* 15 + ** License Applicability. Except to the extent portions of this file are 16 + ** made subject to an alternative license as permitted in the SGI Free 17 + ** Software License B, Version 1.1 (the "License"), the contents of this 18 + ** file are subject only to the provisions of the License. You may not use 19 + ** this file except in compliance with the License. You may obtain a copy 20 + ** of the License at Silicon Graphics, Inc., attn: Legal Services, 1600 21 + ** Amphitheatre Parkway, Mountain View, CA 94043-1351, or at: 22 + ** 23 + ** http://oss.sgi.com/projects/FreeB 24 + ** 25 + ** Note that, as provided in the License, the Software is distributed on an 26 + ** "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS 27 + ** DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND 28 + ** CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A 29 + ** PARTICULAR PURPOSE, AND NON-INFRINGEMENT. 30 + ** 31 + ** Original Code. The Original Code is: OpenGL Sample Implementation, 32 + ** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics, 33 + ** Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc. 34 + ** Copyright in any portions created by third parties is as indicated 35 + ** elsewhere herein. All Rights Reserved. 36 + ** 37 + ** Additional Notice Provisions: This software was created using the 38 + ** OpenGL(R) version 1.2.1 Sample Implementation published by SGI, but has 39 + ** not been independently verified as being compliant with the OpenGL(R) 40 + ** version 1.2.1 Specification. 41 + */ 42 + 43 + /* switches to providing function pointers */ 44 + /* #define GL_GLEXT_FUNCTION_POINTERS 1 */ 45 + 46 + #define GL_ARB_color_buffer_float 1 47 + #define GL_ARB_depth_buffer_float 1 48 + #define GL_ARB_depth_clamp 1 49 + #define GL_ARB_depth_texture 1 50 + #define GL_ARB_draw_buffers 1 51 + #define GL_ARB_draw_elements_base_vertex 1 52 + #define GL_ARB_draw_instanced 1 53 + #define GL_ARB_fragment_program 1 54 + #define GL_ARB_fragment_program_shadow 1 55 + #define GL_ARB_fragment_shader 1 56 + #define GL_ARB_framebuffer_object 1 57 + #define GL_ARB_framebuffer_sRGB 1 58 + #define GL_ARB_half_float_pixel 1 59 + #define GL_ARB_half_float_vertex 1 60 + #define GL_ARB_imaging 1 61 + #define GL_ARB_instanced_arrays 1 62 + #define GL_ARB_multisample 1 63 + #define GL_ARB_multitexture 1 64 + #define GL_ARB_occlusion_query 1 65 + #define GL_ARB_pixel_buffer_object 1 66 + #define GL_ARB_point_parameters 1 67 + #define GL_ARB_point_sprite 1 68 + #define GL_ARB_provoking_vertex 1 69 + #define GL_ARB_seamless_cube_map 1 70 + #define GL_ARB_shader_objects 1 71 + #define GL_ARB_shader_texture_lod 1 72 + #define GL_ARB_shading_language_100 1 73 + #define GL_ARB_shadow 1 74 + #define GL_ARB_shadow_ambient 1 75 + #define GL_ARB_sync 1 76 + #define GL_ARB_texture_border_clamp 1 77 + #define GL_ARB_texture_compression 1 78 + #define GL_ARB_texture_compression_rgtc 1 79 + #define GL_ARB_texture_cube_map 1 80 + #define GL_ARB_texture_env_add 1 81 + #define GL_ARB_texture_env_combine 1 82 + #define GL_ARB_texture_env_crossbar 1 83 + #define GL_ARB_texture_env_dot3 1 84 + #define GL_ARB_texture_float 1 85 + #define GL_ARB_texture_mirrored_repeat 1 86 + #define GL_ARB_texture_non_power_of_two 1 87 + #define GL_ARB_texture_rectangle 1 88 + #define GL_ARB_texture_rg 1 89 + #define GL_ARB_transpose_matrix 1 90 + #define GL_ARB_vertex_array_bgra 1 91 + #define GL_ARB_vertex_blend 1 92 + #define GL_ARB_vertex_buffer_object 1 93 + #define GL_ARB_vertex_program 1 94 + #define GL_ARB_vertex_shader 1 95 + #define GL_ARB_window_pos 1 96 + #define GL_EXT_abgr 1 97 + #define GL_EXT_bgra 1 98 + #define GL_EXT_bindable_uniform 1 99 + #define GL_EXT_blend_color 1 100 + #define GL_EXT_blend_equation_separate 1 101 + #define GL_EXT_blend_func_separate 1 102 + #define GL_EXT_blend_minmax 1 103 + #define GL_EXT_blend_subtract 1 104 + #define GL_EXT_clip_volume_hint 1 105 + #define GL_EXT_debug_label 1 106 + #define GL_EXT_debug_marker 1 107 + #define GL_EXT_depth_bounds_test 1 108 + #define GL_EXT_draw_buffers2 1 109 + #define GL_EXT_draw_range_elements 1 110 + #define GL_EXT_fog_coord 1 111 + #define GL_EXT_framebuffer_blit 1 112 + #define GL_EXT_framebuffer_multisample 1 113 + #define GL_EXT_framebuffer_multisample_blit_scaled 1 114 + #define GL_EXT_framebuffer_object 1 115 + #define GL_EXT_framebuffer_sRGB 1 116 + #define GL_EXT_geometry_shader4 1 117 + #define GL_EXT_gpu_program_parameters 1 118 + #define GL_EXT_gpu_shader4 1 119 + #define GL_EXT_multi_draw_arrays 1 120 + #define GL_EXT_packed_depth_stencil 1 121 + #define GL_EXT_packed_float 1 122 + #define GL_EXT_provoking_vertex 1 123 + #define GL_EXT_rescale_normal 1 124 + #define GL_EXT_secondary_color 1 125 + #define GL_EXT_separate_specular_color 1 126 + #define GL_EXT_shadow_funcs 1 127 + #define GL_EXT_stencil_two_side 1 128 + #define GL_EXT_stencil_wrap 1 129 + #define GL_EXT_texture_array 1 130 + #define GL_EXT_texture_compression_dxt1 1 131 + #define GL_EXT_texture_compression_s3tc 1 132 + #define GL_EXT_texture_env_add 1 133 + #define GL_EXT_texture_filter_anisotropic 1 134 + #define GL_EXT_texture_integer 1 135 + #define GL_EXT_texture_lod_bias 1 136 + #define GL_EXT_texture_mirror_clamp 1 137 + #define GL_EXT_texture_rectangle 1 138 + #define GL_EXT_texture_shared_exponent 1 139 + #define GL_EXT_texture_sRGB 1 140 + #define GL_EXT_texture_sRGB_decode 1 141 + #define GL_EXT_timer_query 1 142 + #define GL_EXT_transform_feedback 1 143 + #define GL_EXT_vertex_array_bgra 1 144 + #define GL_APPLE_aux_depth_stencil 1 145 + #define GL_APPLE_client_storage 1 146 + #define GL_APPLE_element_array 1 147 + #define GL_APPLE_fence 1 148 + #define GL_APPLE_float_pixels 1 149 + #define GL_APPLE_flush_buffer_range 1 150 + #define GL_APPLE_flush_render 1 151 + #define GL_APPLE_object_purgeable 1 152 + #define GL_APPLE_packed_pixels 1 153 + #define GL_APPLE_pixel_buffer 1 154 + #define GL_APPLE_rgb_422 1 155 + #define GL_APPLE_row_bytes 1 156 + #define GL_APPLE_specular_vector 1 157 + #define GL_APPLE_texture_range 1 158 + #define GL_APPLE_transform_hint 1 159 + #define GL_APPLE_vertex_array_object 1 160 + #define GL_APPLE_vertex_array_range 1 161 + #define GL_APPLE_vertex_point_size 1 162 + #define GL_APPLE_vertex_program_evaluators 1 163 + #define GL_APPLE_ycbcr_422 1 164 + #define GL_ATI_blend_equation_separate 1 165 + #define GL_ATI_blend_weighted_minmax 1 166 + #define GL_ATI_separate_stencil 1 167 + #define GL_ATI_texture_compression_3dc 1 168 + #define GL_ATI_texture_env_combine3 1 169 + #define GL_ATI_texture_float 1 170 + #define GL_ATI_texture_mirror_once 1 171 + #define GL_IBM_rasterpos_clip 1 172 + #define GL_NV_blend_square 1 173 + #define GL_NV_conditional_render 1 174 + #define GL_NV_depth_clamp 1 175 + #define GL_NV_fog_distance 1 176 + #define GL_NV_fragment_program_option 1 177 + #define GL_NV_fragment_program2 1 178 + #define GL_NV_light_max_exponent 1 179 + #define GL_NV_multisample_filter_hint 1 180 + #define GL_NV_point_sprite 1 181 + #define GL_NV_texgen_reflection 1 182 + #define GL_NV_texture_barrier 1 183 + #define GL_NV_vertex_program2_option 1 184 + #define GL_NV_vertex_program3 1 185 + #define GL_SGI_color_matrix 1 186 + #define GL_SGIS_generate_mipmap 1 187 + #define GL_SGIS_texture_edge_clamp 1 188 + #define GL_SGIS_texture_lod 1 189 + 190 + #ifdef GL_GLEXT_WUNDEF_SUPPORT 191 + #define GL_EXT_color_subtable 0 192 + #define GL_EXT_compiled_vertex_array 0 193 + #define GL_EXT_convolution 0 194 + #define GL_EXT_copy_texture 0 195 + #define GL_EXT_histogram 0 196 + #define GL_EXT_packed_pixels 0 197 + #define GL_EXT_paletted_texture 0 198 + #define GL_EXT_polygon_offset 0 199 + #define GL_EXT_shared_texture_palette 0 200 + #define GL_EXT_subtexture 0 201 + #define GL_EXT_texture 0 202 + #define GL_EXT_texture_cube_map 0 203 + #define GL_EXT_texture_env_combine 0 204 + #define GL_EXT_texture_object 0 205 + #define GL_EXT_texture3D 0 206 + #define GL_EXT_vertex_array 0 207 + #define GL_ATI_array_rev_comps_in_4_bytes 0 208 + #define GL_ATI_pn_triangles 0 209 + #define GL_ATI_point_cull_mode 0 210 + #define GL_ATI_text_fragment_shader 0 211 + #define GL_ATIX_pn_triangles 0 212 + #define GL_HP_convolution_border_modes 0 213 + #define GL_NV_register_combiners 0 214 + #define GL_NV_register_combiners2 0 215 + #define GL_NV_texture_shader 0 216 + #define GL_NV_texture_shader2 0 217 + #define GL_NV_texture_shader3 0 218 + #define GL_NV_vertex_array_range 0 219 + #define GL_NV_vertex_array_range2 0 220 + #define GL_NV_vertex_program 0 221 + #define GL_SGI_color_table 0 222 + #define GL_SGIS_point_parameters 0 223 + #define GL_SGIS_texture_border_clamp 0 224 + #define GL_SGIX_depth_texture 0 225 + #endif 226 + 227 + /*************************************************************/ 228 + 229 + #ifndef __gltypes_h_ 230 + #if GL_ARB_half_float_pixel 231 + typedef unsigned short GLhalfARB; 232 + #endif 233 + 234 + #if GL_ARB_half_float_vertex 235 + typedef unsigned short GLhalf; 236 + #endif 237 + 238 + #if GL_ARB_shader_objects 239 + typedef char GLcharARB; 240 + typedef void *GLhandleARB; 241 + #endif 242 + 243 + #if GL_ARB_sync 244 + typedef int64_t GLint64; 245 + typedef uint64_t GLuint64; 246 + typedef struct __GLsync *GLsync; 247 + #endif 248 + 249 + #if GL_ARB_vertex_buffer_object 250 + #ifdef OPENGL_LINUX_COMPAT 251 + typedef ptrdiff_t GLsizeiptrARB; 252 + typedef ptrdiff_t GLintptrARB; 253 + #else 254 + typedef long GLsizeiptrARB; 255 + typedef long GLintptrARB; 256 + #endif 257 + #endif 258 + 259 + #if GL_EXT_timer_query 260 + typedef int64_t GLint64EXT; 261 + typedef uint64_t GLuint64EXT; 262 + #endif 263 + #endif 264 + 265 + /*************************************************************/ 266 + #define GL_GLEXT_VERSION 8 267 + 268 + #if GL_ARB_color_buffer_float 269 + #define GL_RGBA_FLOAT_MODE_ARB 0x8820 270 + #define GL_CLAMP_VERTEX_COLOR_ARB 0x891A 271 + #define GL_CLAMP_FRAGMENT_COLOR_ARB 0x891B 272 + #define GL_CLAMP_READ_COLOR_ARB 0x891C 273 + #define GL_FIXED_ONLY_ARB 0x891D 274 + #endif 275 + 276 + #if GL_ARB_depth_buffer_float 277 + #define GL_DEPTH_COMPONENT32F 0x8CAC 278 + #define GL_DEPTH32F_STENCIL8 0x8CAD 279 + #define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD 280 + #endif 281 + 282 + #if GL_ARB_depth_clamp 283 + #define GL_DEPTH_CLAMP 0x864F 284 + #endif 285 + 286 + #if GL_ARB_depth_texture 287 + #define GL_DEPTH_COMPONENT16_ARB 0x81A5 288 + #define GL_DEPTH_COMPONENT24_ARB 0x81A6 289 + #define GL_DEPTH_COMPONENT32_ARB 0x81A7 290 + #define GL_TEXTURE_DEPTH_SIZE_ARB 0x884A 291 + #define GL_DEPTH_TEXTURE_MODE_ARB 0x884B 292 + #endif 293 + 294 + #if GL_ARB_draw_buffers 295 + #define GL_MAX_DRAW_BUFFERS_ARB 0x8824 296 + #define GL_DRAW_BUFFER0_ARB 0x8825 297 + #define GL_DRAW_BUFFER1_ARB 0x8826 298 + #define GL_DRAW_BUFFER2_ARB 0x8827 299 + #define GL_DRAW_BUFFER3_ARB 0x8828 300 + #define GL_DRAW_BUFFER4_ARB 0x8829 301 + #define GL_DRAW_BUFFER5_ARB 0x882A 302 + #define GL_DRAW_BUFFER6_ARB 0x882B 303 + #define GL_DRAW_BUFFER7_ARB 0x882C 304 + #define GL_DRAW_BUFFER8_ARB 0x882D 305 + #define GL_DRAW_BUFFER9_ARB 0x882E 306 + #define GL_DRAW_BUFFER10_ARB 0x882F 307 + #define GL_DRAW_BUFFER11_ARB 0x8830 308 + #define GL_DRAW_BUFFER12_ARB 0x8831 309 + #define GL_DRAW_BUFFER13_ARB 0x8832 310 + #define GL_DRAW_BUFFER14_ARB 0x8833 311 + #define GL_DRAW_BUFFER15_ARB 0x8834 312 + #endif 313 + 314 + #if GL_ARB_fragment_program 315 + #define GL_FRAGMENT_PROGRAM_ARB 0x8804 316 + #define GL_PROGRAM_ALU_INSTRUCTIONS_ARB 0x8805 317 + #define GL_PROGRAM_TEX_INSTRUCTIONS_ARB 0x8806 318 + #define GL_PROGRAM_TEX_INDIRECTIONS_ARB 0x8807 319 + #define GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x8808 320 + #define GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x8809 321 + #define GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x880A 322 + #define GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB 0x880B 323 + #define GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB 0x880C 324 + #define GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB 0x880D 325 + #define GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x880E 326 + #define GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x880F 327 + #define GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x8810 328 + #define GL_MAX_TEXTURE_COORDS_ARB 0x8871 329 + #define GL_MAX_TEXTURE_IMAGE_UNITS_ARB 0x8872 330 + #endif 331 + 332 + #if GL_ARB_fragment_shader 333 + #define GL_FRAGMENT_SHADER_ARB 0x8B30 334 + #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB 0x8B49 335 + #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB 0x8B8B 336 + #define GL_MAX_TEXTURE_COORDS_ARB 0x8871 337 + #define GL_MAX_TEXTURE_IMAGE_UNITS_ARB 0x8872 338 + #endif 339 + 340 + #if GL_ARB_framebuffer_object 341 + #define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506 342 + #define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210 343 + #define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211 344 + #define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212 345 + #define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213 346 + #define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214 347 + #define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215 348 + #define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216 349 + #define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217 350 + #define GL_FRAMEBUFFER_DEFAULT 0x8218 351 + #define GL_FRAMEBUFFER_UNDEFINED 0x8219 352 + #define GL_DEPTH_STENCIL_ATTACHMENT 0x821A 353 + #define GL_MAX_RENDERBUFFER_SIZE 0x84E8 354 + #define GL_DEPTH_STENCIL 0x84F9 355 + #define GL_UNSIGNED_INT_24_8 0x84FA 356 + #define GL_DEPTH24_STENCIL8 0x88F0 357 + #define GL_TEXTURE_STENCIL_SIZE 0x88F1 358 + #define GL_TEXTURE_RED_TYPE 0x8C10 359 + #define GL_TEXTURE_GREEN_TYPE 0x8C11 360 + #define GL_TEXTURE_BLUE_TYPE 0x8C12 361 + #define GL_TEXTURE_ALPHA_TYPE 0x8C13 362 + #define GL_TEXTURE_DEPTH_TYPE 0x8C16 363 + #define GL_UNSIGNED_NORMALIZED 0x8C17 364 + #define GL_FRAMEBUFFER_BINDING 0x8CA6 365 + #define GL_DRAW_FRAMEBUFFER_BINDING GL_FRAMEBUFFER_BINDING 366 + #define GL_RENDERBUFFER_BINDING 0x8CA7 367 + #define GL_READ_FRAMEBUFFER 0x8CA8 368 + #define GL_DRAW_FRAMEBUFFER 0x8CA9 369 + #define GL_READ_FRAMEBUFFER_BINDING 0x8CAA 370 + #define GL_RENDERBUFFER_SAMPLES 0x8CAB 371 + #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0 372 + #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1 373 + #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2 374 + #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3 375 + #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4 376 + #define GL_FRAMEBUFFER_COMPLETE 0x8CD5 377 + #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6 378 + #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7 379 + #define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER 0x8CDB 380 + #define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER 0x8CDC 381 + #define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD 382 + #define GL_MAX_COLOR_ATTACHMENTS 0x8CDF 383 + #define GL_COLOR_ATTACHMENT0 0x8CE0 384 + #define GL_COLOR_ATTACHMENT1 0x8CE1 385 + #define GL_COLOR_ATTACHMENT2 0x8CE2 386 + #define GL_COLOR_ATTACHMENT3 0x8CE3 387 + #define GL_COLOR_ATTACHMENT4 0x8CE4 388 + #define GL_COLOR_ATTACHMENT5 0x8CE5 389 + #define GL_COLOR_ATTACHMENT6 0x8CE6 390 + #define GL_COLOR_ATTACHMENT7 0x8CE7 391 + #define GL_COLOR_ATTACHMENT8 0x8CE8 392 + #define GL_COLOR_ATTACHMENT9 0x8CE9 393 + #define GL_COLOR_ATTACHMENT10 0x8CEA 394 + #define GL_COLOR_ATTACHMENT11 0x8CEB 395 + #define GL_COLOR_ATTACHMENT12 0x8CEC 396 + #define GL_COLOR_ATTACHMENT13 0x8CED 397 + #define GL_COLOR_ATTACHMENT14 0x8CEE 398 + #define GL_COLOR_ATTACHMENT15 0x8CEF 399 + #define GL_DEPTH_ATTACHMENT 0x8D00 400 + #define GL_STENCIL_ATTACHMENT 0x8D20 401 + #define GL_FRAMEBUFFER 0x8D40 402 + #define GL_RENDERBUFFER 0x8D41 403 + #define GL_RENDERBUFFER_WIDTH 0x8D42 404 + #define GL_RENDERBUFFER_HEIGHT 0x8D43 405 + #define GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44 406 + #define GL_STENCIL_INDEX1 0x8D46 407 + #define GL_STENCIL_INDEX4 0x8D47 408 + #define GL_STENCIL_INDEX8 0x8D48 409 + #define GL_STENCIL_INDEX16 0x8D49 410 + #define GL_RENDERBUFFER_RED_SIZE 0x8D50 411 + #define GL_RENDERBUFFER_GREEN_SIZE 0x8D51 412 + #define GL_RENDERBUFFER_BLUE_SIZE 0x8D52 413 + #define GL_RENDERBUFFER_ALPHA_SIZE 0x8D53 414 + #define GL_RENDERBUFFER_DEPTH_SIZE 0x8D54 415 + #define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55 416 + #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56 417 + #define GL_MAX_SAMPLES 0x8D57 418 + #endif 419 + 420 + #if GL_ARB_framebuffer_sRGB 421 + #define GL_FRAMEBUFFER_SRGB 0x8DB9 422 + #endif 423 + 424 + #if GL_ARB_half_float_pixel 425 + #define GL_HALF_FLOAT_ARB 0x140B 426 + #endif 427 + 428 + #if GL_ARB_half_float_vertex 429 + #define GL_HALF_FLOAT 0x140B 430 + #endif 431 + 432 + #if GL_ARB_instanced_arrays 433 + #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB 0x88FE 434 + #endif 435 + 436 + #if GL_ARB_multisample 437 + #define GL_MULTISAMPLE_ARB 0x809D 438 + #define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB 0x809E 439 + #define GL_SAMPLE_ALPHA_TO_ONE_ARB 0x809F 440 + #define GL_SAMPLE_COVERAGE_ARB 0x80A0 441 + #define GL_SAMPLE_BUFFERS_ARB 0x80A8 442 + #define GL_SAMPLES_ARB 0x80A9 443 + #define GL_SAMPLE_COVERAGE_VALUE_ARB 0x80AA 444 + #define GL_SAMPLE_COVERAGE_INVERT_ARB 0x80AB 445 + #define GL_MULTISAMPLE_BIT_ARB 0x20000000 446 + #endif 447 + 448 + #if GL_ARB_multitexture 449 + #define GL_TEXTURE0_ARB 0x84C0 450 + #define GL_TEXTURE1_ARB 0x84C1 451 + #define GL_TEXTURE2_ARB 0x84C2 452 + #define GL_TEXTURE3_ARB 0x84C3 453 + #define GL_TEXTURE4_ARB 0x84C4 454 + #define GL_TEXTURE5_ARB 0x84C5 455 + #define GL_TEXTURE6_ARB 0x84C6 456 + #define GL_TEXTURE7_ARB 0x84C7 457 + #define GL_TEXTURE8_ARB 0x84C8 458 + #define GL_TEXTURE9_ARB 0x84C9 459 + #define GL_TEXTURE10_ARB 0x84CA 460 + #define GL_TEXTURE11_ARB 0x84CB 461 + #define GL_TEXTURE12_ARB 0x84CC 462 + #define GL_TEXTURE13_ARB 0x84CD 463 + #define GL_TEXTURE14_ARB 0x84CE 464 + #define GL_TEXTURE15_ARB 0x84CF 465 + #define GL_TEXTURE16_ARB 0x84D0 466 + #define GL_TEXTURE17_ARB 0x84D1 467 + #define GL_TEXTURE18_ARB 0x84D2 468 + #define GL_TEXTURE19_ARB 0x84D3 469 + #define GL_TEXTURE20_ARB 0x84D4 470 + #define GL_TEXTURE21_ARB 0x84D5 471 + #define GL_TEXTURE22_ARB 0x84D6 472 + #define GL_TEXTURE23_ARB 0x84D7 473 + #define GL_TEXTURE24_ARB 0x84D8 474 + #define GL_TEXTURE25_ARB 0x84D9 475 + #define GL_TEXTURE26_ARB 0x84DA 476 + #define GL_TEXTURE27_ARB 0x84DB 477 + #define GL_TEXTURE28_ARB 0x84DC 478 + #define GL_TEXTURE29_ARB 0x84DD 479 + #define GL_TEXTURE30_ARB 0x84DE 480 + #define GL_TEXTURE31_ARB 0x84DF 481 + #define GL_ACTIVE_TEXTURE_ARB 0x84E0 482 + #define GL_CLIENT_ACTIVE_TEXTURE_ARB 0x84E1 483 + #define GL_MAX_TEXTURE_UNITS_ARB 0x84E2 484 + #endif 485 + 486 + #if GL_ARB_occlusion_query 487 + #define GL_SAMPLES_PASSED_ARB 0x8914 488 + #define GL_QUERY_COUNTER_BITS_ARB 0x8864 489 + #define GL_CURRENT_QUERY_ARB 0x8865 490 + #define GL_QUERY_RESULT_ARB 0x8866 491 + #define GL_QUERY_RESULT_AVAILABLE_ARB 0x8867 492 + #endif 493 + 494 + #if GL_ARB_pixel_buffer_object 495 + #define GL_PIXEL_PACK_BUFFER_ARB 0x88EB 496 + #define GL_PIXEL_UNPACK_BUFFER_ARB 0x88EC 497 + #define GL_PIXEL_PACK_BUFFER_BINDING_ARB 0x88ED 498 + #define GL_PIXEL_UNPACK_BUFFER_BINDING_ARB 0x88EF 499 + #endif 500 + 501 + #if GL_ARB_point_parameters 502 + #define GL_POINT_SIZE_MIN_ARB 0x8126 503 + #define GL_POINT_SIZE_MAX_ARB 0x8127 504 + #define GL_POINT_FADE_THRESHOLD_SIZE_ARB 0x8128 505 + #define GL_POINT_DISTANCE_ATTENUATION_ARB 0x8129 506 + #endif 507 + 508 + #if GL_ARB_point_sprite 509 + #define GL_POINT_SPRITE_ARB 0x8861 510 + #define GL_COORD_REPLACE_ARB 0x8862 511 + #endif 512 + 513 + #if GL_ARB_provoking_vertex 514 + #define GL_FIRST_VERTEX_CONVENTION 0x8E4D 515 + #define GL_LAST_VERTEX_CONVENTION 0x8E4E 516 + #define GL_PROVOKING_VERTEX 0x8E4F 517 + #define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION 0x8E4C 518 + #endif 519 + 520 + #if GL_ARB_seamless_cube_map 521 + #define GL_TEXTURE_CUBE_MAP_SEAMLESS 0x884F 522 + #endif 523 + 524 + #if GL_ARB_shader_objects 525 + #define GL_PROGRAM_OBJECT_ARB 0x8B40 526 + #define GL_OBJECT_TYPE_ARB 0x8B4E 527 + #define GL_OBJECT_SUBTYPE_ARB 0x8B4F 528 + #define GL_OBJECT_DELETE_STATUS_ARB 0x8B80 529 + #define GL_OBJECT_COMPILE_STATUS_ARB 0x8B81 530 + #define GL_OBJECT_LINK_STATUS_ARB 0x8B82 531 + #define GL_OBJECT_VALIDATE_STATUS_ARB 0x8B83 532 + #define GL_OBJECT_INFO_LOG_LENGTH_ARB 0x8B84 533 + #define GL_OBJECT_ATTACHED_OBJECTS_ARB 0x8B85 534 + #define GL_OBJECT_ACTIVE_UNIFORMS_ARB 0x8B86 535 + #define GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB 0x8B87 536 + #define GL_OBJECT_SHADER_SOURCE_LENGTH_ARB 0x8B88 537 + #define GL_SHADER_OBJECT_ARB 0x8B48 538 + #define GL_FLOAT_VEC2_ARB 0x8B50 539 + #define GL_FLOAT_VEC3_ARB 0x8B51 540 + #define GL_FLOAT_VEC4_ARB 0x8B52 541 + #define GL_INT_VEC2_ARB 0x8B53 542 + #define GL_INT_VEC3_ARB 0x8B54 543 + #define GL_INT_VEC4_ARB 0x8B55 544 + #define GL_BOOL_ARB 0x8B56 545 + #define GL_BOOL_VEC2_ARB 0x8B57 546 + #define GL_BOOL_VEC3_ARB 0x8B58 547 + #define GL_BOOL_VEC4_ARB 0x8B59 548 + #define GL_FLOAT_MAT2_ARB 0x8B5A 549 + #define GL_FLOAT_MAT3_ARB 0x8B5B 550 + #define GL_FLOAT_MAT4_ARB 0x8B5C 551 + #define GL_SAMPLER_1D_ARB 0x8B5D 552 + #define GL_SAMPLER_2D_ARB 0x8B5E 553 + #define GL_SAMPLER_3D_ARB 0x8B5F 554 + #define GL_SAMPLER_CUBE_ARB 0x8B60 555 + #define GL_SAMPLER_1D_SHADOW_ARB 0x8B61 556 + #define GL_SAMPLER_2D_SHADOW_ARB 0x8B62 557 + #define GL_SAMPLER_2D_RECT_ARB 0x8B63 558 + #define GL_SAMPLER_2D_RECT_SHADOW_ARB 0x8B64 559 + #endif 560 + 561 + #if GL_ARB_shading_language_100 562 + #define GL_SHADING_LANGUAGE_VERSION_ARB 0x8B8C 563 + #endif 564 + 565 + #if GL_ARB_shadow 566 + #define GL_TEXTURE_COMPARE_MODE_ARB 0x884C 567 + #define GL_TEXTURE_COMPARE_FUNC_ARB 0x884D 568 + #define GL_COMPARE_R_TO_TEXTURE_ARB 0x884E 569 + #endif 570 + 571 + #if GL_ARB_shadow_ambient 572 + #define GL_TEXTURE_COMPARE_FAIL_VALUE_ARB 0x80BF 573 + #endif 574 + 575 + #if GL_ARB_sync 576 + #define GL_MAX_SERVER_WAIT_TIMEOUT 0x9111 577 + #define GL_OBJECT_TYPE 0x9112 578 + #define GL_SYNC_CONDITION 0x9113 579 + #define GL_SYNC_STATUS 0x9114 580 + #define GL_SYNC_FLAGS 0x9115 581 + #define GL_SYNC_FENCE 0x9116 582 + #define GL_SYNC_GPU_COMMANDS_COMPLETE 0x9117 583 + #define GL_UNSIGNALED 0x9118 584 + #define GL_SIGNALED 0x9119 585 + #define GL_ALREADY_SIGNALED 0x911A 586 + #define GL_TIMEOUT_EXPIRED 0x911B 587 + #define GL_CONDITION_SATISFIED 0x911C 588 + #define GL_WAIT_FAILED 0x911D 589 + #define GL_SYNC_FLUSH_COMMANDS_BIT 0x00000001 590 + #define GL_TIMEOUT_IGNORED 0xFFFFFFFFFFFFFFFFull 591 + #endif 592 + 593 + #if GL_ARB_texture_border_clamp 594 + #define GL_CLAMP_TO_BORDER_ARB 0x812D 595 + #endif 596 + 597 + #if GL_ARB_texture_compression 598 + #define GL_COMPRESSED_ALPHA_ARB 0x84E9 599 + #define GL_COMPRESSED_LUMINANCE_ARB 0x84EA 600 + #define GL_COMPRESSED_LUMINANCE_ALPHA_ARB 0x84EB 601 + #define GL_COMPRESSED_INTENSITY_ARB 0x84EC 602 + #define GL_COMPRESSED_RGB_ARB 0x84ED 603 + #define GL_COMPRESSED_RGBA_ARB 0x84EE 604 + #define GL_TEXTURE_COMPRESSION_HINT_ARB 0x84EF 605 + #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB 0x86A0 606 + #define GL_TEXTURE_COMPRESSED_ARB 0x86A1 607 + #define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2 608 + #define GL_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A3 609 + #endif 610 + 611 + #if GL_ARB_texture_compression_rgtc 612 + #define GL_COMPRESSED_RED_RGTC1 0x8DBB 613 + #define GL_COMPRESSED_SIGNED_RED_RGTC1 0x8DBC 614 + #define GL_COMPRESSED_RG_RGTC2 0x8DBD 615 + #define GL_COMPRESSED_SIGNED_RG_RGTC2 0x8DBE 616 + #endif 617 + 618 + #if GL_ARB_texture_cube_map 619 + #define GL_NORMAL_MAP_ARB 0x8511 620 + #define GL_REFLECTION_MAP_ARB 0x8512 621 + #define GL_TEXTURE_CUBE_MAP_ARB 0x8513 622 + #define GL_TEXTURE_BINDING_CUBE_MAP_ARB 0x8514 623 + #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x8515 624 + #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x8516 625 + #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x8517 626 + #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x8518 627 + #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x8519 628 + #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x851A 629 + #define GL_PROXY_TEXTURE_CUBE_MAP_ARB 0x851B 630 + #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB 0x851C 631 + #endif 632 + 633 + #if GL_ARB_texture_env_combine 634 + #define GL_COMBINE_ARB 0x8570 635 + #define GL_COMBINE_RGB_ARB 0x8571 636 + #define GL_COMBINE_ALPHA_ARB 0x8572 637 + #define GL_RGB_SCALE_ARB 0x8573 638 + #define GL_ADD_SIGNED_ARB 0x8574 639 + #define GL_INTERPOLATE_ARB 0x8575 640 + #define GL_CONSTANT_ARB 0x8576 641 + #define GL_PRIMARY_COLOR_ARB 0x8577 642 + #define GL_PREVIOUS_ARB 0x8578 643 + #define GL_SUBTRACT_ARB 0x84E7 644 + #define GL_SOURCE0_RGB_ARB 0x8580 645 + #define GL_SOURCE1_RGB_ARB 0x8581 646 + #define GL_SOURCE2_RGB_ARB 0x8582 647 + #define GL_SOURCE0_ALPHA_ARB 0x8588 648 + #define GL_SOURCE1_ALPHA_ARB 0x8589 649 + #define GL_SOURCE2_ALPHA_ARB 0x858A 650 + #define GL_OPERAND0_RGB_ARB 0x8590 651 + #define GL_OPERAND1_RGB_ARB 0x8591 652 + #define GL_OPERAND2_RGB_ARB 0x8592 653 + #define GL_OPERAND0_ALPHA_ARB 0x8598 654 + #define GL_OPERAND1_ALPHA_ARB 0x8599 655 + #define GL_OPERAND2_ALPHA_ARB 0x859A 656 + #endif 657 + 658 + #if GL_ARB_texture_env_dot3 659 + #define GL_DOT3_RGB_ARB 0x86AE 660 + #define GL_DOT3_RGBA_ARB 0x86AF 661 + #endif 662 + 663 + #if GL_ARB_texture_float 664 + #define GL_TEXTURE_RED_TYPE_ARB 0x8C10 665 + #define GL_TEXTURE_GREEN_TYPE_ARB 0x8C11 666 + #define GL_TEXTURE_BLUE_TYPE_ARB 0x8C12 667 + #define GL_TEXTURE_ALPHA_TYPE_ARB 0x8C13 668 + #define GL_TEXTURE_LUMINANCE_TYPE_ARB 0x8C14 669 + #define GL_TEXTURE_INTENSITY_TYPE_ARB 0x8C15 670 + #define GL_TEXTURE_DEPTH_TYPE_ARB 0x8C16 671 + #define GL_UNSIGNED_NORMALIZED_ARB 0x8C17 672 + #define GL_RGBA32F_ARB 0x8814 673 + #define GL_RGB32F_ARB 0x8815 674 + #define GL_ALPHA32F_ARB 0x8816 675 + #define GL_INTENSITY32F_ARB 0x8817 676 + #define GL_LUMINANCE32F_ARB 0x8818 677 + #define GL_LUMINANCE_ALPHA32F_ARB 0x8819 678 + #define GL_RGBA16F_ARB 0x881A 679 + #define GL_RGB16F_ARB 0x881B 680 + #define GL_ALPHA16F_ARB 0x881C 681 + #define GL_INTENSITY16F_ARB 0x881D 682 + #define GL_LUMINANCE16F_ARB 0x881E 683 + #define GL_LUMINANCE_ALPHA16F_ARB 0x881F 684 + #endif 685 + 686 + #if GL_ARB_texture_mirrored_repeat 687 + #define GL_MIRRORED_REPEAT_ARB 0x8370 688 + #endif 689 + 690 + #if GL_ARB_texture_rectangle 691 + #define GL_TEXTURE_RECTANGLE_ARB 0x84F5 692 + #define GL_TEXTURE_BINDING_RECTANGLE_ARB 0x84F6 693 + #define GL_PROXY_TEXTURE_RECTANGLE_ARB 0x84F7 694 + #define GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB 0x84F8 695 + #endif 696 + 697 + #if GL_ARB_texture_rg 698 + #define GL_COMPRESSED_RED 0x8225 699 + #define GL_COMPRESSED_RG 0x8226 700 + #define GL_RG 0x8227 701 + #define GL_RG_INTEGER 0x8228 702 + #define GL_R8 0x8229 703 + #define GL_R16 0x822A 704 + #define GL_RG8 0x822B 705 + #define GL_RG16 0x822C 706 + #define GL_R16F 0x822D 707 + #define GL_R32F 0x822E 708 + #define GL_RG16F 0x822F 709 + #define GL_RG32F 0x8230 710 + #define GL_R8I 0x8231 711 + #define GL_R8UI 0x8232 712 + #define GL_R16I 0x8233 713 + #define GL_R16UI 0x8234 714 + #define GL_R32I 0x8235 715 + #define GL_R32UI 0x8236 716 + #define GL_RG8I 0x8237 717 + #define GL_RG8UI 0x8238 718 + #define GL_RG16I 0x8239 719 + #define GL_RG16UI 0x823A 720 + #define GL_RG32I 0x823B 721 + #define GL_RG32UI 0x823C 722 + #endif 723 + 724 + #if GL_ARB_transpose_matrix 725 + #define GL_TRANSPOSE_MODELVIEW_MATRIX_ARB 0x84E3 726 + #define GL_TRANSPOSE_PROJECTION_MATRIX_ARB 0x84E4 727 + #define GL_TRANSPOSE_TEXTURE_MATRIX_ARB 0x84E5 728 + #define GL_TRANSPOSE_COLOR_MATRIX_ARB 0x84E6 729 + #endif 730 + 731 + #if GL_ARB_vertex_blend 732 + #define GL_MAX_VERTEX_UNITS_ARB 0x86A4 733 + #define GL_ACTIVE_VERTEX_UNITS_ARB 0x86A5 734 + #define GL_WEIGHT_SUM_UNITY_ARB 0x86A6 735 + #define GL_VERTEX_BLEND_ARB 0x86A7 736 + #define GL_CURRENT_WEIGHT_ARB 0x86A8 737 + #define GL_WEIGHT_ARRAY_TYPE_ARB 0x86A9 738 + #define GL_WEIGHT_ARRAY_STRIDE_ARB 0x86AA 739 + #define GL_WEIGHT_ARRAY_SIZE_ARB 0x86AB 740 + #define GL_WEIGHT_ARRAY_POINTER_ARB 0x86AC 741 + #define GL_WEIGHT_ARRAY_ARB 0x86AD 742 + #define GL_MODELVIEW0_ARB 0x1700 743 + #define GL_MODELVIEW1_ARB 0x850A 744 + #define GL_MODELVIEW2_ARB 0x8722 745 + #define GL_MODELVIEW3_ARB 0x8723 746 + #define GL_MODELVIEW4_ARB 0x8724 747 + #define GL_MODELVIEW5_ARB 0x8725 748 + #define GL_MODELVIEW6_ARB 0x8726 749 + #define GL_MODELVIEW7_ARB 0x8727 750 + #define GL_MODELVIEW8_ARB 0x8728 751 + #define GL_MODELVIEW9_ARB 0x8729 752 + #define GL_MODELVIEW10_ARB 0x872A 753 + #define GL_MODELVIEW11_ARB 0x872B 754 + #define GL_MODELVIEW12_ARB 0x872C 755 + #define GL_MODELVIEW13_ARB 0x872D 756 + #define GL_MODELVIEW14_ARB 0x872E 757 + #define GL_MODELVIEW15_ARB 0x872F 758 + #define GL_MODELVIEW16_ARB 0x8730 759 + #define GL_MODELVIEW17_ARB 0x8731 760 + #define GL_MODELVIEW18_ARB 0x8732 761 + #define GL_MODELVIEW19_ARB 0x8733 762 + #define GL_MODELVIEW20_ARB 0x8734 763 + #define GL_MODELVIEW21_ARB 0x8735 764 + #define GL_MODELVIEW22_ARB 0x8736 765 + #define GL_MODELVIEW23_ARB 0x8737 766 + #define GL_MODELVIEW24_ARB 0x8738 767 + #define GL_MODELVIEW25_ARB 0x8739 768 + #define GL_MODELVIEW26_ARB 0x873A 769 + #define GL_MODELVIEW27_ARB 0x873B 770 + #define GL_MODELVIEW28_ARB 0x873C 771 + #define GL_MODELVIEW29_ARB 0x873D 772 + #define GL_MODELVIEW30_ARB 0x873E 773 + #define GL_MODELVIEW31_ARB 0x873F 774 + #endif 775 + 776 + #if GL_ARB_vertex_buffer_object 777 + #define GL_ARRAY_BUFFER_ARB 0x8892 778 + #define GL_ELEMENT_ARRAY_BUFFER_ARB 0x8893 779 + #define GL_ARRAY_BUFFER_BINDING_ARB 0x8894 780 + #define GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB 0x8895 781 + #define GL_VERTEX_ARRAY_BUFFER_BINDING_ARB 0x8896 782 + #define GL_NORMAL_ARRAY_BUFFER_BINDING_ARB 0x8897 783 + #define GL_COLOR_ARRAY_BUFFER_BINDING_ARB 0x8898 784 + #define GL_INDEX_ARRAY_BUFFER_BINDING_ARB 0x8899 785 + #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB 0x889A 786 + #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB 0x889B 787 + #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB 0x889C 788 + #define GL_FOG_COORD_ARRAY_BUFFER_BINDING_ARB 0x889D 789 + #define GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB 0x889E 790 + #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB 0x889F 791 + #define GL_STREAM_DRAW_ARB 0x88E0 792 + #define GL_STREAM_READ_ARB 0x88E1 793 + #define GL_STREAM_COPY_ARB 0x88E2 794 + #define GL_STATIC_DRAW_ARB 0x88E4 795 + #define GL_STATIC_READ_ARB 0x88E5 796 + #define GL_STATIC_COPY_ARB 0x88E6 797 + #define GL_DYNAMIC_DRAW_ARB 0x88E8 798 + #define GL_DYNAMIC_READ_ARB 0x88E9 799 + #define GL_DYNAMIC_COPY_ARB 0x88EA 800 + #define GL_READ_ONLY_ARB 0x88B8 801 + #define GL_WRITE_ONLY_ARB 0x88B9 802 + #define GL_READ_WRITE_ARB 0x88BA 803 + #define GL_BUFFER_SIZE_ARB 0x8764 804 + #define GL_BUFFER_USAGE_ARB 0x8765 805 + #define GL_BUFFER_ACCESS_ARB 0x88BB 806 + #define GL_BUFFER_MAPPED_ARB 0x88BC 807 + #define GL_BUFFER_MAP_POINTER_ARB 0x88BD 808 + /* Obsolete */ 809 + #define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB 0x889D 810 + #endif 811 + 812 + #if GL_ARB_vertex_program 813 + #define GL_VERTEX_PROGRAM_ARB 0x8620 814 + #define GL_VERTEX_PROGRAM_POINT_SIZE_ARB 0x8642 815 + #define GL_VERTEX_PROGRAM_TWO_SIDE_ARB 0x8643 816 + #define GL_PROGRAM_FORMAT_ASCII_ARB 0x8875 817 + #define GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB 0x8622 818 + #define GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB 0x8623 819 + #define GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB 0x8624 820 + #define GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB 0x8625 821 + #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB 0x886A 822 + #define GL_CURRENT_VERTEX_ATTRIB_ARB 0x8626 823 + #define GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB 0x8645 824 + #define GL_PROGRAM_LENGTH_ARB 0x8627 825 + #define GL_PROGRAM_FORMAT_ARB 0x8876 826 + #define GL_PROGRAM_NAME_ARB 0x8677 827 + #define GL_PROGRAM_BINDING_ARB 0x8677 828 + #define GL_PROGRAM_INSTRUCTIONS_ARB 0x88A0 829 + #define GL_MAX_PROGRAM_INSTRUCTIONS_ARB 0x88A1 830 + #define GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A2 831 + #define GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A3 832 + #define GL_PROGRAM_TEMPORARIES_ARB 0x88A4 833 + #define GL_MAX_PROGRAM_TEMPORARIES_ARB 0x88A5 834 + #define GL_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A6 835 + #define GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A7 836 + #define GL_PROGRAM_PARAMETERS_ARB 0x88A8 837 + #define GL_MAX_PROGRAM_PARAMETERS_ARB 0x88A9 838 + #define GL_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AA 839 + #define GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AB 840 + #define GL_PROGRAM_ATTRIBS_ARB 0x88AC 841 + #define GL_MAX_PROGRAM_ATTRIBS_ARB 0x88AD 842 + #define GL_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AE 843 + #define GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AF 844 + #define GL_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B0 845 + #define GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B1 846 + #define GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B2 847 + #define GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B3 848 + #define GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB 0x88B4 849 + #define GL_MAX_PROGRAM_ENV_PARAMETERS_ARB 0x88B5 850 + #define GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB 0x88B6 851 + #define GL_PROGRAM_STRING_ARB 0x8628 852 + #define GL_PROGRAM_ERROR_POSITION_ARB 0x864B 853 + #define GL_CURRENT_MATRIX_ARB 0x8641 854 + #define GL_TRANSPOSE_CURRENT_MATRIX_ARB 0x88B7 855 + #define GL_CURRENT_MATRIX_STACK_DEPTH_ARB 0x8640 856 + #define GL_MAX_VERTEX_ATTRIBS_ARB 0x8869 857 + #define GL_MAX_PROGRAM_MATRICES_ARB 0x862F 858 + #define GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB 0x862E 859 + #define GL_PROGRAM_ERROR_STRING_ARB 0x8874 860 + #define GL_MATRIX0_ARB 0x88C0 861 + #define GL_MATRIX1_ARB 0x88C1 862 + #define GL_MATRIX2_ARB 0x88C2 863 + #define GL_MATRIX3_ARB 0x88C3 864 + #define GL_MATRIX4_ARB 0x88C4 865 + #define GL_MATRIX5_ARB 0x88C5 866 + #define GL_MATRIX6_ARB 0x88C6 867 + #define GL_MATRIX7_ARB 0x88C7 868 + #define GL_MATRIX8_ARB 0x88C8 869 + #define GL_MATRIX9_ARB 0x88C9 870 + #define GL_MATRIX10_ARB 0x88CA 871 + #define GL_MATRIX11_ARB 0x88CB 872 + #define GL_MATRIX12_ARB 0x88CC 873 + #define GL_MATRIX13_ARB 0x88CD 874 + #define GL_MATRIX14_ARB 0x88CE 875 + #define GL_MATRIX15_ARB 0x88CF 876 + #define GL_MATRIX16_ARB 0x88D0 877 + #define GL_MATRIX17_ARB 0x88D1 878 + #define GL_MATRIX18_ARB 0x88D2 879 + #define GL_MATRIX19_ARB 0x88D3 880 + #define GL_MATRIX20_ARB 0x88D4 881 + #define GL_MATRIX21_ARB 0x88D5 882 + #define GL_MATRIX22_ARB 0x88D6 883 + #define GL_MATRIX23_ARB 0x88D7 884 + #define GL_MATRIX24_ARB 0x88D8 885 + #define GL_MATRIX25_ARB 0x88D9 886 + #define GL_MATRIX26_ARB 0x88DA 887 + #define GL_MATRIX27_ARB 0x88DB 888 + #define GL_MATRIX28_ARB 0x88DC 889 + #define GL_MATRIX29_ARB 0x88DD 890 + #define GL_MATRIX30_ARB 0x88DE 891 + #define GL_MATRIX31_ARB 0x88DF 892 + #define GL_COLOR_SUM_ARB 0x8458 893 + #endif 894 + 895 + #if GL_ARB_vertex_shader 896 + #define GL_VERTEX_SHADER_ARB 0x8B31 897 + #define GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB 0x8B4A 898 + #define GL_MAX_TEXTURE_COORDS_ARB 0x8871 899 + #define GL_MAX_TEXTURE_IMAGE_UNITS_ARB 0x8872 900 + #define GL_MAX_VARYING_FLOATS_ARB 0x8B4B 901 + #define GL_MAX_VERTEX_ATTRIBS_ARB 0x8869 902 + #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB 0x8B4D 903 + #define GL_VERTEX_PROGRAM_POINT_SIZE_ARB 0x8642 904 + #define GL_VERTEX_PROGRAM_TWO_SIDE_ARB 0x8643 905 + #define GL_OBJECT_ACTIVE_ATTRIBUTES_ARB 0x8B89 906 + #define GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB 0x8B8A 907 + #define GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB 0x8622 908 + #define GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB 0x8623 909 + #define GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB 0x8624 910 + #define GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB 0x8625 911 + #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB 0x886A 912 + #define GL_CURRENT_VERTEX_ATTRIB_ARB 0x8626 913 + #define GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB 0x8645 914 + #endif 915 + 916 + #if GL_ARB_vertex_shader || GL_NV_vertex_program3 917 + #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB 0x8B4C 918 + #endif 919 + 920 + #if GL_EXT_abgr 921 + #define GL_ABGR_EXT 0x8000 922 + #endif 923 + 924 + #if GL_EXT_bgra 925 + #define GL_BGR_EXT 0x80E0 926 + #define GL_BGRA_EXT 0x80E1 927 + #endif 928 + 929 + #if GL_EXT_bindable_uniform 930 + #define GL_MAX_VERTEX_BINDABLE_UNIFORMS_EXT 0x8DE2 931 + #define GL_MAX_FRAGMENT_BINDABLE_UNIFORMS_EXT 0x8DE3 932 + #define GL_MAX_GEOMETRY_BINDABLE_UNIFORMS_EXT 0x8DE4 933 + #define GL_MAX_BINDABLE_UNIFORM_SIZE_EXT 0x8DED 934 + #define GL_UNIFORM_BUFFER_BINDING_EXT 0x8DEF 935 + #define GL_UNIFORM_BUFFER_EXT 0x8DEE 936 + #endif 937 + 938 + #if GL_EXT_blend_color 939 + #define GL_CONSTANT_COLOR_EXT 0x8001 940 + #define GL_ONE_MINUS_CONSTANT_COLOR_EXT 0x8002 941 + #define GL_CONSTANT_ALPHA_EXT 0x8003 942 + #define GL_ONE_MINUS_CONSTANT_ALPHA_EXT 0x8004 943 + #define GL_BLEND_COLOR_EXT 0x8005 944 + #endif 945 + 946 + #if GL_EXT_blend_equation_separate 947 + #define GL_BLEND_EQUATION_RGB_EXT 0x8009 948 + #define GL_BLEND_EQUATION_ALPHA_EXT 0x883D 949 + #endif 950 + 951 + #if GL_EXT_blend_func_separate 952 + #define GL_BLEND_DST_RGB_EXT 0x80C8 953 + #define GL_BLEND_SRC_RGB_EXT 0x80C9 954 + #define GL_BLEND_DST_ALPHA_EXT 0x80CA 955 + #define GL_BLEND_SRC_ALPHA_EXT 0x80CB 956 + #endif 957 + 958 + #if GL_EXT_blend_minmax 959 + #define GL_FUNC_ADD_EXT 0x8006 960 + #define GL_MIN_EXT 0x8007 961 + #define GL_MAX_EXT 0x8008 962 + #define GL_BLEND_EQUATION_EXT 0x8009 963 + #endif 964 + 965 + #if GL_EXT_blend_subtract 966 + #define GL_FUNC_SUBTRACT_EXT 0x800A 967 + #define GL_FUNC_REVERSE_SUBTRACT_EXT 0x800B 968 + #endif 969 + 970 + #if GL_EXT_clip_volume_hint 971 + #define GL_CLIP_VOLUME_CLIPPING_HINT_EXT 0x80F0 972 + #endif 973 + 974 + #if GL_EXT_compiled_vertex_array 975 + #define GL_ARRAY_ELEMENT_LOCK_FIRST_EXT 0x81A8 976 + #define GL_ARRAY_ELEMENT_LOCK_COUNT_EXT 0x81A9 977 + #endif 978 + 979 + #if GL_EXT_convolution 980 + #define GL_CONVOLUTION_1D_EXT 0x8010 981 + #define GL_CONVOLUTION_2D_EXT 0x8011 982 + #define GL_SEPARABLE_2D_EXT 0x8012 983 + #define GL_CONVOLUTION_BORDER_MODE_EXT 0x8013 984 + #define GL_CONVOLUTION_FILTER_SCALE_EXT 0x8014 985 + #define GL_CONVOLUTION_FILTER_BIAS_EXT 0x8015 986 + #define GL_REDUCE_EXT 0x8016 987 + #define GL_CONVOLUTION_FORMAT_EXT 0x8017 988 + #define GL_CONVOLUTION_WIDTH_EXT 0x8018 989 + #define GL_CONVOLUTION_HEIGHT_EXT 0x8019 990 + #define GL_MAX_CONVOLUTION_WIDTH_EXT 0x801A 991 + #define GL_MAX_CONVOLUTION_HEIGHT_EXT 0x801B 992 + #define GL_POST_CONVOLUTION_RED_SCALE_EXT 0x801C 993 + #define GL_POST_CONVOLUTION_GREEN_SCALE_EXT 0x801D 994 + #define GL_POST_CONVOLUTION_BLUE_SCALE_EXT 0x801E 995 + #define GL_POST_CONVOLUTION_ALPHA_SCALE_EXT 0x801F 996 + #define GL_POST_CONVOLUTION_RED_BIAS_EXT 0x8020 997 + #define GL_POST_CONVOLUTION_GREEN_BIAS_EXT 0x8021 998 + #define GL_POST_CONVOLUTION_BLUE_BIAS_EXT 0x8022 999 + #define GL_POST_CONVOLUTION_ALPHA_BIAS_EXT 0x8023 1000 + #endif 1001 + 1002 + #if GL_EXT_debug_label 1003 + #define GL_BUFFER_OBJECT_EXT 0x9151 1004 + #define GL_SHADER_OBJECT_EXT 0x8B48 1005 + #define GL_PROGRAM_OBJECT_EXT 0x8B40 1006 + #define GL_QUERY_OBJECT_EXT 0x9153 1007 + #define GL_VERTEX_ARRAY_OBJECT_EXT 0x9154 1008 + #define GL_SAMPLER 0x82E6 1009 + #define GL_SYNC_OBJECT_APPLE 0x8A53 1010 + #endif 1011 + 1012 + #if GL_EXT_depth_bounds_test 1013 + #define GL_DEPTH_BOUNDS_TEST_EXT 0x8890 1014 + #define GL_DEPTH_BOUNDS_EXT 0x8891 1015 + #endif 1016 + 1017 + #if GL_EXT_draw_range_elements 1018 + #define GL_MAX_ELEMENTS_VERTICES_EXT 0x80E8 1019 + #define GL_MAX_ELEMENTS_INDICES_EXT 0x80E9 1020 + #endif 1021 + 1022 + #if GL_EXT_fog_coord 1023 + #define GL_FOG_COORDINATE_SOURCE_EXT 0x8450 1024 + #define GL_FOG_COORDINATE_EXT 0x8451 1025 + #define GL_FRAGMENT_DEPTH_EXT 0x8452 1026 + #define GL_CURRENT_FOG_COORDINATE_EXT 0x8453 1027 + #define GL_FOG_COORDINATE_ARRAY_TYPE_EXT 0x8454 1028 + #define GL_FOG_COORDINATE_ARRAY_STRIDE_EXT 0x8455 1029 + #define GL_FOG_COORDINATE_ARRAY_POINTER_EXT 0x8456 1030 + #define GL_FOG_COORDINATE_ARRAY_EXT 0x8457 1031 + #endif 1032 + 1033 + #if GL_EXT_framebuffer_blit 1034 + #define GL_READ_FRAMEBUFFER_EXT 0x8CA8 1035 + #define GL_DRAW_FRAMEBUFFER_EXT 0x8CA9 1036 + #define GL_DRAW_FRAMEBUFFER_BINDING_EXT 0x8CA6 1037 + #define GL_READ_FRAMEBUFFER_BINDING_EXT 0x8CAA 1038 + #endif 1039 + 1040 + #if GL_EXT_framebuffer_multisample 1041 + #define GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB 1042 + #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56 1043 + #define GL_MAX_SAMPLES_EXT 0x8D57 1044 + #endif 1045 + 1046 + #if GL_EXT_framebuffer_multisample_blit_scaled 1047 + #define GL_SCALED_RESOLVE_FASTEST_EXT 0x90BA 1048 + #define GL_SCALED_RESOLVE_NICEST_EXT 0x90BB 1049 + #endif 1050 + 1051 + #if GL_EXT_framebuffer_object 1052 + #define GL_FRAMEBUFFER_EXT 0x8D40 1053 + #define GL_RENDERBUFFER_EXT 0x8D41 1054 + #define GL_STENCIL_INDEX1_EXT 0x8D46 1055 + #define GL_STENCIL_INDEX4_EXT 0x8D47 1056 + #define GL_STENCIL_INDEX8_EXT 0x8D48 1057 + #define GL_STENCIL_INDEX16_EXT 0x8D49 1058 + #define GL_RENDERBUFFER_WIDTH_EXT 0x8D42 1059 + #define GL_RENDERBUFFER_HEIGHT_EXT 0x8D43 1060 + #define GL_RENDERBUFFER_INTERNAL_FORMAT_EXT 0x8D44 1061 + #define GL_RENDERBUFFER_RED_SIZE_EXT 0x8D50 1062 + #define GL_RENDERBUFFER_GREEN_SIZE_EXT 0x8D51 1063 + #define GL_RENDERBUFFER_BLUE_SIZE_EXT 0x8D52 1064 + #define GL_RENDERBUFFER_ALPHA_SIZE_EXT 0x8D53 1065 + #define GL_RENDERBUFFER_DEPTH_SIZE_EXT 0x8D54 1066 + #define GL_RENDERBUFFER_STENCIL_SIZE_EXT 0x8D55 1067 + #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT 0x8CD0 1068 + #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT 0x8CD1 1069 + #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT 0x8CD2 1070 + #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT 0x8CD3 1071 + #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT 0x8CD4 1072 + #define GL_COLOR_ATTACHMENT0_EXT 0x8CE0 1073 + #define GL_COLOR_ATTACHMENT1_EXT 0x8CE1 1074 + #define GL_COLOR_ATTACHMENT2_EXT 0x8CE2 1075 + #define GL_COLOR_ATTACHMENT3_EXT 0x8CE3 1076 + #define GL_COLOR_ATTACHMENT4_EXT 0x8CE4 1077 + #define GL_COLOR_ATTACHMENT5_EXT 0x8CE5 1078 + #define GL_COLOR_ATTACHMENT6_EXT 0x8CE6 1079 + #define GL_COLOR_ATTACHMENT7_EXT 0x8CE7 1080 + #define GL_COLOR_ATTACHMENT8_EXT 0x8CE8 1081 + #define GL_COLOR_ATTACHMENT9_EXT 0x8CE9 1082 + #define GL_COLOR_ATTACHMENT10_EXT 0x8CEA 1083 + #define GL_COLOR_ATTACHMENT11_EXT 0x8CEB 1084 + #define GL_COLOR_ATTACHMENT12_EXT 0x8CEC 1085 + #define GL_COLOR_ATTACHMENT13_EXT 0x8CED 1086 + #define GL_COLOR_ATTACHMENT14_EXT 0x8CEE 1087 + #define GL_COLOR_ATTACHMENT15_EXT 0x8CEF 1088 + #define GL_DEPTH_ATTACHMENT_EXT 0x8D00 1089 + #define GL_STENCIL_ATTACHMENT_EXT 0x8D20 1090 + #define GL_FRAMEBUFFER_COMPLETE_EXT 0x8CD5 1091 + #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT 0x8CD6 1092 + #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT 0x8CD7 1093 + #define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT 0x8CD9 1094 + #define GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT 0x8CDA 1095 + #define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT 0x8CDB 1096 + #define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT 0x8CDC 1097 + #define GL_FRAMEBUFFER_UNSUPPORTED_EXT 0x8CDD 1098 + #define GL_FRAMEBUFFER_BINDING_EXT 0x8CA6 1099 + #define GL_RENDERBUFFER_BINDING_EXT 0x8CA7 1100 + #define GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF 1101 + #define GL_MAX_RENDERBUFFER_SIZE_EXT 0x84E8 1102 + #define GL_INVALID_FRAMEBUFFER_OPERATION_EXT 0x0506 1103 + #endif 1104 + 1105 + #if GL_EXT_framebuffer_sRGB 1106 + #define GL_FRAMEBUFFER_SRGB_EXT 0x8DB9 1107 + #define GL_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x8DBA 1108 + #endif 1109 + 1110 + #if GL_EXT_geometry_shader4 1111 + #define GL_GEOMETRY_SHADER_EXT 0x8DD9 1112 + #define GL_GEOMETRY_VERTICES_OUT_EXT 0x8DDA 1113 + #define GL_GEOMETRY_INPUT_TYPE_EXT 0x8DDB 1114 + #define GL_GEOMETRY_OUTPUT_TYPE_EXT 0x8DDC 1115 + #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT 0x8C29 1116 + #define GL_MAX_GEOMETRY_VARYING_COMPONENTS_EXT 0x8DDD 1117 + #define GL_MAX_VERTEX_VARYING_COMPONENTS_EXT 0x8DDE 1118 + #define GL_MAX_VARYING_COMPONENTS_EXT 0x8B4B 1119 + #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8DDF 1120 + #define GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT 0x8DE0 1121 + #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT 0x8DE1 1122 + #define GL_LINES_ADJACENCY_EXT 0xA 1123 + #define GL_LINE_STRIP_ADJACENCY_EXT 0xB 1124 + #define GL_TRIANGLES_ADJACENCY_EXT 0xC 1125 + #define GL_TRIANGLE_STRIP_ADJACENCY_EXT 0xD 1126 + #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT 0x8DA8 1127 + #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT 0x8DA9 1128 + #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT 0x8DA7 1129 + #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT 0x8CD4 1130 + #define GL_PROGRAM_POINT_SIZE_EXT 0x8642 1131 + #endif 1132 + 1133 + #if GL_EXT_gpu_shader4 1134 + #define GL_VERTEX_ATTRIB_ARRAY_INTEGER_EXT 0x88FD 1135 + #define GL_SAMPLER_1D_ARRAY_EXT 0x8DC0 1136 + #define GL_SAMPLER_2D_ARRAY_EXT 0x8DC1 1137 + #define GL_SAMPLER_BUFFER_EXT 0x8DC2 1138 + #define GL_SAMPLER_1D_ARRAY_SHADOW_EXT 0x8DC3 1139 + #define GL_SAMPLER_2D_ARRAY_SHADOW_EXT 0x8DC4 1140 + #define GL_SAMPLER_CUBE_SHADOW_EXT 0x8DC5 1141 + #define GL_UNSIGNED_INT_VEC2_EXT 0x8DC6 1142 + #define GL_UNSIGNED_INT_VEC3_EXT 0x8DC7 1143 + #define GL_UNSIGNED_INT_VEC4_EXT 0x8DC8 1144 + #define GL_INT_SAMPLER_1D_EXT 0x8DC9 1145 + #define GL_INT_SAMPLER_2D_EXT 0x8DCA 1146 + #define GL_INT_SAMPLER_3D_EXT 0x8DCB 1147 + #define GL_INT_SAMPLER_CUBE_EXT 0x8DCC 1148 + #define GL_INT_SAMPLER_2D_RECT_EXT 0x8DCD 1149 + #define GL_INT_SAMPLER_1D_ARRAY_EXT 0x8DCE 1150 + #define GL_INT_SAMPLER_2D_ARRAY_EXT 0x8DCF 1151 + #define GL_INT_SAMPLER_BUFFER_EXT 0x8DD0 1152 + #define GL_UNSIGNED_INT_SAMPLER_1D_EXT 0x8DD1 1153 + #define GL_UNSIGNED_INT_SAMPLER_2D_EXT 0x8DD2 1154 + #define GL_UNSIGNED_INT_SAMPLER_3D_EXT 0x8DD3 1155 + #define GL_UNSIGNED_INT_SAMPLER_CUBE_EXT 0x8DD4 1156 + #define GL_UNSIGNED_INT_SAMPLER_2D_RECT_EXT 0x8DD5 1157 + #define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY_EXT 0x8DD6 1158 + #define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY_EXT 0x8DD7 1159 + #define GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT 0x8DD8 1160 + #define GL_MIN_PROGRAM_TEXEL_OFFSET_EXT 0x8904 1161 + #define GL_MAX_PROGRAM_TEXEL_OFFSET_EXT 0x8905 1162 + #endif 1163 + 1164 + #if GL_EXT_histogram 1165 + #define GL_HISTOGRAM_EXT 0x8024 1166 + #define GL_PROXY_HISTOGRAM_EXT 0x8025 1167 + #define GL_HISTOGRAM_WIDTH_EXT 0x8026 1168 + #define GL_HISTOGRAM_FORMAT_EXT 0x8027 1169 + #define GL_HISTOGRAM_RED_SIZE_EXT 0x8028 1170 + #define GL_HISTOGRAM_GREEN_SIZE_EXT 0x8029 1171 + #define GL_HISTOGRAM_BLUE_SIZE_EXT 0x802A 1172 + #define GL_HISTOGRAM_ALPHA_SIZE_EXT 0x802B 1173 + #define GL_HISTOGRAM_LUMINANCE_SIZE_EXT 0x802C 1174 + #define GL_HISTOGRAM_SINK_EXT 0x802D 1175 + #define GL_MINMAX_EXT 0x802E 1176 + #define GL_MINMAX_FORMAT_EXT 0x802F 1177 + #define GL_MINMAX_SINK_EXT 0x8030 1178 + #define GL_TABLE_TOO_LARGE_EXT 0x8031 1179 + #endif 1180 + 1181 + #if GL_EXT_packed_depth_stencil 1182 + #define GL_DEPTH_STENCIL_EXT 0x84F9 1183 + #define GL_UNSIGNED_INT_24_8_EXT 0x84FA 1184 + #define GL_DEPTH24_STENCIL8_EXT 0x88F0 1185 + #define GL_TEXTURE_STENCIL_SIZE_EXT 0x88F1 1186 + #endif 1187 + 1188 + #if GL_EXT_packed_float 1189 + #define GL_R11F_G11F_B10F_EXT 0x8C3A 1190 + #define GL_UNSIGNED_INT_10F_11F_11F_REV_EXT 0x8C3B 1191 + #define GL_RGBA_SIGNED_COMPONENTS_EXT 0x8C3C 1192 + #endif 1193 + 1194 + #if GL_EXT_packed_pixels 1195 + #define GL_UNSIGNED_BYTE_3_3_2_EXT 0x8032 1196 + #define GL_UNSIGNED_SHORT_4_4_4_4_EXT 0x8033 1197 + #define GL_UNSIGNED_SHORT_5_5_5_1_EXT 0x8034 1198 + #define GL_UNSIGNED_INT_8_8_8_8_EXT 0x8035 1199 + #define GL_UNSIGNED_INT_10_10_10_2_EXT 0x8036 1200 + #endif 1201 + 1202 + #if GL_EXT_paletted_texture 1203 + #define GL_COLOR_INDEX1_EXT 0x80E2 1204 + #define GL_COLOR_INDEX2_EXT 0x80E3 1205 + #define GL_COLOR_INDEX4_EXT 0x80E4 1206 + #define GL_COLOR_INDEX8_EXT 0x80E5 1207 + #define GL_COLOR_INDEX12_EXT 0x80E6 1208 + #define GL_COLOR_INDEX16_EXT 0x80E7 1209 + #define GL_TEXTURE_INDEX_SIZE_EXT 0x80ED 1210 + #endif 1211 + 1212 + #if GL_EXT_polygon_offset 1213 + #define GL_POLYGON_OFFSET_EXT 0x8037 1214 + #define GL_POLYGON_OFFSET_FACTOR_EXT 0x8038 1215 + #define GL_POLYGON_OFFSET_BIAS_EXT 0x8039 1216 + #endif 1217 + 1218 + #if GL_EXT_provoking_vertex 1219 + #define GL_FIRST_VERTEX_CONVENTION_EXT 0x8E4D 1220 + #define GL_LAST_VERTEX_CONVENTION_EXT 0x8E4E 1221 + #define GL_PROVOKING_VERTEX_EXT 0x8E4F 1222 + #define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT 0x8E4C 1223 + #endif 1224 + 1225 + #if GL_EXT_rescale_normal 1226 + #define GL_RESCALE_NORMAL_EXT 0x803A 1227 + #endif 1228 + 1229 + #if GL_EXT_secondary_color 1230 + #define GL_COLOR_SUM_EXT 0x8458 1231 + #define GL_CURRENT_SECONDARY_COLOR_EXT 0x8459 1232 + #define GL_SECONDARY_COLOR_ARRAY_SIZE_EXT 0x845A 1233 + #define GL_SECONDARY_COLOR_ARRAY_TYPE_EXT 0x845B 1234 + #define GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT 0x845C 1235 + #define GL_SECONDARY_COLOR_ARRAY_POINTER_EXT 0x845D 1236 + #define GL_SECONDARY_COLOR_ARRAY_EXT 0x845E 1237 + #endif 1238 + 1239 + #if GL_EXT_separate_specular_color 1240 + #define GL_LIGHT_MODEL_COLOR_CONTROL_EXT 0x81F8 1241 + #define GL_SINGLE_COLOR_EXT 0x81F9 1242 + #define GL_SEPARATE_SPECULAR_COLOR_EXT 0x81FA 1243 + #endif 1244 + 1245 + #if GL_EXT_shared_texture_palette 1246 + #define GL_SHARED_TEXTURE_PALETTE_EXT 0x81FB 1247 + #endif 1248 + 1249 + #if GL_EXT_stencil_two_side 1250 + #define GL_STENCIL_TEST_TWO_SIDE_EXT 0x8910 1251 + #define GL_ACTIVE_STENCIL_FACE_EXT 0x8911 1252 + #endif 1253 + 1254 + #if GL_EXT_stencil_wrap 1255 + #define GL_INCR_WRAP_EXT 0x8507 1256 + #define GL_DECR_WRAP_EXT 0x8508 1257 + #endif 1258 + 1259 + #if GL_EXT_texture 1260 + #define GL_ALPHA4_EXT 0x803B 1261 + #define GL_ALPHA8_EXT 0x803C 1262 + #define GL_ALPHA12_EXT 0x803D 1263 + #define GL_ALPHA16_EXT 0x803E 1264 + #define GL_LUMINANCE4_EXT 0x803F 1265 + #define GL_LUMINANCE8_EXT 0x8040 1266 + #define GL_LUMINANCE12_EXT 0x8041 1267 + #define GL_LUMINANCE16_EXT 0x8042 1268 + #define GL_LUMINANCE4_ALPHA4_EXT 0x8043 1269 + #define GL_LUMINANCE6_ALPHA2_EXT 0x8044 1270 + #define GL_LUMINANCE8_ALPHA8_EXT 0x8045 1271 + #define GL_LUMINANCE12_ALPHA4_EXT 0x8046 1272 + #define GL_LUMINANCE12_ALPHA12_EXT 0x8047 1273 + #define GL_LUMINANCE16_ALPHA16_EXT 0x8048 1274 + #define GL_INTENSITY_EXT 0x8049 1275 + #define GL_INTENSITY4_EXT 0x804A 1276 + #define GL_INTENSITY8_EXT 0x804B 1277 + #define GL_INTENSITY12_EXT 0x804C 1278 + #define GL_INTENSITY16_EXT 0x804D 1279 + #define GL_RGB2_EXT 0x804E 1280 + #define GL_RGB4_EXT 0x804F 1281 + #define GL_RGB5_EXT 0x8050 1282 + #define GL_RGB8_EXT 0x8051 1283 + #define GL_RGB10_EXT 0x8052 1284 + #define GL_RGB12_EXT 0x8053 1285 + #define GL_RGB16_EXT 0x8054 1286 + #define GL_RGBA2_EXT 0x8055 1287 + #define GL_RGBA4_EXT 0x8056 1288 + #define GL_RGB5_A1_EXT 0x8057 1289 + #define GL_RGBA8_EXT 0x8058 1290 + #define GL_RGB10_A2_EXT 0x8059 1291 + #define GL_RGBA12_EXT 0x805A 1292 + #define GL_RGBA16_EXT 0x805B 1293 + #define GL_TEXTURE_RED_SIZE_EXT 0x805C 1294 + #define GL_TEXTURE_GREEN_SIZE_EXT 0x805D 1295 + #define GL_TEXTURE_BLUE_SIZE_EXT 0x805E 1296 + #define GL_TEXTURE_ALPHA_SIZE_EXT 0x805F 1297 + #define GL_TEXTURE_LUMINANCE_SIZE_EXT 0x8060 1298 + #define GL_TEXTURE_INTENSITY_SIZE_EXT 0x8061 1299 + #define GL_REPLACE_EXT 0x8062 1300 + #define GL_PROXY_TEXTURE_1D_EXT 0x8063 1301 + #define GL_PROXY_TEXTURE_2D_EXT 0x8064 1302 + #define GL_TEXTURE_TOO_LARGE_EXT 0x8065 1303 + #endif 1304 + 1305 + #if GL_EXT_texture3D 1306 + #define GL_PACK_SKIP_IMAGES_EXT 0x806B 1307 + #define GL_PACK_IMAGE_HEIGHT_EXT 0x806C 1308 + #define GL_UNPACK_SKIP_IMAGES_EXT 0x806D 1309 + #define GL_UNPACK_IMAGE_HEIGHT_EXT 0x806E 1310 + #define GL_TEXTURE_3D_EXT 0x806F 1311 + #define GL_PROXY_TEXTURE_3D_EXT 0x8070 1312 + #define GL_TEXTURE_DEPTH_EXT 0x8071 1313 + #define GL_TEXTURE_WRAP_R_EXT 0x8072 1314 + #define GL_MAX_3D_TEXTURE_SIZE_EXT 0x8073 1315 + #endif 1316 + 1317 + #if GL_EXT_texture_array 1318 + #define GL_TEXTURE_1D_ARRAY_EXT 0x8C18 1319 + #define GL_PROXY_TEXTURE_1D_ARRAY_EXT 0x8C19 1320 + #define GL_TEXTURE_2D_ARRAY_EXT 0x8C1A 1321 + #define GL_PROXY_TEXTURE_2D_ARRAY_EXT 0x8C1B 1322 + #define GL_TEXTURE_BINDING_1D_ARRAY_EXT 0x8C1C 1323 + #define GL_TEXTURE_BINDING_2D_ARRAY_EXT 0x8C1D 1324 + #define GL_MAX_ARRAY_TEXTURE_LAYERS_EXT 0x88FF 1325 + #define GL_COMPARE_REF_DEPTH_TO_TEXTURE_EXT 0x884E 1326 + /* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT */ 1327 + /* reuse GL_SAMPLER_1D_ARRAY_EXT */ 1328 + /* reuse GL_SAMPLER_2D_ARRAY_EXT */ 1329 + /* reuse GL_SAMPLER_1D_ARRAY_SHADOW_EXT */ 1330 + /* reuse GL_SAMPLER_2D_ARRAY_SHADOW_EXT */ 1331 + #endif 1332 + 1333 + #if GL_EXT_texture_compression_s3tc 1334 + #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0 1335 + #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1 1336 + #define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2 1337 + #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3 1338 + #endif 1339 + 1340 + #if GL_EXT_texture_cube_map 1341 + #define GL_NORMAL_MAP_EXT 0x8511 1342 + #define GL_REFLECTION_MAP_EXT 0x8512 1343 + #define GL_TEXTURE_CUBE_MAP_EXT 0x8513 1344 + #define GL_TEXTURE_BINDING_CUBE_MAP_EXT 0x8514 1345 + #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT 0x8515 1346 + #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT 0x8516 1347 + #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT 0x8517 1348 + #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT 0x8518 1349 + #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT 0x8519 1350 + #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT 0x851A 1351 + #define GL_PROXY_TEXTURE_CUBE_MAP_EXT 0x851B 1352 + #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT 0x851C 1353 + #endif 1354 + 1355 + #if GL_EXT_texture_env_combine 1356 + #define GL_COMBINE_EXT 0x8570 1357 + #define GL_COMBINE_RGB_EXT 0x8571 1358 + #define GL_COMBINE_ALPHA_EXT 0x8572 1359 + #define GL_RGB_SCALE_EXT 0x8573 1360 + #define GL_ADD_SIGNED_EXT 0x8574 1361 + #define GL_INTERPOLATE_EXT 0x8575 1362 + #define GL_CONSTANT_EXT 0x8576 1363 + #define GL_PRIMARY_COLOR_EXT 0x8577 1364 + #define GL_PREVIOUS_EXT 0x8578 1365 + #define GL_SOURCE0_RGB_EXT 0x8580 1366 + #define GL_SOURCE1_RGB_EXT 0x8581 1367 + #define GL_SOURCE2_RGB_EXT 0x8582 1368 + #define GL_SOURCE0_ALPHA_EXT 0x8588 1369 + #define GL_SOURCE1_ALPHA_EXT 0x8589 1370 + #define GL_SOURCE2_ALPHA_EXT 0x858A 1371 + #define GL_OPERAND0_RGB_EXT 0x8590 1372 + #define GL_OPERAND1_RGB_EXT 0x8591 1373 + #define GL_OPERAND2_RGB_EXT 0x8592 1374 + #define GL_OPERAND0_ALPHA_EXT 0x8598 1375 + #define GL_OPERAND1_ALPHA_EXT 0x8599 1376 + #define GL_OPERAND2_ALPHA_EXT 0x859A 1377 + #endif 1378 + 1379 + #if GL_EXT_texture_filter_anisotropic 1380 + #define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE 1381 + #define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF 1382 + #endif 1383 + 1384 + #if GL_EXT_texture_integer 1385 + #define GL_RGBA_INTEGER_MODE_EXT 0x8D9E 1386 + #define GL_RGBA32UI_EXT 0x8D70 1387 + #define GL_RGB32UI_EXT 0x8D71 1388 + #define GL_ALPHA32UI_EXT 0x8D72 1389 + #define GL_INTENSITY32UI_EXT 0x8D73 1390 + #define GL_LUMINANCE32UI_EXT 0x8D74 1391 + #define GL_LUMINANCE_ALPHA32UI_EXT 0x8D75 1392 + #define GL_RGBA16UI_EXT 0x8D76 1393 + #define GL_RGB16UI_EXT 0x8D77 1394 + #define GL_ALPHA16UI_EXT 0x8D78 1395 + #define GL_INTENSITY16UI_EXT 0x8D79 1396 + #define GL_LUMINANCE16UI_EXT 0x8D7A 1397 + #define GL_LUMINANCE_ALPHA16UI_EXT 0x8D7B 1398 + #define GL_RGBA8UI_EXT 0x8D7C 1399 + #define GL_RGB8UI_EXT 0x8D7D 1400 + #define GL_ALPHA8UI_EXT 0x8D7E 1401 + #define GL_INTENSITY8UI_EXT 0x8D7F 1402 + #define GL_LUMINANCE8UI_EXT 0x8D80 1403 + #define GL_LUMINANCE_ALPHA8UI_EXT 0x8D81 1404 + #define GL_RGBA32I_EXT 0x8D82 1405 + #define GL_RGB32I_EXT 0x8D83 1406 + #define GL_ALPHA32I_EXT 0x8D84 1407 + #define GL_INTENSITY32I_EXT 0x8D85 1408 + #define GL_LUMINANCE32I_EXT 0x8D86 1409 + #define GL_LUMINANCE_ALPHA32I_EXT 0x8D87 1410 + #define GL_RGBA16I_EXT 0x8D88 1411 + #define GL_RGB16I_EXT 0x8D89 1412 + #define GL_ALPHA16I_EXT 0x8D8A 1413 + #define GL_INTENSITY16I_EXT 0x8D8B 1414 + #define GL_LUMINANCE16I_EXT 0x8D8C 1415 + #define GL_LUMINANCE_ALPHA16I_EXT 0x8D8D 1416 + #define GL_RGBA8I_EXT 0x8D8E 1417 + #define GL_RGB8I_EXT 0x8D8F 1418 + #define GL_ALPHA8I_EXT 0x8D90 1419 + #define GL_INTENSITY8I_EXT 0x8D91 1420 + #define GL_LUMINANCE8I_EXT 0x8D92 1421 + #define GL_LUMINANCE_ALPHA8I_EXT 0x8D93 1422 + #define GL_RED_INTEGER_EXT 0x8D94 1423 + #define GL_GREEN_INTEGER_EXT 0x8D95 1424 + #define GL_BLUE_INTEGER_EXT 0x8D96 1425 + #define GL_ALPHA_INTEGER_EXT 0x8D97 1426 + #define GL_RGB_INTEGER_EXT 0x8D98 1427 + #define GL_RGBA_INTEGER_EXT 0x8D99 1428 + #define GL_BGR_INTEGER_EXT 0x8D9A 1429 + #define GL_BGRA_INTEGER_EXT 0x8D9B 1430 + #define GL_LUMINANCE_INTEGER_EXT 0x8D9C 1431 + #define GL_LUMINANCE_ALPHA_INTEGER_EXT 0x8D9D 1432 + #endif 1433 + 1434 + #if GL_EXT_texture_lod_bias 1435 + #define GL_MAX_TEXTURE_LOD_BIAS_EXT 0x84FD 1436 + #define GL_TEXTURE_FILTER_CONTROL_EXT 0x8500 1437 + #define GL_TEXTURE_LOD_BIAS_EXT 0x8501 1438 + #endif 1439 + 1440 + #if GL_EXT_texture_mirror_clamp 1441 + #define GL_MIRROR_CLAMP_EXT 0x8742 1442 + #define GL_MIRROR_CLAMP_TO_EDGE_EXT 0x8743 1443 + #define GL_MIRROR_CLAMP_TO_BORDER_EXT 0x8912 1444 + #endif 1445 + 1446 + #if GL_EXT_texture_object 1447 + #define GL_TEXTURE_PRIORITY_EXT 0x8066 1448 + #define GL_TEXTURE_RESIDENT_EXT 0x8067 1449 + #define GL_TEXTURE_1D_BINDING_EXT 0x8068 1450 + #define GL_TEXTURE_2D_BINDING_EXT 0x8069 1451 + #define GL_TEXTURE_3D_BINDING_EXT 0x806A 1452 + #endif 1453 + 1454 + #if GL_EXT_texture_rectangle 1455 + #define GL_TEXTURE_RECTANGLE_EXT 0x84F5 1456 + #define GL_TEXTURE_BINDING_RECTANGLE_EXT 0x84F6 1457 + #define GL_PROXY_TEXTURE_RECTANGLE_EXT 0x84F7 1458 + #define GL_MAX_RECTANGLE_TEXTURE_SIZE_EXT 0x84F8 1459 + #endif 1460 + 1461 + #if GL_EXT_texture_shared_exponent 1462 + #define GL_RGB9_E5_EXT 0x8C3D 1463 + #define GL_UNSIGNED_INT_5_9_9_9_REV_EXT 0x8C3E 1464 + #define GL_TEXTURE_SHARED_SIZE_EXT 0x8C3F 1465 + #endif 1466 + 1467 + #if GL_EXT_texture_sRGB 1468 + #define GL_SRGB_EXT 0x8C40 1469 + #define GL_SRGB8_EXT 0x8C41 1470 + #define GL_SRGB_ALPHA_EXT 0x8C42 1471 + #define GL_SRGB8_ALPHA8_EXT 0x8C43 1472 + #define GL_SLUMINANCE_ALPHA_EXT 0x8C44 1473 + #define GL_SLUMINANCE8_ALPHA8_EXT 0x8C45 1474 + #define GL_SLUMINANCE_EXT 0x8C46 1475 + #define GL_SLUMINANCE8_EXT 0x8C47 1476 + #define GL_COMPRESSED_SRGB_EXT 0x8C48 1477 + #define GL_COMPRESSED_SRGB_ALPHA_EXT 0x8C49 1478 + #define GL_COMPRESSED_SLUMINANCE_EXT 0x8C4A 1479 + #define GL_COMPRESSED_SLUMINANCE_ALPHA_EXT 0x8C4B 1480 + #define GL_COMPRESSED_SRGB_S3TC_DXT1_EXT 0x8C4C 1481 + #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT 0x8C4D 1482 + #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT 0x8C4E 1483 + #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 0x8C4F 1484 + #endif 1485 + 1486 + #if GL_EXT_texture_sRGB_decode 1487 + #define GL_TEXTURE_SRGB_DECODE_EXT 0x8A48 1488 + #define GL_DECODE_EXT 0x8A49 1489 + #define GL_SKIP_DECODE_EXT 0x8A4A 1490 + #endif 1491 + 1492 + #if GL_EXT_timer_query 1493 + #define GL_TIME_ELAPSED_EXT 0x88BF 1494 + #endif 1495 + 1496 + #if GL_EXT_transform_feedback 1497 + #define GL_TRANSFORM_FEEDBACK_BUFFER_EXT 0x8C8E 1498 + #define GL_TRANSFORM_FEEDBACK_BUFFER_START_EXT 0x8C84 1499 + #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_EXT 0x8C85 1500 + #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_EXT 0x8C8F 1501 + #define GL_INTERLEAVED_ATTRIBS_EXT 0x8C8C 1502 + #define GL_SEPARATE_ATTRIBS_EXT 0x8C8D 1503 + #define GL_PRIMITIVES_GENERATED_EXT 0x8C87 1504 + #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_EXT 0x8C88 1505 + #define GL_RASTERIZER_DISCARD_EXT 0x8C89 1506 + #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_EXT 0x8C8A 1507 + #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_EXT 0x8C8B 1508 + #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_EXT 0x8C80 1509 + #define GL_TRANSFORM_FEEDBACK_VARYINGS_EXT 0x8C83 1510 + #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_EXT 0x8C7F 1511 + #define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH_EXT 0x8C76 1512 + #endif 1513 + 1514 + #if GL_EXT_vertex_array 1515 + #define GL_VERTEX_ARRAY_EXT 0x8074 1516 + #define GL_NORMAL_ARRAY_EXT 0x8075 1517 + #define GL_COLOR_ARRAY_EXT 0x8076 1518 + #define GL_INDEX_ARRAY_EXT 0x8077 1519 + #define GL_TEXTURE_COORD_ARRAY_EXT 0x8078 1520 + #define GL_EDGE_FLAG_ARRAY_EXT 0x8079 1521 + #define GL_VERTEX_ARRAY_SIZE_EXT 0x807A 1522 + #define GL_VERTEX_ARRAY_TYPE_EXT 0x807B 1523 + #define GL_VERTEX_ARRAY_STRIDE_EXT 0x807C 1524 + #define GL_VERTEX_ARRAY_COUNT_EXT 0x807D 1525 + #define GL_NORMAL_ARRAY_TYPE_EXT 0x807E 1526 + #define GL_NORMAL_ARRAY_STRIDE_EXT 0x807F 1527 + #define GL_NORMAL_ARRAY_COUNT_EXT 0x8080 1528 + #define GL_COLOR_ARRAY_SIZE_EXT 0x8081 1529 + #define GL_COLOR_ARRAY_TYPE_EXT 0x8082 1530 + #define GL_COLOR_ARRAY_STRIDE_EXT 0x8083 1531 + #define GL_COLOR_ARRAY_COUNT_EXT 0x8084 1532 + #define GL_INDEX_ARRAY_TYPE_EXT 0x8085 1533 + #define GL_INDEX_ARRAY_STRIDE_EXT 0x8086 1534 + #define GL_INDEX_ARRAY_COUNT_EXT 0x8087 1535 + #define GL_TEXTURE_COORD_ARRAY_SIZE_EXT 0x8088 1536 + #define GL_TEXTURE_COORD_ARRAY_TYPE_EXT 0x8089 1537 + #define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT 0x808A 1538 + #define GL_TEXTURE_COORD_ARRAY_COUNT_EXT 0x808B 1539 + #define GL_EDGE_FLAG_ARRAY_STRIDE_EXT 0x808C 1540 + #define GL_EDGE_FLAG_ARRAY_COUNT_EXT 0x808D 1541 + #define GL_VERTEX_ARRAY_POINTER_EXT 0x808E 1542 + #define GL_NORMAL_ARRAY_POINTER_EXT 0x808F 1543 + #define GL_COLOR_ARRAY_POINTER_EXT 0x8090 1544 + #define GL_INDEX_ARRAY_POINTER_EXT 0x8091 1545 + #define GL_TEXTURE_COORD_ARRAY_POINTER_EXT 0x8092 1546 + #define GL_EDGE_FLAG_ARRAY_POINTER_EXT 0x8093 1547 + #endif 1548 + 1549 + #if GL_APPLE_aux_depth_stencil 1550 + #define GL_AUX_DEPTH_STENCIL_APPLE 0x8A14 1551 + #endif 1552 + 1553 + #if GL_APPLE_client_storage 1554 + #define GL_UNPACK_CLIENT_STORAGE_APPLE 0x85B2 1555 + #endif 1556 + 1557 + #if GL_APPLE_element_array 1558 + #define GL_ELEMENT_ARRAY_APPLE 0x8A0C 1559 + #define GL_ELEMENT_ARRAY_TYPE_APPLE 0x8A0D 1560 + #define GL_ELEMENT_ARRAY_POINTER_APPLE 0x8A0E 1561 + #endif 1562 + 1563 + #if GL_APPLE_fence 1564 + #define GL_DRAW_PIXELS_APPLE 0x8A0A 1565 + #define GL_FENCE_APPLE 0x8A0B 1566 + #define GL_BUFFER_OBJECT_APPLE 0x85B3 1567 + #endif 1568 + 1569 + #if GL_APPLE_float_pixels 1570 + #define GL_HALF_APPLE 0x140B 1571 + #define GL_COLOR_FLOAT_APPLE 0x8A0F 1572 + #define GL_RGBA_FLOAT32_APPLE 0x8814 1573 + #define GL_RGB_FLOAT32_APPLE 0x8815 1574 + #define GL_ALPHA_FLOAT32_APPLE 0x8816 1575 + #define GL_INTENSITY_FLOAT32_APPLE 0x8817 1576 + #define GL_LUMINANCE_FLOAT32_APPLE 0x8818 1577 + #define GL_LUMINANCE_ALPHA_FLOAT32_APPLE 0x8819 1578 + #define GL_RGBA_FLOAT16_APPLE 0x881A 1579 + #define GL_RGB_FLOAT16_APPLE 0x881B 1580 + #define GL_ALPHA_FLOAT16_APPLE 0x881C 1581 + #define GL_INTENSITY_FLOAT16_APPLE 0x881D 1582 + #define GL_LUMINANCE_FLOAT16_APPLE 0x881E 1583 + #define GL_LUMINANCE_ALPHA_FLOAT16_APPLE 0x881F 1584 + #endif 1585 + 1586 + #if GL_APPLE_flush_buffer_range 1587 + #define GL_BUFFER_SERIALIZED_MODIFY_APPLE 0x8A12 1588 + #define GL_BUFFER_FLUSHING_UNMAP_APPLE 0x8A13 1589 + #endif 1590 + 1591 + #if GL_APPLE_object_purgeable 1592 + #define GL_RELEASED_APPLE 0x8A19 1593 + #define GL_VOLATILE_APPLE 0x8A1A 1594 + #define GL_RETAINED_APPLE 0x8A1B 1595 + #define GL_UNDEFINED_APPLE 0x8A1C 1596 + #define GL_PURGEABLE_APPLE 0x8A1D 1597 + #endif 1598 + 1599 + #if GL_APPLE_pixel_buffer 1600 + #define GL_MIN_PBUFFER_VIEWPORT_DIMS_APPLE 0x8A10 1601 + #endif 1602 + 1603 + #if GL_APPLE_rgb_422 1604 + #define GL_RGB_422_APPLE 0x8A1F 1605 + #endif 1606 + 1607 + #if GL_APPLE_row_bytes 1608 + #define GL_PACK_ROW_BYTES_APPLE 0x8A15 1609 + #define GL_UNPACK_ROW_BYTES_APPLE 0x8A16 1610 + #define GL_PACK_IMAGE_BYTES_APPLE 0x8A17 1611 + #define GL_UNPACK_IMAGE_BYTES_APPLE 0x8A18 1612 + #endif 1613 + 1614 + #if GL_APPLE_specular_vector 1615 + #define GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE 0x85B0 1616 + #endif 1617 + 1618 + #if GL_APPLE_texture_range 1619 + #define GL_TEXTURE_RANGE_LENGTH_APPLE 0x85B7 1620 + #define GL_TEXTURE_RANGE_POINTER_APPLE 0x85B8 1621 + #define GL_TEXTURE_STORAGE_HINT_APPLE 0x85BC 1622 + #define GL_TEXTURE_MINIMIZE_STORAGE_APPLE 0x85B6 1623 + #define GL_STORAGE_PRIVATE_APPLE 0x85BD 1624 + #define GL_STORAGE_CACHED_APPLE 0x85BE 1625 + #define GL_STORAGE_SHARED_APPLE 0x85BF 1626 + #endif 1627 + 1628 + #if GL_APPLE_transform_hint 1629 + #define GL_TRANSFORM_HINT_APPLE 0x85B1 1630 + #endif 1631 + 1632 + #if GL_APPLE_vertex_array_object 1633 + #define GL_VERTEX_ARRAY_BINDING_APPLE 0x85B5 1634 + #endif 1635 + 1636 + #if GL_APPLE_vertex_array_range 1637 + #define GL_VERTEX_ARRAY_RANGE_APPLE 0x851D 1638 + #define GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE 0x851E 1639 + #define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_APPLE 0x8520 1640 + #define GL_VERTEX_ARRAY_RANGE_POINTER_APPLE 0x8521 1641 + #define GL_VERTEX_ARRAY_STORAGE_HINT_APPLE 0x851F 1642 + #define GL_STORAGE_CLIENT_APPLE 0x85B4 1643 + #define GL_STORAGE_PRIVATE_APPLE 0x85BD 1644 + #define GL_STORAGE_CACHED_APPLE 0x85BE 1645 + #define GL_STORAGE_SHARED_APPLE 0x85BF 1646 + #endif 1647 + 1648 + #if GL_APPLE_vertex_point_size 1649 + #define GL_VERTEX_POINT_SIZE_APPLE 0x8A26 1650 + #define GL_CURRENT_POINT_SIZE_APPLE 0x8A27 1651 + #define GL_POINT_SIZE_ARRAY_APPLE 0x8B9C 1652 + #define GL_POINT_SIZE_ARRAY_TYPE_APPLE 0x898A 1653 + #define GL_POINT_SIZE_ARRAY_STRIDE_APPLE 0x898B 1654 + #define GL_POINT_SIZE_ARRAY_POINTER_APPLE 0x898C 1655 + #define GL_POINT_SIZE_ARRAY_BUFFER_BINDING_APPLE 0x8B9F 1656 + #endif 1657 + 1658 + #if GL_APPLE_vertex_program_evaluators 1659 + #define GL_VERTEX_ATTRIB_MAP1_APPLE 0x8A00 1660 + #define GL_VERTEX_ATTRIB_MAP2_APPLE 0x8A01 1661 + #define GL_VERTEX_ATTRIB_MAP1_SIZE_APPLE 0x8A02 1662 + #define GL_VERTEX_ATTRIB_MAP1_COEFF_APPLE 0x8A03 1663 + #define GL_VERTEX_ATTRIB_MAP1_ORDER_APPLE 0x8A04 1664 + #define GL_VERTEX_ATTRIB_MAP1_DOMAIN_APPLE 0x8A05 1665 + #define GL_VERTEX_ATTRIB_MAP2_SIZE_APPLE 0x8A06 1666 + #define GL_VERTEX_ATTRIB_MAP2_COEFF_APPLE 0x8A07 1667 + #define GL_VERTEX_ATTRIB_MAP2_ORDER_APPLE 0x8A08 1668 + #define GL_VERTEX_ATTRIB_MAP2_DOMAIN_APPLE 0x8A09 1669 + #endif 1670 + 1671 + #if GL_APPLE_ycbcr_422 1672 + #define GL_YCBCR_422_APPLE 0x85B9 1673 + #endif 1674 + 1675 + #if GL_APPLE_ycbcr_422 || GL_APPLE_rgb_422 1676 + #define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA 1677 + #define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB 1678 + #endif 1679 + 1680 + #if GL_ATI_array_rev_comps_in_4_bytes 1681 + #define GL_ARRAY_REV_COMPS_IN_4_BYTES_ATI 0x897C 1682 + #endif 1683 + 1684 + #if GL_ATI_blend_equation_separate 1685 + #define GL_ALPHA_BLEND_EQUATION_ATI 0x883D 1686 + #endif 1687 + 1688 + #if GL_ATI_blend_weighted_minmax 1689 + #define GL_MIN_WEIGHTED_ATI 0x877D 1690 + #define GL_MAX_WEIGHTED_ATI 0x877E 1691 + #endif 1692 + 1693 + #if GL_ATI_pn_triangles 1694 + #define GL_PN_TRIANGLES_ATI 0x6090 1695 + #define GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x6091 1696 + #define GL_PN_TRIANGLES_POINT_MODE_ATI 0x6092 1697 + #define GL_PN_TRIANGLES_NORMAL_MODE_ATI 0x6093 1698 + #define GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x6094 1699 + #define GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI 0x6095 1700 + #define GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI 0x6096 1701 + #define GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI 0x6097 1702 + #define GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI 0x6098 1703 + #endif 1704 + 1705 + #if GL_ATI_point_cull_mode 1706 + #define GL_POINT_CULL_MODE_ATI 0x60B3 1707 + #define GL_POINT_CULL_CENTER_ATI 0x60B4 1708 + #define GL_POINT_CULL_CLIP_ATI 0x60B5 1709 + #endif 1710 + 1711 + #if GL_ATI_separate_stencil 1712 + #define GL_STENCIL_BACK_FUNC_ATI 0x8800 1713 + #define GL_STENCIL_BACK_FAIL_ATI 0x8801 1714 + #define GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI 0x8802 1715 + #define GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI 0x8803 1716 + #endif 1717 + 1718 + #if GL_ATI_text_fragment_shader 1719 + #define GL_TEXT_FRAGMENT_SHADER_ATI 0x8200 1720 + #endif 1721 + 1722 + #if GL_ATI_texture_compression_3dc 1723 + #define GL_COMPRESSED_LUMINANCE_ALPHA_3DC_ATI 0x8837 1724 + #endif 1725 + 1726 + #if GL_ATI_texture_env_combine3 1727 + #define GL_MODULATE_ADD_ATI 0x8744 1728 + #define GL_MODULATE_SIGNED_ADD_ATI 0x8745 1729 + #define GL_MODULATE_SUBTRACT_ATI 0x8746 1730 + #endif 1731 + 1732 + #if GL_ATI_texture_float 1733 + #define GL_RGBA_FLOAT32_ATI 0x8814 1734 + #define GL_RGB_FLOAT32_ATI 0x8815 1735 + #define GL_ALPHA_FLOAT32_ATI 0x8816 1736 + #define GL_INTENSITY_FLOAT32_ATI 0x8817 1737 + #define GL_LUMINANCE_FLOAT32_ATI 0x8818 1738 + #define GL_LUMINANCE_ALPHA_FLOAT32_ATI 0x8819 1739 + #define GL_RGBA_FLOAT16_ATI 0x881A 1740 + #define GL_RGB_FLOAT16_ATI 0x881B 1741 + #define GL_ALPHA_FLOAT16_ATI 0x881C 1742 + #define GL_INTENSITY_FLOAT16_ATI 0x881D 1743 + #define GL_LUMINANCE_FLOAT16_ATI 0x881E 1744 + #define GL_LUMINANCE_ALPHA_FLOAT16_ATI 0x881F 1745 + #endif 1746 + 1747 + #if GL_ATI_texture_mirror_once 1748 + #define GL_MIRROR_CLAMP_ATI 0x8742 1749 + #define GL_MIRROR_CLAMP_TO_EDGE_ATI 0x8743 1750 + #endif 1751 + 1752 + #if GL_ATIX_pn_triangles 1753 + #define GL_PN_TRIANGLES_ATIX 0x6090 1754 + #define GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATIX 0x6091 1755 + #define GL_PN_TRIANGLES_POINT_MODE_ATIX 0x6092 1756 + #define GL_PN_TRIANGLES_NORMAL_MODE_ATIX 0x6093 1757 + #define GL_PN_TRIANGLES_TESSELATION_LEVEL_ATIX 0x6094 1758 + #define GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATIX 0x6095 1759 + #define GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATIX 0x6096 1760 + #define GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATIX 0x6097 1761 + #define GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATIX 0x6098 1762 + #endif 1763 + 1764 + #if GL_HP_convolution_border_modes 1765 + #define GL_IGNORE_BORDER_HP 0x8150 1766 + #define GL_CONSTANT_BORDER_HP 0x8151 1767 + #define GL_REPLICATE_BORDER_HP 0x8153 1768 + #define GL_CONVOLUTION_BORDER_COLOR_HP 0x8154 1769 + #endif 1770 + 1771 + #if GL_IBM_rasterpos_clip 1772 + #define GL_RASTER_POSITION_UNCLIPPED_IBM 0x19262 1773 + #endif 1774 + 1775 + #if GL_NV_conditional_render 1776 + #define GL_QUERY_WAIT_NV 0x8E13 1777 + #define GL_QUERY_NO_WAIT_NV 0x8E14 1778 + #define GL_QUERY_BY_REGION_WAIT_NV 0x8E15 1779 + #define GL_QUERY_BY_REGION_NO_WAIT_NV 0x8E16 1780 + #endif 1781 + 1782 + #if GL_NV_depth_clamp 1783 + #define GL_DEPTH_CLAMP_NV 0x864F 1784 + #endif 1785 + 1786 + #if GL_NV_fog_distance 1787 + #define GL_FOG_DISTANCE_MODE_NV 0x855A 1788 + #define GL_EYE_RADIAL_NV 0x855B 1789 + #define GL_EYE_PLANE_ABSOLUTE_NV 0x855C 1790 + /* reuse GL_EYE_PLANE */ 1791 + #endif 1792 + 1793 + #if GL_NV_fragment_program2 1794 + #define GL_MAX_PROGRAM_IF_DEPTH_NV 0x88F6 1795 + #define GL_MAX_PROGRAM_LOOP_DEPTH_NV 0x88F7 1796 + #define GL_MAX_PROGRAM_LOOP_COUNT_NV 0x88F8 1797 + #endif 1798 + 1799 + #if GL_NV_fragment_program2 || GL_NV_vertex_program2_option 1800 + #define GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV 0x88F4 1801 + #define GL_MAX_PROGRAM_CALL_DEPTH_NV 0x88F5 1802 + #endif 1803 + 1804 + #if GL_NV_light_max_exponent 1805 + #define GL_MAX_SHININESS_NV 0x8504 1806 + #define GL_MAX_SPOT_EXPONENT_NV 0x8505 1807 + #endif 1808 + 1809 + #if GL_NV_multisample_filter_hint 1810 + #define GL_MULTISAMPLE_FILTER_HINT_NV 0x8534 1811 + #endif 1812 + 1813 + #if GL_NV_point_sprite 1814 + #define GL_POINT_SPRITE_NV 0x8861 1815 + #define GL_COORD_REPLACE_NV 0x8862 1816 + #define GL_POINT_SPRITE_R_MODE_NV 0x8863 1817 + #endif 1818 + 1819 + #if GL_NV_register_combiners 1820 + #define GL_REGISTER_COMBINERS_NV 0x8522 1821 + #define GL_VARIABLE_A_NV 0x8523 1822 + #define GL_VARIABLE_B_NV 0x8524 1823 + #define GL_VARIABLE_C_NV 0x8525 1824 + #define GL_VARIABLE_D_NV 0x8526 1825 + #define GL_VARIABLE_E_NV 0x8527 1826 + #define GL_VARIABLE_F_NV 0x8528 1827 + #define GL_VARIABLE_G_NV 0x8529 1828 + #define GL_CONSTANT_COLOR0_NV 0x852A 1829 + #define GL_CONSTANT_COLOR1_NV 0x852B 1830 + #define GL_PRIMARY_COLOR_NV 0x852C 1831 + #define GL_SECONDARY_COLOR_NV 0x852D 1832 + #define GL_SPARE0_NV 0x852E 1833 + #define GL_SPARE1_NV 0x852F 1834 + #define GL_DISCARD_NV 0x8530 1835 + #define GL_E_TIMES_F_NV 0x8531 1836 + #define GL_SPARE0_PLUS_SECONDARY_COLOR_NV 0x8532 1837 + #define GL_UNSIGNED_IDENTITY_NV 0x8536 1838 + #define GL_UNSIGNED_INVERT_NV 0x8537 1839 + #define GL_EXPAND_NORMAL_NV 0x8538 1840 + #define GL_EXPAND_NEGATE_NV 0x8539 1841 + #define GL_HALF_BIAS_NORMAL_NV 0x853A 1842 + #define GL_HALF_BIAS_NEGATE_NV 0x853B 1843 + #define GL_SIGNED_IDENTITY_NV 0x853C 1844 + #define GL_SIGNED_NEGATE_NV 0x853D 1845 + #define GL_SCALE_BY_TWO_NV 0x853E 1846 + #define GL_SCALE_BY_FOUR_NV 0x853F 1847 + #define GL_SCALE_BY_ONE_HALF_NV 0x8540 1848 + #define GL_BIAS_BY_NEGATIVE_ONE_HALF_NV 0x8541 1849 + #define GL_COMBINER_INPUT_NV 0x8542 1850 + #define GL_COMBINER_MAPPING_NV 0x8543 1851 + #define GL_COMBINER_COMPONENT_USAGE_NV 0x8544 1852 + #define GL_COMBINER_AB_DOT_PRODUCT_NV 0x8545 1853 + #define GL_COMBINER_CD_DOT_PRODUCT_NV 0x8546 1854 + #define GL_COMBINER_MUX_SUM_NV 0x8547 1855 + #define GL_COMBINER_SCALE_NV 0x8548 1856 + #define GL_COMBINER_BIAS_NV 0x8549 1857 + #define GL_COMBINER_AB_OUTPUT_NV 0x854A 1858 + #define GL_COMBINER_CD_OUTPUT_NV 0x854B 1859 + #define GL_COMBINER_SUM_OUTPUT_NV 0x854C 1860 + #define GL_MAX_GENERAL_COMBINERS_NV 0x854D 1861 + #define GL_NUM_GENERAL_COMBINERS_NV 0x854E 1862 + #define GL_COLOR_SUM_CLAMP_NV 0x854F 1863 + #define GL_COMBINER0_NV 0x8550 1864 + #define GL_COMBINER1_NV 0x8551 1865 + #define GL_COMBINER2_NV 0x8552 1866 + #define GL_COMBINER3_NV 0x8553 1867 + #define GL_COMBINER4_NV 0x8554 1868 + #define GL_COMBINER5_NV 0x8555 1869 + #define GL_COMBINER6_NV 0x8556 1870 + #define GL_COMBINER7_NV 0x8557 1871 + /* reuse GL_TEXTURE0_ARB */ 1872 + /* reuse GL_TEXTURE1_ARB */ 1873 + /* reuse GL_ZERO */ 1874 + /* reuse GL_NONE */ 1875 + /* reuse GL_FOG */ 1876 + #endif 1877 + 1878 + #if GL_NV_register_combiners2 1879 + #define GL_PER_STAGE_CONSTANTS_NV 0x8535 1880 + #endif 1881 + 1882 + #if GL_NV_texgen_reflection 1883 + #define GL_NORMAL_MAP_NV 0x8511 1884 + #define GL_REFLECTION_MAP_NV 0x8512 1885 + #endif 1886 + 1887 + #if GL_NV_texture_shader 1888 + #define GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV 0x86D9 1889 + #define GL_UNSIGNED_INT_S8_S8_8_8_NV 0x86DA 1890 + #define GL_UNSIGNED_INT_8_8_S8_S8_REV_NV 0x86DB 1891 + #define GL_DSDT_MAG_INTENSITY_NV 0x86DC 1892 + #define GL_TEXTURE_SHADER_NV 0x86DE 1893 + #define GL_SHADER_OPERATION_NV 0x86DF 1894 + #define GL_CULL_MODES_NV 0x86E0 1895 + #define GL_OFFSET_TEXTURE_MATRIX_NV 0x86E1 1896 + #define GL_OFFSET_TEXTURE_SCALE_NV 0x86E2 1897 + #define GL_OFFSET_TEXTURE_BIAS_NV 0x86E3 1898 + #define GL_OFFSET_TEXTURE_2D_MATRIX_NV GL_OFFSET_TEXTURE_MATRIX_NV 1899 + #define GL_OFFSET_TEXTURE_2D_SCALE_NV GL_OFFSET_TEXTURE_SCALE_NV 1900 + #define GL_OFFSET_TEXTURE_2D_BIAS_NV GL_OFFSET_TEXTURE_BIAS_NV 1901 + #define GL_PREVIOUS_TEXTURE_INPUT_NV 0x86E4 1902 + #define GL_CONST_EYE_NV 0x86E5 1903 + #define GL_SHADER_CONSISTENT_NV 0x86DD 1904 + #define GL_PASS_THROUGH_NV 0x86E6 1905 + #define GL_CULL_FRAGMENT_NV 0x86E7 1906 + #define GL_OFFSET_TEXTURE_2D_NV 0x86E8 1907 + #define GL_OFFSET_TEXTURE_RECTANGLE_NV 0x864C 1908 + #define GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV 0x864D 1909 + #define GL_DEPENDENT_AR_TEXTURE_2D_NV 0x86E9 1910 + #define GL_DEPENDENT_GB_TEXTURE_2D_NV 0x86EA 1911 + #define GL_DOT_PRODUCT_NV 0x86EC 1912 + #define GL_DOT_PRODUCT_DEPTH_REPLACE_NV 0x86ED 1913 + #define GL_DOT_PRODUCT_TEXTURE_2D_NV 0x86EE 1914 + #define GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV 0x864E 1915 + #define GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV 0x86F0 1916 + #define GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV 0x86F1 1917 + #define GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV 0x86F2 1918 + #define GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV 0x86F3 1919 + #define GL_HILO_NV 0x86F4 1920 + #define GL_DSDT_NV 0x86F5 1921 + #define GL_DSDT_MAG_NV 0x86F6 1922 + #define GL_DSDT_MAG_VIB_NV 0x86F7 1923 + #define GL_HILO16_NV 0x86F8 1924 + #define GL_SIGNED_HILO_NV 0x86F9 1925 + #define GL_SIGNED_HILO16_NV 0x86FA 1926 + #define GL_SIGNED_RGBA_NV 0x86FB 1927 + #define GL_SIGNED_RGBA8_NV 0x86FC 1928 + #define GL_SIGNED_RGB_NV 0x86FE 1929 + #define GL_SIGNED_RGB8_NV 0x86FF 1930 + #define GL_SIGNED_LUMINANCE_NV 0x8701 1931 + #define GL_SIGNED_LUMINANCE8_NV 0x8702 1932 + #define GL_SIGNED_LUMINANCE_ALPHA_NV 0x8703 1933 + #define GL_SIGNED_LUMINANCE8_ALPHA8_NV 0x8704 1934 + #define GL_SIGNED_ALPHA_NV 0x8705 1935 + #define GL_SIGNED_ALPHA8_NV 0x8706 1936 + #define GL_SIGNED_INTENSITY_NV 0x8707 1937 + #define GL_SIGNED_INTENSITY8_NV 0x8708 1938 + #define GL_DSDT8_NV 0x8709 1939 + #define GL_DSDT8_MAG8_NV 0x870A 1940 + #define GL_DSDT8_MAG8_INTENSITY8_NV 0x870B 1941 + #define GL_SIGNED_RGB_UNSIGNED_ALPHA_NV 0x870C 1942 + #define GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV 0x870D 1943 + #define GL_HI_SCALE_NV 0x870E 1944 + #define GL_LO_SCALE_NV 0x870F 1945 + #define GL_DS_SCALE_NV 0x8710 1946 + #define GL_DT_SCALE_NV 0x8711 1947 + #define GL_MAGNITUDE_SCALE_NV 0x8712 1948 + #define GL_VIBRANCE_SCALE_NV 0x8713 1949 + #define GL_HI_BIAS_NV 0x8714 1950 + #define GL_LO_BIAS_NV 0x8715 1951 + #define GL_DS_BIAS_NV 0x8716 1952 + #define GL_DT_BIAS_NV 0x8717 1953 + #define GL_MAGNITUDE_BIAS_NV 0x8718 1954 + #define GL_VIBRANCE_BIAS_NV 0x8719 1955 + #define GL_TEXTURE_BORDER_VALUES_NV 0x871A 1956 + #define GL_TEXTURE_HI_SIZE_NV 0x871B 1957 + #define GL_TEXTURE_LO_SIZE_NV 0x871C 1958 + #define GL_TEXTURE_DS_SIZE_NV 0x871D 1959 + #define GL_TEXTURE_DT_SIZE_NV 0x871E 1960 + #define GL_TEXTURE_MAG_SIZE_NV 0x871F 1961 + #endif 1962 + 1963 + #if GL_NV_texture_shader2 1964 + #define GL_DOT_PRODUCT_TEXTURE_3D_NV 0x86EF 1965 + #endif 1966 + 1967 + #if GL_NV_texture_shader3 1968 + #define GL_OFFSET_PROJECTIVE_TEXTURE_2D_NV 0x8850 1969 + #define GL_OFFSET_PROJECTIVE_TEXTURE_2D_SCALE_NV 0x8851 1970 + #define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8852 1971 + #define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_SCALE_NV 0x8853 1972 + #define GL_OFFSET_HILO_TEXTURE_2D_NV 0x8854 1973 + #define GL_OFFSET_HILO_TEXTURE_RECTANGLE_NV 0x8855 1974 + #define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_2D_NV 0x8856 1975 + #define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8857 1976 + #define GL_DEPENDENT_HILO_TEXTURE_2D_NV 0x8858 1977 + #define GL_DEPENDENT_RGB_TEXTURE_3D_NV 0x8859 1978 + #define GL_DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV 0x885A 1979 + #define GL_DOT_PRODUCT_PASS_THROUGH_NV 0x885B 1980 + #define GL_DOT_PRODUCT_TEXTURE_1D_NV 0x885C 1981 + #define GL_DOT_PRODUCT_AFFINE_DEPTH_REPLACE_NV 0x885D 1982 + #define GL_HILO8_NV 0x885E 1983 + #define GL_SIGNED_HILO8_NV 0x885F 1984 + #define GL_FORCE_BLUE_TO_ONE_NV 0x8860 1985 + #endif 1986 + 1987 + #if GL_NV_vertex_array_range 1988 + #define GL_VERTEX_ARRAY_RANGE_NV 0x851D 1989 + #define GL_VERTEX_ARRAY_RANGE_LENGTH_NV 0x851E 1990 + #define GL_VERTEX_ARRAY_RANGE_VALID_NV 0x851F 1991 + #define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV 0x8520 1992 + #define GL_VERTEX_ARRAY_RANGE_POINTER_NV 0x8521 1993 + #endif 1994 + 1995 + #if GL_NV_vertex_array_range2 1996 + #define GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV 0x8533 1997 + #endif 1998 + 1999 + #if GL_NV_vertex_program 2000 + #define GL_VERTEX_PROGRAM_NV 0x8620 2001 + #define GL_VERTEX_STATE_PROGRAM_NV 0x8621 2002 + #define GL_ATTRIB_ARRAY_SIZE_NV 0x8623 2003 + #define GL_ATTRIB_ARRAY_STRIDE_NV 0x8624 2004 + #define GL_ATTRIB_ARRAY_TYPE_NV 0x8625 2005 + #define GL_CURRENT_ATTRIB_NV 0x8626 2006 + #define GL_PROGRAM_LENGTH_NV 0x8627 2007 + #define GL_PROGRAM_STRING_NV 0x8628 2008 + #define GL_MODELVIEW_PROJECTION_NV 0x8629 2009 + #define GL_IDENTITY_NV 0x862A 2010 + #define GL_INVERSE_NV 0x862B 2011 + #define GL_TRANSPOSE_NV 0x862C 2012 + #define GL_INVERSE_TRANSPOSE_NV 0x862D 2013 + #define GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV 0x862E 2014 + #define GL_MAX_TRACK_MATRICES_NV 0x862F 2015 + #define GL_MATRIX0_NV 0x8630 2016 + #define GL_MATRIX1_NV 0x8631 2017 + #define GL_MATRIX2_NV 0x8632 2018 + #define GL_MATRIX3_NV 0x8633 2019 + #define GL_MATRIX4_NV 0x8634 2020 + #define GL_MATRIX5_NV 0x8635 2021 + #define GL_MATRIX6_NV 0x8636 2022 + #define GL_MATRIX7_NV 0x8637 2023 + #define GL_CURRENT_MATRIX_STACK_DEPTH_NV 0x8640 2024 + #define GL_CURRENT_MATRIX_NV 0x8641 2025 + #define GL_VERTEX_PROGRAM_POINT_SIZE_NV 0x8642 2026 + #define GL_VERTEX_PROGRAM_TWO_SIDE_NV 0x8643 2027 + #define GL_PROGRAM_PARAMETER_NV 0x8644 2028 + #define GL_ATTRIB_ARRAY_POINTER_NV 0x8645 2029 + #define GL_PROGRAM_TARGET_NV 0x8646 2030 + #define GL_PROGRAM_RESIDENT_NV 0x8647 2031 + #define GL_TRACK_MATRIX_NV 0x8648 2032 + #define GL_TRACK_MATRIX_TRANSFORM_NV 0x8649 2033 + #define GL_VERTEX_PROGRAM_BINDING_NV 0x864A 2034 + #define GL_PROGRAM_ERROR_POSITION_NV 0x864B 2035 + #define GL_VERTEX_ATTRIB_ARRAY0_NV 0x8650 2036 + #define GL_VERTEX_ATTRIB_ARRAY1_NV 0x8651 2037 + #define GL_VERTEX_ATTRIB_ARRAY2_NV 0x8652 2038 + #define GL_VERTEX_ATTRIB_ARRAY3_NV 0x8653 2039 + #define GL_VERTEX_ATTRIB_ARRAY4_NV 0x8654 2040 + #define GL_VERTEX_ATTRIB_ARRAY5_NV 0x8655 2041 + #define GL_VERTEX_ATTRIB_ARRAY6_NV 0x8656 2042 + #define GL_VERTEX_ATTRIB_ARRAY7_NV 0x8657 2043 + #define GL_VERTEX_ATTRIB_ARRAY8_NV 0x8658 2044 + #define GL_VERTEX_ATTRIB_ARRAY9_NV 0x8659 2045 + #define GL_VERTEX_ATTRIB_ARRAY10_NV 0x865A 2046 + #define GL_VERTEX_ATTRIB_ARRAY11_NV 0x865B 2047 + #define GL_VERTEX_ATTRIB_ARRAY12_NV 0x865C 2048 + #define GL_VERTEX_ATTRIB_ARRAY13_NV 0x865D 2049 + #define GL_VERTEX_ATTRIB_ARRAY14_NV 0x865E 2050 + #define GL_VERTEX_ATTRIB_ARRAY15_NV 0x865F 2051 + #define GL_MAP1_VERTEX_ATTRIB0_4_NV 0x8660 2052 + #define GL_MAP1_VERTEX_ATTRIB1_4_NV 0x8661 2053 + #define GL_MAP1_VERTEX_ATTRIB2_4_NV 0x8662 2054 + #define GL_MAP1_VERTEX_ATTRIB3_4_NV 0x8663 2055 + #define GL_MAP1_VERTEX_ATTRIB4_4_NV 0x8664 2056 + #define GL_MAP1_VERTEX_ATTRIB5_4_NV 0x8665 2057 + #define GL_MAP1_VERTEX_ATTRIB6_4_NV 0x8666 2058 + #define GL_MAP1_VERTEX_ATTRIB7_4_NV 0x8667 2059 + #define GL_MAP1_VERTEX_ATTRIB8_4_NV 0x8668 2060 + #define GL_MAP1_VERTEX_ATTRIB9_4_NV 0x8669 2061 + #define GL_MAP1_VERTEX_ATTRIB10_4_NV 0x866A 2062 + #define GL_MAP1_VERTEX_ATTRIB11_4_NV 0x866B 2063 + #define GL_MAP1_VERTEX_ATTRIB12_4_NV 0x866C 2064 + #define GL_MAP1_VERTEX_ATTRIB13_4_NV 0x866D 2065 + #define GL_MAP1_VERTEX_ATTRIB14_4_NV 0x866E 2066 + #define GL_MAP1_VERTEX_ATTRIB15_4_NV 0x866F 2067 + #define GL_MAP2_VERTEX_ATTRIB0_4_NV 0x8670 2068 + #define GL_MAP2_VERTEX_ATTRIB1_4_NV 0x8671 2069 + #define GL_MAP2_VERTEX_ATTRIB2_4_NV 0x8672 2070 + #define GL_MAP2_VERTEX_ATTRIB3_4_NV 0x8673 2071 + #define GL_MAP2_VERTEX_ATTRIB4_4_NV 0x8674 2072 + #define GL_MAP2_VERTEX_ATTRIB5_4_NV 0x8675 2073 + #define GL_MAP2_VERTEX_ATTRIB6_4_NV 0x8676 2074 + #define GL_MAP2_VERTEX_ATTRIB7_4_NV 0x8677 2075 + #define GL_MAP2_VERTEX_ATTRIB8_4_NV 0x8678 2076 + #define GL_MAP2_VERTEX_ATTRIB9_4_NV 0x8679 2077 + #define GL_MAP2_VERTEX_ATTRIB10_4_NV 0x867A 2078 + #define GL_MAP2_VERTEX_ATTRIB11_4_NV 0x867B 2079 + #define GL_MAP2_VERTEX_ATTRIB12_4_NV 0x867C 2080 + #define GL_MAP2_VERTEX_ATTRIB13_4_NV 0x867D 2081 + #define GL_MAP2_VERTEX_ATTRIB14_4_NV 0x867E 2082 + #define GL_MAP2_VERTEX_ATTRIB15_4_NV 0x867F 2083 + #endif 2084 + 2085 + #if GL_SGI_color_matrix 2086 + #define GL_COLOR_MATRIX_SGI 0x80B1 2087 + #define GL_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B2 2088 + #define GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B3 2089 + #define GL_POST_COLOR_MATRIX_RED_SCALE_SGI 0x80B4 2090 + #define GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI 0x80B5 2091 + #define GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI 0x80B6 2092 + #define GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI 0x80B7 2093 + #define GL_POST_COLOR_MATRIX_RED_BIAS_SGI 0x80B8 2094 + #define GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI 0x80B9 2095 + #define GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI 0x80BA 2096 + #define GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI 0x80BB 2097 + #endif 2098 + 2099 + #if GL_SGI_color_table 2100 + #define GL_COLOR_TABLE_SGI 0x80D0 2101 + #define GL_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D1 2102 + #define GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D2 2103 + #define GL_PROXY_COLOR_TABLE_SGI 0x80D3 2104 + #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D4 2105 + #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D5 2106 + #define GL_COLOR_TABLE_SCALE_SGI 0x80D6 2107 + #define GL_COLOR_TABLE_BIAS_SGI 0x80D7 2108 + #define GL_COLOR_TABLE_FORMAT_SGI 0x80D8 2109 + #define GL_COLOR_TABLE_WIDTH_SGI 0x80D9 2110 + #define GL_COLOR_TABLE_RED_SIZE_SGI 0x80DA 2111 + #define GL_COLOR_TABLE_GREEN_SIZE_SGI 0x80DB 2112 + #define GL_COLOR_TABLE_BLUE_SIZE_SGI 0x80DC 2113 + #define GL_COLOR_TABLE_ALPHA_SIZE_SGI 0x80DD 2114 + #define GL_COLOR_TABLE_LUMINANCE_SIZE_SGI 0x80DE 2115 + #define GL_COLOR_TABLE_INTENSITY_SIZE_SGI 0x80DF 2116 + #endif 2117 + 2118 + #if GL_SGIS_generate_mipmap 2119 + #define GL_GENERATE_MIPMAP_SGIS 0x8191 2120 + #define GL_GENERATE_MIPMAP_HINT_SGIS 0x8192 2121 + #endif 2122 + 2123 + #if GL_SGIS_point_parameters 2124 + #define GL_POINT_SIZE_MIN_SGIS 0x8126 2125 + #define GL_POINT_SIZE_MAX_SGIS 0x8127 2126 + #define GL_POINT_FADE_THRESHOLD_SIZE_SGIS 0x8128 2127 + #define GL_DISTANCE_ATTENUATION_SGIS 0x8129 2128 + #endif 2129 + 2130 + #if GL_SGIS_texture_edge_clamp 2131 + #define GL_CLAMP_TO_EDGE_SGIS 0x812F 2132 + #endif 2133 + 2134 + #if GL_SGIS_texture_border_clamp 2135 + #define GL_CLAMP_TO_BORDER_SGIS 0x812D 2136 + #endif 2137 + 2138 + #if GL_SGIS_texture_lod 2139 + #define GL_TEXTURE_MIN_LOD_SGIS 0x813A 2140 + #define GL_TEXTURE_MAX_LOD_SGIS 0x813B 2141 + #define GL_TEXTURE_BASE_LEVEL_SGIS 0x813C 2142 + #define GL_TEXTURE_MAX_LEVEL_SGIS 0x813D 2143 + #endif 2144 + 2145 + #if GL_SGIX_depth_texture 2146 + #define GL_DEPTH_COMPONENT16_SGIX 0x81A5 2147 + #define GL_DEPTH_COMPONENT24_SGIX 0x81A6 2148 + #define GL_DEPTH_COMPONENT32_SGIX 0x81A7 2149 + #endif 2150 + 2151 + /*************************************************************/ 2152 + 2153 + #if GL_ARB_color_buffer_float 2154 + #ifdef GL_GLEXT_FUNCTION_POINTERS 2155 + typedef void (* glClampColorARBProcPtr) (GLenum target, GLenum clamp); 2156 + #else 2157 + extern void glClampColorARB(GLenum target, GLenum clamp); 2158 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 2159 + #endif 2160 + 2161 + #if GL_ARB_draw_buffers 2162 + #ifdef GL_GLEXT_FUNCTION_POINTERS 2163 + typedef void (* glDrawBuffersARBProcPtr) (GLsizei n, const GLenum *bufs); 2164 + #else 2165 + extern void glDrawBuffersARB(GLsizei n, const GLenum *bufs); 2166 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 2167 + #endif 2168 + 2169 + #if GL_ARB_draw_elements_base_vertex 2170 + #ifdef GL_GLEXT_FUNCTION_POINTERS 2171 + typedef void (* glDrawElementsBaseVertexProcPtr) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLint base_vertex); 2172 + typedef void (* glDrawRangeElementsBaseVertexProcPtr) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices, GLint base_vertex); 2173 + typedef void (* glDrawElementsInstancedBaseVertexProcPtr) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount, GLint base_vertex); 2174 + typedef void (* glMultiDrawElementsBaseVertexProcPtr) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei primcount, const GLint *base_vertex); 2175 + #else 2176 + extern void glDrawElementsBaseVertex(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLint base_vertex); 2177 + extern void glDrawRangeElementsBaseVertex(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices, GLint base_vertex); 2178 + extern void glDrawElementsInstancedBaseVertex(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount, GLint base_vertex); 2179 + extern void glMultiDrawElementsBaseVertex(GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei primcount, const GLint *base_vertex); 2180 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 2181 + #endif 2182 + 2183 + #if GL_ARB_draw_instanced 2184 + #ifdef GL_GLEXT_FUNCTION_POINTERS 2185 + typedef void (* glDrawArraysInstancedARBProcPtr) (GLenum mode, GLint first, GLsizei count, GLsizei primcount); 2186 + typedef void (* glDrawElementsInstancedARBProcPtr) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount); 2187 + #else 2188 + extern void glDrawArraysInstancedARB(GLenum mode, GLint first, GLsizei count, GLsizei primcount); 2189 + extern void glDrawElementsInstancedARB(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount); 2190 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 2191 + #endif 2192 + 2193 + #if GL_ARB_framebuffer_object 2194 + #ifdef GL_GLEXT_FUNCTION_POINTERS 2195 + typedef GLboolean (* glIsRenderbufferProcPtr) (GLuint renderbuffer); 2196 + typedef void (* glBindRenderbufferProcPtr) (GLenum target, GLuint renderbuffer); 2197 + typedef void (* glDeleteRenderbuffersProcPtr) (GLsizei n, const GLuint *renderbuffers); 2198 + typedef void (* glGenRenderbuffersProcPtr) (GLsizei n, GLuint *renderbuffers); 2199 + typedef void (* glRenderbufferStorageProcPtr) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); 2200 + typedef void (* glGetRenderbufferParameterivProcPtr) (GLenum target, GLenum pname, GLint *params); 2201 + typedef GLboolean (* glIsFramebufferProcPtr) (GLuint framebuffer); 2202 + typedef void (* glBindFramebufferProcPtr) (GLenum target, GLuint framebuffer); 2203 + typedef void (* glDeleteFramebuffersProcPtr) (GLsizei n, const GLuint *framebuffers); 2204 + typedef void (* glGenFramebuffersProcPtr) (GLsizei n, GLuint *framebuffers); 2205 + typedef GLenum (* glCheckFramebufferStatusProcPtr) (GLenum target); 2206 + typedef void (* glFramebufferTexture1DProcPtr) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); 2207 + typedef void (* glFramebufferTexture2DProcPtr) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); 2208 + typedef void (* glFramebufferTexture3DProcPtr) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); 2209 + typedef void (* glFramebufferRenderbufferProcPtr) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); 2210 + typedef void (* glGetFramebufferAttachmentParameterivProcPtr) (GLenum target, GLenum attachment, GLenum pname, GLint *params); 2211 + typedef void (* glGenerateMipmapProcPtr) (GLenum target); 2212 + typedef void (* glBlitFramebufferProcPtr) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); 2213 + typedef void (* glRenderbufferStorageMultisampleProcPtr) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 2214 + typedef void (* glFramebufferTextureLayerProcPtr) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); 2215 + #else 2216 + extern GLboolean glIsRenderbuffer(GLuint renderbuffer); 2217 + extern void glBindRenderbuffer(GLenum target, GLuint renderbuffer); 2218 + extern void glDeleteRenderbuffers(GLsizei n, const GLuint *renderbuffers); 2219 + extern void glGenRenderbuffers(GLsizei n, GLuint *renderbuffers); 2220 + extern void glRenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height); 2221 + extern void glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint *params); 2222 + extern GLboolean glIsFramebuffer(GLuint framebuffer); 2223 + extern void glBindFramebuffer(GLenum target, GLuint framebuffer); 2224 + extern void glDeleteFramebuffers(GLsizei n, const GLuint *framebuffers); 2225 + extern void glGenFramebuffers(GLsizei n, GLuint *framebuffers); 2226 + extern GLenum glCheckFramebufferStatus(GLenum target); 2227 + extern void glFramebufferTexture1D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); 2228 + extern void glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); 2229 + extern void glFramebufferTexture3D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); 2230 + extern void glFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); 2231 + extern void glGetFramebufferAttachmentParameteriv(GLenum target, GLenum attachment, GLenum pname, GLint *params); 2232 + extern void glGenerateMipmap(GLenum target); 2233 + extern void glBlitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); 2234 + extern void glRenderbufferStorageMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 2235 + extern void glFramebufferTextureLayer(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); 2236 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 2237 + #endif 2238 + 2239 + #if GL_ARB_instanced_arrays 2240 + #ifdef GL_GLEXT_FUNCTION_POINTERS 2241 + typedef void (* glVertexAttribDivisorARBProcPtr) (GLuint index, GLuint divisor); 2242 + #else 2243 + extern void glVertexAttribDivisorARB(GLuint index, GLuint divisor); 2244 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 2245 + #endif 2246 + 2247 + #if GL_ARB_multisample 2248 + #ifdef GL_GLEXT_FUNCTION_POINTERS 2249 + typedef void (* glSampleCoverageARBProcPtr) (GLclampf value, GLboolean invert); 2250 + #else 2251 + extern void glSampleCoverageARB(GLclampf value, GLboolean invert); 2252 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 2253 + #endif 2254 + 2255 + #if GL_ARB_multitexture 2256 + #ifdef GL_GLEXT_FUNCTION_POINTERS 2257 + typedef void (* glActiveTextureARBProcPtr) (GLenum texture); 2258 + typedef void (* glClientActiveTextureARBProcPtr) (GLenum texture); 2259 + typedef void (* glMultiTexCoord1dARBProcPtr) (GLenum target, GLdouble s); 2260 + typedef void (* glMultiTexCoord1dvARBProcPtr) (GLenum target, const GLdouble *v); 2261 + typedef void (* glMultiTexCoord1fARBProcPtr) (GLenum target, GLfloat s); 2262 + typedef void (* glMultiTexCoord1fvARBProcPtr) (GLenum target, const GLfloat *v); 2263 + typedef void (* glMultiTexCoord1iARBProcPtr) (GLenum target, GLint s); 2264 + typedef void (* glMultiTexCoord1ivARBProcPtr) (GLenum target, const GLint *v); 2265 + typedef void (* glMultiTexCoord1sARBProcPtr) (GLenum target, GLshort s); 2266 + typedef void (* glMultiTexCoord1svARBProcPtr) (GLenum target, const GLshort *v); 2267 + typedef void (* glMultiTexCoord2dARBProcPtr) (GLenum target, GLdouble s, GLdouble t); 2268 + typedef void (* glMultiTexCoord2dvARBProcPtr) (GLenum target, const GLdouble *v); 2269 + typedef void (* glMultiTexCoord2fARBProcPtr) (GLenum target, GLfloat s, GLfloat t); 2270 + typedef void (* glMultiTexCoord2fvARBProcPtr) (GLenum target, const GLfloat *v); 2271 + typedef void (* glMultiTexCoord2iARBProcPtr) (GLenum target, GLint s, GLint t); 2272 + typedef void (* glMultiTexCoord2ivARBProcPtr) (GLenum target, const GLint *v); 2273 + typedef void (* glMultiTexCoord2sARBProcPtr) (GLenum target, GLshort s, GLshort t); 2274 + typedef void (* glMultiTexCoord2svARBProcPtr) (GLenum target, const GLshort *v); 2275 + typedef void (* glMultiTexCoord3dARBProcPtr) (GLenum target, GLdouble s, GLdouble t, GLdouble r); 2276 + typedef void (* glMultiTexCoord3dvARBProcPtr) (GLenum target, const GLdouble *v); 2277 + typedef void (* glMultiTexCoord3fARBProcPtr) (GLenum target, GLfloat s, GLfloat t, GLfloat r); 2278 + typedef void (* glMultiTexCoord3fvARBProcPtr) (GLenum target, const GLfloat *v); 2279 + typedef void (* glMultiTexCoord3iARBProcPtr) (GLenum target, GLint s, GLint t, GLint r); 2280 + typedef void (* glMultiTexCoord3ivARBProcPtr) (GLenum target, const GLint *v); 2281 + typedef void (* glMultiTexCoord3sARBProcPtr) (GLenum target, GLshort s, GLshort t, GLshort r); 2282 + typedef void (* glMultiTexCoord3svARBProcPtr) (GLenum target, const GLshort *v); 2283 + typedef void (* glMultiTexCoord4dARBProcPtr) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); 2284 + typedef void (* glMultiTexCoord4dvARBProcPtr) (GLenum target, const GLdouble *v); 2285 + typedef void (* glMultiTexCoord4fARBProcPtr) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); 2286 + typedef void (* glMultiTexCoord4fvARBProcPtr) (GLenum target, const GLfloat *v); 2287 + typedef void (* glMultiTexCoord4iARBProcPtr) (GLenum target, GLint s, GLint t, GLint r, GLint q); 2288 + typedef void (* glMultiTexCoord4ivARBProcPtr) (GLenum target, const GLint *v); 2289 + typedef void (* glMultiTexCoord4sARBProcPtr) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); 2290 + typedef void (* glMultiTexCoord4svARBProcPtr) (GLenum target, const GLshort *v); 2291 + #else 2292 + extern void glActiveTextureARB(GLenum texture); 2293 + extern void glClientActiveTextureARB(GLenum texture); 2294 + extern void glMultiTexCoord1dARB(GLenum target, GLdouble s); 2295 + extern void glMultiTexCoord1dvARB(GLenum target, const GLdouble *v); 2296 + extern void glMultiTexCoord1fARB(GLenum target, GLfloat s); 2297 + extern void glMultiTexCoord1fvARB(GLenum target, const GLfloat *v); 2298 + extern void glMultiTexCoord1iARB(GLenum target, GLint s); 2299 + extern void glMultiTexCoord1ivARB(GLenum target, const GLint *v); 2300 + extern void glMultiTexCoord1sARB(GLenum target, GLshort s); 2301 + extern void glMultiTexCoord1svARB(GLenum target, const GLshort *v); 2302 + extern void glMultiTexCoord2dARB(GLenum target, GLdouble s, GLdouble t); 2303 + extern void glMultiTexCoord2dvARB(GLenum target, const GLdouble *v); 2304 + extern void glMultiTexCoord2fARB(GLenum target, GLfloat s, GLfloat t); 2305 + extern void glMultiTexCoord2fvARB(GLenum target, const GLfloat *v); 2306 + extern void glMultiTexCoord2iARB(GLenum target, GLint s, GLint t); 2307 + extern void glMultiTexCoord2ivARB(GLenum target, const GLint *v); 2308 + extern void glMultiTexCoord2sARB(GLenum target, GLshort s, GLshort t); 2309 + extern void glMultiTexCoord2svARB(GLenum target, const GLshort *v); 2310 + extern void glMultiTexCoord3dARB(GLenum target, GLdouble s, GLdouble t, GLdouble r); 2311 + extern void glMultiTexCoord3dvARB(GLenum target, const GLdouble *v); 2312 + extern void glMultiTexCoord3fARB(GLenum target, GLfloat s, GLfloat t, GLfloat r); 2313 + extern void glMultiTexCoord3fvARB(GLenum target, const GLfloat *v); 2314 + extern void glMultiTexCoord3iARB(GLenum target, GLint s, GLint t, GLint r); 2315 + extern void glMultiTexCoord3ivARB(GLenum target, const GLint *v); 2316 + extern void glMultiTexCoord3sARB(GLenum target, GLshort s, GLshort t, GLshort r); 2317 + extern void glMultiTexCoord3svARB(GLenum target, const GLshort *v); 2318 + extern void glMultiTexCoord4dARB(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); 2319 + extern void glMultiTexCoord4dvARB(GLenum target, const GLdouble *v); 2320 + extern void glMultiTexCoord4fARB(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); 2321 + extern void glMultiTexCoord4fvARB(GLenum target, const GLfloat *v); 2322 + extern void glMultiTexCoord4iARB(GLenum target, GLint s, GLint t, GLint r, GLint q); 2323 + extern void glMultiTexCoord4ivARB(GLenum target, const GLint *v); 2324 + extern void glMultiTexCoord4sARB(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); 2325 + extern void glMultiTexCoord4svARB(GLenum target, const GLshort *v); 2326 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 2327 + #endif 2328 + 2329 + #if GL_ARB_occlusion_query 2330 + #ifdef GL_GLEXT_FUNCTION_POINTERS 2331 + typedef void (* glGenQueriesARBProcPtr) (GLsizei n, GLuint *ids); 2332 + typedef void (* glDeleteQueriesARBProcPtr) (GLsizei n, const GLuint *ids); 2333 + typedef GLboolean (* glIsQueryARBProcPtr) (GLuint id); 2334 + typedef void (* glBeginQueryARBProcPtr) (GLenum target, GLuint id); 2335 + typedef void (* glEndQueryARBProcPtr) (GLenum target); 2336 + typedef void (* glGetQueryivARBProcPtr) (GLenum target, GLenum pname, GLint *params); 2337 + typedef void (* glGetQueryObjectivARBProcPtr) (GLuint id, GLenum pname, GLint *params); 2338 + typedef void (* glGetQueryObjectuivARBProcPtr) (GLuint id, GLenum pname, GLuint *params); 2339 + #else 2340 + extern void glGenQueriesARB(GLsizei n, GLuint *ids); 2341 + extern void glDeleteQueriesARB(GLsizei n, const GLuint *ids); 2342 + extern GLboolean glIsQueryARB(GLuint id); 2343 + extern void glBeginQueryARB(GLenum target, GLuint id); 2344 + extern void glEndQueryARB(GLenum target); 2345 + extern void glGetQueryivARB(GLenum target, GLenum pname, GLint *params); 2346 + extern void glGetQueryObjectivARB(GLuint id, GLenum pname, GLint *params); 2347 + extern void glGetQueryObjectuivARB(GLuint id, GLenum pname, GLuint *params); 2348 + #endif 2349 + #endif 2350 + 2351 + #if GL_ARB_point_parameters 2352 + #ifdef GL_GLEXT_FUNCTION_POINTERS 2353 + typedef void (* glPointParameterfARBProcPtr) (GLenum pname, GLfloat param); 2354 + typedef void (* glPointParameterfvARBProcPtr) (GLenum pname, const GLfloat *params); 2355 + #else 2356 + extern void glPointParameterfARB(GLenum pname, GLfloat param); 2357 + extern void glPointParameterfvARB(GLenum pname, const GLfloat *params); 2358 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 2359 + #endif 2360 + 2361 + #if GL_ARB_provoking_vertex 2362 + #ifdef GL_GLEXT_FUNCTION_POINTERS 2363 + typedef void (* glProvokingVertexProcPtr) (GLenum mode); 2364 + #else 2365 + extern void glProvokingVertex(GLenum mode); 2366 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 2367 + #endif 2368 + 2369 + #if GL_ARB_shader_objects 2370 + #ifdef GL_GLEXT_FUNCTION_POINTERS 2371 + typedef void (* glDeleteObjectARBProcPtr) (GLhandleARB obj); 2372 + typedef GLhandleARB (* glGetHandleARBProcPtr) (GLenum pname); 2373 + typedef void (* glDetachObjectARBProcPtr) (GLhandleARB containerObj, GLhandleARB attachedObj); 2374 + typedef GLhandleARB (* glCreateShaderObjectARBProcPtr) (GLenum shaderType); 2375 + typedef void (* glShaderSourceARBProcPtr) (GLhandleARB shaderObj, GLsizei count, const GLcharARB* const *string, const GLint *length); 2376 + typedef void (* glCompileShaderARBProcPtr) (GLhandleARB shaderObj); 2377 + typedef GLhandleARB (* glCreateProgramObjectARBProcPtr) (void); 2378 + typedef void (* glAttachObjectARBProcPtr) (GLhandleARB containerObj, GLhandleARB obj); 2379 + typedef void (* glLinkProgramARBProcPtr) (GLhandleARB programObj); 2380 + typedef void (* glUseProgramObjectARBProcPtr) (GLhandleARB programObj); 2381 + typedef void (* glValidateProgramARBProcPtr) (GLhandleARB programObj); 2382 + typedef void (* glUniform1fARBProcPtr) (GLint location, GLfloat v0); 2383 + typedef void (* glUniform2fARBProcPtr) (GLint location, GLfloat v0, GLfloat v1); 2384 + typedef void (* glUniform3fARBProcPtr) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); 2385 + typedef void (* glUniform4fARBProcPtr) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); 2386 + typedef void (* glUniform1iARBProcPtr) (GLint location, GLint v0); 2387 + typedef void (* glUniform2iARBProcPtr) (GLint location, GLint v0, GLint v1); 2388 + typedef void (* glUniform3iARBProcPtr) (GLint location, GLint v0, GLint v1, GLint v2); 2389 + typedef void (* glUniform4iARBProcPtr) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); 2390 + typedef void (* glUniform1fvARBProcPtr) (GLint location, GLsizei count, const GLfloat *value); 2391 + typedef void (* glUniform2fvARBProcPtr) (GLint location, GLsizei count, const GLfloat *value); 2392 + typedef void (* glUniform3fvARBProcPtr) (GLint location, GLsizei count, const GLfloat *value); 2393 + typedef void (* glUniform4fvARBProcPtr) (GLint location, GLsizei count, const GLfloat *value); 2394 + typedef void (* glUniform1ivARBProcPtr) (GLint location, GLsizei count, const GLint *value); 2395 + typedef void (* glUniform2ivARBProcPtr) (GLint location, GLsizei count, const GLint *value); 2396 + typedef void (* glUniform3ivARBProcPtr) (GLint location, GLsizei count, const GLint *value); 2397 + typedef void (* glUniform4ivARBProcPtr) (GLint location, GLsizei count, const GLint *value); 2398 + typedef void (* glUniformMatrix2fvARBProcPtr) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2399 + typedef void (* glUniformMatrix3fvARBProcPtr) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2400 + typedef void (* glUniformMatrix4fvARBProcPtr) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2401 + typedef void (* glGetObjectParameterfvARBProcPtr) (GLhandleARB obj, GLenum pname, GLfloat *params); 2402 + typedef void (* glGetObjectParameterivARBProcPtr) (GLhandleARB obj, GLenum pname, GLint *params); 2403 + typedef void (* glGetInfoLogARBProcPtr) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog); 2404 + typedef void (* glGetAttachedObjectsARBProcPtr) (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj); 2405 + typedef GLint (* glGetUniformLocationARBProcPtr) (GLhandleARB programObj, const GLcharARB *name); 2406 + typedef void (* glGetActiveUniformARBProcPtr) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name); 2407 + typedef void (* glGetUniformfvARBProcPtr) (GLhandleARB programObj, GLint location, GLfloat *params); 2408 + typedef void (* glGetUniformivARBProcPtr) (GLhandleARB programObj, GLint location, GLint *params); 2409 + typedef void (* glGetShaderSourceARBProcPtr) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source); 2410 + #else 2411 + extern void glDeleteObjectARB(GLhandleARB obj); 2412 + extern GLhandleARB glGetHandleARB(GLenum pname); 2413 + extern void glDetachObjectARB(GLhandleARB containerObj, GLhandleARB attachedObj); 2414 + extern GLhandleARB glCreateShaderObjectARB(GLenum shaderType); 2415 + extern void glShaderSourceARB(GLhandleARB shaderObj, GLsizei count, const GLcharARB* const *string, const GLint *length); 2416 + extern void glCompileShaderARB(GLhandleARB shaderObj); 2417 + extern GLhandleARB glCreateProgramObjectARB(void); 2418 + extern void glAttachObjectARB(GLhandleARB containerObj, GLhandleARB obj); 2419 + extern void glLinkProgramARB(GLhandleARB programObj); 2420 + extern void glUseProgramObjectARB(GLhandleARB programObj); 2421 + extern void glValidateProgramARB(GLhandleARB programObj); 2422 + extern void glUniform1fARB(GLint location, GLfloat v0); 2423 + extern void glUniform2fARB(GLint location, GLfloat v0, GLfloat v1); 2424 + extern void glUniform3fARB(GLint location, GLfloat v0, GLfloat v1, GLfloat v2); 2425 + extern void glUniform4fARB(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); 2426 + extern void glUniform1iARB(GLint location, GLint v0); 2427 + extern void glUniform2iARB(GLint location, GLint v0, GLint v1); 2428 + extern void glUniform3iARB(GLint location, GLint v0, GLint v1, GLint v2); 2429 + extern void glUniform4iARB(GLint location, GLint v0, GLint v1, GLint v2, GLint v3); 2430 + extern void glUniform1fvARB(GLint location, GLsizei count, const GLfloat *value); 2431 + extern void glUniform2fvARB(GLint location, GLsizei count, const GLfloat *value); 2432 + extern void glUniform3fvARB(GLint location, GLsizei count, const GLfloat *value); 2433 + extern void glUniform4fvARB(GLint location, GLsizei count, const GLfloat *value); 2434 + extern void glUniform1ivARB(GLint location, GLsizei count, const GLint *value); 2435 + extern void glUniform2ivARB(GLint location, GLsizei count, const GLint *value); 2436 + extern void glUniform3ivARB(GLint location, GLsizei count, const GLint *value); 2437 + extern void glUniform4ivARB(GLint location, GLsizei count, const GLint *value); 2438 + extern void glUniformMatrix2fvARB(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2439 + extern void glUniformMatrix3fvARB(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2440 + extern void glUniformMatrix4fvARB(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 2441 + extern void glGetObjectParameterfvARB(GLhandleARB obj, GLenum pname, GLfloat *params); 2442 + extern void glGetObjectParameterivARB(GLhandleARB obj, GLenum pname, GLint *params); 2443 + extern void glGetInfoLogARB(GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog); 2444 + extern void glGetAttachedObjectsARB(GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj); 2445 + extern GLint glGetUniformLocationARB(GLhandleARB programObj, const GLcharARB *name); 2446 + extern void glGetActiveUniformARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name); 2447 + extern void glGetUniformfvARB(GLhandleARB programObj, GLint location, GLfloat *params); 2448 + extern void glGetUniformivARB(GLhandleARB programObj, GLint location, GLint *params); 2449 + extern void glGetShaderSourceARB(GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source); 2450 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 2451 + #endif 2452 + 2453 + #if GL_ARB_sync 2454 + #ifdef GL_GLEXT_FUNCTION_POINTERS 2455 + typedef GLsync (* glFenceSyncProcPtr) (GLenum condition, GLbitfield flags); 2456 + typedef GLboolean (* glIsSyncProcPtr) (GLsync sync); 2457 + typedef void (* glDeleteSyncProcPtr) (GLsync sync); 2458 + typedef GLenum (* glClientWaitSyncProcPtr) (GLsync sync, GLbitfield flags, GLuint64 timeout); 2459 + typedef void (* glWaitSyncProcPtr)(GLsync sync, GLbitfield flags, GLuint64 timeout); 2460 + typedef void (* glGetInteger64vProcPtr) (GLenum pname, GLint64 *params); 2461 + typedef void (* glGetSyncivProcPtr) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); 2462 + #else 2463 + extern GLsync glFenceSync(GLenum condition, GLbitfield flags); 2464 + extern GLboolean glIsSync(GLsync sync); 2465 + extern void glDeleteSync(GLsync sync); 2466 + extern GLenum glClientWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout); 2467 + extern void glWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout); 2468 + extern void glGetInteger64v(GLenum pname, GLint64 *params); 2469 + extern void glGetSynciv(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); 2470 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 2471 + #endif 2472 + 2473 + #if GL_ARB_texture_compression 2474 + #ifdef GL_GLEXT_FUNCTION_POINTERS 2475 + typedef void (* glCompressedTexImage3DARBProcPtr) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data); 2476 + typedef void (* glCompressedTexImage2DARBProcPtr) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data); 2477 + typedef void (* glCompressedTexImage1DARBProcPtr) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data); 2478 + typedef void (* glCompressedTexSubImage3DARBProcPtr) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data); 2479 + typedef void (* glCompressedTexSubImage2DARBProcPtr) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data); 2480 + typedef void (* glCompressedTexSubImage1DARBProcPtr) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data); 2481 + typedef void (* glGetCompressedTexImageARBProcPtr) (GLenum target, GLint level, GLvoid *data); 2482 + #else 2483 + extern void glCompressedTexImage3DARB(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data); 2484 + extern void glCompressedTexImage2DARB(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data); 2485 + extern void glCompressedTexImage1DARB(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data); 2486 + extern void glCompressedTexSubImage3DARB(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data); 2487 + extern void glCompressedTexSubImage2DARB(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data); 2488 + extern void glCompressedTexSubImage1DARB(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data); 2489 + extern void glGetCompressedTexImageARB(GLenum target, GLint level, GLvoid *data); 2490 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 2491 + #endif 2492 + 2493 + #if GL_ARB_transpose_matrix 2494 + #ifdef GL_GLEXT_FUNCTION_POINTERS 2495 + typedef void (* glLoadTransposeMatrixfARBProcPtr) (const GLfloat *m); 2496 + typedef void (* glLoadTransposeMatrixdARBProcPtr) (const GLdouble *m); 2497 + typedef void (* glMultTransposeMatrixfARBProcPtr) (const GLfloat *m); 2498 + typedef void (* glMultTransposeMatrixdARBProcPtr) (const GLdouble *m); 2499 + #else 2500 + extern void glLoadTransposeMatrixfARB(const GLfloat *m); 2501 + extern void glLoadTransposeMatrixdARB(const GLdouble *m); 2502 + extern void glMultTransposeMatrixfARB(const GLfloat *m); 2503 + extern void glMultTransposeMatrixdARB(const GLdouble *m); 2504 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 2505 + #endif 2506 + 2507 + #if GL_ARB_vertex_blend 2508 + #ifdef GL_GLEXT_FUNCTION_POINTERS 2509 + typedef void (* glWeightbvARBProcPtr) (GLint size, const GLbyte *weights); 2510 + typedef void (* glWeightsvARBProcPtr) (GLint size, const GLshort *weights); 2511 + typedef void (* glWeightivARBProcPtr) (GLint size, const GLint *weights); 2512 + typedef void (* glWeightfvARBProcPtr) (GLint size, const GLfloat *weights); 2513 + typedef void (* glWeightdvARBProcPtr) (GLint size, const GLdouble *weights); 2514 + typedef void (* glWeightubvARBProcPtr) (GLint size, const GLubyte *weights); 2515 + typedef void (* glWeightusvARBProcPtr) (GLint size, const GLushort *weights); 2516 + typedef void (* glWeightuivARBProcPtr) (GLint size, const GLuint *weights); 2517 + typedef void (* glWeightPointerARBProcPtr) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); 2518 + typedef void (* glVertexBlendARBProcPtr) (GLint count); 2519 + #else 2520 + extern void glWeightbvARB(GLint size, const GLbyte *weights); 2521 + extern void glWeightsvARB(GLint size, const GLshort *weights); 2522 + extern void glWeightivARB(GLint size, const GLint *weights); 2523 + extern void glWeightfvARB(GLint size, const GLfloat *weights); 2524 + extern void glWeightdvARB(GLint size, const GLdouble *weights); 2525 + extern void glWeightubvARB(GLint size, const GLubyte *weights); 2526 + extern void glWeightusvARB(GLint size, const GLushort *weights); 2527 + extern void glWeightuivARB(GLint size, const GLuint *weights); 2528 + extern void glWeightPointerARB(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); 2529 + extern void glVertexBlendARB(GLint count); 2530 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 2531 + #endif 2532 + 2533 + #if GL_ARB_vertex_buffer_object 2534 + #ifdef GL_GLEXT_FUNCTION_POINTERS 2535 + typedef void (* glBindBufferARBProcPtr) (GLenum target, GLuint buffer); 2536 + typedef void (* glDeleteBuffersARBProcPtr) (GLsizei n, const GLuint *buffers); 2537 + typedef void (* glGenBuffersARBProcPtr) (GLsizei n, GLuint *buffers); 2538 + typedef GLboolean (* glIsBufferARBProcPtr) (GLuint buffer); 2539 + typedef void (* glBufferDataARBProcPtr) (GLenum target, GLsizeiptrARB size, const GLvoid *data, GLenum usage); 2540 + typedef void (* glBufferSubDataARBProcPtr) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid *data); 2541 + typedef void (* glGetBufferSubDataARBProcPtr) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, GLvoid *data); 2542 + typedef GLvoid *(* glMapBufferARBProcPtr) (GLenum target, GLenum access); 2543 + typedef GLboolean (* glUnmapBufferARBProcPtr) (GLenum target); 2544 + typedef void (* glGetBufferParameterivARBProcPtr) (GLenum target, GLenum pname, GLint *params); 2545 + typedef void (* glGetBufferPointervARBProcPtr) (GLenum target, GLenum pname, GLvoid **params); 2546 + #else 2547 + extern void glBindBufferARB(GLenum target, GLuint buffer); 2548 + extern void glDeleteBuffersARB(GLsizei n, const GLuint *buffers); 2549 + extern void glGenBuffersARB(GLsizei n, GLuint *buffers); 2550 + extern GLboolean glIsBufferARB(GLuint buffer); 2551 + extern void glBufferDataARB(GLenum target, GLsizeiptrARB size, const GLvoid *data, GLenum usage); 2552 + extern void glBufferSubDataARB(GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid *data); 2553 + extern void glGetBufferSubDataARB(GLenum target, GLintptrARB offset, GLsizeiptrARB size, GLvoid *data); 2554 + extern GLvoid *glMapBufferARB(GLenum target, GLenum access); 2555 + extern GLboolean glUnmapBufferARB(GLenum target); 2556 + extern void glGetBufferParameterivARB(GLenum target, GLenum pname, GLint *params); 2557 + extern void glGetBufferPointervARB(GLenum target, GLenum pname, GLvoid **params); 2558 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 2559 + #endif 2560 + 2561 + #if GL_ARB_vertex_program 2562 + #ifdef GL_GLEXT_FUNCTION_POINTERS 2563 + typedef void (* glBindProgramARBProcPtr) (GLenum target, GLuint program); 2564 + typedef void (* glDeleteProgramsARBProcPtr) (GLsizei n, const GLuint *programs); 2565 + typedef void (* glGenProgramsARBProcPtr) (GLsizei n, GLuint *programs); 2566 + typedef GLboolean (* glIsProgramARBProcPtr) (GLuint program); 2567 + typedef void (* glProgramEnvParameter4dARBProcPtr) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 2568 + typedef void (* glProgramEnvParameter4dvARBProcPtr) (GLenum target, GLuint index, const GLdouble *params); 2569 + typedef void (* glProgramEnvParameter4fARBProcPtr) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 2570 + typedef void (* glProgramEnvParameter4fvARBProcPtr) (GLenum target, GLuint index, const GLfloat *params); 2571 + typedef void (* glProgramLocalParameter4dARBProcPtr) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 2572 + typedef void (* glProgramLocalParameter4dvARBProcPtr) (GLenum target, GLuint index, const GLdouble *params); 2573 + typedef void (* glProgramLocalParameter4fARBProcPtr) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 2574 + typedef void (* glProgramLocalParameter4fvARBProcPtr) (GLenum target, GLuint index, const GLfloat *params); 2575 + #if GL_EXT_gpu_program_parameters 2576 + typedef void (* glProgramEnvParameters4fvEXTProcPtr) (GLenum target, GLuint index, GLsizei count, const GLfloat *params); 2577 + typedef void (* glProgramLocalParameters4fvEXTProcPtr) (GLenum target, GLuint index, GLsizei count, const GLfloat *params); 2578 + #endif 2579 + typedef void (* glGetProgramEnvParameterdvARBProcPtr) (GLenum target, GLuint index, GLdouble *params); 2580 + typedef void (* glGetProgramEnvParameterfvARBProcPtr) (GLenum target, GLuint index, GLfloat *params); 2581 + typedef void (* glGetProgramLocalParameterdvARBProcPtr) (GLenum target, GLuint index, GLdouble *params); 2582 + typedef void (* glGetProgramLocalParameterfvARBProcPtr) (GLenum target, GLuint index, GLfloat *params); 2583 + typedef void (* glProgramStringARBProcPtr) (GLenum target, GLenum format, GLsizei len, const GLvoid *string); 2584 + typedef void (* glGetProgramStringARBProcPtr) (GLenum target, GLenum pname, GLvoid *string); 2585 + typedef void (* glGetProgramivARBProcPtr) (GLenum target, GLenum pname, GLint *params); 2586 + #else 2587 + extern void glBindProgramARB(GLenum target, GLuint program); 2588 + extern void glDeleteProgramsARB(GLsizei n, const GLuint *programs); 2589 + extern void glGenProgramsARB(GLsizei n, GLuint *programs); 2590 + extern GLboolean glIsProgramARB(GLuint program); 2591 + extern void glProgramEnvParameter4dARB(GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 2592 + extern void glProgramEnvParameter4dvARB(GLenum target, GLuint index, const GLdouble *params); 2593 + extern void glProgramEnvParameter4fARB(GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 2594 + extern void glProgramEnvParameter4fvARB(GLenum target, GLuint index, const GLfloat *params); 2595 + extern void glProgramLocalParameter4dARB(GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 2596 + extern void glProgramLocalParameter4dvARB(GLenum target, GLuint index, const GLdouble *params); 2597 + extern void glProgramLocalParameter4fARB(GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 2598 + extern void glProgramLocalParameter4fvARB(GLenum target, GLuint index, const GLfloat *params); 2599 + extern void glGetProgramEnvParameterdvARB(GLenum target, GLuint index, GLdouble *params); 2600 + extern void glGetProgramEnvParameterfvARB(GLenum target, GLuint index, GLfloat *params); 2601 + #if GL_EXT_gpu_program_parameters 2602 + extern void glProgramEnvParameters4fvEXT(GLenum target, GLuint index, GLsizei count, const GLfloat *params); 2603 + extern void glProgramLocalParameters4fvEXT(GLenum target, GLuint index, GLsizei count, const GLfloat *params); 2604 + #endif 2605 + extern void glGetProgramLocalParameterdvARB(GLenum target, GLuint index, GLdouble *params); 2606 + extern void glGetProgramLocalParameterfvARB(GLenum target, GLuint index, GLfloat *params); 2607 + extern void glProgramStringARB(GLenum target, GLenum format, GLsizei len, const GLvoid *string); 2608 + extern void glGetProgramStringARB(GLenum target, GLenum pname, GLvoid *string); 2609 + extern void glGetProgramivARB(GLenum target, GLenum pname, GLint *params); 2610 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 2611 + #endif 2612 + 2613 + #if GL_ARB_vertex_shader 2614 + #ifdef GL_GLEXT_FUNCTION_POINTERS 2615 + typedef void (* glBindAttribLocationARBProcPtr) (GLhandleARB programObj, GLuint index, const GLcharARB *name); 2616 + typedef void (* glGetActiveAttribARBProcPtr) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name); 2617 + typedef GLint (* glGetAttribLocationARBProcPtr) (GLhandleARB programObj, const GLcharARB *name); 2618 + #else 2619 + extern void glBindAttribLocationARB(GLhandleARB programObj, GLuint index, const GLcharARB *name); 2620 + extern void glGetActiveAttribARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name); 2621 + extern GLint glGetAttribLocationARB(GLhandleARB programObj, const GLcharARB *name); 2622 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 2623 + #endif 2624 + 2625 + #if GL_ARB_vertex_shader || GL_ARB_vertex_program 2626 + #ifdef GL_GLEXT_FUNCTION_POINTERS 2627 + typedef void (* glVertexAttrib1dARBProcPtr) (GLuint index, GLdouble x); 2628 + typedef void (* glVertexAttrib1dvARBProcPtr) (GLuint index, const GLdouble *v); 2629 + typedef void (* glVertexAttrib1fARBProcPtr) (GLuint index, GLfloat x); 2630 + typedef void (* glVertexAttrib1fvARBProcPtr) (GLuint index, const GLfloat *v); 2631 + typedef void (* glVertexAttrib1sARBProcPtr) (GLuint index, GLshort x); 2632 + typedef void (* glVertexAttrib1svARBProcPtr) (GLuint index, const GLshort *v); 2633 + typedef void (* glVertexAttrib2dARBProcPtr) (GLuint index, GLdouble x, GLdouble y); 2634 + typedef void (* glVertexAttrib2dvARBProcPtr) (GLuint index, const GLdouble *v); 2635 + typedef void (* glVertexAttrib2fARBProcPtr) (GLuint index, GLfloat x, GLfloat y); 2636 + typedef void (* glVertexAttrib2fvARBProcPtr) (GLuint index, const GLfloat *v); 2637 + typedef void (* glVertexAttrib2sARBProcPtr) (GLuint index, GLshort x, GLshort y); 2638 + typedef void (* glVertexAttrib2svARBProcPtr) (GLuint index, const GLshort *v); 2639 + typedef void (* glVertexAttrib3dARBProcPtr) (GLuint index, GLdouble x, GLdouble y, GLdouble z); 2640 + typedef void (* glVertexAttrib3dvARBProcPtr) (GLuint index, const GLdouble *v); 2641 + typedef void (* glVertexAttrib3fARBProcPtr) (GLuint index, GLfloat x, GLfloat y, GLfloat z); 2642 + typedef void (* glVertexAttrib3fvARBProcPtr) (GLuint index, const GLfloat *v); 2643 + typedef void (* glVertexAttrib3sARBProcPtr) (GLuint index, GLshort x, GLshort y, GLshort z); 2644 + typedef void (* glVertexAttrib3svARBProcPtr) (GLuint index, const GLshort *v); 2645 + typedef void (* glVertexAttrib4NbvARBProcPtr) (GLuint index, const GLbyte *v); 2646 + typedef void (* glVertexAttrib4NivARBProcPtr) (GLuint index, const GLint *v); 2647 + typedef void (* glVertexAttrib4NsvARBProcPtr) (GLuint index, const GLshort *v); 2648 + typedef void (* glVertexAttrib4NubARBProcPtr) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); 2649 + typedef void (* glVertexAttrib4NubvARBProcPtr) (GLuint index, const GLubyte *v); 2650 + typedef void (* glVertexAttrib4NuivARBProcPtr) (GLuint index, const GLuint *v); 2651 + typedef void (* glVertexAttrib4NusvARBProcPtr) (GLuint index, const GLushort *v); 2652 + typedef void (* glVertexAttrib4bvARBProcPtr) (GLuint index, const GLbyte *v); 2653 + typedef void (* glVertexAttrib4dARBProcPtr) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 2654 + typedef void (* glVertexAttrib4dvARBProcPtr) (GLuint index, const GLdouble *v); 2655 + typedef void (* glVertexAttrib4fARBProcPtr) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 2656 + typedef void (* glVertexAttrib4fvARBProcPtr) (GLuint index, const GLfloat *v); 2657 + typedef void (* glVertexAttrib4ivARBProcPtr) (GLuint index, const GLint *v); 2658 + typedef void (* glVertexAttrib4sARBProcPtr) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); 2659 + typedef void (* glVertexAttrib4svARBProcPtr) (GLuint index, const GLshort *v); 2660 + typedef void (* glVertexAttrib4ubvARBProcPtr) (GLuint index, const GLubyte *v); 2661 + typedef void (* glVertexAttrib4uivARBProcPtr) (GLuint index, const GLuint *v); 2662 + typedef void (* glVertexAttrib4usvARBProcPtr) (GLuint index, const GLushort *v); 2663 + typedef void (* glVertexAttribPointerARBProcPtr) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer); 2664 + typedef void (* glDisableVertexAttribArrayARBProcPtr) (GLuint index); 2665 + typedef void (* glEnableVertexAttribArrayARBProcPtr) (GLuint index); 2666 + typedef void (* glGetVertexAttribPointervARBProcPtr) (GLuint index, GLenum pname, GLvoid **pointer); 2667 + typedef void (* glGetVertexAttribdvARBProcPtr) (GLuint index, GLenum pname, GLdouble *params); 2668 + typedef void (* glGetVertexAttribfvARBProcPtr) (GLuint index, GLenum pname, GLfloat *params); 2669 + typedef void (* glGetVertexAttribivARBProcPtr) (GLuint index, GLenum pname, GLint *params); 2670 + #else 2671 + extern void glVertexAttrib1dARB(GLuint index, GLdouble x); 2672 + extern void glVertexAttrib1dvARB(GLuint index, const GLdouble *v); 2673 + extern void glVertexAttrib1fARB(GLuint index, GLfloat x); 2674 + extern void glVertexAttrib1fvARB(GLuint index, const GLfloat *v); 2675 + extern void glVertexAttrib1sARB(GLuint index, GLshort x); 2676 + extern void glVertexAttrib1svARB(GLuint index, const GLshort *v); 2677 + extern void glVertexAttrib2dARB(GLuint index, GLdouble x, GLdouble y); 2678 + extern void glVertexAttrib2dvARB(GLuint index, const GLdouble *v); 2679 + extern void glVertexAttrib2fARB(GLuint index, GLfloat x, GLfloat y); 2680 + extern void glVertexAttrib2fvARB(GLuint index, const GLfloat *v); 2681 + extern void glVertexAttrib2sARB(GLuint index, GLshort x, GLshort y); 2682 + extern void glVertexAttrib2svARB(GLuint index, const GLshort *v); 2683 + extern void glVertexAttrib3dARB(GLuint index, GLdouble x, GLdouble y, GLdouble z); 2684 + extern void glVertexAttrib3dvARB(GLuint index, const GLdouble *v); 2685 + extern void glVertexAttrib3fARB(GLuint index, GLfloat x, GLfloat y, GLfloat z); 2686 + extern void glVertexAttrib3fvARB(GLuint index, const GLfloat *v); 2687 + extern void glVertexAttrib3sARB(GLuint index, GLshort x, GLshort y, GLshort z); 2688 + extern void glVertexAttrib3svARB(GLuint index, const GLshort *v); 2689 + extern void glVertexAttrib4NbvARB(GLuint index, const GLbyte *v); 2690 + extern void glVertexAttrib4NivARB(GLuint index, const GLint *v); 2691 + extern void glVertexAttrib4NsvARB(GLuint index, const GLshort *v); 2692 + extern void glVertexAttrib4NubARB(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); 2693 + extern void glVertexAttrib4NubvARB(GLuint index, const GLubyte *v); 2694 + extern void glVertexAttrib4NuivARB(GLuint index, const GLuint *v); 2695 + extern void glVertexAttrib4NusvARB(GLuint index, const GLushort *v); 2696 + extern void glVertexAttrib4bvARB(GLuint index, const GLbyte *v); 2697 + extern void glVertexAttrib4dARB(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 2698 + extern void glVertexAttrib4dvARB(GLuint index, const GLdouble *v); 2699 + extern void glVertexAttrib4fARB(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 2700 + extern void glVertexAttrib4fvARB(GLuint index, const GLfloat *v); 2701 + extern void glVertexAttrib4ivARB(GLuint index, const GLint *v); 2702 + extern void glVertexAttrib4sARB(GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); 2703 + extern void glVertexAttrib4svARB(GLuint index, const GLshort *v); 2704 + extern void glVertexAttrib4ubvARB(GLuint index, const GLubyte *v); 2705 + extern void glVertexAttrib4uivARB(GLuint index, const GLuint *v); 2706 + extern void glVertexAttrib4usvARB(GLuint index, const GLushort *v); 2707 + extern void glVertexAttribPointerARB(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer); 2708 + extern void glDisableVertexAttribArrayARB(GLuint index); 2709 + extern void glEnableVertexAttribArrayARB(GLuint index); 2710 + extern void glGetVertexAttribPointervARB(GLuint index, GLenum pname, GLvoid **pointer); 2711 + extern void glGetVertexAttribdvARB(GLuint index, GLenum pname, GLdouble *params); 2712 + extern void glGetVertexAttribfvARB(GLuint index, GLenum pname, GLfloat *params); 2713 + extern void glGetVertexAttribivARB(GLuint index, GLenum pname, GLint *params); 2714 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 2715 + #endif 2716 + 2717 + #if GL_ARB_window_pos 2718 + #ifdef GL_GLEXT_FUNCTION_POINTERS 2719 + typedef void (* glWindowPos2dARBProcPtr) (GLdouble x, GLdouble y); 2720 + typedef void (* glWindowPos2dvARBProcPtr) (const GLdouble *p); 2721 + typedef void (* glWindowPos2fARBProcPtr) (GLfloat x, GLfloat y); 2722 + typedef void (* glWindowPos2fvARBProcPtr) (const GLfloat *p); 2723 + typedef void (* glWindowPos2iARBProcPtr) (GLint x, GLint y); 2724 + typedef void (* glWindowPos2ivARBProcPtr) (const GLint *p); 2725 + typedef void (* glWindowPos2sARBProcPtr) (GLshort x, GLshort y); 2726 + typedef void (* glWindowPos2svARBProcPtr) (const GLshort *p); 2727 + typedef void (* glWindowPos3dARBProcPtr) (GLdouble x, GLdouble y, GLdouble z); 2728 + typedef void (* glWindowPos3dvARBProcPtr) (const GLdouble *p); 2729 + typedef void (* glWindowPos3fARBProcPtr) (GLfloat x, GLfloat y, GLfloat z); 2730 + typedef void (* glWindowPos3fvARBProcPtr) (const GLfloat *p); 2731 + typedef void (* glWindowPos3iARBProcPtr) (GLint x, GLint y, GLint z); 2732 + typedef void (* glWindowPos3ivARBProcPtr) (const GLint *p); 2733 + typedef void (* glWindowPos3sARBProcPtr) (GLshort x, GLshort y, GLshort z); 2734 + typedef void (* glWindowPos3svARBProcPtr) (const GLshort *p); 2735 + #else 2736 + extern void glWindowPos2dARB(GLdouble x, GLdouble y); 2737 + extern void glWindowPos2dvARB(const GLdouble *p); 2738 + extern void glWindowPos2fARB(GLfloat x, GLfloat y); 2739 + extern void glWindowPos2fvARB(const GLfloat *p); 2740 + extern void glWindowPos2iARB(GLint x, GLint y); 2741 + extern void glWindowPos2ivARB(const GLint *p); 2742 + extern void glWindowPos2sARB(GLshort x, GLshort y); 2743 + extern void glWindowPos2svARB(const GLshort *p); 2744 + extern void glWindowPos3dARB(GLdouble x, GLdouble y, GLdouble z); 2745 + extern void glWindowPos3dvARB(const GLdouble *p); 2746 + extern void glWindowPos3fARB(GLfloat x, GLfloat y, GLfloat z); 2747 + extern void glWindowPos3fvARB(const GLfloat *p); 2748 + extern void glWindowPos3iARB(GLint x, GLint y, GLint z); 2749 + extern void glWindowPos3ivARB(const GLint *p); 2750 + extern void glWindowPos3sARB(GLshort x, GLshort y, GLshort z); 2751 + extern void glWindowPos3svARB(const GLshort *p); 2752 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 2753 + #endif 2754 + 2755 + #if GL_EXT_bindable_uniform 2756 + #ifdef GL_GLEXT_FUNCTION_POINTERS 2757 + typedef void (*glUniformBufferEXTProcPtr) (GLuint program, GLint location, GLuint buffer); 2758 + typedef GLint (*glGetUniformBufferSizeEXTProcPtr) (GLuint program, GLint location); 2759 + typedef GLintptr (*glGetUniformOffsetEXTProcPtr) (GLuint program, GLint location); 2760 + #else 2761 + extern void glUniformBufferEXT(GLuint program, GLint location, GLuint buffer); 2762 + extern GLint glGetUniformBufferSizeEXT(GLuint program, GLint location); 2763 + extern GLintptr glGetUniformOffsetEXT(GLuint program, GLint location); 2764 + #endif 2765 + #endif /* GL_EXT_bindable_uniform */ 2766 + 2767 + #if GL_EXT_blend_color 2768 + #ifdef GL_GLEXT_FUNCTION_POINTERS 2769 + typedef void (* glBlendColorEXTProcPtr) (GLclampf red, GLclampf blue, GLclampf green, GLclampf alpha); 2770 + #else 2771 + extern void glBlendColorEXT(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); 2772 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 2773 + #endif 2774 + 2775 + #if GL_EXT_blend_equation_separate 2776 + #ifdef GL_GLEXT_FUNCTION_POINTERS 2777 + typedef void (* glBlendEquationSeparateEXTProcPtr) (GLenum modeRGB, GLenum modeAlpha); 2778 + #else 2779 + extern void glBlendEquationSeparateEXT(GLenum modeRGB, GLenum modeAlpha); 2780 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 2781 + #endif 2782 + 2783 + #if GL_EXT_blend_func_separate 2784 + #ifdef GL_GLEXT_FUNCTION_POINTERS 2785 + typedef void (* glBlendFuncSeparateEXTProcPtr) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); 2786 + #else 2787 + extern void glBlendFuncSeparateEXT(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); 2788 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 2789 + #endif 2790 + 2791 + #if GL_EXT_blend_minmax 2792 + #ifdef GL_GLEXT_FUNCTION_POINTERS 2793 + typedef void (* glBlendEquationEXTProcPtr) (GLenum mode); 2794 + #else 2795 + extern void glBlendEquationEXT(GLenum mode); 2796 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 2797 + #endif 2798 + 2799 + #if GL_EXT_color_subtable 2800 + #ifdef GL_GLEXT_FUNCTION_POINTERS 2801 + typedef void (* glColorSubTableEXTProcPtr) (GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); 2802 + typedef void (* glCopyColorSubTableEXTProcPtr) (GLenum, GLsizei, GLint, GLint, GLsizei); 2803 + #else 2804 + extern void glColorSubTableEXT(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); 2805 + extern void glCopyColorSubTableEXT(GLenum, GLsizei, GLint, GLint, GLsizei); 2806 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 2807 + #endif 2808 + 2809 + #if GL_EXT_compiled_vertex_array 2810 + #ifdef GL_GLEXT_FUNCTION_POINTERS 2811 + typedef void (* glLockArraysEXTProcPtr) (GLint first, GLsizei count); 2812 + typedef void (* glUnlockArraysEXTProcPtr) (void); 2813 + #else 2814 + extern void glLockArraysEXT(GLint first, GLsizei count); 2815 + extern void glUnlockArraysEXT(void); 2816 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 2817 + #endif 2818 + 2819 + #if GL_EXT_convolution 2820 + #ifdef GL_GLEXT_FUNCTION_POINTERS 2821 + typedef void (* glConvolutionFilter1DEXTProcPtr) (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *); 2822 + typedef void (* glConvolutionFilter2DEXTProcPtr) (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); 2823 + typedef void (* glConvolutionParameterfEXTProcPtr) (GLenum, GLenum, GLfloat); 2824 + typedef void (* glConvolutionParameterfvEXTProcPtr) (GLenum, GLenum, const GLfloat *); 2825 + typedef void (* glConvolutionParameteriEXTProcPtr) (GLenum, GLenum, GLint); 2826 + typedef void (* glConvolutionParameterivEXTProcPtr) (GLenum, GLenum, const GLint *); 2827 + typedef void (* glCopyConvolutionFilter1DEXTProcPtr) (GLenum, GLenum, GLint, GLint, GLsizei); 2828 + typedef void (* glCopyConvolutionFilter2DEXTProcPtr) (GLenum, GLenum, GLint, GLint, GLsizei, GLsizei); 2829 + typedef void (* glGetConvolutionFilterEXTProcPtr) (GLenum, GLenum, GLenum, GLvoid *); 2830 + typedef void (* glGetConvolutionParameterfvEXTProcPtr) (GLenum, GLenum, GLfloat *); 2831 + typedef void (* glGetConvolutionParameterivEXTProcPtr) (GLenum, GLenum, GLint *); 2832 + typedef void (* glGetSeparableFilterEXTProcPtr) (GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *); 2833 + typedef void (* glSeparableFilter2DEXTProcPtr) (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *); 2834 + #else 2835 + extern void glConvolutionFilter1DEXT(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *); 2836 + extern void glConvolutionFilter2DEXT(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); 2837 + extern void glConvolutionParameterfEXT(GLenum, GLenum, GLfloat); 2838 + extern void glConvolutionParameterfvEXT(GLenum, GLenum, const GLfloat *); 2839 + extern void glConvolutionParameteriEXT(GLenum, GLenum, GLint); 2840 + extern void glConvolutionParameterivEXT(GLenum, GLenum, const GLint *); 2841 + extern void glCopyConvolutionFilter1DEXT(GLenum, GLenum, GLint, GLint, GLsizei); 2842 + extern void glCopyConvolutionFilter2DEXT(GLenum, GLenum, GLint, GLint, GLsizei, GLsizei); 2843 + extern void glGetConvolutionFilterEXT(GLenum, GLenum, GLenum, GLvoid *); 2844 + extern void glGetConvolutionParameterfvEXT(GLenum, GLenum, GLfloat *); 2845 + extern void glGetConvolutionParameterivEXT(GLenum, GLenum, GLint *); 2846 + extern void glGetSeparableFilterEXT(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *); 2847 + extern void glSeparableFilter2DEXT(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *); 2848 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 2849 + #endif 2850 + 2851 + #if GL_EXT_copy_texture 2852 + #ifdef GL_GLEXT_FUNCTION_POINTERS 2853 + typedef void (* glCopyTexImage1DEXTProcPtr) (GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint); 2854 + typedef void (* glCopyTexImage2DEXTProcPtr) (GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint); 2855 + typedef void (* glCopyTexSubImage1DEXTProcPtr) (GLenum, GLint, GLint, GLint, GLint, GLsizei); 2856 + typedef void (* glCopyTexSubImage2DEXTProcPtr) (GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei); 2857 + typedef void (* glCopyTexSubImage3DEXTProcPtr) (GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei); 2858 + #else 2859 + extern void glCopyTexImage1DEXT(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint); 2860 + extern void glCopyTexImage2DEXT(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint); 2861 + extern void glCopyTexSubImage1DEXT(GLenum, GLint, GLint, GLint, GLint, GLsizei); 2862 + extern void glCopyTexSubImage2DEXT(GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei); 2863 + extern void glCopyTexSubImage3DEXT(GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei); 2864 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 2865 + #endif 2866 + 2867 + #if GL_EXT_debug_label 2868 + #ifdef GL_GLEXT_FUNCTION_POINTERS 2869 + typedef void (* glLabelObjectEXTProcPtr) (GLenum type, GLuint object, GLsizei length, const GLchar *label); 2870 + typedef void (* glGetObjectLabelEXTProcPtr) (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label); 2871 + #else 2872 + extern void glLabelObjectEXT(GLenum type, GLuint object, GLsizei length, const GLchar *label); 2873 + extern void glGetObjectLabelEXT(GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label); 2874 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 2875 + #endif 2876 + 2877 + #if GL_EXT_debug_marker 2878 + #ifdef GL_GLEXT_FUNCTION_POINTERS 2879 + typedef void (* glInsertEventMarkerEXTProcPtr) (GLsizei length, const char *marker); 2880 + typedef void (* glPushGroupMarkerEXTProcPtr) (GLsizei length, const char *marker); 2881 + typedef void (* glPopGroupMarkerEXTProcPtr) (void); 2882 + #else 2883 + extern void glInsertEventMarkerEXT(GLsizei length, const char *marker); 2884 + extern void glPushGroupMarkerEXT(GLsizei length, const char *marker); 2885 + extern void glPopGroupMarkerEXT(void); 2886 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 2887 + #endif 2888 + 2889 + #if GL_EXT_depth_bounds_test 2890 + #ifdef GL_GLEXT_FUNCTION_POINTERS 2891 + typedef void (* glDepthBoundsEXTProcPtr) (GLclampd zmin, GLclampd zmax); 2892 + #else 2893 + extern void glDepthBoundsEXT(GLclampd zmin, GLclampd zmax); 2894 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 2895 + #endif 2896 + 2897 + #if GL_EXT_draw_buffers2 2898 + #ifdef GL_GLEXT_FUNCTION_POINTERS 2899 + typedef void (* glColorMaskIndexedEXTProcPtr) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); 2900 + typedef void (* glEnableIndexedEXTProcPtr) (GLenum target, GLuint index); 2901 + typedef void (* glDisableIndexedEXTProcPtr) (GLenum target, GLuint index); 2902 + typedef GLboolean (* glIsEnabledIndexedEXTProcPtr) (GLenum target, GLuint index); 2903 + #else 2904 + extern void glColorMaskIndexedEXT(GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); 2905 + extern void glEnableIndexedEXT(GLenum target, GLuint index); 2906 + extern void glDisableIndexedEXT(GLenum target, GLuint index); 2907 + extern GLboolean glIsEnabledIndexedEXT(GLenum target, GLuint index); 2908 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 2909 + #endif 2910 + 2911 + #if GL_EXT_draw_range_elements 2912 + #ifdef GL_GLEXT_FUNCTION_POINTERS 2913 + typedef void (* glDrawRangeElementsEXTProcPtr) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices); 2914 + #else 2915 + extern void glDrawRangeElementsEXT(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices); 2916 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 2917 + #endif 2918 + 2919 + #if GL_EXT_fog_coord 2920 + #ifdef GL_GLEXT_FUNCTION_POINTERS 2921 + typedef void (* glFogCoordfEXTProcPtr) (GLfloat coord); 2922 + typedef void (* glFogCoordfvEXTProcPtr) (const GLfloat *coord); 2923 + typedef void (* glFogCoorddEXTProcPtr) (GLdouble coord); 2924 + typedef void (* glFogCoorddvEXTProcPtr) (const GLdouble *coord); 2925 + typedef void (* glFogCoordPointerEXTProcPtr) (GLenum type, GLsizei stride, const GLvoid *pointer); 2926 + #else 2927 + extern void glFogCoordfEXT(GLfloat coord); 2928 + extern void glFogCoordfvEXT(const GLfloat *coord); 2929 + extern void glFogCoorddEXT(GLdouble coord); 2930 + extern void glFogCoorddvEXT(const GLdouble *coord); 2931 + extern void glFogCoordPointerEXT(GLenum type, GLsizei stride, const GLvoid *pointer); 2932 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 2933 + #endif 2934 + 2935 + #if GL_EXT_framebuffer_blit 2936 + #ifdef GL_GLEXT_FUNCTION_POINTERS 2937 + typedef void (* glBlitFramebufferEXTProcPtr) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); 2938 + #else 2939 + extern void glBlitFramebufferEXT(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); 2940 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 2941 + #endif 2942 + 2943 + #if GL_EXT_framebuffer_multisample 2944 + #ifdef GL_GLEXT_FUNCTION_POINTERS 2945 + typedef void (* glRenderbufferStorageMultisampleEXTProcPtr) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 2946 + #else 2947 + extern void glRenderbufferStorageMultisampleEXT(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 2948 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 2949 + #endif 2950 + 2951 + #if GL_EXT_framebuffer_object 2952 + #ifdef GL_GLEXT_FUNCTION_POINTERS 2953 + typedef GLboolean (* glIsRenderbufferEXTProcPtr) (GLuint renderbuffer); 2954 + typedef void (* glBindRenderbufferEXTProcPtr) (GLenum target, GLuint renderbuffer); 2955 + typedef void (* glDeleteRenderbuffersEXTProcPtr) (GLsizei n, const GLuint *renderbuffers); 2956 + typedef void (* glGenRenderbuffersEXTProcPtr) (GLsizei n, GLuint *renderbuffers); 2957 + typedef void (* glRenderbufferStorageEXTProcPtr) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); 2958 + typedef void (* glGetRenderbufferParameterivEXTProcPtr) (GLenum target, GLenum pname, GLint *params); 2959 + typedef GLboolean (* glIsFramebufferEXTProcPtr) (GLuint framebuffer); 2960 + typedef void (* glBindFramebufferEXTProcPtr) (GLenum target, GLuint framebuffer); 2961 + typedef void (* glDeleteFramebuffersEXTProcPtr) (GLsizei n, const GLuint *framebuffers); 2962 + typedef void (* glGenFramebuffersEXTProcPtr) (GLsizei n, GLuint *framebuffers); 2963 + typedef GLenum (* glCheckFramebufferStatusEXTProcPtr) (GLenum target); 2964 + typedef void (* glFramebufferTexture1DEXTProcPtr) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); 2965 + typedef void (* glFramebufferTexture2DEXTProcPtr) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); 2966 + typedef void (* glFramebufferTexture3DEXTProcPtr) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); 2967 + typedef void (* glFramebufferRenderbufferEXTProcPtr) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); 2968 + typedef void (* glGetFramebufferAttachmentParameterivEXTProcPtr) (GLenum target, GLenum attachment, GLenum pname, GLint *params); 2969 + typedef void (* glGenerateMipmapEXTProcPtr) (GLenum target); 2970 + #else 2971 + extern GLboolean glIsRenderbufferEXT(GLuint renderbuffer); 2972 + extern void glBindRenderbufferEXT(GLenum target, GLuint renderbuffer); 2973 + extern void glDeleteRenderbuffersEXT(GLsizei n, const GLuint *renderbuffers); 2974 + extern void glGenRenderbuffersEXT(GLsizei n, GLuint *renderbuffers); 2975 + extern void glRenderbufferStorageEXT(GLenum target, GLenum internalformat, GLsizei width, GLsizei height); 2976 + extern void glGetRenderbufferParameterivEXT(GLenum target, GLenum pname, GLint *params); 2977 + extern GLboolean glIsFramebufferEXT(GLuint framebuffer); 2978 + extern void glBindFramebufferEXT(GLenum target, GLuint framebuffer); 2979 + extern void glDeleteFramebuffersEXT(GLsizei n, const GLuint *framebuffers); 2980 + extern void glGenFramebuffersEXT(GLsizei n, GLuint *framebuffers); 2981 + extern GLenum glCheckFramebufferStatusEXT(GLenum target); 2982 + extern void glFramebufferTexture1DEXT(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); 2983 + extern void glFramebufferTexture2DEXT(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); 2984 + extern void glFramebufferTexture3DEXT(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); 2985 + extern void glFramebufferRenderbufferEXT(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); 2986 + extern void glGetFramebufferAttachmentParameterivEXT(GLenum target, GLenum attachment, GLenum pname, GLint *params); 2987 + extern void glGenerateMipmapEXT(GLenum target); 2988 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 2989 + #endif 2990 + 2991 + #if GL_EXT_geometry_shader4 2992 + #ifdef GL_GLEXT_FUNCTION_POINTERS 2993 + typedef void (* glProgramParameteriEXTProcPtr) (GLuint program, GLenum pname, GLint value); 2994 + typedef void (* glFramebufferTextureEXTProcPtr) (GLenum target, GLenum attachment, GLuint texture, GLint level); 2995 + typedef void (* glFramebufferTextureFaceEXTProcPtr) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face); 2996 + #else 2997 + extern void glProgramParameteriEXT(GLuint program, GLenum pname, GLint value); 2998 + extern void glFramebufferTextureEXT(GLenum target, GLenum attachment, GLuint texture, GLint level); 2999 + extern void glFramebufferTextureFaceEXT(GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face); 3000 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 3001 + #endif 3002 + 3003 + #if GL_EXT_geometry_shader4 || GL_EXT_texture_array 3004 + #ifdef GL_GLEXT_FUNCTION_POINTERS 3005 + typedef void (* glFramebufferTextureLayerEXTProcPtr) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); 3006 + #else 3007 + extern void glFramebufferTextureLayerEXT(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); 3008 + #endif 3009 + #endif 3010 + 3011 + #if GL_EXT_gpu_shader4 3012 + #ifdef GL_GLEXT_FUNCTION_POINTERS 3013 + typedef void (*glVertexAttribI1iEXTProcPtr) (GLuint index, GLint x); 3014 + typedef void (*glVertexAttribI2iEXTProcPtr) (GLuint index, GLint x, GLint y); 3015 + typedef void (*glVertexAttribI3iEXTProcPtr) (GLuint index, GLint x, GLint y, GLint z); 3016 + typedef void (*glVertexAttribI4iEXTProcPtr) (GLuint index, GLint x, GLint y, GLint z, GLint w); 3017 + typedef void (*glVertexAttribI1uiEXTProcPtr) (GLuint index, GLuint x); 3018 + typedef void (*glVertexAttribI2uiEXTProcPtr) (GLuint index, GLuint x, GLuint y); 3019 + typedef void (*glVertexAttribI3uiEXTProcPtr) (GLuint index, GLuint x, GLuint y, GLuint z); 3020 + typedef void (*glVertexAttribI4uiEXTProcPtr) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); 3021 + typedef void (*glVertexAttribI1ivEXTProcPtr) (GLuint index, const GLint *v); 3022 + typedef void (*glVertexAttribI2ivEXTProcPtr) (GLuint index, const GLint *v); 3023 + typedef void (*glVertexAttribI3ivEXTProcPtr) (GLuint index, const GLint *v); 3024 + typedef void (*glVertexAttribI4ivEXTProcPtr) (GLuint index, const GLint *v); 3025 + typedef void (*glVertexAttribI1uivEXTProcPtr) (GLuint index, const GLuint *v); 3026 + typedef void (*glVertexAttribI2uivEXTProcPtr) (GLuint index, const GLuint *v); 3027 + typedef void (*glVertexAttribI3uivEXTProcPtr) (GLuint index, const GLuint *v); 3028 + typedef void (*glVertexAttribI4uivEXTProcPtr) (GLuint index, const GLuint *v); 3029 + typedef void (*glVertexAttribI4bvEXTProcPtr) (GLuint index, const GLbyte *v); 3030 + typedef void (*glVertexAttribI4svEXTProcPtr) (GLuint index, const GLshort *v); 3031 + typedef void (*glVertexAttribI4ubvEXTProcPtr) (GLuint index, const GLubyte *v); 3032 + typedef void (*glVertexAttribI4usvEXTProcPtr) (GLuint index, const GLushort *v); 3033 + typedef void (*glVertexAttribIPointerEXTProcPtr) (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); 3034 + typedef void (*glGetVertexAttribIivEXTProcPtr) (GLuint index, GLenum pname, GLint *params); 3035 + typedef void (*glGetVertexAttribIuivEXTProcPtr) (GLuint index, GLenum pname, GLuint *params); 3036 + typedef void (*glUniform1uiEXTProcPtr) (GLint location, GLuint v0); 3037 + typedef void (*glUniform2uiEXTProcPtr) (GLint location, GLuint v0, GLuint v1); 3038 + typedef void (*glUniform3uiEXTProcPtr) (GLint location, GLuint v0, GLuint v1, GLuint v2); 3039 + typedef void (*glUniform4uiEXTProcPtr) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); 3040 + typedef void (*glUniform1uivEXTProcPtr) (GLint location, GLsizei count, const GLuint *value); 3041 + typedef void (*glUniform2uivEXTProcPtr) (GLint location, GLsizei count, const GLuint *value); 3042 + typedef void (*glUniform3uivEXTProcPtr) (GLint location, GLsizei count, const GLuint *value); 3043 + typedef void (*glUniform4uivEXTProcPtr) (GLint location, GLsizei count, const GLuint *value); 3044 + typedef void (*glGetUniformuivEXTProcPtr) (GLuint program, GLint location, GLuint *params); 3045 + typedef void (*glBindFragDataLocationEXTProcPtr) (GLuint program, GLuint colorNumber, const GLchar *name); 3046 + typedef GLint (*glGetFragDataLocationEXTProcPtr) (GLuint program, const GLchar *name); 3047 + #else 3048 + extern void glVertexAttribI1iEXT(GLuint index, GLint x); 3049 + extern void glVertexAttribI2iEXT(GLuint index, GLint x, GLint y); 3050 + extern void glVertexAttribI3iEXT(GLuint index, GLint x, GLint y, GLint z); 3051 + extern void glVertexAttribI4iEXT(GLuint index, GLint x, GLint y, GLint z, GLint w); 3052 + extern void glVertexAttribI1uiEXT(GLuint index, GLuint x); 3053 + extern void glVertexAttribI2uiEXT(GLuint index, GLuint x, GLuint y); 3054 + extern void glVertexAttribI3uiEXT(GLuint index, GLuint x, GLuint y, GLuint z); 3055 + extern void glVertexAttribI4uiEXT(GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); 3056 + extern void glVertexAttribI1ivEXT(GLuint index, const GLint *v); 3057 + extern void glVertexAttribI2ivEXT(GLuint index, const GLint *v); 3058 + extern void glVertexAttribI3ivEXT(GLuint index, const GLint *v); 3059 + extern void glVertexAttribI4ivEXT(GLuint index, const GLint *v); 3060 + extern void glVertexAttribI1uivEXT(GLuint index, const GLuint *v); 3061 + extern void glVertexAttribI2uivEXT(GLuint index, const GLuint *v); 3062 + extern void glVertexAttribI3uivEXT(GLuint index, const GLuint *v); 3063 + extern void glVertexAttribI4uivEXT(GLuint index, const GLuint *v); 3064 + extern void glVertexAttribI4bvEXT(GLuint index, const GLbyte *v); 3065 + extern void glVertexAttribI4svEXT(GLuint index, const GLshort *v); 3066 + extern void glVertexAttribI4ubvEXT(GLuint index, const GLubyte *v); 3067 + extern void glVertexAttribI4usvEXT(GLuint index, const GLushort *v); 3068 + extern void glVertexAttribIPointerEXT(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); 3069 + extern void glGetVertexAttribIivEXT(GLuint index, GLenum pname, GLint *params); 3070 + extern void glGetVertexAttribIuivEXT(GLuint index, GLenum pname, GLuint *params); 3071 + extern void glUniform1uiEXT(GLint location, GLuint v0); 3072 + extern void glUniform2uiEXT(GLint location, GLuint v0, GLuint v1); 3073 + extern void glUniform3uiEXT(GLint location, GLuint v0, GLuint v1, GLuint v2); 3074 + extern void glUniform4uiEXT(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); 3075 + extern void glUniform1uivEXT(GLint location, GLsizei count, const GLuint *value); 3076 + extern void glUniform2uivEXT(GLint location, GLsizei count, const GLuint *value); 3077 + extern void glUniform3uivEXT(GLint location, GLsizei count, const GLuint *value); 3078 + extern void glUniform4uivEXT(GLint location, GLsizei count, const GLuint *value); 3079 + extern void glGetUniformuivEXT(GLuint program, GLint location, GLuint *params); 3080 + extern void glBindFragDataLocationEXT(GLuint program, GLuint colorNumber, const GLchar *name); 3081 + extern GLint glGetFragDataLocationEXT(GLuint program, const GLchar *name); 3082 + #endif 3083 + #endif /* GL_EXT_gpu_shader4 */ 3084 + 3085 + #if GL_EXT_histogram 3086 + #ifdef GL_GLEXT_FUNCTION_POINTERS 3087 + typedef void (* glGetHistogramEXTProcPtr) (GLenum, GLboolean, GLenum, GLenum, GLvoid *); 3088 + typedef void (* glGetHistogramParameterfvEXTProcPtr) (GLenum, GLenum, GLfloat *); 3089 + typedef void (* glGetHistogramParameterivEXTProcPtr) (GLenum, GLenum, GLint *); 3090 + typedef void (* glGetMinmaxEXTProcPtr) (GLenum, GLboolean, GLenum, GLenum, GLvoid *); 3091 + typedef void (* glGetMinmaxParameterfvEXTProcPtr) (GLenum, GLenum, GLfloat *); 3092 + typedef void (* glGetMinmaxParameterivEXTProcPtr) (GLenum, GLenum, GLint *); 3093 + typedef void (* glHistogramEXTProcPtr) (GLenum, GLsizei, GLenum, GLboolean); 3094 + typedef void (* glMinmaxEXTProcPtr) (GLenum, GLenum, GLboolean); 3095 + typedef void (* glResetHistogramEXTProcPtr) (GLenum); 3096 + typedef void (* glResetMinmaxEXTProcPtr) (GLenum); 3097 + #else 3098 + extern void glGetHistogramEXT(GLenum, GLboolean, GLenum, GLenum, GLvoid *); 3099 + extern void glGetHistogramParameterfvEXT(GLenum, GLenum, GLfloat *); 3100 + extern void glGetHistogramParameterivEXT(GLenum, GLenum, GLint *); 3101 + extern void glGetMinmaxEXT(GLenum, GLboolean, GLenum, GLenum, GLvoid *); 3102 + extern void glGetMinmaxParameterfvEXT(GLenum, GLenum, GLfloat *); 3103 + extern void glGetMinmaxParameterivEXT(GLenum, GLenum, GLint *); 3104 + extern void glHistogramEXT(GLenum, GLsizei, GLenum, GLboolean); 3105 + extern void glMinmaxEXT(GLenum, GLenum, GLboolean); 3106 + extern void glResetHistogramEXT(GLenum); 3107 + extern void glResetMinmaxEXT(GLenum); 3108 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 3109 + #endif 3110 + 3111 + #if GL_EXT_multi_draw_arrays 3112 + #ifdef GL_GLEXT_FUNCTION_POINTERS 3113 + typedef void (* glMultiDrawArraysEXTProcPtr) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount); 3114 + typedef void (* glMultiDrawElementsEXTProcPtr) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei primcount); 3115 + #else 3116 + extern void glMultiDrawArraysEXT(GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount); 3117 + extern void glMultiDrawElementsEXT(GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei primcount); 3118 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 3119 + #endif 3120 + 3121 + #if GL_EXT_paletted_texture 3122 + #ifdef GL_GLEXT_FUNCTION_POINTERS 3123 + typedef void (* glColorTableEXTProcPtr) (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *); 3124 + typedef void (* glColorSubTableEXTProcPtr) (GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); 3125 + typedef void (* glGetColorTableEXTProcPtr) (GLenum, GLenum, GLenum, GLvoid *); 3126 + typedef void (* glGetColorTableParameterivEXTProcPtr) (GLenum, GLenum, GLint *); 3127 + typedef void (* glGetColorTableParameterfvEXTProcPtr) (GLenum, GLenum, GLfloat *); 3128 + #else 3129 + extern void glColorTableEXT(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *); 3130 + extern void glColorSubTableEXT(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); 3131 + extern void glGetColorTableEXT(GLenum, GLenum, GLenum, GLvoid *); 3132 + extern void glGetColorTableParameterivEXT(GLenum, GLenum, GLint *); 3133 + extern void glGetColorTableParameterfvEXT(GLenum, GLenum, GLfloat *); 3134 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 3135 + #endif 3136 + 3137 + #if GL_EXT_polygon_offset 3138 + #ifdef GL_GLEXT_FUNCTION_POINTERS 3139 + typedef void (* glPolygonOffsetEXTProcPtr) (GLfloat factor, GLfloat bias); 3140 + #else 3141 + extern void glPolygonOffsetEXT(GLfloat factor, GLfloat bias); 3142 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 3143 + #endif 3144 + 3145 + #if GL_EXT_provoking_vertex 3146 + #ifdef GL_GLEXT_FUNCTION_POINTERS 3147 + typedef void (* glProvokingVertexEXTProcPtr) (GLenum mode); 3148 + #else 3149 + extern void glProvokingVertexEXT(GLenum mode); 3150 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 3151 + #endif 3152 + 3153 + #if GL_EXT_secondary_color 3154 + #ifdef GL_GLEXT_FUNCTION_POINTERS 3155 + typedef void (* glSecondaryColor3bEXTProcPtr) (GLbyte red, GLbyte green, GLbyte blue); 3156 + typedef void (* glSecondaryColor3bvEXTProcPtr) (const GLbyte *v); 3157 + typedef void (* glSecondaryColor3dEXTProcPtr) (GLdouble red, GLdouble green, GLdouble blue); 3158 + typedef void (* glSecondaryColor3dvEXTProcPtr) (const GLdouble *v); 3159 + typedef void (* glSecondaryColor3fEXTProcPtr) (GLfloat red, GLfloat green, GLfloat blue); 3160 + typedef void (* glSecondaryColor3fvEXTProcPtr) (const GLfloat *v); 3161 + typedef void (* glSecondaryColor3iEXTProcPtr) (GLint red, GLint green, GLint blue); 3162 + typedef void (* glSecondaryColor3ivEXTProcPtr) (const GLint *v); 3163 + typedef void (* glSecondaryColor3sEXTProcPtr) (GLshort red, GLshort green, GLshort blue); 3164 + typedef void (* glSecondaryColor3svEXTProcPtr) (const GLshort *v); 3165 + typedef void (* glSecondaryColor3ubEXTProcPtr) (GLubyte red, GLubyte green, GLubyte blue); 3166 + typedef void (* glSecondaryColor3ubvEXTProcPtr) (const GLubyte *v); 3167 + typedef void (* glSecondaryColor3uiEXTProcPtr) (GLuint red, GLuint green, GLuint blue); 3168 + typedef void (* glSecondaryColor3uivEXTProcPtr) (const GLuint *v); 3169 + typedef void (* glSecondaryColor3usEXTProcPtr) (GLushort red, GLushort green, GLushort blue); 3170 + typedef void (* glSecondaryColor3usvEXTProcPtr) (const GLushort *v); 3171 + typedef void (* glSecondaryColorPointerEXTProcPtr) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); 3172 + #else 3173 + extern void glSecondaryColor3bEXT(GLbyte red, GLbyte green, GLbyte blue); 3174 + extern void glSecondaryColor3bvEXT(const GLbyte *v); 3175 + extern void glSecondaryColor3dEXT(GLdouble red, GLdouble green, GLdouble blue); 3176 + extern void glSecondaryColor3dvEXT(const GLdouble *v); 3177 + extern void glSecondaryColor3fEXT(GLfloat red, GLfloat green, GLfloat blue); 3178 + extern void glSecondaryColor3fvEXT(const GLfloat *v); 3179 + extern void glSecondaryColor3iEXT(GLint red, GLint green, GLint blue); 3180 + extern void glSecondaryColor3ivEXT(const GLint *v); 3181 + extern void glSecondaryColor3sEXT(GLshort red, GLshort green, GLshort blue); 3182 + extern void glSecondaryColor3svEXT(const GLshort *v); 3183 + extern void glSecondaryColor3ubEXT(GLubyte red, GLubyte green, GLubyte blue); 3184 + extern void glSecondaryColor3ubvEXT(const GLubyte *v); 3185 + extern void glSecondaryColor3uiEXT(GLuint red, GLuint green, GLuint blue); 3186 + extern void glSecondaryColor3uivEXT(const GLuint *v); 3187 + extern void glSecondaryColor3usEXT(GLushort red, GLushort green, GLushort blue); 3188 + extern void glSecondaryColor3usvEXT(const GLushort *v); 3189 + extern void glSecondaryColorPointerEXT(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); 3190 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 3191 + #endif 3192 + 3193 + #if GL_EXT_stencil_two_side 3194 + #ifdef GL_GLEXT_FUNCTION_POINTERS 3195 + typedef void (* glActiveStencilFaceEXTProcPtr) (GLenum face); 3196 + #else 3197 + extern void glActiveStencilFaceEXT(GLenum face); 3198 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 3199 + #endif 3200 + 3201 + #if GL_EXT_subtexture 3202 + #ifdef GL_GLEXT_FUNCTION_POINTERS 3203 + typedef void (* glTexSubImage1DEXTProcPtr) (GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *); 3204 + typedef void (* glTexSubImage2DEXTProcPtr) (GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); 3205 + #else 3206 + extern void glTexSubImage1DEXT(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *); 3207 + extern void glTexSubImage2DEXT(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); 3208 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 3209 + #endif 3210 + 3211 + #if GL_EXT_texture3D 3212 + #ifdef GL_GLEXT_FUNCTION_POINTERS 3213 + typedef void (* glTexImage3DEXTProcPtr) (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *); 3214 + typedef void (* glTexSubImage3DEXTProcPtr) (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); 3215 + #else 3216 + extern void glTexImage3DEXT(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *); 3217 + extern void glTexSubImage3DEXT(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); 3218 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 3219 + #endif 3220 + 3221 + #if GL_EXT_texture_integer 3222 + #ifdef GL_GLEXT_FUNCTION_POINTERS 3223 + typedef void (*glClearColorIiEXTProcPtr) ( GLint r, GLint g, GLint b, GLint a ); 3224 + typedef void (*glClearColorIuiEXTProcPtr) ( GLuint r, GLuint g, GLuint b, GLuint a ); 3225 + typedef void (*glTexParameterIivEXTProcPtr)( GLenum target, GLenum pname, GLint *params ); 3226 + typedef void (*glTexParameterIuivEXTProcPtr)( GLenum target, GLenum pname, GLuint *params ); 3227 + typedef void (*glGetTexParameterIivEXTProcPtr) ( GLenum target, GLenum pname, GLint *params); 3228 + typedef void (*glGetTexParameterIuivEXTProcPtr) ( GLenum target, GLenum pname, GLuint *params); 3229 + #else 3230 + extern void glClearColorIiEXT( GLint r, GLint g, GLint b, GLint a ); 3231 + extern void glClearColorIuiEXT( GLuint r, GLuint g, GLuint b, GLuint a ); 3232 + extern void glTexParameterIivEXT( GLenum target, GLenum pname, GLint *params ); 3233 + extern void glTexParameterIuivEXT( GLenum target, GLenum pname, GLuint *params ); 3234 + extern void glGetTexParameterIivEXT( GLenum target, GLenum pname, GLint *params); 3235 + extern void glGetTexParameterIuivEXT( GLenum target, GLenum pname, GLuint *params); 3236 + #endif 3237 + #endif /* GL_EXT_texture_integer */ 3238 + 3239 + #if GL_EXT_texture_object 3240 + #ifdef GL_GLEXT_FUNCTION_POINTERS 3241 + typedef GLboolean (* glAreTexturesResidentEXTProcPtr) (GLsizei, const GLuint *, GLboolean *); 3242 + typedef void (* glBindTextureEXTProcPtr) (GLenum, GLuint); 3243 + typedef void (* glDeleteTexturesEXTProcPtr) (GLsizei, const GLuint *); 3244 + typedef void (* glGenTexturesEXTProcPtr) (GLsizei, GLuint *); 3245 + typedef GLboolean (* glIsTextureEXTProcPtr) (GLuint); 3246 + typedef void (* glPrioritizeTexturesEXTProcPtr) (GLsizei, const GLuint *, const GLclampf *); 3247 + #else 3248 + extern GLboolean glAreTexturesResidentEXT(GLsizei, const GLuint *, GLboolean *); 3249 + extern void glBindTextureEXT(GLenum, GLuint); 3250 + extern void glDeleteTexturesEXT(GLsizei, const GLuint *); 3251 + extern void glGenTexturesEXT(GLsizei, GLuint *); 3252 + extern GLboolean glIsTextureEXT(GLuint); 3253 + extern void glPrioritizeTexturesEXT(GLsizei, const GLuint *, const GLclampf *); 3254 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 3255 + #endif 3256 + 3257 + #if GL_EXT_timer_query 3258 + #ifdef GL_GLEXT_FUNCTION_POINTERS 3259 + typedef void (* glGetQueryObjecti64vEXTProcPtr)(GLuint id, GLenum pname, GLint64EXT *params); 3260 + typedef void (* glGetQueryObjectui64vEXTProcPtr)(GLuint id, GLenum pname, GLuint64EXT *params); 3261 + #else 3262 + extern void glGetQueryObjecti64vEXT(GLuint id, GLenum pname, GLint64EXT *params); 3263 + extern void glGetQueryObjectui64vEXT(GLuint id, GLenum pname, GLuint64EXT *params); 3264 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 3265 + #endif 3266 + 3267 + #if GL_EXT_transform_feedback 3268 + #ifdef GL_GLEXT_FUNCTION_POINTERS 3269 + typedef void (* glBindBufferRangeEXTProcPtr) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); 3270 + typedef void (* glBindBufferOffsetEXTProcPtr) (GLenum target, GLuint index, GLuint buffer, GLintptr offset); 3271 + typedef void (* glBindBufferBaseEXTProcPtr) (GLenum target, GLuint index, GLuint buffer); 3272 + typedef void (* glBeginTransformFeedbackEXTProcPtr) (GLenum primitiveMode); 3273 + typedef void (* glEndTransformFeedbackEXTProcPtr) (void); 3274 + typedef void (* glTransformFeedbackVaryingsEXTProcPtr) (GLuint program, GLsizei count, const GLchar* const *varyings, GLenum bufferMode); 3275 + typedef void (* glGetTransformFeedbackVaryingEXTProcPtr) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); 3276 + #else 3277 + extern void glBindBufferRangeEXT(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); 3278 + extern void glBindBufferOffsetEXT(GLenum target, GLuint index, GLuint buffer, GLintptr offset); 3279 + extern void glBindBufferBaseEXT(GLenum target, GLuint index, GLuint buffer); 3280 + extern void glBeginTransformFeedbackEXT(GLenum primitiveMode); 3281 + extern void glEndTransformFeedbackEXT(void); 3282 + extern void glTransformFeedbackVaryingsEXT(GLuint program, GLsizei count, const GLchar* const *varyings, GLenum bufferMode); 3283 + extern void glGetTransformFeedbackVaryingEXT(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); 3284 + #endif 3285 + #endif /* GL_EXT_transform_feedback */ 3286 + 3287 + #if GL_EXT_transform_feedback || GL_EXT_draw_buffers2 3288 + #ifdef GL_GLEXT_FUNCTION_POINTERS 3289 + typedef void (* glGetIntegerIndexedvEXTProcPtr) (GLenum param, GLint index, GLint *values); 3290 + typedef void (* glGetBooleanIndexedvEXTProcPtr) (GLenum param, GLint index, GLboolean *values); 3291 + #else 3292 + extern void glGetIntegerIndexedvEXT(GLenum param, GLuint index, GLint *values); 3293 + extern void glGetBooleanIndexedvEXT(GLenum param, GLuint index, GLboolean *values); 3294 + #endif 3295 + #endif /* GL_EXT_transform_feedback || GL_EXT_draw_buffers2 */ 3296 + 3297 + #if GL_EXT_vertex_array 3298 + #ifdef GL_GLEXT_FUNCTION_POINTERS 3299 + typedef void (* glArrayElementEXTProcPtr) (GLint); 3300 + typedef void (* glColorPointerEXTProcPtr) (GLint, GLenum, GLsizei, GLsizei, const GLvoid *); 3301 + typedef void (* glDrawArraysEXTProcPtr) (GLenum, GLint, GLsizei); 3302 + typedef void (* glEdgeFlagPointerEXTProcPtr) (GLsizei, GLsizei, const GLvoid *); 3303 + typedef void (* glGetPointervEXTProcPtr) (GLenum, GLvoid **); 3304 + typedef void (* glIndexPointerEXTProcPtr) (GLenum, GLsizei, GLsizei, const GLvoid *); 3305 + typedef void (* glNormalPointerEXTProcPtr) (GLenum, GLsizei, GLsizei, const GLvoid *); 3306 + typedef void (* glTexCoordPointerEXTProcPtr) (GLint, GLenum, GLsizei, GLsizei, const GLvoid *); 3307 + typedef void (* glVertexPointerEXTProcPtr) (GLint, GLenum, GLsizei, GLsizei, const GLvoid *); 3308 + #else 3309 + extern void glArrayElementEXT(GLint); 3310 + extern void glColorPointerEXT(GLint, GLenum, GLsizei, GLsizei, const GLvoid *); 3311 + extern void glDrawArraysEXT(GLenum, GLint, GLsizei); 3312 + extern void glEdgeFlagPointerEXT(GLsizei, GLsizei, const GLvoid *); 3313 + extern void glGetPointervEXT(GLenum, GLvoid **); 3314 + extern void glIndexPointerEXT(GLenum, GLsizei, GLsizei, const GLvoid *); 3315 + extern void glNormalPointerEXT(GLenum, GLsizei, GLsizei, const GLvoid *); 3316 + extern void glTexCoordPointerEXT(GLint, GLenum, GLsizei, GLsizei, const GLvoid *); 3317 + extern void glVertexPointerEXT(GLint, GLenum, GLsizei, GLsizei, const GLvoid *); 3318 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 3319 + #endif 3320 + 3321 + #if GL_APPLE_element_array 3322 + #ifdef GL_GLEXT_FUNCTION_POINTERS 3323 + typedef void (* glElementPointerAPPLEProcPtr) (GLenum type, const GLvoid *pointer); 3324 + typedef void (* glDrawElementArrayAPPLEProcPtr) (GLenum mode, GLint first, GLsizei count); 3325 + typedef void (* glDrawRangeElementArrayAPPLEProcPtr) (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count); 3326 + typedef void (* glMultiDrawElementArrayAPPLEProcPtr) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount); 3327 + typedef void (* glMultiDrawRangeElementArrayAPPLEProcPtr) (GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount); 3328 + #else 3329 + extern void glElementPointerAPPLE(GLenum type, const GLvoid *pointer); 3330 + extern void glDrawElementArrayAPPLE(GLenum mode, GLint first, GLsizei count); 3331 + extern void glDrawRangeElementArrayAPPLE(GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count); 3332 + extern void glMultiDrawElementArrayAPPLE(GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount); 3333 + extern void glMultiDrawRangeElementArrayAPPLE(GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount); 3334 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 3335 + #endif 3336 + 3337 + #if GL_APPLE_fence 3338 + #ifdef GL_GLEXT_FUNCTION_POINTERS 3339 + typedef void (* glGenFencesAPPLEProcPtr) (GLsizei n, GLuint *fences); 3340 + typedef void (* glDeleteFencesAPPLEProcPtr) (GLsizei n, const GLuint *fences); 3341 + typedef void (* glSetFenceAPPLEProcPtr) (GLuint fence); 3342 + typedef GLboolean (* glIsFenceAPPLEProcPtr) (GLuint fence); 3343 + typedef GLboolean (* glTestFenceAPPLEProcPtr) (GLuint fence); 3344 + typedef void (* glFinishFenceAPPLEProcPtr) (GLuint fence); 3345 + typedef GLboolean (* glTestObjectAPPLEProcPtr) (GLenum object, GLuint name); 3346 + typedef void (* glFinishObjectAPPLEProcPtr) (GLenum object, GLuint name); 3347 + #else 3348 + extern void glGenFencesAPPLE(GLsizei n, GLuint *fences); 3349 + extern void glDeleteFencesAPPLE(GLsizei n, const GLuint *fences); 3350 + extern void glSetFenceAPPLE(GLuint fence); 3351 + extern GLboolean glIsFenceAPPLE(GLuint fence); 3352 + extern GLboolean glTestFenceAPPLE(GLuint fence); 3353 + extern void glFinishFenceAPPLE(GLuint fence); 3354 + extern GLboolean glTestObjectAPPLE(GLenum object, GLuint name); 3355 + extern void glFinishObjectAPPLE(GLenum object, GLuint name); 3356 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 3357 + #endif 3358 + 3359 + #if GL_APPLE_flush_buffer_range 3360 + #ifdef GL_GLEXT_FUNCTION_POINTERS 3361 + typedef void (* glBufferParameteriAPPLEProcPtr) (GLenum target, GLenum pname, GLint param); 3362 + typedef void (* glFlushMappedBufferRangeAPPLEProcPtr) (GLenum target, GLintptr offset, GLsizeiptr size); 3363 + #else 3364 + extern void glBufferParameteriAPPLE(GLenum target, GLenum pname, GLint param); 3365 + extern void glFlushMappedBufferRangeAPPLE(GLenum target, GLintptr offset, GLsizeiptr size); 3366 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 3367 + #endif 3368 + 3369 + #if GL_APPLE_flush_render 3370 + #ifdef GL_GLEXT_FUNCTION_POINTERS 3371 + typedef void (* glFlushRenderAPPLEProcPtr) (void); 3372 + typedef void (* glFinishRenderAPPLEProcPtr) (void); 3373 + typedef void (* glSwapAPPLEProcPtr) (void); 3374 + #else 3375 + extern void glFlushRenderAPPLE(void); 3376 + extern void glFinishRenderAPPLE(void); 3377 + extern void glSwapAPPLE(void); 3378 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 3379 + #endif 3380 + 3381 + #if GL_APPLE_object_purgeable 3382 + #ifdef GL_GLEXT_FUNCTION_POINTERS 3383 + typedef GLenum (* glObjectPurgeableAPPLEProcPtr) (GLenum objectType, GLuint name, GLenum option); 3384 + typedef GLenum (* glObjectUnpurgeableAPPLEProcPtr) (GLenum objectType, GLuint name, GLenum option); 3385 + typedef void (* glGetObjectParameterivAPPLEProcPtr) (GLenum objectType, GLuint name, GLenum pname, GLint *params); 3386 + #else 3387 + extern GLenum glObjectPurgeableAPPLE(GLenum objectType, GLuint name, GLenum option); 3388 + extern GLenum glObjectUnpurgeableAPPLE(GLenum objectType, GLuint name, GLenum option); 3389 + extern void glGetObjectParameterivAPPLE(GLenum objectType, GLuint name, GLenum pname, GLint *params); 3390 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 3391 + #endif 3392 + 3393 + #if GL_APPLE_texture_range 3394 + #ifdef GL_GLEXT_FUNCTION_POINTERS 3395 + typedef void (* glTextureRangeAPPLEProcPtr) (GLenum target, GLsizei length, const GLvoid *pointer); 3396 + typedef void (* glGetTexParameterPointervAPPLEProcPtr) (GLenum target, GLenum pname, GLvoid **params); 3397 + #else 3398 + extern void glTextureRangeAPPLE(GLenum target, GLsizei length, const GLvoid *pointer); 3399 + extern void glGetTexParameterPointervAPPLE(GLenum target, GLenum pname, GLvoid **params); 3400 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 3401 + #endif 3402 + 3403 + #if GL_APPLE_vertex_array_object 3404 + #ifdef GL_GLEXT_FUNCTION_POINTERS 3405 + typedef void (* glBindVertexArrayAPPLEProcPtr) (GLuint id); 3406 + typedef void (* glDeleteVertexArraysAPPLEProcPtr) (GLsizei n, const GLuint *ids); 3407 + typedef void (* glGenVertexArraysAPPLEProcPtr) (GLsizei n, GLuint *ids); 3408 + typedef GLboolean (* glIsVertexArrayAPPLEProcPtr) (GLuint id); 3409 + #else 3410 + extern void glBindVertexArrayAPPLE(GLuint id); 3411 + extern void glDeleteVertexArraysAPPLE(GLsizei n, const GLuint *ids); 3412 + extern void glGenVertexArraysAPPLE(GLsizei n, GLuint *ids); 3413 + extern GLboolean glIsVertexArrayAPPLE(GLuint id); 3414 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 3415 + #endif 3416 + 3417 + #if GL_APPLE_vertex_array_range 3418 + #ifdef GL_GLEXT_FUNCTION_POINTERS 3419 + typedef void (* glVertexArrayRangeAPPLEProcPtr) (GLsizei length, const GLvoid *pointer); 3420 + typedef void (* glFlushVertexArrayRangeAPPLEProcPtr) (GLsizei length, const GLvoid *pointer); 3421 + typedef void (* glVertexArrayParameteriAPPLEProcPtr) (GLenum pname, GLint param); 3422 + #else 3423 + extern void glVertexArrayRangeAPPLE(GLsizei length, const GLvoid *pointer); 3424 + extern void glFlushVertexArrayRangeAPPLE(GLsizei length, const GLvoid *pointer); 3425 + extern void glVertexArrayParameteriAPPLE(GLenum pname, GLint param); 3426 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 3427 + #endif 3428 + 3429 + #if GL_APPLE_vertex_point_size 3430 + #ifdef GL_GLEXT_FUNCTION_POINTERS 3431 + typedef void (* glPointSizePointerAPPLEProcPtr) (GLenum type, GLsizei stride, const GLvoid *pointer); 3432 + typedef void (* glVertexPointSizefAPPLEProcPtr) (GLfloat size); 3433 + #else 3434 + extern void glPointSizePointerAPPLE(GLenum type, GLsizei stride, const GLvoid *pointer); 3435 + extern void glVertexPointSizefAPPLE(GLfloat size); 3436 + #endif 3437 + #endif 3438 + 3439 + #if GL_APPLE_vertex_program_evaluators 3440 + #ifdef GL_GLEXT_FUNCTION_POINTERS 3441 + typedef void (* glEnableVertexAttribAPPLEProcPtr) (GLuint index, GLenum pname); 3442 + typedef void (* glDisableVertexAttribAPPLEProcPtr) (GLuint index, GLenum pname); 3443 + typedef GLboolean (* glIsVertexAttribEnabledAPPLEProcPtr) (GLuint index, GLenum pname); 3444 + typedef void (* glMapVertexAttrib1dAPPLEProcPtr) (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points); 3445 + typedef void (* glMapVertexAttrib1fAPPLEProcPtr) (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points); 3446 + typedef void (* glMapVertexAttrib2dAPPLEProcPtr) (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points); 3447 + typedef void (* glMapVertexAttrib2fAPPLEProcPtr) (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points); 3448 + #else 3449 + extern void glEnableVertexAttribAPPLE(GLuint index, GLenum pname); 3450 + extern void glDisableVertexAttribAPPLE(GLuint index, GLenum pname); 3451 + extern GLboolean glIsVertexAttribEnabledAPPLE(GLuint index, GLenum pname); 3452 + extern void glMapVertexAttrib1dAPPLE(GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points); 3453 + extern void glMapVertexAttrib1fAPPLE(GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points); 3454 + extern void glMapVertexAttrib2dAPPLE(GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points); 3455 + extern void glMapVertexAttrib2fAPPLE(GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points); 3456 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 3457 + #endif 3458 + 3459 + #if GL_ATI_blend_equation_separate 3460 + #ifdef GL_GLEXT_FUNCTION_POINTERS 3461 + typedef void (* glBlendEquationSeparateATIProcPtr) (GLenum equationRGB, GLenum equationAlpha); 3462 + #else 3463 + extern void glBlendEquationSeparateATI(GLenum equationRGB, GLenum equationAlpha); 3464 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 3465 + #endif 3466 + 3467 + #if GL_ATI_pn_triangles 3468 + #ifdef GL_GLEXT_FUNCTION_POINTERS 3469 + typedef void (* glPNTrianglesiATIProcPtr) (GLenum pname, GLint param); 3470 + typedef void (* glPNTrianglesfATIProcPtr) (GLenum pname, GLfloat param); 3471 + #else 3472 + extern void glPNTrianglesiATI(GLenum pname, GLint param); 3473 + extern void glPNTrianglesfATI(GLenum pname, GLfloat param); 3474 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 3475 + #endif 3476 + 3477 + #if GL_ATI_separate_stencil 3478 + #ifdef GL_GLEXT_FUNCTION_POINTERS 3479 + typedef void (* glStencilOpSeparateATIProcPtr) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); 3480 + typedef void (* glStencilFuncSeparateATIProcPtr) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask); 3481 + #else 3482 + extern void glStencilOpSeparateATI(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); 3483 + extern void glStencilFuncSeparateATI(GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask); 3484 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 3485 + #endif 3486 + 3487 + #if GL_ATIX_pn_triangles 3488 + #ifdef GL_GLEXT_FUNCTION_POINTERS 3489 + typedef void (* glPNTrianglesiATIXProcPtr) (GLenum pname, GLint param); 3490 + typedef void (* glPNTrianglesfATIXProcPtr) (GLenum pname, GLfloat param); 3491 + #else 3492 + extern void glPNTrianglesiATIX(GLenum pname, GLint param); 3493 + extern void glPNTrianglesfATIX(GLenum pname, GLfloat param); 3494 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 3495 + #endif 3496 + 3497 + #if GL_NV_conditional_render 3498 + #ifdef GL_GLEXT_FUNCTION_POINTERS 3499 + typedef void (* glBeginConditionalRenderNVProcPtr) (GLuint id, GLenum mode); 3500 + typedef void (* glEndConditionalRenderNVProcPtr) (void); 3501 + #else 3502 + extern void glBeginConditionalRenderNV(GLuint id, GLenum mode); 3503 + extern void glEndConditionalRenderNV(void); 3504 + #endif 3505 + #endif 3506 + 3507 + #if GL_NV_point_sprite 3508 + #ifdef GL_GLEXT_FUNCTION_POINTERS 3509 + typedef void (* glPointParameteriNVProcPtr) (GLenum pname, GLint param); 3510 + typedef void (* glPointParameterivNVProcPtr) (GLenum pname, const GLint *params); 3511 + #else 3512 + extern void glPointParameteriNV(GLenum pname, GLint param); 3513 + extern void glPointParameterivNV(GLenum pname, const GLint *params); 3514 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 3515 + #endif 3516 + 3517 + #if GL_NV_register_combiners 3518 + #ifdef GL_GLEXT_FUNCTION_POINTERS 3519 + typedef void (* glCombinerParameterfvNVProcPtr) (GLenum, const GLfloat *); 3520 + typedef void (* glCombinerParameterfNVProcPtr) (GLenum, GLfloat); 3521 + typedef void (* glCombinerParameterivNVProcPtr) (GLenum, const GLint *); 3522 + typedef void (* glCombinerParameteriNVProcPtr) (GLenum, GLint); 3523 + typedef void (* glCombinerInputNVProcPtr) (GLenum, GLenum, GLenum, GLenum, GLenum, GLenum); 3524 + typedef void (* glCombinerOutputNVProcPtr) (GLenum, GLenum, GLenum, GLenum, GLenum, GLenum, GLenum, GLboolean, GLboolean, GLboolean); 3525 + typedef void (* glFinalCombinerInputNVProcPtr) (GLenum, GLenum, GLenum, GLenum); 3526 + typedef void (* glGetCombinerInputParameterfvNVProcPtr) (GLenum, GLenum, GLenum, GLenum, GLfloat *); 3527 + typedef void (* glGetCombinerInputParameterivNVProcPtr) (GLenum, GLenum, GLenum, GLenum, GLint *); 3528 + typedef void (* glGetCombinerOutputParameterfvNVProcPtr) (GLenum, GLenum, GLenum, GLfloat *); 3529 + typedef void (* glGetCombinerOutputParameterivNVProcPtr) (GLenum, GLenum, GLenum, GLint *); 3530 + typedef void (* glGetFinalCombinerInputParameterfvNVProcPtr) (GLenum, GLenum, GLfloat *); 3531 + typedef void (* glGetFinalCombinerInputParameterivNVProcPtr) (GLenum, GLenum, GLint *); 3532 + #else 3533 + extern void glCombinerParameterfvNV (GLenum, const GLfloat *); 3534 + extern void glCombinerParameterfNV (GLenum, GLfloat); 3535 + extern void glCombinerParameterivNV (GLenum, const GLint *); 3536 + extern void glCombinerParameteriNV (GLenum, GLint); 3537 + extern void glCombinerInputNV (GLenum, GLenum, GLenum, GLenum, GLenum, GLenum); 3538 + extern void glCombinerOutputNV (GLenum, GLenum, GLenum, GLenum, GLenum, GLenum, GLenum, GLboolean, GLboolean, GLboolean); 3539 + extern void glFinalCombinerInputNV (GLenum, GLenum, GLenum, GLenum); 3540 + extern void glGetCombinerInputParameterfvNV (GLenum, GLenum, GLenum, GLenum, GLfloat *); 3541 + extern void glGetCombinerInputParameterivNV (GLenum, GLenum, GLenum, GLenum, GLint *); 3542 + extern void glGetCombinerOutputParameterfvNV (GLenum, GLenum, GLenum, GLfloat *); 3543 + extern void glGetCombinerOutputParameterivNV (GLenum, GLenum, GLenum, GLint *); 3544 + extern void glGetFinalCombinerInputParameterfvNV (GLenum, GLenum, GLfloat *); 3545 + extern void glGetFinalCombinerInputParameterivNV (GLenum, GLenum, GLint *); 3546 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 3547 + #endif 3548 + 3549 + #if GL_NV_register_combiners2 3550 + #ifdef GL_GLEXT_FUNCTION_POINTERS 3551 + typedef void (* glCombinerStageParameterfvNVProcPtr) (GLenum, GLenum, const GLfloat *); 3552 + typedef void (* glGetCombinerStageParameterfvNVProcPtr) (GLenum, GLenum, GLfloat *); 3553 + #else 3554 + extern void glCombinerStageParameterfvNV (GLenum, GLenum, const GLfloat *); 3555 + extern void glGetCombinerStageParameterfvNV (GLenum, GLenum, GLfloat *); 3556 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 3557 + #endif 3558 + 3559 + #if GL_NV_texture_barrier 3560 + #ifdef GL_GLEXT_FUNCTION_POINTERS 3561 + typedef void (* glTextureBarrierNVProcPtr) (void); 3562 + #else 3563 + extern void glTextureBarrierNV (void); 3564 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 3565 + #endif 3566 + 3567 + #if GL_NV_vertex_array_range 3568 + #ifdef GL_GLEXT_FUNCTION_POINTERS 3569 + typedef void (* glFlushVertexArrayRangeNVProcPtr) (void); 3570 + typedef void (* glVertexArrayRangeNVProcPtr) (GLsizei, const GLvoid *); 3571 + #else 3572 + extern void glFlushVertexArrayRangeNV (void); 3573 + extern void glVertexArrayRangeNV (GLsizei, const GLvoid *); 3574 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 3575 + #endif 3576 + 3577 + #if GL_NV_vertex_program 3578 + #ifdef GL_GLEXT_FUNCTION_POINTERS 3579 + typedef void (* glBindProgramNVProcPtr) (GLenum target, GLuint id); 3580 + typedef void (* glDeleteProgramsNVProcPtr) (GLsizei n, const GLuint *ids); 3581 + typedef void (* glExecuteProgramNVProcPtr) (GLenum target, GLuint id, const GLfloat *params); 3582 + typedef void (* glGenProgramsNVProcPtr) (GLsizei n, GLuint *ids); 3583 + typedef GLboolean (* glAreProgramsResidentNVProcPtr) (GLsizei n, const GLuint *ids, GLboolean *residences); 3584 + typedef void (* glRequestResidentProgramsNVProcPtr) (GLsizei n, GLuint *ids); 3585 + typedef void (* glGetProgramParameterfvNVProcPtr) (GLenum target, GLuint index, GLenum pname, GLfloat *params); 3586 + typedef void (* glGetProgramParameterdvNVProcPtr) (GLenum target, GLuint index, GLenum pname, GLdouble *params); 3587 + typedef void (* glGetProgramivNVProcPtr) (GLuint id, GLenum pname, GLint *params); 3588 + typedef void (* glGetProgramStringNVProcPtr) (GLuint id, GLenum pname, GLubyte *program); 3589 + typedef void (* glGetTrackMatrixivNVProcPtr) (GLenum target, GLuint address, GLenum pname, GLint *params); 3590 + typedef void (* glGetVertexAttribdvNVProcPtr) (GLuint index, GLenum pname, GLdouble *params); 3591 + typedef void (* glGetVertexAttribfvNVProcPtr) (GLuint index, GLenum pname, GLfloat *params); 3592 + typedef void (* glGetVertexAttribivNVProcPtr) (GLuint index, GLenum pname, GLint *params); 3593 + typedef void (* glGetVertexAttribPointervNVProcPtr) (GLuint index, GLenum pname, GLvoid **pointer); 3594 + typedef GLboolean (* glIsProgramNVProcPtr) (GLuint id); 3595 + typedef void (* glLoadProgramNVProcPtr) (GLenum target, GLuint id, GLsizei len, const GLubyte *program); 3596 + typedef void (* glProgramParameter4fNVProcPtr) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 3597 + typedef void (* glProgramParameter4dNVProcPtr) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 3598 + typedef void (* glProgramParameter4dvNVProcPtr) (GLenum target, GLuint index, const GLdouble *params); 3599 + typedef void (* glProgramParameter4fvNVProcPtr) (GLenum target, GLuint index, const GLfloat *params); 3600 + typedef void (* glProgramParameters4dvNVProcPtr) (GLenum target, GLuint index, GLuint num, const GLdouble *params); 3601 + typedef void (* glProgramParameters4fvNVProcPtr) (GLenum target, GLuint index, GLuint num, const GLfloat *params); 3602 + typedef void (* glTrackMatrixNVProcPtr) (GLenum target, GLuint address, GLenum matrix, GLenum transform); 3603 + typedef void (* glVertexAttribPointerNVProcPtr) (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); 3604 + typedef void (* glVertexAttrib1sNVProcPtr) (GLuint index, GLshort x); 3605 + typedef void (* glVertexAttrib1fNVProcPtr) (GLuint index, GLfloat x); 3606 + typedef void (* glVertexAttrib1dNVProcPtr) (GLuint index, GLdouble x); 3607 + typedef void (* glVertexAttrib2sNVProcPtr) (GLuint index, GLshort x, GLshort y); 3608 + typedef void (* glVertexAttrib2fNVProcPtr) (GLuint index, GLfloat x, GLfloat y); 3609 + typedef void (* glVertexAttrib2dNVProcPtr) (GLuint index, GLdouble x, GLdouble y); 3610 + typedef void (* glVertexAttrib3sNVProcPtr) (GLuint index, GLshort x, GLshort y, GLshort z); 3611 + typedef void (* glVertexAttrib3fNVProcPtr) (GLuint index, GLfloat x, GLfloat y, GLfloat z); 3612 + typedef void (* glVertexAttrib3dNVProcPtr) (GLuint index, GLdouble x, GLdouble y, GLdouble z); 3613 + typedef void (* glVertexAttrib4sNVProcPtr) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); 3614 + typedef void (* glVertexAttrib4fNVProcPtr) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 3615 + typedef void (* glVertexAttrib4dNVProcPtr) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 3616 + typedef void (* glVertexAttrib4ubNVProcPtr) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); 3617 + typedef void (* glVertexAttrib1svNVProcPtr) (GLuint index, GLshort *v); 3618 + typedef void (* glVertexAttrib1fvNVProcPtr) (GLuint index, GLfloat *v); 3619 + typedef void (* glVertexAttrib1dvNVProcPtr) (GLuint index, GLdouble *v); 3620 + typedef void (* glVertexAttrib2svNVProcPtr) (GLuint index, GLshort *v); 3621 + typedef void (* glVertexAttrib2fvNVProcPtr) (GLuint index, GLfloat *v); 3622 + typedef void (* glVertexAttrib2dvNVProcPtr) (GLuint index, GLdouble *v); 3623 + typedef void (* glVertexAttrib3svNVProcPtr) (GLuint index, GLshort *v); 3624 + typedef void (* glVertexAttrib3fvNVProcPtr) (GLuint index, GLfloat *v); 3625 + typedef void (* glVertexAttrib3dvNVProcPtr) (GLuint index, GLdouble *v); 3626 + typedef void (* glVertexAttrib4svNVProcPtr) (GLuint index, GLshort *v); 3627 + typedef void (* glVertexAttrib4fvNVProcPtr) (GLuint index, GLfloat *v); 3628 + typedef void (* glVertexAttrib4dvNVProcPtr) (GLuint index, GLdouble *v); 3629 + typedef void (* glVertexAttrib4ubvNVProcPtr) (GLuint index, GLubyte *v); 3630 + typedef void (* glVertexAttribs1svNVProcPtr) (GLuint index, GLsizei n, GLshort *v); 3631 + typedef void (* glVertexAttribs1fvNVProcPtr) (GLuint index, GLsizei n, GLfloat *v); 3632 + typedef void (* glVertexAttribs1dvNVProcPtr) (GLuint index, GLsizei n, GLdouble *v); 3633 + typedef void (* glVertexAttribs2svNVProcPtr) (GLuint index, GLsizei n, GLshort *v); 3634 + typedef void (* glVertexAttribs2fvNVProcPtr) (GLuint index, GLsizei n, GLfloat *v); 3635 + typedef void (* glVertexAttribs2dvNVProcPtr) (GLuint index, GLsizei n, GLdouble *v); 3636 + typedef void (* glVertexAttribs3svNVProcPtr) (GLuint index, GLsizei n, GLshort *v); 3637 + typedef void (* glVertexAttribs3fvNVProcPtr) (GLuint index, GLsizei n, GLfloat *v); 3638 + typedef void (* glVertexAttribs3dvNVProcPtr) (GLuint index, GLsizei n, GLdouble *v); 3639 + typedef void (* glVertexAttribs4svNVProcPtr) (GLuint index, GLsizei n, GLshort *v); 3640 + typedef void (* glVertexAttribs4fvNVProcPtr) (GLuint index, GLsizei n, GLfloat *v); 3641 + typedef void (* glVertexAttribs4dvNVProcPtr) (GLuint index, GLsizei n, GLdouble *v); 3642 + typedef void (* glVertexAttribs4ubvNVProcPtr) (GLuint index, GLsizei n, GLubyte *v); 3643 + #else 3644 + extern void glBindProgramNV(GLenum target, GLuint id); 3645 + extern void glDeleteProgramsNV(GLsizei n, const GLuint *ids); 3646 + extern void glExecuteProgramNV(GLenum target, GLuint id, const GLfloat *params); 3647 + extern void glGenProgramsNV(GLsizei n, GLuint *ids); 3648 + extern GLboolean glAreProgramsResidentNV(GLsizei n, const GLuint *ids, GLboolean *residences); 3649 + extern void glRequestResidentProgramsNV(GLsizei n, GLuint *ids); 3650 + extern void glGetProgramParameterfvNV(GLenum target, GLuint index, GLenum pname, GLfloat *params); 3651 + extern void glGetProgramParameterdvNV(GLenum target, GLuint index, GLenum pname, GLdouble *params); 3652 + extern void glGetProgramivNV(GLuint id, GLenum pname, GLint *params); 3653 + extern void glGetProgramStringNV(GLuint id, GLenum pname, GLubyte *program); 3654 + extern void glGetTrackMatrixivNV(GLenum target, GLuint address, GLenum pname, GLint *params); 3655 + extern void glGetVertexAttribdvNV(GLuint index, GLenum pname, GLdouble *params); 3656 + extern void glGetVertexAttribfvNV(GLuint index, GLenum pname, GLfloat *params); 3657 + extern void glGetVertexAttribivNV(GLuint index, GLenum pname, GLint *params); 3658 + extern void glGetVertexAttribPointervNV(GLuint index, GLenum pname, GLvoid **pointer); 3659 + extern GLboolean glIsProgramNV(GLuint id); 3660 + extern void glLoadProgramNV(GLenum target, GLuint id, GLsizei len, const GLubyte *program); 3661 + extern void glProgramParameter4fNV(GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 3662 + extern void glProgramParameter4dNV(GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 3663 + extern void glProgramParameter4dvNV(GLenum target, GLuint index, const GLdouble *params); 3664 + extern void glProgramParameter4fvNV(GLenum target, GLuint index, const GLfloat *params); 3665 + extern void glProgramParameters4dvNV(GLenum target, GLuint index, GLuint num, const GLdouble *params); 3666 + extern void glProgramParameters4fvNV(GLenum target, GLuint index, GLuint num, const GLfloat *params); 3667 + extern void glTrackMatrixNV(GLenum target, GLuint address, GLenum matrix, GLenum transform); 3668 + extern void glVertexAttribPointerNV(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); 3669 + extern void glVertexAttrib1sNV(GLuint index, GLshort x); 3670 + extern void glVertexAttrib1fNV(GLuint index, GLfloat x); 3671 + extern void glVertexAttrib1dNV(GLuint index, GLdouble x); 3672 + extern void glVertexAttrib2sNV(GLuint index, GLshort x, GLshort y); 3673 + extern void glVertexAttrib2fNV(GLuint index, GLfloat x, GLfloat y); 3674 + extern void glVertexAttrib2dNV(GLuint index, GLdouble x, GLdouble y); 3675 + extern void glVertexAttrib3sNV(GLuint index, GLshort x, GLshort y, GLshort z); 3676 + extern void glVertexAttrib3fNV(GLuint index, GLfloat x, GLfloat y, GLfloat z); 3677 + extern void glVertexAttrib3dNV(GLuint index, GLdouble x, GLdouble y, GLdouble z); 3678 + extern void glVertexAttrib4sNV(GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); 3679 + extern void glVertexAttrib4fNV(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 3680 + extern void glVertexAttrib4dNV(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 3681 + extern void glVertexAttrib4ubNV(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); 3682 + extern void glVertexAttrib1svNV(GLuint index, GLshort *v); 3683 + extern void glVertexAttrib1fvNV(GLuint index, GLfloat *v); 3684 + extern void glVertexAttrib1dvNV(GLuint index, GLdouble *v); 3685 + extern void glVertexAttrib2svNV(GLuint index, GLshort *v); 3686 + extern void glVertexAttrib2fvNV(GLuint index, GLfloat *v); 3687 + extern void glVertexAttrib2dvNV(GLuint index, GLdouble *v); 3688 + extern void glVertexAttrib3svNV(GLuint index, GLshort *v); 3689 + extern void glVertexAttrib3fvNV(GLuint index, GLfloat *v); 3690 + extern void glVertexAttrib3dvNV(GLuint index, GLdouble *v); 3691 + extern void glVertexAttrib4svNV(GLuint index, GLshort *v); 3692 + extern void glVertexAttrib4fvNV(GLuint index, GLfloat *v); 3693 + extern void glVertexAttrib4dvNV(GLuint index, GLdouble *v); 3694 + extern void glVertexAttrib4ubvNV(GLuint index, GLubyte *v); 3695 + extern void glVertexAttribs1svNV(GLuint index, GLsizei n, GLshort *v); 3696 + extern void glVertexAttribs1fvNV(GLuint index, GLsizei n, GLfloat *v); 3697 + extern void glVertexAttribs1dvNV(GLuint index, GLsizei n, GLdouble *v); 3698 + extern void glVertexAttribs2svNV(GLuint index, GLsizei n, GLshort *v); 3699 + extern void glVertexAttribs2fvNV(GLuint index, GLsizei n, GLfloat *v); 3700 + extern void glVertexAttribs2dvNV(GLuint index, GLsizei n, GLdouble *v); 3701 + extern void glVertexAttribs3svNV(GLuint index, GLsizei n, GLshort *v); 3702 + extern void glVertexAttribs3fvNV(GLuint index, GLsizei n, GLfloat *v); 3703 + extern void glVertexAttribs3dvNV(GLuint index, GLsizei n, GLdouble *v); 3704 + extern void glVertexAttribs4svNV(GLuint index, GLsizei n, GLshort *v); 3705 + extern void glVertexAttribs4fvNV(GLuint index, GLsizei n, GLfloat *v); 3706 + extern void glVertexAttribs4dvNV(GLuint index, GLsizei n, GLdouble *v); 3707 + extern void glVertexAttribs4ubvNV(GLuint index, GLsizei n, GLubyte *v); 3708 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 3709 + #endif 3710 + 3711 + #if GL_SGI_color_table 3712 + #ifdef GL_GLEXT_FUNCTION_POINTERS 3713 + typedef void (* glColorTableSGIProcPtr) (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *); 3714 + typedef void (* glColorTableParameterfvSGIProcPtr) (GLenum, GLenum, const GLfloat *); 3715 + typedef void (* glColorTableParameterivSGIProcPtr) (GLenum, GLenum, const GLint *); 3716 + typedef void (* glCopyColorTableSGIProcPtr) (GLenum, GLenum, GLint, GLint, GLsizei); 3717 + typedef void (* glGetColorTableSGIProcPtr) (GLenum, GLenum, GLenum, GLvoid *); 3718 + typedef void (* glGetColorTableParameterfvSGIProcPtr) (GLenum, GLenum, GLfloat *); 3719 + typedef void (* glGetColorTableParameterivSGIProcPtr) (GLenum, GLenum, GLint *); 3720 + #else 3721 + extern void glColorTableSGI (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *); 3722 + extern void glColorTableParameterfvSGI (GLenum, GLenum, const GLfloat *); 3723 + extern void glColorTableParameterivSGI (GLenum, GLenum, const GLint *); 3724 + extern void glCopyColorTableSGI (GLenum, GLenum, GLint, GLint, GLsizei); 3725 + extern void glGetColorTableSGI (GLenum, GLenum, GLenum, GLvoid *); 3726 + extern void glGetColorTableParameterfvSGI (GLenum, GLenum, GLfloat *); 3727 + extern void glGetColorTableParameterivSGI (GLenum, GLenum, GLint *); 3728 + #endif /* GL_GLEXT_FUNCTION_POINTERS */ 3729 + #endif 3730 + 3731 + #ifdef __cplusplus 3732 + } 3733 + #endif 3734 + 3735 + #endif
+15
src/OpenGL/include/OpenGL/gliContext.h
··· 1 + #ifndef _GLICONTEXT_H 2 + #define _GLICONTEXT_H 3 + 4 + #ifdef __cplusplus 5 + extern "C" { 6 + #endif 7 + 8 + typedef struct __GLIContextRec *GLIContext; 9 + typedef struct __GLISharedRec *GLIShared; 10 + 11 + #ifdef __cplusplus 12 + } 13 + #endif 14 + 15 + #endif
+1051
src/OpenGL/include/OpenGL/gliDispatch.h
··· 1 + #ifndef _GLIDISPATCH_H 2 + #define _GLIDISPATCH_H 3 + 4 + #include <OpenGL/gltypes.h> 5 + #include <OpenGL/gliContext.h> 6 + 7 + #ifdef __cplusplus 8 + extern "C" { 9 + #endif 10 + 11 + typedef struct __GLIFunctionDispatchRec 12 + { 13 + void (*accum)(GLIContext ctx, GLenum op, GLfloat value); 14 + void (*alpha_func)(GLIContext ctx, GLenum func, GLclampf ref); 15 + GLboolean (*are_textures_resident)(GLIContext ctx, GLsizei n, const GLuint *textures, GLboolean *residences); 16 + void (*array_element)(GLIContext ctx, GLint i); 17 + void (*begin)(GLIContext ctx, GLenum mode); 18 + void (*bind_texture)(GLIContext ctx, GLenum target, GLuint texture); 19 + void (*bitmap)(GLIContext ctx, GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap); 20 + void (*blend_func)(GLIContext ctx, GLenum sfactor, GLenum dfactor); 21 + void (*call_list)(GLIContext ctx, GLuint list); 22 + void (*call_lists)(GLIContext ctx, GLsizei n, GLenum type, const GLvoid *lists); 23 + void (*clear)(GLIContext ctx, GLbitfield mask); 24 + void (*clear_accum)(GLIContext ctx, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); 25 + void (*clear_color)(GLIContext ctx, GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); 26 + void (*clear_depth)(GLIContext ctx, GLclampd depth); 27 + void (*clear_index)(GLIContext ctx, GLfloat c); 28 + void (*clear_stencil)(GLIContext ctx, GLint s); 29 + void (*clip_plane)(GLIContext ctx, GLenum plane, const GLdouble *equation); 30 + void (*color3b)(GLIContext ctx, GLbyte red, GLbyte green, GLbyte blue); 31 + void (*color3bv)(GLIContext ctx, const GLbyte *v); 32 + void (*color3d)(GLIContext ctx, GLdouble red, GLdouble green, GLdouble blue); 33 + void (*color3dv)(GLIContext ctx, const GLdouble *v); 34 + void (*color3f)(GLIContext ctx, GLfloat red, GLfloat green, GLfloat blue); 35 + void (*color3fv)(GLIContext ctx, const GLfloat *v); 36 + void (*color3i)(GLIContext ctx, GLint red, GLint green, GLint blue); 37 + void (*color3iv)(GLIContext ctx, const GLint *v); 38 + void (*color3s)(GLIContext ctx, GLshort red, GLshort green, GLshort blue); 39 + void (*color3sv)(GLIContext ctx, const GLshort *v); 40 + void (*color3ub)(GLIContext ctx, GLubyte red, GLubyte green, GLubyte blue); 41 + void (*color3ubv)(GLIContext ctx, const GLubyte *v); 42 + void (*color3ui)(GLIContext ctx, GLuint red, GLuint green, GLuint blue); 43 + void (*color3uiv)(GLIContext ctx, const GLuint *v); 44 + void (*color3us)(GLIContext ctx, GLushort red, GLushort green, GLushort blue); 45 + void (*color3usv)(GLIContext ctx, const GLushort *v); 46 + void (*color4b)(GLIContext ctx, GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha); 47 + void (*color4bv)(GLIContext ctx, const GLbyte *v); 48 + void (*color4d)(GLIContext ctx, GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha); 49 + void (*color4dv)(GLIContext ctx, const GLdouble *v); 50 + void (*color4f)(GLIContext ctx, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); 51 + void (*color4fv)(GLIContext ctx, const GLfloat *v); 52 + void (*color4i)(GLIContext ctx, GLint red, GLint green, GLint blue, GLint alpha); 53 + void (*color4iv)(GLIContext ctx, const GLint *v); 54 + void (*color4s)(GLIContext ctx, GLshort red, GLshort green, GLshort blue, GLshort alpha); 55 + void (*color4sv)(GLIContext ctx, const GLshort *v); 56 + void (*color4ub)(GLIContext ctx, GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha); 57 + void (*color4ubv)(GLIContext ctx, const GLubyte *v); 58 + void (*color4ui)(GLIContext ctx, GLuint red, GLuint green, GLuint blue, GLuint alpha); 59 + void (*color4uiv)(GLIContext ctx, const GLuint *v); 60 + void (*color4us)(GLIContext ctx, GLushort red, GLushort green, GLushort blue, GLushort alpha); 61 + void (*color4usv)(GLIContext ctx, const GLushort *v); 62 + void (*color_mask)(GLIContext ctx, GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); 63 + void (*color_material)(GLIContext ctx, GLenum face, GLenum mode); 64 + void (*color_pointer)(GLIContext ctx, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); 65 + void (*copy_pixels)(GLIContext ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum type); 66 + void (*copy_tex_image1D)(GLIContext ctx, GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLint border); 67 + void (*copy_tex_image2D)(GLIContext ctx, GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); 68 + void (*copy_tex_sub_image1D)(GLIContext ctx, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); 69 + void (*copy_tex_sub_image2D)(GLIContext ctx, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); 70 + void (*cull_face)(GLIContext ctx, GLenum mode); 71 + void (*delete_lists)(GLIContext ctx, GLuint list, GLsizei range); 72 + void (*delete_textures)(GLIContext ctx, GLsizei n, const GLuint *textures); 73 + void (*depth_func)(GLIContext ctx, GLenum func); 74 + void (*depth_mask)(GLIContext ctx, GLboolean flag); 75 + void (*depth_range)(GLIContext ctx, GLclampd zNear, GLclampd zFar); 76 + void (*disable)(GLIContext ctx, GLenum cap); 77 + void (*disable_client_state)(GLIContext ctx, GLenum array); 78 + void (*draw_arrays)(GLIContext ctx, GLenum mode, GLint first, GLsizei count); 79 + void (*draw_buffer)(GLIContext ctx, GLenum mode); 80 + void (*draw_elements)(GLIContext ctx, GLenum mode, GLsizei count, GLenum type, const GLvoid *indices); 81 + void (*draw_pixels)(GLIContext ctx, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels); 82 + void (*edge_flag)(GLIContext ctx, GLboolean flag); 83 + void (*edge_flag_pointer)(GLIContext ctx, GLsizei stride, const GLvoid *pointer); 84 + void (*edge_flagv)(GLIContext ctx, const GLboolean *flag); 85 + void (*enable)(GLIContext ctx, GLenum cap); 86 + void (*enable_client_state)(GLIContext ctx, GLenum array); 87 + void (*end)(GLIContext ctx); 88 + void (*end_list)(GLIContext ctx); 89 + void (*eval_coord1d)(GLIContext ctx, GLdouble u); 90 + void (*eval_coord1dv)(GLIContext ctx, const GLdouble *u); 91 + void (*eval_coord1f)(GLIContext ctx, GLfloat u); 92 + void (*eval_coord1fv)(GLIContext ctx, const GLfloat *u); 93 + void (*eval_coord2d)(GLIContext ctx, GLdouble u, GLdouble v); 94 + void (*eval_coord2dv)(GLIContext ctx, const GLdouble *u); 95 + void (*eval_coord2f)(GLIContext ctx, GLfloat u, GLfloat v); 96 + void (*eval_coord2fv)(GLIContext ctx, const GLfloat *u); 97 + void (*eval_mesh1)(GLIContext ctx, GLenum mode, GLint i1, GLint i2); 98 + void (*eval_mesh2)(GLIContext ctx, GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2); 99 + void (*eval_point1)(GLIContext ctx, GLint i); 100 + void (*eval_point2)(GLIContext ctx, GLint i, GLint j); 101 + void (*feedback_buffer)(GLIContext ctx, GLsizei size, GLenum type, GLfloat *buffer); 102 + void (*finish)(GLIContext ctx); 103 + void (*flush)(GLIContext ctx); 104 + void (*fogf)(GLIContext ctx, GLenum pname, GLfloat param); 105 + void (*fogfv)(GLIContext ctx, GLenum pname, const GLfloat *params); 106 + void (*fogi)(GLIContext ctx, GLenum pname, GLint param); 107 + void (*fogiv)(GLIContext ctx, GLenum pname, const GLint *params); 108 + void (*front_face)(GLIContext ctx, GLenum mode); 109 + void (*frustum)(GLIContext ctx, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); 110 + GLuint (*gen_lists)(GLIContext ctx, GLsizei range); 111 + void (*gen_textures)(GLIContext ctx, GLsizei n, GLuint *textures); 112 + void (*get_booleanv)(GLIContext ctx, GLenum pname, GLboolean *params); 113 + void (*get_clip_plane)(GLIContext ctx, GLenum plane, GLdouble *equation); 114 + void (*get_doublev)(GLIContext ctx, GLenum pname, GLdouble *params); 115 + GLenum (*get_error)(GLIContext ctx); 116 + void (*get_floatv)(GLIContext ctx, GLenum pname, GLfloat *params); 117 + void (*get_integerv)(GLIContext ctx, GLenum pname, GLint *params); 118 + void (*get_lightfv)(GLIContext ctx, GLenum light, GLenum pname, GLfloat *params); 119 + void (*get_lightiv)(GLIContext ctx, GLenum light, GLenum pname, GLint *params); 120 + void (*get_mapdv)(GLIContext ctx, GLenum target, GLenum query, GLdouble *v); 121 + void (*get_mapfv)(GLIContext ctx, GLenum target, GLenum query, GLfloat *v); 122 + void (*get_mapiv)(GLIContext ctx, GLenum target, GLenum query, GLint *v); 123 + void (*get_materialfv)(GLIContext ctx, GLenum face, GLenum pname, GLfloat *params); 124 + void (*get_materialiv)(GLIContext ctx, GLenum face, GLenum pname, GLint *params); 125 + void (*get_pixel_mapfv)(GLIContext ctx, GLenum map, GLfloat *values); 126 + void (*get_pixel_mapuiv)(GLIContext ctx, GLenum map, GLuint *values); 127 + void (*get_pixel_mapusv)(GLIContext ctx, GLenum map, GLushort *values); 128 + void (*get_pointerv)(GLIContext ctx, GLenum pname, GLvoid **params); 129 + void (*get_polygon_stipple)(GLIContext ctx, GLubyte *mask); 130 + const GLubyte* (*get_string)(GLIContext ctx, GLenum name); 131 + void (*get_tex_envfv)(GLIContext ctx, GLenum target, GLenum pname, GLfloat *params); 132 + void (*get_tex_enviv)(GLIContext ctx, GLenum target, GLenum pname, GLint *params); 133 + void (*get_tex_gendv)(GLIContext ctx, GLenum coord, GLenum pname, GLdouble *params); 134 + void (*get_tex_genfv)(GLIContext ctx, GLenum coord, GLenum pname, GLfloat *params); 135 + void (*get_tex_geniv)(GLIContext ctx, GLenum coord, GLenum pname, GLint *params); 136 + void (*get_tex_image)(GLIContext ctx, GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels); 137 + void (*get_tex_level_parameterfv)(GLIContext ctx, GLenum target, GLint level, GLenum pname, GLfloat *params); 138 + void (*get_tex_level_parameteriv)(GLIContext ctx, GLenum target, GLint level, GLenum pname, GLint *params); 139 + void (*get_tex_parameterfv)(GLIContext ctx, GLenum target, GLenum pname, GLfloat *params); 140 + void (*get_tex_parameteriv)(GLIContext ctx, GLenum target, GLenum pname, GLint *params); 141 + void (*hint)(GLIContext ctx, GLenum target, GLenum mode); 142 + void (*index_mask)(GLIContext ctx, GLuint mask); 143 + void (*index_pointer)(GLIContext ctx, GLenum type, GLsizei stride, const GLvoid *pointer); 144 + void (*indexd)(GLIContext ctx, GLdouble c); 145 + void (*indexdv)(GLIContext ctx, const GLdouble *c); 146 + void (*indexf)(GLIContext ctx, GLfloat c); 147 + void (*indexfv)(GLIContext ctx, const GLfloat *c); 148 + void (*indexi)(GLIContext ctx, GLint c); 149 + void (*indexiv)(GLIContext ctx, const GLint *c); 150 + void (*indexs)(GLIContext ctx, GLshort c); 151 + void (*indexsv)(GLIContext ctx, const GLshort *c); 152 + void (*indexub)(GLIContext ctx, GLubyte c); 153 + void (*indexubv)(GLIContext ctx, const GLubyte *c); 154 + void (*init_names)(GLIContext ctx); 155 + void (*interleaved_arrays)(GLIContext ctx, GLenum format, GLsizei stride, const GLvoid *pointer); 156 + GLboolean (*is_enabled)(GLIContext ctx, GLenum cap); 157 + GLboolean (*is_list)(GLIContext ctx, GLuint list); 158 + GLboolean (*is_texture)(GLIContext ctx, GLuint texture); 159 + void (*light_modelf)(GLIContext ctx, GLenum pname, GLfloat param); 160 + void (*light_modelfv)(GLIContext ctx, GLenum pname, const GLfloat *params); 161 + void (*light_modeli)(GLIContext ctx, GLenum pname, GLint param); 162 + void (*light_modeliv)(GLIContext ctx, GLenum pname, const GLint *params); 163 + void (*lightf)(GLIContext ctx, GLenum light, GLenum pname, GLfloat param); 164 + void (*lightfv)(GLIContext ctx, GLenum light, GLenum pname, const GLfloat *params); 165 + void (*lighti)(GLIContext ctx, GLenum light, GLenum pname, GLint param); 166 + void (*lightiv)(GLIContext ctx, GLenum light, GLenum pname, const GLint *params); 167 + void (*line_stipple)(GLIContext ctx, GLint factor, GLushort pattern); 168 + void (*line_width)(GLIContext ctx, GLfloat width); 169 + void (*list_base)(GLIContext ctx, GLuint base); 170 + void (*load_identity)(GLIContext ctx); 171 + void (*load_matrixd)(GLIContext ctx, const GLdouble *m); 172 + void (*load_matrixf)(GLIContext ctx, const GLfloat *m); 173 + void (*load_name)(GLIContext ctx, GLuint name); 174 + void (*logic_op)(GLIContext ctx, GLenum opcode); 175 + void (*map1d)(GLIContext ctx, GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points); 176 + void (*map1f)(GLIContext ctx, GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points); 177 + void (*map2d)(GLIContext ctx, GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points); 178 + void (*map2f)(GLIContext ctx, GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points); 179 + void (*map_grid1d)(GLIContext ctx, GLint un, GLdouble u1, GLdouble u2); 180 + void (*map_grid1f)(GLIContext ctx, GLint un, GLfloat u1, GLfloat u2); 181 + void (*map_grid2d)(GLIContext ctx, GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2); 182 + void (*map_grid2f)(GLIContext ctx, GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2); 183 + void (*materialf)(GLIContext ctx, GLenum face, GLenum pname, GLfloat param); 184 + void (*materialfv)(GLIContext ctx, GLenum face, GLenum pname, const GLfloat *params); 185 + void (*materiali)(GLIContext ctx, GLenum face, GLenum pname, GLint param); 186 + void (*materialiv)(GLIContext ctx, GLenum face, GLenum pname, const GLint *params); 187 + void (*matrix_mode)(GLIContext ctx, GLenum mode); 188 + void (*mult_matrixd)(GLIContext ctx, const GLdouble *m); 189 + void (*mult_matrixf)(GLIContext ctx, const GLfloat *m); 190 + void (*new_list)(GLIContext ctx, GLuint list, GLenum mode); 191 + void (*normal3b)(GLIContext ctx, GLbyte nx, GLbyte ny, GLbyte nz); 192 + void (*normal3bv)(GLIContext ctx, const GLbyte *v); 193 + void (*normal3d)(GLIContext ctx, GLdouble nx, GLdouble ny, GLdouble nz); 194 + void (*normal3dv)(GLIContext ctx, const GLdouble *v); 195 + void (*normal3f)(GLIContext ctx, GLfloat nx, GLfloat ny, GLfloat nz); 196 + void (*normal3fv)(GLIContext ctx, const GLfloat *v); 197 + void (*normal3i)(GLIContext ctx, GLint nx, GLint ny, GLint nz); 198 + void (*normal3iv)(GLIContext ctx, const GLint *v); 199 + void (*normal3s)(GLIContext ctx, GLshort nx, GLshort ny, GLshort nz); 200 + void (*normal3sv)(GLIContext ctx, const GLshort *v); 201 + void (*normal_pointer)(GLIContext ctx, GLenum type, GLsizei stride, const GLvoid *pointer); 202 + void (*ortho)(GLIContext ctx, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); 203 + void (*pass_through)(GLIContext ctx, GLfloat token); 204 + void (*pixel_mapfv)(GLIContext ctx, GLenum map, GLsizei mapsize, const GLfloat *values); 205 + void (*pixel_mapuiv)(GLIContext ctx, GLenum map, GLsizei mapsize, const GLuint *values); 206 + void (*pixel_mapusv)(GLIContext ctx, GLenum map, GLsizei mapsize, const GLushort *values); 207 + void (*pixel_storef)(GLIContext ctx, GLenum pname, GLfloat param); 208 + void (*pixel_storei)(GLIContext ctx, GLenum pname, GLint param); 209 + void (*pixel_transferf)(GLIContext ctx, GLenum pname, GLfloat param); 210 + void (*pixel_transferi)(GLIContext ctx, GLenum pname, GLint param); 211 + void (*pixel_zoom)(GLIContext ctx, GLfloat xfactor, GLfloat yfactor); 212 + void (*point_size)(GLIContext ctx, GLfloat size); 213 + void (*polygon_mode)(GLIContext ctx, GLenum face, GLenum mode); 214 + void (*polygon_offset)(GLIContext ctx, GLfloat factor, GLfloat units); 215 + void (*polygon_stipple)(GLIContext ctx, const GLubyte *mask); 216 + void (*pop_attrib)(GLIContext ctx); 217 + void (*pop_client_attrib)(GLIContext ctx); 218 + void (*pop_matrix)(GLIContext ctx); 219 + void (*pop_name)(GLIContext ctx); 220 + void (*prioritize_textures)(GLIContext ctx, GLsizei n, const GLuint *textures, const GLclampf *priorities); 221 + void (*push_attrib)(GLIContext ctx, GLbitfield mask); 222 + void (*push_client_attrib)(GLIContext ctx, GLbitfield mask); 223 + void (*push_matrix)(GLIContext ctx); 224 + void (*push_name)(GLIContext ctx, GLuint name); 225 + void (*raster_pos2d)(GLIContext ctx, GLdouble x, GLdouble y); 226 + void (*raster_pos2dv)(GLIContext ctx, const GLdouble *v); 227 + void (*raster_pos2f)(GLIContext ctx, GLfloat x, GLfloat y); 228 + void (*raster_pos2fv)(GLIContext ctx, const GLfloat *v); 229 + void (*raster_pos2i)(GLIContext ctx, GLint x, GLint y); 230 + void (*raster_pos2iv)(GLIContext ctx, const GLint *v); 231 + void (*raster_pos2s)(GLIContext ctx, GLshort x, GLshort y); 232 + void (*raster_pos2sv)(GLIContext ctx, const GLshort *v); 233 + void (*raster_pos3d)(GLIContext ctx, GLdouble x, GLdouble y, GLdouble z); 234 + void (*raster_pos3dv)(GLIContext ctx, const GLdouble *v); 235 + void (*raster_pos3f)(GLIContext ctx, GLfloat x, GLfloat y, GLfloat z); 236 + void (*raster_pos3fv)(GLIContext ctx, const GLfloat *v); 237 + void (*raster_pos3i)(GLIContext ctx, GLint x, GLint y, GLint z); 238 + void (*raster_pos3iv)(GLIContext ctx, const GLint *v); 239 + void (*raster_pos3s)(GLIContext ctx, GLshort x, GLshort y, GLshort z); 240 + void (*raster_pos3sv)(GLIContext ctx, const GLshort *v); 241 + void (*raster_pos4d)(GLIContext ctx, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 242 + void (*raster_pos4dv)(GLIContext ctx, const GLdouble *v); 243 + void (*raster_pos4f)(GLIContext ctx, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 244 + void (*raster_pos4fv)(GLIContext ctx, const GLfloat *v); 245 + void (*raster_pos4i)(GLIContext ctx, GLint x, GLint y, GLint z, GLint w); 246 + void (*raster_pos4iv)(GLIContext ctx, const GLint *v); 247 + void (*raster_pos4s)(GLIContext ctx, GLshort x, GLshort y, GLshort z, GLshort w); 248 + void (*raster_pos4sv)(GLIContext ctx, const GLshort *v); 249 + void (*read_buffer)(GLIContext ctx, GLenum mode); 250 + void (*read_pixels)(GLIContext ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels); 251 + void (*rectd)(GLIContext ctx, GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2); 252 + void (*rectdv)(GLIContext ctx, const GLdouble *v1, const GLdouble *v2); 253 + void (*rectf)(GLIContext ctx, GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2); 254 + void (*rectfv)(GLIContext ctx, const GLfloat *v1, const GLfloat *v2); 255 + void (*recti)(GLIContext ctx, GLint x1, GLint y1, GLint x2, GLint y2); 256 + void (*rectiv)(GLIContext ctx, const GLint *v1, const GLint *v2); 257 + void (*rects)(GLIContext ctx, GLshort x1, GLshort y1, GLshort x2, GLshort y2); 258 + void (*rectsv)(GLIContext ctx, const GLshort *v1, const GLshort *v2); 259 + GLint (*render_mode)(GLIContext ctx, GLenum mode); 260 + void (*rotated)(GLIContext ctx, GLdouble angle, GLdouble x, GLdouble y, GLdouble z); 261 + void (*rotatef)(GLIContext ctx, GLfloat angle, GLfloat x, GLfloat y, GLfloat z); 262 + void (*scaled)(GLIContext ctx, GLdouble x, GLdouble y, GLdouble z); 263 + void (*scalef)(GLIContext ctx, GLfloat x, GLfloat y, GLfloat z); 264 + void (*scissor)(GLIContext ctx, GLint x, GLint y, GLsizei width, GLsizei height); 265 + void (*select_buffer)(GLIContext ctx, GLsizei size, GLuint *buffer); 266 + void (*shade_model)(GLIContext ctx, GLenum mode); 267 + void (*stencil_func)(GLIContext ctx, GLenum func, GLint ref, GLuint mask); 268 + void (*stencil_mask)(GLIContext ctx, GLuint mask); 269 + void (*stencil_op)(GLIContext ctx, GLenum fail, GLenum zfail, GLenum zpass); 270 + void (*tex_coord1d)(GLIContext ctx, GLdouble s); 271 + void (*tex_coord1dv)(GLIContext ctx, const GLdouble *v); 272 + void (*tex_coord1f)(GLIContext ctx, GLfloat s); 273 + void (*tex_coord1fv)(GLIContext ctx, const GLfloat *v); 274 + void (*tex_coord1i)(GLIContext ctx, GLint s); 275 + void (*tex_coord1iv)(GLIContext ctx, const GLint *v); 276 + void (*tex_coord1s)(GLIContext ctx, GLshort s); 277 + void (*tex_coord1sv)(GLIContext ctx, const GLshort *v); 278 + void (*tex_coord2d)(GLIContext ctx, GLdouble s, GLdouble t); 279 + void (*tex_coord2dv)(GLIContext ctx, const GLdouble *v); 280 + void (*tex_coord2f)(GLIContext ctx, GLfloat s, GLfloat t); 281 + void (*tex_coord2fv)(GLIContext ctx, const GLfloat *v); 282 + void (*tex_coord2i)(GLIContext ctx, GLint s, GLint t); 283 + void (*tex_coord2iv)(GLIContext ctx, const GLint *v); 284 + void (*tex_coord2s)(GLIContext ctx, GLshort s, GLshort t); 285 + void (*tex_coord2sv)(GLIContext ctx, const GLshort *v); 286 + void (*tex_coord3d)(GLIContext ctx, GLdouble s, GLdouble t, GLdouble r); 287 + void (*tex_coord3dv)(GLIContext ctx, const GLdouble *v); 288 + void (*tex_coord3f)(GLIContext ctx, GLfloat s, GLfloat t, GLfloat r); 289 + void (*tex_coord3fv)(GLIContext ctx, const GLfloat *v); 290 + void (*tex_coord3i)(GLIContext ctx, GLint s, GLint t, GLint r); 291 + void (*tex_coord3iv)(GLIContext ctx, const GLint *v); 292 + void (*tex_coord3s)(GLIContext ctx, GLshort s, GLshort t, GLshort r); 293 + void (*tex_coord3sv)(GLIContext ctx, const GLshort *v); 294 + void (*tex_coord4d)(GLIContext ctx, GLdouble s, GLdouble t, GLdouble r, GLdouble q); 295 + void (*tex_coord4dv)(GLIContext ctx, const GLdouble *v); 296 + void (*tex_coord4f)(GLIContext ctx, GLfloat s, GLfloat t, GLfloat r, GLfloat q); 297 + void (*tex_coord4fv)(GLIContext ctx, const GLfloat *v); 298 + void (*tex_coord4i)(GLIContext ctx, GLint s, GLint t, GLint r, GLint q); 299 + void (*tex_coord4iv)(GLIContext ctx, const GLint *v); 300 + void (*tex_coord4s)(GLIContext ctx, GLshort s, GLshort t, GLshort r, GLshort q); 301 + void (*tex_coord4sv)(GLIContext ctx, const GLshort *v); 302 + void (*tex_coord_pointer)(GLIContext ctx, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); 303 + void (*tex_envf)(GLIContext ctx, GLenum target, GLenum pname, GLfloat param); 304 + void (*tex_envfv)(GLIContext ctx, GLenum target, GLenum pname, const GLfloat *params); 305 + void (*tex_envi)(GLIContext ctx, GLenum target, GLenum pname, GLint param); 306 + void (*tex_enviv)(GLIContext ctx, GLenum target, GLenum pname, const GLint *params); 307 + void (*tex_gend)(GLIContext ctx, GLenum coord, GLenum pname, GLdouble param); 308 + void (*tex_gendv)(GLIContext ctx, GLenum coord, GLenum pname, const GLdouble *params); 309 + void (*tex_genf)(GLIContext ctx, GLenum coord, GLenum pname, GLfloat param); 310 + void (*tex_genfv)(GLIContext ctx, GLenum coord, GLenum pname, const GLfloat *params); 311 + void (*tex_geni)(GLIContext ctx, GLenum coord, GLenum pname, GLint param); 312 + void (*tex_geniv)(GLIContext ctx, GLenum coord, GLenum pname, const GLint *params); 313 + void (*tex_image1D)(GLIContext ctx, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels); 314 + void (*tex_image2D)(GLIContext ctx, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels); 315 + void (*tex_parameterf)(GLIContext ctx, GLenum target, GLenum pname, GLfloat param); 316 + void (*tex_parameterfv)(GLIContext ctx, GLenum target, GLenum pname, const GLfloat *params); 317 + void (*tex_parameteri)(GLIContext ctx, GLenum target, GLenum pname, GLint param); 318 + void (*tex_parameteriv)(GLIContext ctx, GLenum target, GLenum pname, const GLint *params); 319 + void (*tex_sub_image1D)(GLIContext ctx, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels); 320 + void (*tex_sub_image2D)(GLIContext ctx, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels); 321 + void (*translated)(GLIContext ctx, GLdouble x, GLdouble y, GLdouble z); 322 + void (*translatef)(GLIContext ctx, GLfloat x, GLfloat y, GLfloat z); 323 + void (*vertex2d)(GLIContext ctx, GLdouble x, GLdouble y); 324 + void (*vertex2dv)(GLIContext ctx, const GLdouble *v); 325 + void (*vertex2f)(GLIContext ctx, GLfloat x, GLfloat y); 326 + void (*vertex2fv)(GLIContext ctx, const GLfloat *v); 327 + void (*vertex2i)(GLIContext ctx, GLint x, GLint y); 328 + void (*vertex2iv)(GLIContext ctx, const GLint *v); 329 + void (*vertex2s)(GLIContext ctx, GLshort x, GLshort y); 330 + void (*vertex2sv)(GLIContext ctx, const GLshort *v); 331 + void (*vertex3d)(GLIContext ctx, GLdouble x, GLdouble y, GLdouble z); 332 + void (*vertex3dv)(GLIContext ctx, const GLdouble *v); 333 + void (*vertex3f)(GLIContext ctx, GLfloat x, GLfloat y, GLfloat z); 334 + void (*vertex3fv)(GLIContext ctx, const GLfloat *v); 335 + void (*vertex3i)(GLIContext ctx, GLint x, GLint y, GLint z); 336 + void (*vertex3iv)(GLIContext ctx, const GLint *v); 337 + void (*vertex3s)(GLIContext ctx, GLshort x, GLshort y, GLshort z); 338 + void (*vertex3sv)(GLIContext ctx, const GLshort *v); 339 + void (*vertex4d)(GLIContext ctx, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 340 + void (*vertex4dv)(GLIContext ctx, const GLdouble *v); 341 + void (*vertex4f)(GLIContext ctx, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 342 + void (*vertex4fv)(GLIContext ctx, const GLfloat *v); 343 + void (*vertex4i)(GLIContext ctx, GLint x, GLint y, GLint z, GLint w); 344 + void (*vertex4iv)(GLIContext ctx, const GLint *v); 345 + void (*vertex4s)(GLIContext ctx, GLshort x, GLshort y, GLshort z, GLshort w); 346 + void (*vertex4sv)(GLIContext ctx, const GLshort *v); 347 + void (*vertex_pointer)(GLIContext ctx, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); 348 + void (*viewport)(GLIContext ctx, GLint x, GLint y, GLsizei width, GLsizei height); 349 + void (*blend_func_separate)(GLIContext ctx, GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); 350 + void (*blend_color)(GLIContext ctx, GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); 351 + void (*blend_equation)(GLIContext ctx, GLenum mode); 352 + void (*lock_arrays_EXT)(GLIContext ctx, GLint first, GLsizei count); 353 + void (*unlock_arrays_EXT)(GLIContext ctx); 354 + void (*client_active_texture)(GLIContext ctx, GLenum target); 355 + void (*active_texture)(GLIContext ctx, GLenum target); 356 + void (*multi_tex_coord1d)(GLIContext ctx, GLenum target, GLdouble s); 357 + void (*multi_tex_coord1dv)(GLIContext ctx, GLenum target, const GLdouble *v); 358 + void (*multi_tex_coord1f)(GLIContext ctx, GLenum target, GLfloat s); 359 + void (*multi_tex_coord1fv)(GLIContext ctx, GLenum target, const GLfloat *v); 360 + void (*multi_tex_coord1i)(GLIContext ctx, GLenum target, GLint s); 361 + void (*multi_tex_coord1iv)(GLIContext ctx, GLenum target, const GLint *v); 362 + void (*multi_tex_coord1s)(GLIContext ctx, GLenum target, GLshort s); 363 + void (*multi_tex_coord1sv)(GLIContext ctx, GLenum target, const GLshort *v); 364 + void (*multi_tex_coord2d)(GLIContext ctx, GLenum target, GLdouble s, GLdouble t); 365 + void (*multi_tex_coord2dv)(GLIContext ctx, GLenum target, const GLdouble *v); 366 + void (*multi_tex_coord2f)(GLIContext ctx, GLenum target, GLfloat s, GLfloat t); 367 + void (*multi_tex_coord2fv)(GLIContext ctx, GLenum target, const GLfloat *v); 368 + void (*multi_tex_coord2i)(GLIContext ctx, GLenum target, GLint s, GLint t); 369 + void (*multi_tex_coord2iv)(GLIContext ctx, GLenum target, const GLint *v); 370 + void (*multi_tex_coord2s)(GLIContext ctx, GLenum target, GLshort s, GLshort t); 371 + void (*multi_tex_coord2sv)(GLIContext ctx, GLenum target, const GLshort *v); 372 + void (*multi_tex_coord3d)(GLIContext ctx, GLenum target, GLdouble s, GLdouble t, GLdouble r); 373 + void (*multi_tex_coord3dv)(GLIContext ctx, GLenum target, const GLdouble *v); 374 + void (*multi_tex_coord3f)(GLIContext ctx, GLenum target, GLfloat s, GLfloat t, GLfloat r); 375 + void (*multi_tex_coord3fv)(GLIContext ctx, GLenum target, const GLfloat *v); 376 + void (*multi_tex_coord3i)(GLIContext ctx, GLenum target, GLint s, GLint t, GLint r); 377 + void (*multi_tex_coord3iv)(GLIContext ctx, GLenum target, const GLint *v); 378 + void (*multi_tex_coord3s)(GLIContext ctx, GLenum target, GLshort s, GLshort t, GLshort r); 379 + void (*multi_tex_coord3sv)(GLIContext ctx, GLenum target, const GLshort *v); 380 + void (*multi_tex_coord4d)(GLIContext ctx, GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); 381 + void (*multi_tex_coord4dv)(GLIContext ctx, GLenum target, const GLdouble *v); 382 + void (*multi_tex_coord4f)(GLIContext ctx, GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); 383 + void (*multi_tex_coord4fv)(GLIContext ctx, GLenum target, const GLfloat *v); 384 + void (*multi_tex_coord4i)(GLIContext ctx, GLenum target, GLint s, GLint t, GLint r, GLint q); 385 + void (*multi_tex_coord4iv)(GLIContext ctx, GLenum target, const GLint *v); 386 + void (*multi_tex_coord4s)(GLIContext ctx, GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); 387 + void (*multi_tex_coord4sv)(GLIContext ctx, GLenum target, const GLshort *v); 388 + void (*load_transpose_matrixd)(GLIContext ctx, const GLdouble *m); 389 + void (*load_transpose_matrixf)(GLIContext ctx, const GLfloat *m); 390 + void (*mult_transpose_matrixd)(GLIContext ctx, const GLdouble *m); 391 + void (*mult_transpose_matrixf)(GLIContext ctx, const GLfloat *m); 392 + void (*compressed_tex_image3D)(GLIContext ctx, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data); 393 + void (*compressed_tex_image2D)(GLIContext ctx, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data); 394 + void (*compressed_tex_image1D)(GLIContext ctx, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data); 395 + void (*compressed_tex_sub_image3D)(GLIContext ctx, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data); 396 + void (*compressed_tex_sub_image2D)(GLIContext ctx, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data); 397 + void (*compressed_tex_sub_image1D)(GLIContext ctx, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data); 398 + void (*get_compressed_tex_image)(GLIContext ctx, GLenum target, GLint level, GLvoid *img); 399 + void (*secondary_color3b)(GLIContext ctx, GLbyte red, GLbyte green, GLbyte blue); 400 + void (*secondary_color3bv)(GLIContext ctx, const GLbyte *v); 401 + void (*secondary_color3d)(GLIContext ctx, GLdouble red, GLdouble green, GLdouble blue); 402 + void (*secondary_color3dv)(GLIContext ctx, const GLdouble *v); 403 + void (*secondary_color3f)(GLIContext ctx, GLfloat red, GLfloat green, GLfloat blue); 404 + void (*secondary_color3fv)(GLIContext ctx, const GLfloat *v); 405 + void (*secondary_color3i)(GLIContext ctx, GLint red, GLint green, GLint blue); 406 + void (*secondary_color3iv)(GLIContext ctx, const GLint *v); 407 + void (*secondary_color3s)(GLIContext ctx, GLshort red, GLshort green, GLshort blue); 408 + void (*secondary_color3sv)(GLIContext ctx, const GLshort *v); 409 + void (*secondary_color3ub)(GLIContext ctx, GLubyte red, GLubyte green, GLubyte blue); 410 + void (*secondary_color3ubv)(GLIContext ctx, const GLubyte *v); 411 + void (*secondary_color3ui)(GLIContext ctx, GLuint red, GLuint green, GLuint blue); 412 + void (*secondary_color3uiv)(GLIContext ctx, const GLuint *v); 413 + void (*secondary_color3us)(GLIContext ctx, GLushort red, GLushort green, GLushort blue); 414 + void (*secondary_color3usv)(GLIContext ctx, const GLushort *v); 415 + void (*secondary_color_pointer)(GLIContext ctx, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); 416 + void (*vertex_array_range_EXT)(GLIContext ctx, GLsizei count, const GLvoid *pointer); 417 + void (*flush_vertex_array_range_EXT)(GLIContext ctx, GLsizei count, const GLvoid *pointer); 418 + void (*draw_range_elements)(GLIContext ctx, GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices); 419 + void (*color_table)(GLIContext ctx, GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table); 420 + void (*color_table_parameterfv)(GLIContext ctx, GLenum target, GLenum pname, const GLfloat *params); 421 + void (*color_table_parameteriv)(GLIContext ctx, GLenum target, GLenum pname, const GLint *params); 422 + void (*copy_color_table)(GLIContext ctx, GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); 423 + void (*get_color_table)(GLIContext ctx, GLenum target, GLenum format, GLenum type, GLvoid *table); 424 + void (*get_color_table_parameterfv)(GLIContext ctx, GLenum target, GLenum pname, GLfloat *params); 425 + void (*get_color_table_parameteriv)(GLIContext ctx, GLenum target, GLenum pname, GLint *params); 426 + void (*color_sub_table)(GLIContext ctx, GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data); 427 + void (*copy_color_sub_table)(GLIContext ctx, GLenum target, GLsizei start, GLint x, GLint y, GLsizei width); 428 + void (*convolution_filter1D)(GLIContext ctx, GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image); 429 + void (*convolution_filter2D)(GLIContext ctx, GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image); 430 + void (*convolution_parameterf)(GLIContext ctx, GLenum target, GLenum pname, GLfloat params); 431 + void (*convolution_parameterfv)(GLIContext ctx, GLenum target, GLenum pname, const GLfloat *params); 432 + void (*convolution_parameteri)(GLIContext ctx, GLenum target, GLenum pname, GLint params); 433 + void (*convolution_parameteriv)(GLIContext ctx, GLenum target, GLenum pname, const GLint *params); 434 + void (*copy_convolution_filter1D)(GLIContext ctx, GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); 435 + void (*copy_convolution_filter2D)(GLIContext ctx, GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height); 436 + void (*get_convolution_filter)(GLIContext ctx, GLenum target, GLenum format, GLenum type, GLvoid *image); 437 + void (*get_convolution_parameterfv)(GLIContext ctx, GLenum target, GLenum pname, GLfloat *params); 438 + void (*get_convolution_parameteriv)(GLIContext ctx, GLenum target, GLenum pname, GLint *params); 439 + void (*get_separable_filter)(GLIContext ctx, GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span); 440 + void (*separable_filter2D)(GLIContext ctx, GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column); 441 + void (*get_histogram)(GLIContext ctx, GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values); 442 + void (*get_histogram_parameterfv)(GLIContext ctx, GLenum target, GLenum pname, GLfloat *params); 443 + void (*get_histogram_parameteriv)(GLIContext ctx, GLenum target, GLenum pname, GLint *params); 444 + void (*get_minmax)(GLIContext ctx, GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values); 445 + void (*get_minmax_parameterfv)(GLIContext ctx, GLenum target, GLenum pname, GLfloat *params); 446 + void (*get_minmax_parameteriv)(GLIContext ctx, GLenum target, GLenum pname, GLint *params); 447 + void (*histogram)(GLIContext ctx, GLenum target, GLsizei width, GLenum internalformat, GLboolean sink); 448 + void (*minmax)(GLIContext ctx, GLenum target, GLenum internalformat, GLboolean sink); 449 + void (*reset_histogram)(GLIContext ctx, GLenum target); 450 + void (*reset_minmax)(GLIContext ctx, GLenum target); 451 + void (*tex_image3D)(GLIContext ctx, GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels); 452 + void (*tex_sub_image3D)(GLIContext ctx, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels); 453 + void (*copy_tex_sub_image3D)(GLIContext ctx, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); 454 + void (*get_uniform_indices) (GLIContext ctx, GLuint program, GLsizei uniformCount, const GLchar* const *uniformNames, GLuint* uniformIndices); 455 + void (*get_active_uniformsiv) (GLIContext ctx, GLuint program, GLsizei uniformCount, const GLuint* uniformIndices, GLenum pname, GLint* params); 456 + void (*get_active_uniform_name) (GLIContext ctx, GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei* length, GLchar* uniformName); 457 + GLuint (*get_uniform_block_index) (GLIContext ctx, GLuint program, const GLchar* uniformBlockName); 458 + void (*get_active_uniform_blockiv) (GLIContext ctx, GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint* params); 459 + void (*get_active_uniform_block_name) (GLIContext ctx, GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei* length, GLchar* uniformBlockName); 460 + void (*uniform_block_binding) (GLIContext ctx, GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding); 461 + void (*get_combiner_input_parameterfv_NV)(GLIContext ctx, GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat *params); 462 + void (*get_combiner_input_parameteriv_NV)(GLIContext ctx, GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint *params); 463 + void (*get_combiner_output_parameterfv_NV)(GLIContext ctx, GLenum stage, GLenum portion, GLenum pname, GLfloat *params); 464 + void (*get_combiner_output_parameteriv_NV)(GLIContext ctx, GLenum stage, GLenum portion, GLenum pname, GLint *params); 465 + void (*get_final_combiner_input_parameterfv_NV)(GLIContext ctx, GLenum variable, GLenum pname, GLfloat *params); 466 + void (*get_final_combiner_input_parameteriv_NV)(GLIContext ctx, GLenum variable, GLenum pname, GLint *params); 467 + void (*combiner_stage_parameterfv_NV)(GLIContext ctx, GLenum stage, GLenum pname, const GLfloat *params); 468 + void (*get_combiner_stage_parameterfv_NV)(GLIContext ctx, GLenum stage, GLenum pname, GLfloat *params); 469 + void (*texture_range_APPLE)(GLIContext ctx, GLenum target, GLsizei length, const GLvoid *pointer); 470 + void (*get_tex_parameter_pointerv_APPLE)(GLIContext ctx, GLenum target, GLenum pname, GLvoid **params); 471 + void (*blend_equation_separate_EXT)(GLIContext ctx, GLenum equationRGB, GLenum equationAlpha); 472 + void (*sample_coverage)(GLIContext ctx, GLclampf value, GLboolean invert); 473 + void (*sample_pass)(GLIContext ctx, GLenum mode); 474 + void (*pn_trianglesi_ATI)(GLIContext ctx, GLenum pname, GLint param); 475 + void (*pn_trianglesf_ATI)(GLIContext ctx, GLenum pname, GLfloat param); 476 + void (*gen_fences_APPLE)(GLIContext ctx, GLsizei n, GLuint *fences); 477 + void (*delete_fences_APPLE)(GLIContext ctx, GLsizei n, const GLuint *fences); 478 + void (*set_fence_APPLE)(GLIContext ctx, GLuint fence); 479 + GLboolean (*is_fence_APPLE)(GLIContext ctx, GLuint fence); 480 + GLboolean (*test_fence_APPLE)(GLIContext ctx, GLuint fence); 481 + void (*finish_fence_APPLE)(GLIContext ctx, GLuint fence); 482 + GLboolean (*test_object_APPLE)(GLIContext ctx, GLenum object, GLuint name); 483 + void (*finish_object_APPLE)(GLIContext ctx, GLenum object, GLuint name); 484 + void (*bind_program_ARB)(GLIContext ctx, GLenum target, GLuint program); 485 + void (*delete_programs_ARB)(GLIContext ctx, GLsizei n, const GLuint *programs); 486 + void (*gen_programs_ARB)(GLIContext ctx, GLsizei n, GLuint *programs); 487 + GLboolean (*is_program_ARB)(GLIContext ctx, GLuint program); 488 + void (*vertex_attrib1s_ARB)(GLIContext ctx, GLuint index, GLshort x); 489 + void (*vertex_attrib1f_ARB)(GLIContext ctx, GLuint index, GLfloat x); 490 + void (*vertex_attrib1d_ARB)(GLIContext ctx, GLuint index, GLdouble x); 491 + void (*vertex_attrib2s_ARB)(GLIContext ctx, GLuint index, GLshort x, GLshort y); 492 + void (*vertex_attrib2f_ARB)(GLIContext ctx, GLuint index, GLfloat x, GLfloat y); 493 + void (*vertex_attrib2d_ARB)(GLIContext ctx, GLuint index, GLdouble x, GLdouble y); 494 + void (*vertex_attrib3s_ARB)(GLIContext ctx, GLuint index, GLshort x, GLshort y, GLshort z); 495 + void (*vertex_attrib3f_ARB)(GLIContext ctx, GLuint index, GLfloat x, GLfloat y, GLfloat z); 496 + void (*vertex_attrib3d_ARB)(GLIContext ctx, GLuint index, GLdouble x, GLdouble y, GLdouble z); 497 + void (*vertex_attrib4s_ARB)(GLIContext ctx, GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); 498 + void (*vertex_attrib4f_ARB)(GLIContext ctx, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 499 + void (*vertex_attrib4d_ARB)(GLIContext ctx, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 500 + void (*vertex_attrib4Nub_ARB)(GLIContext ctx, GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); 501 + void (*vertex_attrib1sv_ARB)(GLIContext ctx, GLuint index, const GLshort *v); 502 + void (*vertex_attrib1fv_ARB)(GLIContext ctx, GLuint index, const GLfloat *v); 503 + void (*vertex_attrib1dv_ARB)(GLIContext ctx, GLuint index, const GLdouble *v); 504 + void (*vertex_attrib2sv_ARB)(GLIContext ctx, GLuint index, const GLshort *v); 505 + void (*vertex_attrib2fv_ARB)(GLIContext ctx, GLuint index, const GLfloat *v); 506 + void (*vertex_attrib2dv_ARB)(GLIContext ctx, GLuint index, const GLdouble *v); 507 + void (*vertex_attrib3sv_ARB)(GLIContext ctx, GLuint index, const GLshort *v); 508 + void (*vertex_attrib3fv_ARB)(GLIContext ctx, GLuint index, const GLfloat *v); 509 + void (*vertex_attrib3dv_ARB)(GLIContext ctx, GLuint index, const GLdouble *v); 510 + void (*vertex_attrib4bv_ARB)(GLIContext ctx, GLuint index, const GLbyte *v); 511 + void (*vertex_attrib4sv_ARB)(GLIContext ctx, GLuint index, const GLshort *v); 512 + void (*vertex_attrib4iv_ARB)(GLIContext ctx, GLuint index, const GLint *v); 513 + void (*vertex_attrib4ubv_ARB)(GLIContext ctx, GLuint index, const GLubyte *v); 514 + void (*vertex_attrib4usv_ARB)(GLIContext ctx, GLuint index, const GLushort *v); 515 + void (*vertex_attrib4uiv_ARB)(GLIContext ctx, GLuint index, const GLuint *v); 516 + void (*vertex_attrib4fv_ARB)(GLIContext ctx, GLuint index, const GLfloat *v); 517 + void (*vertex_attrib4dv_ARB)(GLIContext ctx, GLuint index, const GLdouble *v); 518 + void (*vertex_attrib4Nbv_ARB)(GLIContext ctx, GLuint index, const GLbyte *v); 519 + void (*vertex_attrib4Nsv_ARB)(GLIContext ctx, GLuint index, const GLshort *v); 520 + void (*vertex_attrib4Niv_ARB)(GLIContext ctx, GLuint index, const GLint *v); 521 + void (*vertex_attrib4Nubv_ARB)(GLIContext ctx, GLuint index, const GLubyte *v); 522 + void (*vertex_attrib4Nusv_ARB)(GLIContext ctx, GLuint index, const GLushort *v); 523 + void (*vertex_attrib4Nuiv_ARB)(GLIContext ctx, GLuint index, const GLuint *v); 524 + void (*vertex_attrib_pointer_ARB)(GLIContext ctx, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer); 525 + void (*enable_vertex_attrib_array_ARB)(GLIContext ctx, GLuint index); 526 + void (*disable_vertex_attrib_array_ARB)(GLIContext ctx, GLuint index); 527 + void (*get_vertex_attribdv_ARB)(GLIContext ctx, GLuint index, GLenum pname, GLdouble *params); 528 + void (*get_vertex_attribfv_ARB)(GLIContext ctx, GLuint index, GLenum pname, GLfloat *params); 529 + void (*get_vertex_attribiv_ARB)(GLIContext ctx, GLuint index, GLenum pname, GLint *params); 530 + void (*get_vertex_attrib_pointerv_ARB)(GLIContext ctx, GLuint index, GLenum pname, GLvoid **pointer); 531 + void (*program_env_parameter4d_ARB)(GLIContext ctx, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 532 + void (*program_env_parameter4dv_ARB)(GLIContext ctx, GLenum target, GLuint index, const GLdouble *params); 533 + void (*program_env_parameter4f_ARB)(GLIContext ctx, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 534 + void (*program_env_parameter4fv_ARB)(GLIContext ctx, GLenum target, GLuint index, const GLfloat *params); 535 + void (*program_local_parameter4d_ARB)(GLIContext ctx, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 536 + void (*program_local_parameter4dv_ARB)(GLIContext ctx, GLenum target, GLuint index, const GLdouble *params); 537 + void (*program_local_parameter4f_ARB)(GLIContext ctx, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 538 + void (*program_local_parameter4fv_ARB)(GLIContext ctx, GLenum target, GLuint index, const GLfloat *params); 539 + void (*get_program_env_parameterdv_ARB)(GLIContext ctx, GLenum target, GLuint index, GLdouble *params); 540 + void (*get_program_env_parameterfv_ARB)(GLIContext ctx, GLenum target, GLuint index, GLfloat *params); 541 + void (*get_program_local_parameterdv_ARB)(GLIContext ctx, GLenum target, GLuint index, GLdouble *params); 542 + void (*get_program_local_parameterfv_ARB)(GLIContext ctx, GLenum target, GLuint index, GLfloat *params); 543 + void (*program_string_ARB)(GLIContext ctx, GLenum target, GLenum format, GLsizei len, const GLvoid* string); 544 + void (*get_program_string_ARB)(GLIContext ctx, GLenum target, GLenum pname, GLvoid *string); 545 + void (*get_programiv_ARB)(GLIContext ctx, GLenum target, GLenum pname, GLint *params); 546 + void (*enable_vertex_attrib_ARB)(GLIContext ctx, GLuint index, GLenum pname); 547 + void (*disable_vertex_attrib_ARB)(GLIContext ctx, GLuint index, GLenum pname); 548 + GLboolean (*is_vertex_attrib_enabled_ARB)(GLIContext ctx, GLuint index, GLenum pname); 549 + void (*map_vertex_attrib1d_ARB)(GLIContext ctx, GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points); 550 + void (*map_vertex_attrib1f_ARB)(GLIContext ctx, GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points); 551 + void (*map_vertex_attrib2d_ARB)(GLIContext ctx, GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points); 552 + void (*map_vertex_attrib2f_ARB)(GLIContext ctx, GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points); 553 + void (*point_parameterf)(GLIContext ctx, GLenum pname, GLfloat param); 554 + void (*point_parameterfv)(GLIContext ctx, GLenum pname, const GLfloat *params); 555 + void (*point_parameteri)(GLIContext ctx, GLenum pname, GLint param); 556 + void (*point_parameteriv)(GLIContext ctx, GLenum pname, const GLint *params); 557 + void (*fog_coordf)(GLIContext ctx, GLfloat coord); 558 + void (*fog_coordfv)(GLIContext ctx, const GLfloat *coord); 559 + void (*fog_coordd)(GLIContext ctx, GLdouble coord); 560 + void (*fog_coorddv)(GLIContext ctx, const GLdouble *coord); 561 + void (*fog_coord_pointer)(GLIContext ctx, GLenum type, GLsizei stride, const GLvoid *pointer); 562 + void (*vertex_array_parameteri_EXT)(GLIContext ctx, GLenum pname, GLint param); 563 + void (*bind_vertex_array_EXT)(GLIContext ctx, GLuint id); 564 + void (*delete_vertex_arrays_EXT)(GLIContext ctx, GLsizei n, const GLuint *ids); 565 + void (*gen_vertex_arrays_EXT)(GLIContext ctx, GLsizei n, GLuint *ids); 566 + GLboolean (*is_vertex_array_EXT)(GLIContext ctx, GLuint id); 567 + void (*element_pointer_APPLE)(GLIContext ctx, GLenum type, const GLvoid *pointer); 568 + void (*draw_element_array_APPLE)(GLIContext ctx, GLenum mode, GLint first, GLsizei count); 569 + void (*draw_range_element_array_APPLE)(GLIContext ctx, GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count); 570 + void (*weightbv_ARB)(GLIContext ctx, GLint size, const GLbyte *weights); 571 + void (*weightsv_ARB)(GLIContext ctx, GLint size, const GLshort *weights); 572 + void (*weightiv_ARB)(GLIContext ctx, GLint size, const GLint *weights); 573 + void (*weightfv_ARB)(GLIContext ctx, GLint size, const GLfloat *weights); 574 + void (*weightdv_ARB)(GLIContext ctx, GLint size, const GLdouble *weights); 575 + void (*weightubv_ARB)(GLIContext ctx, GLint size, const GLubyte *weights); 576 + void (*weightusv_ARB)(GLIContext ctx, GLint size, const GLushort *weights); 577 + void (*weightuiv_ARB)(GLIContext ctx, GLint size, const GLuint *weights); 578 + void (*weight_pointer_ARB)(GLIContext ctx, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); 579 + void (*vertex_blend_ARB)(GLIContext ctx, GLint count); 580 + void (*multi_draw_arrays)(GLIContext ctx, GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount); 581 + void (*multi_draw_elements)(GLIContext ctx, GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei drawcount); 582 + void (*window_pos2d) (GLIContext ctx, GLdouble x, GLdouble y); 583 + void (*window_pos2dv) (GLIContext ctx, const GLdouble *v); 584 + void (*window_pos2f) (GLIContext ctx, GLfloat x, GLfloat y); 585 + void (*window_pos2fv) (GLIContext ctx, const GLfloat *v); 586 + void (*window_pos2i) (GLIContext ctx, GLint x, GLint y); 587 + void (*window_pos2iv) (GLIContext ctx, const GLint *v); 588 + void (*window_pos2s) (GLIContext ctx, GLshort x, GLshort y); 589 + void (*window_pos2sv) (GLIContext ctx, const GLshort *v); 590 + void (*window_pos3d) (GLIContext ctx, GLdouble x, GLdouble y, GLdouble z); 591 + void (*window_pos3dv) (GLIContext ctx, const GLdouble *v); 592 + void (*window_pos3f) (GLIContext ctx, GLfloat x, GLfloat y, GLfloat z); 593 + void (*window_pos3fv) (GLIContext ctx, const GLfloat *v); 594 + void (*window_pos3i) (GLIContext ctx, GLint x, GLint y, GLint z); 595 + void (*window_pos3iv) (GLIContext ctx, const GLint *v); 596 + void (*window_pos3s) (GLIContext ctx, GLshort x, GLshort y, GLshort z); 597 + void (*window_pos3sv) (GLIContext ctx, const GLshort *v); 598 + void (*active_stencil_face_EXT) (GLIContext ctx, GLenum face); 599 + void (*stencil_op_separate_ATI) (GLIContext ctx, GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); 600 + void (*stencil_func_separate_ATI) (GLIContext ctx, GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask); 601 + void (*flush_render_APPLE) (GLIContext ctx); 602 + void (*finish_render_APPLE) (GLIContext ctx); 603 + void (*swap_APPLE)(GLIContext ctx); 604 + void (*delete_object_ARB) (GLIContext ctx, GLhandleARB obj); 605 + GLhandleARB (*get_handle_ARB) (GLIContext ctx, GLenum pname); 606 + void (*detach_object_ARB) (GLIContext ctx, GLhandleARB containerObj, GLhandleARB attachedObj); 607 + GLhandleARB (*create_shader_object_ARB) (GLIContext ctx, GLenum shaderType); 608 + void (*shader_source_ARB) (GLIContext ctx, GLhandleARB shaderObj, GLsizei count, const GLcharARB* const *string, const GLint *length); 609 + void (*compile_shader_ARB) (GLIContext ctx, GLhandleARB shaderObj); 610 + GLhandleARB (*create_program_object_ARB) (GLIContext ctx); 611 + void (*attach_object_ARB) (GLIContext ctx, GLhandleARB containerObj, GLhandleARB obj); 612 + void (*link_program_ARB) (GLIContext ctx, GLhandleARB programObj); 613 + void (*use_program_object_ARB) (GLIContext ctx, GLhandleARB programObj); 614 + void (*validate_program_ARB) (GLIContext ctx, GLhandleARB programObj); 615 + void (*uniform1f_ARB) (GLIContext ctx, GLint location, GLfloat v0); 616 + void (*uniform2f_ARB) (GLIContext ctx, GLint location, GLfloat v0, GLfloat v1); 617 + void (*uniform3f_ARB) (GLIContext ctx, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); 618 + void (*uniform4f_ARB) (GLIContext ctx, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); 619 + void (*uniform1i_ARB) (GLIContext ctx, GLint location, GLint v0); 620 + void (*uniform2i_ARB) (GLIContext ctx, GLint location, GLint v0, GLint v1); 621 + void (*uniform3i_ARB) (GLIContext ctx, GLint location, GLint v0, GLint v1, GLint v2); 622 + void (*uniform4i_ARB) (GLIContext ctx, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); 623 + void (*uniform1fv_ARB) (GLIContext ctx, GLint location, GLsizei count, const GLfloat *value); 624 + void (*uniform2fv_ARB) (GLIContext ctx, GLint location, GLsizei count, const GLfloat *value); 625 + void (*uniform3fv_ARB) (GLIContext ctx, GLint location, GLsizei count, const GLfloat *value); 626 + void (*uniform4fv_ARB) (GLIContext ctx, GLint location, GLsizei count, const GLfloat *value); 627 + void (*uniform1iv_ARB) (GLIContext ctx, GLint location, GLsizei count, const GLint *value); 628 + void (*uniform2iv_ARB) (GLIContext ctx, GLint location, GLsizei count, const GLint *value); 629 + void (*uniform3iv_ARB) (GLIContext ctx, GLint location, GLsizei count, const GLint *value); 630 + void (*uniform4iv_ARB) (GLIContext ctx, GLint location, GLsizei count, const GLint *value); 631 + void (*uniform_matrix2fv_ARB) (GLIContext ctx, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 632 + void (*uniform_matrix3fv_ARB) (GLIContext ctx, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 633 + void (*uniform_matrix4fv_ARB) (GLIContext ctx, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 634 + void (*get_object_parameterfv_ARB) (GLIContext ctx, GLhandleARB obj, GLenum pname, GLfloat *params); 635 + void (*get_object_parameteriv_ARB) (GLIContext ctx, GLhandleARB obj, GLenum pname, GLint *params); 636 + void (*get_info_log_ARB) (GLIContext ctx, GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog); 637 + void (*get_attached_objects_ARB) (GLIContext ctx, GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj); 638 + GLint (*get_uniform_location_ARB) (GLIContext ctx, GLhandleARB programObj, const GLcharARB *name); 639 + void (*get_active_uniform_ARB) (GLIContext ctx, GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name); 640 + void (*get_uniformfv_ARB) (GLIContext ctx, GLhandleARB programObj, GLint location, GLfloat *params); 641 + void (*get_uniformiv_ARB) (GLIContext ctx, GLhandleARB programObj, GLint location, GLint *params); 642 + void (*get_shader_source_ARB) (GLIContext ctx, GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source); 643 + void (*bind_attrib_location_ARB) (GLIContext ctx, GLhandleARB programObj, GLuint index, const GLcharARB *name); 644 + void (*get_active_attrib_ARB) (GLIContext ctx, GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name); 645 + GLint (*get_attrib_location_ARB) (GLIContext ctx, GLhandleARB programObj, const GLcharARB *name); 646 + void (*clamp_color_ARB) (GLIContext ctx, GLenum target, GLenum clamp); 647 + void (*gen_queries) (GLIContext ctx, GLsizei n, GLuint *ids); 648 + void (*delete_queries) (GLIContext ctx, GLsizei n, const GLuint *ids); 649 + GLboolean (*is_query) (GLIContext ctx, GLuint id); 650 + void (*begin_query) (GLIContext ctx, GLenum target, GLuint id); 651 + void (*end_query) (GLIContext ctx, GLenum target); 652 + void (*get_queryiv) (GLIContext ctx, GLenum target, GLenum pname, GLint *params); 653 + void (*get_query_objectiv) (GLIContext ctx, GLuint id, GLenum pname, GLint *params); 654 + void (*get_query_objectuiv) (GLIContext ctx, GLuint id, GLenum pname, GLuint *params); 655 + void (*bind_buffer) (GLIContext ctx, GLenum target, GLuint buffer); 656 + void (*delete_buffers) (GLIContext ctx, GLsizei n, const GLuint *buffers); 657 + void (*gen_buffers) (GLIContext ctx, GLsizei n, GLuint *buffers); 658 + GLboolean (*is_buffer) (GLIContext ctx, GLuint buffer); 659 + void (*buffer_data) (GLIContext ctx, GLenum target, GLsizeiptrARB size, const GLvoid *data, GLenum usage); 660 + void (*buffer_sub_data) (GLIContext ctx, GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid *data); 661 + void (*get_buffer_sub_data) (GLIContext ctx, GLenum target, GLintptrARB offset, GLsizeiptrARB size, GLvoid *data); 662 + GLvoid *(*map_buffer) (GLIContext ctx, GLenum target, GLenum access); 663 + GLboolean (*unmap_buffer) (GLIContext ctx, GLenum target); 664 + void (*get_buffer_parameteriv) (GLIContext ctx, GLenum target, GLenum pname, GLint *params); 665 + void (*get_buffer_pointerv) (GLIContext ctx, GLenum target, GLenum pname, GLvoid **params); 666 + void (*depth_bounds_EXT) (GLIContext ctx, GLclampd zmin, GLclampd zmax); 667 + void (*draw_buffers_ARB) (GLIContext ctx, GLsizei n, const GLenum *bufs); 668 + 669 + GLboolean (*is_shader) (GLIContext ctx, GLuint shader); 670 + GLboolean (*is_program) (GLIContext ctx, GLuint program); 671 + void (*get_shaderiv) (GLIContext ctx, GLuint shader, GLenum pname, GLint *params); 672 + void (*get_programiv) (GLIContext ctx, GLuint program, GLenum pname, GLint *params); 673 + void (*get_shader_info_log) (GLIContext ctx, GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog); 674 + void (*get_program_info_log) (GLIContext ctx, GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog); 675 + 676 + void (*stencil_func_separate) (GLIContext ctx, GLenum face, GLenum func, GLint ref, GLuint mask); 677 + void (*stencil_mask_separate) (GLIContext ctx, GLenum face, GLuint mask); 678 + 679 + void (*multi_draw_element_array_APPLE)(GLIContext ctx, GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount); 680 + void (*multi_draw_range_element_array_APPLE)(GLIContext ctx, GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount); 681 + 682 + GLboolean (*is_renderbuffer_EXT) (GLIContext ctx, GLuint renderbuffer); 683 + void (*bind_renderbuffer_EXT) (GLIContext ctx, GLenum target, GLuint renderbuffer); 684 + void (*delete_renderbuffers_EXT) (GLIContext ctx, GLsizei n, const GLuint *renderbuffers); 685 + void (*gen_renderbuffers_EXT) (GLIContext ctx, GLsizei n, GLuint *renderbuffers); 686 + void (*renderbuffer_storage_EXT) (GLIContext ctx, GLenum target, GLenum internalformat, GLsizei width, GLsizei height); 687 + void (*get_renderbuffer_parameteriv_EXT) (GLIContext ctx, GLenum target, GLenum pname, GLint *params); 688 + GLboolean (*is_framebuffer_EXT) (GLIContext ctx, GLuint framebuffer); 689 + void (*bind_framebuffer_EXT) (GLIContext ctx, GLenum target, GLuint framebuffer); 690 + void (*delete_framebuffers_EXT) (GLIContext ctx, GLsizei n, const GLuint *framebuffers); 691 + void (*gen_framebuffers_EXT) (GLIContext ctx, GLsizei n, GLuint *framebuffers); 692 + GLenum (*check_framebuffer_status_EXT) (GLIContext ctx, GLenum target); 693 + void (*framebuffer_texture1D_EXT) (GLIContext ctx, GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); 694 + void (*framebuffer_texture2D_EXT) (GLIContext ctx, GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); 695 + void (*framebuffer_texture3D_EXT) (GLIContext ctx, GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); 696 + void (*framebuffer_renderbuffer_EXT) (GLIContext ctx, GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); 697 + void (*get_framebuffer_attachment_parameteriv_EXT) (GLIContext ctx, GLenum target, GLenum attachment, GLenum pname, GLint *params); 698 + void (*generate_mipmap_EXT) (GLIContext ctx, GLenum target); 699 + 700 + void (*buffer_parameteri_APPLE) (GLIContext ctx, GLenum target, GLenum pname, GLint param); 701 + void (*flush_mapped_buffer_range_APPLE) (GLIContext ctx, GLenum target, GLintptr offset, GLsizeiptr size); 702 + 703 + void (*program_env_parameters4fv_EXT)(GLIContext ctx, GLenum target, GLuint index, GLsizei count, const GLfloat *params); 704 + void (*program_local_parameters4fv_EXT)(GLIContext ctx, GLenum target, GLuint index, GLsizei count, const GLfloat *params); 705 + 706 + GLenum (*object_purgeable_APPLE)(GLIContext ctx, GLenum objectType, GLuint name, GLenum option); 707 + GLenum (*object_unpurgeable_APPLE)(GLIContext ctx, GLenum objectType, GLuint name, GLenum option); 708 + void (*get_object_parameteriv_APPLE) (GLIContext ctx, GLenum objectType, GLuint name, GLenum pname, GLint* params); 709 + 710 + void (*program_parameteri_EXT)(GLIContext ctx, GLuint program_name, GLenum pname, GLint value); 711 + void (*framebuffer_texture_EXT)(GLIContext ctx, GLenum target, GLenum attachment, GLuint texture, GLint level); 712 + void (*framebuffer_texture_layer_EXT)(GLIContext ctx, GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); 713 + void (*framebuffer_texture_face_EXT)(GLIContext ctx, GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face); 714 + 715 + void (*bind_buffer_range_EXT)(GLIContext ctx, GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); 716 + void (*bind_buffer_offset_EXT)(GLIContext ctx, GLenum target, GLuint index, GLuint buffer, GLintptr offset); 717 + void (*bind_buffer_base_EXT)(GLIContext ctx, GLenum target, GLuint index, GLuint buffer); 718 + void (*begin_transform_feedback_EXT)(GLIContext ctx, GLenum primitiveMode); 719 + void (*end_transform_feedback_EXT)(GLIContext ctx); 720 + void (*transform_feedback_varyings_EXT)(GLIContext ctx, GLuint program, GLsizei count, const GLchar* const *varyings, GLenum bufferMode); 721 + void (*get_transform_feedback_varying_EXT)(GLIContext ctx, GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); 722 + void (*get_integer_indexedv_EXT)(GLIContext ctx, GLenum param, GLuint index, GLint *values); 723 + void (*get_boolean_indexedv_EXT)(GLIContext ctx, GLenum param, GLuint index, GLboolean *values); 724 + 725 + void (*uniform_buffer_EXT)(GLIContext ctx, GLuint program, GLint location, GLuint buffer); 726 + GLint (*get_uniform_buffer_size_EXT)(GLIContext ctx, GLuint program, GLint location); 727 + GLintptr (*get_uniform_buffer_offset_EXT)(GLIContext ctx, GLuint program, GLint location); 728 + 729 + void (*clear_colorIi_EXT) (GLIContext ctx, GLint r, GLint g, GLint b, GLint a ); 730 + void (*clear_colorIui_EXT) (GLIContext ctx, GLuint r, GLuint g, GLuint b, GLuint a ); 731 + void (*tex_parameterIiv_EXT)(GLIContext ctx, GLenum target, GLenum pname, GLint *params ); 732 + void (*tex_parameterIuiv_EXT)(GLIContext ctx, GLenum target, GLenum pname, GLuint *params ); 733 + void (*get_tex_parameterIiv_EXT) (GLIContext ctx, GLenum target, GLenum pname, GLint *params); 734 + void (*get_tex_parameterIuiv_EXT) (GLIContext ctx, GLenum target, GLenum pname, GLuint *params); 735 + 736 + void (*vertex_attribI1i_EXT)(GLIContext ctx, GLuint index, GLint x); 737 + void (*vertex_attribI2i_EXT)(GLIContext ctx, GLuint index, GLint x, GLint y); 738 + void (*vertex_attribI3i_EXT)(GLIContext ctx, GLuint index, GLint x, GLint y, GLint z); 739 + void (*vertex_attribI4i_EXT)(GLIContext ctx, GLuint index, GLint x, GLint y, GLint z, GLint w); 740 + void (*vertex_attribI1ui_EXT)(GLIContext ctx, GLuint index, GLuint x); 741 + void (*vertex_attribI2ui_EXT)(GLIContext ctx, GLuint index, GLuint x, GLuint y); 742 + void (*vertex_attribI3ui_EXT)(GLIContext ctx, GLuint index, GLuint x, GLuint y, GLuint z); 743 + void (*vertex_attribI4ui_EXT)(GLIContext ctx, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); 744 + void (*vertex_attribI1iv_EXT)(GLIContext ctx, GLuint index, const GLint *v); 745 + void (*vertex_attribI2iv_EXT)(GLIContext ctx, GLuint index, const GLint *v); 746 + void (*vertex_attribI3iv_EXT)(GLIContext ctx, GLuint index, const GLint *v); 747 + void (*vertex_attribI4iv_EXT)(GLIContext ctx, GLuint index, const GLint *v); 748 + void (*vertex_attribI1uiv_EXT)(GLIContext ctx, GLuint index, const GLuint *v); 749 + void (*vertex_attribI2uiv_EXT)(GLIContext ctx, GLuint index, const GLuint *v); 750 + void (*vertex_attribI3uiv_EXT)(GLIContext ctx, GLuint index, const GLuint *v); 751 + void (*vertex_attribI4uiv_EXT)(GLIContext ctx, GLuint index, const GLuint *v); 752 + void (*vertex_attribI4bv_EXT)(GLIContext ctx, GLuint index, const GLbyte *v); 753 + void (*vertex_attribI4sv_EXT)(GLIContext ctx, GLuint index, const GLshort *v); 754 + void (*vertex_attribI4ubv_EXT)(GLIContext ctx, GLuint index, const GLubyte *v); 755 + void (*vertex_attribI4usv_EXT)(GLIContext ctx, GLuint index, const GLushort *v); 756 + void (*vertex_attribI_pointer_EXT)(GLIContext ctx, GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); 757 + void (*get_vertex_attribIiv_EXT)(GLIContext ctx, GLuint index, GLenum pname, GLint *params); 758 + void (*get_vertex_attribIuiv_EXT)(GLIContext ctx, GLuint index, GLenum pname, GLuint *params); 759 + void (*uniform1ui_EXT)(GLIContext ctx, GLint location, GLuint v0); 760 + void (*uniform2ui_EXT)(GLIContext ctx, GLint location, GLuint v0, GLuint v1); 761 + void (*uniform3ui_EXT)(GLIContext ctx, GLint location, GLuint v0, GLuint v1, GLuint v2); 762 + void (*uniform4ui_EXT)(GLIContext ctx, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); 763 + void (*uniform1uiv_EXT)(GLIContext ctx, GLint location, GLsizei count, const GLuint *value); 764 + void (*uniform2uiv_EXT)(GLIContext ctx, GLint location, GLsizei count, const GLuint *value); 765 + void (*uniform3uiv_EXT)(GLIContext ctx, GLint location, GLsizei count, const GLuint *value); 766 + void (*uniform4uiv_EXT)(GLIContext ctx, GLint location, GLsizei count, const GLuint *value); 767 + void (*get_uniformuiv_EXT)(GLIContext ctx, GLuint program, GLint location, GLuint *params); 768 + void (*bind_frag_data_location_EXT)(GLIContext ctx, GLuint program, GLuint colorNumber, const GLchar *name); 769 + GLint (*get_frag_data_location_EXT)(GLIContext ctx, GLuint program, const GLchar *name); 770 + 771 + void (*color_mask_indexed_EXT) (GLIContext ctx, GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); 772 + void (*enable_indexed_EXT) (GLIContext ctx, GLenum target, GLuint index); 773 + void (*disable_indexed_EXT) (GLIContext ctx, GLenum target, GLuint index); 774 + GLboolean (*is_enabled_indexed_EXT) (GLIContext ctx, GLenum target, GLuint index); 775 + 776 + void (*uniform_matrix2x3fv) (GLIContext ctx, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 777 + void (*uniform_matrix3x2fv) (GLIContext ctx, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 778 + void (*uniform_matrix2x4fv) (GLIContext ctx, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 779 + void (*uniform_matrix4x2fv) (GLIContext ctx, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 780 + void (*uniform_matrix3x4fv) (GLIContext ctx, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 781 + void (*uniform_matrix4x3fv) (GLIContext ctx, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 782 + 783 + void (*blit_framebuffer_EXT) (GLIContext ctx, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); 784 + void (*renderbuffer_storage_multisample_EXT) (GLIContext ctx, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 785 + 786 + void (*begin_conditional_render_NV)(GLIContext ctx, GLuint id, GLenum mode); 787 + void (*end_conditional_render_NV)(GLIContext ctx); 788 + 789 + void (*get_attached_shaders) (GLIContext ctx, GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders); 790 + 791 + void (*provoking_vertex_EXT) (GLIContext ctx, GLenum mode); 792 + 793 + void (*vertex_attrib_divisor) (GLIContext ctx, GLuint index, GLuint divisor); 794 + 795 + void (*draw_arrays_instanced)(GLIContext ctx, GLenum mode, GLint first, GLsizei count, GLsizei instancecount); 796 + void (*draw_elements_instanced)(GLIContext ctx, GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instancecount); 797 + 798 + void (*draw_elements_base_vertex)(GLIContext ctx, GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLint base_vertex); 799 + void (*draw_range_elements_base_vertex)(GLIContext ctx, GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices, GLint base_vertex); 800 + void (*draw_elements_instanced_base_vertex)(GLIContext ctx, GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instancecount, GLint base_vertex); 801 + void (*multi_draw_elements_base_vertex)(GLIContext ctx, GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei drawcount, const GLint *base_vertex); 802 + 803 + void (*bind_vertex_array_ARB)(GLIContext ctx, GLuint array); 804 + void (*delete_vertex_arrays_ARB)(GLIContext ctx, GLsizei n, const GLuint *arrays); 805 + void (*gen_vertex_arrays_ARB)(GLIContext ctx, GLsizei n, GLuint *arrays); 806 + GLboolean (*is_vertex_array_ARB)(GLIContext ctx, GLuint array); 807 + 808 + void (*point_size_pointer) (GLIContext ctx, GLenum type, GLsizei stride, const GLvoid *pointer); 809 + void (*vertex_point_sizef_APPLE) (GLIContext ctx, GLfloat size); 810 + 811 + void (*clear_bufferiv)(GLIContext ctx, GLenum buffer, GLint drawbuffer, const GLint *value); 812 + void (*clear_bufferuiv)(GLIContext ctx, GLenum buffer, GLint drawbuffer, const GLuint *value); 813 + void (*clear_bufferfv)(GLIContext ctx, GLenum buffer, GLint drawbuffer, const GLfloat *value); 814 + void (*clear_bufferfi)(GLIContext ctx, GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); 815 + const GLubyte* (*get_stringi)(GLIContext ctx, GLenum name, GLuint index); 816 + 817 + GLsync (*fence_sync) (GLIContext ctx, GLenum condition, GLbitfield flags); 818 + GLboolean (*is_sync) (GLIContext ctx, GLsync sync); 819 + void (*delete_sync) (GLIContext ctx, GLsync sync); 820 + GLenum (*client_wait_sync) (GLIContext ctx, GLsync sync, GLbitfield flags, GLuint64 timeout); 821 + void (*wait_sync) (GLIContext ctx, GLsync sync, GLbitfield flags, GLuint64 timeout); 822 + void (*get_integer64v_sync) (GLIContext ctx, GLenum pname, GLint64 *params); 823 + void (*get_synciv) (GLIContext ctx, GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); 824 + 825 + void (*tex_image2D_multisample)(GLIContext ctx, GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); 826 + void (*tex_image3D_multisample)(GLIContext ctx, GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); 827 + void (*get_multisamplefv)(GLIContext ctx, GLenum pname, GLuint index, GLfloat *val); 828 + void (*sample_maski)(GLIContext ctx, GLuint index, GLbitfield mask); 829 + 830 + void (*tex_buffer)(GLIContext ctx, GLenum target, GLenum internalformat, GLuint buffer); 831 + 832 + void (*copy_buffer_sub_data)(GLIContext ctx, GLenum readtarget, GLenum writetarget, GLintptr readoffset, GLintptr writeoffset, GLsizeiptr size); 833 + 834 + void (*primitive_restart_index)(GLIContext ctx, GLuint index); 835 + 836 + void (*get_query_objecti64v) (GLIContext ctx, GLuint id, GLenum pname, GLint64EXT *params); 837 + void (*get_query_objectui64v) (GLIContext ctx, GLuint id, GLenum pname, GLuint64EXT *params); 838 + 839 + GLvoid *(*map_buffer_range) (GLIContext ctx, GLenum target, GLintptr offset, GLsizeiptr length, GLenum access); 840 + void (*flush_mapped_buffer_range) (GLIContext ctx, GLenum target, GLintptr offset, GLsizeiptr length); 841 + 842 + void (*query_counter) (GLIContext ctx, GLuint id, GLenum target); 843 + void (*get_integer64i_v) (GLIContext ctx, GLenum target, GLuint index, GLint64 *data); 844 + void (*get_buffer_parameteri64v)(GLIContext ctx, GLenum target, GLenum pname, GLint64 *params); 845 + 846 + void (*gen_samplers) (GLIContext ctx, GLsizei count, GLuint *samplers); 847 + void (*delete_samplers) (GLIContext ctx, GLsizei count, const GLuint *samplers); 848 + GLboolean (*is_sampler) (GLIContext ctx, GLuint sampler); 849 + void (*bind_sampler) (GLIContext ctx, GLuint unit, GLuint sampler); 850 + void (*sampler_parameteri) (GLIContext ctx, GLuint sampler, GLenum pname, GLint param); 851 + void (*sampler_parameteriv) (GLIContext ctx, GLuint sampler, GLenum pname, const GLint *param); 852 + void (*sampler_parameterf) (GLIContext ctx, GLuint sampler, GLenum pname, GLfloat param); 853 + void (*sampler_parameterfv) (GLIContext ctx, GLuint sampler, GLenum pname, const GLfloat *param); 854 + void (*sampler_parameterIiv) (GLIContext ctx, GLuint sampler, GLenum pname, const GLint *param); 855 + void (*sampler_parameterIuiv) (GLIContext ctx, GLuint sampler, GLenum pname, const GLuint *param); 856 + void (*get_sampler_parameteriv) (GLIContext ctx, GLuint sampler, GLenum pname, GLint *params); 857 + void (*get_sampler_parameterfv) (GLIContext ctx, GLuint sampler, GLenum pname, GLfloat *params); 858 + void (*get_sampler_parameterIiv) (GLIContext ctx, GLuint sampler, GLenum pname, GLint *params); 859 + void (*get_sampler_parameterIuiv) (GLIContext ctx, GLuint sampler, GLenum pname, GLuint *params); 860 + 861 + void (*label_object_EXT)(GLIContext ctx, GLenum type, GLuint object, GLsizei length, const GLchar *label); 862 + void (*get_object_label_EXT)(GLIContext ctx, GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label); 863 + 864 + void (*insert_event_marker_EXT)(GLIContext ctx, GLsizei length, const GLchar *marker); 865 + void (*push_group_marker_EXT)(GLIContext ctx, GLsizei length, const GLchar *marker); 866 + void (*pop_group_marker_EXT)(GLIContext ctx); 867 + 868 + void (*use_program_stages)(GLIContext ctx, GLuint pipeline, GLbitfield stages, GLuint program); 869 + void (*active_shader_program)(GLIContext ctx, GLuint pipeline, GLuint program); 870 + GLuint (*create_shader_programv)(GLIContext ctx, GLenum type, GLsizei count, const GLchar* const *strings); 871 + void (*bind_program_pipeline)(GLIContext ctx, GLuint pipeline); 872 + void (*delete_program_pipelines)(GLIContext ctx, GLsizei n, const GLuint *pipelines); 873 + void (*gen_program_pipelines)(GLIContext ctx, GLsizei n, GLuint *pipelines); 874 + GLboolean (*is_program_pipeline)(GLIContext ctx, GLuint pipeline); 875 + void (*get_program_pipelineiv)(GLIContext ctx, GLuint pipeline, GLenum pname, GLint *params); 876 + void (*validate_program_pipeline)(GLIContext ctx, GLuint pipeline); 877 + void (*get_program_pipeline_info_log)(GLIContext ctx, GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog); 878 + void (*program_uniform1i)(GLIContext ctx, GLuint program, GLint location, GLint x); 879 + void (*program_uniform2i)(GLIContext ctx, GLuint program, GLint location, GLint x, GLint y); 880 + void (*program_uniform3i)(GLIContext ctx, GLuint program, GLint location, GLint x, GLint y, GLint z); 881 + void (*program_uniform4i)(GLIContext ctx, GLuint program, GLint location, GLint x, GLint y, GLint z, GLint w); 882 + void (*program_uniform1f)(GLIContext ctx, GLuint program, GLint location, GLfloat x); 883 + void (*program_uniform2f)(GLIContext ctx, GLuint program, GLint location, GLfloat x, GLfloat y); 884 + void (*program_uniform3f)(GLIContext ctx, GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z); 885 + void (*program_uniform4f)(GLIContext ctx, GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 886 + void (*program_uniform1iv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, const GLint *value); 887 + void (*program_uniform2iv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, const GLint *value); 888 + void (*program_uniform3iv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, const GLint *value); 889 + void (*program_uniform4iv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, const GLint *value); 890 + void (*program_uniform1fv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, const GLfloat *value); 891 + void (*program_uniform2fv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, const GLfloat *value); 892 + void (*program_uniform3fv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, const GLfloat *value); 893 + void (*program_uniform4fv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, const GLfloat *value); 894 + void (*program_uniform_matrix2fv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 895 + void (*program_uniform_matrix3fv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 896 + void (*program_uniform_matrix4fv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 897 + void (*program_uniform1ui)(GLIContext ctx, GLuint program, GLint location, GLuint x); 898 + void (*program_uniform2ui)(GLIContext ctx, GLuint program, GLint location, GLuint x, GLuint y); 899 + void (*program_uniform3ui)(GLIContext ctx, GLuint program, GLint location, GLuint x, GLuint y, GLuint z); 900 + void (*program_uniform4ui)(GLIContext ctx, GLuint program, GLint location, GLuint x, GLuint y, GLuint z, GLuint w); 901 + void (*program_uniform1uiv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, const GLuint *value); 902 + void (*program_uniform2uiv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, const GLuint *value); 903 + void (*program_uniform3uiv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, const GLuint *value); 904 + void (*program_uniform4uiv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, const GLuint *value); 905 + void (*program_uniform_matrix2x3fv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 906 + void (*program_uniform_matrix3x2fv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 907 + void (*program_uniform_matrix2x4fv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 908 + void (*program_uniform_matrix4x2fv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 909 + void (*program_uniform_matrix3x4fv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 910 + void (*program_uniform_matrix4x3fv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); 911 + 912 + void (*bind_frag_data_location_indexed) (GLIContext ctx, GLuint program, GLuint colorNumber, GLuint index, const GLchar *name); 913 + GLint (*get_frag_data_index) (GLIContext ctx, GLuint program, const GLchar *name); 914 + 915 + void (*blend_func_i) (GLIContext ctx, GLuint buf, GLenum src, GLenum dst); 916 + void (*blend_func_separate_i) (GLIContext ctx, GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); 917 + void (*blend_equation_i) (GLIContext ctx, GLuint buf, GLenum mode); 918 + void (*blend_equation_separate_i) (GLIContext ctx, GLuint buf, GLenum modeRGB, GLenum modeAlpha); 919 + 920 + void (*named_string_ARB) (GLIContext ctx, GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string); 921 + void (*delete_named_string_ARB) (GLIContext ctx, GLint namelen, const GLchar *name); 922 + void (*compile_shader_include_ARB) (GLIContext ctx, GLuint shader, GLsizei count, const GLchar* const *path, const GLint *length); 923 + GLboolean (*is_named_string_ARB) (GLIContext ctx, GLint namelen, const GLchar *name); 924 + void (*get_named_string_ARB) (GLIContext ctx, GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string); 925 + void (*get_named_string_iv_ARB) (GLIContext ctx, GLint namelen, const GLchar *name, GLenum pname, GLint *params); 926 + 927 + void (*release_shader_compiler)(GLIContext ctx); 928 + void (*shader_binary)(GLIContext ctx, GLint n, GLuint *shaders, GLenum binaryformat, const GLvoid *binary, GLint length); 929 + void (*get_shader_precision_format)(GLIContext ctx, GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision); 930 + void (*depth_rangef) (GLIContext ctx, GLclampf zNear, GLclampf zFar); 931 + void (*clear_depthf) (GLIContext ctx, GLclampf depth); 932 + 933 + void (*vertex_attribP1ui) (GLIContext ctx, GLuint index, GLenum type, GLboolean normalized, GLuint value); 934 + void (*vertex_attribP2ui) (GLIContext ctx, GLuint index, GLenum type, GLboolean normalized, GLuint value); 935 + void (*vertex_attribP3ui) (GLIContext ctx, GLuint index, GLenum type, GLboolean normalized, GLuint value); 936 + void (*vertex_attribP4ui) (GLIContext ctx, GLuint index, GLenum type, GLboolean normalized, GLuint value); 937 + void (*vertex_attribP1uiv) (GLIContext ctx, GLuint index, GLenum type, GLboolean normalized, const GLuint *value); 938 + void (*vertex_attribP2uiv) (GLIContext ctx, GLuint index, GLenum type, GLboolean normalized, const GLuint *value); 939 + void (*vertex_attribP3uiv) (GLIContext ctx, GLuint index, GLenum type, GLboolean normalized, const GLuint *value); 940 + void (*vertex_attribP4uiv) (GLIContext ctx, GLuint index, GLenum type, GLboolean normalized, const GLuint *value); 941 + 942 + void (*get_program_binary) (GLIContext ctx, GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary); 943 + void (*program_binary) (GLIContext ctx, GLuint program, GLenum binaryFormat, const GLvoid *binary, GLsizei length); 944 + 945 + void (*min_sample_shading) (GLIContext ctx, GLclampf value); 946 + 947 + void (*viewport_arrayv) (GLIContext ctx, GLuint first, GLsizei count, const GLfloat * v); 948 + void (*viewport_indexedf) (GLIContext ctx, GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h); 949 + void (*viewport_indexedfv) (GLIContext ctx, GLuint index, const GLfloat * v); 950 + void (*scissor_arrayv) (GLIContext ctx, GLuint first, GLsizei count, const GLint * v); 951 + void (*scissor_indexed) (GLIContext ctx, GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height); 952 + void (*scissor_indexedv) (GLIContext ctx, GLuint index, const GLint * v); 953 + void (*depth_range_arrayv) (GLIContext ctx, GLuint first, GLsizei count, const GLclampd * v); 954 + void (*depth_range_indexed) (GLIContext ctx, GLuint index, GLclampd n, GLclampd f); 955 + void (*get_floati_v) (GLIContext ctx, GLenum target, GLuint index, GLfloat *data); 956 + void (*get_doublei_v) (GLIContext ctx, GLenum target, GLuint index, GLdouble *data); 957 + 958 + void (*draw_arrays_indirect) (GLIContext ctx, GLenum mode, const GLvoid *indirect); 959 + void (*draw_elements_indirect) (GLIContext ctx, GLenum mode, GLenum type, const GLvoid *indirect); 960 + 961 + void (*patch_parameteri) (GLIContext ctx, GLenum pname, GLint value); 962 + void (*patch_parameterfv) (GLIContext ctx, GLenum pname, const GLfloat* values); 963 + 964 + void (*bind_transform_feedback) (GLIContext ctx, GLenum target, GLuint name); 965 + void (*gen_transform_feedbacks) (GLIContext ctx, GLsizei n, GLuint* ids); 966 + void (*delete_transform_feedbacks) (GLIContext ctx, GLsizei n, const GLuint* ids); 967 + void (*pause_transform_feedback) (GLIContext ctx); 968 + void (*resume_transform_feedback) (GLIContext ctx); 969 + GLboolean (*is_transform_feedback) (GLIContext ctx, GLuint name); 970 + void (*draw_transform_feedback) (GLIContext ctx, GLenum mode, GLuint name); 971 + 972 + void (*begin_query_indexed) (GLIContext ctx, GLenum target, GLuint index, GLuint id); 973 + void (*end_query_indexed) (GLIContext ctx, GLenum target, GLuint index); 974 + void (*get_query_indexediv) (GLIContext ctx, GLenum target, GLuint index, GLenum pname, GLint *params); 975 + void (*draw_transform_feedback_stream) (GLIContext ctx, GLenum mode, GLuint name, GLuint stream); 976 + 977 + void (*program_uniform1d)(GLIContext ctx, GLuint program, GLint location, GLdouble x); 978 + void (*program_uniform2d)(GLIContext ctx, GLuint program, GLint location, GLdouble x, GLdouble y); 979 + void (*program_uniform3d)(GLIContext ctx, GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z); 980 + void (*program_uniform4d)(GLIContext ctx, GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 981 + void (*program_uniform1dv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, const GLdouble *value); 982 + void (*program_uniform2dv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, const GLdouble *value); 983 + void (*program_uniform3dv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, const GLdouble *value); 984 + void (*program_uniform4dv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, const GLdouble *value); 985 + void (*program_uniform_matrix2dv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 986 + void (*program_uniform_matrix3dv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 987 + void (*program_uniform_matrix4dv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 988 + void (*program_uniform_matrix2x3dv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 989 + void (*program_uniform_matrix3x2dv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 990 + void (*program_uniform_matrix2x4dv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 991 + void (*program_uniform_matrix4x2dv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 992 + void (*program_uniform_matrix3x4dv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 993 + void (*program_uniform_matrix4x3dv)(GLIContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 994 + 995 + void (*uniform1d)(GLIContext ctx, GLint location, GLdouble x); 996 + void (*uniform2d)(GLIContext ctx, GLint location, GLdouble x, GLdouble y); 997 + void (*uniform3d)(GLIContext ctx, GLint location, GLdouble x, GLdouble y, GLdouble z); 998 + void (*uniform4d)(GLIContext ctx, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 999 + void (*uniform1dv)(GLIContext ctx, GLint location, GLsizei count, const GLdouble *value); 1000 + void (*uniform2dv)(GLIContext ctx, GLint location, GLsizei count, const GLdouble *value); 1001 + void (*uniform3dv)(GLIContext ctx, GLint location, GLsizei count, const GLdouble *value); 1002 + void (*uniform4dv)(GLIContext ctx, GLint location, GLsizei count, const GLdouble *value); 1003 + void (*uniform_matrix2dv)(GLIContext ctx, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1004 + void (*uniform_matrix3dv)(GLIContext ctx, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1005 + void (*uniform_matrix4dv)(GLIContext ctx, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1006 + void (*uniform_matrix2x3dv)(GLIContext ctx, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1007 + void (*uniform_matrix3x2dv)(GLIContext ctx, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1008 + void (*uniform_matrix2x4dv)(GLIContext ctx, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1009 + void (*uniform_matrix4x2dv)(GLIContext ctx, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1010 + void (*uniform_matrix3x4dv)(GLIContext ctx, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1011 + void (*uniform_matrix4x3dv)(GLIContext ctx, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); 1012 + void (*get_uniformdv)(GLIContext ctx, GLuint program_obj, GLint location, GLdouble *params); 1013 + 1014 + void (*vertex_attribl1d)(GLIContext ctx, GLuint index, GLdouble x); 1015 + void (*vertex_attribl2d)(GLIContext ctx, GLuint index, GLdouble x, GLdouble y); 1016 + void (*vertex_attribl3d)(GLIContext ctx, GLuint index, GLdouble x, GLdouble y, GLdouble z); 1017 + void (*vertex_attribl4d)(GLIContext ctx, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 1018 + void (*vertex_attribl1dv)(GLIContext ctx, GLuint index, const GLdouble *v); 1019 + void (*vertex_attribl2dv)(GLIContext ctx, GLuint index, const GLdouble *v); 1020 + void (*vertex_attribl3dv)(GLIContext ctx, GLuint index, const GLdouble *v); 1021 + void (*vertex_attribl4dv)(GLIContext ctx, GLuint index, const GLdouble *v); 1022 + void (*vertex_attrib_lpointer)(GLIContext ctx, GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer); 1023 + void (*get_vertex_attrib_ldv)(GLIContext ctx, GLuint index, GLenum pname, GLdouble *params); 1024 + 1025 + GLint (*get_subroutine_uniform_location)(GLIContext ctx, GLuint program, GLenum shadertype, const GLchar *name); 1026 + GLuint (*get_subroutine_index)(GLIContext ctx, GLuint program, GLenum shadertype, const GLchar *name); 1027 + void (*get_active_subroutine_uniformiv)(GLIContext ctx, GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values); 1028 + void (*get_active_subroutine_uniform_name)(GLIContext ctx, GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name); 1029 + void (*get_active_subroutine_name)(GLIContext ctx, GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name); 1030 + void (*uniform_subroutinesuiv)(GLIContext ctx, GLenum shadertype, GLsizei count, const GLuint *indices); 1031 + void (*get_uniform_subroutineuiv)(GLIContext ctx, GLenum shadertype, GLint location, GLuint *params); 1032 + void (*get_program_stageiv)(GLIContext ctx, GLuint program, GLenum shadertype, GLenum pname, GLint *values); 1033 + 1034 + void (*get_internal_formativ) (GLIContext ctx, GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint* params); 1035 + 1036 + void (*tex_storage1D) (GLIContext ctx, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); 1037 + void (*tex_storage2D) (GLIContext ctx, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); 1038 + void (*tex_storage3D) (GLIContext ctx, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); 1039 + 1040 + void (*label_object_with_responsible_process_APPLE) (GLIContext ctx, GLenum type, GLuint name, GLint pid); 1041 + 1042 + void (*texture_barrier_NV) (GLIContext ctx); 1043 + 1044 + } GLIFunctionDispatch; 1045 + 1046 + 1047 + #ifdef __cplusplus 1048 + } 1049 + #endif 1050 + 1051 + #endif
+76
src/OpenGL/include/OpenGL/gltypes.h
··· 1 + #ifndef __gltypes_H_ 2 + #define __gltypes_H_ 3 + 4 + #include <stdint.h> 5 + 6 + typedef uint32_t GLbitfield; 7 + typedef uint8_t GLboolean; 8 + typedef int8_t GLbyte; 9 + typedef float GLclampf; 10 + typedef uint32_t GLenum; 11 + typedef float GLfloat; 12 + typedef int32_t GLint; 13 + typedef int16_t GLshort; 14 + typedef int32_t GLsizei; 15 + typedef uint8_t GLubyte; 16 + typedef uint32_t GLuint; 17 + typedef uint16_t GLushort; 18 + typedef void GLvoid; 19 + 20 + #if !defined(GL_VERSION_2_0) 21 + typedef char GLchar; 22 + #endif 23 + #if !defined(GL_ARB_shader_objects) 24 + typedef char GLcharARB; 25 + typedef void *GLhandleARB; 26 + #endif 27 + typedef double GLdouble; 28 + typedef double GLclampd; 29 + #if !defined(ARB_ES2_compatibility) && !defined(GL_VERSION_4_1) 30 + typedef int32_t GLfixed; 31 + #endif 32 + #if !defined(GL_ARB_half_float_vertex) && !defined(GL_VERSION_3_0) 33 + typedef uint16_t GLhalf; 34 + #endif 35 + #if !defined(GL_ARB_half_float_pixel) 36 + typedef uint16_t GLhalfARB; 37 + #endif 38 + #if !defined(GL_ARB_sync) && !defined(GL_VERSION_3_2) 39 + typedef int64_t GLint64; 40 + typedef struct __GLsync *GLsync; 41 + typedef uint64_t GLuint64; 42 + #endif 43 + #if !defined(GL_EXT_timer_query) 44 + typedef int64_t GLint64EXT; 45 + typedef uint64_t GLuint64EXT; 46 + #endif 47 + 48 + #if !defined(GL_VERSION_1_5) 49 + #ifdef OPENGL_LINUX_COMPAT 50 + typedef ptrdiff_t GLintptr; 51 + #else 52 + typedef intptr_t GLintptr; 53 + #endif 54 + 55 + #ifdef OPENGL_LINUX_COMPAT 56 + typedef ptrdiff_t GLsizeiptr; 57 + #else 58 + typedef intptr_t GLsizeiptr; 59 + #endif 60 + #endif 61 + 62 + #if !defined(GL_ARB_vertex_buffer_object) 63 + #ifdef OPENGL_LINUX_COMPAT 64 + typedef ptrdiff_t GLintptrARB; 65 + #else 66 + typedef intptr_t GLintptrARB; 67 + #endif 68 + #ifdef OPENGL_LINUX_COMPAT 69 + typedef ptrdiff_t GLsizeiptrARB; 70 + #else 71 + typedef intptr_t GLsizeiptrARB; 72 + #endif 73 + 74 + #endif 75 + 76 + #endif
+3163
src/OpenGL/src/OpenGL.c
··· 1 + /* 2 + This file is part of Darling. 3 + 4 + Copyright (C) 2017 Lubos Dolezel 5 + 6 + Darling is free software: you can redistribute it and/or modify 7 + it under the terms of the GNU General Public License as published by 8 + the Free Software Foundation, either version 3 of the License, or 9 + (at your option) any later version. 10 + 11 + Darling is distributed in the hope that it will be useful, 12 + but WITHOUT ANY WARRANTY; without even the implied warranty of 13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 + GNU General Public License for more details. 15 + 16 + You should have received a copy of the GNU General Public License 17 + along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 + */ 19 + 20 + 21 + #include <OpenGL/OpenGL.h> 22 + #include <stdlib.h> 23 + #include <stdio.h> 24 + 25 + static int verbose = 0; 26 + 27 + __attribute__((constructor)) 28 + static void initme(void) { 29 + verbose = getenv("STUB_VERBOSE") != NULL; 30 + } 31 + 32 + CGLError CGLChoosePixelFormat(const CGLPixelFormatAttribute *attribs, CGLPixelFormatObj OPENGL_NULLABLE * OPENGL_NONNULL pix, GLint *npix) { 33 + if (verbose) puts("STUB: called"); 34 + return NULL; 35 + } 36 + CGLError CGLDestroyPixelFormat(CGLPixelFormatObj pix) { 37 + if (verbose) puts("STUB: called"); 38 + return NULL; 39 + } 40 + CGLError CGLDescribePixelFormat(CGLPixelFormatObj pix, GLint pix_num, CGLPixelFormatAttribute attrib, GLint *value) { 41 + if (verbose) puts("STUB: called"); 42 + return NULL; 43 + } 44 + void CGLReleasePixelFormat(CGLPixelFormatObj pix) { 45 + if (verbose) puts("STUB: called"); 46 + } 47 + CGLPixelFormatObj CGLRetainPixelFormat(CGLPixelFormatObj pix) { 48 + if (verbose) puts("STUB: called"); 49 + return NULL; 50 + } 51 + GLuint CGLGetPixelFormatRetainCount(CGLPixelFormatObj pix) { 52 + if (verbose) puts("STUB: called"); 53 + return NULL; 54 + } 55 + 56 + CGLError CGLQueryRendererInfo(GLuint display_mask, CGLRendererInfoObj OPENGL_NULLABLE * OPENGL_NONNULL rend, GLint *nrend) { 57 + if (verbose) puts("STUB: called"); 58 + return NULL; 59 + } 60 + CGLError CGLDestroyRendererInfo(CGLRendererInfoObj rend) { 61 + if (verbose) puts("STUB: called"); 62 + return NULL; 63 + } 64 + CGLError CGLDescribeRenderer(CGLRendererInfoObj rend, GLint rend_num, CGLRendererProperty prop, GLint * OPENGL_NULLABLE value) { 65 + if (verbose) puts("STUB: called"); 66 + return NULL; 67 + } 68 + 69 + CGLError CGLCreateContext(CGLPixelFormatObj pix, CGLContextObj OPENGL_NULLABLE share, CGLContextObj OPENGL_NULLABLE * OPENGL_NONNULL ctx) { 70 + if (verbose) puts("STUB: called"); 71 + return NULL; 72 + } 73 + CGLError CGLDestroyContext(CGLContextObj ctx) { 74 + if (verbose) puts("STUB: called"); 75 + return NULL; 76 + } 77 + CGLError CGLCopyContext(CGLContextObj src, CGLContextObj dst, GLbitfield mask) { 78 + if (verbose) puts("STUB: called"); 79 + return NULL; 80 + } 81 + CGLContextObj CGLRetainContext(CGLContextObj ctx) { 82 + if (verbose) puts("STUB: called"); 83 + return NULL; 84 + } 85 + void CGLReleaseContext(CGLContextObj ctx) { 86 + if (verbose) puts("STUB: called"); 87 + } 88 + GLuint CGLGetContextRetainCount(CGLContextObj ctx) { 89 + if (verbose) puts("STUB: called"); 90 + return NULL; 91 + } 92 + CGLPixelFormatObj OPENGL_NULLABLE CGLGetPixelFormat(CGLContextObj ctx) { 93 + if (verbose) puts("STUB: called"); 94 + return NULL; 95 + } 96 + 97 + CGLError CGLCreatePBuffer(GLsizei width, GLsizei height, GLenum target, GLenum internalFormat, GLint max_level, CGLPBufferObj OPENGL_NULLABLE * OPENGL_NONNULL pbuffer) { 98 + if (verbose) puts("STUB: called"); 99 + return NULL; 100 + } 101 + CGLError CGLDestroyPBuffer(CGLPBufferObj pbuffer) { 102 + if (verbose) puts("STUB: called"); 103 + return NULL; 104 + } 105 + CGLError CGLDescribePBuffer(CGLPBufferObj obj, GLsizei *width, GLsizei *height, GLenum *target, GLenum *internalFormat, GLint *mipmap) { 106 + if (verbose) puts("STUB: called"); 107 + return NULL; 108 + } 109 + CGLError CGLTexImagePBuffer(CGLContextObj ctx, CGLPBufferObj pbuffer, GLenum source) { 110 + if (verbose) puts("STUB: called"); 111 + return NULL; 112 + } 113 + CGLPBufferObj CGLRetainPBuffer(CGLPBufferObj pbuffer) { 114 + if (verbose) puts("STUB: called"); 115 + return NULL; 116 + } 117 + void CGLReleasePBuffer(CGLPBufferObj pbuffer) { 118 + if (verbose) puts("STUB: called"); 119 + } 120 + GLuint CGLGetPBufferRetainCount(CGLPBufferObj pbuffer) { 121 + if (verbose) puts("STUB: called"); 122 + return NULL; 123 + } 124 + 125 + CGLError CGLSetOffScreen(CGLContextObj ctx, GLsizei width, GLsizei height, GLint rowbytes, void *baseaddr) { 126 + if (verbose) puts("STUB: called"); 127 + return NULL; 128 + } 129 + CGLError CGLGetOffScreen(CGLContextObj ctx, GLsizei *width, GLsizei *height, GLint *rowbytes, void * OPENGL_NULLABLE * OPENGL_NONNULL baseaddr) { 130 + if (verbose) puts("STUB: called"); 131 + return NULL; 132 + } 133 + CGLError CGLSetFullScreen(CGLContextObj ctx) { 134 + if (verbose) puts("STUB: called"); 135 + return NULL; 136 + } 137 + CGLError CGLSetFullScreenOnDisplay(CGLContextObj ctx, GLuint display_mask) { 138 + if (verbose) puts("STUB: called"); 139 + return NULL; 140 + } 141 + 142 + CGLError CGLSetPBuffer(CGLContextObj ctx, CGLPBufferObj pbuffer, GLenum face, GLint level, GLint screen) { 143 + if (verbose) puts("STUB: called"); 144 + return NULL; 145 + } 146 + CGLError CGLGetPBuffer(CGLContextObj ctx, CGLPBufferObj OPENGL_NULLABLE * OPENGL_NONNULL pbuffer, GLenum *face, GLint *level, GLint *screen) { 147 + if (verbose) puts("STUB: called"); 148 + return NULL; 149 + } 150 + 151 + CGLError CGLClearDrawable(CGLContextObj ctx) { 152 + if (verbose) puts("STUB: called"); 153 + return NULL; 154 + } 155 + CGLError CGLFlushDrawable(CGLContextObj ctx) { 156 + if (verbose) puts("STUB: called"); 157 + return NULL; 158 + } 159 + 160 + CGLError CGLEnable(CGLContextObj ctx, CGLContextEnable pname) { 161 + if (verbose) puts("STUB: called"); 162 + return NULL; 163 + } 164 + CGLError CGLDisable(CGLContextObj ctx, CGLContextEnable pname) { 165 + if (verbose) puts("STUB: called"); 166 + return NULL; 167 + } 168 + CGLError CGLIsEnabled(CGLContextObj ctx, CGLContextEnable pname, GLint *enable) { 169 + if (verbose) puts("STUB: called"); 170 + return NULL; 171 + } 172 + CGLError CGLSetParameter(CGLContextObj ctx, CGLContextParameter pname, const GLint *params) { 173 + if (verbose) puts("STUB: called"); 174 + return NULL; 175 + } 176 + CGLError CGLGetParameter(CGLContextObj ctx, CGLContextParameter pname, GLint *params) { 177 + if (verbose) puts("STUB: called"); 178 + return NULL; 179 + } 180 + 181 + CGLError CGLSetVirtualScreen(CGLContextObj ctx, GLint screen) { 182 + if (verbose) puts("STUB: called"); 183 + return NULL; 184 + } 185 + CGLError CGLGetVirtualScreen(CGLContextObj ctx, GLint *screen) { 186 + if (verbose) puts("STUB: called"); 187 + return NULL; 188 + } 189 + 190 + CGLError CGLUpdateContext(CGLContextObj ctx) { 191 + if (verbose) puts("STUB: called"); 192 + return NULL; 193 + } 194 + 195 + CGLError CGLSetGlobalOption(CGLGlobalOption pname, const GLint * OPENGL_NULLABLE params) { 196 + if (verbose) puts("STUB: called"); 197 + return NULL; 198 + } 199 + CGLError CGLGetGlobalOption(CGLGlobalOption pname, GLint *params) { 200 + if (verbose) puts("STUB: called"); 201 + return NULL; 202 + } 203 + CGLError CGLSetOption(CGLGlobalOption pname, GLint param) { 204 + if (verbose) puts("STUB: called"); 205 + return NULL; 206 + } 207 + CGLError CGLGetOption(CGLGlobalOption pname, GLint *param) { 208 + if (verbose) puts("STUB: called"); 209 + return NULL; 210 + } 211 + 212 + CGLError CGLLockContext(CGLContextObj ctx) { 213 + if (verbose) puts("STUB: called"); 214 + return NULL; 215 + } 216 + 217 + CGLError CGLUnlockContext(CGLContextObj ctx) { 218 + if (verbose) puts("STUB: called"); 219 + return NULL; 220 + } 221 + 222 + void CGLGetVersion(GLint * OPENGL_NULLABLE majorvers, GLint * OPENGL_NULLABLE minorvers) { 223 + if (verbose) puts("STUB: called"); 224 + } 225 + 226 + const char *CGLErrorString(CGLError error) { 227 + if (verbose) puts("STUB: called"); 228 + return NULL; 229 + } 230 + 231 + void glAccum (GLenum op, GLfloat value) { 232 + if (verbose) puts("STUB: OpenGL called"); 233 + } 234 + 235 + void glAlphaFunc (GLenum func, GLclampf ref) { 236 + if (verbose) puts("STUB: OpenGL called"); 237 + } 238 + 239 + 240 + GLboolean glAreTexturesResident (GLsizei n, const GLuint *textures, GLboolean *residences) { 241 + if (verbose) puts("STUB: OpenGL called"); 242 + } 243 + 244 + 245 + void glArrayElement (GLint i) { 246 + if (verbose) puts("STUB: OpenGL called"); 247 + } 248 + 249 + 250 + void glBegin (GLenum mode) { 251 + if (verbose) puts("STUB: OpenGL called"); 252 + } 253 + 254 + 255 + void glBindTexture (GLenum target, GLuint texture) { 256 + if (verbose) puts("STUB: OpenGL called"); 257 + } 258 + 259 + 260 + void glBitmap (GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap) { 261 + if (verbose) puts("STUB: OpenGL called"); 262 + } 263 + 264 + 265 + void glBlendColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) { 266 + if (verbose) puts("STUB: OpenGL called"); 267 + } 268 + 269 + 270 + void glBlendEquation (GLenum mode) { 271 + if (verbose) puts("STUB: OpenGL called"); 272 + } 273 + 274 + 275 + void glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha) { 276 + if (verbose) puts("STUB: OpenGL called"); 277 + } 278 + 279 + 280 + void glBlendFunc (GLenum sfactor, GLenum dfactor) { 281 + if (verbose) puts("STUB: OpenGL called"); 282 + } 283 + 284 + 285 + void glCallList (GLuint list) { 286 + if (verbose) puts("STUB: OpenGL called"); 287 + } 288 + 289 + 290 + void glCallLists (GLsizei n, GLenum type, const GLvoid *lists) { 291 + if (verbose) puts("STUB: OpenGL called"); 292 + } 293 + 294 + 295 + void glClear (GLbitfield mask) { 296 + if (verbose) puts("STUB: OpenGL called"); 297 + } 298 + 299 + 300 + void glClearAccum (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) { 301 + if (verbose) puts("STUB: OpenGL called"); 302 + } 303 + 304 + 305 + void glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) { 306 + if (verbose) puts("STUB: OpenGL called"); 307 + } 308 + 309 + 310 + void glClearDepth (GLclampd depth) { 311 + if (verbose) puts("STUB: OpenGL called"); 312 + } 313 + 314 + 315 + void glClearIndex (GLfloat c) { 316 + if (verbose) puts("STUB: OpenGL called"); 317 + } 318 + 319 + 320 + void glClearStencil (GLint s) { 321 + if (verbose) puts("STUB: OpenGL called"); 322 + } 323 + 324 + 325 + void glClipPlane (GLenum plane, const GLdouble *equation) { 326 + if (verbose) puts("STUB: OpenGL called"); 327 + } 328 + 329 + 330 + void glColor3b (GLbyte red, GLbyte green, GLbyte blue) { 331 + if (verbose) puts("STUB: OpenGL called"); 332 + } 333 + 334 + 335 + void glColor3bv (const GLbyte *v) { 336 + if (verbose) puts("STUB: OpenGL called"); 337 + } 338 + 339 + 340 + void glColor3d (GLdouble red, GLdouble green, GLdouble blue) { 341 + if (verbose) puts("STUB: OpenGL called"); 342 + } 343 + 344 + 345 + void glColor3dv (const GLdouble *v) { 346 + if (verbose) puts("STUB: OpenGL called"); 347 + } 348 + 349 + 350 + void glColor3f (GLfloat red, GLfloat green, GLfloat blue) { 351 + if (verbose) puts("STUB: OpenGL called"); 352 + } 353 + 354 + 355 + void glColor3fv (const GLfloat *v) { 356 + if (verbose) puts("STUB: OpenGL called"); 357 + } 358 + 359 + 360 + void glColor3i (GLint red, GLint green, GLint blue) { 361 + if (verbose) puts("STUB: OpenGL called"); 362 + } 363 + 364 + 365 + void glColor3iv (const GLint *v) { 366 + if (verbose) puts("STUB: OpenGL called"); 367 + } 368 + 369 + 370 + void glColor3s (GLshort red, GLshort green, GLshort blue) { 371 + if (verbose) puts("STUB: OpenGL called"); 372 + } 373 + 374 + 375 + void glColor3sv (const GLshort *v) { 376 + if (verbose) puts("STUB: OpenGL called"); 377 + } 378 + 379 + 380 + void glColor3ub (GLubyte red, GLubyte green, GLubyte blue) { 381 + if (verbose) puts("STUB: OpenGL called"); 382 + } 383 + 384 + 385 + void glColor3ubv (const GLubyte *v) { 386 + if (verbose) puts("STUB: OpenGL called"); 387 + } 388 + 389 + 390 + void glColor3ui (GLuint red, GLuint green, GLuint blue) { 391 + if (verbose) puts("STUB: OpenGL called"); 392 + } 393 + 394 + 395 + void glColor3uiv (const GLuint *v) { 396 + if (verbose) puts("STUB: OpenGL called"); 397 + } 398 + 399 + 400 + void glColor3us (GLushort red, GLushort green, GLushort blue) { 401 + if (verbose) puts("STUB: OpenGL called"); 402 + } 403 + 404 + 405 + void glColor3usv (const GLushort *v) { 406 + if (verbose) puts("STUB: OpenGL called"); 407 + } 408 + 409 + 410 + void glColor4b (GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha) { 411 + if (verbose) puts("STUB: OpenGL called"); 412 + } 413 + 414 + 415 + void glColor4bv (const GLbyte *v) { 416 + if (verbose) puts("STUB: OpenGL called"); 417 + } 418 + 419 + 420 + void glColor4d (GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha) { 421 + if (verbose) puts("STUB: OpenGL called"); 422 + } 423 + 424 + 425 + void glColor4dv (const GLdouble *v) { 426 + if (verbose) puts("STUB: OpenGL called"); 427 + } 428 + 429 + 430 + void glColor4f (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) { 431 + if (verbose) puts("STUB: OpenGL called"); 432 + } 433 + 434 + 435 + void glColor4fv (const GLfloat *v) { 436 + if (verbose) puts("STUB: OpenGL called"); 437 + } 438 + 439 + 440 + void glColor4i (GLint red, GLint green, GLint blue, GLint alpha) { 441 + if (verbose) puts("STUB: OpenGL called"); 442 + } 443 + 444 + 445 + void glColor4iv (const GLint *v) { 446 + if (verbose) puts("STUB: OpenGL called"); 447 + } 448 + 449 + 450 + void glColor4s (GLshort red, GLshort green, GLshort blue, GLshort alpha) { 451 + if (verbose) puts("STUB: OpenGL called"); 452 + } 453 + 454 + 455 + void glColor4sv (const GLshort *v) { 456 + if (verbose) puts("STUB: OpenGL called"); 457 + } 458 + 459 + 460 + void glColor4ub (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha) { 461 + if (verbose) puts("STUB: OpenGL called"); 462 + } 463 + 464 + 465 + void glColor4ubv (const GLubyte *v) { 466 + if (verbose) puts("STUB: OpenGL called"); 467 + } 468 + 469 + 470 + void glColor4ui (GLuint red, GLuint green, GLuint blue, GLuint alpha) { 471 + if (verbose) puts("STUB: OpenGL called"); 472 + } 473 + 474 + 475 + void glColor4uiv (const GLuint *v) { 476 + if (verbose) puts("STUB: OpenGL called"); 477 + } 478 + 479 + 480 + void glColor4us (GLushort red, GLushort green, GLushort blue, GLushort alpha) { 481 + if (verbose) puts("STUB: OpenGL called"); 482 + } 483 + 484 + 485 + void glColor4usv (const GLushort *v) { 486 + if (verbose) puts("STUB: OpenGL called"); 487 + } 488 + 489 + 490 + void glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) { 491 + if (verbose) puts("STUB: OpenGL called"); 492 + } 493 + 494 + 495 + void glColorMaterial (GLenum face, GLenum mode) { 496 + if (verbose) puts("STUB: OpenGL called"); 497 + } 498 + 499 + 500 + void glColorPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) { 501 + if (verbose) puts("STUB: OpenGL called"); 502 + } 503 + 504 + 505 + void glColorSubTable (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data) { 506 + if (verbose) puts("STUB: OpenGL called"); 507 + } 508 + 509 + 510 + void glColorTable (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table) { 511 + if (verbose) puts("STUB: OpenGL called"); 512 + } 513 + 514 + 515 + void glColorTableParameterfv (GLenum target, GLenum pname, const GLfloat *params) { 516 + if (verbose) puts("STUB: OpenGL called"); 517 + } 518 + 519 + 520 + void glColorTableParameteriv (GLenum target, GLenum pname, const GLint *params) { 521 + if (verbose) puts("STUB: OpenGL called"); 522 + } 523 + 524 + 525 + void glConvolutionFilter1D (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image) { 526 + if (verbose) puts("STUB: OpenGL called"); 527 + } 528 + 529 + 530 + void glConvolutionFilter2D (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image) { 531 + if (verbose) puts("STUB: OpenGL called"); 532 + } 533 + 534 + 535 + void glConvolutionParameterf (GLenum target, GLenum pname, GLfloat params) { 536 + if (verbose) puts("STUB: OpenGL called"); 537 + } 538 + 539 + 540 + void glConvolutionParameterfv (GLenum target, GLenum pname, const GLfloat *params) { 541 + if (verbose) puts("STUB: OpenGL called"); 542 + } 543 + 544 + 545 + void glConvolutionParameteri (GLenum target, GLenum pname, GLint params) { 546 + if (verbose) puts("STUB: OpenGL called"); 547 + } 548 + 549 + 550 + void glConvolutionParameteriv (GLenum target, GLenum pname, const GLint *params) { 551 + if (verbose) puts("STUB: OpenGL called"); 552 + } 553 + 554 + 555 + void glCopyColorSubTable (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width) { 556 + if (verbose) puts("STUB: OpenGL called"); 557 + } 558 + 559 + 560 + void glCopyColorTable (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) { 561 + if (verbose) puts("STUB: OpenGL called"); 562 + } 563 + 564 + 565 + void glCopyConvolutionFilter1D (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) { 566 + if (verbose) puts("STUB: OpenGL called"); 567 + } 568 + 569 + 570 + void glCopyConvolutionFilter2D (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height) { 571 + if (verbose) puts("STUB: OpenGL called"); 572 + } 573 + 574 + 575 + void glCopyPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum type) { 576 + if (verbose) puts("STUB: OpenGL called"); 577 + } 578 + 579 + 580 + void glCopyTexImage1D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border) { 581 + if (verbose) puts("STUB: OpenGL called"); 582 + } 583 + 584 + 585 + void glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) { 586 + if (verbose) puts("STUB: OpenGL called"); 587 + } 588 + 589 + 590 + void glCopyTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width) { 591 + if (verbose) puts("STUB: OpenGL called"); 592 + } 593 + 594 + 595 + void glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) { 596 + if (verbose) puts("STUB: OpenGL called"); 597 + } 598 + 599 + 600 + void glCopyTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) { 601 + if (verbose) puts("STUB: OpenGL called"); 602 + } 603 + 604 + 605 + void glCullFace (GLenum mode) { 606 + if (verbose) puts("STUB: OpenGL called"); 607 + } 608 + 609 + 610 + void glDeleteLists (GLuint list, GLsizei range) { 611 + if (verbose) puts("STUB: OpenGL called"); 612 + } 613 + 614 + 615 + void glDeleteTextures (GLsizei n, const GLuint *textures) { 616 + if (verbose) puts("STUB: OpenGL called"); 617 + } 618 + 619 + 620 + void glDepthFunc (GLenum func) { 621 + if (verbose) puts("STUB: OpenGL called"); 622 + } 623 + 624 + 625 + void glDepthMask (GLboolean flag) { 626 + if (verbose) puts("STUB: OpenGL called"); 627 + } 628 + 629 + 630 + void glDepthRange (GLclampd zNear, GLclampd zFar) { 631 + if (verbose) puts("STUB: OpenGL called"); 632 + } 633 + 634 + 635 + void glDisable (GLenum cap) { 636 + if (verbose) puts("STUB: OpenGL called"); 637 + } 638 + 639 + 640 + void glDisableClientState (GLenum array) { 641 + if (verbose) puts("STUB: OpenGL called"); 642 + } 643 + 644 + 645 + void glDrawArrays (GLenum mode, GLint first, GLsizei count) { 646 + if (verbose) puts("STUB: OpenGL called"); 647 + } 648 + 649 + 650 + void glDrawBuffer (GLenum mode) { 651 + if (verbose) puts("STUB: OpenGL called"); 652 + } 653 + 654 + 655 + void glDrawElements (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices) { 656 + if (verbose) puts("STUB: OpenGL called"); 657 + } 658 + 659 + 660 + void glDrawPixels (GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels) { 661 + if (verbose) puts("STUB: OpenGL called"); 662 + } 663 + 664 + 665 + void glDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices) { 666 + if (verbose) puts("STUB: OpenGL called"); 667 + } 668 + 669 + 670 + void glEdgeFlag (GLboolean flag) { 671 + if (verbose) puts("STUB: OpenGL called"); 672 + } 673 + 674 + 675 + void glEdgeFlagPointer (GLsizei stride, const GLvoid *pointer) { 676 + if (verbose) puts("STUB: OpenGL called"); 677 + } 678 + 679 + 680 + void glEdgeFlagv (const GLboolean *flag) { 681 + if (verbose) puts("STUB: OpenGL called"); 682 + } 683 + 684 + 685 + void glEnable (GLenum cap) { 686 + if (verbose) puts("STUB: OpenGL called"); 687 + } 688 + 689 + 690 + void glEnableClientState (GLenum array) { 691 + if (verbose) puts("STUB: OpenGL called"); 692 + } 693 + 694 + 695 + void glEnd (void) { 696 + if (verbose) puts("STUB: OpenGL called"); 697 + } 698 + 699 + 700 + void glEndList (void) { 701 + if (verbose) puts("STUB: OpenGL called"); 702 + } 703 + 704 + 705 + void glEvalCoord1d (GLdouble u) { 706 + if (verbose) puts("STUB: OpenGL called"); 707 + } 708 + 709 + 710 + void glEvalCoord1dv (const GLdouble *u) { 711 + if (verbose) puts("STUB: OpenGL called"); 712 + } 713 + 714 + 715 + void glEvalCoord1f (GLfloat u) { 716 + if (verbose) puts("STUB: OpenGL called"); 717 + } 718 + 719 + 720 + void glEvalCoord1fv (const GLfloat *u) { 721 + if (verbose) puts("STUB: OpenGL called"); 722 + } 723 + 724 + 725 + void glEvalCoord2d (GLdouble u, GLdouble v) { 726 + if (verbose) puts("STUB: OpenGL called"); 727 + } 728 + 729 + 730 + void glEvalCoord2dv (const GLdouble *u) { 731 + if (verbose) puts("STUB: OpenGL called"); 732 + } 733 + 734 + 735 + void glEvalCoord2f (GLfloat u, GLfloat v) { 736 + if (verbose) puts("STUB: OpenGL called"); 737 + } 738 + 739 + 740 + void glEvalCoord2fv (const GLfloat *u) { 741 + if (verbose) puts("STUB: OpenGL called"); 742 + } 743 + 744 + 745 + void glEvalMesh1 (GLenum mode, GLint i1, GLint i2) { 746 + if (verbose) puts("STUB: OpenGL called"); 747 + } 748 + 749 + 750 + void glEvalMesh2 (GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2) { 751 + if (verbose) puts("STUB: OpenGL called"); 752 + } 753 + 754 + 755 + void glEvalPoint1 (GLint i) { 756 + if (verbose) puts("STUB: OpenGL called"); 757 + } 758 + 759 + 760 + void glEvalPoint2 (GLint i, GLint j) { 761 + if (verbose) puts("STUB: OpenGL called"); 762 + } 763 + 764 + 765 + void glFeedbackBuffer (GLsizei size, GLenum type, GLfloat *buffer) { 766 + if (verbose) puts("STUB: OpenGL called"); 767 + } 768 + 769 + 770 + void glFinish (void) { 771 + if (verbose) puts("STUB: OpenGL called"); 772 + } 773 + 774 + 775 + void glFlush (void) { 776 + if (verbose) puts("STUB: OpenGL called"); 777 + } 778 + 779 + 780 + void glFogf (GLenum pname, GLfloat param) { 781 + if (verbose) puts("STUB: OpenGL called"); 782 + } 783 + 784 + 785 + void glFogfv (GLenum pname, const GLfloat *params) { 786 + if (verbose) puts("STUB: OpenGL called"); 787 + } 788 + 789 + 790 + void glFogi (GLenum pname, GLint param) { 791 + if (verbose) puts("STUB: OpenGL called"); 792 + } 793 + 794 + 795 + void glFogiv (GLenum pname, const GLint *params) { 796 + if (verbose) puts("STUB: OpenGL called"); 797 + } 798 + 799 + 800 + void glFrontFace (GLenum mode) { 801 + if (verbose) puts("STUB: OpenGL called"); 802 + } 803 + 804 + 805 + void glFrustum (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar) { 806 + if (verbose) puts("STUB: OpenGL called"); 807 + } 808 + 809 + 810 + GLuint glGenLists (GLsizei range) { 811 + if (verbose) puts("STUB: OpenGL called"); 812 + } 813 + 814 + 815 + void glGenTextures (GLsizei n, GLuint *textures) { 816 + if (verbose) puts("STUB: OpenGL called"); 817 + } 818 + 819 + 820 + void glGetBooleanv (GLenum pname, GLboolean *params) { 821 + if (verbose) puts("STUB: OpenGL called"); 822 + } 823 + 824 + 825 + void glGetClipPlane (GLenum plane, GLdouble *equation) { 826 + if (verbose) puts("STUB: OpenGL called"); 827 + } 828 + 829 + 830 + void glGetColorTable (GLenum target, GLenum format, GLenum type, GLvoid *table) { 831 + if (verbose) puts("STUB: OpenGL called"); 832 + } 833 + 834 + 835 + void glGetColorTableParameterfv (GLenum target, GLenum pname, GLfloat *params) { 836 + if (verbose) puts("STUB: OpenGL called"); 837 + } 838 + 839 + 840 + void glGetColorTableParameteriv (GLenum target, GLenum pname, GLint *params) { 841 + if (verbose) puts("STUB: OpenGL called"); 842 + } 843 + 844 + 845 + void glGetConvolutionFilter (GLenum target, GLenum format, GLenum type, GLvoid *image) { 846 + if (verbose) puts("STUB: OpenGL called"); 847 + } 848 + 849 + 850 + void glGetConvolutionParameterfv (GLenum target, GLenum pname, GLfloat *params) { 851 + if (verbose) puts("STUB: OpenGL called"); 852 + } 853 + 854 + 855 + void glGetConvolutionParameteriv (GLenum target, GLenum pname, GLint *params) { 856 + if (verbose) puts("STUB: OpenGL called"); 857 + } 858 + 859 + 860 + void glGetDoublev (GLenum pname, GLdouble *params) { 861 + if (verbose) puts("STUB: OpenGL called"); 862 + } 863 + 864 + 865 + GLenum glGetError (void) { 866 + if (verbose) puts("STUB: OpenGL called"); 867 + } 868 + 869 + 870 + void glGetFloatv (GLenum pname, GLfloat *params) { 871 + if (verbose) puts("STUB: OpenGL called"); 872 + } 873 + 874 + 875 + void glGetHistogram (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values) { 876 + if (verbose) puts("STUB: OpenGL called"); 877 + } 878 + 879 + 880 + void glGetHistogramParameterfv (GLenum target, GLenum pname, GLfloat *params) { 881 + if (verbose) puts("STUB: OpenGL called"); 882 + } 883 + 884 + 885 + void glGetHistogramParameteriv (GLenum target, GLenum pname, GLint *params) { 886 + if (verbose) puts("STUB: OpenGL called"); 887 + } 888 + 889 + 890 + void glGetIntegerv (GLenum pname, GLint *params) { 891 + if (verbose) puts("STUB: OpenGL called"); 892 + } 893 + 894 + 895 + void glGetLightfv (GLenum light, GLenum pname, GLfloat *params) { 896 + if (verbose) puts("STUB: OpenGL called"); 897 + } 898 + 899 + 900 + void glGetLightiv (GLenum light, GLenum pname, GLint *params) { 901 + if (verbose) puts("STUB: OpenGL called"); 902 + } 903 + 904 + 905 + void glGetMapdv (GLenum target, GLenum query, GLdouble *v) { 906 + if (verbose) puts("STUB: OpenGL called"); 907 + } 908 + 909 + 910 + void glGetMapfv (GLenum target, GLenum query, GLfloat *v) { 911 + if (verbose) puts("STUB: OpenGL called"); 912 + } 913 + 914 + 915 + void glGetMapiv (GLenum target, GLenum query, GLint *v) { 916 + if (verbose) puts("STUB: OpenGL called"); 917 + } 918 + 919 + 920 + void glGetMaterialfv (GLenum face, GLenum pname, GLfloat *params) { 921 + if (verbose) puts("STUB: OpenGL called"); 922 + } 923 + 924 + 925 + void glGetMaterialiv (GLenum face, GLenum pname, GLint *params) { 926 + if (verbose) puts("STUB: OpenGL called"); 927 + } 928 + 929 + 930 + void glGetMinmax (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values) { 931 + if (verbose) puts("STUB: OpenGL called"); 932 + } 933 + 934 + 935 + void glGetMinmaxParameterfv (GLenum target, GLenum pname, GLfloat *params) { 936 + if (verbose) puts("STUB: OpenGL called"); 937 + } 938 + 939 + 940 + void glGetMinmaxParameteriv (GLenum target, GLenum pname, GLint *params) { 941 + if (verbose) puts("STUB: OpenGL called"); 942 + } 943 + 944 + 945 + void glGetPixelMapfv (GLenum map, GLfloat *values) { 946 + if (verbose) puts("STUB: OpenGL called"); 947 + } 948 + 949 + 950 + void glGetPixelMapuiv (GLenum map, GLuint *values) { 951 + if (verbose) puts("STUB: OpenGL called"); 952 + } 953 + 954 + 955 + void glGetPixelMapusv (GLenum map, GLushort *values) { 956 + if (verbose) puts("STUB: OpenGL called"); 957 + } 958 + 959 + 960 + void glGetPointerv (GLenum pname, GLvoid **params) { 961 + if (verbose) puts("STUB: OpenGL called"); 962 + } 963 + 964 + 965 + void glGetPolygonStipple (GLubyte *mask) { 966 + if (verbose) puts("STUB: OpenGL called"); 967 + } 968 + 969 + 970 + void glGetSeparableFilter (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span) { 971 + if (verbose) puts("STUB: OpenGL called"); 972 + } 973 + 974 + 975 + const GLubyte *glGetString (GLenum name) { 976 + if (verbose) puts("STUB: OpenGL called"); 977 + } 978 + 979 + 980 + void glGetTexEnvfv (GLenum target, GLenum pname, GLfloat *params) { 981 + if (verbose) puts("STUB: OpenGL called"); 982 + } 983 + 984 + 985 + void glGetTexEnviv (GLenum target, GLenum pname, GLint *params) { 986 + if (verbose) puts("STUB: OpenGL called"); 987 + } 988 + 989 + 990 + void glGetTexGendv (GLenum coord, GLenum pname, GLdouble *params) { 991 + if (verbose) puts("STUB: OpenGL called"); 992 + } 993 + 994 + 995 + void glGetTexGenfv (GLenum coord, GLenum pname, GLfloat *params) { 996 + if (verbose) puts("STUB: OpenGL called"); 997 + } 998 + 999 + 1000 + void glGetTexGeniv (GLenum coord, GLenum pname, GLint *params) { 1001 + if (verbose) puts("STUB: OpenGL called"); 1002 + } 1003 + 1004 + 1005 + void glGetTexImage (GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels) { 1006 + if (verbose) puts("STUB: OpenGL called"); 1007 + } 1008 + 1009 + 1010 + void glGetTexLevelParameterfv (GLenum target, GLint level, GLenum pname, GLfloat *params) { 1011 + if (verbose) puts("STUB: OpenGL called"); 1012 + } 1013 + 1014 + 1015 + void glGetTexLevelParameteriv (GLenum target, GLint level, GLenum pname, GLint *params) { 1016 + if (verbose) puts("STUB: OpenGL called"); 1017 + } 1018 + 1019 + 1020 + void glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params) { 1021 + if (verbose) puts("STUB: OpenGL called"); 1022 + } 1023 + 1024 + 1025 + void glGetTexParameteriv (GLenum target, GLenum pname, GLint *params) { 1026 + if (verbose) puts("STUB: OpenGL called"); 1027 + } 1028 + 1029 + 1030 + void glHint (GLenum target, GLenum mode) { 1031 + if (verbose) puts("STUB: OpenGL called"); 1032 + } 1033 + 1034 + 1035 + void glHistogram (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink) { 1036 + if (verbose) puts("STUB: OpenGL called"); 1037 + } 1038 + 1039 + 1040 + void glIndexMask (GLuint mask) { 1041 + if (verbose) puts("STUB: OpenGL called"); 1042 + } 1043 + 1044 + 1045 + void glIndexPointer (GLenum type, GLsizei stride, const GLvoid *pointer) { 1046 + if (verbose) puts("STUB: OpenGL called"); 1047 + } 1048 + 1049 + 1050 + void glIndexd (GLdouble c) { 1051 + if (verbose) puts("STUB: OpenGL called"); 1052 + } 1053 + 1054 + 1055 + void glIndexdv (const GLdouble *c) { 1056 + if (verbose) puts("STUB: OpenGL called"); 1057 + } 1058 + 1059 + 1060 + void glIndexf (GLfloat c) { 1061 + if (verbose) puts("STUB: OpenGL called"); 1062 + } 1063 + 1064 + 1065 + void glIndexfv (const GLfloat *c) { 1066 + if (verbose) puts("STUB: OpenGL called"); 1067 + } 1068 + 1069 + 1070 + void glIndexi (GLint c) { 1071 + if (verbose) puts("STUB: OpenGL called"); 1072 + } 1073 + 1074 + 1075 + void glIndexiv (const GLint *c) { 1076 + if (verbose) puts("STUB: OpenGL called"); 1077 + } 1078 + 1079 + 1080 + void glIndexs (GLshort c) { 1081 + if (verbose) puts("STUB: OpenGL called"); 1082 + } 1083 + 1084 + 1085 + void glIndexsv (const GLshort *c) { 1086 + if (verbose) puts("STUB: OpenGL called"); 1087 + } 1088 + 1089 + 1090 + void glIndexub (GLubyte c) { 1091 + if (verbose) puts("STUB: OpenGL called"); 1092 + } 1093 + 1094 + 1095 + void glIndexubv (const GLubyte *c) { 1096 + if (verbose) puts("STUB: OpenGL called"); 1097 + } 1098 + 1099 + 1100 + void glInitNames (void) { 1101 + if (verbose) puts("STUB: OpenGL called"); 1102 + } 1103 + 1104 + 1105 + void glInterleavedArrays (GLenum format, GLsizei stride, const GLvoid *pointer) { 1106 + if (verbose) puts("STUB: OpenGL called"); 1107 + } 1108 + 1109 + 1110 + GLboolean glIsEnabled (GLenum cap) { 1111 + if (verbose) puts("STUB: OpenGL called"); 1112 + } 1113 + 1114 + 1115 + GLboolean glIsList (GLuint list) { 1116 + if (verbose) puts("STUB: OpenGL called"); 1117 + } 1118 + 1119 + 1120 + GLboolean glIsTexture (GLuint texture) { 1121 + if (verbose) puts("STUB: OpenGL called"); 1122 + } 1123 + 1124 + 1125 + void glLightModelf (GLenum pname, GLfloat param) { 1126 + if (verbose) puts("STUB: OpenGL called"); 1127 + } 1128 + 1129 + 1130 + void glLightModelfv (GLenum pname, const GLfloat *params) { 1131 + if (verbose) puts("STUB: OpenGL called"); 1132 + } 1133 + 1134 + 1135 + void glLightModeli (GLenum pname, GLint param) { 1136 + if (verbose) puts("STUB: OpenGL called"); 1137 + } 1138 + 1139 + 1140 + void glLightModeliv (GLenum pname, const GLint *params) { 1141 + if (verbose) puts("STUB: OpenGL called"); 1142 + } 1143 + 1144 + 1145 + void glLightf (GLenum light, GLenum pname, GLfloat param) { 1146 + if (verbose) puts("STUB: OpenGL called"); 1147 + } 1148 + 1149 + 1150 + void glLightfv (GLenum light, GLenum pname, const GLfloat *params) { 1151 + if (verbose) puts("STUB: OpenGL called"); 1152 + } 1153 + 1154 + 1155 + void glLighti (GLenum light, GLenum pname, GLint param) { 1156 + if (verbose) puts("STUB: OpenGL called"); 1157 + } 1158 + 1159 + 1160 + void glLightiv (GLenum light, GLenum pname, const GLint *params) { 1161 + if (verbose) puts("STUB: OpenGL called"); 1162 + } 1163 + 1164 + 1165 + void glLineStipple (GLint factor, GLushort pattern) { 1166 + if (verbose) puts("STUB: OpenGL called"); 1167 + } 1168 + 1169 + 1170 + void glLineWidth (GLfloat width) { 1171 + if (verbose) puts("STUB: OpenGL called"); 1172 + } 1173 + 1174 + 1175 + void glListBase (GLuint base) { 1176 + if (verbose) puts("STUB: OpenGL called"); 1177 + } 1178 + 1179 + 1180 + void glLoadIdentity (void) { 1181 + if (verbose) puts("STUB: OpenGL called"); 1182 + } 1183 + 1184 + 1185 + void glLoadMatrixd (const GLdouble *m) { 1186 + if (verbose) puts("STUB: OpenGL called"); 1187 + } 1188 + 1189 + 1190 + void glLoadMatrixf (const GLfloat *m) { 1191 + if (verbose) puts("STUB: OpenGL called"); 1192 + } 1193 + 1194 + 1195 + void glLoadName (GLuint name) { 1196 + if (verbose) puts("STUB: OpenGL called"); 1197 + } 1198 + 1199 + 1200 + void glLogicOp (GLenum opcode) { 1201 + if (verbose) puts("STUB: OpenGL called"); 1202 + } 1203 + 1204 + 1205 + void glMap1d (GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points) { 1206 + if (verbose) puts("STUB: OpenGL called"); 1207 + } 1208 + 1209 + 1210 + void glMap1f (GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points) { 1211 + if (verbose) puts("STUB: OpenGL called"); 1212 + } 1213 + 1214 + 1215 + void glMap2d (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points) { 1216 + if (verbose) puts("STUB: OpenGL called"); 1217 + } 1218 + 1219 + 1220 + void glMap2f (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points) { 1221 + if (verbose) puts("STUB: OpenGL called"); 1222 + } 1223 + 1224 + 1225 + void glMapGrid1d (GLint un, GLdouble u1, GLdouble u2) { 1226 + if (verbose) puts("STUB: OpenGL called"); 1227 + } 1228 + 1229 + 1230 + void glMapGrid1f (GLint un, GLfloat u1, GLfloat u2) { 1231 + if (verbose) puts("STUB: OpenGL called"); 1232 + } 1233 + 1234 + 1235 + void glMapGrid2d (GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2) { 1236 + if (verbose) puts("STUB: OpenGL called"); 1237 + } 1238 + 1239 + 1240 + void glMapGrid2f (GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2) { 1241 + if (verbose) puts("STUB: OpenGL called"); 1242 + } 1243 + 1244 + 1245 + void glMaterialf (GLenum face, GLenum pname, GLfloat param) { 1246 + if (verbose) puts("STUB: OpenGL called"); 1247 + } 1248 + 1249 + 1250 + void glMaterialfv (GLenum face, GLenum pname, const GLfloat *params) { 1251 + if (verbose) puts("STUB: OpenGL called"); 1252 + } 1253 + 1254 + 1255 + void glMateriali (GLenum face, GLenum pname, GLint param) { 1256 + if (verbose) puts("STUB: OpenGL called"); 1257 + } 1258 + 1259 + 1260 + void glMaterialiv (GLenum face, GLenum pname, const GLint *params) { 1261 + if (verbose) puts("STUB: OpenGL called"); 1262 + } 1263 + 1264 + 1265 + void glMatrixMode (GLenum mode) { 1266 + if (verbose) puts("STUB: OpenGL called"); 1267 + } 1268 + 1269 + 1270 + void glMinmax (GLenum target, GLenum internalformat, GLboolean sink) { 1271 + if (verbose) puts("STUB: OpenGL called"); 1272 + } 1273 + 1274 + 1275 + void glMultMatrixd (const GLdouble *m) { 1276 + if (verbose) puts("STUB: OpenGL called"); 1277 + } 1278 + 1279 + 1280 + void glMultMatrixf (const GLfloat *m) { 1281 + if (verbose) puts("STUB: OpenGL called"); 1282 + } 1283 + 1284 + 1285 + void glNewList (GLuint list, GLenum mode) { 1286 + if (verbose) puts("STUB: OpenGL called"); 1287 + } 1288 + 1289 + 1290 + void glNormal3b (GLbyte nx, GLbyte ny, GLbyte nz) { 1291 + if (verbose) puts("STUB: OpenGL called"); 1292 + } 1293 + 1294 + 1295 + void glNormal3bv (const GLbyte *v) { 1296 + if (verbose) puts("STUB: OpenGL called"); 1297 + } 1298 + 1299 + 1300 + void glNormal3d (GLdouble nx, GLdouble ny, GLdouble nz) { 1301 + if (verbose) puts("STUB: OpenGL called"); 1302 + } 1303 + 1304 + 1305 + void glNormal3dv (const GLdouble *v) { 1306 + if (verbose) puts("STUB: OpenGL called"); 1307 + } 1308 + 1309 + 1310 + void glNormal3f (GLfloat nx, GLfloat ny, GLfloat nz) { 1311 + if (verbose) puts("STUB: OpenGL called"); 1312 + } 1313 + 1314 + 1315 + void glNormal3fv (const GLfloat *v) { 1316 + if (verbose) puts("STUB: OpenGL called"); 1317 + } 1318 + 1319 + 1320 + void glNormal3i (GLint nx, GLint ny, GLint nz) { 1321 + if (verbose) puts("STUB: OpenGL called"); 1322 + } 1323 + 1324 + 1325 + void glNormal3iv (const GLint *v) { 1326 + if (verbose) puts("STUB: OpenGL called"); 1327 + } 1328 + 1329 + 1330 + void glNormal3s (GLshort nx, GLshort ny, GLshort nz) { 1331 + if (verbose) puts("STUB: OpenGL called"); 1332 + } 1333 + 1334 + 1335 + void glNormal3sv (const GLshort *v) { 1336 + if (verbose) puts("STUB: OpenGL called"); 1337 + } 1338 + 1339 + 1340 + void glNormalPointer (GLenum type, GLsizei stride, const GLvoid *pointer) { 1341 + if (verbose) puts("STUB: OpenGL called"); 1342 + } 1343 + 1344 + 1345 + void glOrtho (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar) { 1346 + if (verbose) puts("STUB: OpenGL called"); 1347 + } 1348 + 1349 + 1350 + void glPassThrough (GLfloat token) { 1351 + if (verbose) puts("STUB: OpenGL called"); 1352 + } 1353 + 1354 + 1355 + void glPixelMapfv (GLenum map, GLint mapsize, const GLfloat *values) { 1356 + if (verbose) puts("STUB: OpenGL called"); 1357 + } 1358 + 1359 + 1360 + void glPixelMapuiv (GLenum map, GLint mapsize, const GLuint *values) { 1361 + if (verbose) puts("STUB: OpenGL called"); 1362 + } 1363 + 1364 + 1365 + void glPixelMapusv (GLenum map, GLint mapsize, const GLushort *values) { 1366 + if (verbose) puts("STUB: OpenGL called"); 1367 + } 1368 + 1369 + 1370 + void glPixelStoref (GLenum pname, GLfloat param) { 1371 + if (verbose) puts("STUB: OpenGL called"); 1372 + } 1373 + 1374 + 1375 + void glPixelStorei (GLenum pname, GLint param) { 1376 + if (verbose) puts("STUB: OpenGL called"); 1377 + } 1378 + 1379 + 1380 + void glPixelTransferf (GLenum pname, GLfloat param) { 1381 + if (verbose) puts("STUB: OpenGL called"); 1382 + } 1383 + 1384 + 1385 + void glPixelTransferi (GLenum pname, GLint param) { 1386 + if (verbose) puts("STUB: OpenGL called"); 1387 + } 1388 + 1389 + 1390 + void glPixelZoom (GLfloat xfactor, GLfloat yfactor) { 1391 + if (verbose) puts("STUB: OpenGL called"); 1392 + } 1393 + 1394 + 1395 + void glPointSize (GLfloat size) { 1396 + if (verbose) puts("STUB: OpenGL called"); 1397 + } 1398 + 1399 + 1400 + void glPolygonMode (GLenum face, GLenum mode) { 1401 + if (verbose) puts("STUB: OpenGL called"); 1402 + } 1403 + 1404 + 1405 + void glPolygonOffset (GLfloat factor, GLfloat units) { 1406 + if (verbose) puts("STUB: OpenGL called"); 1407 + } 1408 + 1409 + 1410 + void glPolygonStipple (const GLubyte *mask) { 1411 + if (verbose) puts("STUB: OpenGL called"); 1412 + } 1413 + 1414 + 1415 + void glPopAttrib (void) { 1416 + if (verbose) puts("STUB: OpenGL called"); 1417 + } 1418 + 1419 + 1420 + void glPopClientAttrib (void) { 1421 + if (verbose) puts("STUB: OpenGL called"); 1422 + } 1423 + 1424 + 1425 + void glPopMatrix (void) { 1426 + if (verbose) puts("STUB: OpenGL called"); 1427 + } 1428 + 1429 + 1430 + void glPopName (void) { 1431 + if (verbose) puts("STUB: OpenGL called"); 1432 + } 1433 + 1434 + 1435 + void glPrioritizeTextures (GLsizei n, const GLuint *textures, const GLclampf *priorities) { 1436 + if (verbose) puts("STUB: OpenGL called"); 1437 + } 1438 + 1439 + 1440 + void glPushAttrib (GLbitfield mask) { 1441 + if (verbose) puts("STUB: OpenGL called"); 1442 + } 1443 + 1444 + 1445 + void glPushClientAttrib (GLbitfield mask) { 1446 + if (verbose) puts("STUB: OpenGL called"); 1447 + } 1448 + 1449 + 1450 + void glPushMatrix (void) { 1451 + if (verbose) puts("STUB: OpenGL called"); 1452 + } 1453 + 1454 + 1455 + void glPushName (GLuint name) { 1456 + if (verbose) puts("STUB: OpenGL called"); 1457 + } 1458 + 1459 + 1460 + void glRasterPos2d (GLdouble x, GLdouble y) { 1461 + if (verbose) puts("STUB: OpenGL called"); 1462 + } 1463 + 1464 + 1465 + void glRasterPos2dv (const GLdouble *v) { 1466 + if (verbose) puts("STUB: OpenGL called"); 1467 + } 1468 + 1469 + 1470 + void glRasterPos2f (GLfloat x, GLfloat y) { 1471 + if (verbose) puts("STUB: OpenGL called"); 1472 + } 1473 + 1474 + 1475 + void glRasterPos2fv (const GLfloat *v) { 1476 + if (verbose) puts("STUB: OpenGL called"); 1477 + } 1478 + 1479 + 1480 + void glRasterPos2i (GLint x, GLint y) { 1481 + if (verbose) puts("STUB: OpenGL called"); 1482 + } 1483 + 1484 + 1485 + void glRasterPos2iv (const GLint *v) { 1486 + if (verbose) puts("STUB: OpenGL called"); 1487 + } 1488 + 1489 + 1490 + void glRasterPos2s (GLshort x, GLshort y) { 1491 + if (verbose) puts("STUB: OpenGL called"); 1492 + } 1493 + 1494 + 1495 + void glRasterPos2sv (const GLshort *v) { 1496 + if (verbose) puts("STUB: OpenGL called"); 1497 + } 1498 + 1499 + 1500 + void glRasterPos3d (GLdouble x, GLdouble y, GLdouble z) { 1501 + if (verbose) puts("STUB: OpenGL called"); 1502 + } 1503 + 1504 + 1505 + void glRasterPos3dv (const GLdouble *v) { 1506 + if (verbose) puts("STUB: OpenGL called"); 1507 + } 1508 + 1509 + 1510 + void glRasterPos3f (GLfloat x, GLfloat y, GLfloat z) { 1511 + if (verbose) puts("STUB: OpenGL called"); 1512 + } 1513 + 1514 + 1515 + void glRasterPos3fv (const GLfloat *v) { 1516 + if (verbose) puts("STUB: OpenGL called"); 1517 + } 1518 + 1519 + 1520 + void glRasterPos3i (GLint x, GLint y, GLint z) { 1521 + if (verbose) puts("STUB: OpenGL called"); 1522 + } 1523 + 1524 + 1525 + void glRasterPos3iv (const GLint *v) { 1526 + if (verbose) puts("STUB: OpenGL called"); 1527 + } 1528 + 1529 + 1530 + void glRasterPos3s (GLshort x, GLshort y, GLshort z) { 1531 + if (verbose) puts("STUB: OpenGL called"); 1532 + } 1533 + 1534 + 1535 + void glRasterPos3sv (const GLshort *v) { 1536 + if (verbose) puts("STUB: OpenGL called"); 1537 + } 1538 + 1539 + 1540 + void glRasterPos4d (GLdouble x, GLdouble y, GLdouble z, GLdouble w) { 1541 + if (verbose) puts("STUB: OpenGL called"); 1542 + } 1543 + 1544 + 1545 + void glRasterPos4dv (const GLdouble *v) { 1546 + if (verbose) puts("STUB: OpenGL called"); 1547 + } 1548 + 1549 + 1550 + void glRasterPos4f (GLfloat x, GLfloat y, GLfloat z, GLfloat w) { 1551 + if (verbose) puts("STUB: OpenGL called"); 1552 + } 1553 + 1554 + 1555 + void glRasterPos4fv (const GLfloat *v) { 1556 + if (verbose) puts("STUB: OpenGL called"); 1557 + } 1558 + 1559 + 1560 + void glRasterPos4i (GLint x, GLint y, GLint z, GLint w) { 1561 + if (verbose) puts("STUB: OpenGL called"); 1562 + } 1563 + 1564 + 1565 + void glRasterPos4iv (const GLint *v) { 1566 + if (verbose) puts("STUB: OpenGL called"); 1567 + } 1568 + 1569 + 1570 + void glRasterPos4s (GLshort x, GLshort y, GLshort z, GLshort w) { 1571 + if (verbose) puts("STUB: OpenGL called"); 1572 + } 1573 + 1574 + 1575 + void glRasterPos4sv (const GLshort *v) { 1576 + if (verbose) puts("STUB: OpenGL called"); 1577 + } 1578 + 1579 + 1580 + void glReadBuffer (GLenum mode) { 1581 + if (verbose) puts("STUB: OpenGL called"); 1582 + } 1583 + 1584 + 1585 + void glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels) { 1586 + if (verbose) puts("STUB: OpenGL called"); 1587 + } 1588 + 1589 + 1590 + void glRectd (GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2) { 1591 + if (verbose) puts("STUB: OpenGL called"); 1592 + } 1593 + 1594 + 1595 + void glRectdv (const GLdouble *v1, const GLdouble *v2) { 1596 + if (verbose) puts("STUB: OpenGL called"); 1597 + } 1598 + 1599 + 1600 + void glRectf (GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2) { 1601 + if (verbose) puts("STUB: OpenGL called"); 1602 + } 1603 + 1604 + 1605 + void glRectfv (const GLfloat *v1, const GLfloat *v2) { 1606 + if (verbose) puts("STUB: OpenGL called"); 1607 + } 1608 + 1609 + 1610 + void glRecti (GLint x1, GLint y1, GLint x2, GLint y2) { 1611 + if (verbose) puts("STUB: OpenGL called"); 1612 + } 1613 + 1614 + 1615 + void glRectiv (const GLint *v1, const GLint *v2) { 1616 + if (verbose) puts("STUB: OpenGL called"); 1617 + } 1618 + 1619 + 1620 + void glRects (GLshort x1, GLshort y1, GLshort x2, GLshort y2) { 1621 + if (verbose) puts("STUB: OpenGL called"); 1622 + } 1623 + 1624 + 1625 + void glRectsv (const GLshort *v1, const GLshort *v2) { 1626 + if (verbose) puts("STUB: OpenGL called"); 1627 + } 1628 + 1629 + 1630 + GLint glRenderMode (GLenum mode) { 1631 + if (verbose) puts("STUB: OpenGL called"); 1632 + } 1633 + 1634 + 1635 + void glResetHistogram (GLenum target) { 1636 + if (verbose) puts("STUB: OpenGL called"); 1637 + } 1638 + 1639 + 1640 + void glResetMinmax (GLenum target) { 1641 + if (verbose) puts("STUB: OpenGL called"); 1642 + } 1643 + 1644 + 1645 + void glRotated (GLdouble angle, GLdouble x, GLdouble y, GLdouble z) { 1646 + if (verbose) puts("STUB: OpenGL called"); 1647 + } 1648 + 1649 + 1650 + void glRotatef (GLfloat angle, GLfloat x, GLfloat y, GLfloat z) { 1651 + if (verbose) puts("STUB: OpenGL called"); 1652 + } 1653 + 1654 + 1655 + void glScaled (GLdouble x, GLdouble y, GLdouble z) { 1656 + if (verbose) puts("STUB: OpenGL called"); 1657 + } 1658 + 1659 + 1660 + void glScalef (GLfloat x, GLfloat y, GLfloat z) { 1661 + if (verbose) puts("STUB: OpenGL called"); 1662 + } 1663 + 1664 + 1665 + void glScissor (GLint x, GLint y, GLsizei width, GLsizei height) { 1666 + if (verbose) puts("STUB: OpenGL called"); 1667 + } 1668 + 1669 + 1670 + void glSelectBuffer (GLsizei size, GLuint *buffer) { 1671 + if (verbose) puts("STUB: OpenGL called"); 1672 + } 1673 + 1674 + 1675 + void glSeparableFilter2D (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column) { 1676 + if (verbose) puts("STUB: OpenGL called"); 1677 + } 1678 + 1679 + 1680 + void glShadeModel (GLenum mode) { 1681 + if (verbose) puts("STUB: OpenGL called"); 1682 + } 1683 + 1684 + 1685 + void glStencilFunc (GLenum func, GLint ref, GLuint mask) { 1686 + if (verbose) puts("STUB: OpenGL called"); 1687 + } 1688 + 1689 + 1690 + void glStencilMask (GLuint mask) { 1691 + if (verbose) puts("STUB: OpenGL called"); 1692 + } 1693 + 1694 + 1695 + void glStencilOp (GLenum fail, GLenum zfail, GLenum zpass) { 1696 + if (verbose) puts("STUB: OpenGL called"); 1697 + } 1698 + 1699 + 1700 + void glTexCoord1d (GLdouble s) { 1701 + if (verbose) puts("STUB: OpenGL called"); 1702 + } 1703 + 1704 + 1705 + void glTexCoord1dv (const GLdouble *v) { 1706 + if (verbose) puts("STUB: OpenGL called"); 1707 + } 1708 + 1709 + 1710 + void glTexCoord1f (GLfloat s) { 1711 + if (verbose) puts("STUB: OpenGL called"); 1712 + } 1713 + 1714 + 1715 + void glTexCoord1fv (const GLfloat *v) { 1716 + if (verbose) puts("STUB: OpenGL called"); 1717 + } 1718 + 1719 + 1720 + void glTexCoord1i (GLint s) { 1721 + if (verbose) puts("STUB: OpenGL called"); 1722 + } 1723 + 1724 + 1725 + void glTexCoord1iv (const GLint *v) { 1726 + if (verbose) puts("STUB: OpenGL called"); 1727 + } 1728 + 1729 + 1730 + void glTexCoord1s (GLshort s) { 1731 + if (verbose) puts("STUB: OpenGL called"); 1732 + } 1733 + 1734 + 1735 + void glTexCoord1sv (const GLshort *v) { 1736 + if (verbose) puts("STUB: OpenGL called"); 1737 + } 1738 + 1739 + 1740 + void glTexCoord2d (GLdouble s, GLdouble t) { 1741 + if (verbose) puts("STUB: OpenGL called"); 1742 + } 1743 + 1744 + 1745 + void glTexCoord2dv (const GLdouble *v) { 1746 + if (verbose) puts("STUB: OpenGL called"); 1747 + } 1748 + 1749 + 1750 + void glTexCoord2f (GLfloat s, GLfloat t) { 1751 + if (verbose) puts("STUB: OpenGL called"); 1752 + } 1753 + 1754 + 1755 + void glTexCoord2fv (const GLfloat *v) { 1756 + if (verbose) puts("STUB: OpenGL called"); 1757 + } 1758 + 1759 + 1760 + void glTexCoord2i (GLint s, GLint t) { 1761 + if (verbose) puts("STUB: OpenGL called"); 1762 + } 1763 + 1764 + 1765 + void glTexCoord2iv (const GLint *v) { 1766 + if (verbose) puts("STUB: OpenGL called"); 1767 + } 1768 + 1769 + 1770 + void glTexCoord2s (GLshort s, GLshort t) { 1771 + if (verbose) puts("STUB: OpenGL called"); 1772 + } 1773 + 1774 + 1775 + void glTexCoord2sv (const GLshort *v) { 1776 + if (verbose) puts("STUB: OpenGL called"); 1777 + } 1778 + 1779 + 1780 + void glTexCoord3d (GLdouble s, GLdouble t, GLdouble r) { 1781 + if (verbose) puts("STUB: OpenGL called"); 1782 + } 1783 + 1784 + 1785 + void glTexCoord3dv (const GLdouble *v) { 1786 + if (verbose) puts("STUB: OpenGL called"); 1787 + } 1788 + 1789 + 1790 + void glTexCoord3f (GLfloat s, GLfloat t, GLfloat r) { 1791 + if (verbose) puts("STUB: OpenGL called"); 1792 + } 1793 + 1794 + 1795 + void glTexCoord3fv (const GLfloat *v) { 1796 + if (verbose) puts("STUB: OpenGL called"); 1797 + } 1798 + 1799 + 1800 + void glTexCoord3i (GLint s, GLint t, GLint r) { 1801 + if (verbose) puts("STUB: OpenGL called"); 1802 + } 1803 + 1804 + 1805 + void glTexCoord3iv (const GLint *v) { 1806 + if (verbose) puts("STUB: OpenGL called"); 1807 + } 1808 + 1809 + 1810 + void glTexCoord3s (GLshort s, GLshort t, GLshort r) { 1811 + if (verbose) puts("STUB: OpenGL called"); 1812 + } 1813 + 1814 + 1815 + void glTexCoord3sv (const GLshort *v) { 1816 + if (verbose) puts("STUB: OpenGL called"); 1817 + } 1818 + 1819 + 1820 + void glTexCoord4d (GLdouble s, GLdouble t, GLdouble r, GLdouble q) { 1821 + if (verbose) puts("STUB: OpenGL called"); 1822 + } 1823 + 1824 + 1825 + void glTexCoord4dv (const GLdouble *v) { 1826 + if (verbose) puts("STUB: OpenGL called"); 1827 + } 1828 + 1829 + 1830 + void glTexCoord4f (GLfloat s, GLfloat t, GLfloat r, GLfloat q) { 1831 + if (verbose) puts("STUB: OpenGL called"); 1832 + } 1833 + 1834 + 1835 + void glTexCoord4fv (const GLfloat *v) { 1836 + if (verbose) puts("STUB: OpenGL called"); 1837 + } 1838 + 1839 + 1840 + void glTexCoord4i (GLint s, GLint t, GLint r, GLint q) { 1841 + if (verbose) puts("STUB: OpenGL called"); 1842 + } 1843 + 1844 + 1845 + void glTexCoord4iv (const GLint *v) { 1846 + if (verbose) puts("STUB: OpenGL called"); 1847 + } 1848 + 1849 + 1850 + void glTexCoord4s (GLshort s, GLshort t, GLshort r, GLshort q) { 1851 + if (verbose) puts("STUB: OpenGL called"); 1852 + } 1853 + 1854 + 1855 + void glTexCoord4sv (const GLshort *v) { 1856 + if (verbose) puts("STUB: OpenGL called"); 1857 + } 1858 + 1859 + 1860 + void glTexCoordPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) { 1861 + if (verbose) puts("STUB: OpenGL called"); 1862 + } 1863 + 1864 + 1865 + void glTexEnvf (GLenum target, GLenum pname, GLfloat param) { 1866 + if (verbose) puts("STUB: OpenGL called"); 1867 + } 1868 + 1869 + 1870 + void glTexEnvfv (GLenum target, GLenum pname, const GLfloat *params) { 1871 + if (verbose) puts("STUB: OpenGL called"); 1872 + } 1873 + 1874 + 1875 + void glTexEnvi (GLenum target, GLenum pname, GLint param) { 1876 + if (verbose) puts("STUB: OpenGL called"); 1877 + } 1878 + 1879 + 1880 + void glTexEnviv (GLenum target, GLenum pname, const GLint *params) { 1881 + if (verbose) puts("STUB: OpenGL called"); 1882 + } 1883 + 1884 + 1885 + void glTexGend (GLenum coord, GLenum pname, GLdouble param) { 1886 + if (verbose) puts("STUB: OpenGL called"); 1887 + } 1888 + 1889 + 1890 + void glTexGendv (GLenum coord, GLenum pname, const GLdouble *params) { 1891 + if (verbose) puts("STUB: OpenGL called"); 1892 + } 1893 + 1894 + 1895 + void glTexGenf (GLenum coord, GLenum pname, GLfloat param) { 1896 + if (verbose) puts("STUB: OpenGL called"); 1897 + } 1898 + 1899 + 1900 + void glTexGenfv (GLenum coord, GLenum pname, const GLfloat *params) { 1901 + if (verbose) puts("STUB: OpenGL called"); 1902 + } 1903 + 1904 + 1905 + void glTexGeni (GLenum coord, GLenum pname, GLint param) { 1906 + if (verbose) puts("STUB: OpenGL called"); 1907 + } 1908 + 1909 + 1910 + void glTexGeniv (GLenum coord, GLenum pname, const GLint *params) { 1911 + if (verbose) puts("STUB: OpenGL called"); 1912 + } 1913 + 1914 + 1915 + void glTexImage1D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels) { 1916 + if (verbose) puts("STUB: OpenGL called"); 1917 + } 1918 + 1919 + 1920 + void glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels) { 1921 + if (verbose) puts("STUB: OpenGL called"); 1922 + } 1923 + 1924 + 1925 + void glTexImage3D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels) { 1926 + if (verbose) puts("STUB: OpenGL called"); 1927 + } 1928 + 1929 + 1930 + void glTexParameterf (GLenum target, GLenum pname, GLfloat param) { 1931 + if (verbose) puts("STUB: OpenGL called"); 1932 + } 1933 + 1934 + 1935 + void glTexParameterfv (GLenum target, GLenum pname, const GLfloat *params) { 1936 + if (verbose) puts("STUB: OpenGL called"); 1937 + } 1938 + 1939 + 1940 + void glTexParameteri (GLenum target, GLenum pname, GLint param) { 1941 + if (verbose) puts("STUB: OpenGL called"); 1942 + } 1943 + 1944 + 1945 + void glTexParameteriv (GLenum target, GLenum pname, const GLint *params) { 1946 + if (verbose) puts("STUB: OpenGL called"); 1947 + } 1948 + 1949 + 1950 + void glTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels) { 1951 + if (verbose) puts("STUB: OpenGL called"); 1952 + } 1953 + 1954 + 1955 + void glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels) { 1956 + if (verbose) puts("STUB: OpenGL called"); 1957 + } 1958 + 1959 + 1960 + void glTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels) { 1961 + if (verbose) puts("STUB: OpenGL called"); 1962 + } 1963 + 1964 + 1965 + void glTranslated (GLdouble x, GLdouble y, GLdouble z) { 1966 + if (verbose) puts("STUB: OpenGL called"); 1967 + } 1968 + 1969 + 1970 + void glTranslatef (GLfloat x, GLfloat y, GLfloat z) { 1971 + if (verbose) puts("STUB: OpenGL called"); 1972 + } 1973 + 1974 + 1975 + void glVertex2d (GLdouble x, GLdouble y) { 1976 + if (verbose) puts("STUB: OpenGL called"); 1977 + } 1978 + 1979 + 1980 + void glVertex2dv (const GLdouble *v) { 1981 + if (verbose) puts("STUB: OpenGL called"); 1982 + } 1983 + 1984 + 1985 + void glVertex2f (GLfloat x, GLfloat y) { 1986 + if (verbose) puts("STUB: OpenGL called"); 1987 + } 1988 + 1989 + 1990 + void glVertex2fv (const GLfloat *v) { 1991 + if (verbose) puts("STUB: OpenGL called"); 1992 + } 1993 + 1994 + 1995 + void glVertex2i (GLint x, GLint y) { 1996 + if (verbose) puts("STUB: OpenGL called"); 1997 + } 1998 + 1999 + 2000 + void glVertex2iv (const GLint *v) { 2001 + if (verbose) puts("STUB: OpenGL called"); 2002 + } 2003 + 2004 + 2005 + void glVertex2s (GLshort x, GLshort y) { 2006 + if (verbose) puts("STUB: OpenGL called"); 2007 + } 2008 + 2009 + 2010 + void glVertex2sv (const GLshort *v) { 2011 + if (verbose) puts("STUB: OpenGL called"); 2012 + } 2013 + 2014 + 2015 + void glVertex3d (GLdouble x, GLdouble y, GLdouble z) { 2016 + if (verbose) puts("STUB: OpenGL called"); 2017 + } 2018 + 2019 + 2020 + void glVertex3dv (const GLdouble *v) { 2021 + if (verbose) puts("STUB: OpenGL called"); 2022 + } 2023 + 2024 + 2025 + void glVertex3f (GLfloat x, GLfloat y, GLfloat z) { 2026 + if (verbose) puts("STUB: OpenGL called"); 2027 + } 2028 + 2029 + 2030 + void glVertex3fv (const GLfloat *v) { 2031 + if (verbose) puts("STUB: OpenGL called"); 2032 + } 2033 + 2034 + 2035 + void glVertex3i (GLint x, GLint y, GLint z) { 2036 + if (verbose) puts("STUB: OpenGL called"); 2037 + } 2038 + 2039 + 2040 + void glVertex3iv (const GLint *v) { 2041 + if (verbose) puts("STUB: OpenGL called"); 2042 + } 2043 + 2044 + 2045 + void glVertex3s (GLshort x, GLshort y, GLshort z) { 2046 + if (verbose) puts("STUB: OpenGL called"); 2047 + } 2048 + 2049 + 2050 + void glVertex3sv (const GLshort *v) { 2051 + if (verbose) puts("STUB: OpenGL called"); 2052 + } 2053 + 2054 + 2055 + void glVertex4d (GLdouble x, GLdouble y, GLdouble z, GLdouble w) { 2056 + if (verbose) puts("STUB: OpenGL called"); 2057 + } 2058 + 2059 + 2060 + void glVertex4dv (const GLdouble *v) { 2061 + if (verbose) puts("STUB: OpenGL called"); 2062 + } 2063 + 2064 + 2065 + void glVertex4f (GLfloat x, GLfloat y, GLfloat z, GLfloat w) { 2066 + if (verbose) puts("STUB: OpenGL called"); 2067 + } 2068 + 2069 + 2070 + void glVertex4fv (const GLfloat *v) { 2071 + if (verbose) puts("STUB: OpenGL called"); 2072 + } 2073 + 2074 + 2075 + void glVertex4i (GLint x, GLint y, GLint z, GLint w) { 2076 + if (verbose) puts("STUB: OpenGL called"); 2077 + } 2078 + 2079 + 2080 + void glVertex4iv (const GLint *v) { 2081 + if (verbose) puts("STUB: OpenGL called"); 2082 + } 2083 + 2084 + 2085 + void glVertex4s (GLshort x, GLshort y, GLshort z, GLshort w) { 2086 + if (verbose) puts("STUB: OpenGL called"); 2087 + } 2088 + 2089 + 2090 + void glVertex4sv (const GLshort *v) { 2091 + if (verbose) puts("STUB: OpenGL called"); 2092 + } 2093 + 2094 + 2095 + void glVertexPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) { 2096 + if (verbose) puts("STUB: OpenGL called"); 2097 + } 2098 + 2099 + 2100 + void glViewport (GLint x, GLint y, GLsizei width, GLsizei height) { 2101 + if (verbose) puts("STUB: OpenGL called"); 2102 + } 2103 + 2104 + 2105 + 2106 + void glSampleCoverage (GLclampf value, GLboolean invert) { 2107 + if (verbose) puts("STUB: OpenGL called"); 2108 + } 2109 + 2110 + 2111 + 2112 + void glLoadTransposeMatrixf (const GLfloat *m) { 2113 + if (verbose) puts("STUB: OpenGL called"); 2114 + } 2115 + 2116 + 2117 + void glLoadTransposeMatrixd (const GLdouble *m) { 2118 + if (verbose) puts("STUB: OpenGL called"); 2119 + } 2120 + 2121 + 2122 + void glMultTransposeMatrixf (const GLfloat *m) { 2123 + if (verbose) puts("STUB: OpenGL called"); 2124 + } 2125 + 2126 + 2127 + void glMultTransposeMatrixd (const GLdouble *m) { 2128 + if (verbose) puts("STUB: OpenGL called"); 2129 + } 2130 + 2131 + 2132 + 2133 + void glCompressedTexImage3D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data) { 2134 + if (verbose) puts("STUB: OpenGL called"); 2135 + } 2136 + 2137 + 2138 + void glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data) { 2139 + if (verbose) puts("STUB: OpenGL called"); 2140 + } 2141 + 2142 + 2143 + void glCompressedTexImage1D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data) { 2144 + if (verbose) puts("STUB: OpenGL called"); 2145 + } 2146 + 2147 + 2148 + void glCompressedTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data) { 2149 + if (verbose) puts("STUB: OpenGL called"); 2150 + } 2151 + 2152 + 2153 + void glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data) { 2154 + if (verbose) puts("STUB: OpenGL called"); 2155 + } 2156 + 2157 + 2158 + void glCompressedTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data) { 2159 + if (verbose) puts("STUB: OpenGL called"); 2160 + } 2161 + 2162 + 2163 + void glGetCompressedTexImage (GLenum target, GLint lod, GLvoid *img) { 2164 + if (verbose) puts("STUB: OpenGL called"); 2165 + } 2166 + 2167 + 2168 + 2169 + void glActiveTexture (GLenum texture) { 2170 + if (verbose) puts("STUB: OpenGL called"); 2171 + } 2172 + 2173 + 2174 + void glClientActiveTexture (GLenum texture) { 2175 + if (verbose) puts("STUB: OpenGL called"); 2176 + } 2177 + 2178 + 2179 + void glMultiTexCoord1d (GLenum target, GLdouble s) { 2180 + if (verbose) puts("STUB: OpenGL called"); 2181 + } 2182 + 2183 + 2184 + void glMultiTexCoord1dv (GLenum target, const GLdouble *v) { 2185 + if (verbose) puts("STUB: OpenGL called"); 2186 + } 2187 + 2188 + 2189 + void glMultiTexCoord1f (GLenum target, GLfloat s) { 2190 + if (verbose) puts("STUB: OpenGL called"); 2191 + } 2192 + 2193 + 2194 + void glMultiTexCoord1fv (GLenum target, const GLfloat *v) { 2195 + if (verbose) puts("STUB: OpenGL called"); 2196 + } 2197 + 2198 + 2199 + void glMultiTexCoord1i (GLenum target, GLint s) { 2200 + if (verbose) puts("STUB: OpenGL called"); 2201 + } 2202 + 2203 + 2204 + void glMultiTexCoord1iv (GLenum target, const GLint *v) { 2205 + if (verbose) puts("STUB: OpenGL called"); 2206 + } 2207 + 2208 + 2209 + void glMultiTexCoord1s (GLenum target, GLshort s) { 2210 + if (verbose) puts("STUB: OpenGL called"); 2211 + } 2212 + 2213 + 2214 + void glMultiTexCoord1sv (GLenum target, const GLshort *v) { 2215 + if (verbose) puts("STUB: OpenGL called"); 2216 + } 2217 + 2218 + 2219 + void glMultiTexCoord2d (GLenum target, GLdouble s, GLdouble t) { 2220 + if (verbose) puts("STUB: OpenGL called"); 2221 + } 2222 + 2223 + 2224 + void glMultiTexCoord2dv (GLenum target, const GLdouble *v) { 2225 + if (verbose) puts("STUB: OpenGL called"); 2226 + } 2227 + 2228 + 2229 + void glMultiTexCoord2f (GLenum target, GLfloat s, GLfloat t) { 2230 + if (verbose) puts("STUB: OpenGL called"); 2231 + } 2232 + 2233 + 2234 + void glMultiTexCoord2fv (GLenum target, const GLfloat *v) { 2235 + if (verbose) puts("STUB: OpenGL called"); 2236 + } 2237 + 2238 + 2239 + void glMultiTexCoord2i (GLenum target, GLint s, GLint t) { 2240 + if (verbose) puts("STUB: OpenGL called"); 2241 + } 2242 + 2243 + 2244 + void glMultiTexCoord2iv (GLenum target, const GLint *v) { 2245 + if (verbose) puts("STUB: OpenGL called"); 2246 + } 2247 + 2248 + 2249 + void glMultiTexCoord2s (GLenum target, GLshort s, GLshort t) { 2250 + if (verbose) puts("STUB: OpenGL called"); 2251 + } 2252 + 2253 + 2254 + void glMultiTexCoord2sv (GLenum target, const GLshort *v) { 2255 + if (verbose) puts("STUB: OpenGL called"); 2256 + } 2257 + 2258 + 2259 + void glMultiTexCoord3d (GLenum target, GLdouble s, GLdouble t, GLdouble r) { 2260 + if (verbose) puts("STUB: OpenGL called"); 2261 + } 2262 + 2263 + 2264 + void glMultiTexCoord3dv (GLenum target, const GLdouble *v) { 2265 + if (verbose) puts("STUB: OpenGL called"); 2266 + } 2267 + 2268 + 2269 + void glMultiTexCoord3f (GLenum target, GLfloat s, GLfloat t, GLfloat r) { 2270 + if (verbose) puts("STUB: OpenGL called"); 2271 + } 2272 + 2273 + 2274 + void glMultiTexCoord3fv (GLenum target, const GLfloat *v) { 2275 + if (verbose) puts("STUB: OpenGL called"); 2276 + } 2277 + 2278 + 2279 + void glMultiTexCoord3i (GLenum target, GLint s, GLint t, GLint r) { 2280 + if (verbose) puts("STUB: OpenGL called"); 2281 + } 2282 + 2283 + 2284 + void glMultiTexCoord3iv (GLenum target, const GLint *v) { 2285 + if (verbose) puts("STUB: OpenGL called"); 2286 + } 2287 + 2288 + 2289 + void glMultiTexCoord3s (GLenum target, GLshort s, GLshort t, GLshort r) { 2290 + if (verbose) puts("STUB: OpenGL called"); 2291 + } 2292 + 2293 + 2294 + void glMultiTexCoord3sv (GLenum target, const GLshort *v) { 2295 + if (verbose) puts("STUB: OpenGL called"); 2296 + } 2297 + 2298 + 2299 + void glMultiTexCoord4d (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q) { 2300 + if (verbose) puts("STUB: OpenGL called"); 2301 + } 2302 + 2303 + 2304 + void glMultiTexCoord4dv (GLenum target, const GLdouble *v) { 2305 + if (verbose) puts("STUB: OpenGL called"); 2306 + } 2307 + 2308 + 2309 + void glMultiTexCoord4f (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) { 2310 + if (verbose) puts("STUB: OpenGL called"); 2311 + } 2312 + 2313 + 2314 + void glMultiTexCoord4fv (GLenum target, const GLfloat *v) { 2315 + if (verbose) puts("STUB: OpenGL called"); 2316 + } 2317 + 2318 + 2319 + void glMultiTexCoord4i (GLenum target, GLint s, GLint t, GLint r, GLint q) { 2320 + if (verbose) puts("STUB: OpenGL called"); 2321 + } 2322 + 2323 + 2324 + void glMultiTexCoord4iv (GLenum target, const GLint *v) { 2325 + if (verbose) puts("STUB: OpenGL called"); 2326 + } 2327 + 2328 + 2329 + void glMultiTexCoord4s (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q) { 2330 + if (verbose) puts("STUB: OpenGL called"); 2331 + } 2332 + 2333 + 2334 + void glMultiTexCoord4sv (GLenum target, const GLshort *v) { 2335 + if (verbose) puts("STUB: OpenGL called"); 2336 + } 2337 + 2338 + 2339 + 2340 + void glFogCoordf (GLfloat coord) { 2341 + if (verbose) puts("STUB: OpenGL called"); 2342 + } 2343 + 2344 + 2345 + void glFogCoordfv (const GLfloat *coord) { 2346 + if (verbose) puts("STUB: OpenGL called"); 2347 + } 2348 + 2349 + 2350 + void glFogCoordd (GLdouble coord) { 2351 + if (verbose) puts("STUB: OpenGL called"); 2352 + } 2353 + 2354 + 2355 + void glFogCoorddv (const GLdouble *coord) { 2356 + if (verbose) puts("STUB: OpenGL called"); 2357 + } 2358 + 2359 + 2360 + void glFogCoordPointer (GLenum type, GLsizei stride, const GLvoid *pointer) { 2361 + if (verbose) puts("STUB: OpenGL called"); 2362 + } 2363 + 2364 + 2365 + 2366 + void glSecondaryColor3b (GLbyte red, GLbyte green, GLbyte blue) { 2367 + if (verbose) puts("STUB: OpenGL called"); 2368 + } 2369 + 2370 + 2371 + void glSecondaryColor3bv (const GLbyte *v) { 2372 + if (verbose) puts("STUB: OpenGL called"); 2373 + } 2374 + 2375 + 2376 + void glSecondaryColor3d (GLdouble red, GLdouble green, GLdouble blue) { 2377 + if (verbose) puts("STUB: OpenGL called"); 2378 + } 2379 + 2380 + 2381 + void glSecondaryColor3dv (const GLdouble *v) { 2382 + if (verbose) puts("STUB: OpenGL called"); 2383 + } 2384 + 2385 + 2386 + void glSecondaryColor3f (GLfloat red, GLfloat green, GLfloat blue) { 2387 + if (verbose) puts("STUB: OpenGL called"); 2388 + } 2389 + 2390 + 2391 + void glSecondaryColor3fv (const GLfloat *v) { 2392 + if (verbose) puts("STUB: OpenGL called"); 2393 + } 2394 + 2395 + 2396 + void glSecondaryColor3i (GLint red, GLint green, GLint blue) { 2397 + if (verbose) puts("STUB: OpenGL called"); 2398 + } 2399 + 2400 + 2401 + void glSecondaryColor3iv (const GLint *v) { 2402 + if (verbose) puts("STUB: OpenGL called"); 2403 + } 2404 + 2405 + 2406 + void glSecondaryColor3s (GLshort red, GLshort green, GLshort blue) { 2407 + if (verbose) puts("STUB: OpenGL called"); 2408 + } 2409 + 2410 + 2411 + void glSecondaryColor3sv (const GLshort *v) { 2412 + if (verbose) puts("STUB: OpenGL called"); 2413 + } 2414 + 2415 + 2416 + void glSecondaryColor3ub (GLubyte red, GLubyte green, GLubyte blue) { 2417 + if (verbose) puts("STUB: OpenGL called"); 2418 + } 2419 + 2420 + 2421 + void glSecondaryColor3ubv (const GLubyte *v) { 2422 + if (verbose) puts("STUB: OpenGL called"); 2423 + } 2424 + 2425 + 2426 + void glSecondaryColor3ui (GLuint red, GLuint green, GLuint blue) { 2427 + if (verbose) puts("STUB: OpenGL called"); 2428 + } 2429 + 2430 + 2431 + void glSecondaryColor3uiv (const GLuint *v) { 2432 + if (verbose) puts("STUB: OpenGL called"); 2433 + } 2434 + 2435 + 2436 + void glSecondaryColor3us (GLushort red, GLushort green, GLushort blue) { 2437 + if (verbose) puts("STUB: OpenGL called"); 2438 + } 2439 + 2440 + 2441 + void glSecondaryColor3usv (const GLushort *v) { 2442 + if (verbose) puts("STUB: OpenGL called"); 2443 + } 2444 + 2445 + 2446 + void glSecondaryColorPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) { 2447 + if (verbose) puts("STUB: OpenGL called"); 2448 + } 2449 + 2450 + 2451 + 2452 + void glPointParameterf (GLenum pname, GLfloat param) { 2453 + if (verbose) puts("STUB: OpenGL called"); 2454 + } 2455 + 2456 + 2457 + void glPointParameterfv (GLenum pname, const GLfloat *params) { 2458 + if (verbose) puts("STUB: OpenGL called"); 2459 + } 2460 + 2461 + 2462 + void glPointParameteri (GLenum pname, GLint param) { 2463 + if (verbose) puts("STUB: OpenGL called"); 2464 + } 2465 + 2466 + 2467 + void glPointParameteriv (GLenum pname, const GLint *params) { 2468 + if (verbose) puts("STUB: OpenGL called"); 2469 + } 2470 + 2471 + 2472 + 2473 + void glBlendFuncSeparate (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) { 2474 + if (verbose) puts("STUB: OpenGL called"); 2475 + } 2476 + 2477 + 2478 + 2479 + void glMultiDrawArrays (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount) { 2480 + if (verbose) puts("STUB: OpenGL called"); 2481 + } 2482 + 2483 + 2484 + void glMultiDrawElements (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei primcount) { 2485 + if (verbose) puts("STUB: OpenGL called"); 2486 + } 2487 + 2488 + 2489 + 2490 + void glWindowPos2d (GLdouble x, GLdouble y) { 2491 + if (verbose) puts("STUB: OpenGL called"); 2492 + } 2493 + 2494 + 2495 + void glWindowPos2dv (const GLdouble *v) { 2496 + if (verbose) puts("STUB: OpenGL called"); 2497 + } 2498 + 2499 + 2500 + void glWindowPos2f (GLfloat x, GLfloat y) { 2501 + if (verbose) puts("STUB: OpenGL called"); 2502 + } 2503 + 2504 + 2505 + void glWindowPos2fv (const GLfloat *v) { 2506 + if (verbose) puts("STUB: OpenGL called"); 2507 + } 2508 + 2509 + 2510 + void glWindowPos2i (GLint x, GLint y) { 2511 + if (verbose) puts("STUB: OpenGL called"); 2512 + } 2513 + 2514 + 2515 + void glWindowPos2iv (const GLint *v) { 2516 + if (verbose) puts("STUB: OpenGL called"); 2517 + } 2518 + 2519 + 2520 + void glWindowPos2s (GLshort x, GLshort y) { 2521 + if (verbose) puts("STUB: OpenGL called"); 2522 + } 2523 + 2524 + 2525 + void glWindowPos2sv (const GLshort *v) { 2526 + if (verbose) puts("STUB: OpenGL called"); 2527 + } 2528 + 2529 + 2530 + void glWindowPos3d (GLdouble x, GLdouble y, GLdouble z) { 2531 + if (verbose) puts("STUB: OpenGL called"); 2532 + } 2533 + 2534 + 2535 + void glWindowPos3dv (const GLdouble *v) { 2536 + if (verbose) puts("STUB: OpenGL called"); 2537 + } 2538 + 2539 + 2540 + void glWindowPos3f (GLfloat x, GLfloat y, GLfloat z) { 2541 + if (verbose) puts("STUB: OpenGL called"); 2542 + } 2543 + 2544 + 2545 + void glWindowPos3fv (const GLfloat *v) { 2546 + if (verbose) puts("STUB: OpenGL called"); 2547 + } 2548 + 2549 + 2550 + void glWindowPos3i (GLint x, GLint y, GLint z) { 2551 + if (verbose) puts("STUB: OpenGL called"); 2552 + } 2553 + 2554 + 2555 + void glWindowPos3iv (const GLint *v) { 2556 + if (verbose) puts("STUB: OpenGL called"); 2557 + } 2558 + 2559 + 2560 + void glWindowPos3s (GLshort x, GLshort y, GLshort z) { 2561 + if (verbose) puts("STUB: OpenGL called"); 2562 + } 2563 + 2564 + 2565 + void glWindowPos3sv (const GLshort *v) { 2566 + if (verbose) puts("STUB: OpenGL called"); 2567 + } 2568 + 2569 + 2570 + 2571 + void glGenQueries (GLsizei n, GLuint *ids) { 2572 + if (verbose) puts("STUB: OpenGL called"); 2573 + } 2574 + 2575 + 2576 + void glDeleteQueries (GLsizei n, const GLuint *ids) { 2577 + if (verbose) puts("STUB: OpenGL called"); 2578 + } 2579 + 2580 + 2581 + GLboolean glIsQuery (GLuint id) { 2582 + if (verbose) puts("STUB: OpenGL called"); 2583 + } 2584 + 2585 + 2586 + void glBeginQuery (GLenum target, GLuint id) { 2587 + if (verbose) puts("STUB: OpenGL called"); 2588 + } 2589 + 2590 + 2591 + void glEndQuery (GLenum target) { 2592 + if (verbose) puts("STUB: OpenGL called"); 2593 + } 2594 + 2595 + 2596 + void glGetQueryiv (GLenum target, GLenum pname, GLint *params) { 2597 + if (verbose) puts("STUB: OpenGL called"); 2598 + } 2599 + 2600 + 2601 + void glGetQueryObjectiv (GLuint id, GLenum pname, GLint *params) { 2602 + if (verbose) puts("STUB: OpenGL called"); 2603 + } 2604 + 2605 + 2606 + void glGetQueryObjectuiv (GLuint id, GLenum pname, GLuint *params) { 2607 + if (verbose) puts("STUB: OpenGL called"); 2608 + } 2609 + 2610 + 2611 + 2612 + void glBindBuffer (GLenum target, GLuint buffer) { 2613 + if (verbose) puts("STUB: OpenGL called"); 2614 + } 2615 + 2616 + 2617 + void glDeleteBuffers (GLsizei n, const GLuint *buffers) { 2618 + if (verbose) puts("STUB: OpenGL called"); 2619 + } 2620 + 2621 + 2622 + void glGenBuffers (GLsizei n, GLuint *buffers) { 2623 + if (verbose) puts("STUB: OpenGL called"); 2624 + } 2625 + 2626 + 2627 + GLboolean glIsBuffer (GLuint buffer) { 2628 + if (verbose) puts("STUB: OpenGL called"); 2629 + } 2630 + 2631 + 2632 + void glBufferData (GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage) { 2633 + if (verbose) puts("STUB: OpenGL called"); 2634 + } 2635 + 2636 + 2637 + void glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data) { 2638 + if (verbose) puts("STUB: OpenGL called"); 2639 + } 2640 + 2641 + 2642 + void glGetBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data) { 2643 + if (verbose) puts("STUB: OpenGL called"); 2644 + } 2645 + 2646 + 2647 + GLvoid *glMapBuffer (GLenum target, GLenum access) { 2648 + if (verbose) puts("STUB: OpenGL called"); 2649 + } 2650 + 2651 + 2652 + GLboolean glUnmapBuffer (GLenum target) { 2653 + if (verbose) puts("STUB: OpenGL called"); 2654 + } 2655 + 2656 + 2657 + void glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params) { 2658 + if (verbose) puts("STUB: OpenGL called"); 2659 + } 2660 + 2661 + 2662 + void glGetBufferPointerv (GLenum target, GLenum pname, GLvoid **params) { 2663 + if (verbose) puts("STUB: OpenGL called"); 2664 + } 2665 + 2666 + 2667 + 2668 + void glDrawBuffers (GLsizei n, const GLenum *bufs) { 2669 + if (verbose) puts("STUB: OpenGL called"); 2670 + } 2671 + 2672 + 2673 + void glVertexAttrib1d (GLuint index, GLdouble x) { 2674 + if (verbose) puts("STUB: OpenGL called"); 2675 + } 2676 + 2677 + 2678 + void glVertexAttrib1dv (GLuint index, const GLdouble *v) { 2679 + if (verbose) puts("STUB: OpenGL called"); 2680 + } 2681 + 2682 + 2683 + void glVertexAttrib1f (GLuint index, GLfloat x) { 2684 + if (verbose) puts("STUB: OpenGL called"); 2685 + } 2686 + 2687 + 2688 + void glVertexAttrib1fv (GLuint index, const GLfloat *v) { 2689 + if (verbose) puts("STUB: OpenGL called"); 2690 + } 2691 + 2692 + 2693 + void glVertexAttrib1s (GLuint index, GLshort x) { 2694 + if (verbose) puts("STUB: OpenGL called"); 2695 + } 2696 + 2697 + 2698 + void glVertexAttrib1sv (GLuint index, const GLshort *v) { 2699 + if (verbose) puts("STUB: OpenGL called"); 2700 + } 2701 + 2702 + 2703 + void glVertexAttrib2d (GLuint index, GLdouble x, GLdouble y) { 2704 + if (verbose) puts("STUB: OpenGL called"); 2705 + } 2706 + 2707 + 2708 + void glVertexAttrib2dv (GLuint index, const GLdouble *v) { 2709 + if (verbose) puts("STUB: OpenGL called"); 2710 + } 2711 + 2712 + 2713 + void glVertexAttrib2f (GLuint index, GLfloat x, GLfloat y) { 2714 + if (verbose) puts("STUB: OpenGL called"); 2715 + } 2716 + 2717 + 2718 + void glVertexAttrib2fv (GLuint index, const GLfloat *v) { 2719 + if (verbose) puts("STUB: OpenGL called"); 2720 + } 2721 + 2722 + 2723 + void glVertexAttrib2s (GLuint index, GLshort x, GLshort y) { 2724 + if (verbose) puts("STUB: OpenGL called"); 2725 + } 2726 + 2727 + 2728 + void glVertexAttrib2sv (GLuint index, const GLshort *v) { 2729 + if (verbose) puts("STUB: OpenGL called"); 2730 + } 2731 + 2732 + 2733 + void glVertexAttrib3d (GLuint index, GLdouble x, GLdouble y, GLdouble z) { 2734 + if (verbose) puts("STUB: OpenGL called"); 2735 + } 2736 + 2737 + 2738 + void glVertexAttrib3dv (GLuint index, const GLdouble *v) { 2739 + if (verbose) puts("STUB: OpenGL called"); 2740 + } 2741 + 2742 + 2743 + void glVertexAttrib3f (GLuint index, GLfloat x, GLfloat y, GLfloat z) { 2744 + if (verbose) puts("STUB: OpenGL called"); 2745 + } 2746 + 2747 + 2748 + void glVertexAttrib3fv (GLuint index, const GLfloat *v) { 2749 + if (verbose) puts("STUB: OpenGL called"); 2750 + } 2751 + 2752 + 2753 + void glVertexAttrib3s (GLuint index, GLshort x, GLshort y, GLshort z) { 2754 + if (verbose) puts("STUB: OpenGL called"); 2755 + } 2756 + 2757 + 2758 + void glVertexAttrib3sv (GLuint index, const GLshort *v) { 2759 + if (verbose) puts("STUB: OpenGL called"); 2760 + } 2761 + 2762 + 2763 + void glVertexAttrib4Nbv (GLuint index, const GLbyte *v) { 2764 + if (verbose) puts("STUB: OpenGL called"); 2765 + } 2766 + 2767 + 2768 + void glVertexAttrib4Niv (GLuint index, const GLint *v) { 2769 + if (verbose) puts("STUB: OpenGL called"); 2770 + } 2771 + 2772 + 2773 + void glVertexAttrib4Nsv (GLuint index, const GLshort *v) { 2774 + if (verbose) puts("STUB: OpenGL called"); 2775 + } 2776 + 2777 + 2778 + void glVertexAttrib4Nub (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w) { 2779 + if (verbose) puts("STUB: OpenGL called"); 2780 + } 2781 + 2782 + 2783 + void glVertexAttrib4Nubv (GLuint index, const GLubyte *v) { 2784 + if (verbose) puts("STUB: OpenGL called"); 2785 + } 2786 + 2787 + 2788 + void glVertexAttrib4Nuiv (GLuint index, const GLuint *v) { 2789 + if (verbose) puts("STUB: OpenGL called"); 2790 + } 2791 + 2792 + 2793 + void glVertexAttrib4Nusv (GLuint index, const GLushort *v) { 2794 + if (verbose) puts("STUB: OpenGL called"); 2795 + } 2796 + 2797 + 2798 + void glVertexAttrib4bv (GLuint index, const GLbyte *v) { 2799 + if (verbose) puts("STUB: OpenGL called"); 2800 + } 2801 + 2802 + 2803 + void glVertexAttrib4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) { 2804 + if (verbose) puts("STUB: OpenGL called"); 2805 + } 2806 + 2807 + 2808 + void glVertexAttrib4dv (GLuint index, const GLdouble *v) { 2809 + if (verbose) puts("STUB: OpenGL called"); 2810 + } 2811 + 2812 + 2813 + void glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) { 2814 + if (verbose) puts("STUB: OpenGL called"); 2815 + } 2816 + 2817 + 2818 + void glVertexAttrib4fv (GLuint index, const GLfloat *v) { 2819 + if (verbose) puts("STUB: OpenGL called"); 2820 + } 2821 + 2822 + 2823 + void glVertexAttrib4iv (GLuint index, const GLint *v) { 2824 + if (verbose) puts("STUB: OpenGL called"); 2825 + } 2826 + 2827 + 2828 + void glVertexAttrib4s (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w) { 2829 + if (verbose) puts("STUB: OpenGL called"); 2830 + } 2831 + 2832 + 2833 + void glVertexAttrib4sv (GLuint index, const GLshort *v) { 2834 + if (verbose) puts("STUB: OpenGL called"); 2835 + } 2836 + 2837 + 2838 + void glVertexAttrib4ubv (GLuint index, const GLubyte *v) { 2839 + if (verbose) puts("STUB: OpenGL called"); 2840 + } 2841 + 2842 + 2843 + void glVertexAttrib4uiv (GLuint index, const GLuint *v) { 2844 + if (verbose) puts("STUB: OpenGL called"); 2845 + } 2846 + 2847 + 2848 + void glVertexAttrib4usv (GLuint index, const GLushort *v) { 2849 + if (verbose) puts("STUB: OpenGL called"); 2850 + } 2851 + 2852 + 2853 + void glVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer) { 2854 + if (verbose) puts("STUB: OpenGL called"); 2855 + } 2856 + 2857 + 2858 + void glEnableVertexAttribArray (GLuint index) { 2859 + if (verbose) puts("STUB: OpenGL called"); 2860 + } 2861 + 2862 + 2863 + void glDisableVertexAttribArray (GLuint index) { 2864 + if (verbose) puts("STUB: OpenGL called"); 2865 + } 2866 + 2867 + 2868 + void glGetVertexAttribdv (GLuint index, GLenum pname, GLdouble *params) { 2869 + if (verbose) puts("STUB: OpenGL called"); 2870 + } 2871 + 2872 + 2873 + void glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat *params) { 2874 + if (verbose) puts("STUB: OpenGL called"); 2875 + } 2876 + 2877 + 2878 + void glGetVertexAttribiv (GLuint index, GLenum pname, GLint *params) { 2879 + if (verbose) puts("STUB: OpenGL called"); 2880 + } 2881 + 2882 + 2883 + void glGetVertexAttribPointerv (GLuint index, GLenum pname, GLvoid **pointer) { 2884 + if (verbose) puts("STUB: OpenGL called"); 2885 + } 2886 + 2887 + 2888 + void glDeleteShader (GLuint shader) { 2889 + if (verbose) puts("STUB: OpenGL called"); 2890 + } 2891 + 2892 + 2893 + void glDetachShader (GLuint program, GLuint shader) { 2894 + if (verbose) puts("STUB: OpenGL called"); 2895 + } 2896 + 2897 + 2898 + GLuint glCreateShader (GLenum type) { 2899 + if (verbose) puts("STUB: OpenGL called"); 2900 + } 2901 + 2902 + 2903 + void glShaderSource (GLuint shader, GLsizei count, const GLchar* const *string, const GLint *length) { 2904 + if (verbose) puts("STUB: OpenGL called"); 2905 + } 2906 + 2907 + 2908 + void glCompileShader (GLuint shader) { 2909 + if (verbose) puts("STUB: OpenGL called"); 2910 + } 2911 + 2912 + 2913 + GLuint glCreateProgram (void) { 2914 + if (verbose) puts("STUB: OpenGL called"); 2915 + } 2916 + 2917 + 2918 + void glAttachShader (GLuint program, GLuint shader) { 2919 + if (verbose) puts("STUB: OpenGL called"); 2920 + } 2921 + 2922 + 2923 + void glLinkProgram (GLuint program) { 2924 + if (verbose) puts("STUB: OpenGL called"); 2925 + } 2926 + 2927 + 2928 + void glUseProgram (GLuint program) { 2929 + if (verbose) puts("STUB: OpenGL called"); 2930 + } 2931 + 2932 + 2933 + void glDeleteProgram (GLuint program) { 2934 + if (verbose) puts("STUB: OpenGL called"); 2935 + } 2936 + 2937 + 2938 + void glValidateProgram (GLuint program) { 2939 + if (verbose) puts("STUB: OpenGL called"); 2940 + } 2941 + 2942 + 2943 + void glUniform1f (GLint location, GLfloat v0) { 2944 + if (verbose) puts("STUB: OpenGL called"); 2945 + } 2946 + 2947 + 2948 + void glUniform2f (GLint location, GLfloat v0, GLfloat v1) { 2949 + if (verbose) puts("STUB: OpenGL called"); 2950 + } 2951 + 2952 + 2953 + void glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2) { 2954 + if (verbose) puts("STUB: OpenGL called"); 2955 + } 2956 + 2957 + 2958 + void glUniform4f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) { 2959 + if (verbose) puts("STUB: OpenGL called"); 2960 + } 2961 + 2962 + 2963 + void glUniform1i (GLint location, GLint v0) { 2964 + if (verbose) puts("STUB: OpenGL called"); 2965 + } 2966 + 2967 + 2968 + void glUniform2i (GLint location, GLint v0, GLint v1) { 2969 + if (verbose) puts("STUB: OpenGL called"); 2970 + } 2971 + 2972 + 2973 + void glUniform3i (GLint location, GLint v0, GLint v1, GLint v2) { 2974 + if (verbose) puts("STUB: OpenGL called"); 2975 + } 2976 + 2977 + 2978 + void glUniform4i (GLint location, GLint v0, GLint v1, GLint v2, GLint v3) { 2979 + if (verbose) puts("STUB: OpenGL called"); 2980 + } 2981 + 2982 + 2983 + void glUniform1fv (GLint location, GLsizei count, const GLfloat *value) { 2984 + if (verbose) puts("STUB: OpenGL called"); 2985 + } 2986 + 2987 + 2988 + void glUniform2fv (GLint location, GLsizei count, const GLfloat *value) { 2989 + if (verbose) puts("STUB: OpenGL called"); 2990 + } 2991 + 2992 + 2993 + void glUniform3fv (GLint location, GLsizei count, const GLfloat *value) { 2994 + if (verbose) puts("STUB: OpenGL called"); 2995 + } 2996 + 2997 + 2998 + void glUniform4fv (GLint location, GLsizei count, const GLfloat *value) { 2999 + if (verbose) puts("STUB: OpenGL called"); 3000 + } 3001 + 3002 + 3003 + void glUniform1iv (GLint location, GLsizei count, const GLint *value) { 3004 + if (verbose) puts("STUB: OpenGL called"); 3005 + } 3006 + 3007 + 3008 + void glUniform2iv (GLint location, GLsizei count, const GLint *value) { 3009 + if (verbose) puts("STUB: OpenGL called"); 3010 + } 3011 + 3012 + 3013 + void glUniform3iv (GLint location, GLsizei count, const GLint *value) { 3014 + if (verbose) puts("STUB: OpenGL called"); 3015 + } 3016 + 3017 + 3018 + void glUniform4iv (GLint location, GLsizei count, const GLint *value) { 3019 + if (verbose) puts("STUB: OpenGL called"); 3020 + } 3021 + 3022 + 3023 + void glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) { 3024 + if (verbose) puts("STUB: OpenGL called"); 3025 + } 3026 + 3027 + 3028 + void glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) { 3029 + if (verbose) puts("STUB: OpenGL called"); 3030 + } 3031 + 3032 + 3033 + void glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) { 3034 + if (verbose) puts("STUB: OpenGL called"); 3035 + } 3036 + 3037 + 3038 + GLboolean glIsShader (GLuint shader) { 3039 + if (verbose) puts("STUB: OpenGL called"); 3040 + } 3041 + 3042 + 3043 + GLboolean glIsProgram (GLuint program) { 3044 + if (verbose) puts("STUB: OpenGL called"); 3045 + } 3046 + 3047 + 3048 + void glGetShaderiv (GLuint shader, GLenum pname, GLint *params) { 3049 + if (verbose) puts("STUB: OpenGL called"); 3050 + } 3051 + 3052 + 3053 + void glGetProgramiv (GLuint program, GLenum pname, GLint *params) { 3054 + if (verbose) puts("STUB: OpenGL called"); 3055 + } 3056 + 3057 + 3058 + void glGetAttachedShaders (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders) { 3059 + if (verbose) puts("STUB: OpenGL called"); 3060 + } 3061 + 3062 + 3063 + void glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog) { 3064 + if (verbose) puts("STUB: OpenGL called"); 3065 + } 3066 + 3067 + 3068 + void glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog) { 3069 + if (verbose) puts("STUB: OpenGL called"); 3070 + } 3071 + 3072 + 3073 + GLint glGetUniformLocation (GLuint program, const GLchar *name) { 3074 + if (verbose) puts("STUB: OpenGL called"); 3075 + } 3076 + 3077 + 3078 + void glGetActiveUniform (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name) { 3079 + if (verbose) puts("STUB: OpenGL called"); 3080 + } 3081 + 3082 + 3083 + void glGetUniformfv (GLuint program, GLint location, GLfloat *params) { 3084 + if (verbose) puts("STUB: OpenGL called"); 3085 + } 3086 + 3087 + 3088 + void glGetUniformiv (GLuint program, GLint location, GLint *params) { 3089 + if (verbose) puts("STUB: OpenGL called"); 3090 + } 3091 + 3092 + 3093 + void glGetShaderSource (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source) { 3094 + if (verbose) puts("STUB: OpenGL called"); 3095 + } 3096 + 3097 + 3098 + void glBindAttribLocation (GLuint program, GLuint index, const GLchar *name) { 3099 + if (verbose) puts("STUB: OpenGL called"); 3100 + } 3101 + 3102 + 3103 + void glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name) { 3104 + if (verbose) puts("STUB: OpenGL called"); 3105 + } 3106 + 3107 + 3108 + GLint glGetAttribLocation (GLuint program, const GLchar *name) { 3109 + if (verbose) puts("STUB: OpenGL called"); 3110 + } 3111 + 3112 + 3113 + void glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask) { 3114 + if (verbose) puts("STUB: OpenGL called"); 3115 + } 3116 + 3117 + 3118 + void glStencilOpSeparate (GLenum face, GLenum fail, GLenum zfail, GLenum zpass) { 3119 + if (verbose) puts("STUB: OpenGL called"); 3120 + } 3121 + 3122 + 3123 + void glStencilMaskSeparate (GLenum face, GLuint mask) { 3124 + if (verbose) puts("STUB: OpenGL called"); 3125 + } 3126 + 3127 + 3128 + 3129 + void glUniformMatrix2x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) { 3130 + if (verbose) puts("STUB: OpenGL called"); 3131 + } 3132 + 3133 + 3134 + void glUniformMatrix3x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) { 3135 + if (verbose) puts("STUB: OpenGL called"); 3136 + } 3137 + 3138 + 3139 + void glUniformMatrix2x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) { 3140 + if (verbose) puts("STUB: OpenGL called"); 3141 + } 3142 + 3143 + 3144 + void glUniformMatrix4x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) { 3145 + if (verbose) puts("STUB: OpenGL called"); 3146 + } 3147 + 3148 + 3149 + void glUniformMatrix3x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) { 3150 + if (verbose) puts("STUB: OpenGL called"); 3151 + } 3152 + 3153 + 3154 + void glUniformMatrix4x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) { 3155 + if (verbose) puts("STUB: OpenGL called"); 3156 + } 3157 + 3158 + CGLError CGLSetCurrentContext(CGLContextObj OPENGL_NULLABLE ctx) { 3159 + if (verbose) puts("STUB: OpenGL called"); 3160 + } 3161 + CGLContextObj OPENGL_NULLABLE CGLGetCurrentContext(void) { 3162 + if (verbose) puts("STUB: OpenGL called"); 3163 + }