diff --git a/SConstruct b/SConstruct index 026efbf..60db832 100644 --- a/SConstruct +++ b/SConstruct @@ -10,7 +10,7 @@ env['LIBS'] = ['GLU', 'GL', 'protobuf', 'IL'] env['CPPPATH'] = ['#', '#/src', '#/external/tinyXML', '#/external/flextGL/', '/usr/include/OpenEXR'] env.ParseConfig("pkg-config IlmBase --cflags --libs") -env.ParseConfig("pkg-config libglfw --cflags --libs") +env.ParseConfig("pkg-config glfw3 --cflags --libs") env.ParseConfig("pkg-config ftgl --cflags --libs") env.ParseConfig("pkg-config sigc++-2.0 --cflags --libs") env.ParseConfig("pkg-config SDL_mixer --cflags --libs") diff --git a/external/flextGL/flextGL.c b/external/flextGL/flextGL.c index 2785986..4ab3fb7 100644 --- a/external/flextGL/flextGL.c +++ b/external/flextGL/flextGL.c @@ -2,7 +2,7 @@ /* Do not edit. */ #include "flextGL.h" -#include "GL/glfw.h" +#include "GLFW/glfw3.h" #include @@ -14,18 +14,18 @@ extern "C" { void flextLoadOpenGLFunctions(void); -int flextInit(void) +int flextInit(GLFWwindow* window) { - int major = glfwGetWindowParam(GLFW_OPENGL_VERSION_MAJOR); - int minor = glfwGetWindowParam(GLFW_OPENGL_VERSION_MINOR); + int major = glfwGetWindowAttrib(window, GLFW_CONTEXT_VERSION_MAJOR); + int minor = glfwGetWindowAttrib(window, GLFW_CONTEXT_VERSION_MINOR); flextLoadOpenGLFunctions(); /* --- Check for minimal version and profile --- */ if (major * 10 + minor < 20) { - fprintf(stderr, "Error: OpenGL version 2.0 not supported.\n"); + fprintf(stderr, "Error: OpenGL version 2.0 not supported.\n"); fprintf(stderr, " Your version is %d.%d.\n", major, minor); fprintf(stderr, " Try updating your graphics driver.\n"); return GL_FALSE; @@ -40,6 +40,12 @@ int flextInit(void) return GL_FALSE; } + if (!glfwExtensionSupported("GL_ARB_texture_float")) { + fprintf(stderr, "Error: OpenGL extension ARB_texture_float not supported.\n"); + fprintf(stderr, " Try updating your graphics driver.\n"); + return GL_FALSE; + } + if (glfwExtensionSupported("GL_ARB_geometry_shader4")) { FLEXT_ARB_geometry_shader4 = GL_TRUE; } @@ -65,98 +71,75 @@ void flextLoadOpenGLFunctions(void) /* GL_ARB_geometry_shader4 */ - glpfProgramParameteriARB = (PFNGLPROGRAMPARAMETERIARB_PROC*)glfwGetProcAddress("glProgramParameteriARB"); glpfFramebufferTextureARB = (PFNGLFRAMEBUFFERTEXTUREARB_PROC*)glfwGetProcAddress("glFramebufferTextureARB"); - glpfFramebufferTextureLayerARB = (PFNGLFRAMEBUFFERTEXTURELAYERARB_PROC*)glfwGetProcAddress("glFramebufferTextureLayerARB"); glpfFramebufferTextureFaceARB = (PFNGLFRAMEBUFFERTEXTUREFACEARB_PROC*)glfwGetProcAddress("glFramebufferTextureFaceARB"); + glpfFramebufferTextureLayerARB = (PFNGLFRAMEBUFFERTEXTURELAYERARB_PROC*)glfwGetProcAddress("glFramebufferTextureLayerARB"); + glpfProgramParameteriARB = (PFNGLPROGRAMPARAMETERIARB_PROC*)glfwGetProcAddress("glProgramParameteriARB"); + + + /* GL_ARB_texture_float */ + /* GL_EXT_framebuffer_object */ - glpfIsRenderbufferEXT = (PFNGLISRENDERBUFFEREXT_PROC*)glfwGetProcAddress("glIsRenderbufferEXT"); - glpfBindRenderbufferEXT = (PFNGLBINDRENDERBUFFEREXT_PROC*)glfwGetProcAddress("glBindRenderbufferEXT"); - glpfDeleteRenderbuffersEXT = (PFNGLDELETERENDERBUFFERSEXT_PROC*)glfwGetProcAddress("glDeleteRenderbuffersEXT"); - glpfGenRenderbuffersEXT = (PFNGLGENRENDERBUFFERSEXT_PROC*)glfwGetProcAddress("glGenRenderbuffersEXT"); - glpfRenderbufferStorageEXT = (PFNGLRENDERBUFFERSTORAGEEXT_PROC*)glfwGetProcAddress("glRenderbufferStorageEXT"); - glpfGetRenderbufferParameterivEXT = (PFNGLGETRENDERBUFFERPARAMETERIVEXT_PROC*)glfwGetProcAddress("glGetRenderbufferParameterivEXT"); - glpfIsFramebufferEXT = (PFNGLISFRAMEBUFFEREXT_PROC*)glfwGetProcAddress("glIsFramebufferEXT"); glpfBindFramebufferEXT = (PFNGLBINDFRAMEBUFFEREXT_PROC*)glfwGetProcAddress("glBindFramebufferEXT"); - glpfDeleteFramebuffersEXT = (PFNGLDELETEFRAMEBUFFERSEXT_PROC*)glfwGetProcAddress("glDeleteFramebuffersEXT"); - glpfGenFramebuffersEXT = (PFNGLGENFRAMEBUFFERSEXT_PROC*)glfwGetProcAddress("glGenFramebuffersEXT"); + glpfBindRenderbufferEXT = (PFNGLBINDRENDERBUFFEREXT_PROC*)glfwGetProcAddress("glBindRenderbufferEXT"); glpfCheckFramebufferStatusEXT = (PFNGLCHECKFRAMEBUFFERSTATUSEXT_PROC*)glfwGetProcAddress("glCheckFramebufferStatusEXT"); + glpfDeleteFramebuffersEXT = (PFNGLDELETEFRAMEBUFFERSEXT_PROC*)glfwGetProcAddress("glDeleteFramebuffersEXT"); + glpfDeleteRenderbuffersEXT = (PFNGLDELETERENDERBUFFERSEXT_PROC*)glfwGetProcAddress("glDeleteRenderbuffersEXT"); + glpfFramebufferRenderbufferEXT = (PFNGLFRAMEBUFFERRENDERBUFFEREXT_PROC*)glfwGetProcAddress("glFramebufferRenderbufferEXT"); glpfFramebufferTexture1DEXT = (PFNGLFRAMEBUFFERTEXTURE1DEXT_PROC*)glfwGetProcAddress("glFramebufferTexture1DEXT"); glpfFramebufferTexture2DEXT = (PFNGLFRAMEBUFFERTEXTURE2DEXT_PROC*)glfwGetProcAddress("glFramebufferTexture2DEXT"); glpfFramebufferTexture3DEXT = (PFNGLFRAMEBUFFERTEXTURE3DEXT_PROC*)glfwGetProcAddress("glFramebufferTexture3DEXT"); - glpfFramebufferRenderbufferEXT = (PFNGLFRAMEBUFFERRENDERBUFFEREXT_PROC*)glfwGetProcAddress("glFramebufferRenderbufferEXT"); - glpfGetFramebufferAttachmentParameterivEXT = (PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXT_PROC*)glfwGetProcAddress("glGetFramebufferAttachmentParameterivEXT"); + glpfGenFramebuffersEXT = (PFNGLGENFRAMEBUFFERSEXT_PROC*)glfwGetProcAddress("glGenFramebuffersEXT"); + glpfGenRenderbuffersEXT = (PFNGLGENRENDERBUFFERSEXT_PROC*)glfwGetProcAddress("glGenRenderbuffersEXT"); glpfGenerateMipmapEXT = (PFNGLGENERATEMIPMAPEXT_PROC*)glfwGetProcAddress("glGenerateMipmapEXT"); + glpfGetFramebufferAttachmentParameterivEXT = (PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXT_PROC*)glfwGetProcAddress("glGetFramebufferAttachmentParameterivEXT"); + glpfGetRenderbufferParameterivEXT = (PFNGLGETRENDERBUFFERPARAMETERIVEXT_PROC*)glfwGetProcAddress("glGetRenderbufferParameterivEXT"); + glpfIsFramebufferEXT = (PFNGLISFRAMEBUFFEREXT_PROC*)glfwGetProcAddress("glIsFramebufferEXT"); + glpfIsRenderbufferEXT = (PFNGLISRENDERBUFFEREXT_PROC*)glfwGetProcAddress("glIsRenderbufferEXT"); + glpfRenderbufferStorageEXT = (PFNGLRENDERBUFFERSTORAGEEXT_PROC*)glfwGetProcAddress("glRenderbufferStorageEXT"); + + + /* GL_EXT_texture_filter_anisotropic */ + /* GL_EXT_transform_feedback */ glpfBeginTransformFeedbackEXT = (PFNGLBEGINTRANSFORMFEEDBACKEXT_PROC*)glfwGetProcAddress("glBeginTransformFeedbackEXT"); - glpfEndTransformFeedbackEXT = (PFNGLENDTRANSFORMFEEDBACKEXT_PROC*)glfwGetProcAddress("glEndTransformFeedbackEXT"); - glpfBindBufferRangeEXT = (PFNGLBINDBUFFERRANGEEXT_PROC*)glfwGetProcAddress("glBindBufferRangeEXT"); - glpfBindBufferOffsetEXT = (PFNGLBINDBUFFEROFFSETEXT_PROC*)glfwGetProcAddress("glBindBufferOffsetEXT"); glpfBindBufferBaseEXT = (PFNGLBINDBUFFERBASEEXT_PROC*)glfwGetProcAddress("glBindBufferBaseEXT"); - glpfTransformFeedbackVaryingsEXT = (PFNGLTRANSFORMFEEDBACKVARYINGSEXT_PROC*)glfwGetProcAddress("glTransformFeedbackVaryingsEXT"); + glpfBindBufferOffsetEXT = (PFNGLBINDBUFFEROFFSETEXT_PROC*)glfwGetProcAddress("glBindBufferOffsetEXT"); + glpfBindBufferRangeEXT = (PFNGLBINDBUFFERRANGEEXT_PROC*)glfwGetProcAddress("glBindBufferRangeEXT"); + glpfEndTransformFeedbackEXT = (PFNGLENDTRANSFORMFEEDBACKEXT_PROC*)glfwGetProcAddress("glEndTransformFeedbackEXT"); glpfGetTransformFeedbackVaryingEXT = (PFNGLGETTRANSFORMFEEDBACKVARYINGEXT_PROC*)glfwGetProcAddress("glGetTransformFeedbackVaryingEXT"); + glpfTransformFeedbackVaryingsEXT = (PFNGLTRANSFORMFEEDBACKVARYINGSEXT_PROC*)glfwGetProcAddress("glTransformFeedbackVaryingsEXT"); /* GL_VERSION_1_2 */ - glpfBlendColor = (PFNGLBLENDCOLOR_PROC*)glfwGetProcAddress("glBlendColor"); - glpfBlendEquation = (PFNGLBLENDEQUATION_PROC*)glfwGetProcAddress("glBlendEquation"); + glpfCopyTexSubImage3D = (PFNGLCOPYTEXSUBIMAGE3D_PROC*)glfwGetProcAddress("glCopyTexSubImage3D"); glpfDrawRangeElements = (PFNGLDRAWRANGEELEMENTS_PROC*)glfwGetProcAddress("glDrawRangeElements"); glpfTexImage3D = (PFNGLTEXIMAGE3D_PROC*)glfwGetProcAddress("glTexImage3D"); glpfTexSubImage3D = (PFNGLTEXSUBIMAGE3D_PROC*)glfwGetProcAddress("glTexSubImage3D"); - glpfCopyTexSubImage3D = (PFNGLCOPYTEXSUBIMAGE3D_PROC*)glfwGetProcAddress("glCopyTexSubImage3D"); - glpfColorTable = (PFNGLCOLORTABLE_PROC*)glfwGetProcAddress("glColorTable"); - glpfColorTableParameterfv = (PFNGLCOLORTABLEPARAMETERFV_PROC*)glfwGetProcAddress("glColorTableParameterfv"); - glpfColorTableParameteriv = (PFNGLCOLORTABLEPARAMETERIV_PROC*)glfwGetProcAddress("glColorTableParameteriv"); - glpfCopyColorTable = (PFNGLCOPYCOLORTABLE_PROC*)glfwGetProcAddress("glCopyColorTable"); - glpfGetColorTable = (PFNGLGETCOLORTABLE_PROC*)glfwGetProcAddress("glGetColorTable"); - glpfGetColorTableParameterfv = (PFNGLGETCOLORTABLEPARAMETERFV_PROC*)glfwGetProcAddress("glGetColorTableParameterfv"); - glpfGetColorTableParameteriv = (PFNGLGETCOLORTABLEPARAMETERIV_PROC*)glfwGetProcAddress("glGetColorTableParameteriv"); - glpfColorSubTable = (PFNGLCOLORSUBTABLE_PROC*)glfwGetProcAddress("glColorSubTable"); - glpfCopyColorSubTable = (PFNGLCOPYCOLORSUBTABLE_PROC*)glfwGetProcAddress("glCopyColorSubTable"); - glpfConvolutionFilter1D = (PFNGLCONVOLUTIONFILTER1D_PROC*)glfwGetProcAddress("glConvolutionFilter1D"); - glpfConvolutionFilter2D = (PFNGLCONVOLUTIONFILTER2D_PROC*)glfwGetProcAddress("glConvolutionFilter2D"); - glpfConvolutionParameterf = (PFNGLCONVOLUTIONPARAMETERF_PROC*)glfwGetProcAddress("glConvolutionParameterf"); - glpfConvolutionParameterfv = (PFNGLCONVOLUTIONPARAMETERFV_PROC*)glfwGetProcAddress("glConvolutionParameterfv"); - glpfConvolutionParameteri = (PFNGLCONVOLUTIONPARAMETERI_PROC*)glfwGetProcAddress("glConvolutionParameteri"); - glpfConvolutionParameteriv = (PFNGLCONVOLUTIONPARAMETERIV_PROC*)glfwGetProcAddress("glConvolutionParameteriv"); - glpfCopyConvolutionFilter1D = (PFNGLCOPYCONVOLUTIONFILTER1D_PROC*)glfwGetProcAddress("glCopyConvolutionFilter1D"); - glpfCopyConvolutionFilter2D = (PFNGLCOPYCONVOLUTIONFILTER2D_PROC*)glfwGetProcAddress("glCopyConvolutionFilter2D"); - glpfGetConvolutionFilter = (PFNGLGETCONVOLUTIONFILTER_PROC*)glfwGetProcAddress("glGetConvolutionFilter"); - glpfGetConvolutionParameterfv = (PFNGLGETCONVOLUTIONPARAMETERFV_PROC*)glfwGetProcAddress("glGetConvolutionParameterfv"); - glpfGetConvolutionParameteriv = (PFNGLGETCONVOLUTIONPARAMETERIV_PROC*)glfwGetProcAddress("glGetConvolutionParameteriv"); - glpfGetSeparableFilter = (PFNGLGETSEPARABLEFILTER_PROC*)glfwGetProcAddress("glGetSeparableFilter"); - glpfSeparableFilter2D = (PFNGLSEPARABLEFILTER2D_PROC*)glfwGetProcAddress("glSeparableFilter2D"); - glpfGetHistogram = (PFNGLGETHISTOGRAM_PROC*)glfwGetProcAddress("glGetHistogram"); - glpfGetHistogramParameterfv = (PFNGLGETHISTOGRAMPARAMETERFV_PROC*)glfwGetProcAddress("glGetHistogramParameterfv"); - glpfGetHistogramParameteriv = (PFNGLGETHISTOGRAMPARAMETERIV_PROC*)glfwGetProcAddress("glGetHistogramParameteriv"); - glpfGetMinmax = (PFNGLGETMINMAX_PROC*)glfwGetProcAddress("glGetMinmax"); - glpfGetMinmaxParameterfv = (PFNGLGETMINMAXPARAMETERFV_PROC*)glfwGetProcAddress("glGetMinmaxParameterfv"); - glpfGetMinmaxParameteriv = (PFNGLGETMINMAXPARAMETERIV_PROC*)glfwGetProcAddress("glGetMinmaxParameteriv"); - glpfHistogram = (PFNGLHISTOGRAM_PROC*)glfwGetProcAddress("glHistogram"); - glpfMinmax = (PFNGLMINMAX_PROC*)glfwGetProcAddress("glMinmax"); - glpfResetHistogram = (PFNGLRESETHISTOGRAM_PROC*)glfwGetProcAddress("glResetHistogram"); - glpfResetMinmax = (PFNGLRESETMINMAX_PROC*)glfwGetProcAddress("glResetMinmax"); /* GL_VERSION_1_3 */ glpfActiveTexture = (PFNGLACTIVETEXTURE_PROC*)glfwGetProcAddress("glActiveTexture"); - glpfSampleCoverage = (PFNGLSAMPLECOVERAGE_PROC*)glfwGetProcAddress("glSampleCoverage"); - glpfCompressedTexImage3D = (PFNGLCOMPRESSEDTEXIMAGE3D_PROC*)glfwGetProcAddress("glCompressedTexImage3D"); - glpfCompressedTexImage2D = (PFNGLCOMPRESSEDTEXIMAGE2D_PROC*)glfwGetProcAddress("glCompressedTexImage2D"); + glpfClientActiveTexture = (PFNGLCLIENTACTIVETEXTURE_PROC*)glfwGetProcAddress("glClientActiveTexture"); glpfCompressedTexImage1D = (PFNGLCOMPRESSEDTEXIMAGE1D_PROC*)glfwGetProcAddress("glCompressedTexImage1D"); - glpfCompressedTexSubImage3D = (PFNGLCOMPRESSEDTEXSUBIMAGE3D_PROC*)glfwGetProcAddress("glCompressedTexSubImage3D"); - glpfCompressedTexSubImage2D = (PFNGLCOMPRESSEDTEXSUBIMAGE2D_PROC*)glfwGetProcAddress("glCompressedTexSubImage2D"); + glpfCompressedTexImage2D = (PFNGLCOMPRESSEDTEXIMAGE2D_PROC*)glfwGetProcAddress("glCompressedTexImage2D"); + glpfCompressedTexImage3D = (PFNGLCOMPRESSEDTEXIMAGE3D_PROC*)glfwGetProcAddress("glCompressedTexImage3D"); glpfCompressedTexSubImage1D = (PFNGLCOMPRESSEDTEXSUBIMAGE1D_PROC*)glfwGetProcAddress("glCompressedTexSubImage1D"); + glpfCompressedTexSubImage2D = (PFNGLCOMPRESSEDTEXSUBIMAGE2D_PROC*)glfwGetProcAddress("glCompressedTexSubImage2D"); + glpfCompressedTexSubImage3D = (PFNGLCOMPRESSEDTEXSUBIMAGE3D_PROC*)glfwGetProcAddress("glCompressedTexSubImage3D"); glpfGetCompressedTexImage = (PFNGLGETCOMPRESSEDTEXIMAGE_PROC*)glfwGetProcAddress("glGetCompressedTexImage"); - glpfClientActiveTexture = (PFNGLCLIENTACTIVETEXTURE_PROC*)glfwGetProcAddress("glClientActiveTexture"); + glpfLoadTransposeMatrixd = (PFNGLLOADTRANSPOSEMATRIXD_PROC*)glfwGetProcAddress("glLoadTransposeMatrixd"); + glpfLoadTransposeMatrixf = (PFNGLLOADTRANSPOSEMATRIXF_PROC*)glfwGetProcAddress("glLoadTransposeMatrixf"); + glpfMultTransposeMatrixd = (PFNGLMULTTRANSPOSEMATRIXD_PROC*)glfwGetProcAddress("glMultTransposeMatrixd"); + glpfMultTransposeMatrixf = (PFNGLMULTTRANSPOSEMATRIXF_PROC*)glfwGetProcAddress("glMultTransposeMatrixf"); glpfMultiTexCoord1d = (PFNGLMULTITEXCOORD1D_PROC*)glfwGetProcAddress("glMultiTexCoord1d"); glpfMultiTexCoord1dv = (PFNGLMULTITEXCOORD1DV_PROC*)glfwGetProcAddress("glMultiTexCoord1dv"); glpfMultiTexCoord1f = (PFNGLMULTITEXCOORD1F_PROC*)glfwGetProcAddress("glMultiTexCoord1f"); @@ -189,26 +172,25 @@ void flextLoadOpenGLFunctions(void) glpfMultiTexCoord4iv = (PFNGLMULTITEXCOORD4IV_PROC*)glfwGetProcAddress("glMultiTexCoord4iv"); glpfMultiTexCoord4s = (PFNGLMULTITEXCOORD4S_PROC*)glfwGetProcAddress("glMultiTexCoord4s"); glpfMultiTexCoord4sv = (PFNGLMULTITEXCOORD4SV_PROC*)glfwGetProcAddress("glMultiTexCoord4sv"); - glpfLoadTransposeMatrixf = (PFNGLLOADTRANSPOSEMATRIXF_PROC*)glfwGetProcAddress("glLoadTransposeMatrixf"); - glpfLoadTransposeMatrixd = (PFNGLLOADTRANSPOSEMATRIXD_PROC*)glfwGetProcAddress("glLoadTransposeMatrixd"); - glpfMultTransposeMatrixf = (PFNGLMULTTRANSPOSEMATRIXF_PROC*)glfwGetProcAddress("glMultTransposeMatrixf"); - glpfMultTransposeMatrixd = (PFNGLMULTTRANSPOSEMATRIXD_PROC*)glfwGetProcAddress("glMultTransposeMatrixd"); + glpfSampleCoverage = (PFNGLSAMPLECOVERAGE_PROC*)glfwGetProcAddress("glSampleCoverage"); /* GL_VERSION_1_4 */ + glpfBlendColor = (PFNGLBLENDCOLOR_PROC*)glfwGetProcAddress("glBlendColor"); + glpfBlendEquation = (PFNGLBLENDEQUATION_PROC*)glfwGetProcAddress("glBlendEquation"); glpfBlendFuncSeparate = (PFNGLBLENDFUNCSEPARATE_PROC*)glfwGetProcAddress("glBlendFuncSeparate"); + glpfFogCoordPointer = (PFNGLFOGCOORDPOINTER_PROC*)glfwGetProcAddress("glFogCoordPointer"); + glpfFogCoordd = (PFNGLFOGCOORDD_PROC*)glfwGetProcAddress("glFogCoordd"); + glpfFogCoorddv = (PFNGLFOGCOORDDV_PROC*)glfwGetProcAddress("glFogCoorddv"); + glpfFogCoordf = (PFNGLFOGCOORDF_PROC*)glfwGetProcAddress("glFogCoordf"); + glpfFogCoordfv = (PFNGLFOGCOORDFV_PROC*)glfwGetProcAddress("glFogCoordfv"); glpfMultiDrawArrays = (PFNGLMULTIDRAWARRAYS_PROC*)glfwGetProcAddress("glMultiDrawArrays"); glpfMultiDrawElements = (PFNGLMULTIDRAWELEMENTS_PROC*)glfwGetProcAddress("glMultiDrawElements"); glpfPointParameterf = (PFNGLPOINTPARAMETERF_PROC*)glfwGetProcAddress("glPointParameterf"); glpfPointParameterfv = (PFNGLPOINTPARAMETERFV_PROC*)glfwGetProcAddress("glPointParameterfv"); glpfPointParameteri = (PFNGLPOINTPARAMETERI_PROC*)glfwGetProcAddress("glPointParameteri"); glpfPointParameteriv = (PFNGLPOINTPARAMETERIV_PROC*)glfwGetProcAddress("glPointParameteriv"); - glpfFogCoordf = (PFNGLFOGCOORDF_PROC*)glfwGetProcAddress("glFogCoordf"); - glpfFogCoordfv = (PFNGLFOGCOORDFV_PROC*)glfwGetProcAddress("glFogCoordfv"); - glpfFogCoordd = (PFNGLFOGCOORDD_PROC*)glfwGetProcAddress("glFogCoordd"); - glpfFogCoorddv = (PFNGLFOGCOORDDV_PROC*)glfwGetProcAddress("glFogCoorddv"); - glpfFogCoordPointer = (PFNGLFOGCOORDPOINTER_PROC*)glfwGetProcAddress("glFogCoordPointer"); glpfSecondaryColor3b = (PFNGLSECONDARYCOLOR3B_PROC*)glfwGetProcAddress("glSecondaryColor3b"); glpfSecondaryColor3bv = (PFNGLSECONDARYCOLOR3BV_PROC*)glfwGetProcAddress("glSecondaryColor3bv"); glpfSecondaryColor3d = (PFNGLSECONDARYCOLOR3D_PROC*)glfwGetProcAddress("glSecondaryColor3d"); @@ -246,36 +228,32 @@ void flextLoadOpenGLFunctions(void) /* GL_VERSION_1_5 */ - glpfGenQueries = (PFNGLGENQUERIES_PROC*)glfwGetProcAddress("glGenQueries"); - glpfDeleteQueries = (PFNGLDELETEQUERIES_PROC*)glfwGetProcAddress("glDeleteQueries"); - glpfIsQuery = (PFNGLISQUERY_PROC*)glfwGetProcAddress("glIsQuery"); glpfBeginQuery = (PFNGLBEGINQUERY_PROC*)glfwGetProcAddress("glBeginQuery"); - glpfEndQuery = (PFNGLENDQUERY_PROC*)glfwGetProcAddress("glEndQuery"); - glpfGetQueryiv = (PFNGLGETQUERYIV_PROC*)glfwGetProcAddress("glGetQueryiv"); - glpfGetQueryObjectiv = (PFNGLGETQUERYOBJECTIV_PROC*)glfwGetProcAddress("glGetQueryObjectiv"); - glpfGetQueryObjectuiv = (PFNGLGETQUERYOBJECTUIV_PROC*)glfwGetProcAddress("glGetQueryObjectuiv"); glpfBindBuffer = (PFNGLBINDBUFFER_PROC*)glfwGetProcAddress("glBindBuffer"); - glpfDeleteBuffers = (PFNGLDELETEBUFFERS_PROC*)glfwGetProcAddress("glDeleteBuffers"); - glpfGenBuffers = (PFNGLGENBUFFERS_PROC*)glfwGetProcAddress("glGenBuffers"); - glpfIsBuffer = (PFNGLISBUFFER_PROC*)glfwGetProcAddress("glIsBuffer"); glpfBufferData = (PFNGLBUFFERDATA_PROC*)glfwGetProcAddress("glBufferData"); glpfBufferSubData = (PFNGLBUFFERSUBDATA_PROC*)glfwGetProcAddress("glBufferSubData"); + glpfDeleteBuffers = (PFNGLDELETEBUFFERS_PROC*)glfwGetProcAddress("glDeleteBuffers"); + glpfDeleteQueries = (PFNGLDELETEQUERIES_PROC*)glfwGetProcAddress("glDeleteQueries"); + glpfEndQuery = (PFNGLENDQUERY_PROC*)glfwGetProcAddress("glEndQuery"); + glpfGenBuffers = (PFNGLGENBUFFERS_PROC*)glfwGetProcAddress("glGenBuffers"); + glpfGenQueries = (PFNGLGENQUERIES_PROC*)glfwGetProcAddress("glGenQueries"); + glpfGetBufferParameteriv = (PFNGLGETBUFFERPARAMETERIV_PROC*)glfwGetProcAddress("glGetBufferParameteriv"); + glpfGetBufferPointerv = (PFNGLGETBUFFERPOINTERV_PROC*)glfwGetProcAddress("glGetBufferPointerv"); glpfGetBufferSubData = (PFNGLGETBUFFERSUBDATA_PROC*)glfwGetProcAddress("glGetBufferSubData"); + glpfGetQueryObjectiv = (PFNGLGETQUERYOBJECTIV_PROC*)glfwGetProcAddress("glGetQueryObjectiv"); + glpfGetQueryObjectuiv = (PFNGLGETQUERYOBJECTUIV_PROC*)glfwGetProcAddress("glGetQueryObjectuiv"); + glpfGetQueryiv = (PFNGLGETQUERYIV_PROC*)glfwGetProcAddress("glGetQueryiv"); + glpfIsBuffer = (PFNGLISBUFFER_PROC*)glfwGetProcAddress("glIsBuffer"); + glpfIsQuery = (PFNGLISQUERY_PROC*)glfwGetProcAddress("glIsQuery"); glpfMapBuffer = (PFNGLMAPBUFFER_PROC*)glfwGetProcAddress("glMapBuffer"); glpfUnmapBuffer = (PFNGLUNMAPBUFFER_PROC*)glfwGetProcAddress("glUnmapBuffer"); - glpfGetBufferParameteriv = (PFNGLGETBUFFERPARAMETERIV_PROC*)glfwGetProcAddress("glGetBufferParameteriv"); - glpfGetBufferPointerv = (PFNGLGETBUFFERPOINTERV_PROC*)glfwGetProcAddress("glGetBufferPointerv"); /* GL_VERSION_2_0 */ - glpfBlendEquationSeparate = (PFNGLBLENDEQUATIONSEPARATE_PROC*)glfwGetProcAddress("glBlendEquationSeparate"); - glpfDrawBuffers = (PFNGLDRAWBUFFERS_PROC*)glfwGetProcAddress("glDrawBuffers"); - glpfStencilOpSeparate = (PFNGLSTENCILOPSEPARATE_PROC*)glfwGetProcAddress("glStencilOpSeparate"); - glpfStencilFuncSeparate = (PFNGLSTENCILFUNCSEPARATE_PROC*)glfwGetProcAddress("glStencilFuncSeparate"); - glpfStencilMaskSeparate = (PFNGLSTENCILMASKSEPARATE_PROC*)glfwGetProcAddress("glStencilMaskSeparate"); glpfAttachShader = (PFNGLATTACHSHADER_PROC*)glfwGetProcAddress("glAttachShader"); glpfBindAttribLocation = (PFNGLBINDATTRIBLOCATION_PROC*)glfwGetProcAddress("glBindAttribLocation"); + glpfBlendEquationSeparate = (PFNGLBLENDEQUATIONSEPARATE_PROC*)glfwGetProcAddress("glBlendEquationSeparate"); glpfCompileShader = (PFNGLCOMPILESHADER_PROC*)glfwGetProcAddress("glCompileShader"); glpfCreateProgram = (PFNGLCREATEPROGRAM_PROC*)glfwGetProcAddress("glCreateProgram"); glpfCreateShader = (PFNGLCREATESHADER_PROC*)glfwGetProcAddress("glCreateShader"); @@ -283,47 +261,51 @@ void flextLoadOpenGLFunctions(void) glpfDeleteShader = (PFNGLDELETESHADER_PROC*)glfwGetProcAddress("glDeleteShader"); glpfDetachShader = (PFNGLDETACHSHADER_PROC*)glfwGetProcAddress("glDetachShader"); glpfDisableVertexAttribArray = (PFNGLDISABLEVERTEXATTRIBARRAY_PROC*)glfwGetProcAddress("glDisableVertexAttribArray"); + glpfDrawBuffers = (PFNGLDRAWBUFFERS_PROC*)glfwGetProcAddress("glDrawBuffers"); glpfEnableVertexAttribArray = (PFNGLENABLEVERTEXATTRIBARRAY_PROC*)glfwGetProcAddress("glEnableVertexAttribArray"); glpfGetActiveAttrib = (PFNGLGETACTIVEATTRIB_PROC*)glfwGetProcAddress("glGetActiveAttrib"); glpfGetActiveUniform = (PFNGLGETACTIVEUNIFORM_PROC*)glfwGetProcAddress("glGetActiveUniform"); glpfGetAttachedShaders = (PFNGLGETATTACHEDSHADERS_PROC*)glfwGetProcAddress("glGetAttachedShaders"); glpfGetAttribLocation = (PFNGLGETATTRIBLOCATION_PROC*)glfwGetProcAddress("glGetAttribLocation"); - glpfGetProgramiv = (PFNGLGETPROGRAMIV_PROC*)glfwGetProcAddress("glGetProgramiv"); glpfGetProgramInfoLog = (PFNGLGETPROGRAMINFOLOG_PROC*)glfwGetProcAddress("glGetProgramInfoLog"); - glpfGetShaderiv = (PFNGLGETSHADERIV_PROC*)glfwGetProcAddress("glGetShaderiv"); + glpfGetProgramiv = (PFNGLGETPROGRAMIV_PROC*)glfwGetProcAddress("glGetProgramiv"); glpfGetShaderInfoLog = (PFNGLGETSHADERINFOLOG_PROC*)glfwGetProcAddress("glGetShaderInfoLog"); glpfGetShaderSource = (PFNGLGETSHADERSOURCE_PROC*)glfwGetProcAddress("glGetShaderSource"); + glpfGetShaderiv = (PFNGLGETSHADERIV_PROC*)glfwGetProcAddress("glGetShaderiv"); glpfGetUniformLocation = (PFNGLGETUNIFORMLOCATION_PROC*)glfwGetProcAddress("glGetUniformLocation"); glpfGetUniformfv = (PFNGLGETUNIFORMFV_PROC*)glfwGetProcAddress("glGetUniformfv"); glpfGetUniformiv = (PFNGLGETUNIFORMIV_PROC*)glfwGetProcAddress("glGetUniformiv"); + glpfGetVertexAttribPointerv = (PFNGLGETVERTEXATTRIBPOINTERV_PROC*)glfwGetProcAddress("glGetVertexAttribPointerv"); glpfGetVertexAttribdv = (PFNGLGETVERTEXATTRIBDV_PROC*)glfwGetProcAddress("glGetVertexAttribdv"); glpfGetVertexAttribfv = (PFNGLGETVERTEXATTRIBFV_PROC*)glfwGetProcAddress("glGetVertexAttribfv"); glpfGetVertexAttribiv = (PFNGLGETVERTEXATTRIBIV_PROC*)glfwGetProcAddress("glGetVertexAttribiv"); - glpfGetVertexAttribPointerv = (PFNGLGETVERTEXATTRIBPOINTERV_PROC*)glfwGetProcAddress("glGetVertexAttribPointerv"); glpfIsProgram = (PFNGLISPROGRAM_PROC*)glfwGetProcAddress("glIsProgram"); glpfIsShader = (PFNGLISSHADER_PROC*)glfwGetProcAddress("glIsShader"); glpfLinkProgram = (PFNGLLINKPROGRAM_PROC*)glfwGetProcAddress("glLinkProgram"); glpfShaderSource = (PFNGLSHADERSOURCE_PROC*)glfwGetProcAddress("glShaderSource"); - glpfUseProgram = (PFNGLUSEPROGRAM_PROC*)glfwGetProcAddress("glUseProgram"); + glpfStencilFuncSeparate = (PFNGLSTENCILFUNCSEPARATE_PROC*)glfwGetProcAddress("glStencilFuncSeparate"); + glpfStencilMaskSeparate = (PFNGLSTENCILMASKSEPARATE_PROC*)glfwGetProcAddress("glStencilMaskSeparate"); + glpfStencilOpSeparate = (PFNGLSTENCILOPSEPARATE_PROC*)glfwGetProcAddress("glStencilOpSeparate"); glpfUniform1f = (PFNGLUNIFORM1F_PROC*)glfwGetProcAddress("glUniform1f"); - glpfUniform2f = (PFNGLUNIFORM2F_PROC*)glfwGetProcAddress("glUniform2f"); - glpfUniform3f = (PFNGLUNIFORM3F_PROC*)glfwGetProcAddress("glUniform3f"); - glpfUniform4f = (PFNGLUNIFORM4F_PROC*)glfwGetProcAddress("glUniform4f"); - glpfUniform1i = (PFNGLUNIFORM1I_PROC*)glfwGetProcAddress("glUniform1i"); - glpfUniform2i = (PFNGLUNIFORM2I_PROC*)glfwGetProcAddress("glUniform2i"); - glpfUniform3i = (PFNGLUNIFORM3I_PROC*)glfwGetProcAddress("glUniform3i"); - glpfUniform4i = (PFNGLUNIFORM4I_PROC*)glfwGetProcAddress("glUniform4i"); glpfUniform1fv = (PFNGLUNIFORM1FV_PROC*)glfwGetProcAddress("glUniform1fv"); - glpfUniform2fv = (PFNGLUNIFORM2FV_PROC*)glfwGetProcAddress("glUniform2fv"); - glpfUniform3fv = (PFNGLUNIFORM3FV_PROC*)glfwGetProcAddress("glUniform3fv"); - glpfUniform4fv = (PFNGLUNIFORM4FV_PROC*)glfwGetProcAddress("glUniform4fv"); + glpfUniform1i = (PFNGLUNIFORM1I_PROC*)glfwGetProcAddress("glUniform1i"); glpfUniform1iv = (PFNGLUNIFORM1IV_PROC*)glfwGetProcAddress("glUniform1iv"); + glpfUniform2f = (PFNGLUNIFORM2F_PROC*)glfwGetProcAddress("glUniform2f"); + glpfUniform2fv = (PFNGLUNIFORM2FV_PROC*)glfwGetProcAddress("glUniform2fv"); + glpfUniform2i = (PFNGLUNIFORM2I_PROC*)glfwGetProcAddress("glUniform2i"); glpfUniform2iv = (PFNGLUNIFORM2IV_PROC*)glfwGetProcAddress("glUniform2iv"); + glpfUniform3f = (PFNGLUNIFORM3F_PROC*)glfwGetProcAddress("glUniform3f"); + glpfUniform3fv = (PFNGLUNIFORM3FV_PROC*)glfwGetProcAddress("glUniform3fv"); + glpfUniform3i = (PFNGLUNIFORM3I_PROC*)glfwGetProcAddress("glUniform3i"); glpfUniform3iv = (PFNGLUNIFORM3IV_PROC*)glfwGetProcAddress("glUniform3iv"); + glpfUniform4f = (PFNGLUNIFORM4F_PROC*)glfwGetProcAddress("glUniform4f"); + glpfUniform4fv = (PFNGLUNIFORM4FV_PROC*)glfwGetProcAddress("glUniform4fv"); + glpfUniform4i = (PFNGLUNIFORM4I_PROC*)glfwGetProcAddress("glUniform4i"); glpfUniform4iv = (PFNGLUNIFORM4IV_PROC*)glfwGetProcAddress("glUniform4iv"); glpfUniformMatrix2fv = (PFNGLUNIFORMMATRIX2FV_PROC*)glfwGetProcAddress("glUniformMatrix2fv"); glpfUniformMatrix3fv = (PFNGLUNIFORMMATRIX3FV_PROC*)glfwGetProcAddress("glUniformMatrix3fv"); glpfUniformMatrix4fv = (PFNGLUNIFORMMATRIX4FV_PROC*)glfwGetProcAddress("glUniformMatrix4fv"); + glpfUseProgram = (PFNGLUSEPROGRAM_PROC*)glfwGetProcAddress("glUseProgram"); glpfValidateProgram = (PFNGLVALIDATEPROGRAM_PROC*)glfwGetProcAddress("glValidateProgram"); glpfVertexAttrib1d = (PFNGLVERTEXATTRIB1D_PROC*)glfwGetProcAddress("glVertexAttrib1d"); glpfVertexAttrib1dv = (PFNGLVERTEXATTRIB1DV_PROC*)glfwGetProcAddress("glVertexAttrib1dv"); @@ -368,6 +350,7 @@ void flextLoadOpenGLFunctions(void) /* ----------------------- Extension flag definitions ---------------------- */ int FLEXT_EXT_framebuffer_object = GL_FALSE; +int FLEXT_ARB_texture_float = GL_FALSE; int FLEXT_ARB_geometry_shader4 = GL_FALSE; int FLEXT_EXT_transform_feedback = GL_FALSE; int FLEXT_EXT_texture_filter_anisotropic = GL_FALSE; @@ -376,94 +359,63 @@ int FLEXT_EXT_texture_filter_anisotropic = GL_FALSE; /* GL_ARB_geometry_shader4 */ -PFNGLPROGRAMPARAMETERIARB_PROC* glpfProgramParameteriARB = NULL; PFNGLFRAMEBUFFERTEXTUREARB_PROC* glpfFramebufferTextureARB = NULL; -PFNGLFRAMEBUFFERTEXTURELAYERARB_PROC* glpfFramebufferTextureLayerARB = NULL; PFNGLFRAMEBUFFERTEXTUREFACEARB_PROC* glpfFramebufferTextureFaceARB = NULL; +PFNGLFRAMEBUFFERTEXTURELAYERARB_PROC* glpfFramebufferTextureLayerARB = NULL; +PFNGLPROGRAMPARAMETERIARB_PROC* glpfProgramParameteriARB = NULL; /* GL_EXT_framebuffer_object */ -PFNGLISRENDERBUFFEREXT_PROC* glpfIsRenderbufferEXT = NULL; -PFNGLBINDRENDERBUFFEREXT_PROC* glpfBindRenderbufferEXT = NULL; -PFNGLDELETERENDERBUFFERSEXT_PROC* glpfDeleteRenderbuffersEXT = NULL; -PFNGLGENRENDERBUFFERSEXT_PROC* glpfGenRenderbuffersEXT = NULL; -PFNGLRENDERBUFFERSTORAGEEXT_PROC* glpfRenderbufferStorageEXT = NULL; -PFNGLGETRENDERBUFFERPARAMETERIVEXT_PROC* glpfGetRenderbufferParameterivEXT = NULL; -PFNGLISFRAMEBUFFEREXT_PROC* glpfIsFramebufferEXT = NULL; PFNGLBINDFRAMEBUFFEREXT_PROC* glpfBindFramebufferEXT = NULL; -PFNGLDELETEFRAMEBUFFERSEXT_PROC* glpfDeleteFramebuffersEXT = NULL; -PFNGLGENFRAMEBUFFERSEXT_PROC* glpfGenFramebuffersEXT = NULL; +PFNGLBINDRENDERBUFFEREXT_PROC* glpfBindRenderbufferEXT = NULL; PFNGLCHECKFRAMEBUFFERSTATUSEXT_PROC* glpfCheckFramebufferStatusEXT = NULL; +PFNGLDELETEFRAMEBUFFERSEXT_PROC* glpfDeleteFramebuffersEXT = NULL; +PFNGLDELETERENDERBUFFERSEXT_PROC* glpfDeleteRenderbuffersEXT = NULL; +PFNGLFRAMEBUFFERRENDERBUFFEREXT_PROC* glpfFramebufferRenderbufferEXT = NULL; PFNGLFRAMEBUFFERTEXTURE1DEXT_PROC* glpfFramebufferTexture1DEXT = NULL; PFNGLFRAMEBUFFERTEXTURE2DEXT_PROC* glpfFramebufferTexture2DEXT = NULL; PFNGLFRAMEBUFFERTEXTURE3DEXT_PROC* glpfFramebufferTexture3DEXT = NULL; -PFNGLFRAMEBUFFERRENDERBUFFEREXT_PROC* glpfFramebufferRenderbufferEXT = NULL; -PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXT_PROC* glpfGetFramebufferAttachmentParameterivEXT = NULL; +PFNGLGENFRAMEBUFFERSEXT_PROC* glpfGenFramebuffersEXT = NULL; +PFNGLGENRENDERBUFFERSEXT_PROC* glpfGenRenderbuffersEXT = NULL; PFNGLGENERATEMIPMAPEXT_PROC* glpfGenerateMipmapEXT = NULL; +PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXT_PROC* glpfGetFramebufferAttachmentParameterivEXT = NULL; +PFNGLGETRENDERBUFFERPARAMETERIVEXT_PROC* glpfGetRenderbufferParameterivEXT = NULL; +PFNGLISFRAMEBUFFEREXT_PROC* glpfIsFramebufferEXT = NULL; +PFNGLISRENDERBUFFEREXT_PROC* glpfIsRenderbufferEXT = NULL; +PFNGLRENDERBUFFERSTORAGEEXT_PROC* glpfRenderbufferStorageEXT = NULL; /* GL_EXT_transform_feedback */ PFNGLBEGINTRANSFORMFEEDBACKEXT_PROC* glpfBeginTransformFeedbackEXT = NULL; -PFNGLENDTRANSFORMFEEDBACKEXT_PROC* glpfEndTransformFeedbackEXT = NULL; -PFNGLBINDBUFFERRANGEEXT_PROC* glpfBindBufferRangeEXT = NULL; -PFNGLBINDBUFFEROFFSETEXT_PROC* glpfBindBufferOffsetEXT = NULL; PFNGLBINDBUFFERBASEEXT_PROC* glpfBindBufferBaseEXT = NULL; -PFNGLTRANSFORMFEEDBACKVARYINGSEXT_PROC* glpfTransformFeedbackVaryingsEXT = NULL; +PFNGLBINDBUFFEROFFSETEXT_PROC* glpfBindBufferOffsetEXT = NULL; +PFNGLBINDBUFFERRANGEEXT_PROC* glpfBindBufferRangeEXT = NULL; +PFNGLENDTRANSFORMFEEDBACKEXT_PROC* glpfEndTransformFeedbackEXT = NULL; PFNGLGETTRANSFORMFEEDBACKVARYINGEXT_PROC* glpfGetTransformFeedbackVaryingEXT = NULL; +PFNGLTRANSFORMFEEDBACKVARYINGSEXT_PROC* glpfTransformFeedbackVaryingsEXT = NULL; /* GL_VERSION_1_2 */ -PFNGLBLENDCOLOR_PROC* glpfBlendColor = NULL; -PFNGLBLENDEQUATION_PROC* glpfBlendEquation = NULL; +PFNGLCOPYTEXSUBIMAGE3D_PROC* glpfCopyTexSubImage3D = NULL; PFNGLDRAWRANGEELEMENTS_PROC* glpfDrawRangeElements = NULL; PFNGLTEXIMAGE3D_PROC* glpfTexImage3D = NULL; PFNGLTEXSUBIMAGE3D_PROC* glpfTexSubImage3D = NULL; -PFNGLCOPYTEXSUBIMAGE3D_PROC* glpfCopyTexSubImage3D = NULL; -PFNGLCOLORTABLE_PROC* glpfColorTable = NULL; -PFNGLCOLORTABLEPARAMETERFV_PROC* glpfColorTableParameterfv = NULL; -PFNGLCOLORTABLEPARAMETERIV_PROC* glpfColorTableParameteriv = NULL; -PFNGLCOPYCOLORTABLE_PROC* glpfCopyColorTable = NULL; -PFNGLGETCOLORTABLE_PROC* glpfGetColorTable = NULL; -PFNGLGETCOLORTABLEPARAMETERFV_PROC* glpfGetColorTableParameterfv = NULL; -PFNGLGETCOLORTABLEPARAMETERIV_PROC* glpfGetColorTableParameteriv = NULL; -PFNGLCOLORSUBTABLE_PROC* glpfColorSubTable = NULL; -PFNGLCOPYCOLORSUBTABLE_PROC* glpfCopyColorSubTable = NULL; -PFNGLCONVOLUTIONFILTER1D_PROC* glpfConvolutionFilter1D = NULL; -PFNGLCONVOLUTIONFILTER2D_PROC* glpfConvolutionFilter2D = NULL; -PFNGLCONVOLUTIONPARAMETERF_PROC* glpfConvolutionParameterf = NULL; -PFNGLCONVOLUTIONPARAMETERFV_PROC* glpfConvolutionParameterfv = NULL; -PFNGLCONVOLUTIONPARAMETERI_PROC* glpfConvolutionParameteri = NULL; -PFNGLCONVOLUTIONPARAMETERIV_PROC* glpfConvolutionParameteriv = NULL; -PFNGLCOPYCONVOLUTIONFILTER1D_PROC* glpfCopyConvolutionFilter1D = NULL; -PFNGLCOPYCONVOLUTIONFILTER2D_PROC* glpfCopyConvolutionFilter2D = NULL; -PFNGLGETCONVOLUTIONFILTER_PROC* glpfGetConvolutionFilter = NULL; -PFNGLGETCONVOLUTIONPARAMETERFV_PROC* glpfGetConvolutionParameterfv = NULL; -PFNGLGETCONVOLUTIONPARAMETERIV_PROC* glpfGetConvolutionParameteriv = NULL; -PFNGLGETSEPARABLEFILTER_PROC* glpfGetSeparableFilter = NULL; -PFNGLSEPARABLEFILTER2D_PROC* glpfSeparableFilter2D = NULL; -PFNGLGETHISTOGRAM_PROC* glpfGetHistogram = NULL; -PFNGLGETHISTOGRAMPARAMETERFV_PROC* glpfGetHistogramParameterfv = NULL; -PFNGLGETHISTOGRAMPARAMETERIV_PROC* glpfGetHistogramParameteriv = NULL; -PFNGLGETMINMAX_PROC* glpfGetMinmax = NULL; -PFNGLGETMINMAXPARAMETERFV_PROC* glpfGetMinmaxParameterfv = NULL; -PFNGLGETMINMAXPARAMETERIV_PROC* glpfGetMinmaxParameteriv = NULL; -PFNGLHISTOGRAM_PROC* glpfHistogram = NULL; -PFNGLMINMAX_PROC* glpfMinmax = NULL; -PFNGLRESETHISTOGRAM_PROC* glpfResetHistogram = NULL; -PFNGLRESETMINMAX_PROC* glpfResetMinmax = NULL; /* GL_VERSION_1_3 */ PFNGLACTIVETEXTURE_PROC* glpfActiveTexture = NULL; -PFNGLSAMPLECOVERAGE_PROC* glpfSampleCoverage = NULL; -PFNGLCOMPRESSEDTEXIMAGE3D_PROC* glpfCompressedTexImage3D = NULL; -PFNGLCOMPRESSEDTEXIMAGE2D_PROC* glpfCompressedTexImage2D = NULL; +PFNGLCLIENTACTIVETEXTURE_PROC* glpfClientActiveTexture = NULL; PFNGLCOMPRESSEDTEXIMAGE1D_PROC* glpfCompressedTexImage1D = NULL; -PFNGLCOMPRESSEDTEXSUBIMAGE3D_PROC* glpfCompressedTexSubImage3D = NULL; -PFNGLCOMPRESSEDTEXSUBIMAGE2D_PROC* glpfCompressedTexSubImage2D = NULL; +PFNGLCOMPRESSEDTEXIMAGE2D_PROC* glpfCompressedTexImage2D = NULL; +PFNGLCOMPRESSEDTEXIMAGE3D_PROC* glpfCompressedTexImage3D = NULL; PFNGLCOMPRESSEDTEXSUBIMAGE1D_PROC* glpfCompressedTexSubImage1D = NULL; +PFNGLCOMPRESSEDTEXSUBIMAGE2D_PROC* glpfCompressedTexSubImage2D = NULL; +PFNGLCOMPRESSEDTEXSUBIMAGE3D_PROC* glpfCompressedTexSubImage3D = NULL; PFNGLGETCOMPRESSEDTEXIMAGE_PROC* glpfGetCompressedTexImage = NULL; -PFNGLCLIENTACTIVETEXTURE_PROC* glpfClientActiveTexture = NULL; +PFNGLLOADTRANSPOSEMATRIXD_PROC* glpfLoadTransposeMatrixd = NULL; +PFNGLLOADTRANSPOSEMATRIXF_PROC* glpfLoadTransposeMatrixf = NULL; +PFNGLMULTTRANSPOSEMATRIXD_PROC* glpfMultTransposeMatrixd = NULL; +PFNGLMULTTRANSPOSEMATRIXF_PROC* glpfMultTransposeMatrixf = NULL; PFNGLMULTITEXCOORD1D_PROC* glpfMultiTexCoord1d = NULL; PFNGLMULTITEXCOORD1DV_PROC* glpfMultiTexCoord1dv = NULL; PFNGLMULTITEXCOORD1F_PROC* glpfMultiTexCoord1f = NULL; @@ -496,25 +448,24 @@ PFNGLMULTITEXCOORD4I_PROC* glpfMultiTexCoord4i = NULL; PFNGLMULTITEXCOORD4IV_PROC* glpfMultiTexCoord4iv = NULL; PFNGLMULTITEXCOORD4S_PROC* glpfMultiTexCoord4s = NULL; PFNGLMULTITEXCOORD4SV_PROC* glpfMultiTexCoord4sv = NULL; -PFNGLLOADTRANSPOSEMATRIXF_PROC* glpfLoadTransposeMatrixf = NULL; -PFNGLLOADTRANSPOSEMATRIXD_PROC* glpfLoadTransposeMatrixd = NULL; -PFNGLMULTTRANSPOSEMATRIXF_PROC* glpfMultTransposeMatrixf = NULL; -PFNGLMULTTRANSPOSEMATRIXD_PROC* glpfMultTransposeMatrixd = NULL; +PFNGLSAMPLECOVERAGE_PROC* glpfSampleCoverage = NULL; /* GL_VERSION_1_4 */ +PFNGLBLENDCOLOR_PROC* glpfBlendColor = NULL; +PFNGLBLENDEQUATION_PROC* glpfBlendEquation = NULL; PFNGLBLENDFUNCSEPARATE_PROC* glpfBlendFuncSeparate = NULL; +PFNGLFOGCOORDPOINTER_PROC* glpfFogCoordPointer = NULL; +PFNGLFOGCOORDD_PROC* glpfFogCoordd = NULL; +PFNGLFOGCOORDDV_PROC* glpfFogCoorddv = NULL; +PFNGLFOGCOORDF_PROC* glpfFogCoordf = NULL; +PFNGLFOGCOORDFV_PROC* glpfFogCoordfv = NULL; PFNGLMULTIDRAWARRAYS_PROC* glpfMultiDrawArrays = NULL; PFNGLMULTIDRAWELEMENTS_PROC* glpfMultiDrawElements = NULL; PFNGLPOINTPARAMETERF_PROC* glpfPointParameterf = NULL; PFNGLPOINTPARAMETERFV_PROC* glpfPointParameterfv = NULL; PFNGLPOINTPARAMETERI_PROC* glpfPointParameteri = NULL; PFNGLPOINTPARAMETERIV_PROC* glpfPointParameteriv = NULL; -PFNGLFOGCOORDF_PROC* glpfFogCoordf = NULL; -PFNGLFOGCOORDFV_PROC* glpfFogCoordfv = NULL; -PFNGLFOGCOORDD_PROC* glpfFogCoordd = NULL; -PFNGLFOGCOORDDV_PROC* glpfFogCoorddv = NULL; -PFNGLFOGCOORDPOINTER_PROC* glpfFogCoordPointer = NULL; PFNGLSECONDARYCOLOR3B_PROC* glpfSecondaryColor3b = NULL; PFNGLSECONDARYCOLOR3BV_PROC* glpfSecondaryColor3bv = NULL; PFNGLSECONDARYCOLOR3D_PROC* glpfSecondaryColor3d = NULL; @@ -551,35 +502,31 @@ PFNGLWINDOWPOS3SV_PROC* glpfWindowPos3sv = NULL; /* GL_VERSION_1_5 */ -PFNGLGENQUERIES_PROC* glpfGenQueries = NULL; -PFNGLDELETEQUERIES_PROC* glpfDeleteQueries = NULL; -PFNGLISQUERY_PROC* glpfIsQuery = NULL; PFNGLBEGINQUERY_PROC* glpfBeginQuery = NULL; -PFNGLENDQUERY_PROC* glpfEndQuery = NULL; -PFNGLGETQUERYIV_PROC* glpfGetQueryiv = NULL; -PFNGLGETQUERYOBJECTIV_PROC* glpfGetQueryObjectiv = NULL; -PFNGLGETQUERYOBJECTUIV_PROC* glpfGetQueryObjectuiv = NULL; PFNGLBINDBUFFER_PROC* glpfBindBuffer = NULL; -PFNGLDELETEBUFFERS_PROC* glpfDeleteBuffers = NULL; -PFNGLGENBUFFERS_PROC* glpfGenBuffers = NULL; -PFNGLISBUFFER_PROC* glpfIsBuffer = NULL; PFNGLBUFFERDATA_PROC* glpfBufferData = NULL; PFNGLBUFFERSUBDATA_PROC* glpfBufferSubData = NULL; +PFNGLDELETEBUFFERS_PROC* glpfDeleteBuffers = NULL; +PFNGLDELETEQUERIES_PROC* glpfDeleteQueries = NULL; +PFNGLENDQUERY_PROC* glpfEndQuery = NULL; +PFNGLGENBUFFERS_PROC* glpfGenBuffers = NULL; +PFNGLGENQUERIES_PROC* glpfGenQueries = NULL; +PFNGLGETBUFFERPARAMETERIV_PROC* glpfGetBufferParameteriv = NULL; +PFNGLGETBUFFERPOINTERV_PROC* glpfGetBufferPointerv = NULL; PFNGLGETBUFFERSUBDATA_PROC* glpfGetBufferSubData = NULL; +PFNGLGETQUERYOBJECTIV_PROC* glpfGetQueryObjectiv = NULL; +PFNGLGETQUERYOBJECTUIV_PROC* glpfGetQueryObjectuiv = NULL; +PFNGLGETQUERYIV_PROC* glpfGetQueryiv = NULL; +PFNGLISBUFFER_PROC* glpfIsBuffer = NULL; +PFNGLISQUERY_PROC* glpfIsQuery = NULL; PFNGLMAPBUFFER_PROC* glpfMapBuffer = NULL; PFNGLUNMAPBUFFER_PROC* glpfUnmapBuffer = NULL; -PFNGLGETBUFFERPARAMETERIV_PROC* glpfGetBufferParameteriv = NULL; -PFNGLGETBUFFERPOINTERV_PROC* glpfGetBufferPointerv = NULL; /* GL_VERSION_2_0 */ -PFNGLBLENDEQUATIONSEPARATE_PROC* glpfBlendEquationSeparate = NULL; -PFNGLDRAWBUFFERS_PROC* glpfDrawBuffers = NULL; -PFNGLSTENCILOPSEPARATE_PROC* glpfStencilOpSeparate = NULL; -PFNGLSTENCILFUNCSEPARATE_PROC* glpfStencilFuncSeparate = NULL; -PFNGLSTENCILMASKSEPARATE_PROC* glpfStencilMaskSeparate = NULL; PFNGLATTACHSHADER_PROC* glpfAttachShader = NULL; PFNGLBINDATTRIBLOCATION_PROC* glpfBindAttribLocation = NULL; +PFNGLBLENDEQUATIONSEPARATE_PROC* glpfBlendEquationSeparate = NULL; PFNGLCOMPILESHADER_PROC* glpfCompileShader = NULL; PFNGLCREATEPROGRAM_PROC* glpfCreateProgram = NULL; PFNGLCREATESHADER_PROC* glpfCreateShader = NULL; @@ -587,47 +534,51 @@ PFNGLDELETEPROGRAM_PROC* glpfDeleteProgram = NULL; PFNGLDELETESHADER_PROC* glpfDeleteShader = NULL; PFNGLDETACHSHADER_PROC* glpfDetachShader = NULL; PFNGLDISABLEVERTEXATTRIBARRAY_PROC* glpfDisableVertexAttribArray = NULL; +PFNGLDRAWBUFFERS_PROC* glpfDrawBuffers = NULL; PFNGLENABLEVERTEXATTRIBARRAY_PROC* glpfEnableVertexAttribArray = NULL; PFNGLGETACTIVEATTRIB_PROC* glpfGetActiveAttrib = NULL; PFNGLGETACTIVEUNIFORM_PROC* glpfGetActiveUniform = NULL; PFNGLGETATTACHEDSHADERS_PROC* glpfGetAttachedShaders = NULL; PFNGLGETATTRIBLOCATION_PROC* glpfGetAttribLocation = NULL; -PFNGLGETPROGRAMIV_PROC* glpfGetProgramiv = NULL; PFNGLGETPROGRAMINFOLOG_PROC* glpfGetProgramInfoLog = NULL; -PFNGLGETSHADERIV_PROC* glpfGetShaderiv = NULL; +PFNGLGETPROGRAMIV_PROC* glpfGetProgramiv = NULL; PFNGLGETSHADERINFOLOG_PROC* glpfGetShaderInfoLog = NULL; PFNGLGETSHADERSOURCE_PROC* glpfGetShaderSource = NULL; +PFNGLGETSHADERIV_PROC* glpfGetShaderiv = NULL; PFNGLGETUNIFORMLOCATION_PROC* glpfGetUniformLocation = NULL; PFNGLGETUNIFORMFV_PROC* glpfGetUniformfv = NULL; PFNGLGETUNIFORMIV_PROC* glpfGetUniformiv = NULL; +PFNGLGETVERTEXATTRIBPOINTERV_PROC* glpfGetVertexAttribPointerv = NULL; PFNGLGETVERTEXATTRIBDV_PROC* glpfGetVertexAttribdv = NULL; PFNGLGETVERTEXATTRIBFV_PROC* glpfGetVertexAttribfv = NULL; PFNGLGETVERTEXATTRIBIV_PROC* glpfGetVertexAttribiv = NULL; -PFNGLGETVERTEXATTRIBPOINTERV_PROC* glpfGetVertexAttribPointerv = NULL; PFNGLISPROGRAM_PROC* glpfIsProgram = NULL; PFNGLISSHADER_PROC* glpfIsShader = NULL; PFNGLLINKPROGRAM_PROC* glpfLinkProgram = NULL; PFNGLSHADERSOURCE_PROC* glpfShaderSource = NULL; -PFNGLUSEPROGRAM_PROC* glpfUseProgram = NULL; +PFNGLSTENCILFUNCSEPARATE_PROC* glpfStencilFuncSeparate = NULL; +PFNGLSTENCILMASKSEPARATE_PROC* glpfStencilMaskSeparate = NULL; +PFNGLSTENCILOPSEPARATE_PROC* glpfStencilOpSeparate = NULL; PFNGLUNIFORM1F_PROC* glpfUniform1f = NULL; -PFNGLUNIFORM2F_PROC* glpfUniform2f = NULL; -PFNGLUNIFORM3F_PROC* glpfUniform3f = NULL; -PFNGLUNIFORM4F_PROC* glpfUniform4f = NULL; -PFNGLUNIFORM1I_PROC* glpfUniform1i = NULL; -PFNGLUNIFORM2I_PROC* glpfUniform2i = NULL; -PFNGLUNIFORM3I_PROC* glpfUniform3i = NULL; -PFNGLUNIFORM4I_PROC* glpfUniform4i = NULL; PFNGLUNIFORM1FV_PROC* glpfUniform1fv = NULL; -PFNGLUNIFORM2FV_PROC* glpfUniform2fv = NULL; -PFNGLUNIFORM3FV_PROC* glpfUniform3fv = NULL; -PFNGLUNIFORM4FV_PROC* glpfUniform4fv = NULL; +PFNGLUNIFORM1I_PROC* glpfUniform1i = NULL; PFNGLUNIFORM1IV_PROC* glpfUniform1iv = NULL; +PFNGLUNIFORM2F_PROC* glpfUniform2f = NULL; +PFNGLUNIFORM2FV_PROC* glpfUniform2fv = NULL; +PFNGLUNIFORM2I_PROC* glpfUniform2i = NULL; PFNGLUNIFORM2IV_PROC* glpfUniform2iv = NULL; +PFNGLUNIFORM3F_PROC* glpfUniform3f = NULL; +PFNGLUNIFORM3FV_PROC* glpfUniform3fv = NULL; +PFNGLUNIFORM3I_PROC* glpfUniform3i = NULL; PFNGLUNIFORM3IV_PROC* glpfUniform3iv = NULL; +PFNGLUNIFORM4F_PROC* glpfUniform4f = NULL; +PFNGLUNIFORM4FV_PROC* glpfUniform4fv = NULL; +PFNGLUNIFORM4I_PROC* glpfUniform4i = NULL; PFNGLUNIFORM4IV_PROC* glpfUniform4iv = NULL; PFNGLUNIFORMMATRIX2FV_PROC* glpfUniformMatrix2fv = NULL; PFNGLUNIFORMMATRIX3FV_PROC* glpfUniformMatrix3fv = NULL; PFNGLUNIFORMMATRIX4FV_PROC* glpfUniformMatrix4fv = NULL; +PFNGLUSEPROGRAM_PROC* glpfUseProgram = NULL; PFNGLVALIDATEPROGRAM_PROC* glpfValidateProgram = NULL; PFNGLVERTEXATTRIB1D_PROC* glpfVertexAttrib1d = NULL; PFNGLVERTEXATTRIB1DV_PROC* glpfVertexAttrib1dv = NULL; diff --git a/external/flextGL/flextGL.h b/external/flextGL/flextGL.h index 747389a..7a6103f 100644 --- a/external/flextGL/flextGL.h +++ b/external/flextGL/flextGL.h @@ -30,6072 +30,1557 @@ extern "C" { /* -------------------------------- DATA TYPES ------------------------------- */ -typedef unsigned int GLenum; -typedef unsigned char GLboolean; -typedef unsigned int GLbitfield; -typedef void GLvoid; -typedef signed char GLbyte; /* 1-byte signed */ -typedef short GLshort; /* 2-byte signed */ -typedef int GLint; /* 4-byte signed */ -typedef unsigned char GLubyte; /* 1-byte unsigned */ -typedef unsigned short GLushort; /* 2-byte unsigned */ -typedef unsigned int GLuint; /* 4-byte unsigned */ -typedef int GLsizei; /* 4-byte signed */ -typedef float GLfloat; /* single precision float */ -typedef float GLclampf; /* single precision float in [0,1] */ -typedef double GLdouble; /* double precision float */ -typedef double GLclampd; /* double precision float in [0,1] */ - -/* --------------------------------- PASSTHRU -------------------------------- */ - #include -#ifndef GL_VERSION_2_0 +typedef unsigned int GLenum; +typedef unsigned char GLboolean; +typedef unsigned int GLbitfield; +typedef void GLvoid; +typedef signed char GLbyte; +typedef short GLshort; +typedef int GLint; +typedef unsigned char GLubyte; +typedef unsigned short GLushort; +typedef unsigned int GLuint; +typedef int GLsizei; +typedef float GLfloat; +typedef float GLclampf; +typedef double GLdouble; +typedef double GLclampd; typedef char GLchar; -#endif -#ifndef GL_VERSION_1_5 typedef ptrdiff_t GLintptr; typedef ptrdiff_t GLsizeiptr; -#endif -#ifndef GL_ARB_vertex_buffer_object -typedef ptrdiff_t GLintptrARB; -typedef ptrdiff_t GLsizeiptrARB; -#endif -#ifndef GL_ARB_shader_objects -typedef char GLcharARB; -typedef unsigned int GLhandleARB; -#endif -#ifndef GL_ARB_half_float_pixel -typedef unsigned short GLhalfARB; -#endif -#ifndef GL_NV_half_float -typedef unsigned short GLhalfNV; -#endif -#ifndef GLEXT_64_TYPES_DEFINED -#define GLEXT_64_TYPES_DEFINED -#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L -#include -#elif defined(__sun__) || defined(__digital__) -#include -#if defined(__STDC__) -#if defined(__arch64__) || defined(_LP64) -typedef long int int64_t; -typedef unsigned long int uint64_t; -#else -typedef long long int int64_t; -typedef unsigned long long int uint64_t; -#endif /* __arch64__ */ -#endif /* __STDC__ */ -#elif defined( __VMS ) || defined(__sgi) -#include -#elif defined(__SCO__) || defined(__USLC__) -#include -#elif defined(__UNIXOS2__) || defined(__SOL64__) -typedef long int int32_t; -typedef long long int int64_t; -typedef unsigned long long int uint64_t; -#elif defined(_WIN32) && defined(__GNUC__) -#include -#elif defined(_WIN32) -typedef __int32 int32_t; -typedef __int64 int64_t; -typedef unsigned __int64 uint64_t; -#else -#include -#endif -#endif -#ifndef GL_EXT_timer_query -typedef int64_t GLint64EXT; -typedef uint64_t GLuint64EXT; -#endif -#ifndef GL_ARB_sync -typedef int64_t GLint64; -typedef uint64_t GLuint64; -typedef struct __GLsync *GLsync; -#endif -#ifndef GL_ARB_cl_event -struct _cl_context; -struct _cl_event; -#endif -#ifndef GL_ARB_debug_output -typedef void (APIENTRY *GLDEBUGPROCARB)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,GLvoid *userParam); -#endif -#ifndef GL_AMD_debug_output -typedef void (APIENTRY *GLDEBUGPROCAMD)(GLuint id,GLenum category,GLenum severity,GLsizei length,const GLchar *message,GLvoid *userParam); -#endif -#ifndef GL_KHR_debug -typedef void (APIENTRY *GLDEBUGPROC)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,GLvoid *userParam); -#endif -#ifndef GL_NV_vdpau_interop -typedef GLintptr GLvdpauSurfaceNV; -#endif -#ifndef GL_OES_fixed_point -typedef GLint GLfixed; -#endif -/* This is really a WGL extension, but defines some associated GL enums. - * ATI does not export "GL_ATI_pixel_format_float" in the GL_EXTENSIONS string. - */ - /* ----------------------------------- ENUMS --------------------------------- */ - /* GL_VERSION_1_1 */ -#define GL_DEPTH_BUFFER_BIT 0x00000100 -#define GL_STENCIL_BUFFER_BIT 0x00000400 -#define GL_COLOR_BUFFER_BIT 0x00004000 -#define GL_FALSE 0 -#define GL_TRUE 1 -#define GL_POINTS 0x0000 -#define GL_LINES 0x0001 -#define GL_LINE_LOOP 0x0002 -#define GL_LINE_STRIP 0x0003 -#define GL_TRIANGLES 0x0004 -#define GL_TRIANGLE_STRIP 0x0005 -#define GL_TRIANGLE_FAN 0x0006 -#define GL_QUADS 0x0007 -#define GL_NEVER 0x0200 -#define GL_LESS 0x0201 -#define GL_EQUAL 0x0202 -#define GL_LEQUAL 0x0203 -#define GL_GREATER 0x0204 -#define GL_NOTEQUAL 0x0205 -#define GL_GEQUAL 0x0206 -#define GL_ALWAYS 0x0207 -#define GL_ZERO 0 -#define GL_ONE 1 -#define GL_SRC_COLOR 0x0300 -#define GL_ONE_MINUS_SRC_COLOR 0x0301 -#define GL_SRC_ALPHA 0x0302 -#define GL_ONE_MINUS_SRC_ALPHA 0x0303 -#define GL_DST_ALPHA 0x0304 -#define GL_ONE_MINUS_DST_ALPHA 0x0305 -#define GL_DST_COLOR 0x0306 -#define GL_ONE_MINUS_DST_COLOR 0x0307 -#define GL_SRC_ALPHA_SATURATE 0x0308 -#define GL_NONE 0 -#define GL_FRONT_LEFT 0x0400 -#define GL_FRONT_RIGHT 0x0401 -#define GL_BACK_LEFT 0x0402 -#define GL_BACK_RIGHT 0x0403 -#define GL_FRONT 0x0404 -#define GL_BACK 0x0405 -#define GL_LEFT 0x0406 -#define GL_RIGHT 0x0407 -#define GL_FRONT_AND_BACK 0x0408 -#define GL_NO_ERROR 0 -#define GL_INVALID_ENUM 0x0500 -#define GL_INVALID_VALUE 0x0501 -#define GL_INVALID_OPERATION 0x0502 -#define GL_OUT_OF_MEMORY 0x0505 -#define GL_CW 0x0900 -#define GL_CCW 0x0901 -#define GL_POINT_SIZE 0x0B11 -#define GL_POINT_SIZE_RANGE 0x0B12 -#define GL_POINT_SIZE_GRANULARITY 0x0B13 -#define GL_LINE_SMOOTH 0x0B20 -#define GL_LINE_WIDTH 0x0B21 -#define GL_LINE_WIDTH_RANGE 0x0B22 -#define GL_LINE_WIDTH_GRANULARITY 0x0B23 -#define GL_POLYGON_MODE 0x0B40 -#define GL_POLYGON_SMOOTH 0x0B41 -#define GL_CULL_FACE 0x0B44 -#define GL_CULL_FACE_MODE 0x0B45 -#define GL_FRONT_FACE 0x0B46 -#define GL_DEPTH_RANGE 0x0B70 -#define GL_DEPTH_TEST 0x0B71 -#define GL_DEPTH_WRITEMASK 0x0B72 -#define GL_DEPTH_CLEAR_VALUE 0x0B73 -#define GL_DEPTH_FUNC 0x0B74 -#define GL_STENCIL_TEST 0x0B90 -#define GL_STENCIL_CLEAR_VALUE 0x0B91 -#define GL_STENCIL_FUNC 0x0B92 -#define GL_STENCIL_VALUE_MASK 0x0B93 -#define GL_STENCIL_FAIL 0x0B94 -#define GL_STENCIL_PASS_DEPTH_FAIL 0x0B95 -#define GL_STENCIL_PASS_DEPTH_PASS 0x0B96 -#define GL_STENCIL_REF 0x0B97 -#define GL_STENCIL_WRITEMASK 0x0B98 -#define GL_VIEWPORT 0x0BA2 -#define GL_DITHER 0x0BD0 -#define GL_BLEND_DST 0x0BE0 -#define GL_BLEND_SRC 0x0BE1 -#define GL_BLEND 0x0BE2 -#define GL_LOGIC_OP_MODE 0x0BF0 -#define GL_COLOR_LOGIC_OP 0x0BF2 -#define GL_DRAW_BUFFER 0x0C01 -#define GL_READ_BUFFER 0x0C02 -#define GL_SCISSOR_BOX 0x0C10 -#define GL_SCISSOR_TEST 0x0C11 -#define GL_COLOR_CLEAR_VALUE 0x0C22 -#define GL_COLOR_WRITEMASK 0x0C23 -#define GL_DOUBLEBUFFER 0x0C32 -#define GL_STEREO 0x0C33 -#define GL_LINE_SMOOTH_HINT 0x0C52 -#define GL_POLYGON_SMOOTH_HINT 0x0C53 -#define GL_UNPACK_SWAP_BYTES 0x0CF0 -#define GL_UNPACK_LSB_FIRST 0x0CF1 -#define GL_UNPACK_ROW_LENGTH 0x0CF2 -#define GL_UNPACK_SKIP_ROWS 0x0CF3 -#define GL_UNPACK_SKIP_PIXELS 0x0CF4 -#define GL_UNPACK_ALIGNMENT 0x0CF5 -#define GL_PACK_SWAP_BYTES 0x0D00 -#define GL_PACK_LSB_FIRST 0x0D01 -#define GL_PACK_ROW_LENGTH 0x0D02 -#define GL_PACK_SKIP_ROWS 0x0D03 -#define GL_PACK_SKIP_PIXELS 0x0D04 -#define GL_PACK_ALIGNMENT 0x0D05 -#define GL_MAX_TEXTURE_SIZE 0x0D33 -#define GL_MAX_VIEWPORT_DIMS 0x0D3A -#define GL_SUBPIXEL_BITS 0x0D50 -#define GL_TEXTURE_1D 0x0DE0 -#define GL_TEXTURE_2D 0x0DE1 -#define GL_POLYGON_OFFSET_UNITS 0x2A00 -#define GL_POLYGON_OFFSET_POINT 0x2A01 -#define GL_POLYGON_OFFSET_LINE 0x2A02 -#define GL_POLYGON_OFFSET_FILL 0x8037 -#define GL_POLYGON_OFFSET_FACTOR 0x8038 -#define GL_TEXTURE_BINDING_1D 0x8068 -#define GL_TEXTURE_BINDING_2D 0x8069 -#define GL_TEXTURE_WIDTH 0x1000 -#define GL_TEXTURE_HEIGHT 0x1001 -#define GL_TEXTURE_INTERNAL_FORMAT 0x1003 -#define GL_TEXTURE_BORDER_COLOR 0x1004 -#define GL_TEXTURE_RED_SIZE 0x805C -#define GL_TEXTURE_GREEN_SIZE 0x805D -#define GL_TEXTURE_BLUE_SIZE 0x805E -#define GL_TEXTURE_ALPHA_SIZE 0x805F -#define GL_DONT_CARE 0x1100 -#define GL_FASTEST 0x1101 -#define GL_NICEST 0x1102 -#define GL_BYTE 0x1400 -#define GL_UNSIGNED_BYTE 0x1401 -#define GL_SHORT 0x1402 -#define GL_UNSIGNED_SHORT 0x1403 -#define GL_INT 0x1404 -#define GL_UNSIGNED_INT 0x1405 -#define GL_FLOAT 0x1406 -#define GL_DOUBLE 0x140A -#define GL_STACK_OVERFLOW 0x0503 -#define GL_STACK_UNDERFLOW 0x0504 -#define GL_CLEAR 0x1500 -#define GL_AND 0x1501 -#define GL_AND_REVERSE 0x1502 -#define GL_COPY 0x1503 -#define GL_AND_INVERTED 0x1504 -#define GL_NOOP 0x1505 -#define GL_XOR 0x1506 -#define GL_OR 0x1507 -#define GL_NOR 0x1508 -#define GL_EQUIV 0x1509 -#define GL_INVERT 0x150A -#define GL_OR_REVERSE 0x150B -#define GL_COPY_INVERTED 0x150C -#define GL_OR_INVERTED 0x150D -#define GL_NAND 0x150E -#define GL_SET 0x150F -#define GL_TEXTURE 0x1702 -#define GL_COLOR 0x1800 -#define GL_DEPTH 0x1801 -#define GL_STENCIL 0x1802 -#define GL_STENCIL_INDEX 0x1901 -#define GL_DEPTH_COMPONENT 0x1902 -#define GL_RED 0x1903 -#define GL_GREEN 0x1904 -#define GL_BLUE 0x1905 -#define GL_ALPHA 0x1906 -#define GL_RGB 0x1907 -#define GL_RGBA 0x1908 -#define GL_POINT 0x1B00 -#define GL_LINE 0x1B01 -#define GL_FILL 0x1B02 -#define GL_KEEP 0x1E00 -#define GL_REPLACE 0x1E01 -#define GL_INCR 0x1E02 -#define GL_DECR 0x1E03 -#define GL_VENDOR 0x1F00 -#define GL_RENDERER 0x1F01 -#define GL_VERSION 0x1F02 -#define GL_EXTENSIONS 0x1F03 -#define GL_NEAREST 0x2600 -#define GL_LINEAR 0x2601 -#define GL_NEAREST_MIPMAP_NEAREST 0x2700 -#define GL_LINEAR_MIPMAP_NEAREST 0x2701 -#define GL_NEAREST_MIPMAP_LINEAR 0x2702 -#define GL_LINEAR_MIPMAP_LINEAR 0x2703 -#define GL_TEXTURE_MAG_FILTER 0x2800 -#define GL_TEXTURE_MIN_FILTER 0x2801 -#define GL_TEXTURE_WRAP_S 0x2802 -#define GL_TEXTURE_WRAP_T 0x2803 -#define GL_PROXY_TEXTURE_1D 0x8063 -#define GL_PROXY_TEXTURE_2D 0x8064 -#define GL_REPEAT 0x2901 -#define GL_R3_G3_B2 0x2A10 -#define GL_RGB4 0x804F -#define GL_RGB5 0x8050 -#define GL_RGB8 0x8051 -#define GL_RGB10 0x8052 -#define GL_RGB12 0x8053 -#define GL_RGB16 0x8054 -#define GL_RGBA2 0x8055 -#define GL_RGBA4 0x8056 -#define GL_RGB5_A1 0x8057 -#define GL_RGBA8 0x8058 -#define GL_RGB10_A2 0x8059 -#define GL_RGBA12 0x805A -#define GL_RGBA16 0x805B -#define GL_CURRENT_BIT 0x00000001 -#define GL_POINT_BIT 0x00000002 -#define GL_LINE_BIT 0x00000004 -#define GL_POLYGON_BIT 0x00000008 -#define GL_POLYGON_STIPPLE_BIT 0x00000010 -#define GL_PIXEL_MODE_BIT 0x00000020 -#define GL_LIGHTING_BIT 0x00000040 -#define GL_FOG_BIT 0x00000080 -#define GL_ACCUM_BUFFER_BIT 0x00000200 -#define GL_VIEWPORT_BIT 0x00000800 -#define GL_TRANSFORM_BIT 0x00001000 -#define GL_ENABLE_BIT 0x00002000 -#define GL_HINT_BIT 0x00008000 -#define GL_EVAL_BIT 0x00010000 -#define GL_LIST_BIT 0x00020000 -#define GL_TEXTURE_BIT 0x00040000 -#define GL_SCISSOR_BIT 0x00080000 -#define GL_ALL_ATTRIB_BITS 0xFFFFFFFF -#define GL_CLIENT_PIXEL_STORE_BIT 0x00000001 -#define GL_CLIENT_VERTEX_ARRAY_BIT 0x00000002 -#define GL_CLIENT_ALL_ATTRIB_BITS 0xFFFFFFFF -#define GL_QUAD_STRIP 0x0008 -#define GL_POLYGON 0x0009 -#define GL_ACCUM 0x0100 -#define GL_LOAD 0x0101 -#define GL_RETURN 0x0102 -#define GL_MULT 0x0103 -#define GL_ADD 0x0104 -#define GL_AUX0 0x0409 -#define GL_AUX1 0x040A -#define GL_AUX2 0x040B -#define GL_AUX3 0x040C -#define GL_2D 0x0600 -#define GL_3D 0x0601 -#define GL_3D_COLOR 0x0602 -#define GL_3D_COLOR_TEXTURE 0x0603 -#define GL_4D_COLOR_TEXTURE 0x0604 -#define GL_PASS_THROUGH_TOKEN 0x0700 -#define GL_POINT_TOKEN 0x0701 -#define GL_LINE_TOKEN 0x0702 -#define GL_POLYGON_TOKEN 0x0703 -#define GL_BITMAP_TOKEN 0x0704 -#define GL_DRAW_PIXEL_TOKEN 0x0705 -#define GL_COPY_PIXEL_TOKEN 0x0706 -#define GL_LINE_RESET_TOKEN 0x0707 -#define GL_EXP 0x0800 -#define GL_EXP2 0x0801 -#define GL_COEFF 0x0A00 -#define GL_ORDER 0x0A01 -#define GL_DOMAIN 0x0A02 -#define GL_PIXEL_MAP_I_TO_I 0x0C70 -#define GL_PIXEL_MAP_S_TO_S 0x0C71 -#define GL_PIXEL_MAP_I_TO_R 0x0C72 -#define GL_PIXEL_MAP_I_TO_G 0x0C73 -#define GL_PIXEL_MAP_I_TO_B 0x0C74 -#define GL_PIXEL_MAP_I_TO_A 0x0C75 -#define GL_PIXEL_MAP_R_TO_R 0x0C76 -#define GL_PIXEL_MAP_G_TO_G 0x0C77 -#define GL_PIXEL_MAP_B_TO_B 0x0C78 -#define GL_PIXEL_MAP_A_TO_A 0x0C79 -#define GL_VERTEX_ARRAY_POINTER 0x808E -#define GL_NORMAL_ARRAY_POINTER 0x808F -#define GL_COLOR_ARRAY_POINTER 0x8090 -#define GL_INDEX_ARRAY_POINTER 0x8091 -#define GL_TEXTURE_COORD_ARRAY_POINTER 0x8092 -#define GL_EDGE_FLAG_ARRAY_POINTER 0x8093 -#define GL_FEEDBACK_BUFFER_POINTER 0x0DF0 -#define GL_SELECTION_BUFFER_POINTER 0x0DF3 -#define GL_CURRENT_COLOR 0x0B00 -#define GL_CURRENT_INDEX 0x0B01 -#define GL_CURRENT_NORMAL 0x0B02 -#define GL_CURRENT_TEXTURE_COORDS 0x0B03 -#define GL_CURRENT_RASTER_COLOR 0x0B04 -#define GL_CURRENT_RASTER_INDEX 0x0B05 -#define GL_CURRENT_RASTER_TEXTURE_COORDS 0x0B06 -#define GL_CURRENT_RASTER_POSITION 0x0B07 -#define GL_CURRENT_RASTER_POSITION_VALID 0x0B08 -#define GL_CURRENT_RASTER_DISTANCE 0x0B09 -#define GL_POINT_SMOOTH 0x0B10 -#define GL_LINE_STIPPLE 0x0B24 -#define GL_LINE_STIPPLE_PATTERN 0x0B25 -#define GL_LINE_STIPPLE_REPEAT 0x0B26 -#define GL_LIST_MODE 0x0B30 -#define GL_MAX_LIST_NESTING 0x0B31 -#define GL_LIST_BASE 0x0B32 -#define GL_LIST_INDEX 0x0B33 -#define GL_POLYGON_STIPPLE 0x0B42 -#define GL_EDGE_FLAG 0x0B43 -#define GL_LIGHTING 0x0B50 -#define GL_LIGHT_MODEL_LOCAL_VIEWER 0x0B51 -#define GL_LIGHT_MODEL_TWO_SIDE 0x0B52 -#define GL_LIGHT_MODEL_AMBIENT 0x0B53 -#define GL_SHADE_MODEL 0x0B54 -#define GL_COLOR_MATERIAL_FACE 0x0B55 -#define GL_COLOR_MATERIAL_PARAMETER 0x0B56 -#define GL_COLOR_MATERIAL 0x0B57 -#define GL_FOG 0x0B60 -#define GL_FOG_INDEX 0x0B61 -#define GL_FOG_DENSITY 0x0B62 -#define GL_FOG_START 0x0B63 -#define GL_FOG_END 0x0B64 -#define GL_FOG_MODE 0x0B65 -#define GL_FOG_COLOR 0x0B66 -#define GL_ACCUM_CLEAR_VALUE 0x0B80 -#define GL_MATRIX_MODE 0x0BA0 -#define GL_NORMALIZE 0x0BA1 -#define GL_MODELVIEW_STACK_DEPTH 0x0BA3 -#define GL_PROJECTION_STACK_DEPTH 0x0BA4 -#define GL_TEXTURE_STACK_DEPTH 0x0BA5 -#define GL_MODELVIEW_MATRIX 0x0BA6 -#define GL_PROJECTION_MATRIX 0x0BA7 -#define GL_TEXTURE_MATRIX 0x0BA8 -#define GL_ATTRIB_STACK_DEPTH 0x0BB0 -#define GL_CLIENT_ATTRIB_STACK_DEPTH 0x0BB1 -#define GL_ALPHA_TEST 0x0BC0 -#define GL_ALPHA_TEST_FUNC 0x0BC1 -#define GL_ALPHA_TEST_REF 0x0BC2 -#define GL_INDEX_LOGIC_OP 0x0BF1 -#define GL_LOGIC_OP 0x0BF1 -#define GL_AUX_BUFFERS 0x0C00 -#define GL_INDEX_CLEAR_VALUE 0x0C20 -#define GL_INDEX_WRITEMASK 0x0C21 -#define GL_INDEX_MODE 0x0C30 -#define GL_RGBA_MODE 0x0C31 -#define GL_RENDER_MODE 0x0C40 -#define GL_PERSPECTIVE_CORRECTION_HINT 0x0C50 -#define GL_POINT_SMOOTH_HINT 0x0C51 -#define GL_FOG_HINT 0x0C54 -#define GL_TEXTURE_GEN_S 0x0C60 -#define GL_TEXTURE_GEN_T 0x0C61 -#define GL_TEXTURE_GEN_R 0x0C62 -#define GL_TEXTURE_GEN_Q 0x0C63 -#define GL_PIXEL_MAP_I_TO_I_SIZE 0x0CB0 -#define GL_PIXEL_MAP_S_TO_S_SIZE 0x0CB1 -#define GL_PIXEL_MAP_I_TO_R_SIZE 0x0CB2 -#define GL_PIXEL_MAP_I_TO_G_SIZE 0x0CB3 -#define GL_PIXEL_MAP_I_TO_B_SIZE 0x0CB4 -#define GL_PIXEL_MAP_I_TO_A_SIZE 0x0CB5 -#define GL_PIXEL_MAP_R_TO_R_SIZE 0x0CB6 -#define GL_PIXEL_MAP_G_TO_G_SIZE 0x0CB7 -#define GL_PIXEL_MAP_B_TO_B_SIZE 0x0CB8 -#define GL_PIXEL_MAP_A_TO_A_SIZE 0x0CB9 -#define GL_MAP_COLOR 0x0D10 -#define GL_MAP_STENCIL 0x0D11 -#define GL_INDEX_SHIFT 0x0D12 -#define GL_INDEX_OFFSET 0x0D13 -#define GL_RED_SCALE 0x0D14 -#define GL_RED_BIAS 0x0D15 -#define GL_ZOOM_X 0x0D16 -#define GL_ZOOM_Y 0x0D17 -#define GL_GREEN_SCALE 0x0D18 -#define GL_GREEN_BIAS 0x0D19 -#define GL_BLUE_SCALE 0x0D1A -#define GL_BLUE_BIAS 0x0D1B -#define GL_ALPHA_SCALE 0x0D1C -#define GL_ALPHA_BIAS 0x0D1D -#define GL_DEPTH_SCALE 0x0D1E -#define GL_DEPTH_BIAS 0x0D1F -#define GL_MAX_EVAL_ORDER 0x0D30 -#define GL_MAX_LIGHTS 0x0D31 -#define GL_MAX_CLIP_PLANES 0x0D32 -#define GL_MAX_PIXEL_MAP_TABLE 0x0D34 -#define GL_MAX_ATTRIB_STACK_DEPTH 0x0D35 -#define GL_MAX_MODELVIEW_STACK_DEPTH 0x0D36 -#define GL_MAX_NAME_STACK_DEPTH 0x0D37 -#define GL_MAX_PROJECTION_STACK_DEPTH 0x0D38 -#define GL_MAX_TEXTURE_STACK_DEPTH 0x0D39 -#define GL_MAX_CLIENT_ATTRIB_STACK_DEPTH 0x0D3B -#define GL_INDEX_BITS 0x0D51 -#define GL_RED_BITS 0x0D52 -#define GL_GREEN_BITS 0x0D53 -#define GL_BLUE_BITS 0x0D54 -#define GL_ALPHA_BITS 0x0D55 -#define GL_DEPTH_BITS 0x0D56 -#define GL_STENCIL_BITS 0x0D57 -#define GL_ACCUM_RED_BITS 0x0D58 -#define GL_ACCUM_GREEN_BITS 0x0D59 -#define GL_ACCUM_BLUE_BITS 0x0D5A -#define GL_ACCUM_ALPHA_BITS 0x0D5B -#define GL_NAME_STACK_DEPTH 0x0D70 -#define GL_AUTO_NORMAL 0x0D80 -#define GL_MAP1_COLOR_4 0x0D90 -#define GL_MAP1_INDEX 0x0D91 -#define GL_MAP1_NORMAL 0x0D92 -#define GL_MAP1_TEXTURE_COORD_1 0x0D93 -#define GL_MAP1_TEXTURE_COORD_2 0x0D94 -#define GL_MAP1_TEXTURE_COORD_3 0x0D95 -#define GL_MAP1_TEXTURE_COORD_4 0x0D96 -#define GL_MAP1_VERTEX_3 0x0D97 -#define GL_MAP1_VERTEX_4 0x0D98 -#define GL_MAP2_COLOR_4 0x0DB0 -#define GL_MAP2_INDEX 0x0DB1 -#define GL_MAP2_NORMAL 0x0DB2 -#define GL_MAP2_TEXTURE_COORD_1 0x0DB3 -#define GL_MAP2_TEXTURE_COORD_2 0x0DB4 -#define GL_MAP2_TEXTURE_COORD_3 0x0DB5 -#define GL_MAP2_TEXTURE_COORD_4 0x0DB6 -#define GL_MAP2_VERTEX_3 0x0DB7 -#define GL_MAP2_VERTEX_4 0x0DB8 -#define GL_MAP1_GRID_DOMAIN 0x0DD0 -#define GL_MAP1_GRID_SEGMENTS 0x0DD1 -#define GL_MAP2_GRID_DOMAIN 0x0DD2 -#define GL_MAP2_GRID_SEGMENTS 0x0DD3 -#define GL_FEEDBACK_BUFFER_SIZE 0x0DF1 -#define GL_FEEDBACK_BUFFER_TYPE 0x0DF2 -#define GL_SELECTION_BUFFER_SIZE 0x0DF4 -#define GL_VERTEX_ARRAY 0x8074 -#define GL_NORMAL_ARRAY 0x8075 -#define GL_COLOR_ARRAY 0x8076 -#define GL_INDEX_ARRAY 0x8077 -#define GL_TEXTURE_COORD_ARRAY 0x8078 -#define GL_EDGE_FLAG_ARRAY 0x8079 -#define GL_VERTEX_ARRAY_SIZE 0x807A -#define GL_VERTEX_ARRAY_TYPE 0x807B -#define GL_VERTEX_ARRAY_STRIDE 0x807C -#define GL_NORMAL_ARRAY_TYPE 0x807E -#define GL_NORMAL_ARRAY_STRIDE 0x807F -#define GL_COLOR_ARRAY_SIZE 0x8081 -#define GL_COLOR_ARRAY_TYPE 0x8082 -#define GL_COLOR_ARRAY_STRIDE 0x8083 -#define GL_INDEX_ARRAY_TYPE 0x8085 -#define GL_INDEX_ARRAY_STRIDE 0x8086 -#define GL_TEXTURE_COORD_ARRAY_SIZE 0x8088 -#define GL_TEXTURE_COORD_ARRAY_TYPE 0x8089 -#define GL_TEXTURE_COORD_ARRAY_STRIDE 0x808A -#define GL_EDGE_FLAG_ARRAY_STRIDE 0x808C -#define GL_TEXTURE_COMPONENTS 0x1003 -#define GL_TEXTURE_BORDER 0x1005 -#define GL_TEXTURE_LUMINANCE_SIZE 0x8060 -#define GL_TEXTURE_INTENSITY_SIZE 0x8061 -#define GL_TEXTURE_PRIORITY 0x8066 -#define GL_TEXTURE_RESIDENT 0x8067 -#define GL_AMBIENT 0x1200 -#define GL_DIFFUSE 0x1201 -#define GL_SPECULAR 0x1202 -#define GL_POSITION 0x1203 -#define GL_SPOT_DIRECTION 0x1204 -#define GL_SPOT_EXPONENT 0x1205 -#define GL_SPOT_CUTOFF 0x1206 -#define GL_CONSTANT_ATTENUATION 0x1207 -#define GL_LINEAR_ATTENUATION 0x1208 -#define GL_QUADRATIC_ATTENUATION 0x1209 -#define GL_COMPILE 0x1300 -#define GL_COMPILE_AND_EXECUTE 0x1301 -#define GL_2_BYTES 0x1407 -#define GL_3_BYTES 0x1408 -#define GL_4_BYTES 0x1409 -#define GL_EMISSION 0x1600 -#define GL_SHININESS 0x1601 -#define GL_AMBIENT_AND_DIFFUSE 0x1602 -#define GL_COLOR_INDEXES 0x1603 -#define GL_MODELVIEW 0x1700 -#define GL_PROJECTION 0x1701 -#define GL_COLOR_INDEX 0x1900 -#define GL_LUMINANCE 0x1909 -#define GL_LUMINANCE_ALPHA 0x190A -#define GL_BITMAP 0x1A00 -#define GL_RENDER 0x1C00 -#define GL_FEEDBACK 0x1C01 -#define GL_SELECT 0x1C02 -#define GL_FLAT 0x1D00 -#define GL_SMOOTH 0x1D01 -#define GL_S 0x2000 -#define GL_T 0x2001 -#define GL_R 0x2002 -#define GL_Q 0x2003 -#define GL_MODULATE 0x2100 -#define GL_DECAL 0x2101 -#define GL_TEXTURE_ENV_MODE 0x2200 -#define GL_TEXTURE_ENV_COLOR 0x2201 -#define GL_TEXTURE_ENV 0x2300 -#define GL_EYE_LINEAR 0x2400 -#define GL_OBJECT_LINEAR 0x2401 -#define GL_SPHERE_MAP 0x2402 -#define GL_TEXTURE_GEN_MODE 0x2500 -#define GL_OBJECT_PLANE 0x2501 -#define GL_EYE_PLANE 0x2502 -#define GL_CLAMP 0x2900 -#define GL_ALPHA4 0x803B -#define GL_ALPHA8 0x803C -#define GL_ALPHA12 0x803D -#define GL_ALPHA16 0x803E -#define GL_LUMINANCE4 0x803F -#define GL_LUMINANCE8 0x8040 -#define GL_LUMINANCE12 0x8041 -#define GL_LUMINANCE16 0x8042 -#define GL_LUMINANCE4_ALPHA4 0x8043 -#define GL_LUMINANCE6_ALPHA2 0x8044 -#define GL_LUMINANCE8_ALPHA8 0x8045 -#define GL_LUMINANCE12_ALPHA4 0x8046 -#define GL_LUMINANCE12_ALPHA12 0x8047 -#define GL_LUMINANCE16_ALPHA16 0x8048 -#define GL_INTENSITY 0x8049 -#define GL_INTENSITY4 0x804A -#define GL_INTENSITY8 0x804B -#define GL_INTENSITY12 0x804C -#define GL_INTENSITY16 0x804D -#define GL_V2F 0x2A20 -#define GL_V3F 0x2A21 -#define GL_C4UB_V2F 0x2A22 -#define GL_C4UB_V3F 0x2A23 -#define GL_C3F_V3F 0x2A24 -#define GL_N3F_V3F 0x2A25 -#define GL_C4F_N3F_V3F 0x2A26 -#define GL_T2F_V3F 0x2A27 -#define GL_T4F_V4F 0x2A28 -#define GL_T2F_C4UB_V3F 0x2A29 -#define GL_T2F_C3F_V3F 0x2A2A -#define GL_T2F_N3F_V3F 0x2A2B -#define GL_T2F_C4F_N3F_V3F 0x2A2C -#define GL_T4F_C4F_N3F_V4F 0x2A2D -#define GL_CLIP_PLANE0 0x3000 -#define GL_CLIP_PLANE1 0x3001 -#define GL_CLIP_PLANE2 0x3002 -#define GL_CLIP_PLANE3 0x3003 -#define GL_CLIP_PLANE4 0x3004 -#define GL_CLIP_PLANE5 0x3005 -#define GL_LIGHT0 0x4000 -#define GL_LIGHT1 0x4001 -#define GL_LIGHT2 0x4002 -#define GL_LIGHT3 0x4003 -#define GL_LIGHT4 0x4004 -#define GL_LIGHT5 0x4005 -#define GL_LIGHT6 0x4006 -#define GL_LIGHT7 0x4007 + +#define GL_DEPTH_BUFFER_BIT 0x00000100 +#define GL_STENCIL_BUFFER_BIT 0x00000400 +#define GL_COLOR_BUFFER_BIT 0x00004000 +#define GL_FALSE 0 +#define GL_TRUE 1 +#define GL_POINTS 0x0000 +#define GL_LINES 0x0001 +#define GL_LINE_LOOP 0x0002 +#define GL_LINE_STRIP 0x0003 +#define GL_TRIANGLES 0x0004 +#define GL_TRIANGLE_STRIP 0x0005 +#define GL_TRIANGLE_FAN 0x0006 +#define GL_QUADS 0x0007 +#define GL_NEVER 0x0200 +#define GL_LESS 0x0201 +#define GL_EQUAL 0x0202 +#define GL_LEQUAL 0x0203 +#define GL_GREATER 0x0204 +#define GL_NOTEQUAL 0x0205 +#define GL_GEQUAL 0x0206 +#define GL_ALWAYS 0x0207 +#define GL_ZERO 0 +#define GL_ONE 1 +#define GL_SRC_COLOR 0x0300 +#define GL_ONE_MINUS_SRC_COLOR 0x0301 +#define GL_SRC_ALPHA 0x0302 +#define GL_ONE_MINUS_SRC_ALPHA 0x0303 +#define GL_DST_ALPHA 0x0304 +#define GL_ONE_MINUS_DST_ALPHA 0x0305 +#define GL_DST_COLOR 0x0306 +#define GL_ONE_MINUS_DST_COLOR 0x0307 +#define GL_SRC_ALPHA_SATURATE 0x0308 +#define GL_NONE 0 +#define GL_FRONT_LEFT 0x0400 +#define GL_FRONT_RIGHT 0x0401 +#define GL_BACK_LEFT 0x0402 +#define GL_BACK_RIGHT 0x0403 +#define GL_FRONT 0x0404 +#define GL_BACK 0x0405 +#define GL_LEFT 0x0406 +#define GL_RIGHT 0x0407 +#define GL_FRONT_AND_BACK 0x0408 +#define GL_NO_ERROR 0 +#define GL_INVALID_ENUM 0x0500 +#define GL_INVALID_VALUE 0x0501 +#define GL_INVALID_OPERATION 0x0502 +#define GL_OUT_OF_MEMORY 0x0505 +#define GL_CW 0x0900 +#define GL_CCW 0x0901 +#define GL_POINT_SIZE 0x0B11 +#define GL_POINT_SIZE_RANGE 0x0B12 +#define GL_POINT_SIZE_GRANULARITY 0x0B13 +#define GL_LINE_SMOOTH 0x0B20 +#define GL_LINE_WIDTH 0x0B21 +#define GL_LINE_WIDTH_RANGE 0x0B22 +#define GL_LINE_WIDTH_GRANULARITY 0x0B23 +#define GL_POLYGON_MODE 0x0B40 +#define GL_POLYGON_SMOOTH 0x0B41 +#define GL_CULL_FACE 0x0B44 +#define GL_CULL_FACE_MODE 0x0B45 +#define GL_FRONT_FACE 0x0B46 +#define GL_DEPTH_RANGE 0x0B70 +#define GL_DEPTH_TEST 0x0B71 +#define GL_DEPTH_WRITEMASK 0x0B72 +#define GL_DEPTH_CLEAR_VALUE 0x0B73 +#define GL_DEPTH_FUNC 0x0B74 +#define GL_STENCIL_TEST 0x0B90 +#define GL_STENCIL_CLEAR_VALUE 0x0B91 +#define GL_STENCIL_FUNC 0x0B92 +#define GL_STENCIL_VALUE_MASK 0x0B93 +#define GL_STENCIL_FAIL 0x0B94 +#define GL_STENCIL_PASS_DEPTH_FAIL 0x0B95 +#define GL_STENCIL_PASS_DEPTH_PASS 0x0B96 +#define GL_STENCIL_REF 0x0B97 +#define GL_STENCIL_WRITEMASK 0x0B98 +#define GL_VIEWPORT 0x0BA2 +#define GL_DITHER 0x0BD0 +#define GL_BLEND_DST 0x0BE0 +#define GL_BLEND_SRC 0x0BE1 +#define GL_BLEND 0x0BE2 +#define GL_LOGIC_OP_MODE 0x0BF0 +#define GL_COLOR_LOGIC_OP 0x0BF2 +#define GL_DRAW_BUFFER 0x0C01 +#define GL_READ_BUFFER 0x0C02 +#define GL_SCISSOR_BOX 0x0C10 +#define GL_SCISSOR_TEST 0x0C11 +#define GL_COLOR_CLEAR_VALUE 0x0C22 +#define GL_COLOR_WRITEMASK 0x0C23 +#define GL_DOUBLEBUFFER 0x0C32 +#define GL_STEREO 0x0C33 +#define GL_LINE_SMOOTH_HINT 0x0C52 +#define GL_POLYGON_SMOOTH_HINT 0x0C53 +#define GL_UNPACK_SWAP_BYTES 0x0CF0 +#define GL_UNPACK_LSB_FIRST 0x0CF1 +#define GL_UNPACK_ROW_LENGTH 0x0CF2 +#define GL_UNPACK_SKIP_ROWS 0x0CF3 +#define GL_UNPACK_SKIP_PIXELS 0x0CF4 +#define GL_UNPACK_ALIGNMENT 0x0CF5 +#define GL_PACK_SWAP_BYTES 0x0D00 +#define GL_PACK_LSB_FIRST 0x0D01 +#define GL_PACK_ROW_LENGTH 0x0D02 +#define GL_PACK_SKIP_ROWS 0x0D03 +#define GL_PACK_SKIP_PIXELS 0x0D04 +#define GL_PACK_ALIGNMENT 0x0D05 +#define GL_MAX_TEXTURE_SIZE 0x0D33 +#define GL_MAX_VIEWPORT_DIMS 0x0D3A +#define GL_SUBPIXEL_BITS 0x0D50 +#define GL_TEXTURE_1D 0x0DE0 +#define GL_TEXTURE_2D 0x0DE1 +#define GL_POLYGON_OFFSET_UNITS 0x2A00 +#define GL_POLYGON_OFFSET_POINT 0x2A01 +#define GL_POLYGON_OFFSET_LINE 0x2A02 +#define GL_POLYGON_OFFSET_FILL 0x8037 +#define GL_POLYGON_OFFSET_FACTOR 0x8038 +#define GL_TEXTURE_BINDING_1D 0x8068 +#define GL_TEXTURE_BINDING_2D 0x8069 +#define GL_TEXTURE_WIDTH 0x1000 +#define GL_TEXTURE_HEIGHT 0x1001 +#define GL_TEXTURE_INTERNAL_FORMAT 0x1003 +#define GL_TEXTURE_BORDER_COLOR 0x1004 +#define GL_TEXTURE_RED_SIZE 0x805C +#define GL_TEXTURE_GREEN_SIZE 0x805D +#define GL_TEXTURE_BLUE_SIZE 0x805E +#define GL_TEXTURE_ALPHA_SIZE 0x805F +#define GL_DONT_CARE 0x1100 +#define GL_FASTEST 0x1101 +#define GL_NICEST 0x1102 +#define GL_BYTE 0x1400 +#define GL_UNSIGNED_BYTE 0x1401 +#define GL_SHORT 0x1402 +#define GL_UNSIGNED_SHORT 0x1403 +#define GL_INT 0x1404 +#define GL_UNSIGNED_INT 0x1405 +#define GL_FLOAT 0x1406 +#define GL_DOUBLE 0x140A +#define GL_STACK_OVERFLOW 0x0503 +#define GL_STACK_UNDERFLOW 0x0504 +#define GL_CLEAR 0x1500 +#define GL_AND 0x1501 +#define GL_AND_REVERSE 0x1502 +#define GL_COPY 0x1503 +#define GL_AND_INVERTED 0x1504 +#define GL_NOOP 0x1505 +#define GL_XOR 0x1506 +#define GL_OR 0x1507 +#define GL_NOR 0x1508 +#define GL_EQUIV 0x1509 +#define GL_INVERT 0x150A +#define GL_OR_REVERSE 0x150B +#define GL_COPY_INVERTED 0x150C +#define GL_OR_INVERTED 0x150D +#define GL_NAND 0x150E +#define GL_SET 0x150F +#define GL_TEXTURE 0x1702 +#define GL_COLOR 0x1800 +#define GL_DEPTH 0x1801 +#define GL_STENCIL 0x1802 +#define GL_STENCIL_INDEX 0x1901 +#define GL_DEPTH_COMPONENT 0x1902 +#define GL_RED 0x1903 +#define GL_GREEN 0x1904 +#define GL_BLUE 0x1905 +#define GL_ALPHA 0x1906 +#define GL_RGB 0x1907 +#define GL_RGBA 0x1908 +#define GL_POINT 0x1B00 +#define GL_LINE 0x1B01 +#define GL_FILL 0x1B02 +#define GL_KEEP 0x1E00 +#define GL_REPLACE 0x1E01 +#define GL_INCR 0x1E02 +#define GL_DECR 0x1E03 +#define GL_VENDOR 0x1F00 +#define GL_RENDERER 0x1F01 +#define GL_VERSION 0x1F02 +#define GL_EXTENSIONS 0x1F03 +#define GL_NEAREST 0x2600 +#define GL_LINEAR 0x2601 +#define GL_NEAREST_MIPMAP_NEAREST 0x2700 +#define GL_LINEAR_MIPMAP_NEAREST 0x2701 +#define GL_NEAREST_MIPMAP_LINEAR 0x2702 +#define GL_LINEAR_MIPMAP_LINEAR 0x2703 +#define GL_TEXTURE_MAG_FILTER 0x2800 +#define GL_TEXTURE_MIN_FILTER 0x2801 +#define GL_TEXTURE_WRAP_S 0x2802 +#define GL_TEXTURE_WRAP_T 0x2803 +#define GL_PROXY_TEXTURE_1D 0x8063 +#define GL_PROXY_TEXTURE_2D 0x8064 +#define GL_REPEAT 0x2901 +#define GL_R3_G3_B2 0x2A10 +#define GL_RGB4 0x804F +#define GL_RGB5 0x8050 +#define GL_RGB8 0x8051 +#define GL_RGB10 0x8052 +#define GL_RGB12 0x8053 +#define GL_RGB16 0x8054 +#define GL_RGBA2 0x8055 +#define GL_RGBA4 0x8056 +#define GL_RGB5_A1 0x8057 +#define GL_RGBA8 0x8058 +#define GL_RGB10_A2 0x8059 +#define GL_RGBA12 0x805A +#define GL_RGBA16 0x805B +#define GL_CURRENT_BIT 0x00000001 +#define GL_POINT_BIT 0x00000002 +#define GL_LINE_BIT 0x00000004 +#define GL_POLYGON_BIT 0x00000008 +#define GL_POLYGON_STIPPLE_BIT 0x00000010 +#define GL_PIXEL_MODE_BIT 0x00000020 +#define GL_LIGHTING_BIT 0x00000040 +#define GL_FOG_BIT 0x00000080 +#define GL_ACCUM_BUFFER_BIT 0x00000200 +#define GL_VIEWPORT_BIT 0x00000800 +#define GL_TRANSFORM_BIT 0x00001000 +#define GL_ENABLE_BIT 0x00002000 +#define GL_HINT_BIT 0x00008000 +#define GL_EVAL_BIT 0x00010000 +#define GL_LIST_BIT 0x00020000 +#define GL_TEXTURE_BIT 0x00040000 +#define GL_SCISSOR_BIT 0x00080000 +#define GL_ALL_ATTRIB_BITS 0xFFFFFFFF +#define GL_CLIENT_PIXEL_STORE_BIT 0x00000001 +#define GL_CLIENT_VERTEX_ARRAY_BIT 0x00000002 +#define GL_CLIENT_ALL_ATTRIB_BITS 0xFFFFFFFF +#define GL_QUAD_STRIP 0x0008 +#define GL_POLYGON 0x0009 +#define GL_ACCUM 0x0100 +#define GL_LOAD 0x0101 +#define GL_RETURN 0x0102 +#define GL_MULT 0x0103 +#define GL_ADD 0x0104 +#define GL_AUX0 0x0409 +#define GL_AUX1 0x040A +#define GL_AUX2 0x040B +#define GL_AUX3 0x040C +#define GL_2D 0x0600 +#define GL_3D 0x0601 +#define GL_3D_COLOR 0x0602 +#define GL_3D_COLOR_TEXTURE 0x0603 +#define GL_4D_COLOR_TEXTURE 0x0604 +#define GL_PASS_THROUGH_TOKEN 0x0700 +#define GL_POINT_TOKEN 0x0701 +#define GL_LINE_TOKEN 0x0702 +#define GL_POLYGON_TOKEN 0x0703 +#define GL_BITMAP_TOKEN 0x0704 +#define GL_DRAW_PIXEL_TOKEN 0x0705 +#define GL_COPY_PIXEL_TOKEN 0x0706 +#define GL_LINE_RESET_TOKEN 0x0707 +#define GL_EXP 0x0800 +#define GL_EXP2 0x0801 +#define GL_COEFF 0x0A00 +#define GL_ORDER 0x0A01 +#define GL_DOMAIN 0x0A02 +#define GL_PIXEL_MAP_I_TO_I 0x0C70 +#define GL_PIXEL_MAP_S_TO_S 0x0C71 +#define GL_PIXEL_MAP_I_TO_R 0x0C72 +#define GL_PIXEL_MAP_I_TO_G 0x0C73 +#define GL_PIXEL_MAP_I_TO_B 0x0C74 +#define GL_PIXEL_MAP_I_TO_A 0x0C75 +#define GL_PIXEL_MAP_R_TO_R 0x0C76 +#define GL_PIXEL_MAP_G_TO_G 0x0C77 +#define GL_PIXEL_MAP_B_TO_B 0x0C78 +#define GL_PIXEL_MAP_A_TO_A 0x0C79 +#define GL_VERTEX_ARRAY_POINTER 0x808E +#define GL_NORMAL_ARRAY_POINTER 0x808F +#define GL_COLOR_ARRAY_POINTER 0x8090 +#define GL_INDEX_ARRAY_POINTER 0x8091 +#define GL_TEXTURE_COORD_ARRAY_POINTER 0x8092 +#define GL_EDGE_FLAG_ARRAY_POINTER 0x8093 +#define GL_FEEDBACK_BUFFER_POINTER 0x0DF0 +#define GL_SELECTION_BUFFER_POINTER 0x0DF3 +#define GL_CURRENT_COLOR 0x0B00 +#define GL_CURRENT_INDEX 0x0B01 +#define GL_CURRENT_NORMAL 0x0B02 +#define GL_CURRENT_TEXTURE_COORDS 0x0B03 +#define GL_CURRENT_RASTER_COLOR 0x0B04 +#define GL_CURRENT_RASTER_INDEX 0x0B05 +#define GL_CURRENT_RASTER_TEXTURE_COORDS 0x0B06 +#define GL_CURRENT_RASTER_POSITION 0x0B07 +#define GL_CURRENT_RASTER_POSITION_VALID 0x0B08 +#define GL_CURRENT_RASTER_DISTANCE 0x0B09 +#define GL_POINT_SMOOTH 0x0B10 +#define GL_LINE_STIPPLE 0x0B24 +#define GL_LINE_STIPPLE_PATTERN 0x0B25 +#define GL_LINE_STIPPLE_REPEAT 0x0B26 +#define GL_LIST_MODE 0x0B30 +#define GL_MAX_LIST_NESTING 0x0B31 +#define GL_LIST_BASE 0x0B32 +#define GL_LIST_INDEX 0x0B33 +#define GL_POLYGON_STIPPLE 0x0B42 +#define GL_EDGE_FLAG 0x0B43 +#define GL_LIGHTING 0x0B50 +#define GL_LIGHT_MODEL_LOCAL_VIEWER 0x0B51 +#define GL_LIGHT_MODEL_TWO_SIDE 0x0B52 +#define GL_LIGHT_MODEL_AMBIENT 0x0B53 +#define GL_SHADE_MODEL 0x0B54 +#define GL_COLOR_MATERIAL_FACE 0x0B55 +#define GL_COLOR_MATERIAL_PARAMETER 0x0B56 +#define GL_COLOR_MATERIAL 0x0B57 +#define GL_FOG 0x0B60 +#define GL_FOG_INDEX 0x0B61 +#define GL_FOG_DENSITY 0x0B62 +#define GL_FOG_START 0x0B63 +#define GL_FOG_END 0x0B64 +#define GL_FOG_MODE 0x0B65 +#define GL_FOG_COLOR 0x0B66 +#define GL_ACCUM_CLEAR_VALUE 0x0B80 +#define GL_MATRIX_MODE 0x0BA0 +#define GL_NORMALIZE 0x0BA1 +#define GL_MODELVIEW_STACK_DEPTH 0x0BA3 +#define GL_PROJECTION_STACK_DEPTH 0x0BA4 +#define GL_TEXTURE_STACK_DEPTH 0x0BA5 +#define GL_MODELVIEW_MATRIX 0x0BA6 +#define GL_PROJECTION_MATRIX 0x0BA7 +#define GL_TEXTURE_MATRIX 0x0BA8 +#define GL_ATTRIB_STACK_DEPTH 0x0BB0 +#define GL_CLIENT_ATTRIB_STACK_DEPTH 0x0BB1 +#define GL_ALPHA_TEST 0x0BC0 +#define GL_ALPHA_TEST_FUNC 0x0BC1 +#define GL_ALPHA_TEST_REF 0x0BC2 +#define GL_INDEX_LOGIC_OP 0x0BF1 +#define GL_LOGIC_OP 0x0BF1 +#define GL_AUX_BUFFERS 0x0C00 +#define GL_INDEX_CLEAR_VALUE 0x0C20 +#define GL_INDEX_WRITEMASK 0x0C21 +#define GL_INDEX_MODE 0x0C30 +#define GL_RGBA_MODE 0x0C31 +#define GL_RENDER_MODE 0x0C40 +#define GL_PERSPECTIVE_CORRECTION_HINT 0x0C50 +#define GL_POINT_SMOOTH_HINT 0x0C51 +#define GL_FOG_HINT 0x0C54 +#define GL_TEXTURE_GEN_S 0x0C60 +#define GL_TEXTURE_GEN_T 0x0C61 +#define GL_TEXTURE_GEN_R 0x0C62 +#define GL_TEXTURE_GEN_Q 0x0C63 +#define GL_PIXEL_MAP_I_TO_I_SIZE 0x0CB0 +#define GL_PIXEL_MAP_S_TO_S_SIZE 0x0CB1 +#define GL_PIXEL_MAP_I_TO_R_SIZE 0x0CB2 +#define GL_PIXEL_MAP_I_TO_G_SIZE 0x0CB3 +#define GL_PIXEL_MAP_I_TO_B_SIZE 0x0CB4 +#define GL_PIXEL_MAP_I_TO_A_SIZE 0x0CB5 +#define GL_PIXEL_MAP_R_TO_R_SIZE 0x0CB6 +#define GL_PIXEL_MAP_G_TO_G_SIZE 0x0CB7 +#define GL_PIXEL_MAP_B_TO_B_SIZE 0x0CB8 +#define GL_PIXEL_MAP_A_TO_A_SIZE 0x0CB9 +#define GL_MAP_COLOR 0x0D10 +#define GL_MAP_STENCIL 0x0D11 +#define GL_INDEX_SHIFT 0x0D12 +#define GL_INDEX_OFFSET 0x0D13 +#define GL_RED_SCALE 0x0D14 +#define GL_RED_BIAS 0x0D15 +#define GL_ZOOM_X 0x0D16 +#define GL_ZOOM_Y 0x0D17 +#define GL_GREEN_SCALE 0x0D18 +#define GL_GREEN_BIAS 0x0D19 +#define GL_BLUE_SCALE 0x0D1A +#define GL_BLUE_BIAS 0x0D1B +#define GL_ALPHA_SCALE 0x0D1C +#define GL_ALPHA_BIAS 0x0D1D +#define GL_DEPTH_SCALE 0x0D1E +#define GL_DEPTH_BIAS 0x0D1F +#define GL_MAX_EVAL_ORDER 0x0D30 +#define GL_MAX_LIGHTS 0x0D31 +#define GL_MAX_CLIP_PLANES 0x0D32 +#define GL_MAX_PIXEL_MAP_TABLE 0x0D34 +#define GL_MAX_ATTRIB_STACK_DEPTH 0x0D35 +#define GL_MAX_MODELVIEW_STACK_DEPTH 0x0D36 +#define GL_MAX_NAME_STACK_DEPTH 0x0D37 +#define GL_MAX_PROJECTION_STACK_DEPTH 0x0D38 +#define GL_MAX_TEXTURE_STACK_DEPTH 0x0D39 +#define GL_MAX_CLIENT_ATTRIB_STACK_DEPTH 0x0D3B +#define GL_INDEX_BITS 0x0D51 +#define GL_RED_BITS 0x0D52 +#define GL_GREEN_BITS 0x0D53 +#define GL_BLUE_BITS 0x0D54 +#define GL_ALPHA_BITS 0x0D55 +#define GL_DEPTH_BITS 0x0D56 +#define GL_STENCIL_BITS 0x0D57 +#define GL_ACCUM_RED_BITS 0x0D58 +#define GL_ACCUM_GREEN_BITS 0x0D59 +#define GL_ACCUM_BLUE_BITS 0x0D5A +#define GL_ACCUM_ALPHA_BITS 0x0D5B +#define GL_NAME_STACK_DEPTH 0x0D70 +#define GL_AUTO_NORMAL 0x0D80 +#define GL_MAP1_COLOR_4 0x0D90 +#define GL_MAP1_INDEX 0x0D91 +#define GL_MAP1_NORMAL 0x0D92 +#define GL_MAP1_TEXTURE_COORD_1 0x0D93 +#define GL_MAP1_TEXTURE_COORD_2 0x0D94 +#define GL_MAP1_TEXTURE_COORD_3 0x0D95 +#define GL_MAP1_TEXTURE_COORD_4 0x0D96 +#define GL_MAP1_VERTEX_3 0x0D97 +#define GL_MAP1_VERTEX_4 0x0D98 +#define GL_MAP2_COLOR_4 0x0DB0 +#define GL_MAP2_INDEX 0x0DB1 +#define GL_MAP2_NORMAL 0x0DB2 +#define GL_MAP2_TEXTURE_COORD_1 0x0DB3 +#define GL_MAP2_TEXTURE_COORD_2 0x0DB4 +#define GL_MAP2_TEXTURE_COORD_3 0x0DB5 +#define GL_MAP2_TEXTURE_COORD_4 0x0DB6 +#define GL_MAP2_VERTEX_3 0x0DB7 +#define GL_MAP2_VERTEX_4 0x0DB8 +#define GL_MAP1_GRID_DOMAIN 0x0DD0 +#define GL_MAP1_GRID_SEGMENTS 0x0DD1 +#define GL_MAP2_GRID_DOMAIN 0x0DD2 +#define GL_MAP2_GRID_SEGMENTS 0x0DD3 +#define GL_FEEDBACK_BUFFER_SIZE 0x0DF1 +#define GL_FEEDBACK_BUFFER_TYPE 0x0DF2 +#define GL_SELECTION_BUFFER_SIZE 0x0DF4 +#define GL_VERTEX_ARRAY 0x8074 +#define GL_NORMAL_ARRAY 0x8075 +#define GL_COLOR_ARRAY 0x8076 +#define GL_INDEX_ARRAY 0x8077 +#define GL_TEXTURE_COORD_ARRAY 0x8078 +#define GL_EDGE_FLAG_ARRAY 0x8079 +#define GL_VERTEX_ARRAY_SIZE 0x807A +#define GL_VERTEX_ARRAY_TYPE 0x807B +#define GL_VERTEX_ARRAY_STRIDE 0x807C +#define GL_NORMAL_ARRAY_TYPE 0x807E +#define GL_NORMAL_ARRAY_STRIDE 0x807F +#define GL_COLOR_ARRAY_SIZE 0x8081 +#define GL_COLOR_ARRAY_TYPE 0x8082 +#define GL_COLOR_ARRAY_STRIDE 0x8083 +#define GL_INDEX_ARRAY_TYPE 0x8085 +#define GL_INDEX_ARRAY_STRIDE 0x8086 +#define GL_TEXTURE_COORD_ARRAY_SIZE 0x8088 +#define GL_TEXTURE_COORD_ARRAY_TYPE 0x8089 +#define GL_TEXTURE_COORD_ARRAY_STRIDE 0x808A +#define GL_EDGE_FLAG_ARRAY_STRIDE 0x808C +#define GL_TEXTURE_COMPONENTS 0x1003 +#define GL_TEXTURE_BORDER 0x1005 +#define GL_TEXTURE_LUMINANCE_SIZE 0x8060 +#define GL_TEXTURE_INTENSITY_SIZE 0x8061 +#define GL_TEXTURE_PRIORITY 0x8066 +#define GL_TEXTURE_RESIDENT 0x8067 +#define GL_AMBIENT 0x1200 +#define GL_DIFFUSE 0x1201 +#define GL_SPECULAR 0x1202 +#define GL_POSITION 0x1203 +#define GL_SPOT_DIRECTION 0x1204 +#define GL_SPOT_EXPONENT 0x1205 +#define GL_SPOT_CUTOFF 0x1206 +#define GL_CONSTANT_ATTENUATION 0x1207 +#define GL_LINEAR_ATTENUATION 0x1208 +#define GL_QUADRATIC_ATTENUATION 0x1209 +#define GL_COMPILE 0x1300 +#define GL_COMPILE_AND_EXECUTE 0x1301 +#define GL_2_BYTES 0x1407 +#define GL_3_BYTES 0x1408 +#define GL_4_BYTES 0x1409 +#define GL_EMISSION 0x1600 +#define GL_SHININESS 0x1601 +#define GL_AMBIENT_AND_DIFFUSE 0x1602 +#define GL_COLOR_INDEXES 0x1603 +#define GL_MODELVIEW 0x1700 +#define GL_PROJECTION 0x1701 +#define GL_COLOR_INDEX 0x1900 +#define GL_LUMINANCE 0x1909 +#define GL_LUMINANCE_ALPHA 0x190A +#define GL_BITMAP 0x1A00 +#define GL_RENDER 0x1C00 +#define GL_FEEDBACK 0x1C01 +#define GL_SELECT 0x1C02 +#define GL_FLAT 0x1D00 +#define GL_SMOOTH 0x1D01 +#define GL_S 0x2000 +#define GL_T 0x2001 +#define GL_R 0x2002 +#define GL_Q 0x2003 +#define GL_MODULATE 0x2100 +#define GL_DECAL 0x2101 +#define GL_TEXTURE_ENV_MODE 0x2200 +#define GL_TEXTURE_ENV_COLOR 0x2201 +#define GL_TEXTURE_ENV 0x2300 +#define GL_EYE_LINEAR 0x2400 +#define GL_OBJECT_LINEAR 0x2401 +#define GL_SPHERE_MAP 0x2402 +#define GL_TEXTURE_GEN_MODE 0x2500 +#define GL_OBJECT_PLANE 0x2501 +#define GL_EYE_PLANE 0x2502 +#define GL_CLAMP 0x2900 +#define GL_ALPHA4 0x803B +#define GL_ALPHA8 0x803C +#define GL_ALPHA12 0x803D +#define GL_ALPHA16 0x803E +#define GL_LUMINANCE4 0x803F +#define GL_LUMINANCE8 0x8040 +#define GL_LUMINANCE12 0x8041 +#define GL_LUMINANCE16 0x8042 +#define GL_LUMINANCE4_ALPHA4 0x8043 +#define GL_LUMINANCE6_ALPHA2 0x8044 +#define GL_LUMINANCE8_ALPHA8 0x8045 +#define GL_LUMINANCE12_ALPHA4 0x8046 +#define GL_LUMINANCE12_ALPHA12 0x8047 +#define GL_LUMINANCE16_ALPHA16 0x8048 +#define GL_INTENSITY 0x8049 +#define GL_INTENSITY4 0x804A +#define GL_INTENSITY8 0x804B +#define GL_INTENSITY12 0x804C +#define GL_INTENSITY16 0x804D +#define GL_V2F 0x2A20 +#define GL_V3F 0x2A21 +#define GL_C4UB_V2F 0x2A22 +#define GL_C4UB_V3F 0x2A23 +#define GL_C3F_V3F 0x2A24 +#define GL_N3F_V3F 0x2A25 +#define GL_C4F_N3F_V3F 0x2A26 +#define GL_T2F_V3F 0x2A27 +#define GL_T4F_V4F 0x2A28 +#define GL_T2F_C4UB_V3F 0x2A29 +#define GL_T2F_C3F_V3F 0x2A2A +#define GL_T2F_N3F_V3F 0x2A2B +#define GL_T2F_C4F_N3F_V3F 0x2A2C +#define GL_T4F_C4F_N3F_V4F 0x2A2D +#define GL_CLIP_PLANE0 0x3000 +#define GL_CLIP_PLANE1 0x3001 +#define GL_CLIP_PLANE2 0x3002 +#define GL_CLIP_PLANE3 0x3003 +#define GL_CLIP_PLANE4 0x3004 +#define GL_CLIP_PLANE5 0x3005 +#define GL_LIGHT0 0x4000 +#define GL_LIGHT1 0x4001 +#define GL_LIGHT2 0x4002 +#define GL_LIGHT3 0x4003 +#define GL_LIGHT4 0x4004 +#define GL_LIGHT5 0x4005 +#define GL_LIGHT6 0x4006 +#define GL_LIGHT7 0x4007 /* GL_VERSION_1_2 */ -#define GL_UNSIGNED_BYTE_3_3_2 0x8032 -#define GL_UNSIGNED_SHORT_4_4_4_4 0x8033 -#define GL_UNSIGNED_SHORT_5_5_5_1 0x8034 -#define GL_UNSIGNED_INT_8_8_8_8 0x8035 -#define GL_UNSIGNED_INT_10_10_10_2 0x8036 -#define GL_TEXTURE_BINDING_3D 0x806A -#define GL_PACK_SKIP_IMAGES 0x806B -#define GL_PACK_IMAGE_HEIGHT 0x806C -#define GL_UNPACK_SKIP_IMAGES 0x806D -#define GL_UNPACK_IMAGE_HEIGHT 0x806E -#define GL_TEXTURE_3D 0x806F -#define GL_PROXY_TEXTURE_3D 0x8070 -#define GL_TEXTURE_DEPTH 0x8071 -#define GL_TEXTURE_WRAP_R 0x8072 -#define GL_MAX_3D_TEXTURE_SIZE 0x8073 -#define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362 -#define GL_UNSIGNED_SHORT_5_6_5 0x8363 -#define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364 -#define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365 -#define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366 -#define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367 -#define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368 -#define GL_BGR 0x80E0 -#define GL_BGRA 0x80E1 -#define GL_MAX_ELEMENTS_VERTICES 0x80E8 -#define GL_MAX_ELEMENTS_INDICES 0x80E9 -#define GL_CLAMP_TO_EDGE 0x812F -#define GL_TEXTURE_MIN_LOD 0x813A -#define GL_TEXTURE_MAX_LOD 0x813B -#define GL_TEXTURE_BASE_LEVEL 0x813C -#define GL_TEXTURE_MAX_LEVEL 0x813D -#define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12 -#define GL_SMOOTH_POINT_SIZE_GRANULARITY 0x0B13 -#define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22 -#define GL_SMOOTH_LINE_WIDTH_GRANULARITY 0x0B23 -#define GL_ALIASED_LINE_WIDTH_RANGE 0x846E -#define GL_RESCALE_NORMAL 0x803A -#define GL_LIGHT_MODEL_COLOR_CONTROL 0x81F8 -#define GL_SINGLE_COLOR 0x81F9 -#define GL_SEPARATE_SPECULAR_COLOR 0x81FA -#define GL_ALIASED_POINT_SIZE_RANGE 0x846D -/* GL_ARB_imaging */ -#define GL_CONSTANT_COLOR 0x8001 -#define GL_ONE_MINUS_CONSTANT_COLOR 0x8002 -#define GL_CONSTANT_ALPHA 0x8003 -#define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004 -#define GL_BLEND_COLOR 0x8005 -#define GL_FUNC_ADD 0x8006 -#define GL_MIN 0x8007 -#define GL_MAX 0x8008 -#define GL_BLEND_EQUATION 0x8009 -#define GL_FUNC_SUBTRACT 0x800A -#define GL_FUNC_REVERSE_SUBTRACT 0x800B -#define GL_CONVOLUTION_1D 0x8010 -#define GL_CONVOLUTION_2D 0x8011 -#define GL_SEPARABLE_2D 0x8012 -#define GL_CONVOLUTION_BORDER_MODE 0x8013 -#define GL_CONVOLUTION_FILTER_SCALE 0x8014 -#define GL_CONVOLUTION_FILTER_BIAS 0x8015 -#define GL_REDUCE 0x8016 -#define GL_CONVOLUTION_FORMAT 0x8017 -#define GL_CONVOLUTION_WIDTH 0x8018 -#define GL_CONVOLUTION_HEIGHT 0x8019 -#define GL_MAX_CONVOLUTION_WIDTH 0x801A -#define GL_MAX_CONVOLUTION_HEIGHT 0x801B -#define GL_POST_CONVOLUTION_RED_SCALE 0x801C -#define GL_POST_CONVOLUTION_GREEN_SCALE 0x801D -#define GL_POST_CONVOLUTION_BLUE_SCALE 0x801E -#define GL_POST_CONVOLUTION_ALPHA_SCALE 0x801F -#define GL_POST_CONVOLUTION_RED_BIAS 0x8020 -#define GL_POST_CONVOLUTION_GREEN_BIAS 0x8021 -#define GL_POST_CONVOLUTION_BLUE_BIAS 0x8022 -#define GL_POST_CONVOLUTION_ALPHA_BIAS 0x8023 -#define GL_HISTOGRAM 0x8024 -#define GL_PROXY_HISTOGRAM 0x8025 -#define GL_HISTOGRAM_WIDTH 0x8026 -#define GL_HISTOGRAM_FORMAT 0x8027 -#define GL_HISTOGRAM_RED_SIZE 0x8028 -#define GL_HISTOGRAM_GREEN_SIZE 0x8029 -#define GL_HISTOGRAM_BLUE_SIZE 0x802A -#define GL_HISTOGRAM_ALPHA_SIZE 0x802B -#define GL_HISTOGRAM_LUMINANCE_SIZE 0x802C -#define GL_HISTOGRAM_SINK 0x802D -#define GL_MINMAX 0x802E -#define GL_MINMAX_FORMAT 0x802F -#define GL_MINMAX_SINK 0x8030 -#define GL_TABLE_TOO_LARGE 0x8031 -#define GL_COLOR_MATRIX 0x80B1 -#define GL_COLOR_MATRIX_STACK_DEPTH 0x80B2 -#define GL_MAX_COLOR_MATRIX_STACK_DEPTH 0x80B3 -#define GL_POST_COLOR_MATRIX_RED_SCALE 0x80B4 -#define GL_POST_COLOR_MATRIX_GREEN_SCALE 0x80B5 -#define GL_POST_COLOR_MATRIX_BLUE_SCALE 0x80B6 -#define GL_POST_COLOR_MATRIX_ALPHA_SCALE 0x80B7 -#define GL_POST_COLOR_MATRIX_RED_BIAS 0x80B8 -#define GL_POST_COLOR_MATRIX_GREEN_BIAS 0x80B9 -#define GL_POST_COLOR_MATRIX_BLUE_BIAS 0x80BA -#define GL_POST_COLOR_MATRIX_ALPHA_BIAS 0x80BB -#define GL_COLOR_TABLE 0x80D0 -#define GL_POST_CONVOLUTION_COLOR_TABLE 0x80D1 -#define GL_POST_COLOR_MATRIX_COLOR_TABLE 0x80D2 -#define GL_PROXY_COLOR_TABLE 0x80D3 -#define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4 -#define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5 -#define GL_COLOR_TABLE_SCALE 0x80D6 -#define GL_COLOR_TABLE_BIAS 0x80D7 -#define GL_COLOR_TABLE_FORMAT 0x80D8 -#define GL_COLOR_TABLE_WIDTH 0x80D9 -#define GL_COLOR_TABLE_RED_SIZE 0x80DA -#define GL_COLOR_TABLE_GREEN_SIZE 0x80DB -#define GL_COLOR_TABLE_BLUE_SIZE 0x80DC -#define GL_COLOR_TABLE_ALPHA_SIZE 0x80DD -#define GL_COLOR_TABLE_LUMINANCE_SIZE 0x80DE -#define GL_COLOR_TABLE_INTENSITY_SIZE 0x80DF -#define GL_CONSTANT_BORDER 0x8151 -#define GL_REPLICATE_BORDER 0x8153 -#define GL_CONVOLUTION_BORDER_COLOR 0x8154 +#define GL_UNSIGNED_BYTE_3_3_2 0x8032 +#define GL_UNSIGNED_SHORT_4_4_4_4 0x8033 +#define GL_UNSIGNED_SHORT_5_5_5_1 0x8034 +#define GL_UNSIGNED_INT_8_8_8_8 0x8035 +#define GL_UNSIGNED_INT_10_10_10_2 0x8036 +#define GL_TEXTURE_BINDING_3D 0x806A +#define GL_PACK_SKIP_IMAGES 0x806B +#define GL_PACK_IMAGE_HEIGHT 0x806C +#define GL_UNPACK_SKIP_IMAGES 0x806D +#define GL_UNPACK_IMAGE_HEIGHT 0x806E +#define GL_TEXTURE_3D 0x806F +#define GL_PROXY_TEXTURE_3D 0x8070 +#define GL_TEXTURE_DEPTH 0x8071 +#define GL_TEXTURE_WRAP_R 0x8072 +#define GL_MAX_3D_TEXTURE_SIZE 0x8073 +#define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362 +#define GL_UNSIGNED_SHORT_5_6_5 0x8363 +#define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364 +#define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365 +#define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366 +#define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367 +#define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368 +#define GL_BGR 0x80E0 +#define GL_BGRA 0x80E1 +#define GL_MAX_ELEMENTS_VERTICES 0x80E8 +#define GL_MAX_ELEMENTS_INDICES 0x80E9 +#define GL_CLAMP_TO_EDGE 0x812F +#define GL_TEXTURE_MIN_LOD 0x813A +#define GL_TEXTURE_MAX_LOD 0x813B +#define GL_TEXTURE_BASE_LEVEL 0x813C +#define GL_TEXTURE_MAX_LEVEL 0x813D +#define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12 +#define GL_SMOOTH_POINT_SIZE_GRANULARITY 0x0B13 +#define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22 +#define GL_SMOOTH_LINE_WIDTH_GRANULARITY 0x0B23 +#define GL_ALIASED_LINE_WIDTH_RANGE 0x846E +#define GL_RESCALE_NORMAL 0x803A +#define GL_LIGHT_MODEL_COLOR_CONTROL 0x81F8 +#define GL_SINGLE_COLOR 0x81F9 +#define GL_SEPARATE_SPECULAR_COLOR 0x81FA +#define GL_ALIASED_POINT_SIZE_RANGE 0x846D /* GL_VERSION_1_3 */ -#define GL_TEXTURE0 0x84C0 -#define GL_TEXTURE1 0x84C1 -#define GL_TEXTURE2 0x84C2 -#define GL_TEXTURE3 0x84C3 -#define GL_TEXTURE4 0x84C4 -#define GL_TEXTURE5 0x84C5 -#define GL_TEXTURE6 0x84C6 -#define GL_TEXTURE7 0x84C7 -#define GL_TEXTURE8 0x84C8 -#define GL_TEXTURE9 0x84C9 -#define GL_TEXTURE10 0x84CA -#define GL_TEXTURE11 0x84CB -#define GL_TEXTURE12 0x84CC -#define GL_TEXTURE13 0x84CD -#define GL_TEXTURE14 0x84CE -#define GL_TEXTURE15 0x84CF -#define GL_TEXTURE16 0x84D0 -#define GL_TEXTURE17 0x84D1 -#define GL_TEXTURE18 0x84D2 -#define GL_TEXTURE19 0x84D3 -#define GL_TEXTURE20 0x84D4 -#define GL_TEXTURE21 0x84D5 -#define GL_TEXTURE22 0x84D6 -#define GL_TEXTURE23 0x84D7 -#define GL_TEXTURE24 0x84D8 -#define GL_TEXTURE25 0x84D9 -#define GL_TEXTURE26 0x84DA -#define GL_TEXTURE27 0x84DB -#define GL_TEXTURE28 0x84DC -#define GL_TEXTURE29 0x84DD -#define GL_TEXTURE30 0x84DE -#define GL_TEXTURE31 0x84DF -#define GL_ACTIVE_TEXTURE 0x84E0 -#define GL_MULTISAMPLE 0x809D -#define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E -#define GL_SAMPLE_ALPHA_TO_ONE 0x809F -#define GL_SAMPLE_COVERAGE 0x80A0 -#define GL_SAMPLE_BUFFERS 0x80A8 -#define GL_SAMPLES 0x80A9 -#define GL_SAMPLE_COVERAGE_VALUE 0x80AA -#define GL_SAMPLE_COVERAGE_INVERT 0x80AB -#define GL_TEXTURE_CUBE_MAP 0x8513 -#define GL_TEXTURE_BINDING_CUBE_MAP 0x8514 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A -#define GL_PROXY_TEXTURE_CUBE_MAP 0x851B -#define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C -#define GL_COMPRESSED_RGB 0x84ED -#define GL_COMPRESSED_RGBA 0x84EE -#define GL_TEXTURE_COMPRESSION_HINT 0x84EF -#define GL_TEXTURE_COMPRESSED_IMAGE_SIZE 0x86A0 -#define GL_TEXTURE_COMPRESSED 0x86A1 -#define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2 -#define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3 -#define GL_CLAMP_TO_BORDER 0x812D -#define GL_CLIENT_ACTIVE_TEXTURE 0x84E1 -#define GL_MAX_TEXTURE_UNITS 0x84E2 -#define GL_TRANSPOSE_MODELVIEW_MATRIX 0x84E3 -#define GL_TRANSPOSE_PROJECTION_MATRIX 0x84E4 -#define GL_TRANSPOSE_TEXTURE_MATRIX 0x84E5 -#define GL_TRANSPOSE_COLOR_MATRIX 0x84E6 -#define GL_MULTISAMPLE_BIT 0x20000000 -#define GL_NORMAL_MAP 0x8511 -#define GL_REFLECTION_MAP 0x8512 -#define GL_COMPRESSED_ALPHA 0x84E9 -#define GL_COMPRESSED_LUMINANCE 0x84EA -#define GL_COMPRESSED_LUMINANCE_ALPHA 0x84EB -#define GL_COMPRESSED_INTENSITY 0x84EC -#define GL_COMBINE 0x8570 -#define GL_COMBINE_RGB 0x8571 -#define GL_COMBINE_ALPHA 0x8572 -#define GL_SOURCE0_RGB 0x8580 -#define GL_SOURCE1_RGB 0x8581 -#define GL_SOURCE2_RGB 0x8582 -#define GL_SOURCE0_ALPHA 0x8588 -#define GL_SOURCE1_ALPHA 0x8589 -#define GL_SOURCE2_ALPHA 0x858A -#define GL_OPERAND0_RGB 0x8590 -#define GL_OPERAND1_RGB 0x8591 -#define GL_OPERAND2_RGB 0x8592 -#define GL_OPERAND0_ALPHA 0x8598 -#define GL_OPERAND1_ALPHA 0x8599 -#define GL_OPERAND2_ALPHA 0x859A -#define GL_RGB_SCALE 0x8573 -#define GL_ADD_SIGNED 0x8574 -#define GL_INTERPOLATE 0x8575 -#define GL_SUBTRACT 0x84E7 -#define GL_CONSTANT 0x8576 -#define GL_PRIMARY_COLOR 0x8577 -#define GL_PREVIOUS 0x8578 -#define GL_DOT3_RGB 0x86AE -#define GL_DOT3_RGBA 0x86AF - -/* GL_VERSION_1_4 */ -#define GL_BLEND_DST_RGB 0x80C8 -#define GL_BLEND_SRC_RGB 0x80C9 -#define GL_BLEND_DST_ALPHA 0x80CA -#define GL_BLEND_SRC_ALPHA 0x80CB -#define GL_POINT_FADE_THRESHOLD_SIZE 0x8128 -#define GL_DEPTH_COMPONENT16 0x81A5 -#define GL_DEPTH_COMPONENT24 0x81A6 -#define GL_DEPTH_COMPONENT32 0x81A7 -#define GL_MIRRORED_REPEAT 0x8370 -#define GL_MAX_TEXTURE_LOD_BIAS 0x84FD -#define GL_TEXTURE_LOD_BIAS 0x8501 -#define GL_INCR_WRAP 0x8507 -#define GL_DECR_WRAP 0x8508 -#define GL_TEXTURE_DEPTH_SIZE 0x884A -#define GL_TEXTURE_COMPARE_MODE 0x884C -#define GL_TEXTURE_COMPARE_FUNC 0x884D -#define GL_POINT_SIZE_MIN 0x8126 -#define GL_POINT_SIZE_MAX 0x8127 -#define GL_POINT_DISTANCE_ATTENUATION 0x8129 -#define GL_GENERATE_MIPMAP 0x8191 -#define GL_GENERATE_MIPMAP_HINT 0x8192 -#define GL_FOG_COORDINATE_SOURCE 0x8450 -#define GL_FOG_COORDINATE 0x8451 -#define GL_FRAGMENT_DEPTH 0x8452 -#define GL_CURRENT_FOG_COORDINATE 0x8453 -#define GL_FOG_COORDINATE_ARRAY_TYPE 0x8454 -#define GL_FOG_COORDINATE_ARRAY_STRIDE 0x8455 -#define GL_FOG_COORDINATE_ARRAY_POINTER 0x8456 -#define GL_FOG_COORDINATE_ARRAY 0x8457 -#define GL_COLOR_SUM 0x8458 -#define GL_CURRENT_SECONDARY_COLOR 0x8459 -#define GL_SECONDARY_COLOR_ARRAY_SIZE 0x845A -#define GL_SECONDARY_COLOR_ARRAY_TYPE 0x845B -#define GL_SECONDARY_COLOR_ARRAY_STRIDE 0x845C -#define GL_SECONDARY_COLOR_ARRAY_POINTER 0x845D -#define GL_SECONDARY_COLOR_ARRAY 0x845E -#define GL_TEXTURE_FILTER_CONTROL 0x8500 -#define GL_DEPTH_TEXTURE_MODE 0x884B -#define GL_COMPARE_R_TO_TEXTURE 0x884E - -/* GL_VERSION_1_5 */ -#define GL_BUFFER_SIZE 0x8764 -#define GL_BUFFER_USAGE 0x8765 -#define GL_QUERY_COUNTER_BITS 0x8864 -#define GL_CURRENT_QUERY 0x8865 -#define GL_QUERY_RESULT 0x8866 -#define GL_QUERY_RESULT_AVAILABLE 0x8867 -#define GL_ARRAY_BUFFER 0x8892 -#define GL_ELEMENT_ARRAY_BUFFER 0x8893 -#define GL_ARRAY_BUFFER_BINDING 0x8894 -#define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895 -#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F -#define GL_READ_ONLY 0x88B8 -#define GL_WRITE_ONLY 0x88B9 -#define GL_READ_WRITE 0x88BA -#define GL_BUFFER_ACCESS 0x88BB -#define GL_BUFFER_MAPPED 0x88BC -#define GL_BUFFER_MAP_POINTER 0x88BD -#define GL_STREAM_DRAW 0x88E0 -#define GL_STREAM_READ 0x88E1 -#define GL_STREAM_COPY 0x88E2 -#define GL_STATIC_DRAW 0x88E4 -#define GL_STATIC_READ 0x88E5 -#define GL_STATIC_COPY 0x88E6 -#define GL_DYNAMIC_DRAW 0x88E8 -#define GL_DYNAMIC_READ 0x88E9 -#define GL_DYNAMIC_COPY 0x88EA -#define GL_SAMPLES_PASSED 0x8914 -#define GL_SRC1_ALPHA 0x8589 -#define GL_VERTEX_ARRAY_BUFFER_BINDING 0x8896 -#define GL_NORMAL_ARRAY_BUFFER_BINDING 0x8897 -#define GL_COLOR_ARRAY_BUFFER_BINDING 0x8898 -#define GL_INDEX_ARRAY_BUFFER_BINDING 0x8899 -#define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A -#define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING 0x889B -#define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING 0x889C -#define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING 0x889D -#define GL_WEIGHT_ARRAY_BUFFER_BINDING 0x889E -#define GL_FOG_COORD_SRC 0x8450 -#define GL_FOG_COORD 0x8451 -#define GL_CURRENT_FOG_COORD 0x8453 -#define GL_FOG_COORD_ARRAY_TYPE 0x8454 -#define GL_FOG_COORD_ARRAY_STRIDE 0x8455 -#define GL_FOG_COORD_ARRAY_POINTER 0x8456 -#define GL_FOG_COORD_ARRAY 0x8457 -#define GL_FOG_COORD_ARRAY_BUFFER_BINDING 0x889D -#define GL_SRC0_RGB 0x8580 -#define GL_SRC1_RGB 0x8581 -#define GL_SRC2_RGB 0x8582 -#define GL_SRC0_ALPHA 0x8588 -#define GL_SRC2_ALPHA 0x858A - -/* GL_VERSION_2_0 */ -#define GL_BLEND_EQUATION_RGB 0x8009 -#define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622 -#define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623 -#define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624 -#define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625 -#define GL_CURRENT_VERTEX_ATTRIB 0x8626 -#define GL_VERTEX_PROGRAM_POINT_SIZE 0x8642 -#define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645 -#define GL_STENCIL_BACK_FUNC 0x8800 -#define GL_STENCIL_BACK_FAIL 0x8801 -#define GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802 -#define GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803 -#define GL_MAX_DRAW_BUFFERS 0x8824 -#define GL_DRAW_BUFFER0 0x8825 -#define GL_DRAW_BUFFER1 0x8826 -#define GL_DRAW_BUFFER2 0x8827 -#define GL_DRAW_BUFFER3 0x8828 -#define GL_DRAW_BUFFER4 0x8829 -#define GL_DRAW_BUFFER5 0x882A -#define GL_DRAW_BUFFER6 0x882B -#define GL_DRAW_BUFFER7 0x882C -#define GL_DRAW_BUFFER8 0x882D -#define GL_DRAW_BUFFER9 0x882E -#define GL_DRAW_BUFFER10 0x882F -#define GL_DRAW_BUFFER11 0x8830 -#define GL_DRAW_BUFFER12 0x8831 -#define GL_DRAW_BUFFER13 0x8832 -#define GL_DRAW_BUFFER14 0x8833 -#define GL_DRAW_BUFFER15 0x8834 -#define GL_BLEND_EQUATION_ALPHA 0x883D -#define GL_MAX_VERTEX_ATTRIBS 0x8869 -#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A -#define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872 -#define GL_FRAGMENT_SHADER 0x8B30 -#define GL_VERTEX_SHADER 0x8B31 -#define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49 -#define GL_MAX_VERTEX_UNIFORM_COMPONENTS 0x8B4A -#define GL_MAX_VARYING_FLOATS 0x8B4B -#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C -#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D -#define GL_SHADER_TYPE 0x8B4F -#define GL_FLOAT_VEC2 0x8B50 -#define GL_FLOAT_VEC3 0x8B51 -#define GL_FLOAT_VEC4 0x8B52 -#define GL_INT_VEC2 0x8B53 -#define GL_INT_VEC3 0x8B54 -#define GL_INT_VEC4 0x8B55 -#define GL_BOOL 0x8B56 -#define GL_BOOL_VEC2 0x8B57 -#define GL_BOOL_VEC3 0x8B58 -#define GL_BOOL_VEC4 0x8B59 -#define GL_FLOAT_MAT2 0x8B5A -#define GL_FLOAT_MAT3 0x8B5B -#define GL_FLOAT_MAT4 0x8B5C -#define GL_SAMPLER_1D 0x8B5D -#define GL_SAMPLER_2D 0x8B5E -#define GL_SAMPLER_3D 0x8B5F -#define GL_SAMPLER_CUBE 0x8B60 -#define GL_SAMPLER_1D_SHADOW 0x8B61 -#define GL_SAMPLER_2D_SHADOW 0x8B62 -#define GL_DELETE_STATUS 0x8B80 -#define GL_COMPILE_STATUS 0x8B81 -#define GL_LINK_STATUS 0x8B82 -#define GL_VALIDATE_STATUS 0x8B83 -#define GL_INFO_LOG_LENGTH 0x8B84 -#define GL_ATTACHED_SHADERS 0x8B85 -#define GL_ACTIVE_UNIFORMS 0x8B86 -#define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87 -#define GL_SHADER_SOURCE_LENGTH 0x8B88 -#define GL_ACTIVE_ATTRIBUTES 0x8B89 -#define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A -#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B -#define GL_SHADING_LANGUAGE_VERSION 0x8B8C -#define GL_CURRENT_PROGRAM 0x8B8D -#define GL_POINT_SPRITE_COORD_ORIGIN 0x8CA0 -#define GL_LOWER_LEFT 0x8CA1 -#define GL_UPPER_LEFT 0x8CA2 -#define GL_STENCIL_BACK_REF 0x8CA3 -#define GL_STENCIL_BACK_VALUE_MASK 0x8CA4 -#define GL_STENCIL_BACK_WRITEMASK 0x8CA5 -#define GL_VERTEX_PROGRAM_TWO_SIDE 0x8643 -#define GL_POINT_SPRITE 0x8861 -#define GL_COORD_REPLACE 0x8862 -#define GL_MAX_TEXTURE_COORDS 0x8871 - -/* GL_VERSION_2_1 */ -#define GL_PIXEL_PACK_BUFFER 0x88EB -#define GL_PIXEL_UNPACK_BUFFER 0x88EC -#define GL_PIXEL_PACK_BUFFER_BINDING 0x88ED -#define GL_PIXEL_UNPACK_BUFFER_BINDING 0x88EF -#define GL_FLOAT_MAT2x3 0x8B65 -#define GL_FLOAT_MAT2x4 0x8B66 -#define GL_FLOAT_MAT3x2 0x8B67 -#define GL_FLOAT_MAT3x4 0x8B68 -#define GL_FLOAT_MAT4x2 0x8B69 -#define GL_FLOAT_MAT4x3 0x8B6A -#define GL_SRGB 0x8C40 -#define GL_SRGB8 0x8C41 -#define GL_SRGB_ALPHA 0x8C42 -#define GL_SRGB8_ALPHA8 0x8C43 -#define GL_COMPRESSED_SRGB 0x8C48 -#define GL_COMPRESSED_SRGB_ALPHA 0x8C49 -#define GL_CURRENT_RASTER_SECONDARY_COLOR 0x845F -#define GL_SLUMINANCE_ALPHA 0x8C44 -#define GL_SLUMINANCE8_ALPHA8 0x8C45 -#define GL_SLUMINANCE 0x8C46 -#define GL_SLUMINANCE8 0x8C47 -#define GL_COMPRESSED_SLUMINANCE 0x8C4A -#define GL_COMPRESSED_SLUMINANCE_ALPHA 0x8C4B - -/* GL_VERSION_3_0 */ -#define GL_COMPARE_REF_TO_TEXTURE 0x884E -#define GL_CLIP_DISTANCE0 0x3000 -#define GL_CLIP_DISTANCE1 0x3001 -#define GL_CLIP_DISTANCE2 0x3002 -#define GL_CLIP_DISTANCE3 0x3003 -#define GL_CLIP_DISTANCE4 0x3004 -#define GL_CLIP_DISTANCE5 0x3005 -#define GL_CLIP_DISTANCE6 0x3006 -#define GL_CLIP_DISTANCE7 0x3007 -#define GL_MAX_CLIP_DISTANCES 0x0D32 -#define GL_MAJOR_VERSION 0x821B -#define GL_MINOR_VERSION 0x821C -#define GL_NUM_EXTENSIONS 0x821D -#define GL_CONTEXT_FLAGS 0x821E -#define GL_COMPRESSED_RED 0x8225 -#define GL_COMPRESSED_RG 0x8226 -#define GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT 0x00000001 -#define GL_RGBA32F 0x8814 -#define GL_RGB32F 0x8815 -#define GL_RGBA16F 0x881A -#define GL_RGB16F 0x881B -#define GL_VERTEX_ATTRIB_ARRAY_INTEGER 0x88FD -#define GL_MAX_ARRAY_TEXTURE_LAYERS 0x88FF -#define GL_MIN_PROGRAM_TEXEL_OFFSET 0x8904 -#define GL_MAX_PROGRAM_TEXEL_OFFSET 0x8905 -#define GL_CLAMP_READ_COLOR 0x891C -#define GL_FIXED_ONLY 0x891D -#define GL_MAX_VARYING_COMPONENTS 0x8B4B -#define GL_TEXTURE_1D_ARRAY 0x8C18 -#define GL_PROXY_TEXTURE_1D_ARRAY 0x8C19 -#define GL_TEXTURE_2D_ARRAY 0x8C1A -#define GL_PROXY_TEXTURE_2D_ARRAY 0x8C1B -#define GL_TEXTURE_BINDING_1D_ARRAY 0x8C1C -#define GL_TEXTURE_BINDING_2D_ARRAY 0x8C1D -#define GL_R11F_G11F_B10F 0x8C3A -#define GL_UNSIGNED_INT_10F_11F_11F_REV 0x8C3B -#define GL_RGB9_E5 0x8C3D -#define GL_UNSIGNED_INT_5_9_9_9_REV 0x8C3E -#define GL_TEXTURE_SHARED_SIZE 0x8C3F -#define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76 -#define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F -#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80 -#define GL_TRANSFORM_FEEDBACK_VARYINGS 0x8C83 -#define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84 -#define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85 -#define GL_PRIMITIVES_GENERATED 0x8C87 -#define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88 -#define GL_RASTERIZER_DISCARD 0x8C89 -#define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A -#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B -#define GL_INTERLEAVED_ATTRIBS 0x8C8C -#define GL_SEPARATE_ATTRIBS 0x8C8D -#define GL_TRANSFORM_FEEDBACK_BUFFER 0x8C8E -#define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F -#define GL_RGBA32UI 0x8D70 -#define GL_RGB32UI 0x8D71 -#define GL_RGBA16UI 0x8D76 -#define GL_RGB16UI 0x8D77 -#define GL_RGBA8UI 0x8D7C -#define GL_RGB8UI 0x8D7D -#define GL_RGBA32I 0x8D82 -#define GL_RGB32I 0x8D83 -#define GL_RGBA16I 0x8D88 -#define GL_RGB16I 0x8D89 -#define GL_RGBA8I 0x8D8E -#define GL_RGB8I 0x8D8F -#define GL_RED_INTEGER 0x8D94 -#define GL_GREEN_INTEGER 0x8D95 -#define GL_BLUE_INTEGER 0x8D96 -#define GL_RGB_INTEGER 0x8D98 -#define GL_RGBA_INTEGER 0x8D99 -#define GL_BGR_INTEGER 0x8D9A -#define GL_BGRA_INTEGER 0x8D9B -#define GL_SAMPLER_1D_ARRAY 0x8DC0 -#define GL_SAMPLER_2D_ARRAY 0x8DC1 -#define GL_SAMPLER_1D_ARRAY_SHADOW 0x8DC3 -#define GL_SAMPLER_2D_ARRAY_SHADOW 0x8DC4 -#define GL_SAMPLER_CUBE_SHADOW 0x8DC5 -#define GL_UNSIGNED_INT_VEC2 0x8DC6 -#define GL_UNSIGNED_INT_VEC3 0x8DC7 -#define GL_UNSIGNED_INT_VEC4 0x8DC8 -#define GL_INT_SAMPLER_1D 0x8DC9 -#define GL_INT_SAMPLER_2D 0x8DCA -#define GL_INT_SAMPLER_3D 0x8DCB -#define GL_INT_SAMPLER_CUBE 0x8DCC -#define GL_INT_SAMPLER_1D_ARRAY 0x8DCE -#define GL_INT_SAMPLER_2D_ARRAY 0x8DCF -#define GL_UNSIGNED_INT_SAMPLER_1D 0x8DD1 -#define GL_UNSIGNED_INT_SAMPLER_2D 0x8DD2 -#define GL_UNSIGNED_INT_SAMPLER_3D 0x8DD3 -#define GL_UNSIGNED_INT_SAMPLER_CUBE 0x8DD4 -#define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY 0x8DD6 -#define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY 0x8DD7 -#define GL_QUERY_WAIT 0x8E13 -#define GL_QUERY_NO_WAIT 0x8E14 -#define GL_QUERY_BY_REGION_WAIT 0x8E15 -#define GL_QUERY_BY_REGION_NO_WAIT 0x8E16 -#define GL_BUFFER_ACCESS_FLAGS 0x911F -#define GL_BUFFER_MAP_LENGTH 0x9120 -#define GL_BUFFER_MAP_OFFSET 0x9121 -#define GL_CLAMP_VERTEX_COLOR 0x891A -#define GL_CLAMP_FRAGMENT_COLOR 0x891B -#define GL_ALPHA_INTEGER 0x8D97 - -/* GL_VERSION_3_1 */ -#define GL_SAMPLER_2D_RECT 0x8B63 -#define GL_SAMPLER_2D_RECT_SHADOW 0x8B64 -#define GL_SAMPLER_BUFFER 0x8DC2 -#define GL_INT_SAMPLER_2D_RECT 0x8DCD -#define GL_INT_SAMPLER_BUFFER 0x8DD0 -#define GL_UNSIGNED_INT_SAMPLER_2D_RECT 0x8DD5 -#define GL_UNSIGNED_INT_SAMPLER_BUFFER 0x8DD8 -#define GL_TEXTURE_BUFFER 0x8C2A -#define GL_MAX_TEXTURE_BUFFER_SIZE 0x8C2B -#define GL_TEXTURE_BINDING_BUFFER 0x8C2C -#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING 0x8C2D -#define GL_TEXTURE_RECTANGLE 0x84F5 -#define GL_TEXTURE_BINDING_RECTANGLE 0x84F6 -#define GL_PROXY_TEXTURE_RECTANGLE 0x84F7 -#define GL_MAX_RECTANGLE_TEXTURE_SIZE 0x84F8 -#define GL_RED_SNORM 0x8F90 -#define GL_RG_SNORM 0x8F91 -#define GL_RGB_SNORM 0x8F92 -#define GL_RGBA_SNORM 0x8F93 -#define GL_R8_SNORM 0x8F94 -#define GL_RG8_SNORM 0x8F95 -#define GL_RGB8_SNORM 0x8F96 -#define GL_RGBA8_SNORM 0x8F97 -#define GL_R16_SNORM 0x8F98 -#define GL_RG16_SNORM 0x8F99 -#define GL_RGB16_SNORM 0x8F9A -#define GL_RGBA16_SNORM 0x8F9B -#define GL_SIGNED_NORMALIZED 0x8F9C -#define GL_PRIMITIVE_RESTART 0x8F9D -#define GL_PRIMITIVE_RESTART_INDEX 0x8F9E - -/* GL_VERSION_3_2 */ -#define GL_CONTEXT_CORE_PROFILE_BIT 0x00000001 -#define GL_CONTEXT_COMPATIBILITY_PROFILE_BIT 0x00000002 -#define GL_LINES_ADJACENCY 0x000A -#define GL_LINE_STRIP_ADJACENCY 0x000B -#define GL_TRIANGLES_ADJACENCY 0x000C -#define GL_TRIANGLE_STRIP_ADJACENCY 0x000D -#define GL_PROGRAM_POINT_SIZE 0x8642 -#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS 0x8C29 -#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED 0x8DA7 -#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS 0x8DA8 -#define GL_GEOMETRY_SHADER 0x8DD9 -#define GL_GEOMETRY_VERTICES_OUT 0x8916 -#define GL_GEOMETRY_INPUT_TYPE 0x8917 -#define GL_GEOMETRY_OUTPUT_TYPE 0x8918 -#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS 0x8DDF -#define GL_MAX_GEOMETRY_OUTPUT_VERTICES 0x8DE0 -#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS 0x8DE1 -#define GL_MAX_VERTEX_OUTPUT_COMPONENTS 0x9122 -#define GL_MAX_GEOMETRY_INPUT_COMPONENTS 0x9123 -#define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS 0x9124 -#define GL_MAX_FRAGMENT_INPUT_COMPONENTS 0x9125 -#define GL_CONTEXT_PROFILE_MASK 0x9126 - -/* GL_VERSION_3_3 */ -#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR 0x88FE - -/* GL_VERSION_4_0 */ -#define GL_SAMPLE_SHADING 0x8C36 -#define GL_MIN_SAMPLE_SHADING_VALUE 0x8C37 -#define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5E -#define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5F -#define GL_TEXTURE_CUBE_MAP_ARRAY 0x9009 -#define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY 0x900A -#define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY 0x900B -#define GL_SAMPLER_CUBE_MAP_ARRAY 0x900C -#define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW 0x900D -#define GL_INT_SAMPLER_CUBE_MAP_ARRAY 0x900E -#define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY 0x900F - -/* GL_VERSION_4_1 */ - -/* GL_VERSION_4_2 */ - -/* GL_VERSION_4_3 */ -#define GL_NUM_SHADING_LANGUAGE_VERSIONS 0x82E9 -#define GL_VERTEX_ATTRIB_ARRAY_LONG 0x874E - -/* GL_ARB_multitexture */ -#define GL_TEXTURE0_ARB 0x84C0 -#define GL_TEXTURE1_ARB 0x84C1 -#define GL_TEXTURE2_ARB 0x84C2 -#define GL_TEXTURE3_ARB 0x84C3 -#define GL_TEXTURE4_ARB 0x84C4 -#define GL_TEXTURE5_ARB 0x84C5 -#define GL_TEXTURE6_ARB 0x84C6 -#define GL_TEXTURE7_ARB 0x84C7 -#define GL_TEXTURE8_ARB 0x84C8 -#define GL_TEXTURE9_ARB 0x84C9 -#define GL_TEXTURE10_ARB 0x84CA -#define GL_TEXTURE11_ARB 0x84CB -#define GL_TEXTURE12_ARB 0x84CC -#define GL_TEXTURE13_ARB 0x84CD -#define GL_TEXTURE14_ARB 0x84CE -#define GL_TEXTURE15_ARB 0x84CF -#define GL_TEXTURE16_ARB 0x84D0 -#define GL_TEXTURE17_ARB 0x84D1 -#define GL_TEXTURE18_ARB 0x84D2 -#define GL_TEXTURE19_ARB 0x84D3 -#define GL_TEXTURE20_ARB 0x84D4 -#define GL_TEXTURE21_ARB 0x84D5 -#define GL_TEXTURE22_ARB 0x84D6 -#define GL_TEXTURE23_ARB 0x84D7 -#define GL_TEXTURE24_ARB 0x84D8 -#define GL_TEXTURE25_ARB 0x84D9 -#define GL_TEXTURE26_ARB 0x84DA -#define GL_TEXTURE27_ARB 0x84DB -#define GL_TEXTURE28_ARB 0x84DC -#define GL_TEXTURE29_ARB 0x84DD -#define GL_TEXTURE30_ARB 0x84DE -#define GL_TEXTURE31_ARB 0x84DF -#define GL_ACTIVE_TEXTURE_ARB 0x84E0 -#define GL_CLIENT_ACTIVE_TEXTURE_ARB 0x84E1 -#define GL_MAX_TEXTURE_UNITS_ARB 0x84E2 - -/* GL_ARB_transpose_matrix */ -#define GL_TRANSPOSE_MODELVIEW_MATRIX_ARB 0x84E3 -#define GL_TRANSPOSE_PROJECTION_MATRIX_ARB 0x84E4 -#define GL_TRANSPOSE_TEXTURE_MATRIX_ARB 0x84E5 -#define GL_TRANSPOSE_COLOR_MATRIX_ARB 0x84E6 - -/* GL_ARB_multisample */ -#define GL_MULTISAMPLE_ARB 0x809D -#define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB 0x809E -#define GL_SAMPLE_ALPHA_TO_ONE_ARB 0x809F -#define GL_SAMPLE_COVERAGE_ARB 0x80A0 -#define GL_SAMPLE_BUFFERS_ARB 0x80A8 -#define GL_SAMPLES_ARB 0x80A9 -#define GL_SAMPLE_COVERAGE_VALUE_ARB 0x80AA -#define GL_SAMPLE_COVERAGE_INVERT_ARB 0x80AB -#define GL_MULTISAMPLE_BIT_ARB 0x20000000 - -/* GL_ARB_texture_env_add */ - -/* GL_ARB_texture_cube_map */ -#define GL_NORMAL_MAP_ARB 0x8511 -#define GL_REFLECTION_MAP_ARB 0x8512 -#define GL_TEXTURE_CUBE_MAP_ARB 0x8513 -#define GL_TEXTURE_BINDING_CUBE_MAP_ARB 0x8514 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x8515 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x8516 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x8517 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x8518 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x8519 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x851A -#define GL_PROXY_TEXTURE_CUBE_MAP_ARB 0x851B -#define GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB 0x851C - -/* GL_ARB_texture_compression */ -#define GL_COMPRESSED_ALPHA_ARB 0x84E9 -#define GL_COMPRESSED_LUMINANCE_ARB 0x84EA -#define GL_COMPRESSED_LUMINANCE_ALPHA_ARB 0x84EB -#define GL_COMPRESSED_INTENSITY_ARB 0x84EC -#define GL_COMPRESSED_RGB_ARB 0x84ED -#define GL_COMPRESSED_RGBA_ARB 0x84EE -#define GL_TEXTURE_COMPRESSION_HINT_ARB 0x84EF -#define GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB 0x86A0 -#define GL_TEXTURE_COMPRESSED_ARB 0x86A1 -#define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2 -#define GL_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A3 - -/* GL_ARB_texture_border_clamp */ -#define GL_CLAMP_TO_BORDER_ARB 0x812D - -/* GL_ARB_point_parameters */ -#define GL_POINT_SIZE_MIN_ARB 0x8126 -#define GL_POINT_SIZE_MAX_ARB 0x8127 -#define GL_POINT_FADE_THRESHOLD_SIZE_ARB 0x8128 -#define GL_POINT_DISTANCE_ATTENUATION_ARB 0x8129 - -/* GL_ARB_vertex_blend */ -#define GL_MAX_VERTEX_UNITS_ARB 0x86A4 -#define GL_ACTIVE_VERTEX_UNITS_ARB 0x86A5 -#define GL_WEIGHT_SUM_UNITY_ARB 0x86A6 -#define GL_VERTEX_BLEND_ARB 0x86A7 -#define GL_CURRENT_WEIGHT_ARB 0x86A8 -#define GL_WEIGHT_ARRAY_TYPE_ARB 0x86A9 -#define GL_WEIGHT_ARRAY_STRIDE_ARB 0x86AA -#define GL_WEIGHT_ARRAY_SIZE_ARB 0x86AB -#define GL_WEIGHT_ARRAY_POINTER_ARB 0x86AC -#define GL_WEIGHT_ARRAY_ARB 0x86AD -#define GL_MODELVIEW0_ARB 0x1700 -#define GL_MODELVIEW1_ARB 0x850A -#define GL_MODELVIEW2_ARB 0x8722 -#define GL_MODELVIEW3_ARB 0x8723 -#define GL_MODELVIEW4_ARB 0x8724 -#define GL_MODELVIEW5_ARB 0x8725 -#define GL_MODELVIEW6_ARB 0x8726 -#define GL_MODELVIEW7_ARB 0x8727 -#define GL_MODELVIEW8_ARB 0x8728 -#define GL_MODELVIEW9_ARB 0x8729 -#define GL_MODELVIEW10_ARB 0x872A -#define GL_MODELVIEW11_ARB 0x872B -#define GL_MODELVIEW12_ARB 0x872C -#define GL_MODELVIEW13_ARB 0x872D -#define GL_MODELVIEW14_ARB 0x872E -#define GL_MODELVIEW15_ARB 0x872F -#define GL_MODELVIEW16_ARB 0x8730 -#define GL_MODELVIEW17_ARB 0x8731 -#define GL_MODELVIEW18_ARB 0x8732 -#define GL_MODELVIEW19_ARB 0x8733 -#define GL_MODELVIEW20_ARB 0x8734 -#define GL_MODELVIEW21_ARB 0x8735 -#define GL_MODELVIEW22_ARB 0x8736 -#define GL_MODELVIEW23_ARB 0x8737 -#define GL_MODELVIEW24_ARB 0x8738 -#define GL_MODELVIEW25_ARB 0x8739 -#define GL_MODELVIEW26_ARB 0x873A -#define GL_MODELVIEW27_ARB 0x873B -#define GL_MODELVIEW28_ARB 0x873C -#define GL_MODELVIEW29_ARB 0x873D -#define GL_MODELVIEW30_ARB 0x873E -#define GL_MODELVIEW31_ARB 0x873F - -/* GL_ARB_matrix_palette */ -#define GL_MATRIX_PALETTE_ARB 0x8840 -#define GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB 0x8841 -#define GL_MAX_PALETTE_MATRICES_ARB 0x8842 -#define GL_CURRENT_PALETTE_MATRIX_ARB 0x8843 -#define GL_MATRIX_INDEX_ARRAY_ARB 0x8844 -#define GL_CURRENT_MATRIX_INDEX_ARB 0x8845 -#define GL_MATRIX_INDEX_ARRAY_SIZE_ARB 0x8846 -#define GL_MATRIX_INDEX_ARRAY_TYPE_ARB 0x8847 -#define GL_MATRIX_INDEX_ARRAY_STRIDE_ARB 0x8848 -#define GL_MATRIX_INDEX_ARRAY_POINTER_ARB 0x8849 - -/* GL_ARB_texture_env_combine */ -#define GL_COMBINE_ARB 0x8570 -#define GL_COMBINE_RGB_ARB 0x8571 -#define GL_COMBINE_ALPHA_ARB 0x8572 -#define GL_SOURCE0_RGB_ARB 0x8580 -#define GL_SOURCE1_RGB_ARB 0x8581 -#define GL_SOURCE2_RGB_ARB 0x8582 -#define GL_SOURCE0_ALPHA_ARB 0x8588 -#define GL_SOURCE1_ALPHA_ARB 0x8589 -#define GL_SOURCE2_ALPHA_ARB 0x858A -#define GL_OPERAND0_RGB_ARB 0x8590 -#define GL_OPERAND1_RGB_ARB 0x8591 -#define GL_OPERAND2_RGB_ARB 0x8592 -#define GL_OPERAND0_ALPHA_ARB 0x8598 -#define GL_OPERAND1_ALPHA_ARB 0x8599 -#define GL_OPERAND2_ALPHA_ARB 0x859A -#define GL_RGB_SCALE_ARB 0x8573 -#define GL_ADD_SIGNED_ARB 0x8574 -#define GL_INTERPOLATE_ARB 0x8575 -#define GL_SUBTRACT_ARB 0x84E7 -#define GL_CONSTANT_ARB 0x8576 -#define GL_PRIMARY_COLOR_ARB 0x8577 -#define GL_PREVIOUS_ARB 0x8578 - -/* GL_ARB_texture_env_crossbar */ - -/* GL_ARB_texture_env_dot3 */ -#define GL_DOT3_RGB_ARB 0x86AE -#define GL_DOT3_RGBA_ARB 0x86AF - -/* GL_ARB_texture_mirrored_repeat */ -#define GL_MIRRORED_REPEAT_ARB 0x8370 - -/* GL_ARB_depth_texture */ -#define GL_DEPTH_COMPONENT16_ARB 0x81A5 -#define GL_DEPTH_COMPONENT24_ARB 0x81A6 -#define GL_DEPTH_COMPONENT32_ARB 0x81A7 -#define GL_TEXTURE_DEPTH_SIZE_ARB 0x884A -#define GL_DEPTH_TEXTURE_MODE_ARB 0x884B - -/* GL_ARB_shadow */ -#define GL_TEXTURE_COMPARE_MODE_ARB 0x884C -#define GL_TEXTURE_COMPARE_FUNC_ARB 0x884D -#define GL_COMPARE_R_TO_TEXTURE_ARB 0x884E - -/* GL_ARB_shadow_ambient */ -#define GL_TEXTURE_COMPARE_FAIL_VALUE_ARB 0x80BF - -/* GL_ARB_window_pos */ - -/* GL_ARB_vertex_program */ -#define GL_COLOR_SUM_ARB 0x8458 -#define GL_VERTEX_PROGRAM_ARB 0x8620 -#define GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB 0x8622 -#define GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB 0x8623 -#define GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB 0x8624 -#define GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB 0x8625 -#define GL_CURRENT_VERTEX_ATTRIB_ARB 0x8626 -#define GL_PROGRAM_LENGTH_ARB 0x8627 -#define GL_PROGRAM_STRING_ARB 0x8628 -#define GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB 0x862E -#define GL_MAX_PROGRAM_MATRICES_ARB 0x862F -#define GL_CURRENT_MATRIX_STACK_DEPTH_ARB 0x8640 -#define GL_CURRENT_MATRIX_ARB 0x8641 -#define GL_VERTEX_PROGRAM_POINT_SIZE_ARB 0x8642 -#define GL_VERTEX_PROGRAM_TWO_SIDE_ARB 0x8643 -#define GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB 0x8645 -#define GL_PROGRAM_ERROR_POSITION_ARB 0x864B -#define GL_PROGRAM_BINDING_ARB 0x8677 -#define GL_MAX_VERTEX_ATTRIBS_ARB 0x8869 -#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB 0x886A -#define GL_PROGRAM_ERROR_STRING_ARB 0x8874 -#define GL_PROGRAM_FORMAT_ASCII_ARB 0x8875 -#define GL_PROGRAM_FORMAT_ARB 0x8876 -#define GL_PROGRAM_INSTRUCTIONS_ARB 0x88A0 -#define GL_MAX_PROGRAM_INSTRUCTIONS_ARB 0x88A1 -#define GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A2 -#define GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A3 -#define GL_PROGRAM_TEMPORARIES_ARB 0x88A4 -#define GL_MAX_PROGRAM_TEMPORARIES_ARB 0x88A5 -#define GL_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A6 -#define GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A7 -#define GL_PROGRAM_PARAMETERS_ARB 0x88A8 -#define GL_MAX_PROGRAM_PARAMETERS_ARB 0x88A9 -#define GL_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AA -#define GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AB -#define GL_PROGRAM_ATTRIBS_ARB 0x88AC -#define GL_MAX_PROGRAM_ATTRIBS_ARB 0x88AD -#define GL_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AE -#define GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AF -#define GL_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B0 -#define GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B1 -#define GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B2 -#define GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B3 -#define GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB 0x88B4 -#define GL_MAX_PROGRAM_ENV_PARAMETERS_ARB 0x88B5 -#define GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB 0x88B6 -#define GL_TRANSPOSE_CURRENT_MATRIX_ARB 0x88B7 -#define GL_MATRIX0_ARB 0x88C0 -#define GL_MATRIX1_ARB 0x88C1 -#define GL_MATRIX2_ARB 0x88C2 -#define GL_MATRIX3_ARB 0x88C3 -#define GL_MATRIX4_ARB 0x88C4 -#define GL_MATRIX5_ARB 0x88C5 -#define GL_MATRIX6_ARB 0x88C6 -#define GL_MATRIX7_ARB 0x88C7 -#define GL_MATRIX8_ARB 0x88C8 -#define GL_MATRIX9_ARB 0x88C9 -#define GL_MATRIX10_ARB 0x88CA -#define GL_MATRIX11_ARB 0x88CB -#define GL_MATRIX12_ARB 0x88CC -#define GL_MATRIX13_ARB 0x88CD -#define GL_MATRIX14_ARB 0x88CE -#define GL_MATRIX15_ARB 0x88CF -#define GL_MATRIX16_ARB 0x88D0 -#define GL_MATRIX17_ARB 0x88D1 -#define GL_MATRIX18_ARB 0x88D2 -#define GL_MATRIX19_ARB 0x88D3 -#define GL_MATRIX20_ARB 0x88D4 -#define GL_MATRIX21_ARB 0x88D5 -#define GL_MATRIX22_ARB 0x88D6 -#define GL_MATRIX23_ARB 0x88D7 -#define GL_MATRIX24_ARB 0x88D8 -#define GL_MATRIX25_ARB 0x88D9 -#define GL_MATRIX26_ARB 0x88DA -#define GL_MATRIX27_ARB 0x88DB -#define GL_MATRIX28_ARB 0x88DC -#define GL_MATRIX29_ARB 0x88DD -#define GL_MATRIX30_ARB 0x88DE -#define GL_MATRIX31_ARB 0x88DF - -/* GL_ARB_fragment_program */ -#define GL_FRAGMENT_PROGRAM_ARB 0x8804 -#define GL_PROGRAM_ALU_INSTRUCTIONS_ARB 0x8805 -#define GL_PROGRAM_TEX_INSTRUCTIONS_ARB 0x8806 -#define GL_PROGRAM_TEX_INDIRECTIONS_ARB 0x8807 -#define GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x8808 -#define GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x8809 -#define GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x880A -#define GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB 0x880B -#define GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB 0x880C -#define GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB 0x880D -#define GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x880E -#define GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x880F -#define GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x8810 -#define GL_MAX_TEXTURE_COORDS_ARB 0x8871 -#define GL_MAX_TEXTURE_IMAGE_UNITS_ARB 0x8872 - -/* GL_ARB_vertex_buffer_object */ -#define GL_BUFFER_SIZE_ARB 0x8764 -#define GL_BUFFER_USAGE_ARB 0x8765 -#define GL_ARRAY_BUFFER_ARB 0x8892 -#define GL_ELEMENT_ARRAY_BUFFER_ARB 0x8893 -#define GL_ARRAY_BUFFER_BINDING_ARB 0x8894 -#define GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB 0x8895 -#define GL_VERTEX_ARRAY_BUFFER_BINDING_ARB 0x8896 -#define GL_NORMAL_ARRAY_BUFFER_BINDING_ARB 0x8897 -#define GL_COLOR_ARRAY_BUFFER_BINDING_ARB 0x8898 -#define GL_INDEX_ARRAY_BUFFER_BINDING_ARB 0x8899 -#define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB 0x889A -#define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB 0x889B -#define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB 0x889C -#define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB 0x889D -#define GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB 0x889E -#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB 0x889F -#define GL_READ_ONLY_ARB 0x88B8 -#define GL_WRITE_ONLY_ARB 0x88B9 -#define GL_READ_WRITE_ARB 0x88BA -#define GL_BUFFER_ACCESS_ARB 0x88BB -#define GL_BUFFER_MAPPED_ARB 0x88BC -#define GL_BUFFER_MAP_POINTER_ARB 0x88BD -#define GL_STREAM_DRAW_ARB 0x88E0 -#define GL_STREAM_READ_ARB 0x88E1 -#define GL_STREAM_COPY_ARB 0x88E2 -#define GL_STATIC_DRAW_ARB 0x88E4 -#define GL_STATIC_READ_ARB 0x88E5 -#define GL_STATIC_COPY_ARB 0x88E6 -#define GL_DYNAMIC_DRAW_ARB 0x88E8 -#define GL_DYNAMIC_READ_ARB 0x88E9 -#define GL_DYNAMIC_COPY_ARB 0x88EA - -/* GL_ARB_occlusion_query */ -#define GL_QUERY_COUNTER_BITS_ARB 0x8864 -#define GL_CURRENT_QUERY_ARB 0x8865 -#define GL_QUERY_RESULT_ARB 0x8866 -#define GL_QUERY_RESULT_AVAILABLE_ARB 0x8867 -#define GL_SAMPLES_PASSED_ARB 0x8914 - -/* GL_ARB_shader_objects */ -#define GL_PROGRAM_OBJECT_ARB 0x8B40 -#define GL_SHADER_OBJECT_ARB 0x8B48 -#define GL_OBJECT_TYPE_ARB 0x8B4E -#define GL_OBJECT_SUBTYPE_ARB 0x8B4F -#define GL_FLOAT_VEC2_ARB 0x8B50 -#define GL_FLOAT_VEC3_ARB 0x8B51 -#define GL_FLOAT_VEC4_ARB 0x8B52 -#define GL_INT_VEC2_ARB 0x8B53 -#define GL_INT_VEC3_ARB 0x8B54 -#define GL_INT_VEC4_ARB 0x8B55 -#define GL_BOOL_ARB 0x8B56 -#define GL_BOOL_VEC2_ARB 0x8B57 -#define GL_BOOL_VEC3_ARB 0x8B58 -#define GL_BOOL_VEC4_ARB 0x8B59 -#define GL_FLOAT_MAT2_ARB 0x8B5A -#define GL_FLOAT_MAT3_ARB 0x8B5B -#define GL_FLOAT_MAT4_ARB 0x8B5C -#define GL_SAMPLER_1D_ARB 0x8B5D -#define GL_SAMPLER_2D_ARB 0x8B5E -#define GL_SAMPLER_3D_ARB 0x8B5F -#define GL_SAMPLER_CUBE_ARB 0x8B60 -#define GL_SAMPLER_1D_SHADOW_ARB 0x8B61 -#define GL_SAMPLER_2D_SHADOW_ARB 0x8B62 -#define GL_SAMPLER_2D_RECT_ARB 0x8B63 -#define GL_SAMPLER_2D_RECT_SHADOW_ARB 0x8B64 -#define GL_OBJECT_DELETE_STATUS_ARB 0x8B80 -#define GL_OBJECT_COMPILE_STATUS_ARB 0x8B81 -#define GL_OBJECT_LINK_STATUS_ARB 0x8B82 -#define GL_OBJECT_VALIDATE_STATUS_ARB 0x8B83 -#define GL_OBJECT_INFO_LOG_LENGTH_ARB 0x8B84 -#define GL_OBJECT_ATTACHED_OBJECTS_ARB 0x8B85 -#define GL_OBJECT_ACTIVE_UNIFORMS_ARB 0x8B86 -#define GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB 0x8B87 -#define GL_OBJECT_SHADER_SOURCE_LENGTH_ARB 0x8B88 - -/* GL_ARB_vertex_shader */ -#define GL_VERTEX_SHADER_ARB 0x8B31 -#define GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB 0x8B4A -#define GL_MAX_VARYING_FLOATS_ARB 0x8B4B -#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB 0x8B4C -#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB 0x8B4D -#define GL_OBJECT_ACTIVE_ATTRIBUTES_ARB 0x8B89 -#define GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB 0x8B8A - -/* GL_ARB_fragment_shader */ -#define GL_FRAGMENT_SHADER_ARB 0x8B30 -#define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB 0x8B49 -#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB 0x8B8B - -/* GL_ARB_shading_language_100 */ -#define GL_SHADING_LANGUAGE_VERSION_ARB 0x8B8C - -/* GL_ARB_texture_non_power_of_two */ - -/* GL_ARB_point_sprite */ -#define GL_POINT_SPRITE_ARB 0x8861 -#define GL_COORD_REPLACE_ARB 0x8862 - -/* GL_ARB_fragment_program_shadow */ - -/* GL_ARB_draw_buffers */ -#define GL_MAX_DRAW_BUFFERS_ARB 0x8824 -#define GL_DRAW_BUFFER0_ARB 0x8825 -#define GL_DRAW_BUFFER1_ARB 0x8826 -#define GL_DRAW_BUFFER2_ARB 0x8827 -#define GL_DRAW_BUFFER3_ARB 0x8828 -#define GL_DRAW_BUFFER4_ARB 0x8829 -#define GL_DRAW_BUFFER5_ARB 0x882A -#define GL_DRAW_BUFFER6_ARB 0x882B -#define GL_DRAW_BUFFER7_ARB 0x882C -#define GL_DRAW_BUFFER8_ARB 0x882D -#define GL_DRAW_BUFFER9_ARB 0x882E -#define GL_DRAW_BUFFER10_ARB 0x882F -#define GL_DRAW_BUFFER11_ARB 0x8830 -#define GL_DRAW_BUFFER12_ARB 0x8831 -#define GL_DRAW_BUFFER13_ARB 0x8832 -#define GL_DRAW_BUFFER14_ARB 0x8833 -#define GL_DRAW_BUFFER15_ARB 0x8834 - -/* GL_ARB_texture_rectangle */ -#define GL_TEXTURE_RECTANGLE_ARB 0x84F5 -#define GL_TEXTURE_BINDING_RECTANGLE_ARB 0x84F6 -#define GL_PROXY_TEXTURE_RECTANGLE_ARB 0x84F7 -#define GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB 0x84F8 - -/* GL_ARB_color_buffer_float */ -#define GL_RGBA_FLOAT_MODE_ARB 0x8820 -#define GL_CLAMP_VERTEX_COLOR_ARB 0x891A -#define GL_CLAMP_FRAGMENT_COLOR_ARB 0x891B -#define GL_CLAMP_READ_COLOR_ARB 0x891C -#define GL_FIXED_ONLY_ARB 0x891D - -/* GL_ARB_half_float_pixel */ -#define GL_HALF_FLOAT_ARB 0x140B - -/* GL_ARB_texture_float */ -#define GL_TEXTURE_RED_TYPE_ARB 0x8C10 -#define GL_TEXTURE_GREEN_TYPE_ARB 0x8C11 -#define GL_TEXTURE_BLUE_TYPE_ARB 0x8C12 -#define GL_TEXTURE_ALPHA_TYPE_ARB 0x8C13 -#define GL_TEXTURE_LUMINANCE_TYPE_ARB 0x8C14 -#define GL_TEXTURE_INTENSITY_TYPE_ARB 0x8C15 -#define GL_TEXTURE_DEPTH_TYPE_ARB 0x8C16 -#define GL_UNSIGNED_NORMALIZED_ARB 0x8C17 -#define GL_RGBA32F_ARB 0x8814 -#define GL_RGB32F_ARB 0x8815 -#define GL_ALPHA32F_ARB 0x8816 -#define GL_INTENSITY32F_ARB 0x8817 -#define GL_LUMINANCE32F_ARB 0x8818 -#define GL_LUMINANCE_ALPHA32F_ARB 0x8819 -#define GL_RGBA16F_ARB 0x881A -#define GL_RGB16F_ARB 0x881B -#define GL_ALPHA16F_ARB 0x881C -#define GL_INTENSITY16F_ARB 0x881D -#define GL_LUMINANCE16F_ARB 0x881E -#define GL_LUMINANCE_ALPHA16F_ARB 0x881F - -/* GL_ARB_pixel_buffer_object */ -#define GL_PIXEL_PACK_BUFFER_ARB 0x88EB -#define GL_PIXEL_UNPACK_BUFFER_ARB 0x88EC -#define GL_PIXEL_PACK_BUFFER_BINDING_ARB 0x88ED -#define GL_PIXEL_UNPACK_BUFFER_BINDING_ARB 0x88EF - -/* GL_ARB_depth_buffer_float */ -#define GL_DEPTH_COMPONENT32F 0x8CAC -#define GL_DEPTH32F_STENCIL8 0x8CAD -#define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD - -/* GL_ARB_draw_instanced */ - -/* GL_ARB_framebuffer_object */ -#define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506 -#define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210 -#define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211 -#define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212 -#define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213 -#define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214 -#define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215 -#define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216 -#define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217 -#define GL_FRAMEBUFFER_DEFAULT 0x8218 -#define GL_FRAMEBUFFER_UNDEFINED 0x8219 -#define GL_DEPTH_STENCIL_ATTACHMENT 0x821A -#define GL_MAX_RENDERBUFFER_SIZE 0x84E8 -#define GL_DEPTH_STENCIL 0x84F9 -#define GL_UNSIGNED_INT_24_8 0x84FA -#define GL_DEPTH24_STENCIL8 0x88F0 -#define GL_TEXTURE_STENCIL_SIZE 0x88F1 -#define GL_TEXTURE_RED_TYPE 0x8C10 -#define GL_TEXTURE_GREEN_TYPE 0x8C11 -#define GL_TEXTURE_BLUE_TYPE 0x8C12 -#define GL_TEXTURE_ALPHA_TYPE 0x8C13 -#define GL_TEXTURE_DEPTH_TYPE 0x8C16 -#define GL_UNSIGNED_NORMALIZED 0x8C17 -#define GL_FRAMEBUFFER_BINDING 0x8CA6 -#define GL_DRAW_FRAMEBUFFER_BINDING 0x8CA6 -#define GL_RENDERBUFFER_BINDING 0x8CA7 -#define GL_READ_FRAMEBUFFER 0x8CA8 -#define GL_DRAW_FRAMEBUFFER 0x8CA9 -#define GL_READ_FRAMEBUFFER_BINDING 0x8CAA -#define GL_RENDERBUFFER_SAMPLES 0x8CAB -#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0 -#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1 -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2 -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3 -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4 -#define GL_FRAMEBUFFER_COMPLETE 0x8CD5 -#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6 -#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7 -#define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER 0x8CDB -#define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER 0x8CDC -#define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD -#define GL_MAX_COLOR_ATTACHMENTS 0x8CDF -#define GL_COLOR_ATTACHMENT0 0x8CE0 -#define GL_COLOR_ATTACHMENT1 0x8CE1 -#define GL_COLOR_ATTACHMENT2 0x8CE2 -#define GL_COLOR_ATTACHMENT3 0x8CE3 -#define GL_COLOR_ATTACHMENT4 0x8CE4 -#define GL_COLOR_ATTACHMENT5 0x8CE5 -#define GL_COLOR_ATTACHMENT6 0x8CE6 -#define GL_COLOR_ATTACHMENT7 0x8CE7 -#define GL_COLOR_ATTACHMENT8 0x8CE8 -#define GL_COLOR_ATTACHMENT9 0x8CE9 -#define GL_COLOR_ATTACHMENT10 0x8CEA -#define GL_COLOR_ATTACHMENT11 0x8CEB -#define GL_COLOR_ATTACHMENT12 0x8CEC -#define GL_COLOR_ATTACHMENT13 0x8CED -#define GL_COLOR_ATTACHMENT14 0x8CEE -#define GL_COLOR_ATTACHMENT15 0x8CEF -#define GL_DEPTH_ATTACHMENT 0x8D00 -#define GL_STENCIL_ATTACHMENT 0x8D20 -#define GL_FRAMEBUFFER 0x8D40 -#define GL_RENDERBUFFER 0x8D41 -#define GL_RENDERBUFFER_WIDTH 0x8D42 -#define GL_RENDERBUFFER_HEIGHT 0x8D43 -#define GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44 -#define GL_STENCIL_INDEX1 0x8D46 -#define GL_STENCIL_INDEX4 0x8D47 -#define GL_STENCIL_INDEX8 0x8D48 -#define GL_STENCIL_INDEX16 0x8D49 -#define GL_RENDERBUFFER_RED_SIZE 0x8D50 -#define GL_RENDERBUFFER_GREEN_SIZE 0x8D51 -#define GL_RENDERBUFFER_BLUE_SIZE 0x8D52 -#define GL_RENDERBUFFER_ALPHA_SIZE 0x8D53 -#define GL_RENDERBUFFER_DEPTH_SIZE 0x8D54 -#define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55 -#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56 -#define GL_MAX_SAMPLES 0x8D57 -#define GL_INDEX 0x8222 -#define GL_TEXTURE_LUMINANCE_TYPE 0x8C14 -#define GL_TEXTURE_INTENSITY_TYPE 0x8C15 - -/* GL_ARB_framebuffer_sRGB */ -#define GL_FRAMEBUFFER_SRGB 0x8DB9 - -/* GL_ARB_geometry_shader4 */ -#define GL_LINES_ADJACENCY_ARB 0x000A -#define GL_LINE_STRIP_ADJACENCY_ARB 0x000B -#define GL_TRIANGLES_ADJACENCY_ARB 0x000C -#define GL_TRIANGLE_STRIP_ADJACENCY_ARB 0x000D -#define GL_PROGRAM_POINT_SIZE_ARB 0x8642 -#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB 0x8C29 -#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB 0x8DA7 -#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_ARB 0x8DA8 -#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB 0x8DA9 -#define GL_GEOMETRY_SHADER_ARB 0x8DD9 -#define GL_GEOMETRY_VERTICES_OUT_ARB 0x8DDA -#define GL_GEOMETRY_INPUT_TYPE_ARB 0x8DDB -#define GL_GEOMETRY_OUTPUT_TYPE_ARB 0x8DDC -#define GL_MAX_GEOMETRY_VARYING_COMPONENTS_ARB 0x8DDD -#define GL_MAX_VERTEX_VARYING_COMPONENTS_ARB 0x8DDE -#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB 0x8DDF -#define GL_MAX_GEOMETRY_OUTPUT_VERTICES_ARB 0x8DE0 -#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB 0x8DE1 - -/* GL_ARB_half_float_vertex */ -#define GL_HALF_FLOAT 0x140B - -/* GL_ARB_instanced_arrays */ -#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB 0x88FE - -/* GL_ARB_map_buffer_range */ -#define GL_MAP_READ_BIT 0x0001 -#define GL_MAP_WRITE_BIT 0x0002 -#define GL_MAP_INVALIDATE_RANGE_BIT 0x0004 -#define GL_MAP_INVALIDATE_BUFFER_BIT 0x0008 -#define GL_MAP_FLUSH_EXPLICIT_BIT 0x0010 -#define GL_MAP_UNSYNCHRONIZED_BIT 0x0020 - -/* GL_ARB_texture_buffer_object */ -#define GL_TEXTURE_BUFFER_ARB 0x8C2A -#define GL_MAX_TEXTURE_BUFFER_SIZE_ARB 0x8C2B -#define GL_TEXTURE_BINDING_BUFFER_ARB 0x8C2C -#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_ARB 0x8C2D -#define GL_TEXTURE_BUFFER_FORMAT_ARB 0x8C2E - -/* GL_ARB_texture_compression_rgtc */ -#define GL_COMPRESSED_RED_RGTC1 0x8DBB -#define GL_COMPRESSED_SIGNED_RED_RGTC1 0x8DBC -#define GL_COMPRESSED_RG_RGTC2 0x8DBD -#define GL_COMPRESSED_SIGNED_RG_RGTC2 0x8DBE - -/* GL_ARB_texture_rg */ -#define GL_RG 0x8227 -#define GL_RG_INTEGER 0x8228 -#define GL_R8 0x8229 -#define GL_R16 0x822A -#define GL_RG8 0x822B -#define GL_RG16 0x822C -#define GL_R16F 0x822D -#define GL_R32F 0x822E -#define GL_RG16F 0x822F -#define GL_RG32F 0x8230 -#define GL_R8I 0x8231 -#define GL_R8UI 0x8232 -#define GL_R16I 0x8233 -#define GL_R16UI 0x8234 -#define GL_R32I 0x8235 -#define GL_R32UI 0x8236 -#define GL_RG8I 0x8237 -#define GL_RG8UI 0x8238 -#define GL_RG16I 0x8239 -#define GL_RG16UI 0x823A -#define GL_RG32I 0x823B -#define GL_RG32UI 0x823C - -/* GL_ARB_vertex_array_object */ -#define GL_VERTEX_ARRAY_BINDING 0x85B5 - -/* GL_ARB_uniform_buffer_object */ -#define GL_UNIFORM_BUFFER 0x8A11 -#define GL_UNIFORM_BUFFER_BINDING 0x8A28 -#define GL_UNIFORM_BUFFER_START 0x8A29 -#define GL_UNIFORM_BUFFER_SIZE 0x8A2A -#define GL_MAX_VERTEX_UNIFORM_BLOCKS 0x8A2B -#define GL_MAX_GEOMETRY_UNIFORM_BLOCKS 0x8A2C -#define GL_MAX_FRAGMENT_UNIFORM_BLOCKS 0x8A2D -#define GL_MAX_COMBINED_UNIFORM_BLOCKS 0x8A2E -#define GL_MAX_UNIFORM_BUFFER_BINDINGS 0x8A2F -#define GL_MAX_UNIFORM_BLOCK_SIZE 0x8A30 -#define GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS 0x8A31 -#define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS 0x8A32 -#define GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS 0x8A33 -#define GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT 0x8A34 -#define GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH 0x8A35 -#define GL_ACTIVE_UNIFORM_BLOCKS 0x8A36 -#define GL_UNIFORM_TYPE 0x8A37 -#define GL_UNIFORM_SIZE 0x8A38 -#define GL_UNIFORM_NAME_LENGTH 0x8A39 -#define GL_UNIFORM_BLOCK_INDEX 0x8A3A -#define GL_UNIFORM_OFFSET 0x8A3B -#define GL_UNIFORM_ARRAY_STRIDE 0x8A3C -#define GL_UNIFORM_MATRIX_STRIDE 0x8A3D -#define GL_UNIFORM_IS_ROW_MAJOR 0x8A3E -#define GL_UNIFORM_BLOCK_BINDING 0x8A3F -#define GL_UNIFORM_BLOCK_DATA_SIZE 0x8A40 -#define GL_UNIFORM_BLOCK_NAME_LENGTH 0x8A41 -#define GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS 0x8A42 -#define GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES 0x8A43 -#define GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER 0x8A44 -#define GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER 0x8A45 -#define GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER 0x8A46 -#define GL_INVALID_INDEX 0xFFFFFFFFu - -/* GL_ARB_compatibility */ - -/* GL_ARB_copy_buffer */ -#define GL_COPY_READ_BUFFER_BINDING 0x8F36 -#define GL_COPY_READ_BUFFER 0x8F36 -#define GL_COPY_WRITE_BUFFER_BINDING 0x8F37 -#define GL_COPY_WRITE_BUFFER 0x8F37 - -/* GL_ARB_shader_texture_lod */ - -/* GL_ARB_depth_clamp */ -#define GL_DEPTH_CLAMP 0x864F - -/* GL_ARB_draw_elements_base_vertex */ - -/* GL_ARB_fragment_coord_conventions */ - -/* GL_ARB_provoking_vertex */ -#define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION 0x8E4C -#define GL_FIRST_VERTEX_CONVENTION 0x8E4D -#define GL_LAST_VERTEX_CONVENTION 0x8E4E -#define GL_PROVOKING_VERTEX 0x8E4F - -/* GL_ARB_seamless_cube_map */ -#define GL_TEXTURE_CUBE_MAP_SEAMLESS 0x884F - -/* GL_ARB_sync */ -#define GL_MAX_SERVER_WAIT_TIMEOUT 0x9111 -#define GL_OBJECT_TYPE 0x9112 -#define GL_SYNC_CONDITION 0x9113 -#define GL_SYNC_STATUS 0x9114 -#define GL_SYNC_FLAGS 0x9115 -#define GL_SYNC_FENCE 0x9116 -#define GL_SYNC_GPU_COMMANDS_COMPLETE 0x9117 -#define GL_UNSIGNALED 0x9118 -#define GL_SIGNALED 0x9119 -#define GL_ALREADY_SIGNALED 0x911A -#define GL_TIMEOUT_EXPIRED 0x911B -#define GL_CONDITION_SATISFIED 0x911C -#define GL_WAIT_FAILED 0x911D -#define GL_SYNC_FLUSH_COMMANDS_BIT 0x00000001 -#define GL_TIMEOUT_IGNORED 0xFFFFFFFFFFFFFFFFull - -/* GL_ARB_texture_multisample */ -#define GL_SAMPLE_POSITION 0x8E50 -#define GL_SAMPLE_MASK 0x8E51 -#define GL_SAMPLE_MASK_VALUE 0x8E52 -#define GL_MAX_SAMPLE_MASK_WORDS 0x8E59 -#define GL_TEXTURE_2D_MULTISAMPLE 0x9100 -#define GL_PROXY_TEXTURE_2D_MULTISAMPLE 0x9101 -#define GL_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9102 -#define GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9103 -#define GL_TEXTURE_BINDING_2D_MULTISAMPLE 0x9104 -#define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY 0x9105 -#define GL_TEXTURE_SAMPLES 0x9106 -#define GL_TEXTURE_FIXED_SAMPLE_LOCATIONS 0x9107 -#define GL_SAMPLER_2D_MULTISAMPLE 0x9108 -#define GL_INT_SAMPLER_2D_MULTISAMPLE 0x9109 -#define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE 0x910A -#define GL_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910B -#define GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910C -#define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910D -#define GL_MAX_COLOR_TEXTURE_SAMPLES 0x910E -#define GL_MAX_DEPTH_TEXTURE_SAMPLES 0x910F -#define GL_MAX_INTEGER_SAMPLES 0x9110 - -/* GL_ARB_vertex_array_bgra */ - -/* GL_ARB_draw_buffers_blend */ - -/* GL_ARB_sample_shading */ -#define GL_SAMPLE_SHADING_ARB 0x8C36 -#define GL_MIN_SAMPLE_SHADING_VALUE_ARB 0x8C37 - -/* GL_ARB_texture_cube_map_array */ -#define GL_TEXTURE_CUBE_MAP_ARRAY_ARB 0x9009 -#define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_ARB 0x900A -#define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB 0x900B -#define GL_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900C -#define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_ARB 0x900D -#define GL_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900E -#define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900F - -/* GL_ARB_texture_gather */ -#define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5E -#define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5F -#define GL_MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS_ARB 0x8F9F - -/* GL_ARB_texture_query_lod */ - -/* GL_ARB_shading_language_include */ -#define GL_SHADER_INCLUDE_ARB 0x8DAE -#define GL_NAMED_STRING_LENGTH_ARB 0x8DE9 -#define GL_NAMED_STRING_TYPE_ARB 0x8DEA - -/* GL_ARB_texture_compression_bptc */ -#define GL_COMPRESSED_RGBA_BPTC_UNORM_ARB 0x8E8C -#define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_ARB 0x8E8D -#define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_ARB 0x8E8E -#define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB 0x8E8F - -/* GL_ARB_blend_func_extended */ -#define GL_SRC1_COLOR 0x88F9 -#define GL_ONE_MINUS_SRC1_COLOR 0x88FA -#define GL_ONE_MINUS_SRC1_ALPHA 0x88FB -#define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS 0x88FC - -/* GL_ARB_explicit_attrib_location */ - -/* GL_ARB_occlusion_query2 */ -#define GL_ANY_SAMPLES_PASSED 0x8C2F - -/* GL_ARB_sampler_objects */ -#define GL_SAMPLER_BINDING 0x8919 - -/* GL_ARB_shader_bit_encoding */ - -/* GL_ARB_texture_rgb10_a2ui */ -#define GL_RGB10_A2UI 0x906F - -/* GL_ARB_texture_swizzle */ -#define GL_TEXTURE_SWIZZLE_R 0x8E42 -#define GL_TEXTURE_SWIZZLE_G 0x8E43 -#define GL_TEXTURE_SWIZZLE_B 0x8E44 -#define GL_TEXTURE_SWIZZLE_A 0x8E45 -#define GL_TEXTURE_SWIZZLE_RGBA 0x8E46 - -/* GL_ARB_timer_query */ -#define GL_TIME_ELAPSED 0x88BF -#define GL_TIMESTAMP 0x8E28 - -/* GL_ARB_vertex_type_2_10_10_10_rev */ -#define GL_INT_2_10_10_10_REV 0x8D9F - -/* GL_ARB_draw_indirect */ -#define GL_DRAW_INDIRECT_BUFFER 0x8F3F -#define GL_DRAW_INDIRECT_BUFFER_BINDING 0x8F43 - -/* GL_ARB_gpu_shader5 */ -#define GL_GEOMETRY_SHADER_INVOCATIONS 0x887F -#define GL_MAX_GEOMETRY_SHADER_INVOCATIONS 0x8E5A -#define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET 0x8E5B -#define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET 0x8E5C -#define GL_FRAGMENT_INTERPOLATION_OFFSET_BITS 0x8E5D - -/* GL_ARB_gpu_shader_fp64 */ -#define GL_DOUBLE_VEC2 0x8FFC -#define GL_DOUBLE_VEC3 0x8FFD -#define GL_DOUBLE_VEC4 0x8FFE -#define GL_DOUBLE_MAT2 0x8F46 -#define GL_DOUBLE_MAT3 0x8F47 -#define GL_DOUBLE_MAT4 0x8F48 -#define GL_DOUBLE_MAT2x3 0x8F49 -#define GL_DOUBLE_MAT2x4 0x8F4A -#define GL_DOUBLE_MAT3x2 0x8F4B -#define GL_DOUBLE_MAT3x4 0x8F4C -#define GL_DOUBLE_MAT4x2 0x8F4D -#define GL_DOUBLE_MAT4x3 0x8F4E - -/* GL_ARB_shader_subroutine */ -#define GL_ACTIVE_SUBROUTINES 0x8DE5 -#define GL_ACTIVE_SUBROUTINE_UNIFORMS 0x8DE6 -#define GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS 0x8E47 -#define GL_ACTIVE_SUBROUTINE_MAX_LENGTH 0x8E48 -#define GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH 0x8E49 -#define GL_MAX_SUBROUTINES 0x8DE7 -#define GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS 0x8DE8 -#define GL_NUM_COMPATIBLE_SUBROUTINES 0x8E4A -#define GL_COMPATIBLE_SUBROUTINES 0x8E4B - -/* GL_ARB_tessellation_shader */ -#define GL_PATCHES 0x000E -#define GL_PATCH_VERTICES 0x8E72 -#define GL_PATCH_DEFAULT_INNER_LEVEL 0x8E73 -#define GL_PATCH_DEFAULT_OUTER_LEVEL 0x8E74 -#define GL_TESS_CONTROL_OUTPUT_VERTICES 0x8E75 -#define GL_TESS_GEN_MODE 0x8E76 -#define GL_TESS_GEN_SPACING 0x8E77 -#define GL_TESS_GEN_VERTEX_ORDER 0x8E78 -#define GL_TESS_GEN_POINT_MODE 0x8E79 -#define GL_ISOLINES 0x8E7A -#define GL_FRACTIONAL_ODD 0x8E7B -#define GL_FRACTIONAL_EVEN 0x8E7C -#define GL_MAX_PATCH_VERTICES 0x8E7D -#define GL_MAX_TESS_GEN_LEVEL 0x8E7E -#define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E7F -#define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E80 -#define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS 0x8E81 -#define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS 0x8E82 -#define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS 0x8E83 -#define GL_MAX_TESS_PATCH_COMPONENTS 0x8E84 -#define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS 0x8E85 -#define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS 0x8E86 -#define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS 0x8E89 -#define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS 0x8E8A -#define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS 0x886C -#define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS 0x886D -#define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E1E -#define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E1F -#define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER 0x84F0 -#define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER 0x84F1 -#define GL_TESS_EVALUATION_SHADER 0x8E87 -#define GL_TESS_CONTROL_SHADER 0x8E88 - -/* GL_ARB_texture_buffer_object_rgb32 */ - -/* GL_ARB_transform_feedback2 */ -#define GL_TRANSFORM_FEEDBACK 0x8E22 -#define GL_TRANSFORM_FEEDBACK_PAUSED 0x8E23 -#define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED 0x8E23 -#define GL_TRANSFORM_FEEDBACK_ACTIVE 0x8E24 -#define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE 0x8E24 -#define GL_TRANSFORM_FEEDBACK_BINDING 0x8E25 - -/* GL_ARB_transform_feedback3 */ -#define GL_MAX_TRANSFORM_FEEDBACK_BUFFERS 0x8E70 -#define GL_MAX_VERTEX_STREAMS 0x8E71 - -/* GL_ARB_ES2_compatibility */ -#define GL_FIXED 0x140C -#define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A -#define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B -#define GL_LOW_FLOAT 0x8DF0 -#define GL_MEDIUM_FLOAT 0x8DF1 -#define GL_HIGH_FLOAT 0x8DF2 -#define GL_LOW_INT 0x8DF3 -#define GL_MEDIUM_INT 0x8DF4 -#define GL_HIGH_INT 0x8DF5 -#define GL_SHADER_COMPILER 0x8DFA -#define GL_SHADER_BINARY_FORMATS 0x8DF8 -#define GL_NUM_SHADER_BINARY_FORMATS 0x8DF9 -#define GL_MAX_VERTEX_UNIFORM_VECTORS 0x8DFB -#define GL_MAX_VARYING_VECTORS 0x8DFC -#define GL_MAX_FRAGMENT_UNIFORM_VECTORS 0x8DFD -#define GL_RGB565 0x8D62 - -/* GL_ARB_get_program_binary */ -#define GL_PROGRAM_BINARY_RETRIEVABLE_HINT 0x8257 -#define GL_PROGRAM_BINARY_LENGTH 0x8741 -#define GL_NUM_PROGRAM_BINARY_FORMATS 0x87FE -#define GL_PROGRAM_BINARY_FORMATS 0x87FF - -/* GL_ARB_separate_shader_objects */ -#define GL_VERTEX_SHADER_BIT 0x00000001 -#define GL_FRAGMENT_SHADER_BIT 0x00000002 -#define GL_GEOMETRY_SHADER_BIT 0x00000004 -#define GL_TESS_CONTROL_SHADER_BIT 0x00000008 -#define GL_TESS_EVALUATION_SHADER_BIT 0x00000010 -#define GL_ALL_SHADER_BITS 0xFFFFFFFF -#define GL_PROGRAM_SEPARABLE 0x8258 -#define GL_ACTIVE_PROGRAM 0x8259 -#define GL_PROGRAM_PIPELINE_BINDING 0x825A - -/* GL_ARB_shader_precision */ - -/* GL_ARB_vertex_attrib_64bit */ - -/* GL_ARB_viewport_array */ -#define GL_MAX_VIEWPORTS 0x825B -#define GL_VIEWPORT_SUBPIXEL_BITS 0x825C -#define GL_VIEWPORT_BOUNDS_RANGE 0x825D -#define GL_LAYER_PROVOKING_VERTEX 0x825E -#define GL_VIEWPORT_INDEX_PROVOKING_VERTEX 0x825F -#define GL_UNDEFINED_VERTEX 0x8260 - -/* GL_ARB_cl_event */ -#define GL_SYNC_CL_EVENT_ARB 0x8240 -#define GL_SYNC_CL_EVENT_COMPLETE_ARB 0x8241 - -/* GL_ARB_debug_output */ -#define GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB 0x8242 -#define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_ARB 0x8243 -#define GL_DEBUG_CALLBACK_FUNCTION_ARB 0x8244 -#define GL_DEBUG_CALLBACK_USER_PARAM_ARB 0x8245 -#define GL_DEBUG_SOURCE_API_ARB 0x8246 -#define GL_DEBUG_SOURCE_WINDOW_SYSTEM_ARB 0x8247 -#define GL_DEBUG_SOURCE_SHADER_COMPILER_ARB 0x8248 -#define GL_DEBUG_SOURCE_THIRD_PARTY_ARB 0x8249 -#define GL_DEBUG_SOURCE_APPLICATION_ARB 0x824A -#define GL_DEBUG_SOURCE_OTHER_ARB 0x824B -#define GL_DEBUG_TYPE_ERROR_ARB 0x824C -#define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_ARB 0x824D -#define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_ARB 0x824E -#define GL_DEBUG_TYPE_PORTABILITY_ARB 0x824F -#define GL_DEBUG_TYPE_PERFORMANCE_ARB 0x8250 -#define GL_DEBUG_TYPE_OTHER_ARB 0x8251 -#define GL_MAX_DEBUG_MESSAGE_LENGTH_ARB 0x9143 -#define GL_MAX_DEBUG_LOGGED_MESSAGES_ARB 0x9144 -#define GL_DEBUG_LOGGED_MESSAGES_ARB 0x9145 -#define GL_DEBUG_SEVERITY_HIGH_ARB 0x9146 -#define GL_DEBUG_SEVERITY_MEDIUM_ARB 0x9147 -#define GL_DEBUG_SEVERITY_LOW_ARB 0x9148 - -/* GL_ARB_robustness */ -#define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB 0x00000004 -#define GL_LOSE_CONTEXT_ON_RESET_ARB 0x8252 -#define GL_GUILTY_CONTEXT_RESET_ARB 0x8253 -#define GL_INNOCENT_CONTEXT_RESET_ARB 0x8254 -#define GL_UNKNOWN_CONTEXT_RESET_ARB 0x8255 -#define GL_RESET_NOTIFICATION_STRATEGY_ARB 0x8256 -#define GL_NO_RESET_NOTIFICATION_ARB 0x8261 - -/* GL_ARB_shader_stencil_export */ - -/* GL_ARB_base_instance */ - -/* GL_ARB_shading_language_420pack */ - -/* GL_ARB_transform_feedback_instanced */ - -/* GL_ARB_compressed_texture_pixel_storage */ -#define GL_UNPACK_COMPRESSED_BLOCK_WIDTH 0x9127 -#define GL_UNPACK_COMPRESSED_BLOCK_HEIGHT 0x9128 -#define GL_UNPACK_COMPRESSED_BLOCK_DEPTH 0x9129 -#define GL_UNPACK_COMPRESSED_BLOCK_SIZE 0x912A -#define GL_PACK_COMPRESSED_BLOCK_WIDTH 0x912B -#define GL_PACK_COMPRESSED_BLOCK_HEIGHT 0x912C -#define GL_PACK_COMPRESSED_BLOCK_DEPTH 0x912D -#define GL_PACK_COMPRESSED_BLOCK_SIZE 0x912E - -/* GL_ARB_conservative_depth */ - -/* GL_ARB_internalformat_query */ -#define GL_NUM_SAMPLE_COUNTS 0x9380 - -/* GL_ARB_map_buffer_alignment */ -#define GL_MIN_MAP_BUFFER_ALIGNMENT 0x90BC - -/* GL_ARB_shader_atomic_counters */ -#define GL_ATOMIC_COUNTER_BUFFER 0x92C0 -#define GL_ATOMIC_COUNTER_BUFFER_BINDING 0x92C1 -#define GL_ATOMIC_COUNTER_BUFFER_START 0x92C2 -#define GL_ATOMIC_COUNTER_BUFFER_SIZE 0x92C3 -#define GL_ATOMIC_COUNTER_BUFFER_DATA_SIZE 0x92C4 -#define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS 0x92C5 -#define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES 0x92C6 -#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER 0x92C7 -#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER 0x92C8 -#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER 0x92C9 -#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER 0x92CA -#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER 0x92CB -#define GL_MAX_VERTEX_ATOMIC_COUNTER_BUFFERS 0x92CC -#define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS 0x92CD -#define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS 0x92CE -#define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS 0x92CF -#define GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS 0x92D0 -#define GL_MAX_COMBINED_ATOMIC_COUNTER_BUFFERS 0x92D1 -#define GL_MAX_VERTEX_ATOMIC_COUNTERS 0x92D2 -#define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS 0x92D3 -#define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS 0x92D4 -#define GL_MAX_GEOMETRY_ATOMIC_COUNTERS 0x92D5 -#define GL_MAX_FRAGMENT_ATOMIC_COUNTERS 0x92D6 -#define GL_MAX_COMBINED_ATOMIC_COUNTERS 0x92D7 -#define GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE 0x92D8 -#define GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS 0x92DC -#define GL_ACTIVE_ATOMIC_COUNTER_BUFFERS 0x92D9 -#define GL_UNIFORM_ATOMIC_COUNTER_BUFFER_INDEX 0x92DA -#define GL_UNSIGNED_INT_ATOMIC_COUNTER 0x92DB - -/* GL_ARB_shader_image_load_store */ -#define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT 0x00000001 -#define GL_ELEMENT_ARRAY_BARRIER_BIT 0x00000002 -#define GL_UNIFORM_BARRIER_BIT 0x00000004 -#define GL_TEXTURE_FETCH_BARRIER_BIT 0x00000008 -#define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT 0x00000020 -#define GL_COMMAND_BARRIER_BIT 0x00000040 -#define GL_PIXEL_BUFFER_BARRIER_BIT 0x00000080 -#define GL_TEXTURE_UPDATE_BARRIER_BIT 0x00000100 -#define GL_BUFFER_UPDATE_BARRIER_BIT 0x00000200 -#define GL_FRAMEBUFFER_BARRIER_BIT 0x00000400 -#define GL_TRANSFORM_FEEDBACK_BARRIER_BIT 0x00000800 -#define GL_ATOMIC_COUNTER_BARRIER_BIT 0x00001000 -#define GL_ALL_BARRIER_BITS 0xFFFFFFFF -#define GL_MAX_IMAGE_UNITS 0x8F38 -#define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS 0x8F39 -#define GL_IMAGE_BINDING_NAME 0x8F3A -#define GL_IMAGE_BINDING_LEVEL 0x8F3B -#define GL_IMAGE_BINDING_LAYERED 0x8F3C -#define GL_IMAGE_BINDING_LAYER 0x8F3D -#define GL_IMAGE_BINDING_ACCESS 0x8F3E -#define GL_IMAGE_1D 0x904C -#define GL_IMAGE_2D 0x904D -#define GL_IMAGE_3D 0x904E -#define GL_IMAGE_2D_RECT 0x904F -#define GL_IMAGE_CUBE 0x9050 -#define GL_IMAGE_BUFFER 0x9051 -#define GL_IMAGE_1D_ARRAY 0x9052 -#define GL_IMAGE_2D_ARRAY 0x9053 -#define GL_IMAGE_CUBE_MAP_ARRAY 0x9054 -#define GL_IMAGE_2D_MULTISAMPLE 0x9055 -#define GL_IMAGE_2D_MULTISAMPLE_ARRAY 0x9056 -#define GL_INT_IMAGE_1D 0x9057 -#define GL_INT_IMAGE_2D 0x9058 -#define GL_INT_IMAGE_3D 0x9059 -#define GL_INT_IMAGE_2D_RECT 0x905A -#define GL_INT_IMAGE_CUBE 0x905B -#define GL_INT_IMAGE_BUFFER 0x905C -#define GL_INT_IMAGE_1D_ARRAY 0x905D -#define GL_INT_IMAGE_2D_ARRAY 0x905E -#define GL_INT_IMAGE_CUBE_MAP_ARRAY 0x905F -#define GL_INT_IMAGE_2D_MULTISAMPLE 0x9060 -#define GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x9061 -#define GL_UNSIGNED_INT_IMAGE_1D 0x9062 -#define GL_UNSIGNED_INT_IMAGE_2D 0x9063 -#define GL_UNSIGNED_INT_IMAGE_3D 0x9064 -#define GL_UNSIGNED_INT_IMAGE_2D_RECT 0x9065 -#define GL_UNSIGNED_INT_IMAGE_CUBE 0x9066 -#define GL_UNSIGNED_INT_IMAGE_BUFFER 0x9067 -#define GL_UNSIGNED_INT_IMAGE_1D_ARRAY 0x9068 -#define GL_UNSIGNED_INT_IMAGE_2D_ARRAY 0x9069 -#define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY 0x906A -#define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE 0x906B -#define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x906C -#define GL_MAX_IMAGE_SAMPLES 0x906D -#define GL_IMAGE_BINDING_FORMAT 0x906E -#define GL_IMAGE_FORMAT_COMPATIBILITY_TYPE 0x90C7 -#define GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE 0x90C8 -#define GL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS 0x90C9 -#define GL_MAX_VERTEX_IMAGE_UNIFORMS 0x90CA -#define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS 0x90CB -#define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS 0x90CC -#define GL_MAX_GEOMETRY_IMAGE_UNIFORMS 0x90CD -#define GL_MAX_FRAGMENT_IMAGE_UNIFORMS 0x90CE -#define GL_MAX_COMBINED_IMAGE_UNIFORMS 0x90CF - -/* GL_ARB_shading_language_packing */ - -/* GL_ARB_texture_storage */ -#define GL_TEXTURE_IMMUTABLE_FORMAT 0x912F - -/* GL_KHR_texture_compression_astc_ldr */ -#define GL_COMPRESSED_RGBA_ASTC_4x4_KHR 0x93B0 -#define GL_COMPRESSED_RGBA_ASTC_5x4_KHR 0x93B1 -#define GL_COMPRESSED_RGBA_ASTC_5x5_KHR 0x93B2 -#define GL_COMPRESSED_RGBA_ASTC_6x5_KHR 0x93B3 -#define GL_COMPRESSED_RGBA_ASTC_6x6_KHR 0x93B4 -#define GL_COMPRESSED_RGBA_ASTC_8x5_KHR 0x93B5 -#define GL_COMPRESSED_RGBA_ASTC_8x6_KHR 0x93B6 -#define GL_COMPRESSED_RGBA_ASTC_8x8_KHR 0x93B7 -#define GL_COMPRESSED_RGBA_ASTC_10x5_KHR 0x93B8 -#define GL_COMPRESSED_RGBA_ASTC_10x6_KHR 0x93B9 -#define GL_COMPRESSED_RGBA_ASTC_10x8_KHR 0x93BA -#define GL_COMPRESSED_RGBA_ASTC_10x10_KHR 0x93BB -#define GL_COMPRESSED_RGBA_ASTC_12x10_KHR 0x93BC -#define GL_COMPRESSED_RGBA_ASTC_12x12_KHR 0x93BD -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR 0x93D0 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR 0x93D1 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR 0x93D2 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR 0x93D3 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR 0x93D4 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR 0x93D5 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR 0x93D6 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR 0x93D7 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR 0x93D8 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR 0x93D9 -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR 0x93DA -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR 0x93DB -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR 0x93DC -#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR 0x93DD - -/* GL_KHR_debug */ -#define GL_DEBUG_OUTPUT_SYNCHRONOUS 0x8242 -#define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH 0x8243 -#define GL_DEBUG_CALLBACK_FUNCTION 0x8244 -#define GL_DEBUG_CALLBACK_USER_PARAM 0x8245 -#define GL_DEBUG_SOURCE_API 0x8246 -#define GL_DEBUG_SOURCE_WINDOW_SYSTEM 0x8247 -#define GL_DEBUG_SOURCE_SHADER_COMPILER 0x8248 -#define GL_DEBUG_SOURCE_THIRD_PARTY 0x8249 -#define GL_DEBUG_SOURCE_APPLICATION 0x824A -#define GL_DEBUG_SOURCE_OTHER 0x824B -#define GL_DEBUG_TYPE_ERROR 0x824C -#define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR 0x824D -#define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR 0x824E -#define GL_DEBUG_TYPE_PORTABILITY 0x824F -#define GL_DEBUG_TYPE_PERFORMANCE 0x8250 -#define GL_DEBUG_TYPE_OTHER 0x8251 -#define GL_DEBUG_TYPE_MARKER 0x8268 -#define GL_DEBUG_TYPE_PUSH_GROUP 0x8269 -#define GL_DEBUG_TYPE_POP_GROUP 0x826A -#define GL_DEBUG_SEVERITY_NOTIFICATION 0x826B -#define GL_MAX_DEBUG_GROUP_STACK_DEPTH 0x826C -#define GL_DEBUG_GROUP_STACK_DEPTH 0x826D -#define GL_BUFFER 0x82E0 -#define GL_SHADER 0x82E1 -#define GL_PROGRAM 0x82E2 -#define GL_QUERY 0x82E3 -#define GL_PROGRAM_PIPELINE 0x82E4 -#define GL_SAMPLER 0x82E6 -#define GL_DISPLAY_LIST 0x82E7 -#define GL_MAX_LABEL_LENGTH 0x82E8 -#define GL_MAX_DEBUG_MESSAGE_LENGTH 0x9143 -#define GL_MAX_DEBUG_LOGGED_MESSAGES 0x9144 -#define GL_DEBUG_LOGGED_MESSAGES 0x9145 -#define GL_DEBUG_SEVERITY_HIGH 0x9146 -#define GL_DEBUG_SEVERITY_MEDIUM 0x9147 -#define GL_DEBUG_SEVERITY_LOW 0x9148 -#define GL_DEBUG_OUTPUT 0x92E0 -#define GL_CONTEXT_FLAG_DEBUG_BIT 0x00000002 - -/* GL_ARB_arrays_of_arrays */ - -/* GL_ARB_clear_buffer_object */ - -/* GL_ARB_compute_shader */ -#define GL_COMPUTE_SHADER 0x91B9 -#define GL_MAX_COMPUTE_UNIFORM_BLOCKS 0x91BB -#define GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS 0x91BC -#define GL_MAX_COMPUTE_IMAGE_UNIFORMS 0x91BD -#define GL_MAX_COMPUTE_SHARED_MEMORY_SIZE 0x8262 -#define GL_MAX_COMPUTE_UNIFORM_COMPONENTS 0x8263 -#define GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS 0x8264 -#define GL_MAX_COMPUTE_ATOMIC_COUNTERS 0x8265 -#define GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS 0x8266 -#define GL_MAX_COMPUTE_LOCAL_INVOCATIONS 0x90EB -#define GL_MAX_COMPUTE_WORK_GROUP_COUNT 0x91BE -#define GL_MAX_COMPUTE_WORK_GROUP_SIZE 0x91BF -#define GL_COMPUTE_LOCAL_WORK_SIZE 0x8267 -#define GL_UNIFORM_BLOCK_REFERENCED_BY_COMPUTE_SHADER 0x90EC -#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_COMPUTE_SHADER 0x90ED -#define GL_DISPATCH_INDIRECT_BUFFER 0x90EE -#define GL_DISPATCH_INDIRECT_BUFFER_BINDING 0x90EF -#define GL_COMPUTE_SHADER_BIT 0x00000020 - -/* GL_ARB_copy_image */ - -/* GL_ARB_texture_view */ -#define GL_TEXTURE_VIEW_MIN_LEVEL 0x82DB -#define GL_TEXTURE_VIEW_NUM_LEVELS 0x82DC -#define GL_TEXTURE_VIEW_MIN_LAYER 0x82DD -#define GL_TEXTURE_VIEW_NUM_LAYERS 0x82DE -#define GL_TEXTURE_IMMUTABLE_LEVELS 0x82DF - -/* GL_ARB_vertex_attrib_binding */ -#define GL_VERTEX_ATTRIB_BINDING 0x82D4 -#define GL_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D5 -#define GL_VERTEX_BINDING_DIVISOR 0x82D6 -#define GL_VERTEX_BINDING_OFFSET 0x82D7 -#define GL_VERTEX_BINDING_STRIDE 0x82D8 -#define GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D9 -#define GL_MAX_VERTEX_ATTRIB_BINDINGS 0x82DA - -/* GL_ARB_robustness_isolation */ - -/* GL_ARB_ES3_compatibility */ -#define GL_COMPRESSED_RGB8_ETC2 0x9274 -#define GL_COMPRESSED_SRGB8_ETC2 0x9275 -#define GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9276 -#define GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9277 -#define GL_COMPRESSED_RGBA8_ETC2_EAC 0x9278 -#define GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC 0x9279 -#define GL_COMPRESSED_R11_EAC 0x9270 -#define GL_COMPRESSED_SIGNED_R11_EAC 0x9271 -#define GL_COMPRESSED_RG11_EAC 0x9272 -#define GL_COMPRESSED_SIGNED_RG11_EAC 0x9273 -#define GL_PRIMITIVE_RESTART_FIXED_INDEX 0x8D69 -#define GL_ANY_SAMPLES_PASSED_CONSERVATIVE 0x8D6A -#define GL_MAX_ELEMENT_INDEX 0x8D6B - -/* GL_ARB_explicit_uniform_location */ -#define GL_MAX_UNIFORM_LOCATIONS 0x826E - -/* GL_ARB_fragment_layer_viewport */ - -/* GL_ARB_framebuffer_no_attachments */ -#define GL_FRAMEBUFFER_DEFAULT_WIDTH 0x9310 -#define GL_FRAMEBUFFER_DEFAULT_HEIGHT 0x9311 -#define GL_FRAMEBUFFER_DEFAULT_LAYERS 0x9312 -#define GL_FRAMEBUFFER_DEFAULT_SAMPLES 0x9313 -#define GL_FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS 0x9314 -#define GL_MAX_FRAMEBUFFER_WIDTH 0x9315 -#define GL_MAX_FRAMEBUFFER_HEIGHT 0x9316 -#define GL_MAX_FRAMEBUFFER_LAYERS 0x9317 -#define GL_MAX_FRAMEBUFFER_SAMPLES 0x9318 - -/* GL_ARB_internalformat_query2 */ -#define GL_INTERNALFORMAT_SUPPORTED 0x826F -#define GL_INTERNALFORMAT_PREFERRED 0x8270 -#define GL_INTERNALFORMAT_RED_SIZE 0x8271 -#define GL_INTERNALFORMAT_GREEN_SIZE 0x8272 -#define GL_INTERNALFORMAT_BLUE_SIZE 0x8273 -#define GL_INTERNALFORMAT_ALPHA_SIZE 0x8274 -#define GL_INTERNALFORMAT_DEPTH_SIZE 0x8275 -#define GL_INTERNALFORMAT_STENCIL_SIZE 0x8276 -#define GL_INTERNALFORMAT_SHARED_SIZE 0x8277 -#define GL_INTERNALFORMAT_RED_TYPE 0x8278 -#define GL_INTERNALFORMAT_GREEN_TYPE 0x8279 -#define GL_INTERNALFORMAT_BLUE_TYPE 0x827A -#define GL_INTERNALFORMAT_ALPHA_TYPE 0x827B -#define GL_INTERNALFORMAT_DEPTH_TYPE 0x827C -#define GL_INTERNALFORMAT_STENCIL_TYPE 0x827D -#define GL_MAX_WIDTH 0x827E -#define GL_MAX_HEIGHT 0x827F -#define GL_MAX_DEPTH 0x8280 -#define GL_MAX_LAYERS 0x8281 -#define GL_MAX_COMBINED_DIMENSIONS 0x8282 -#define GL_COLOR_COMPONENTS 0x8283 -#define GL_DEPTH_COMPONENTS 0x8284 -#define GL_STENCIL_COMPONENTS 0x8285 -#define GL_COLOR_RENDERABLE 0x8286 -#define GL_DEPTH_RENDERABLE 0x8287 -#define GL_STENCIL_RENDERABLE 0x8288 -#define GL_FRAMEBUFFER_RENDERABLE 0x8289 -#define GL_FRAMEBUFFER_RENDERABLE_LAYERED 0x828A -#define GL_FRAMEBUFFER_BLEND 0x828B -#define GL_READ_PIXELS 0x828C -#define GL_READ_PIXELS_FORMAT 0x828D -#define GL_READ_PIXELS_TYPE 0x828E -#define GL_TEXTURE_IMAGE_FORMAT 0x828F -#define GL_TEXTURE_IMAGE_TYPE 0x8290 -#define GL_GET_TEXTURE_IMAGE_FORMAT 0x8291 -#define GL_GET_TEXTURE_IMAGE_TYPE 0x8292 -#define GL_MIPMAP 0x8293 -#define GL_MANUAL_GENERATE_MIPMAP 0x8294 -#define GL_AUTO_GENERATE_MIPMAP 0x8295 -#define GL_COLOR_ENCODING 0x8296 -#define GL_SRGB_READ 0x8297 -#define GL_SRGB_WRITE 0x8298 -#define GL_SRGB_DECODE_ARB 0x8299 -#define GL_FILTER 0x829A -#define GL_VERTEX_TEXTURE 0x829B -#define GL_TESS_CONTROL_TEXTURE 0x829C -#define GL_TESS_EVALUATION_TEXTURE 0x829D -#define GL_GEOMETRY_TEXTURE 0x829E -#define GL_FRAGMENT_TEXTURE 0x829F -#define GL_COMPUTE_TEXTURE 0x82A0 -#define GL_TEXTURE_SHADOW 0x82A1 -#define GL_TEXTURE_GATHER 0x82A2 -#define GL_TEXTURE_GATHER_SHADOW 0x82A3 -#define GL_SHADER_IMAGE_LOAD 0x82A4 -#define GL_SHADER_IMAGE_STORE 0x82A5 -#define GL_SHADER_IMAGE_ATOMIC 0x82A6 -#define GL_IMAGE_TEXEL_SIZE 0x82A7 -#define GL_IMAGE_COMPATIBILITY_CLASS 0x82A8 -#define GL_IMAGE_PIXEL_FORMAT 0x82A9 -#define GL_IMAGE_PIXEL_TYPE 0x82AA -#define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_TEST 0x82AC -#define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_TEST 0x82AD -#define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_WRITE 0x82AE -#define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_WRITE 0x82AF -#define GL_TEXTURE_COMPRESSED_BLOCK_WIDTH 0x82B1 -#define GL_TEXTURE_COMPRESSED_BLOCK_HEIGHT 0x82B2 -#define GL_TEXTURE_COMPRESSED_BLOCK_SIZE 0x82B3 -#define GL_CLEAR_BUFFER 0x82B4 -#define GL_TEXTURE_VIEW 0x82B5 -#define GL_VIEW_COMPATIBILITY_CLASS 0x82B6 -#define GL_FULL_SUPPORT 0x82B7 -#define GL_CAVEAT_SUPPORT 0x82B8 -#define GL_IMAGE_CLASS_4_X_32 0x82B9 -#define GL_IMAGE_CLASS_2_X_32 0x82BA -#define GL_IMAGE_CLASS_1_X_32 0x82BB -#define GL_IMAGE_CLASS_4_X_16 0x82BC -#define GL_IMAGE_CLASS_2_X_16 0x82BD -#define GL_IMAGE_CLASS_1_X_16 0x82BE -#define GL_IMAGE_CLASS_4_X_8 0x82BF -#define GL_IMAGE_CLASS_2_X_8 0x82C0 -#define GL_IMAGE_CLASS_1_X_8 0x82C1 -#define GL_IMAGE_CLASS_11_11_10 0x82C2 -#define GL_IMAGE_CLASS_10_10_10_2 0x82C3 -#define GL_VIEW_CLASS_128_BITS 0x82C4 -#define GL_VIEW_CLASS_96_BITS 0x82C5 -#define GL_VIEW_CLASS_64_BITS 0x82C6 -#define GL_VIEW_CLASS_48_BITS 0x82C7 -#define GL_VIEW_CLASS_32_BITS 0x82C8 -#define GL_VIEW_CLASS_24_BITS 0x82C9 -#define GL_VIEW_CLASS_16_BITS 0x82CA -#define GL_VIEW_CLASS_8_BITS 0x82CB -#define GL_VIEW_CLASS_S3TC_DXT1_RGB 0x82CC -#define GL_VIEW_CLASS_S3TC_DXT1_RGBA 0x82CD -#define GL_VIEW_CLASS_S3TC_DXT3_RGBA 0x82CE -#define GL_VIEW_CLASS_S3TC_DXT5_RGBA 0x82CF -#define GL_VIEW_CLASS_RGTC1_RED 0x82D0 -#define GL_VIEW_CLASS_RGTC2_RG 0x82D1 -#define GL_VIEW_CLASS_BPTC_UNORM 0x82D2 -#define GL_VIEW_CLASS_BPTC_FLOAT 0x82D3 - -/* GL_ARB_invalidate_subdata */ - -/* GL_ARB_multi_draw_indirect */ - -/* GL_ARB_program_interface_query */ -#define GL_UNIFORM 0x92E1 -#define GL_UNIFORM_BLOCK 0x92E2 -#define GL_PROGRAM_INPUT 0x92E3 -#define GL_PROGRAM_OUTPUT 0x92E4 -#define GL_BUFFER_VARIABLE 0x92E5 -#define GL_SHADER_STORAGE_BLOCK 0x92E6 -#define GL_VERTEX_SUBROUTINE 0x92E8 -#define GL_TESS_CONTROL_SUBROUTINE 0x92E9 -#define GL_TESS_EVALUATION_SUBROUTINE 0x92EA -#define GL_GEOMETRY_SUBROUTINE 0x92EB -#define GL_FRAGMENT_SUBROUTINE 0x92EC -#define GL_COMPUTE_SUBROUTINE 0x92ED -#define GL_VERTEX_SUBROUTINE_UNIFORM 0x92EE -#define GL_TESS_CONTROL_SUBROUTINE_UNIFORM 0x92EF -#define GL_TESS_EVALUATION_SUBROUTINE_UNIFORM 0x92F0 -#define GL_GEOMETRY_SUBROUTINE_UNIFORM 0x92F1 -#define GL_FRAGMENT_SUBROUTINE_UNIFORM 0x92F2 -#define GL_COMPUTE_SUBROUTINE_UNIFORM 0x92F3 -#define GL_TRANSFORM_FEEDBACK_VARYING 0x92F4 -#define GL_ACTIVE_RESOURCES 0x92F5 -#define GL_MAX_NAME_LENGTH 0x92F6 -#define GL_MAX_NUM_ACTIVE_VARIABLES 0x92F7 -#define GL_MAX_NUM_COMPATIBLE_SUBROUTINES 0x92F8 -#define GL_NAME_LENGTH 0x92F9 -#define GL_TYPE 0x92FA -#define GL_ARRAY_SIZE 0x92FB -#define GL_OFFSET 0x92FC -#define GL_BLOCK_INDEX 0x92FD -#define GL_ARRAY_STRIDE 0x92FE -#define GL_MATRIX_STRIDE 0x92FF -#define GL_IS_ROW_MAJOR 0x9300 -#define GL_ATOMIC_COUNTER_BUFFER_INDEX 0x9301 -#define GL_BUFFER_BINDING 0x9302 -#define GL_BUFFER_DATA_SIZE 0x9303 -#define GL_NUM_ACTIVE_VARIABLES 0x9304 -#define GL_ACTIVE_VARIABLES 0x9305 -#define GL_REFERENCED_BY_VERTEX_SHADER 0x9306 -#define GL_REFERENCED_BY_TESS_CONTROL_SHADER 0x9307 -#define GL_REFERENCED_BY_TESS_EVALUATION_SHADER 0x9308 -#define GL_REFERENCED_BY_GEOMETRY_SHADER 0x9309 -#define GL_REFERENCED_BY_FRAGMENT_SHADER 0x930A -#define GL_REFERENCED_BY_COMPUTE_SHADER 0x930B -#define GL_TOP_LEVEL_ARRAY_SIZE 0x930C -#define GL_TOP_LEVEL_ARRAY_STRIDE 0x930D -#define GL_LOCATION 0x930E -#define GL_LOCATION_INDEX 0x930F -#define GL_IS_PER_PATCH 0x92E7 - -/* GL_ARB_robust_buffer_access_behavior */ - -/* GL_ARB_shader_image_size */ - -/* GL_ARB_shader_storage_buffer_object */ -#define GL_SHADER_STORAGE_BUFFER 0x90D2 -#define GL_SHADER_STORAGE_BUFFER_BINDING 0x90D3 -#define GL_SHADER_STORAGE_BUFFER_START 0x90D4 -#define GL_SHADER_STORAGE_BUFFER_SIZE 0x90D5 -#define GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS 0x90D6 -#define GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS 0x90D7 -#define GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS 0x90D8 -#define GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS 0x90D9 -#define GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS 0x90DA -#define GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS 0x90DB -#define GL_MAX_COMBINED_SHADER_STORAGE_BLOCKS 0x90DC -#define GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS 0x90DD -#define GL_MAX_SHADER_STORAGE_BLOCK_SIZE 0x90DE -#define GL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT 0x90DF -#define GL_SHADER_STORAGE_BARRIER_BIT 0x00002000 -#define GL_MAX_COMBINED_SHADER_OUTPUT_RESOURCES 0x8F39 - -/* GL_ARB_stencil_texturing */ -#define GL_DEPTH_STENCIL_TEXTURE_MODE 0x90EA - -/* GL_ARB_texture_buffer_range */ -#define GL_TEXTURE_BUFFER_OFFSET 0x919D -#define GL_TEXTURE_BUFFER_SIZE 0x919E -#define GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT 0x919F - -/* GL_ARB_texture_query_levels */ - -/* GL_ARB_texture_storage_multisample */ - -/* GL_EXT_abgr */ -#define GL_ABGR_EXT 0x8000 - -/* GL_EXT_blend_color */ -#define GL_CONSTANT_COLOR_EXT 0x8001 -#define GL_ONE_MINUS_CONSTANT_COLOR_EXT 0x8002 -#define GL_CONSTANT_ALPHA_EXT 0x8003 -#define GL_ONE_MINUS_CONSTANT_ALPHA_EXT 0x8004 -#define GL_BLEND_COLOR_EXT 0x8005 - -/* GL_EXT_polygon_offset */ -#define GL_POLYGON_OFFSET_EXT 0x8037 -#define GL_POLYGON_OFFSET_FACTOR_EXT 0x8038 -#define GL_POLYGON_OFFSET_BIAS_EXT 0x8039 - -/* GL_EXT_texture */ -#define GL_ALPHA4_EXT 0x803B -#define GL_ALPHA8_EXT 0x803C -#define GL_ALPHA12_EXT 0x803D -#define GL_ALPHA16_EXT 0x803E -#define GL_LUMINANCE4_EXT 0x803F -#define GL_LUMINANCE8_EXT 0x8040 -#define GL_LUMINANCE12_EXT 0x8041 -#define GL_LUMINANCE16_EXT 0x8042 -#define GL_LUMINANCE4_ALPHA4_EXT 0x8043 -#define GL_LUMINANCE6_ALPHA2_EXT 0x8044 -#define GL_LUMINANCE8_ALPHA8_EXT 0x8045 -#define GL_LUMINANCE12_ALPHA4_EXT 0x8046 -#define GL_LUMINANCE12_ALPHA12_EXT 0x8047 -#define GL_LUMINANCE16_ALPHA16_EXT 0x8048 -#define GL_INTENSITY_EXT 0x8049 -#define GL_INTENSITY4_EXT 0x804A -#define GL_INTENSITY8_EXT 0x804B -#define GL_INTENSITY12_EXT 0x804C -#define GL_INTENSITY16_EXT 0x804D -#define GL_RGB2_EXT 0x804E -#define GL_RGB4_EXT 0x804F -#define GL_RGB5_EXT 0x8050 -#define GL_RGB8_EXT 0x8051 -#define GL_RGB10_EXT 0x8052 -#define GL_RGB12_EXT 0x8053 -#define GL_RGB16_EXT 0x8054 -#define GL_RGBA2_EXT 0x8055 -#define GL_RGBA4_EXT 0x8056 -#define GL_RGB5_A1_EXT 0x8057 -#define GL_RGBA8_EXT 0x8058 -#define GL_RGB10_A2_EXT 0x8059 -#define GL_RGBA12_EXT 0x805A -#define GL_RGBA16_EXT 0x805B -#define GL_TEXTURE_RED_SIZE_EXT 0x805C -#define GL_TEXTURE_GREEN_SIZE_EXT 0x805D -#define GL_TEXTURE_BLUE_SIZE_EXT 0x805E -#define GL_TEXTURE_ALPHA_SIZE_EXT 0x805F -#define GL_TEXTURE_LUMINANCE_SIZE_EXT 0x8060 -#define GL_TEXTURE_INTENSITY_SIZE_EXT 0x8061 -#define GL_REPLACE_EXT 0x8062 -#define GL_PROXY_TEXTURE_1D_EXT 0x8063 -#define GL_PROXY_TEXTURE_2D_EXT 0x8064 -#define GL_TEXTURE_TOO_LARGE_EXT 0x8065 - -/* GL_EXT_texture3D */ -#define GL_PACK_SKIP_IMAGES_EXT 0x806B -#define GL_PACK_IMAGE_HEIGHT_EXT 0x806C -#define GL_UNPACK_SKIP_IMAGES_EXT 0x806D -#define GL_UNPACK_IMAGE_HEIGHT_EXT 0x806E -#define GL_TEXTURE_3D_EXT 0x806F -#define GL_PROXY_TEXTURE_3D_EXT 0x8070 -#define GL_TEXTURE_DEPTH_EXT 0x8071 -#define GL_TEXTURE_WRAP_R_EXT 0x8072 -#define GL_MAX_3D_TEXTURE_SIZE_EXT 0x8073 - -/* GL_SGIS_texture_filter4 */ -#define GL_FILTER4_SGIS 0x8146 -#define GL_TEXTURE_FILTER4_SIZE_SGIS 0x8147 - -/* GL_EXT_subtexture */ - -/* GL_EXT_copy_texture */ - -/* GL_EXT_histogram */ -#define GL_HISTOGRAM_EXT 0x8024 -#define GL_PROXY_HISTOGRAM_EXT 0x8025 -#define GL_HISTOGRAM_WIDTH_EXT 0x8026 -#define GL_HISTOGRAM_FORMAT_EXT 0x8027 -#define GL_HISTOGRAM_RED_SIZE_EXT 0x8028 -#define GL_HISTOGRAM_GREEN_SIZE_EXT 0x8029 -#define GL_HISTOGRAM_BLUE_SIZE_EXT 0x802A -#define GL_HISTOGRAM_ALPHA_SIZE_EXT 0x802B -#define GL_HISTOGRAM_LUMINANCE_SIZE_EXT 0x802C -#define GL_HISTOGRAM_SINK_EXT 0x802D -#define GL_MINMAX_EXT 0x802E -#define GL_MINMAX_FORMAT_EXT 0x802F -#define GL_MINMAX_SINK_EXT 0x8030 -#define GL_TABLE_TOO_LARGE_EXT 0x8031 - -/* GL_EXT_convolution */ -#define GL_CONVOLUTION_1D_EXT 0x8010 -#define GL_CONVOLUTION_2D_EXT 0x8011 -#define GL_SEPARABLE_2D_EXT 0x8012 -#define GL_CONVOLUTION_BORDER_MODE_EXT 0x8013 -#define GL_CONVOLUTION_FILTER_SCALE_EXT 0x8014 -#define GL_CONVOLUTION_FILTER_BIAS_EXT 0x8015 -#define GL_REDUCE_EXT 0x8016 -#define GL_CONVOLUTION_FORMAT_EXT 0x8017 -#define GL_CONVOLUTION_WIDTH_EXT 0x8018 -#define GL_CONVOLUTION_HEIGHT_EXT 0x8019 -#define GL_MAX_CONVOLUTION_WIDTH_EXT 0x801A -#define GL_MAX_CONVOLUTION_HEIGHT_EXT 0x801B -#define GL_POST_CONVOLUTION_RED_SCALE_EXT 0x801C -#define GL_POST_CONVOLUTION_GREEN_SCALE_EXT 0x801D -#define GL_POST_CONVOLUTION_BLUE_SCALE_EXT 0x801E -#define GL_POST_CONVOLUTION_ALPHA_SCALE_EXT 0x801F -#define GL_POST_CONVOLUTION_RED_BIAS_EXT 0x8020 -#define GL_POST_CONVOLUTION_GREEN_BIAS_EXT 0x8021 -#define GL_POST_CONVOLUTION_BLUE_BIAS_EXT 0x8022 -#define GL_POST_CONVOLUTION_ALPHA_BIAS_EXT 0x8023 - -/* GL_SGI_color_matrix */ -#define GL_COLOR_MATRIX_SGI 0x80B1 -#define GL_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B2 -#define GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B3 -#define GL_POST_COLOR_MATRIX_RED_SCALE_SGI 0x80B4 -#define GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI 0x80B5 -#define GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI 0x80B6 -#define GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI 0x80B7 -#define GL_POST_COLOR_MATRIX_RED_BIAS_SGI 0x80B8 -#define GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI 0x80B9 -#define GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI 0x80BA -#define GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI 0x80BB - -/* GL_SGI_color_table */ -#define GL_COLOR_TABLE_SGI 0x80D0 -#define GL_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D1 -#define GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D2 -#define GL_PROXY_COLOR_TABLE_SGI 0x80D3 -#define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D4 -#define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D5 -#define GL_COLOR_TABLE_SCALE_SGI 0x80D6 -#define GL_COLOR_TABLE_BIAS_SGI 0x80D7 -#define GL_COLOR_TABLE_FORMAT_SGI 0x80D8 -#define GL_COLOR_TABLE_WIDTH_SGI 0x80D9 -#define GL_COLOR_TABLE_RED_SIZE_SGI 0x80DA -#define GL_COLOR_TABLE_GREEN_SIZE_SGI 0x80DB -#define GL_COLOR_TABLE_BLUE_SIZE_SGI 0x80DC -#define GL_COLOR_TABLE_ALPHA_SIZE_SGI 0x80DD -#define GL_COLOR_TABLE_LUMINANCE_SIZE_SGI 0x80DE -#define GL_COLOR_TABLE_INTENSITY_SIZE_SGI 0x80DF - -/* GL_SGIS_pixel_texture */ -#define GL_PIXEL_TEXTURE_SGIS 0x8353 -#define GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS 0x8354 -#define GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS 0x8355 -#define GL_PIXEL_GROUP_COLOR_SGIS 0x8356 - -/* GL_SGIX_pixel_texture */ -#define GL_PIXEL_TEX_GEN_SGIX 0x8139 -#define GL_PIXEL_TEX_GEN_MODE_SGIX 0x832B - -/* GL_SGIS_texture4D */ -#define GL_PACK_SKIP_VOLUMES_SGIS 0x8130 -#define GL_PACK_IMAGE_DEPTH_SGIS 0x8131 -#define GL_UNPACK_SKIP_VOLUMES_SGIS 0x8132 -#define GL_UNPACK_IMAGE_DEPTH_SGIS 0x8133 -#define GL_TEXTURE_4D_SGIS 0x8134 -#define GL_PROXY_TEXTURE_4D_SGIS 0x8135 -#define GL_TEXTURE_4DSIZE_SGIS 0x8136 -#define GL_TEXTURE_WRAP_Q_SGIS 0x8137 -#define GL_MAX_4D_TEXTURE_SIZE_SGIS 0x8138 -#define GL_TEXTURE_4D_BINDING_SGIS 0x814F - -/* GL_SGI_texture_color_table */ -#define GL_TEXTURE_COLOR_TABLE_SGI 0x80BC -#define GL_PROXY_TEXTURE_COLOR_TABLE_SGI 0x80BD - -/* GL_EXT_cmyka */ -#define GL_CMYK_EXT 0x800C -#define GL_CMYKA_EXT 0x800D -#define GL_PACK_CMYK_HINT_EXT 0x800E -#define GL_UNPACK_CMYK_HINT_EXT 0x800F - -/* GL_EXT_texture_object */ -#define GL_TEXTURE_PRIORITY_EXT 0x8066 -#define GL_TEXTURE_RESIDENT_EXT 0x8067 -#define GL_TEXTURE_1D_BINDING_EXT 0x8068 -#define GL_TEXTURE_2D_BINDING_EXT 0x8069 -#define GL_TEXTURE_3D_BINDING_EXT 0x806A - -/* GL_SGIS_detail_texture */ -#define GL_DETAIL_TEXTURE_2D_SGIS 0x8095 -#define GL_DETAIL_TEXTURE_2D_BINDING_SGIS 0x8096 -#define GL_LINEAR_DETAIL_SGIS 0x8097 -#define GL_LINEAR_DETAIL_ALPHA_SGIS 0x8098 -#define GL_LINEAR_DETAIL_COLOR_SGIS 0x8099 -#define GL_DETAIL_TEXTURE_LEVEL_SGIS 0x809A -#define GL_DETAIL_TEXTURE_MODE_SGIS 0x809B -#define GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS 0x809C - -/* GL_SGIS_sharpen_texture */ -#define GL_LINEAR_SHARPEN_SGIS 0x80AD -#define GL_LINEAR_SHARPEN_ALPHA_SGIS 0x80AE -#define GL_LINEAR_SHARPEN_COLOR_SGIS 0x80AF -#define GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS 0x80B0 - -/* GL_EXT_packed_pixels */ -#define GL_UNSIGNED_BYTE_3_3_2_EXT 0x8032 -#define GL_UNSIGNED_SHORT_4_4_4_4_EXT 0x8033 -#define GL_UNSIGNED_SHORT_5_5_5_1_EXT 0x8034 -#define GL_UNSIGNED_INT_8_8_8_8_EXT 0x8035 -#define GL_UNSIGNED_INT_10_10_10_2_EXT 0x8036 - -/* GL_SGIS_texture_lod */ -#define GL_TEXTURE_MIN_LOD_SGIS 0x813A -#define GL_TEXTURE_MAX_LOD_SGIS 0x813B -#define GL_TEXTURE_BASE_LEVEL_SGIS 0x813C -#define GL_TEXTURE_MAX_LEVEL_SGIS 0x813D - -/* GL_SGIS_multisample */ -#define GL_MULTISAMPLE_SGIS 0x809D -#define GL_SAMPLE_ALPHA_TO_MASK_SGIS 0x809E -#define GL_SAMPLE_ALPHA_TO_ONE_SGIS 0x809F -#define GL_SAMPLE_MASK_SGIS 0x80A0 -#define GL_1PASS_SGIS 0x80A1 -#define GL_2PASS_0_SGIS 0x80A2 -#define GL_2PASS_1_SGIS 0x80A3 -#define GL_4PASS_0_SGIS 0x80A4 -#define GL_4PASS_1_SGIS 0x80A5 -#define GL_4PASS_2_SGIS 0x80A6 -#define GL_4PASS_3_SGIS 0x80A7 -#define GL_SAMPLE_BUFFERS_SGIS 0x80A8 -#define GL_SAMPLES_SGIS 0x80A9 -#define GL_SAMPLE_MASK_VALUE_SGIS 0x80AA -#define GL_SAMPLE_MASK_INVERT_SGIS 0x80AB -#define GL_SAMPLE_PATTERN_SGIS 0x80AC - -/* GL_EXT_rescale_normal */ -#define GL_RESCALE_NORMAL_EXT 0x803A - -/* GL_EXT_vertex_array */ -#define GL_VERTEX_ARRAY_EXT 0x8074 -#define GL_NORMAL_ARRAY_EXT 0x8075 -#define GL_COLOR_ARRAY_EXT 0x8076 -#define GL_INDEX_ARRAY_EXT 0x8077 -#define GL_TEXTURE_COORD_ARRAY_EXT 0x8078 -#define GL_EDGE_FLAG_ARRAY_EXT 0x8079 -#define GL_VERTEX_ARRAY_SIZE_EXT 0x807A -#define GL_VERTEX_ARRAY_TYPE_EXT 0x807B -#define GL_VERTEX_ARRAY_STRIDE_EXT 0x807C -#define GL_VERTEX_ARRAY_COUNT_EXT 0x807D -#define GL_NORMAL_ARRAY_TYPE_EXT 0x807E -#define GL_NORMAL_ARRAY_STRIDE_EXT 0x807F -#define GL_NORMAL_ARRAY_COUNT_EXT 0x8080 -#define GL_COLOR_ARRAY_SIZE_EXT 0x8081 -#define GL_COLOR_ARRAY_TYPE_EXT 0x8082 -#define GL_COLOR_ARRAY_STRIDE_EXT 0x8083 -#define GL_COLOR_ARRAY_COUNT_EXT 0x8084 -#define GL_INDEX_ARRAY_TYPE_EXT 0x8085 -#define GL_INDEX_ARRAY_STRIDE_EXT 0x8086 -#define GL_INDEX_ARRAY_COUNT_EXT 0x8087 -#define GL_TEXTURE_COORD_ARRAY_SIZE_EXT 0x8088 -#define GL_TEXTURE_COORD_ARRAY_TYPE_EXT 0x8089 -#define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT 0x808A -#define GL_TEXTURE_COORD_ARRAY_COUNT_EXT 0x808B -#define GL_EDGE_FLAG_ARRAY_STRIDE_EXT 0x808C -#define GL_EDGE_FLAG_ARRAY_COUNT_EXT 0x808D -#define GL_VERTEX_ARRAY_POINTER_EXT 0x808E -#define GL_NORMAL_ARRAY_POINTER_EXT 0x808F -#define GL_COLOR_ARRAY_POINTER_EXT 0x8090 -#define GL_INDEX_ARRAY_POINTER_EXT 0x8091 -#define GL_TEXTURE_COORD_ARRAY_POINTER_EXT 0x8092 -#define GL_EDGE_FLAG_ARRAY_POINTER_EXT 0x8093 - -/* GL_EXT_misc_attribute */ - -/* GL_SGIS_generate_mipmap */ -#define GL_GENERATE_MIPMAP_SGIS 0x8191 -#define GL_GENERATE_MIPMAP_HINT_SGIS 0x8192 - -/* GL_SGIX_clipmap */ -#define GL_LINEAR_CLIPMAP_LINEAR_SGIX 0x8170 -#define GL_TEXTURE_CLIPMAP_CENTER_SGIX 0x8171 -#define GL_TEXTURE_CLIPMAP_FRAME_SGIX 0x8172 -#define GL_TEXTURE_CLIPMAP_OFFSET_SGIX 0x8173 -#define GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8174 -#define GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX 0x8175 -#define GL_TEXTURE_CLIPMAP_DEPTH_SGIX 0x8176 -#define GL_MAX_CLIPMAP_DEPTH_SGIX 0x8177 -#define GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8178 -#define GL_NEAREST_CLIPMAP_NEAREST_SGIX 0x844D -#define GL_NEAREST_CLIPMAP_LINEAR_SGIX 0x844E -#define GL_LINEAR_CLIPMAP_NEAREST_SGIX 0x844F - -/* GL_SGIX_shadow */ -#define GL_TEXTURE_COMPARE_SGIX 0x819A -#define GL_TEXTURE_COMPARE_OPERATOR_SGIX 0x819B -#define GL_TEXTURE_LEQUAL_R_SGIX 0x819C -#define GL_TEXTURE_GEQUAL_R_SGIX 0x819D - -/* GL_SGIS_texture_edge_clamp */ -#define GL_CLAMP_TO_EDGE_SGIS 0x812F - -/* GL_SGIS_texture_border_clamp */ -#define GL_CLAMP_TO_BORDER_SGIS 0x812D - -/* GL_EXT_blend_minmax */ -#define GL_FUNC_ADD_EXT 0x8006 -#define GL_MIN_EXT 0x8007 -#define GL_MAX_EXT 0x8008 -#define GL_BLEND_EQUATION_EXT 0x8009 - -/* GL_EXT_blend_subtract */ -#define GL_FUNC_SUBTRACT_EXT 0x800A -#define GL_FUNC_REVERSE_SUBTRACT_EXT 0x800B - -/* GL_EXT_blend_logic_op */ - -/* GL_SGIX_interlace */ -#define GL_INTERLACE_SGIX 0x8094 - -/* GL_SGIX_pixel_tiles */ -#define GL_PIXEL_TILE_BEST_ALIGNMENT_SGIX 0x813E -#define GL_PIXEL_TILE_CACHE_INCREMENT_SGIX 0x813F -#define GL_PIXEL_TILE_WIDTH_SGIX 0x8140 -#define GL_PIXEL_TILE_HEIGHT_SGIX 0x8141 -#define GL_PIXEL_TILE_GRID_WIDTH_SGIX 0x8142 -#define GL_PIXEL_TILE_GRID_HEIGHT_SGIX 0x8143 -#define GL_PIXEL_TILE_GRID_DEPTH_SGIX 0x8144 -#define GL_PIXEL_TILE_CACHE_SIZE_SGIX 0x8145 - -/* GL_SGIS_texture_select */ -#define GL_DUAL_ALPHA4_SGIS 0x8110 -#define GL_DUAL_ALPHA8_SGIS 0x8111 -#define GL_DUAL_ALPHA12_SGIS 0x8112 -#define GL_DUAL_ALPHA16_SGIS 0x8113 -#define GL_DUAL_LUMINANCE4_SGIS 0x8114 -#define GL_DUAL_LUMINANCE8_SGIS 0x8115 -#define GL_DUAL_LUMINANCE12_SGIS 0x8116 -#define GL_DUAL_LUMINANCE16_SGIS 0x8117 -#define GL_DUAL_INTENSITY4_SGIS 0x8118 -#define GL_DUAL_INTENSITY8_SGIS 0x8119 -#define GL_DUAL_INTENSITY12_SGIS 0x811A -#define GL_DUAL_INTENSITY16_SGIS 0x811B -#define GL_DUAL_LUMINANCE_ALPHA4_SGIS 0x811C -#define GL_DUAL_LUMINANCE_ALPHA8_SGIS 0x811D -#define GL_QUAD_ALPHA4_SGIS 0x811E -#define GL_QUAD_ALPHA8_SGIS 0x811F -#define GL_QUAD_LUMINANCE4_SGIS 0x8120 -#define GL_QUAD_LUMINANCE8_SGIS 0x8121 -#define GL_QUAD_INTENSITY4_SGIS 0x8122 -#define GL_QUAD_INTENSITY8_SGIS 0x8123 -#define GL_DUAL_TEXTURE_SELECT_SGIS 0x8124 -#define GL_QUAD_TEXTURE_SELECT_SGIS 0x8125 - -/* GL_SGIX_sprite */ -#define GL_SPRITE_SGIX 0x8148 -#define GL_SPRITE_MODE_SGIX 0x8149 -#define GL_SPRITE_AXIS_SGIX 0x814A -#define GL_SPRITE_TRANSLATION_SGIX 0x814B -#define GL_SPRITE_AXIAL_SGIX 0x814C -#define GL_SPRITE_OBJECT_ALIGNED_SGIX 0x814D -#define GL_SPRITE_EYE_ALIGNED_SGIX 0x814E - -/* GL_SGIX_texture_multi_buffer */ -#define GL_TEXTURE_MULTI_BUFFER_HINT_SGIX 0x812E - -/* GL_EXT_point_parameters */ -#define GL_POINT_SIZE_MIN_EXT 0x8126 -#define GL_POINT_SIZE_MAX_EXT 0x8127 -#define GL_POINT_FADE_THRESHOLD_SIZE_EXT 0x8128 -#define GL_DISTANCE_ATTENUATION_EXT 0x8129 - -/* GL_SGIS_point_parameters */ -#define GL_POINT_SIZE_MIN_SGIS 0x8126 -#define GL_POINT_SIZE_MAX_SGIS 0x8127 -#define GL_POINT_FADE_THRESHOLD_SIZE_SGIS 0x8128 -#define GL_DISTANCE_ATTENUATION_SGIS 0x8129 - -/* GL_SGIX_instruments */ -#define GL_INSTRUMENT_BUFFER_POINTER_SGIX 0x8180 -#define GL_INSTRUMENT_MEASUREMENTS_SGIX 0x8181 - -/* GL_SGIX_texture_scale_bias */ -#define GL_POST_TEXTURE_FILTER_BIAS_SGIX 0x8179 -#define GL_POST_TEXTURE_FILTER_SCALE_SGIX 0x817A -#define GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX 0x817B -#define GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX 0x817C - -/* GL_SGIX_framezoom */ -#define GL_FRAMEZOOM_SGIX 0x818B -#define GL_FRAMEZOOM_FACTOR_SGIX 0x818C -#define GL_MAX_FRAMEZOOM_FACTOR_SGIX 0x818D - -/* GL_SGIX_tag_sample_buffer */ - -/* GL_SGIX_polynomial_ffd */ -#define GL_TEXTURE_DEFORMATION_BIT_SGIX 0x00000001 -#define GL_GEOMETRY_DEFORMATION_BIT_SGIX 0x00000002 -#define GL_GEOMETRY_DEFORMATION_SGIX 0x8194 -#define GL_TEXTURE_DEFORMATION_SGIX 0x8195 -#define GL_DEFORMATIONS_MASK_SGIX 0x8196 -#define GL_MAX_DEFORMATION_ORDER_SGIX 0x8197 - -/* GL_SGIX_reference_plane */ -#define GL_REFERENCE_PLANE_SGIX 0x817D -#define GL_REFERENCE_PLANE_EQUATION_SGIX 0x817E - -/* GL_SGIX_flush_raster */ - -/* GL_SGIX_depth_texture */ -#define GL_DEPTH_COMPONENT16_SGIX 0x81A5 -#define GL_DEPTH_COMPONENT24_SGIX 0x81A6 -#define GL_DEPTH_COMPONENT32_SGIX 0x81A7 - -/* GL_SGIS_fog_function */ -#define GL_FOG_FUNC_SGIS 0x812A -#define GL_FOG_FUNC_POINTS_SGIS 0x812B -#define GL_MAX_FOG_FUNC_POINTS_SGIS 0x812C - -/* GL_SGIX_fog_offset */ -#define GL_FOG_OFFSET_SGIX 0x8198 -#define GL_FOG_OFFSET_VALUE_SGIX 0x8199 - -/* GL_HP_image_transform */ -#define GL_IMAGE_SCALE_X_HP 0x8155 -#define GL_IMAGE_SCALE_Y_HP 0x8156 -#define GL_IMAGE_TRANSLATE_X_HP 0x8157 -#define GL_IMAGE_TRANSLATE_Y_HP 0x8158 -#define GL_IMAGE_ROTATE_ANGLE_HP 0x8159 -#define GL_IMAGE_ROTATE_ORIGIN_X_HP 0x815A -#define GL_IMAGE_ROTATE_ORIGIN_Y_HP 0x815B -#define GL_IMAGE_MAG_FILTER_HP 0x815C -#define GL_IMAGE_MIN_FILTER_HP 0x815D -#define GL_IMAGE_CUBIC_WEIGHT_HP 0x815E -#define GL_CUBIC_HP 0x815F -#define GL_AVERAGE_HP 0x8160 -#define GL_IMAGE_TRANSFORM_2D_HP 0x8161 -#define GL_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8162 -#define GL_PROXY_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8163 - -/* GL_HP_convolution_border_modes */ -#define GL_IGNORE_BORDER_HP 0x8150 -#define GL_CONSTANT_BORDER_HP 0x8151 -#define GL_REPLICATE_BORDER_HP 0x8153 -#define GL_CONVOLUTION_BORDER_COLOR_HP 0x8154 - -/* GL_INGR_palette_buffer */ - -/* GL_SGIX_texture_add_env */ -#define GL_TEXTURE_ENV_BIAS_SGIX 0x80BE - -/* GL_EXT_color_subtable */ - -/* GL_PGI_vertex_hints */ -#define GL_VERTEX_DATA_HINT_PGI 0x1A22A -#define GL_VERTEX_CONSISTENT_HINT_PGI 0x1A22B -#define GL_MATERIAL_SIDE_HINT_PGI 0x1A22C -#define GL_MAX_VERTEX_HINT_PGI 0x1A22D -#define GL_VERTEX23_BIT_PGI 0x00000004 -#define GL_VERTEX4_BIT_PGI 0x00000008 -#define GL_COLOR3_BIT_PGI 0x00010000 -#define GL_COLOR4_BIT_PGI 0x00020000 -#define GL_EDGEFLAG_BIT_PGI 0x00040000 -#define GL_INDEX_BIT_PGI 0x00080000 -#define GL_MAT_AMBIENT_BIT_PGI 0x00100000 -#define GL_MAT_AMBIENT_AND_DIFFUSE_BIT_PGI 0x00200000 -#define GL_MAT_DIFFUSE_BIT_PGI 0x00400000 -#define GL_MAT_EMISSION_BIT_PGI 0x00800000 -#define GL_MAT_COLOR_INDEXES_BIT_PGI 0x01000000 -#define GL_MAT_SHININESS_BIT_PGI 0x02000000 -#define GL_MAT_SPECULAR_BIT_PGI 0x04000000 -#define GL_NORMAL_BIT_PGI 0x08000000 -#define GL_TEXCOORD1_BIT_PGI 0x10000000 -#define GL_TEXCOORD2_BIT_PGI 0x20000000 -#define GL_TEXCOORD3_BIT_PGI 0x40000000 -#define GL_TEXCOORD4_BIT_PGI 0x80000000 - -/* GL_PGI_misc_hints */ -#define GL_PREFER_DOUBLEBUFFER_HINT_PGI 0x1A1F8 -#define GL_CONSERVE_MEMORY_HINT_PGI 0x1A1FD -#define GL_RECLAIM_MEMORY_HINT_PGI 0x1A1FE -#define GL_NATIVE_GRAPHICS_HANDLE_PGI 0x1A202 -#define GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI 0x1A203 -#define GL_NATIVE_GRAPHICS_END_HINT_PGI 0x1A204 -#define GL_ALWAYS_FAST_HINT_PGI 0x1A20C -#define GL_ALWAYS_SOFT_HINT_PGI 0x1A20D -#define GL_ALLOW_DRAW_OBJ_HINT_PGI 0x1A20E -#define GL_ALLOW_DRAW_WIN_HINT_PGI 0x1A20F -#define GL_ALLOW_DRAW_FRG_HINT_PGI 0x1A210 -#define GL_ALLOW_DRAW_MEM_HINT_PGI 0x1A211 -#define GL_STRICT_DEPTHFUNC_HINT_PGI 0x1A216 -#define GL_STRICT_LIGHTING_HINT_PGI 0x1A217 -#define GL_STRICT_SCISSOR_HINT_PGI 0x1A218 -#define GL_FULL_STIPPLE_HINT_PGI 0x1A219 -#define GL_CLIP_NEAR_HINT_PGI 0x1A220 -#define GL_CLIP_FAR_HINT_PGI 0x1A221 -#define GL_WIDE_LINE_HINT_PGI 0x1A222 -#define GL_BACK_NORMALS_HINT_PGI 0x1A223 - -/* GL_EXT_paletted_texture */ -#define GL_COLOR_INDEX1_EXT 0x80E2 -#define GL_COLOR_INDEX2_EXT 0x80E3 -#define GL_COLOR_INDEX4_EXT 0x80E4 -#define GL_COLOR_INDEX8_EXT 0x80E5 -#define GL_COLOR_INDEX12_EXT 0x80E6 -#define GL_COLOR_INDEX16_EXT 0x80E7 -#define GL_TEXTURE_INDEX_SIZE_EXT 0x80ED - -/* GL_EXT_clip_volume_hint */ -#define GL_CLIP_VOLUME_CLIPPING_HINT_EXT 0x80F0 - -/* GL_SGIX_list_priority */ -#define GL_LIST_PRIORITY_SGIX 0x8182 - -/* GL_SGIX_ir_instrument1 */ -#define GL_IR_INSTRUMENT1_SGIX 0x817F - -/* GL_SGIX_calligraphic_fragment */ -#define GL_CALLIGRAPHIC_FRAGMENT_SGIX 0x8183 - -/* GL_SGIX_texture_lod_bias */ -#define GL_TEXTURE_LOD_BIAS_S_SGIX 0x818E -#define GL_TEXTURE_LOD_BIAS_T_SGIX 0x818F -#define GL_TEXTURE_LOD_BIAS_R_SGIX 0x8190 - -/* GL_SGIX_shadow_ambient */ -#define GL_SHADOW_AMBIENT_SGIX 0x80BF - -/* GL_EXT_index_texture */ - -/* GL_EXT_index_material */ -#define GL_INDEX_MATERIAL_EXT 0x81B8 -#define GL_INDEX_MATERIAL_PARAMETER_EXT 0x81B9 -#define GL_INDEX_MATERIAL_FACE_EXT 0x81BA - -/* GL_EXT_index_func */ -#define GL_INDEX_TEST_EXT 0x81B5 -#define GL_INDEX_TEST_FUNC_EXT 0x81B6 -#define GL_INDEX_TEST_REF_EXT 0x81B7 - -/* GL_EXT_index_array_formats */ -#define GL_IUI_V2F_EXT 0x81AD -#define GL_IUI_V3F_EXT 0x81AE -#define GL_IUI_N3F_V2F_EXT 0x81AF -#define GL_IUI_N3F_V3F_EXT 0x81B0 -#define GL_T2F_IUI_V2F_EXT 0x81B1 -#define GL_T2F_IUI_V3F_EXT 0x81B2 -#define GL_T2F_IUI_N3F_V2F_EXT 0x81B3 -#define GL_T2F_IUI_N3F_V3F_EXT 0x81B4 - -/* GL_EXT_compiled_vertex_array */ -#define GL_ARRAY_ELEMENT_LOCK_FIRST_EXT 0x81A8 -#define GL_ARRAY_ELEMENT_LOCK_COUNT_EXT 0x81A9 - -/* GL_EXT_cull_vertex */ -#define GL_CULL_VERTEX_EXT 0x81AA -#define GL_CULL_VERTEX_EYE_POSITION_EXT 0x81AB -#define GL_CULL_VERTEX_OBJECT_POSITION_EXT 0x81AC - -/* GL_SGIX_ycrcb */ -#define GL_YCRCB_422_SGIX 0x81BB -#define GL_YCRCB_444_SGIX 0x81BC - -/* GL_SGIX_fragment_lighting */ -#define GL_FRAGMENT_LIGHTING_SGIX 0x8400 -#define GL_FRAGMENT_COLOR_MATERIAL_SGIX 0x8401 -#define GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX 0x8402 -#define GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX 0x8403 -#define GL_MAX_FRAGMENT_LIGHTS_SGIX 0x8404 -#define GL_MAX_ACTIVE_LIGHTS_SGIX 0x8405 -#define GL_CURRENT_RASTER_NORMAL_SGIX 0x8406 -#define GL_LIGHT_ENV_MODE_SGIX 0x8407 -#define GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX 0x8408 -#define GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX 0x8409 -#define GL_FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX 0x840A -#define GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX 0x840B -#define GL_FRAGMENT_LIGHT0_SGIX 0x840C -#define GL_FRAGMENT_LIGHT1_SGIX 0x840D -#define GL_FRAGMENT_LIGHT2_SGIX 0x840E -#define GL_FRAGMENT_LIGHT3_SGIX 0x840F -#define GL_FRAGMENT_LIGHT4_SGIX 0x8410 -#define GL_FRAGMENT_LIGHT5_SGIX 0x8411 -#define GL_FRAGMENT_LIGHT6_SGIX 0x8412 -#define GL_FRAGMENT_LIGHT7_SGIX 0x8413 - -/* GL_IBM_rasterpos_clip */ -#define GL_RASTER_POSITION_UNCLIPPED_IBM 0x19262 - -/* GL_HP_texture_lighting */ -#define GL_TEXTURE_LIGHTING_MODE_HP 0x8167 -#define GL_TEXTURE_POST_SPECULAR_HP 0x8168 -#define GL_TEXTURE_PRE_SPECULAR_HP 0x8169 - -/* GL_EXT_draw_range_elements */ -#define GL_MAX_ELEMENTS_VERTICES_EXT 0x80E8 -#define GL_MAX_ELEMENTS_INDICES_EXT 0x80E9 - -/* GL_WIN_phong_shading */ -#define GL_PHONG_WIN 0x80EA -#define GL_PHONG_HINT_WIN 0x80EB - -/* GL_WIN_specular_fog */ -#define GL_FOG_SPECULAR_TEXTURE_WIN 0x80EC - -/* GL_EXT_light_texture */ -#define GL_FRAGMENT_MATERIAL_EXT 0x8349 -#define GL_FRAGMENT_NORMAL_EXT 0x834A -#define GL_FRAGMENT_COLOR_EXT 0x834C -#define GL_ATTENUATION_EXT 0x834D -#define GL_SHADOW_ATTENUATION_EXT 0x834E -#define GL_TEXTURE_APPLICATION_MODE_EXT 0x834F -#define GL_TEXTURE_LIGHT_EXT 0x8350 -#define GL_TEXTURE_MATERIAL_FACE_EXT 0x8351 -#define GL_TEXTURE_MATERIAL_PARAMETER_EXT 0x8352 - -/* GL_SGIX_blend_alpha_minmax */ -#define GL_ALPHA_MIN_SGIX 0x8320 -#define GL_ALPHA_MAX_SGIX 0x8321 - -/* GL_EXT_bgra */ -#define GL_BGR_EXT 0x80E0 -#define GL_BGRA_EXT 0x80E1 - -/* GL_SGIX_async */ -#define GL_ASYNC_MARKER_SGIX 0x8329 - -/* GL_SGIX_async_pixel */ -#define GL_ASYNC_TEX_IMAGE_SGIX 0x835C -#define GL_ASYNC_DRAW_PIXELS_SGIX 0x835D -#define GL_ASYNC_READ_PIXELS_SGIX 0x835E -#define GL_MAX_ASYNC_TEX_IMAGE_SGIX 0x835F -#define GL_MAX_ASYNC_DRAW_PIXELS_SGIX 0x8360 -#define GL_MAX_ASYNC_READ_PIXELS_SGIX 0x8361 - -/* GL_SGIX_async_histogram */ -#define GL_ASYNC_HISTOGRAM_SGIX 0x832C -#define GL_MAX_ASYNC_HISTOGRAM_SGIX 0x832D - -/* GL_INTEL_texture_scissor */ - -/* GL_INTEL_parallel_arrays */ -#define GL_PARALLEL_ARRAYS_INTEL 0x83F4 -#define GL_VERTEX_ARRAY_PARALLEL_POINTERS_INTEL 0x83F5 -#define GL_NORMAL_ARRAY_PARALLEL_POINTERS_INTEL 0x83F6 -#define GL_COLOR_ARRAY_PARALLEL_POINTERS_INTEL 0x83F7 -#define GL_TEXTURE_COORD_ARRAY_PARALLEL_POINTERS_INTEL 0x83F8 -/* GL_HP_occlusion_test */ -#define GL_OCCLUSION_TEST_HP 0x8165 -#define GL_OCCLUSION_TEST_RESULT_HP 0x8166 +#define GL_TEXTURE0 0x84C0 +#define GL_TEXTURE1 0x84C1 +#define GL_TEXTURE2 0x84C2 +#define GL_TEXTURE3 0x84C3 +#define GL_TEXTURE4 0x84C4 +#define GL_TEXTURE5 0x84C5 +#define GL_TEXTURE6 0x84C6 +#define GL_TEXTURE7 0x84C7 +#define GL_TEXTURE8 0x84C8 +#define GL_TEXTURE9 0x84C9 +#define GL_TEXTURE10 0x84CA +#define GL_TEXTURE11 0x84CB +#define GL_TEXTURE12 0x84CC +#define GL_TEXTURE13 0x84CD +#define GL_TEXTURE14 0x84CE +#define GL_TEXTURE15 0x84CF +#define GL_TEXTURE16 0x84D0 +#define GL_TEXTURE17 0x84D1 +#define GL_TEXTURE18 0x84D2 +#define GL_TEXTURE19 0x84D3 +#define GL_TEXTURE20 0x84D4 +#define GL_TEXTURE21 0x84D5 +#define GL_TEXTURE22 0x84D6 +#define GL_TEXTURE23 0x84D7 +#define GL_TEXTURE24 0x84D8 +#define GL_TEXTURE25 0x84D9 +#define GL_TEXTURE26 0x84DA +#define GL_TEXTURE27 0x84DB +#define GL_TEXTURE28 0x84DC +#define GL_TEXTURE29 0x84DD +#define GL_TEXTURE30 0x84DE +#define GL_TEXTURE31 0x84DF +#define GL_ACTIVE_TEXTURE 0x84E0 +#define GL_MULTISAMPLE 0x809D +#define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E +#define GL_SAMPLE_ALPHA_TO_ONE 0x809F +#define GL_SAMPLE_COVERAGE 0x80A0 +#define GL_SAMPLE_BUFFERS 0x80A8 +#define GL_SAMPLES 0x80A9 +#define GL_SAMPLE_COVERAGE_VALUE 0x80AA +#define GL_SAMPLE_COVERAGE_INVERT 0x80AB +#define GL_TEXTURE_CUBE_MAP 0x8513 +#define GL_TEXTURE_BINDING_CUBE_MAP 0x8514 +#define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515 +#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516 +#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517 +#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518 +#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519 +#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A +#define GL_PROXY_TEXTURE_CUBE_MAP 0x851B +#define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C +#define GL_COMPRESSED_RGB 0x84ED +#define GL_COMPRESSED_RGBA 0x84EE +#define GL_TEXTURE_COMPRESSION_HINT 0x84EF +#define GL_TEXTURE_COMPRESSED_IMAGE_SIZE 0x86A0 +#define GL_TEXTURE_COMPRESSED 0x86A1 +#define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2 +#define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3 +#define GL_CLAMP_TO_BORDER 0x812D +#define GL_CLIENT_ACTIVE_TEXTURE 0x84E1 +#define GL_MAX_TEXTURE_UNITS 0x84E2 +#define GL_TRANSPOSE_MODELVIEW_MATRIX 0x84E3 +#define GL_TRANSPOSE_PROJECTION_MATRIX 0x84E4 +#define GL_TRANSPOSE_TEXTURE_MATRIX 0x84E5 +#define GL_TRANSPOSE_COLOR_MATRIX 0x84E6 +#define GL_MULTISAMPLE_BIT 0x20000000 +#define GL_NORMAL_MAP 0x8511 +#define GL_REFLECTION_MAP 0x8512 +#define GL_COMPRESSED_ALPHA 0x84E9 +#define GL_COMPRESSED_LUMINANCE 0x84EA +#define GL_COMPRESSED_LUMINANCE_ALPHA 0x84EB +#define GL_COMPRESSED_INTENSITY 0x84EC +#define GL_COMBINE 0x8570 +#define GL_COMBINE_RGB 0x8571 +#define GL_COMBINE_ALPHA 0x8572 +#define GL_SOURCE0_RGB 0x8580 +#define GL_SOURCE1_RGB 0x8581 +#define GL_SOURCE2_RGB 0x8582 +#define GL_SOURCE0_ALPHA 0x8588 +#define GL_SOURCE1_ALPHA 0x8589 +#define GL_SOURCE2_ALPHA 0x858A +#define GL_OPERAND0_RGB 0x8590 +#define GL_OPERAND1_RGB 0x8591 +#define GL_OPERAND2_RGB 0x8592 +#define GL_OPERAND0_ALPHA 0x8598 +#define GL_OPERAND1_ALPHA 0x8599 +#define GL_OPERAND2_ALPHA 0x859A +#define GL_RGB_SCALE 0x8573 +#define GL_ADD_SIGNED 0x8574 +#define GL_INTERPOLATE 0x8575 +#define GL_SUBTRACT 0x84E7 +#define GL_CONSTANT 0x8576 +#define GL_PRIMARY_COLOR 0x8577 +#define GL_PREVIOUS 0x8578 +#define GL_DOT3_RGB 0x86AE +#define GL_DOT3_RGBA 0x86AF -/* GL_EXT_pixel_transform */ -#define GL_PIXEL_TRANSFORM_2D_EXT 0x8330 -#define GL_PIXEL_MAG_FILTER_EXT 0x8331 -#define GL_PIXEL_MIN_FILTER_EXT 0x8332 -#define GL_PIXEL_CUBIC_WEIGHT_EXT 0x8333 -#define GL_CUBIC_EXT 0x8334 -#define GL_AVERAGE_EXT 0x8335 -#define GL_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8336 -#define GL_MAX_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8337 -#define GL_PIXEL_TRANSFORM_2D_MATRIX_EXT 0x8338 - -/* GL_EXT_pixel_transform_color_table */ - -/* GL_EXT_shared_texture_palette */ -#define GL_SHARED_TEXTURE_PALETTE_EXT 0x81FB - -/* GL_EXT_separate_specular_color */ -#define GL_LIGHT_MODEL_COLOR_CONTROL_EXT 0x81F8 -#define GL_SINGLE_COLOR_EXT 0x81F9 -#define GL_SEPARATE_SPECULAR_COLOR_EXT 0x81FA - -/* GL_EXT_secondary_color */ -#define GL_COLOR_SUM_EXT 0x8458 -#define GL_CURRENT_SECONDARY_COLOR_EXT 0x8459 -#define GL_SECONDARY_COLOR_ARRAY_SIZE_EXT 0x845A -#define GL_SECONDARY_COLOR_ARRAY_TYPE_EXT 0x845B -#define GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT 0x845C -#define GL_SECONDARY_COLOR_ARRAY_POINTER_EXT 0x845D -#define GL_SECONDARY_COLOR_ARRAY_EXT 0x845E - -/* GL_EXT_texture_perturb_normal */ -#define GL_PERTURB_EXT 0x85AE -#define GL_TEXTURE_NORMAL_EXT 0x85AF - -/* GL_EXT_multi_draw_arrays */ - -/* GL_EXT_fog_coord */ -#define GL_FOG_COORDINATE_SOURCE_EXT 0x8450 -#define GL_FOG_COORDINATE_EXT 0x8451 -#define GL_FRAGMENT_DEPTH_EXT 0x8452 -#define GL_CURRENT_FOG_COORDINATE_EXT 0x8453 -#define GL_FOG_COORDINATE_ARRAY_TYPE_EXT 0x8454 -#define GL_FOG_COORDINATE_ARRAY_STRIDE_EXT 0x8455 -#define GL_FOG_COORDINATE_ARRAY_POINTER_EXT 0x8456 -#define GL_FOG_COORDINATE_ARRAY_EXT 0x8457 - -/* GL_REND_screen_coordinates */ -#define GL_SCREEN_COORDINATES_REND 0x8490 -#define GL_INVERTED_SCREEN_W_REND 0x8491 - -/* GL_EXT_coordinate_frame */ -#define GL_TANGENT_ARRAY_EXT 0x8439 -#define GL_BINORMAL_ARRAY_EXT 0x843A -#define GL_CURRENT_TANGENT_EXT 0x843B -#define GL_CURRENT_BINORMAL_EXT 0x843C -#define GL_TANGENT_ARRAY_TYPE_EXT 0x843E -#define GL_TANGENT_ARRAY_STRIDE_EXT 0x843F -#define GL_BINORMAL_ARRAY_TYPE_EXT 0x8440 -#define GL_BINORMAL_ARRAY_STRIDE_EXT 0x8441 -#define GL_TANGENT_ARRAY_POINTER_EXT 0x8442 -#define GL_BINORMAL_ARRAY_POINTER_EXT 0x8443 -#define GL_MAP1_TANGENT_EXT 0x8444 -#define GL_MAP2_TANGENT_EXT 0x8445 -#define GL_MAP1_BINORMAL_EXT 0x8446 -#define GL_MAP2_BINORMAL_EXT 0x8447 - -/* GL_EXT_texture_env_combine */ -#define GL_COMBINE_EXT 0x8570 -#define GL_COMBINE_RGB_EXT 0x8571 -#define GL_COMBINE_ALPHA_EXT 0x8572 -#define GL_RGB_SCALE_EXT 0x8573 -#define GL_ADD_SIGNED_EXT 0x8574 -#define GL_INTERPOLATE_EXT 0x8575 -#define GL_CONSTANT_EXT 0x8576 -#define GL_PRIMARY_COLOR_EXT 0x8577 -#define GL_PREVIOUS_EXT 0x8578 -#define GL_SOURCE0_RGB_EXT 0x8580 -#define GL_SOURCE1_RGB_EXT 0x8581 -#define GL_SOURCE2_RGB_EXT 0x8582 -#define GL_SOURCE0_ALPHA_EXT 0x8588 -#define GL_SOURCE1_ALPHA_EXT 0x8589 -#define GL_SOURCE2_ALPHA_EXT 0x858A -#define GL_OPERAND0_RGB_EXT 0x8590 -#define GL_OPERAND1_RGB_EXT 0x8591 -#define GL_OPERAND2_RGB_EXT 0x8592 -#define GL_OPERAND0_ALPHA_EXT 0x8598 -#define GL_OPERAND1_ALPHA_EXT 0x8599 -#define GL_OPERAND2_ALPHA_EXT 0x859A - -/* GL_APPLE_specular_vector */ -#define GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE 0x85B0 - -/* GL_APPLE_transform_hint */ -#define GL_TRANSFORM_HINT_APPLE 0x85B1 - -/* GL_SUNX_constant_data */ -#define GL_UNPACK_CONSTANT_DATA_SUNX 0x81D5 -#define GL_TEXTURE_CONSTANT_DATA_SUNX 0x81D6 - -/* GL_SUN_global_alpha */ -#define GL_GLOBAL_ALPHA_SUN 0x81D9 -#define GL_GLOBAL_ALPHA_FACTOR_SUN 0x81DA - -/* GL_SUN_triangle_list */ -#define GL_RESTART_SUN 0x0001 -#define GL_REPLACE_MIDDLE_SUN 0x0002 -#define GL_REPLACE_OLDEST_SUN 0x0003 -#define GL_TRIANGLE_LIST_SUN 0x81D7 -#define GL_REPLACEMENT_CODE_SUN 0x81D8 -#define GL_REPLACEMENT_CODE_ARRAY_SUN 0x85C0 -#define GL_REPLACEMENT_CODE_ARRAY_TYPE_SUN 0x85C1 -#define GL_REPLACEMENT_CODE_ARRAY_STRIDE_SUN 0x85C2 -#define GL_REPLACEMENT_CODE_ARRAY_POINTER_SUN 0x85C3 -#define GL_R1UI_V3F_SUN 0x85C4 -#define GL_R1UI_C4UB_V3F_SUN 0x85C5 -#define GL_R1UI_C3F_V3F_SUN 0x85C6 -#define GL_R1UI_N3F_V3F_SUN 0x85C7 -#define GL_R1UI_C4F_N3F_V3F_SUN 0x85C8 -#define GL_R1UI_T2F_V3F_SUN 0x85C9 -#define GL_R1UI_T2F_N3F_V3F_SUN 0x85CA -#define GL_R1UI_T2F_C4F_N3F_V3F_SUN 0x85CB - -/* GL_SUN_vertex */ - -/* GL_EXT_blend_func_separate */ -#define GL_BLEND_DST_RGB_EXT 0x80C8 -#define GL_BLEND_SRC_RGB_EXT 0x80C9 -#define GL_BLEND_DST_ALPHA_EXT 0x80CA -#define GL_BLEND_SRC_ALPHA_EXT 0x80CB - -/* GL_INGR_color_clamp */ -#define GL_RED_MIN_CLAMP_INGR 0x8560 -#define GL_GREEN_MIN_CLAMP_INGR 0x8561 -#define GL_BLUE_MIN_CLAMP_INGR 0x8562 -#define GL_ALPHA_MIN_CLAMP_INGR 0x8563 -#define GL_RED_MAX_CLAMP_INGR 0x8564 -#define GL_GREEN_MAX_CLAMP_INGR 0x8565 -#define GL_BLUE_MAX_CLAMP_INGR 0x8566 -#define GL_ALPHA_MAX_CLAMP_INGR 0x8567 - -/* GL_INGR_interlace_read */ -#define GL_INTERLACE_READ_INGR 0x8568 - -/* GL_EXT_stencil_wrap */ -#define GL_INCR_WRAP_EXT 0x8507 -#define GL_DECR_WRAP_EXT 0x8508 - -/* GL_EXT_422_pixels */ -#define GL_422_EXT 0x80CC -#define GL_422_REV_EXT 0x80CD -#define GL_422_AVERAGE_EXT 0x80CE -#define GL_422_REV_AVERAGE_EXT 0x80CF - -/* GL_NV_texgen_reflection */ -#define GL_NORMAL_MAP_NV 0x8511 -#define GL_REFLECTION_MAP_NV 0x8512 - -/* GL_EXT_texture_cube_map */ -#define GL_NORMAL_MAP_EXT 0x8511 -#define GL_REFLECTION_MAP_EXT 0x8512 -#define GL_TEXTURE_CUBE_MAP_EXT 0x8513 -#define GL_TEXTURE_BINDING_CUBE_MAP_EXT 0x8514 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT 0x8515 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT 0x8516 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT 0x8517 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT 0x8518 -#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT 0x8519 -#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT 0x851A -#define GL_PROXY_TEXTURE_CUBE_MAP_EXT 0x851B -#define GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT 0x851C - -/* GL_SUN_convolution_border_modes */ -#define GL_WRAP_BORDER_SUN 0x81D4 - -/* GL_EXT_texture_env_add */ - -/* GL_EXT_texture_lod_bias */ -#define GL_MAX_TEXTURE_LOD_BIAS_EXT 0x84FD -#define GL_TEXTURE_FILTER_CONTROL_EXT 0x8500 -#define GL_TEXTURE_LOD_BIAS_EXT 0x8501 - -/* GL_EXT_texture_filter_anisotropic */ -#define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE -#define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF - -/* GL_EXT_vertex_weighting */ -#define GL_MODELVIEW0_STACK_DEPTH_EXT 0x0BA3 -#define GL_MODELVIEW1_STACK_DEPTH_EXT 0x8502 -#define GL_MODELVIEW0_MATRIX_EXT 0x0BA6 -#define GL_MODELVIEW1_MATRIX_EXT 0x8506 -#define GL_VERTEX_WEIGHTING_EXT 0x8509 -#define GL_MODELVIEW0_EXT 0x1700 -#define GL_MODELVIEW1_EXT 0x850A -#define GL_CURRENT_VERTEX_WEIGHT_EXT 0x850B -#define GL_VERTEX_WEIGHT_ARRAY_EXT 0x850C -#define GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT 0x850D -#define GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT 0x850E -#define GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT 0x850F -#define GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT 0x8510 - -/* GL_NV_light_max_exponent */ -#define GL_MAX_SHININESS_NV 0x8504 -#define GL_MAX_SPOT_EXPONENT_NV 0x8505 - -/* GL_NV_vertex_array_range */ -#define GL_VERTEX_ARRAY_RANGE_NV 0x851D -#define GL_VERTEX_ARRAY_RANGE_LENGTH_NV 0x851E -#define GL_VERTEX_ARRAY_RANGE_VALID_NV 0x851F -#define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV 0x8520 -#define GL_VERTEX_ARRAY_RANGE_POINTER_NV 0x8521 - -/* GL_NV_register_combiners */ -#define GL_REGISTER_COMBINERS_NV 0x8522 -#define GL_VARIABLE_A_NV 0x8523 -#define GL_VARIABLE_B_NV 0x8524 -#define GL_VARIABLE_C_NV 0x8525 -#define GL_VARIABLE_D_NV 0x8526 -#define GL_VARIABLE_E_NV 0x8527 -#define GL_VARIABLE_F_NV 0x8528 -#define GL_VARIABLE_G_NV 0x8529 -#define GL_CONSTANT_COLOR0_NV 0x852A -#define GL_CONSTANT_COLOR1_NV 0x852B -#define GL_PRIMARY_COLOR_NV 0x852C -#define GL_SECONDARY_COLOR_NV 0x852D -#define GL_SPARE0_NV 0x852E -#define GL_SPARE1_NV 0x852F -#define GL_DISCARD_NV 0x8530 -#define GL_E_TIMES_F_NV 0x8531 -#define GL_SPARE0_PLUS_SECONDARY_COLOR_NV 0x8532 -#define GL_UNSIGNED_IDENTITY_NV 0x8536 -#define GL_UNSIGNED_INVERT_NV 0x8537 -#define GL_EXPAND_NORMAL_NV 0x8538 -#define GL_EXPAND_NEGATE_NV 0x8539 -#define GL_HALF_BIAS_NORMAL_NV 0x853A -#define GL_HALF_BIAS_NEGATE_NV 0x853B -#define GL_SIGNED_IDENTITY_NV 0x853C -#define GL_SIGNED_NEGATE_NV 0x853D -#define GL_SCALE_BY_TWO_NV 0x853E -#define GL_SCALE_BY_FOUR_NV 0x853F -#define GL_SCALE_BY_ONE_HALF_NV 0x8540 -#define GL_BIAS_BY_NEGATIVE_ONE_HALF_NV 0x8541 -#define GL_COMBINER_INPUT_NV 0x8542 -#define GL_COMBINER_MAPPING_NV 0x8543 -#define GL_COMBINER_COMPONENT_USAGE_NV 0x8544 -#define GL_COMBINER_AB_DOT_PRODUCT_NV 0x8545 -#define GL_COMBINER_CD_DOT_PRODUCT_NV 0x8546 -#define GL_COMBINER_MUX_SUM_NV 0x8547 -#define GL_COMBINER_SCALE_NV 0x8548 -#define GL_COMBINER_BIAS_NV 0x8549 -#define GL_COMBINER_AB_OUTPUT_NV 0x854A -#define GL_COMBINER_CD_OUTPUT_NV 0x854B -#define GL_COMBINER_SUM_OUTPUT_NV 0x854C -#define GL_MAX_GENERAL_COMBINERS_NV 0x854D -#define GL_NUM_GENERAL_COMBINERS_NV 0x854E -#define GL_COLOR_SUM_CLAMP_NV 0x854F -#define GL_COMBINER0_NV 0x8550 -#define GL_COMBINER1_NV 0x8551 -#define GL_COMBINER2_NV 0x8552 -#define GL_COMBINER3_NV 0x8553 -#define GL_COMBINER4_NV 0x8554 -#define GL_COMBINER5_NV 0x8555 -#define GL_COMBINER6_NV 0x8556 -#define GL_COMBINER7_NV 0x8557 - -/* GL_NV_fog_distance */ -#define GL_FOG_DISTANCE_MODE_NV 0x855A -#define GL_EYE_RADIAL_NV 0x855B -#define GL_EYE_PLANE_ABSOLUTE_NV 0x855C - -/* GL_NV_texgen_emboss */ -#define GL_EMBOSS_LIGHT_NV 0x855D -#define GL_EMBOSS_CONSTANT_NV 0x855E -#define GL_EMBOSS_MAP_NV 0x855F - -/* GL_NV_blend_square */ - -/* GL_NV_texture_env_combine4 */ -#define GL_COMBINE4_NV 0x8503 -#define GL_SOURCE3_RGB_NV 0x8583 -#define GL_SOURCE3_ALPHA_NV 0x858B -#define GL_OPERAND3_RGB_NV 0x8593 -#define GL_OPERAND3_ALPHA_NV 0x859B - -/* GL_MESA_resize_buffers */ - -/* GL_MESA_window_pos */ - -/* GL_EXT_texture_compression_s3tc */ -#define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0 -#define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1 -#define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2 -#define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3 - -/* GL_IBM_cull_vertex */ -#define GL_CULL_VERTEX_IBM 103050 - -/* GL_IBM_multimode_draw_arrays */ - -/* GL_IBM_vertex_array_lists */ -#define GL_VERTEX_ARRAY_LIST_IBM 103070 -#define GL_NORMAL_ARRAY_LIST_IBM 103071 -#define GL_COLOR_ARRAY_LIST_IBM 103072 -#define GL_INDEX_ARRAY_LIST_IBM 103073 -#define GL_TEXTURE_COORD_ARRAY_LIST_IBM 103074 -#define GL_EDGE_FLAG_ARRAY_LIST_IBM 103075 -#define GL_FOG_COORDINATE_ARRAY_LIST_IBM 103076 -#define GL_SECONDARY_COLOR_ARRAY_LIST_IBM 103077 -#define GL_VERTEX_ARRAY_LIST_STRIDE_IBM 103080 -#define GL_NORMAL_ARRAY_LIST_STRIDE_IBM 103081 -#define GL_COLOR_ARRAY_LIST_STRIDE_IBM 103082 -#define GL_INDEX_ARRAY_LIST_STRIDE_IBM 103083 -#define GL_TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM 103084 -#define GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM 103085 -#define GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM 103086 -#define GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM 103087 - -/* GL_SGIX_subsample */ -#define GL_PACK_SUBSAMPLE_RATE_SGIX 0x85A0 -#define GL_UNPACK_SUBSAMPLE_RATE_SGIX 0x85A1 -#define GL_PIXEL_SUBSAMPLE_4444_SGIX 0x85A2 -#define GL_PIXEL_SUBSAMPLE_2424_SGIX 0x85A3 -#define GL_PIXEL_SUBSAMPLE_4242_SGIX 0x85A4 - -/* GL_SGIX_ycrcb_subsample */ -#define GL_PACK_SUBSAMPLE_RATE_SGIX 0x85A0 -#define GL_UNPACK_SUBSAMPLE_RATE_SGIX 0x85A1 -#define GL_PIXEL_SUBSAMPLE_4444_SGIX 0x85A2 -#define GL_PIXEL_SUBSAMPLE_2424_SGIX 0x85A3 -#define GL_PIXEL_SUBSAMPLE_4242_SGIX 0x85A4 - -/* GL_SGIX_ycrcba */ -#define GL_YCRCB_SGIX 0x8318 -#define GL_YCRCBA_SGIX 0x8319 - -/* GL_3DFX_texture_compression_FXT1 */ -#define GL_COMPRESSED_RGB_FXT1_3DFX 0x86B0 -#define GL_COMPRESSED_RGBA_FXT1_3DFX 0x86B1 - -/* GL_3DFX_multisample */ -#define GL_MULTISAMPLE_3DFX 0x86B2 -#define GL_SAMPLE_BUFFERS_3DFX 0x86B3 -#define GL_SAMPLES_3DFX 0x86B4 -#define GL_MULTISAMPLE_BIT_3DFX 0x20000000 - -/* GL_3DFX_tbuffer */ - -/* GL_EXT_multisample */ -#define GL_MULTISAMPLE_EXT 0x809D -#define GL_SAMPLE_ALPHA_TO_MASK_EXT 0x809E -#define GL_SAMPLE_ALPHA_TO_ONE_EXT 0x809F -#define GL_SAMPLE_MASK_EXT 0x80A0 -#define GL_1PASS_EXT 0x80A1 -#define GL_2PASS_0_EXT 0x80A2 -#define GL_2PASS_1_EXT 0x80A3 -#define GL_4PASS_0_EXT 0x80A4 -#define GL_4PASS_1_EXT 0x80A5 -#define GL_4PASS_2_EXT 0x80A6 -#define GL_4PASS_3_EXT 0x80A7 -#define GL_SAMPLE_BUFFERS_EXT 0x80A8 -#define GL_SAMPLES_EXT 0x80A9 -#define GL_SAMPLE_MASK_VALUE_EXT 0x80AA -#define GL_SAMPLE_MASK_INVERT_EXT 0x80AB -#define GL_SAMPLE_PATTERN_EXT 0x80AC -#define GL_MULTISAMPLE_BIT_EXT 0x20000000 - -/* GL_SGIX_vertex_preclip */ -#define GL_VERTEX_PRECLIP_SGIX 0x83EE -#define GL_VERTEX_PRECLIP_HINT_SGIX 0x83EF - -/* GL_SGIX_convolution_accuracy */ -#define GL_CONVOLUTION_HINT_SGIX 0x8316 - -/* GL_SGIX_resample */ -#define GL_PACK_RESAMPLE_SGIX 0x842C -#define GL_UNPACK_RESAMPLE_SGIX 0x842D -#define GL_RESAMPLE_REPLICATE_SGIX 0x842E -#define GL_RESAMPLE_ZERO_FILL_SGIX 0x842F -#define GL_RESAMPLE_DECIMATE_SGIX 0x8430 - -/* GL_SGIS_point_line_texgen */ -#define GL_EYE_DISTANCE_TO_POINT_SGIS 0x81F0 -#define GL_OBJECT_DISTANCE_TO_POINT_SGIS 0x81F1 -#define GL_EYE_DISTANCE_TO_LINE_SGIS 0x81F2 -#define GL_OBJECT_DISTANCE_TO_LINE_SGIS 0x81F3 -#define GL_EYE_POINT_SGIS 0x81F4 -#define GL_OBJECT_POINT_SGIS 0x81F5 -#define GL_EYE_LINE_SGIS 0x81F6 -#define GL_OBJECT_LINE_SGIS 0x81F7 - -/* GL_SGIS_texture_color_mask */ -#define GL_TEXTURE_COLOR_WRITEMASK_SGIS 0x81EF - -/* GL_EXT_texture_env_dot3 */ -#define GL_DOT3_RGB_EXT 0x8740 -#define GL_DOT3_RGBA_EXT 0x8741 - -/* GL_ATI_texture_mirror_once */ -#define GL_MIRROR_CLAMP_ATI 0x8742 -#define GL_MIRROR_CLAMP_TO_EDGE_ATI 0x8743 - -/* GL_NV_fence */ -#define GL_ALL_COMPLETED_NV 0x84F2 -#define GL_FENCE_STATUS_NV 0x84F3 -#define GL_FENCE_CONDITION_NV 0x84F4 - -/* GL_IBM_static_data */ -#define GL_ALL_STATIC_DATA_IBM 103060 -#define GL_STATIC_VERTEX_ARRAY_IBM 103061 - -/* GL_IBM_texture_mirrored_repeat */ -#define GL_MIRRORED_REPEAT_IBM 0x8370 - -/* GL_NV_evaluators */ -#define GL_EVAL_2D_NV 0x86C0 -#define GL_EVAL_TRIANGULAR_2D_NV 0x86C1 -#define GL_MAP_TESSELLATION_NV 0x86C2 -#define GL_MAP_ATTRIB_U_ORDER_NV 0x86C3 -#define GL_MAP_ATTRIB_V_ORDER_NV 0x86C4 -#define GL_EVAL_FRACTIONAL_TESSELLATION_NV 0x86C5 -#define GL_EVAL_VERTEX_ATTRIB0_NV 0x86C6 -#define GL_EVAL_VERTEX_ATTRIB1_NV 0x86C7 -#define GL_EVAL_VERTEX_ATTRIB2_NV 0x86C8 -#define GL_EVAL_VERTEX_ATTRIB3_NV 0x86C9 -#define GL_EVAL_VERTEX_ATTRIB4_NV 0x86CA -#define GL_EVAL_VERTEX_ATTRIB5_NV 0x86CB -#define GL_EVAL_VERTEX_ATTRIB6_NV 0x86CC -#define GL_EVAL_VERTEX_ATTRIB7_NV 0x86CD -#define GL_EVAL_VERTEX_ATTRIB8_NV 0x86CE -#define GL_EVAL_VERTEX_ATTRIB9_NV 0x86CF -#define GL_EVAL_VERTEX_ATTRIB10_NV 0x86D0 -#define GL_EVAL_VERTEX_ATTRIB11_NV 0x86D1 -#define GL_EVAL_VERTEX_ATTRIB12_NV 0x86D2 -#define GL_EVAL_VERTEX_ATTRIB13_NV 0x86D3 -#define GL_EVAL_VERTEX_ATTRIB14_NV 0x86D4 -#define GL_EVAL_VERTEX_ATTRIB15_NV 0x86D5 -#define GL_MAX_MAP_TESSELLATION_NV 0x86D6 -#define GL_MAX_RATIONAL_EVAL_ORDER_NV 0x86D7 - -/* GL_NV_packed_depth_stencil */ -#define GL_DEPTH_STENCIL_NV 0x84F9 -#define GL_UNSIGNED_INT_24_8_NV 0x84FA - -/* GL_NV_register_combiners2 */ -#define GL_PER_STAGE_CONSTANTS_NV 0x8535 - -/* GL_NV_texture_compression_vtc */ - -/* GL_NV_texture_rectangle */ -#define GL_TEXTURE_RECTANGLE_NV 0x84F5 -#define GL_TEXTURE_BINDING_RECTANGLE_NV 0x84F6 -#define GL_PROXY_TEXTURE_RECTANGLE_NV 0x84F7 -#define GL_MAX_RECTANGLE_TEXTURE_SIZE_NV 0x84F8 - -/* GL_NV_texture_shader */ -#define GL_OFFSET_TEXTURE_RECTANGLE_NV 0x864C -#define GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV 0x864D -#define GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV 0x864E -#define GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV 0x86D9 -#define GL_UNSIGNED_INT_S8_S8_8_8_NV 0x86DA -#define GL_UNSIGNED_INT_8_8_S8_S8_REV_NV 0x86DB -#define GL_DSDT_MAG_INTENSITY_NV 0x86DC -#define GL_SHADER_CONSISTENT_NV 0x86DD -#define GL_TEXTURE_SHADER_NV 0x86DE -#define GL_SHADER_OPERATION_NV 0x86DF -#define GL_CULL_MODES_NV 0x86E0 -#define GL_OFFSET_TEXTURE_MATRIX_NV 0x86E1 -#define GL_OFFSET_TEXTURE_2D_MATRIX_NV 0x86E1 -#define GL_OFFSET_TEXTURE_SCALE_NV 0x86E2 -#define GL_OFFSET_TEXTURE_2D_SCALE_NV 0x86E2 -#define GL_OFFSET_TEXTURE_BIAS_NV 0x86E3 -#define GL_OFFSET_TEXTURE_2D_BIAS_NV 0x86E3 -#define GL_PREVIOUS_TEXTURE_INPUT_NV 0x86E4 -#define GL_CONST_EYE_NV 0x86E5 -#define GL_PASS_THROUGH_NV 0x86E6 -#define GL_CULL_FRAGMENT_NV 0x86E7 -#define GL_OFFSET_TEXTURE_2D_NV 0x86E8 -#define GL_DEPENDENT_AR_TEXTURE_2D_NV 0x86E9 -#define GL_DEPENDENT_GB_TEXTURE_2D_NV 0x86EA -#define GL_DOT_PRODUCT_NV 0x86EC -#define GL_DOT_PRODUCT_DEPTH_REPLACE_NV 0x86ED -#define GL_DOT_PRODUCT_TEXTURE_2D_NV 0x86EE -#define GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV 0x86F0 -#define GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV 0x86F1 -#define GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV 0x86F2 -#define GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV 0x86F3 -#define GL_HILO_NV 0x86F4 -#define GL_DSDT_NV 0x86F5 -#define GL_DSDT_MAG_NV 0x86F6 -#define GL_DSDT_MAG_VIB_NV 0x86F7 -#define GL_HILO16_NV 0x86F8 -#define GL_SIGNED_HILO_NV 0x86F9 -#define GL_SIGNED_HILO16_NV 0x86FA -#define GL_SIGNED_RGBA_NV 0x86FB -#define GL_SIGNED_RGBA8_NV 0x86FC -#define GL_SIGNED_RGB_NV 0x86FE -#define GL_SIGNED_RGB8_NV 0x86FF -#define GL_SIGNED_LUMINANCE_NV 0x8701 -#define GL_SIGNED_LUMINANCE8_NV 0x8702 -#define GL_SIGNED_LUMINANCE_ALPHA_NV 0x8703 -#define GL_SIGNED_LUMINANCE8_ALPHA8_NV 0x8704 -#define GL_SIGNED_ALPHA_NV 0x8705 -#define GL_SIGNED_ALPHA8_NV 0x8706 -#define GL_SIGNED_INTENSITY_NV 0x8707 -#define GL_SIGNED_INTENSITY8_NV 0x8708 -#define GL_DSDT8_NV 0x8709 -#define GL_DSDT8_MAG8_NV 0x870A -#define GL_DSDT8_MAG8_INTENSITY8_NV 0x870B -#define GL_SIGNED_RGB_UNSIGNED_ALPHA_NV 0x870C -#define GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV 0x870D -#define GL_HI_SCALE_NV 0x870E -#define GL_LO_SCALE_NV 0x870F -#define GL_DS_SCALE_NV 0x8710 -#define GL_DT_SCALE_NV 0x8711 -#define GL_MAGNITUDE_SCALE_NV 0x8712 -#define GL_VIBRANCE_SCALE_NV 0x8713 -#define GL_HI_BIAS_NV 0x8714 -#define GL_LO_BIAS_NV 0x8715 -#define GL_DS_BIAS_NV 0x8716 -#define GL_DT_BIAS_NV 0x8717 -#define GL_MAGNITUDE_BIAS_NV 0x8718 -#define GL_VIBRANCE_BIAS_NV 0x8719 -#define GL_TEXTURE_BORDER_VALUES_NV 0x871A -#define GL_TEXTURE_HI_SIZE_NV 0x871B -#define GL_TEXTURE_LO_SIZE_NV 0x871C -#define GL_TEXTURE_DS_SIZE_NV 0x871D -#define GL_TEXTURE_DT_SIZE_NV 0x871E -#define GL_TEXTURE_MAG_SIZE_NV 0x871F - -/* GL_NV_texture_shader2 */ -#define GL_DOT_PRODUCT_TEXTURE_3D_NV 0x86EF - -/* GL_NV_vertex_array_range2 */ -#define GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV 0x8533 - -/* GL_NV_vertex_program */ -#define GL_VERTEX_PROGRAM_NV 0x8620 -#define GL_VERTEX_STATE_PROGRAM_NV 0x8621 -#define GL_ATTRIB_ARRAY_SIZE_NV 0x8623 -#define GL_ATTRIB_ARRAY_STRIDE_NV 0x8624 -#define GL_ATTRIB_ARRAY_TYPE_NV 0x8625 -#define GL_CURRENT_ATTRIB_NV 0x8626 -#define GL_PROGRAM_LENGTH_NV 0x8627 -#define GL_PROGRAM_STRING_NV 0x8628 -#define GL_MODELVIEW_PROJECTION_NV 0x8629 -#define GL_IDENTITY_NV 0x862A -#define GL_INVERSE_NV 0x862B -#define GL_TRANSPOSE_NV 0x862C -#define GL_INVERSE_TRANSPOSE_NV 0x862D -#define GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV 0x862E -#define GL_MAX_TRACK_MATRICES_NV 0x862F -#define GL_MATRIX0_NV 0x8630 -#define GL_MATRIX1_NV 0x8631 -#define GL_MATRIX2_NV 0x8632 -#define GL_MATRIX3_NV 0x8633 -#define GL_MATRIX4_NV 0x8634 -#define GL_MATRIX5_NV 0x8635 -#define GL_MATRIX6_NV 0x8636 -#define GL_MATRIX7_NV 0x8637 -#define GL_CURRENT_MATRIX_STACK_DEPTH_NV 0x8640 -#define GL_CURRENT_MATRIX_NV 0x8641 -#define GL_VERTEX_PROGRAM_POINT_SIZE_NV 0x8642 -#define GL_VERTEX_PROGRAM_TWO_SIDE_NV 0x8643 -#define GL_PROGRAM_PARAMETER_NV 0x8644 -#define GL_ATTRIB_ARRAY_POINTER_NV 0x8645 -#define GL_PROGRAM_TARGET_NV 0x8646 -#define GL_PROGRAM_RESIDENT_NV 0x8647 -#define GL_TRACK_MATRIX_NV 0x8648 -#define GL_TRACK_MATRIX_TRANSFORM_NV 0x8649 -#define GL_VERTEX_PROGRAM_BINDING_NV 0x864A -#define GL_PROGRAM_ERROR_POSITION_NV 0x864B -#define GL_VERTEX_ATTRIB_ARRAY0_NV 0x8650 -#define GL_VERTEX_ATTRIB_ARRAY1_NV 0x8651 -#define GL_VERTEX_ATTRIB_ARRAY2_NV 0x8652 -#define GL_VERTEX_ATTRIB_ARRAY3_NV 0x8653 -#define GL_VERTEX_ATTRIB_ARRAY4_NV 0x8654 -#define GL_VERTEX_ATTRIB_ARRAY5_NV 0x8655 -#define GL_VERTEX_ATTRIB_ARRAY6_NV 0x8656 -#define GL_VERTEX_ATTRIB_ARRAY7_NV 0x8657 -#define GL_VERTEX_ATTRIB_ARRAY8_NV 0x8658 -#define GL_VERTEX_ATTRIB_ARRAY9_NV 0x8659 -#define GL_VERTEX_ATTRIB_ARRAY10_NV 0x865A -#define GL_VERTEX_ATTRIB_ARRAY11_NV 0x865B -#define GL_VERTEX_ATTRIB_ARRAY12_NV 0x865C -#define GL_VERTEX_ATTRIB_ARRAY13_NV 0x865D -#define GL_VERTEX_ATTRIB_ARRAY14_NV 0x865E -#define GL_VERTEX_ATTRIB_ARRAY15_NV 0x865F -#define GL_MAP1_VERTEX_ATTRIB0_4_NV 0x8660 -#define GL_MAP1_VERTEX_ATTRIB1_4_NV 0x8661 -#define GL_MAP1_VERTEX_ATTRIB2_4_NV 0x8662 -#define GL_MAP1_VERTEX_ATTRIB3_4_NV 0x8663 -#define GL_MAP1_VERTEX_ATTRIB4_4_NV 0x8664 -#define GL_MAP1_VERTEX_ATTRIB5_4_NV 0x8665 -#define GL_MAP1_VERTEX_ATTRIB6_4_NV 0x8666 -#define GL_MAP1_VERTEX_ATTRIB7_4_NV 0x8667 -#define GL_MAP1_VERTEX_ATTRIB8_4_NV 0x8668 -#define GL_MAP1_VERTEX_ATTRIB9_4_NV 0x8669 -#define GL_MAP1_VERTEX_ATTRIB10_4_NV 0x866A -#define GL_MAP1_VERTEX_ATTRIB11_4_NV 0x866B -#define GL_MAP1_VERTEX_ATTRIB12_4_NV 0x866C -#define GL_MAP1_VERTEX_ATTRIB13_4_NV 0x866D -#define GL_MAP1_VERTEX_ATTRIB14_4_NV 0x866E -#define GL_MAP1_VERTEX_ATTRIB15_4_NV 0x866F -#define GL_MAP2_VERTEX_ATTRIB0_4_NV 0x8670 -#define GL_MAP2_VERTEX_ATTRIB1_4_NV 0x8671 -#define GL_MAP2_VERTEX_ATTRIB2_4_NV 0x8672 -#define GL_MAP2_VERTEX_ATTRIB3_4_NV 0x8673 -#define GL_MAP2_VERTEX_ATTRIB4_4_NV 0x8674 -#define GL_MAP2_VERTEX_ATTRIB5_4_NV 0x8675 -#define GL_MAP2_VERTEX_ATTRIB6_4_NV 0x8676 -#define GL_MAP2_VERTEX_ATTRIB7_4_NV 0x8677 -#define GL_MAP2_VERTEX_ATTRIB8_4_NV 0x8678 -#define GL_MAP2_VERTEX_ATTRIB9_4_NV 0x8679 -#define GL_MAP2_VERTEX_ATTRIB10_4_NV 0x867A -#define GL_MAP2_VERTEX_ATTRIB11_4_NV 0x867B -#define GL_MAP2_VERTEX_ATTRIB12_4_NV 0x867C -#define GL_MAP2_VERTEX_ATTRIB13_4_NV 0x867D -#define GL_MAP2_VERTEX_ATTRIB14_4_NV 0x867E -#define GL_MAP2_VERTEX_ATTRIB15_4_NV 0x867F - -/* GL_SGIX_texture_coordinate_clamp */ -#define GL_TEXTURE_MAX_CLAMP_S_SGIX 0x8369 -#define GL_TEXTURE_MAX_CLAMP_T_SGIX 0x836A -#define GL_TEXTURE_MAX_CLAMP_R_SGIX 0x836B - -/* GL_SGIX_scalebias_hint */ -#define GL_SCALEBIAS_HINT_SGIX 0x8322 - -/* GL_OML_interlace */ -#define GL_INTERLACE_OML 0x8980 -#define GL_INTERLACE_READ_OML 0x8981 - -/* GL_OML_subsample */ -#define GL_FORMAT_SUBSAMPLE_24_24_OML 0x8982 -#define GL_FORMAT_SUBSAMPLE_244_244_OML 0x8983 - -/* GL_OML_resample */ -#define GL_PACK_RESAMPLE_OML 0x8984 -#define GL_UNPACK_RESAMPLE_OML 0x8985 -#define GL_RESAMPLE_REPLICATE_OML 0x8986 -#define GL_RESAMPLE_ZERO_FILL_OML 0x8987 -#define GL_RESAMPLE_AVERAGE_OML 0x8988 -#define GL_RESAMPLE_DECIMATE_OML 0x8989 - -/* GL_NV_copy_depth_to_color */ -#define GL_DEPTH_STENCIL_TO_RGBA_NV 0x886E -#define GL_DEPTH_STENCIL_TO_BGRA_NV 0x886F - -/* GL_ATI_envmap_bumpmap */ -#define GL_BUMP_ROT_MATRIX_ATI 0x8775 -#define GL_BUMP_ROT_MATRIX_SIZE_ATI 0x8776 -#define GL_BUMP_NUM_TEX_UNITS_ATI 0x8777 -#define GL_BUMP_TEX_UNITS_ATI 0x8778 -#define GL_DUDV_ATI 0x8779 -#define GL_DU8DV8_ATI 0x877A -#define GL_BUMP_ENVMAP_ATI 0x877B -#define GL_BUMP_TARGET_ATI 0x877C - -/* GL_ATI_fragment_shader */ -#define GL_FRAGMENT_SHADER_ATI 0x8920 -#define GL_REG_0_ATI 0x8921 -#define GL_REG_1_ATI 0x8922 -#define GL_REG_2_ATI 0x8923 -#define GL_REG_3_ATI 0x8924 -#define GL_REG_4_ATI 0x8925 -#define GL_REG_5_ATI 0x8926 -#define GL_REG_6_ATI 0x8927 -#define GL_REG_7_ATI 0x8928 -#define GL_REG_8_ATI 0x8929 -#define GL_REG_9_ATI 0x892A -#define GL_REG_10_ATI 0x892B -#define GL_REG_11_ATI 0x892C -#define GL_REG_12_ATI 0x892D -#define GL_REG_13_ATI 0x892E -#define GL_REG_14_ATI 0x892F -#define GL_REG_15_ATI 0x8930 -#define GL_REG_16_ATI 0x8931 -#define GL_REG_17_ATI 0x8932 -#define GL_REG_18_ATI 0x8933 -#define GL_REG_19_ATI 0x8934 -#define GL_REG_20_ATI 0x8935 -#define GL_REG_21_ATI 0x8936 -#define GL_REG_22_ATI 0x8937 -#define GL_REG_23_ATI 0x8938 -#define GL_REG_24_ATI 0x8939 -#define GL_REG_25_ATI 0x893A -#define GL_REG_26_ATI 0x893B -#define GL_REG_27_ATI 0x893C -#define GL_REG_28_ATI 0x893D -#define GL_REG_29_ATI 0x893E -#define GL_REG_30_ATI 0x893F -#define GL_REG_31_ATI 0x8940 -#define GL_CON_0_ATI 0x8941 -#define GL_CON_1_ATI 0x8942 -#define GL_CON_2_ATI 0x8943 -#define GL_CON_3_ATI 0x8944 -#define GL_CON_4_ATI 0x8945 -#define GL_CON_5_ATI 0x8946 -#define GL_CON_6_ATI 0x8947 -#define GL_CON_7_ATI 0x8948 -#define GL_CON_8_ATI 0x8949 -#define GL_CON_9_ATI 0x894A -#define GL_CON_10_ATI 0x894B -#define GL_CON_11_ATI 0x894C -#define GL_CON_12_ATI 0x894D -#define GL_CON_13_ATI 0x894E -#define GL_CON_14_ATI 0x894F -#define GL_CON_15_ATI 0x8950 -#define GL_CON_16_ATI 0x8951 -#define GL_CON_17_ATI 0x8952 -#define GL_CON_18_ATI 0x8953 -#define GL_CON_19_ATI 0x8954 -#define GL_CON_20_ATI 0x8955 -#define GL_CON_21_ATI 0x8956 -#define GL_CON_22_ATI 0x8957 -#define GL_CON_23_ATI 0x8958 -#define GL_CON_24_ATI 0x8959 -#define GL_CON_25_ATI 0x895A -#define GL_CON_26_ATI 0x895B -#define GL_CON_27_ATI 0x895C -#define GL_CON_28_ATI 0x895D -#define GL_CON_29_ATI 0x895E -#define GL_CON_30_ATI 0x895F -#define GL_CON_31_ATI 0x8960 -#define GL_MOV_ATI 0x8961 -#define GL_ADD_ATI 0x8963 -#define GL_MUL_ATI 0x8964 -#define GL_SUB_ATI 0x8965 -#define GL_DOT3_ATI 0x8966 -#define GL_DOT4_ATI 0x8967 -#define GL_MAD_ATI 0x8968 -#define GL_LERP_ATI 0x8969 -#define GL_CND_ATI 0x896A -#define GL_CND0_ATI 0x896B -#define GL_DOT2_ADD_ATI 0x896C -#define GL_SECONDARY_INTERPOLATOR_ATI 0x896D -#define GL_NUM_FRAGMENT_REGISTERS_ATI 0x896E -#define GL_NUM_FRAGMENT_CONSTANTS_ATI 0x896F -#define GL_NUM_PASSES_ATI 0x8970 -#define GL_NUM_INSTRUCTIONS_PER_PASS_ATI 0x8971 -#define GL_NUM_INSTRUCTIONS_TOTAL_ATI 0x8972 -#define GL_NUM_INPUT_INTERPOLATOR_COMPONENTS_ATI 0x8973 -#define GL_NUM_LOOPBACK_COMPONENTS_ATI 0x8974 -#define GL_COLOR_ALPHA_PAIRING_ATI 0x8975 -#define GL_SWIZZLE_STR_ATI 0x8976 -#define GL_SWIZZLE_STQ_ATI 0x8977 -#define GL_SWIZZLE_STR_DR_ATI 0x8978 -#define GL_SWIZZLE_STQ_DQ_ATI 0x8979 -#define GL_SWIZZLE_STRQ_ATI 0x897A -#define GL_SWIZZLE_STRQ_DQ_ATI 0x897B -#define GL_RED_BIT_ATI 0x00000001 -#define GL_GREEN_BIT_ATI 0x00000002 -#define GL_BLUE_BIT_ATI 0x00000004 -#define GL_2X_BIT_ATI 0x00000001 -#define GL_4X_BIT_ATI 0x00000002 -#define GL_8X_BIT_ATI 0x00000004 -#define GL_HALF_BIT_ATI 0x00000008 -#define GL_QUARTER_BIT_ATI 0x00000010 -#define GL_EIGHTH_BIT_ATI 0x00000020 -#define GL_SATURATE_BIT_ATI 0x00000040 -#define GL_2X_BIT_ATI 0x00000001 -#define GL_COMP_BIT_ATI 0x00000002 -#define GL_NEGATE_BIT_ATI 0x00000004 -#define GL_BIAS_BIT_ATI 0x00000008 - -/* GL_ATI_pn_triangles */ -#define GL_PN_TRIANGLES_ATI 0x87F0 -#define GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F1 -#define GL_PN_TRIANGLES_POINT_MODE_ATI 0x87F2 -#define GL_PN_TRIANGLES_NORMAL_MODE_ATI 0x87F3 -#define GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F4 -#define GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI 0x87F5 -#define GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI 0x87F6 -#define GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI 0x87F7 -#define GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI 0x87F8 - -/* GL_ATI_vertex_array_object */ -#define GL_STATIC_ATI 0x8760 -#define GL_DYNAMIC_ATI 0x8761 -#define GL_PRESERVE_ATI 0x8762 -#define GL_DISCARD_ATI 0x8763 -#define GL_OBJECT_BUFFER_SIZE_ATI 0x8764 -#define GL_OBJECT_BUFFER_USAGE_ATI 0x8765 -#define GL_ARRAY_OBJECT_BUFFER_ATI 0x8766 -#define GL_ARRAY_OBJECT_OFFSET_ATI 0x8767 - -/* GL_EXT_vertex_shader */ -#define GL_VERTEX_SHADER_EXT 0x8780 -#define GL_VERTEX_SHADER_BINDING_EXT 0x8781 -#define GL_OP_INDEX_EXT 0x8782 -#define GL_OP_NEGATE_EXT 0x8783 -#define GL_OP_DOT3_EXT 0x8784 -#define GL_OP_DOT4_EXT 0x8785 -#define GL_OP_MUL_EXT 0x8786 -#define GL_OP_ADD_EXT 0x8787 -#define GL_OP_MADD_EXT 0x8788 -#define GL_OP_FRAC_EXT 0x8789 -#define GL_OP_MAX_EXT 0x878A -#define GL_OP_MIN_EXT 0x878B -#define GL_OP_SET_GE_EXT 0x878C -#define GL_OP_SET_LT_EXT 0x878D -#define GL_OP_CLAMP_EXT 0x878E -#define GL_OP_FLOOR_EXT 0x878F -#define GL_OP_ROUND_EXT 0x8790 -#define GL_OP_EXP_BASE_2_EXT 0x8791 -#define GL_OP_LOG_BASE_2_EXT 0x8792 -#define GL_OP_POWER_EXT 0x8793 -#define GL_OP_RECIP_EXT 0x8794 -#define GL_OP_RECIP_SQRT_EXT 0x8795 -#define GL_OP_SUB_EXT 0x8796 -#define GL_OP_CROSS_PRODUCT_EXT 0x8797 -#define GL_OP_MULTIPLY_MATRIX_EXT 0x8798 -#define GL_OP_MOV_EXT 0x8799 -#define GL_OUTPUT_VERTEX_EXT 0x879A -#define GL_OUTPUT_COLOR0_EXT 0x879B -#define GL_OUTPUT_COLOR1_EXT 0x879C -#define GL_OUTPUT_TEXTURE_COORD0_EXT 0x879D -#define GL_OUTPUT_TEXTURE_COORD1_EXT 0x879E -#define GL_OUTPUT_TEXTURE_COORD2_EXT 0x879F -#define GL_OUTPUT_TEXTURE_COORD3_EXT 0x87A0 -#define GL_OUTPUT_TEXTURE_COORD4_EXT 0x87A1 -#define GL_OUTPUT_TEXTURE_COORD5_EXT 0x87A2 -#define GL_OUTPUT_TEXTURE_COORD6_EXT 0x87A3 -#define GL_OUTPUT_TEXTURE_COORD7_EXT 0x87A4 -#define GL_OUTPUT_TEXTURE_COORD8_EXT 0x87A5 -#define GL_OUTPUT_TEXTURE_COORD9_EXT 0x87A6 -#define GL_OUTPUT_TEXTURE_COORD10_EXT 0x87A7 -#define GL_OUTPUT_TEXTURE_COORD11_EXT 0x87A8 -#define GL_OUTPUT_TEXTURE_COORD12_EXT 0x87A9 -#define GL_OUTPUT_TEXTURE_COORD13_EXT 0x87AA -#define GL_OUTPUT_TEXTURE_COORD14_EXT 0x87AB -#define GL_OUTPUT_TEXTURE_COORD15_EXT 0x87AC -#define GL_OUTPUT_TEXTURE_COORD16_EXT 0x87AD -#define GL_OUTPUT_TEXTURE_COORD17_EXT 0x87AE -#define GL_OUTPUT_TEXTURE_COORD18_EXT 0x87AF -#define GL_OUTPUT_TEXTURE_COORD19_EXT 0x87B0 -#define GL_OUTPUT_TEXTURE_COORD20_EXT 0x87B1 -#define GL_OUTPUT_TEXTURE_COORD21_EXT 0x87B2 -#define GL_OUTPUT_TEXTURE_COORD22_EXT 0x87B3 -#define GL_OUTPUT_TEXTURE_COORD23_EXT 0x87B4 -#define GL_OUTPUT_TEXTURE_COORD24_EXT 0x87B5 -#define GL_OUTPUT_TEXTURE_COORD25_EXT 0x87B6 -#define GL_OUTPUT_TEXTURE_COORD26_EXT 0x87B7 -#define GL_OUTPUT_TEXTURE_COORD27_EXT 0x87B8 -#define GL_OUTPUT_TEXTURE_COORD28_EXT 0x87B9 -#define GL_OUTPUT_TEXTURE_COORD29_EXT 0x87BA -#define GL_OUTPUT_TEXTURE_COORD30_EXT 0x87BB -#define GL_OUTPUT_TEXTURE_COORD31_EXT 0x87BC -#define GL_OUTPUT_FOG_EXT 0x87BD -#define GL_SCALAR_EXT 0x87BE -#define GL_VECTOR_EXT 0x87BF -#define GL_MATRIX_EXT 0x87C0 -#define GL_VARIANT_EXT 0x87C1 -#define GL_INVARIANT_EXT 0x87C2 -#define GL_LOCAL_CONSTANT_EXT 0x87C3 -#define GL_LOCAL_EXT 0x87C4 -#define GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87C5 -#define GL_MAX_VERTEX_SHADER_VARIANTS_EXT 0x87C6 -#define GL_MAX_VERTEX_SHADER_INVARIANTS_EXT 0x87C7 -#define GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87C8 -#define GL_MAX_VERTEX_SHADER_LOCALS_EXT 0x87C9 -#define GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CA -#define GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT 0x87CB -#define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87CC -#define GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT 0x87CD -#define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT 0x87CE -#define GL_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CF -#define GL_VERTEX_SHADER_VARIANTS_EXT 0x87D0 -#define GL_VERTEX_SHADER_INVARIANTS_EXT 0x87D1 -#define GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87D2 -#define GL_VERTEX_SHADER_LOCALS_EXT 0x87D3 -#define GL_VERTEX_SHADER_OPTIMIZED_EXT 0x87D4 -#define GL_X_EXT 0x87D5 -#define GL_Y_EXT 0x87D6 -#define GL_Z_EXT 0x87D7 -#define GL_W_EXT 0x87D8 -#define GL_NEGATIVE_X_EXT 0x87D9 -#define GL_NEGATIVE_Y_EXT 0x87DA -#define GL_NEGATIVE_Z_EXT 0x87DB -#define GL_NEGATIVE_W_EXT 0x87DC -#define GL_ZERO_EXT 0x87DD -#define GL_ONE_EXT 0x87DE -#define GL_NEGATIVE_ONE_EXT 0x87DF -#define GL_NORMALIZED_RANGE_EXT 0x87E0 -#define GL_FULL_RANGE_EXT 0x87E1 -#define GL_CURRENT_VERTEX_EXT 0x87E2 -#define GL_MVP_MATRIX_EXT 0x87E3 -#define GL_VARIANT_VALUE_EXT 0x87E4 -#define GL_VARIANT_DATATYPE_EXT 0x87E5 -#define GL_VARIANT_ARRAY_STRIDE_EXT 0x87E6 -#define GL_VARIANT_ARRAY_TYPE_EXT 0x87E7 -#define GL_VARIANT_ARRAY_EXT 0x87E8 -#define GL_VARIANT_ARRAY_POINTER_EXT 0x87E9 -#define GL_INVARIANT_VALUE_EXT 0x87EA -#define GL_INVARIANT_DATATYPE_EXT 0x87EB -#define GL_LOCAL_CONSTANT_VALUE_EXT 0x87EC -#define GL_LOCAL_CONSTANT_DATATYPE_EXT 0x87ED - -/* GL_ATI_vertex_streams */ -#define GL_MAX_VERTEX_STREAMS_ATI 0x876B -#define GL_VERTEX_STREAM0_ATI 0x876C -#define GL_VERTEX_STREAM1_ATI 0x876D -#define GL_VERTEX_STREAM2_ATI 0x876E -#define GL_VERTEX_STREAM3_ATI 0x876F -#define GL_VERTEX_STREAM4_ATI 0x8770 -#define GL_VERTEX_STREAM5_ATI 0x8771 -#define GL_VERTEX_STREAM6_ATI 0x8772 -#define GL_VERTEX_STREAM7_ATI 0x8773 -#define GL_VERTEX_SOURCE_ATI 0x8774 - -/* GL_ATI_element_array */ -#define GL_ELEMENT_ARRAY_ATI 0x8768 -#define GL_ELEMENT_ARRAY_TYPE_ATI 0x8769 -#define GL_ELEMENT_ARRAY_POINTER_ATI 0x876A - -/* GL_SUN_mesh_array */ -#define GL_QUAD_MESH_SUN 0x8614 -#define GL_TRIANGLE_MESH_SUN 0x8615 - -/* GL_SUN_slice_accum */ -#define GL_SLICE_ACCUM_SUN 0x85CC - -/* GL_NV_multisample_filter_hint */ -#define GL_MULTISAMPLE_FILTER_HINT_NV 0x8534 - -/* GL_NV_depth_clamp */ -#define GL_DEPTH_CLAMP_NV 0x864F - -/* GL_NV_occlusion_query */ -#define GL_PIXEL_COUNTER_BITS_NV 0x8864 -#define GL_CURRENT_OCCLUSION_QUERY_ID_NV 0x8865 -#define GL_PIXEL_COUNT_NV 0x8866 -#define GL_PIXEL_COUNT_AVAILABLE_NV 0x8867 - -/* GL_NV_point_sprite */ -#define GL_POINT_SPRITE_NV 0x8861 -#define GL_COORD_REPLACE_NV 0x8862 -#define GL_POINT_SPRITE_R_MODE_NV 0x8863 - -/* GL_NV_texture_shader3 */ -#define GL_OFFSET_PROJECTIVE_TEXTURE_2D_NV 0x8850 -#define GL_OFFSET_PROJECTIVE_TEXTURE_2D_SCALE_NV 0x8851 -#define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8852 -#define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_SCALE_NV 0x8853 -#define GL_OFFSET_HILO_TEXTURE_2D_NV 0x8854 -#define GL_OFFSET_HILO_TEXTURE_RECTANGLE_NV 0x8855 -#define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_2D_NV 0x8856 -#define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8857 -#define GL_DEPENDENT_HILO_TEXTURE_2D_NV 0x8858 -#define GL_DEPENDENT_RGB_TEXTURE_3D_NV 0x8859 -#define GL_DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV 0x885A -#define GL_DOT_PRODUCT_PASS_THROUGH_NV 0x885B -#define GL_DOT_PRODUCT_TEXTURE_1D_NV 0x885C -#define GL_DOT_PRODUCT_AFFINE_DEPTH_REPLACE_NV 0x885D -#define GL_HILO8_NV 0x885E -#define GL_SIGNED_HILO8_NV 0x885F -#define GL_FORCE_BLUE_TO_ONE_NV 0x8860 - -/* GL_NV_vertex_program1_1 */ - -/* GL_EXT_shadow_funcs */ - -/* GL_EXT_stencil_two_side */ -#define GL_STENCIL_TEST_TWO_SIDE_EXT 0x8910 -#define GL_ACTIVE_STENCIL_FACE_EXT 0x8911 - -/* GL_ATI_text_fragment_shader */ -#define GL_TEXT_FRAGMENT_SHADER_ATI 0x8200 - -/* GL_APPLE_client_storage */ -#define GL_UNPACK_CLIENT_STORAGE_APPLE 0x85B2 - -/* GL_APPLE_element_array */ -#define GL_ELEMENT_ARRAY_APPLE 0x8A0C -#define GL_ELEMENT_ARRAY_TYPE_APPLE 0x8A0D -#define GL_ELEMENT_ARRAY_POINTER_APPLE 0x8A0E - -/* GL_APPLE_fence */ -#define GL_DRAW_PIXELS_APPLE 0x8A0A -#define GL_FENCE_APPLE 0x8A0B - -/* GL_APPLE_vertex_array_object */ -#define GL_VERTEX_ARRAY_BINDING_APPLE 0x85B5 - -/* GL_APPLE_vertex_array_range */ -#define GL_VERTEX_ARRAY_RANGE_APPLE 0x851D -#define GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE 0x851E -#define GL_VERTEX_ARRAY_STORAGE_HINT_APPLE 0x851F -#define GL_VERTEX_ARRAY_RANGE_POINTER_APPLE 0x8521 -#define GL_STORAGE_CLIENT_APPLE 0x85B4 -#define GL_STORAGE_CACHED_APPLE 0x85BE -#define GL_STORAGE_SHARED_APPLE 0x85BF - -/* GL_APPLE_ycbcr_422 */ -#define GL_YCBCR_422_APPLE 0x85B9 -#define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA -#define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB - -/* GL_S3_s3tc */ -#define GL_RGB_S3TC 0x83A0 -#define GL_RGB4_S3TC 0x83A1 -#define GL_RGBA_S3TC 0x83A2 -#define GL_RGBA4_S3TC 0x83A3 -#define GL_RGBA_DXT5_S3TC 0x83A4 -#define GL_RGBA4_DXT5_S3TC 0x83A5 - -/* GL_ATI_draw_buffers */ -#define GL_MAX_DRAW_BUFFERS_ATI 0x8824 -#define GL_DRAW_BUFFER0_ATI 0x8825 -#define GL_DRAW_BUFFER1_ATI 0x8826 -#define GL_DRAW_BUFFER2_ATI 0x8827 -#define GL_DRAW_BUFFER3_ATI 0x8828 -#define GL_DRAW_BUFFER4_ATI 0x8829 -#define GL_DRAW_BUFFER5_ATI 0x882A -#define GL_DRAW_BUFFER6_ATI 0x882B -#define GL_DRAW_BUFFER7_ATI 0x882C -#define GL_DRAW_BUFFER8_ATI 0x882D -#define GL_DRAW_BUFFER9_ATI 0x882E -#define GL_DRAW_BUFFER10_ATI 0x882F -#define GL_DRAW_BUFFER11_ATI 0x8830 -#define GL_DRAW_BUFFER12_ATI 0x8831 -#define GL_DRAW_BUFFER13_ATI 0x8832 -#define GL_DRAW_BUFFER14_ATI 0x8833 -#define GL_DRAW_BUFFER15_ATI 0x8834 - -/* GL_ATI_pixel_format_float */ -#define GL_RGBA_FLOAT_MODE_ATI 0x8820 -#define GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI 0x8835 - -/* GL_ATI_texture_env_combine3 */ -#define GL_MODULATE_ADD_ATI 0x8744 -#define GL_MODULATE_SIGNED_ADD_ATI 0x8745 -#define GL_MODULATE_SUBTRACT_ATI 0x8746 - -/* GL_ATI_texture_float */ -#define GL_RGBA_FLOAT32_ATI 0x8814 -#define GL_RGB_FLOAT32_ATI 0x8815 -#define GL_ALPHA_FLOAT32_ATI 0x8816 -#define GL_INTENSITY_FLOAT32_ATI 0x8817 -#define GL_LUMINANCE_FLOAT32_ATI 0x8818 -#define GL_LUMINANCE_ALPHA_FLOAT32_ATI 0x8819 -#define GL_RGBA_FLOAT16_ATI 0x881A -#define GL_RGB_FLOAT16_ATI 0x881B -#define GL_ALPHA_FLOAT16_ATI 0x881C -#define GL_INTENSITY_FLOAT16_ATI 0x881D -#define GL_LUMINANCE_FLOAT16_ATI 0x881E -#define GL_LUMINANCE_ALPHA_FLOAT16_ATI 0x881F - -/* GL_NV_float_buffer */ -#define GL_FLOAT_R_NV 0x8880 -#define GL_FLOAT_RG_NV 0x8881 -#define GL_FLOAT_RGB_NV 0x8882 -#define GL_FLOAT_RGBA_NV 0x8883 -#define GL_FLOAT_R16_NV 0x8884 -#define GL_FLOAT_R32_NV 0x8885 -#define GL_FLOAT_RG16_NV 0x8886 -#define GL_FLOAT_RG32_NV 0x8887 -#define GL_FLOAT_RGB16_NV 0x8888 -#define GL_FLOAT_RGB32_NV 0x8889 -#define GL_FLOAT_RGBA16_NV 0x888A -#define GL_FLOAT_RGBA32_NV 0x888B -#define GL_TEXTURE_FLOAT_COMPONENTS_NV 0x888C -#define GL_FLOAT_CLEAR_COLOR_VALUE_NV 0x888D -#define GL_FLOAT_RGBA_MODE_NV 0x888E - -/* GL_NV_fragment_program */ -#define GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV 0x8868 -#define GL_FRAGMENT_PROGRAM_NV 0x8870 -#define GL_MAX_TEXTURE_COORDS_NV 0x8871 -#define GL_MAX_TEXTURE_IMAGE_UNITS_NV 0x8872 -#define GL_FRAGMENT_PROGRAM_BINDING_NV 0x8873 -#define GL_PROGRAM_ERROR_STRING_NV 0x8874 - -/* GL_NV_half_float */ -#define GL_HALF_FLOAT_NV 0x140B - -/* GL_NV_pixel_data_range */ -#define GL_WRITE_PIXEL_DATA_RANGE_NV 0x8878 -#define GL_READ_PIXEL_DATA_RANGE_NV 0x8879 -#define GL_WRITE_PIXEL_DATA_RANGE_LENGTH_NV 0x887A -#define GL_READ_PIXEL_DATA_RANGE_LENGTH_NV 0x887B -#define GL_WRITE_PIXEL_DATA_RANGE_POINTER_NV 0x887C -#define GL_READ_PIXEL_DATA_RANGE_POINTER_NV 0x887D - -/* GL_NV_primitive_restart */ -#define GL_PRIMITIVE_RESTART_NV 0x8558 -#define GL_PRIMITIVE_RESTART_INDEX_NV 0x8559 - -/* GL_NV_texture_expand_normal */ -#define GL_TEXTURE_UNSIGNED_REMAP_MODE_NV 0x888F - -/* GL_NV_vertex_program2 */ - -/* GL_ATI_map_object_buffer */ - -/* GL_ATI_separate_stencil */ -#define GL_STENCIL_BACK_FUNC_ATI 0x8800 -#define GL_STENCIL_BACK_FAIL_ATI 0x8801 -#define GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI 0x8802 -#define GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI 0x8803 - -/* GL_ATI_vertex_attrib_array_object */ - -/* GL_OES_byte_coordinates */ - -/* GL_OES_fixed_point */ -#define GL_FIXED_OES 0x140C - -/* GL_OES_single_precision */ - -/* GL_OES_compressed_paletted_texture */ -#define GL_PALETTE4_RGB8_OES 0x8B90 -#define GL_PALETTE4_RGBA8_OES 0x8B91 -#define GL_PALETTE4_R5_G6_B5_OES 0x8B92 -#define GL_PALETTE4_RGBA4_OES 0x8B93 -#define GL_PALETTE4_RGB5_A1_OES 0x8B94 -#define GL_PALETTE8_RGB8_OES 0x8B95 -#define GL_PALETTE8_RGBA8_OES 0x8B96 -#define GL_PALETTE8_R5_G6_B5_OES 0x8B97 -#define GL_PALETTE8_RGBA4_OES 0x8B98 -#define GL_PALETTE8_RGB5_A1_OES 0x8B99 - -/* GL_OES_read_format */ -#define GL_IMPLEMENTATION_COLOR_READ_TYPE_OES 0x8B9A -#define GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES 0x8B9B - -/* GL_OES_query_matrix */ - -/* GL_EXT_depth_bounds_test */ -#define GL_DEPTH_BOUNDS_TEST_EXT 0x8890 -#define GL_DEPTH_BOUNDS_EXT 0x8891 - -/* GL_EXT_texture_mirror_clamp */ -#define GL_MIRROR_CLAMP_EXT 0x8742 -#define GL_MIRROR_CLAMP_TO_EDGE_EXT 0x8743 -#define GL_MIRROR_CLAMP_TO_BORDER_EXT 0x8912 - -/* GL_EXT_blend_equation_separate */ -#define GL_BLEND_EQUATION_RGB_EXT 0x8009 -#define GL_BLEND_EQUATION_ALPHA_EXT 0x883D - -/* GL_MESA_pack_invert */ -#define GL_PACK_INVERT_MESA 0x8758 - -/* GL_MESA_ycbcr_texture */ -#define GL_UNSIGNED_SHORT_8_8_MESA 0x85BA -#define GL_UNSIGNED_SHORT_8_8_REV_MESA 0x85BB -#define GL_YCBCR_MESA 0x8757 +/* GL_VERSION_1_4 */ -/* GL_EXT_pixel_buffer_object */ -#define GL_PIXEL_PACK_BUFFER_EXT 0x88EB -#define GL_PIXEL_UNPACK_BUFFER_EXT 0x88EC -#define GL_PIXEL_PACK_BUFFER_BINDING_EXT 0x88ED -#define GL_PIXEL_UNPACK_BUFFER_BINDING_EXT 0x88EF +#define GL_BLEND_DST_RGB 0x80C8 +#define GL_BLEND_SRC_RGB 0x80C9 +#define GL_BLEND_DST_ALPHA 0x80CA +#define GL_BLEND_SRC_ALPHA 0x80CB +#define GL_POINT_FADE_THRESHOLD_SIZE 0x8128 +#define GL_DEPTH_COMPONENT16 0x81A5 +#define GL_DEPTH_COMPONENT24 0x81A6 +#define GL_DEPTH_COMPONENT32 0x81A7 +#define GL_MIRRORED_REPEAT 0x8370 +#define GL_MAX_TEXTURE_LOD_BIAS 0x84FD +#define GL_TEXTURE_LOD_BIAS 0x8501 +#define GL_INCR_WRAP 0x8507 +#define GL_DECR_WRAP 0x8508 +#define GL_TEXTURE_DEPTH_SIZE 0x884A +#define GL_TEXTURE_COMPARE_MODE 0x884C +#define GL_TEXTURE_COMPARE_FUNC 0x884D +#define GL_POINT_SIZE_MIN 0x8126 +#define GL_POINT_SIZE_MAX 0x8127 +#define GL_POINT_DISTANCE_ATTENUATION 0x8129 +#define GL_GENERATE_MIPMAP 0x8191 +#define GL_GENERATE_MIPMAP_HINT 0x8192 +#define GL_FOG_COORDINATE_SOURCE 0x8450 +#define GL_FOG_COORDINATE 0x8451 +#define GL_FRAGMENT_DEPTH 0x8452 +#define GL_CURRENT_FOG_COORDINATE 0x8453 +#define GL_FOG_COORDINATE_ARRAY_TYPE 0x8454 +#define GL_FOG_COORDINATE_ARRAY_STRIDE 0x8455 +#define GL_FOG_COORDINATE_ARRAY_POINTER 0x8456 +#define GL_FOG_COORDINATE_ARRAY 0x8457 +#define GL_COLOR_SUM 0x8458 +#define GL_CURRENT_SECONDARY_COLOR 0x8459 +#define GL_SECONDARY_COLOR_ARRAY_SIZE 0x845A +#define GL_SECONDARY_COLOR_ARRAY_TYPE 0x845B +#define GL_SECONDARY_COLOR_ARRAY_STRIDE 0x845C +#define GL_SECONDARY_COLOR_ARRAY_POINTER 0x845D +#define GL_SECONDARY_COLOR_ARRAY 0x845E +#define GL_TEXTURE_FILTER_CONTROL 0x8500 +#define GL_DEPTH_TEXTURE_MODE 0x884B +#define GL_COMPARE_R_TO_TEXTURE 0x884E +#define GL_FUNC_ADD 0x8006 +#define GL_FUNC_SUBTRACT 0x800A +#define GL_FUNC_REVERSE_SUBTRACT 0x800B +#define GL_MIN 0x8007 +#define GL_MAX 0x8008 +#define GL_CONSTANT_COLOR 0x8001 +#define GL_ONE_MINUS_CONSTANT_COLOR 0x8002 +#define GL_CONSTANT_ALPHA 0x8003 +#define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004 -/* GL_NV_fragment_program_option */ +/* GL_VERSION_1_5 */ -/* GL_NV_fragment_program2 */ -#define GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV 0x88F4 -#define GL_MAX_PROGRAM_CALL_DEPTH_NV 0x88F5 -#define GL_MAX_PROGRAM_IF_DEPTH_NV 0x88F6 -#define GL_MAX_PROGRAM_LOOP_DEPTH_NV 0x88F7 -#define GL_MAX_PROGRAM_LOOP_COUNT_NV 0x88F8 +#define GL_BUFFER_SIZE 0x8764 +#define GL_BUFFER_USAGE 0x8765 +#define GL_QUERY_COUNTER_BITS 0x8864 +#define GL_CURRENT_QUERY 0x8865 +#define GL_QUERY_RESULT 0x8866 +#define GL_QUERY_RESULT_AVAILABLE 0x8867 +#define GL_ARRAY_BUFFER 0x8892 +#define GL_ELEMENT_ARRAY_BUFFER 0x8893 +#define GL_ARRAY_BUFFER_BINDING 0x8894 +#define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895 +#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F +#define GL_READ_ONLY 0x88B8 +#define GL_WRITE_ONLY 0x88B9 +#define GL_READ_WRITE 0x88BA +#define GL_BUFFER_ACCESS 0x88BB +#define GL_BUFFER_MAPPED 0x88BC +#define GL_BUFFER_MAP_POINTER 0x88BD +#define GL_STREAM_DRAW 0x88E0 +#define GL_STREAM_READ 0x88E1 +#define GL_STREAM_COPY 0x88E2 +#define GL_STATIC_DRAW 0x88E4 +#define GL_STATIC_READ 0x88E5 +#define GL_STATIC_COPY 0x88E6 +#define GL_DYNAMIC_DRAW 0x88E8 +#define GL_DYNAMIC_READ 0x88E9 +#define GL_DYNAMIC_COPY 0x88EA +#define GL_SAMPLES_PASSED 0x8914 +#define GL_SRC1_ALPHA 0x8589 +#define GL_VERTEX_ARRAY_BUFFER_BINDING 0x8896 +#define GL_NORMAL_ARRAY_BUFFER_BINDING 0x8897 +#define GL_COLOR_ARRAY_BUFFER_BINDING 0x8898 +#define GL_INDEX_ARRAY_BUFFER_BINDING 0x8899 +#define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A +#define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING 0x889B +#define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING 0x889C +#define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING 0x889D +#define GL_WEIGHT_ARRAY_BUFFER_BINDING 0x889E +#define GL_FOG_COORD_SRC 0x8450 +#define GL_FOG_COORD 0x8451 +#define GL_CURRENT_FOG_COORD 0x8453 +#define GL_FOG_COORD_ARRAY_TYPE 0x8454 +#define GL_FOG_COORD_ARRAY_STRIDE 0x8455 +#define GL_FOG_COORD_ARRAY_POINTER 0x8456 +#define GL_FOG_COORD_ARRAY 0x8457 +#define GL_FOG_COORD_ARRAY_BUFFER_BINDING 0x889D +#define GL_SRC0_RGB 0x8580 +#define GL_SRC1_RGB 0x8581 +#define GL_SRC2_RGB 0x8582 +#define GL_SRC0_ALPHA 0x8588 +#define GL_SRC2_ALPHA 0x858A -/* GL_NV_vertex_program2_option */ +/* GL_VERSION_2_0 */ -/* GL_NV_vertex_program3 */ +#define GL_BLEND_EQUATION_RGB 0x8009 +#define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622 +#define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623 +#define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624 +#define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625 +#define GL_CURRENT_VERTEX_ATTRIB 0x8626 +#define GL_VERTEX_PROGRAM_POINT_SIZE 0x8642 +#define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645 +#define GL_STENCIL_BACK_FUNC 0x8800 +#define GL_STENCIL_BACK_FAIL 0x8801 +#define GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802 +#define GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803 +#define GL_MAX_DRAW_BUFFERS 0x8824 +#define GL_DRAW_BUFFER0 0x8825 +#define GL_DRAW_BUFFER1 0x8826 +#define GL_DRAW_BUFFER2 0x8827 +#define GL_DRAW_BUFFER3 0x8828 +#define GL_DRAW_BUFFER4 0x8829 +#define GL_DRAW_BUFFER5 0x882A +#define GL_DRAW_BUFFER6 0x882B +#define GL_DRAW_BUFFER7 0x882C +#define GL_DRAW_BUFFER8 0x882D +#define GL_DRAW_BUFFER9 0x882E +#define GL_DRAW_BUFFER10 0x882F +#define GL_DRAW_BUFFER11 0x8830 +#define GL_DRAW_BUFFER12 0x8831 +#define GL_DRAW_BUFFER13 0x8832 +#define GL_DRAW_BUFFER14 0x8833 +#define GL_DRAW_BUFFER15 0x8834 +#define GL_BLEND_EQUATION_ALPHA 0x883D +#define GL_MAX_VERTEX_ATTRIBS 0x8869 +#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A +#define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872 +#define GL_FRAGMENT_SHADER 0x8B30 +#define GL_VERTEX_SHADER 0x8B31 +#define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49 +#define GL_MAX_VERTEX_UNIFORM_COMPONENTS 0x8B4A +#define GL_MAX_VARYING_FLOATS 0x8B4B +#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C +#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D +#define GL_SHADER_TYPE 0x8B4F +#define GL_FLOAT_VEC2 0x8B50 +#define GL_FLOAT_VEC3 0x8B51 +#define GL_FLOAT_VEC4 0x8B52 +#define GL_INT_VEC2 0x8B53 +#define GL_INT_VEC3 0x8B54 +#define GL_INT_VEC4 0x8B55 +#define GL_BOOL 0x8B56 +#define GL_BOOL_VEC2 0x8B57 +#define GL_BOOL_VEC3 0x8B58 +#define GL_BOOL_VEC4 0x8B59 +#define GL_FLOAT_MAT2 0x8B5A +#define GL_FLOAT_MAT3 0x8B5B +#define GL_FLOAT_MAT4 0x8B5C +#define GL_SAMPLER_1D 0x8B5D +#define GL_SAMPLER_2D 0x8B5E +#define GL_SAMPLER_3D 0x8B5F +#define GL_SAMPLER_CUBE 0x8B60 +#define GL_SAMPLER_1D_SHADOW 0x8B61 +#define GL_SAMPLER_2D_SHADOW 0x8B62 +#define GL_DELETE_STATUS 0x8B80 +#define GL_COMPILE_STATUS 0x8B81 +#define GL_LINK_STATUS 0x8B82 +#define GL_VALIDATE_STATUS 0x8B83 +#define GL_INFO_LOG_LENGTH 0x8B84 +#define GL_ATTACHED_SHADERS 0x8B85 +#define GL_ACTIVE_UNIFORMS 0x8B86 +#define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87 +#define GL_SHADER_SOURCE_LENGTH 0x8B88 +#define GL_ACTIVE_ATTRIBUTES 0x8B89 +#define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A +#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B +#define GL_SHADING_LANGUAGE_VERSION 0x8B8C +#define GL_CURRENT_PROGRAM 0x8B8D +#define GL_POINT_SPRITE_COORD_ORIGIN 0x8CA0 +#define GL_LOWER_LEFT 0x8CA1 +#define GL_UPPER_LEFT 0x8CA2 +#define GL_STENCIL_BACK_REF 0x8CA3 +#define GL_STENCIL_BACK_VALUE_MASK 0x8CA4 +#define GL_STENCIL_BACK_WRITEMASK 0x8CA5 +#define GL_VERTEX_PROGRAM_TWO_SIDE 0x8643 +#define GL_POINT_SPRITE 0x8861 +#define GL_COORD_REPLACE 0x8862 +#define GL_MAX_TEXTURE_COORDS 0x8871 /* GL_EXT_framebuffer_object */ -#define GL_INVALID_FRAMEBUFFER_OPERATION_EXT 0x0506 -#define GL_MAX_RENDERBUFFER_SIZE_EXT 0x84E8 -#define GL_FRAMEBUFFER_BINDING_EXT 0x8CA6 -#define GL_RENDERBUFFER_BINDING_EXT 0x8CA7 -#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT 0x8CD0 -#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT 0x8CD1 -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT 0x8CD2 + +#define GL_INVALID_FRAMEBUFFER_OPERATION_EXT 0x0506 +#define GL_MAX_RENDERBUFFER_SIZE_EXT 0x84E8 +#define GL_FRAMEBUFFER_BINDING_EXT 0x8CA6 +#define GL_RENDERBUFFER_BINDING_EXT 0x8CA7 +#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT 0x8CD0 +#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT 0x8CD1 +#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT 0x8CD2 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT 0x8CD3 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT 0x8CD4 -#define GL_FRAMEBUFFER_COMPLETE_EXT 0x8CD5 -#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT 0x8CD6 +#define GL_FRAMEBUFFER_COMPLETE_EXT 0x8CD5 +#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT 0x8CD6 #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT 0x8CD7 -#define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT 0x8CD9 -#define GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT 0x8CDA -#define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT 0x8CDB -#define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT 0x8CDC -#define GL_FRAMEBUFFER_UNSUPPORTED_EXT 0x8CDD -#define GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF -#define GL_COLOR_ATTACHMENT0_EXT 0x8CE0 -#define GL_COLOR_ATTACHMENT1_EXT 0x8CE1 -#define GL_COLOR_ATTACHMENT2_EXT 0x8CE2 -#define GL_COLOR_ATTACHMENT3_EXT 0x8CE3 -#define GL_COLOR_ATTACHMENT4_EXT 0x8CE4 -#define GL_COLOR_ATTACHMENT5_EXT 0x8CE5 -#define GL_COLOR_ATTACHMENT6_EXT 0x8CE6 -#define GL_COLOR_ATTACHMENT7_EXT 0x8CE7 -#define GL_COLOR_ATTACHMENT8_EXT 0x8CE8 -#define GL_COLOR_ATTACHMENT9_EXT 0x8CE9 -#define GL_COLOR_ATTACHMENT10_EXT 0x8CEA -#define GL_COLOR_ATTACHMENT11_EXT 0x8CEB -#define GL_COLOR_ATTACHMENT12_EXT 0x8CEC -#define GL_COLOR_ATTACHMENT13_EXT 0x8CED -#define GL_COLOR_ATTACHMENT14_EXT 0x8CEE -#define GL_COLOR_ATTACHMENT15_EXT 0x8CEF -#define GL_DEPTH_ATTACHMENT_EXT 0x8D00 -#define GL_STENCIL_ATTACHMENT_EXT 0x8D20 -#define GL_FRAMEBUFFER_EXT 0x8D40 -#define GL_RENDERBUFFER_EXT 0x8D41 -#define GL_RENDERBUFFER_WIDTH_EXT 0x8D42 -#define GL_RENDERBUFFER_HEIGHT_EXT 0x8D43 -#define GL_RENDERBUFFER_INTERNAL_FORMAT_EXT 0x8D44 -#define GL_STENCIL_INDEX1_EXT 0x8D46 -#define GL_STENCIL_INDEX4_EXT 0x8D47 -#define GL_STENCIL_INDEX8_EXT 0x8D48 -#define GL_STENCIL_INDEX16_EXT 0x8D49 -#define GL_RENDERBUFFER_RED_SIZE_EXT 0x8D50 -#define GL_RENDERBUFFER_GREEN_SIZE_EXT 0x8D51 -#define GL_RENDERBUFFER_BLUE_SIZE_EXT 0x8D52 -#define GL_RENDERBUFFER_ALPHA_SIZE_EXT 0x8D53 -#define GL_RENDERBUFFER_DEPTH_SIZE_EXT 0x8D54 -#define GL_RENDERBUFFER_STENCIL_SIZE_EXT 0x8D55 - -/* GL_GREMEDY_string_marker */ - -/* GL_EXT_packed_depth_stencil */ -#define GL_DEPTH_STENCIL_EXT 0x84F9 -#define GL_UNSIGNED_INT_24_8_EXT 0x84FA -#define GL_DEPTH24_STENCIL8_EXT 0x88F0 -#define GL_TEXTURE_STENCIL_SIZE_EXT 0x88F1 - -/* GL_EXT_stencil_clear_tag */ -#define GL_STENCIL_TAG_BITS_EXT 0x88F2 -#define GL_STENCIL_CLEAR_TAG_VALUE_EXT 0x88F3 - -/* GL_EXT_texture_sRGB */ -#define GL_SRGB_EXT 0x8C40 -#define GL_SRGB8_EXT 0x8C41 -#define GL_SRGB_ALPHA_EXT 0x8C42 -#define GL_SRGB8_ALPHA8_EXT 0x8C43 -#define GL_SLUMINANCE_ALPHA_EXT 0x8C44 -#define GL_SLUMINANCE8_ALPHA8_EXT 0x8C45 -#define GL_SLUMINANCE_EXT 0x8C46 -#define GL_SLUMINANCE8_EXT 0x8C47 -#define GL_COMPRESSED_SRGB_EXT 0x8C48 -#define GL_COMPRESSED_SRGB_ALPHA_EXT 0x8C49 -#define GL_COMPRESSED_SLUMINANCE_EXT 0x8C4A -#define GL_COMPRESSED_SLUMINANCE_ALPHA_EXT 0x8C4B -#define GL_COMPRESSED_SRGB_S3TC_DXT1_EXT 0x8C4C -#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT 0x8C4D -#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT 0x8C4E -#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 0x8C4F - -/* GL_EXT_framebuffer_blit */ -#define GL_READ_FRAMEBUFFER_EXT 0x8CA8 -#define GL_DRAW_FRAMEBUFFER_EXT 0x8CA9 -#define GL_DRAW_FRAMEBUFFER_BINDING_EXT 0x8CA6 -#define GL_READ_FRAMEBUFFER_BINDING_EXT 0x8CAA - -/* GL_EXT_framebuffer_multisample */ -#define GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB -#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56 -#define GL_MAX_SAMPLES_EXT 0x8D57 - -/* GL_MESAX_texture_stack */ -#define GL_TEXTURE_1D_STACK_MESAX 0x8759 -#define GL_TEXTURE_2D_STACK_MESAX 0x875A -#define GL_PROXY_TEXTURE_1D_STACK_MESAX 0x875B -#define GL_PROXY_TEXTURE_2D_STACK_MESAX 0x875C -#define GL_TEXTURE_1D_STACK_BINDING_MESAX 0x875D -#define GL_TEXTURE_2D_STACK_BINDING_MESAX 0x875E - -/* GL_EXT_timer_query */ -#define GL_TIME_ELAPSED_EXT 0x88BF - -/* GL_EXT_gpu_program_parameters */ - -/* GL_APPLE_flush_buffer_range */ -#define GL_BUFFER_SERIALIZED_MODIFY_APPLE 0x8A12 -#define GL_BUFFER_FLUSHING_UNMAP_APPLE 0x8A13 - -/* GL_NV_gpu_program4 */ -#define GL_MIN_PROGRAM_TEXEL_OFFSET_NV 0x8904 -#define GL_MAX_PROGRAM_TEXEL_OFFSET_NV 0x8905 -#define GL_PROGRAM_ATTRIB_COMPONENTS_NV 0x8906 -#define GL_PROGRAM_RESULT_COMPONENTS_NV 0x8907 -#define GL_MAX_PROGRAM_ATTRIB_COMPONENTS_NV 0x8908 -#define GL_MAX_PROGRAM_RESULT_COMPONENTS_NV 0x8909 -#define GL_MAX_PROGRAM_GENERIC_ATTRIBS_NV 0x8DA5 -#define GL_MAX_PROGRAM_GENERIC_RESULTS_NV 0x8DA6 - -/* GL_NV_geometry_program4 */ -#define GL_LINES_ADJACENCY_EXT 0x000A -#define GL_LINE_STRIP_ADJACENCY_EXT 0x000B -#define GL_TRIANGLES_ADJACENCY_EXT 0x000C -#define GL_TRIANGLE_STRIP_ADJACENCY_EXT 0x000D -#define GL_GEOMETRY_PROGRAM_NV 0x8C26 -#define GL_MAX_PROGRAM_OUTPUT_VERTICES_NV 0x8C27 -#define GL_MAX_PROGRAM_TOTAL_OUTPUT_COMPONENTS_NV 0x8C28 -#define GL_GEOMETRY_VERTICES_OUT_EXT 0x8DDA -#define GL_GEOMETRY_INPUT_TYPE_EXT 0x8DDB -#define GL_GEOMETRY_OUTPUT_TYPE_EXT 0x8DDC -#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT 0x8C29 -#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT 0x8DA7 -#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT 0x8DA8 -#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT 0x8DA9 -#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT 0x8CD4 -#define GL_PROGRAM_POINT_SIZE_EXT 0x8642 - -/* GL_EXT_geometry_shader4 */ -#define GL_GEOMETRY_SHADER_EXT 0x8DD9 -#define GL_MAX_GEOMETRY_VARYING_COMPONENTS_EXT 0x8DDD -#define GL_MAX_VERTEX_VARYING_COMPONENTS_EXT 0x8DDE -#define GL_MAX_VARYING_COMPONENTS_EXT 0x8B4B -#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8DDF -#define GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT 0x8DE0 -#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT 0x8DE1 - -/* GL_NV_vertex_program4 */ -#define GL_VERTEX_ATTRIB_ARRAY_INTEGER_NV 0x88FD - -/* GL_EXT_gpu_shader4 */ -#define GL_SAMPLER_1D_ARRAY_EXT 0x8DC0 -#define GL_SAMPLER_2D_ARRAY_EXT 0x8DC1 -#define GL_SAMPLER_BUFFER_EXT 0x8DC2 -#define GL_SAMPLER_1D_ARRAY_SHADOW_EXT 0x8DC3 -#define GL_SAMPLER_2D_ARRAY_SHADOW_EXT 0x8DC4 -#define GL_SAMPLER_CUBE_SHADOW_EXT 0x8DC5 -#define GL_UNSIGNED_INT_VEC2_EXT 0x8DC6 -#define GL_UNSIGNED_INT_VEC3_EXT 0x8DC7 -#define GL_UNSIGNED_INT_VEC4_EXT 0x8DC8 -#define GL_INT_SAMPLER_1D_EXT 0x8DC9 -#define GL_INT_SAMPLER_2D_EXT 0x8DCA -#define GL_INT_SAMPLER_3D_EXT 0x8DCB -#define GL_INT_SAMPLER_CUBE_EXT 0x8DCC -#define GL_INT_SAMPLER_2D_RECT_EXT 0x8DCD -#define GL_INT_SAMPLER_1D_ARRAY_EXT 0x8DCE -#define GL_INT_SAMPLER_2D_ARRAY_EXT 0x8DCF -#define GL_INT_SAMPLER_BUFFER_EXT 0x8DD0 -#define GL_UNSIGNED_INT_SAMPLER_1D_EXT 0x8DD1 -#define GL_UNSIGNED_INT_SAMPLER_2D_EXT 0x8DD2 -#define GL_UNSIGNED_INT_SAMPLER_3D_EXT 0x8DD3 -#define GL_UNSIGNED_INT_SAMPLER_CUBE_EXT 0x8DD4 -#define GL_UNSIGNED_INT_SAMPLER_2D_RECT_EXT 0x8DD5 -#define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY_EXT 0x8DD6 -#define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY_EXT 0x8DD7 -#define GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT 0x8DD8 - -/* GL_EXT_draw_instanced */ - -/* GL_EXT_packed_float */ -#define GL_R11F_G11F_B10F_EXT 0x8C3A -#define GL_UNSIGNED_INT_10F_11F_11F_REV_EXT 0x8C3B -#define GL_RGBA_SIGNED_COMPONENTS_EXT 0x8C3C - -/* GL_EXT_texture_array */ -#define GL_TEXTURE_1D_ARRAY_EXT 0x8C18 -#define GL_PROXY_TEXTURE_1D_ARRAY_EXT 0x8C19 -#define GL_TEXTURE_2D_ARRAY_EXT 0x8C1A -#define GL_PROXY_TEXTURE_2D_ARRAY_EXT 0x8C1B -#define GL_TEXTURE_BINDING_1D_ARRAY_EXT 0x8C1C -#define GL_TEXTURE_BINDING_2D_ARRAY_EXT 0x8C1D -#define GL_MAX_ARRAY_TEXTURE_LAYERS_EXT 0x88FF -#define GL_COMPARE_REF_DEPTH_TO_TEXTURE_EXT 0x884E - -/* GL_EXT_texture_buffer_object */ -#define GL_TEXTURE_BUFFER_EXT 0x8C2A -#define GL_MAX_TEXTURE_BUFFER_SIZE_EXT 0x8C2B -#define GL_TEXTURE_BINDING_BUFFER_EXT 0x8C2C -#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT 0x8C2D -#define GL_TEXTURE_BUFFER_FORMAT_EXT 0x8C2E - -/* GL_EXT_texture_compression_latc */ -#define GL_COMPRESSED_LUMINANCE_LATC1_EXT 0x8C70 -#define GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT 0x8C71 -#define GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT 0x8C72 -#define GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT 0x8C73 - -/* GL_EXT_texture_compression_rgtc */ -#define GL_COMPRESSED_RED_RGTC1_EXT 0x8DBB -#define GL_COMPRESSED_SIGNED_RED_RGTC1_EXT 0x8DBC -#define GL_COMPRESSED_RED_GREEN_RGTC2_EXT 0x8DBD -#define GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT 0x8DBE - -/* GL_EXT_texture_shared_exponent */ -#define GL_RGB9_E5_EXT 0x8C3D -#define GL_UNSIGNED_INT_5_9_9_9_REV_EXT 0x8C3E -#define GL_TEXTURE_SHARED_SIZE_EXT 0x8C3F - -/* GL_NV_depth_buffer_float */ -#define GL_DEPTH_COMPONENT32F_NV 0x8DAB -#define GL_DEPTH32F_STENCIL8_NV 0x8DAC -#define GL_FLOAT_32_UNSIGNED_INT_24_8_REV_NV 0x8DAD -#define GL_DEPTH_BUFFER_FLOAT_MODE_NV 0x8DAF - -/* GL_NV_fragment_program4 */ - -/* GL_NV_framebuffer_multisample_coverage */ -#define GL_RENDERBUFFER_COVERAGE_SAMPLES_NV 0x8CAB -#define GL_RENDERBUFFER_COLOR_SAMPLES_NV 0x8E10 -#define GL_MAX_MULTISAMPLE_COVERAGE_MODES_NV 0x8E11 -#define GL_MULTISAMPLE_COVERAGE_MODES_NV 0x8E12 - -/* GL_EXT_framebuffer_sRGB */ -#define GL_FRAMEBUFFER_SRGB_EXT 0x8DB9 -#define GL_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x8DBA - -/* GL_NV_geometry_shader4 */ - -/* GL_NV_parameter_buffer_object */ -#define GL_MAX_PROGRAM_PARAMETER_BUFFER_BINDINGS_NV 0x8DA0 -#define GL_MAX_PROGRAM_PARAMETER_BUFFER_SIZE_NV 0x8DA1 -#define GL_VERTEX_PROGRAM_PARAMETER_BUFFER_NV 0x8DA2 -#define GL_GEOMETRY_PROGRAM_PARAMETER_BUFFER_NV 0x8DA3 -#define GL_FRAGMENT_PROGRAM_PARAMETER_BUFFER_NV 0x8DA4 - -/* GL_EXT_draw_buffers2 */ - -/* GL_NV_transform_feedback */ -#define GL_BACK_PRIMARY_COLOR_NV 0x8C77 -#define GL_BACK_SECONDARY_COLOR_NV 0x8C78 -#define GL_TEXTURE_COORD_NV 0x8C79 -#define GL_CLIP_DISTANCE_NV 0x8C7A -#define GL_VERTEX_ID_NV 0x8C7B -#define GL_PRIMITIVE_ID_NV 0x8C7C -#define GL_GENERIC_ATTRIB_NV 0x8C7D -#define GL_TRANSFORM_FEEDBACK_ATTRIBS_NV 0x8C7E -#define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_NV 0x8C7F -#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_NV 0x8C80 -#define GL_ACTIVE_VARYINGS_NV 0x8C81 -#define GL_ACTIVE_VARYING_MAX_LENGTH_NV 0x8C82 -#define GL_TRANSFORM_FEEDBACK_VARYINGS_NV 0x8C83 -#define GL_TRANSFORM_FEEDBACK_BUFFER_START_NV 0x8C84 -#define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_NV 0x8C85 -#define GL_TRANSFORM_FEEDBACK_RECORD_NV 0x8C86 -#define GL_PRIMITIVES_GENERATED_NV 0x8C87 -#define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_NV 0x8C88 -#define GL_RASTERIZER_DISCARD_NV 0x8C89 -#define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_NV 0x8C8A -#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_NV 0x8C8B -#define GL_INTERLEAVED_ATTRIBS_NV 0x8C8C -#define GL_SEPARATE_ATTRIBS_NV 0x8C8D -#define GL_TRANSFORM_FEEDBACK_BUFFER_NV 0x8C8E -#define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_NV 0x8C8F -#define GL_LAYER_NV 0x8DAA -#define GL_NEXT_BUFFER_NV -2 -#define GL_SKIP_COMPONENTS4_NV -3 -#define GL_SKIP_COMPONENTS3_NV -4 -#define GL_SKIP_COMPONENTS2_NV -5 -#define GL_SKIP_COMPONENTS1_NV -6 +#define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT 0x8CD9 +#define GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT 0x8CDA +#define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT 0x8CDB +#define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT 0x8CDC +#define GL_FRAMEBUFFER_UNSUPPORTED_EXT 0x8CDD +#define GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF +#define GL_COLOR_ATTACHMENT0_EXT 0x8CE0 +#define GL_COLOR_ATTACHMENT1_EXT 0x8CE1 +#define GL_COLOR_ATTACHMENT2_EXT 0x8CE2 +#define GL_COLOR_ATTACHMENT3_EXT 0x8CE3 +#define GL_COLOR_ATTACHMENT4_EXT 0x8CE4 +#define GL_COLOR_ATTACHMENT5_EXT 0x8CE5 +#define GL_COLOR_ATTACHMENT6_EXT 0x8CE6 +#define GL_COLOR_ATTACHMENT7_EXT 0x8CE7 +#define GL_COLOR_ATTACHMENT8_EXT 0x8CE8 +#define GL_COLOR_ATTACHMENT9_EXT 0x8CE9 +#define GL_COLOR_ATTACHMENT10_EXT 0x8CEA +#define GL_COLOR_ATTACHMENT11_EXT 0x8CEB +#define GL_COLOR_ATTACHMENT12_EXT 0x8CEC +#define GL_COLOR_ATTACHMENT13_EXT 0x8CED +#define GL_COLOR_ATTACHMENT14_EXT 0x8CEE +#define GL_COLOR_ATTACHMENT15_EXT 0x8CEF +#define GL_DEPTH_ATTACHMENT_EXT 0x8D00 +#define GL_STENCIL_ATTACHMENT_EXT 0x8D20 +#define GL_FRAMEBUFFER_EXT 0x8D40 +#define GL_RENDERBUFFER_EXT 0x8D41 +#define GL_RENDERBUFFER_WIDTH_EXT 0x8D42 +#define GL_RENDERBUFFER_HEIGHT_EXT 0x8D43 +#define GL_RENDERBUFFER_INTERNAL_FORMAT_EXT 0x8D44 +#define GL_STENCIL_INDEX1_EXT 0x8D46 +#define GL_STENCIL_INDEX4_EXT 0x8D47 +#define GL_STENCIL_INDEX8_EXT 0x8D48 +#define GL_STENCIL_INDEX16_EXT 0x8D49 +#define GL_RENDERBUFFER_RED_SIZE_EXT 0x8D50 +#define GL_RENDERBUFFER_GREEN_SIZE_EXT 0x8D51 +#define GL_RENDERBUFFER_BLUE_SIZE_EXT 0x8D52 +#define GL_RENDERBUFFER_ALPHA_SIZE_EXT 0x8D53 +#define GL_RENDERBUFFER_DEPTH_SIZE_EXT 0x8D54 +#define GL_RENDERBUFFER_STENCIL_SIZE_EXT 0x8D55 -/* GL_EXT_bindable_uniform */ -#define GL_MAX_VERTEX_BINDABLE_UNIFORMS_EXT 0x8DE2 -#define GL_MAX_FRAGMENT_BINDABLE_UNIFORMS_EXT 0x8DE3 -#define GL_MAX_GEOMETRY_BINDABLE_UNIFORMS_EXT 0x8DE4 -#define GL_MAX_BINDABLE_UNIFORM_SIZE_EXT 0x8DED -#define GL_UNIFORM_BUFFER_EXT 0x8DEE -#define GL_UNIFORM_BUFFER_BINDING_EXT 0x8DEF - -/* GL_EXT_texture_integer */ -#define GL_RGBA32UI_EXT 0x8D70 -#define GL_RGB32UI_EXT 0x8D71 -#define GL_ALPHA32UI_EXT 0x8D72 -#define GL_INTENSITY32UI_EXT 0x8D73 -#define GL_LUMINANCE32UI_EXT 0x8D74 -#define GL_LUMINANCE_ALPHA32UI_EXT 0x8D75 -#define GL_RGBA16UI_EXT 0x8D76 -#define GL_RGB16UI_EXT 0x8D77 -#define GL_ALPHA16UI_EXT 0x8D78 -#define GL_INTENSITY16UI_EXT 0x8D79 -#define GL_LUMINANCE16UI_EXT 0x8D7A -#define GL_LUMINANCE_ALPHA16UI_EXT 0x8D7B -#define GL_RGBA8UI_EXT 0x8D7C -#define GL_RGB8UI_EXT 0x8D7D -#define GL_ALPHA8UI_EXT 0x8D7E -#define GL_INTENSITY8UI_EXT 0x8D7F -#define GL_LUMINANCE8UI_EXT 0x8D80 -#define GL_LUMINANCE_ALPHA8UI_EXT 0x8D81 -#define GL_RGBA32I_EXT 0x8D82 -#define GL_RGB32I_EXT 0x8D83 -#define GL_ALPHA32I_EXT 0x8D84 -#define GL_INTENSITY32I_EXT 0x8D85 -#define GL_LUMINANCE32I_EXT 0x8D86 -#define GL_LUMINANCE_ALPHA32I_EXT 0x8D87 -#define GL_RGBA16I_EXT 0x8D88 -#define GL_RGB16I_EXT 0x8D89 -#define GL_ALPHA16I_EXT 0x8D8A -#define GL_INTENSITY16I_EXT 0x8D8B -#define GL_LUMINANCE16I_EXT 0x8D8C -#define GL_LUMINANCE_ALPHA16I_EXT 0x8D8D -#define GL_RGBA8I_EXT 0x8D8E -#define GL_RGB8I_EXT 0x8D8F -#define GL_ALPHA8I_EXT 0x8D90 -#define GL_INTENSITY8I_EXT 0x8D91 -#define GL_LUMINANCE8I_EXT 0x8D92 -#define GL_LUMINANCE_ALPHA8I_EXT 0x8D93 -#define GL_RED_INTEGER_EXT 0x8D94 -#define GL_GREEN_INTEGER_EXT 0x8D95 -#define GL_BLUE_INTEGER_EXT 0x8D96 -#define GL_ALPHA_INTEGER_EXT 0x8D97 -#define GL_RGB_INTEGER_EXT 0x8D98 -#define GL_RGBA_INTEGER_EXT 0x8D99 -#define GL_BGR_INTEGER_EXT 0x8D9A -#define GL_BGRA_INTEGER_EXT 0x8D9B -#define GL_LUMINANCE_INTEGER_EXT 0x8D9C -#define GL_LUMINANCE_ALPHA_INTEGER_EXT 0x8D9D -#define GL_RGBA_INTEGER_MODE_EXT 0x8D9E +/* GL_ARB_texture_float */ -/* GL_GREMEDY_frame_terminator */ +#define GL_TEXTURE_RED_TYPE_ARB 0x8C10 +#define GL_TEXTURE_GREEN_TYPE_ARB 0x8C11 +#define GL_TEXTURE_BLUE_TYPE_ARB 0x8C12 +#define GL_TEXTURE_ALPHA_TYPE_ARB 0x8C13 +#define GL_TEXTURE_LUMINANCE_TYPE_ARB 0x8C14 +#define GL_TEXTURE_INTENSITY_TYPE_ARB 0x8C15 +#define GL_TEXTURE_DEPTH_TYPE_ARB 0x8C16 +#define GL_UNSIGNED_NORMALIZED_ARB 0x8C17 +#define GL_RGBA32F_ARB 0x8814 +#define GL_RGB32F_ARB 0x8815 +#define GL_ALPHA32F_ARB 0x8816 +#define GL_INTENSITY32F_ARB 0x8817 +#define GL_LUMINANCE32F_ARB 0x8818 +#define GL_LUMINANCE_ALPHA32F_ARB 0x8819 +#define GL_RGBA16F_ARB 0x881A +#define GL_RGB16F_ARB 0x881B +#define GL_ALPHA16F_ARB 0x881C +#define GL_INTENSITY16F_ARB 0x881D +#define GL_LUMINANCE16F_ARB 0x881E +#define GL_LUMINANCE_ALPHA16F_ARB 0x881F -/* GL_NV_conditional_render */ -#define GL_QUERY_WAIT_NV 0x8E13 -#define GL_QUERY_NO_WAIT_NV 0x8E14 -#define GL_QUERY_BY_REGION_WAIT_NV 0x8E15 -#define GL_QUERY_BY_REGION_NO_WAIT_NV 0x8E16 +/* GL_ARB_geometry_shader4 */ -/* GL_NV_present_video */ -#define GL_FRAME_NV 0x8E26 -#define GL_FIELDS_NV 0x8E27 -#define GL_CURRENT_TIME_NV 0x8E28 -#define GL_NUM_FILL_STREAMS_NV 0x8E29 -#define GL_PRESENT_TIME_NV 0x8E2A -#define GL_PRESENT_DURATION_NV 0x8E2B +#define GL_LINES_ADJACENCY_ARB 0x000A +#define GL_LINE_STRIP_ADJACENCY_ARB 0x000B +#define GL_TRIANGLES_ADJACENCY_ARB 0x000C +#define GL_TRIANGLE_STRIP_ADJACENCY_ARB 0x000D +#define GL_PROGRAM_POINT_SIZE_ARB 0x8642 +#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB 0x8C29 +#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB 0x8DA7 +#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_ARB 0x8DA8 +#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB 0x8DA9 +#define GL_GEOMETRY_SHADER_ARB 0x8DD9 +#define GL_GEOMETRY_VERTICES_OUT_ARB 0x8DDA +#define GL_GEOMETRY_INPUT_TYPE_ARB 0x8DDB +#define GL_GEOMETRY_OUTPUT_TYPE_ARB 0x8DDC +#define GL_MAX_GEOMETRY_VARYING_COMPONENTS_ARB 0x8DDD +#define GL_MAX_VERTEX_VARYING_COMPONENTS_ARB 0x8DDE +#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB 0x8DDF +#define GL_MAX_GEOMETRY_OUTPUT_VERTICES_ARB 0x8DE0 +#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB 0x8DE1 +#define GL_MAX_VARYING_COMPONENTS 0x8B4B +#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4 /* GL_EXT_transform_feedback */ -#define GL_TRANSFORM_FEEDBACK_BUFFER_EXT 0x8C8E -#define GL_TRANSFORM_FEEDBACK_BUFFER_START_EXT 0x8C84 -#define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_EXT 0x8C85 -#define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_EXT 0x8C8F -#define GL_INTERLEAVED_ATTRIBS_EXT 0x8C8C -#define GL_SEPARATE_ATTRIBS_EXT 0x8C8D -#define GL_PRIMITIVES_GENERATED_EXT 0x8C87 -#define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_EXT 0x8C88 -#define GL_RASTERIZER_DISCARD_EXT 0x8C89 + +#define GL_TRANSFORM_FEEDBACK_BUFFER_EXT 0x8C8E +#define GL_TRANSFORM_FEEDBACK_BUFFER_START_EXT 0x8C84 +#define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_EXT 0x8C85 +#define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_EXT 0x8C8F +#define GL_INTERLEAVED_ATTRIBS_EXT 0x8C8C +#define GL_SEPARATE_ATTRIBS_EXT 0x8C8D +#define GL_PRIMITIVES_GENERATED_EXT 0x8C87 +#define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_EXT 0x8C88 +#define GL_RASTERIZER_DISCARD_EXT 0x8C89 #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_EXT 0x8C8A -#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_EXT 0x8C8B +#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_EXT 0x8C8B #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_EXT 0x8C80 -#define GL_TRANSFORM_FEEDBACK_VARYINGS_EXT 0x8C83 -#define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_EXT 0x8C7F -#define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH_EXT 0x8C76 - -/* GL_EXT_direct_state_access */ -#define GL_PROGRAM_MATRIX_EXT 0x8E2D -#define GL_TRANSPOSE_PROGRAM_MATRIX_EXT 0x8E2E -#define GL_PROGRAM_MATRIX_STACK_DEPTH_EXT 0x8E2F - -/* GL_EXT_vertex_array_bgra */ - -/* GL_EXT_texture_swizzle */ -#define GL_TEXTURE_SWIZZLE_R_EXT 0x8E42 -#define GL_TEXTURE_SWIZZLE_G_EXT 0x8E43 -#define GL_TEXTURE_SWIZZLE_B_EXT 0x8E44 -#define GL_TEXTURE_SWIZZLE_A_EXT 0x8E45 -#define GL_TEXTURE_SWIZZLE_RGBA_EXT 0x8E46 - -/* GL_NV_explicit_multisample */ -#define GL_SAMPLE_POSITION_NV 0x8E50 -#define GL_SAMPLE_MASK_NV 0x8E51 -#define GL_SAMPLE_MASK_VALUE_NV 0x8E52 -#define GL_TEXTURE_BINDING_RENDERBUFFER_NV 0x8E53 -#define GL_TEXTURE_RENDERBUFFER_DATA_STORE_BINDING_NV 0x8E54 -#define GL_TEXTURE_RENDERBUFFER_NV 0x8E55 -#define GL_SAMPLER_RENDERBUFFER_NV 0x8E56 -#define GL_INT_SAMPLER_RENDERBUFFER_NV 0x8E57 -#define GL_UNSIGNED_INT_SAMPLER_RENDERBUFFER_NV 0x8E58 -#define GL_MAX_SAMPLE_MASK_WORDS_NV 0x8E59 - -/* GL_NV_transform_feedback2 */ -#define GL_TRANSFORM_FEEDBACK_NV 0x8E22 -#define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED_NV 0x8E23 -#define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE_NV 0x8E24 -#define GL_TRANSFORM_FEEDBACK_BINDING_NV 0x8E25 - -/* GL_ATI_meminfo */ -#define GL_VBO_FREE_MEMORY_ATI 0x87FB -#define GL_TEXTURE_FREE_MEMORY_ATI 0x87FC -#define GL_RENDERBUFFER_FREE_MEMORY_ATI 0x87FD - -/* GL_AMD_performance_monitor */ -#define GL_COUNTER_TYPE_AMD 0x8BC0 -#define GL_COUNTER_RANGE_AMD 0x8BC1 -#define GL_UNSIGNED_INT64_AMD 0x8BC2 -#define GL_PERCENTAGE_AMD 0x8BC3 -#define GL_PERFMON_RESULT_AVAILABLE_AMD 0x8BC4 -#define GL_PERFMON_RESULT_SIZE_AMD 0x8BC5 -#define GL_PERFMON_RESULT_AMD 0x8BC6 - -/* GL_AMD_texture_texture4 */ - -/* GL_AMD_vertex_shader_tessellator */ -#define GL_SAMPLER_BUFFER_AMD 0x9001 -#define GL_INT_SAMPLER_BUFFER_AMD 0x9002 -#define GL_UNSIGNED_INT_SAMPLER_BUFFER_AMD 0x9003 -#define GL_TESSELLATION_MODE_AMD 0x9004 -#define GL_TESSELLATION_FACTOR_AMD 0x9005 -#define GL_DISCRETE_AMD 0x9006 -#define GL_CONTINUOUS_AMD 0x9007 - -/* GL_EXT_provoking_vertex */ -#define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT 0x8E4C -#define GL_FIRST_VERTEX_CONVENTION_EXT 0x8E4D -#define GL_LAST_VERTEX_CONVENTION_EXT 0x8E4E -#define GL_PROVOKING_VERTEX_EXT 0x8E4F - -/* GL_EXT_texture_snorm */ -#define GL_ALPHA_SNORM 0x9010 -#define GL_LUMINANCE_SNORM 0x9011 -#define GL_LUMINANCE_ALPHA_SNORM 0x9012 -#define GL_INTENSITY_SNORM 0x9013 -#define GL_ALPHA8_SNORM 0x9014 -#define GL_LUMINANCE8_SNORM 0x9015 -#define GL_LUMINANCE8_ALPHA8_SNORM 0x9016 -#define GL_INTENSITY8_SNORM 0x9017 -#define GL_ALPHA16_SNORM 0x9018 -#define GL_LUMINANCE16_SNORM 0x9019 -#define GL_LUMINANCE16_ALPHA16_SNORM 0x901A -#define GL_INTENSITY16_SNORM 0x901B - -/* GL_AMD_draw_buffers_blend */ - -/* GL_APPLE_texture_range */ -#define GL_TEXTURE_RANGE_LENGTH_APPLE 0x85B7 -#define GL_TEXTURE_RANGE_POINTER_APPLE 0x85B8 -#define GL_TEXTURE_STORAGE_HINT_APPLE 0x85BC -#define GL_STORAGE_PRIVATE_APPLE 0x85BD - -/* GL_APPLE_float_pixels */ -#define GL_HALF_APPLE 0x140B -#define GL_RGBA_FLOAT32_APPLE 0x8814 -#define GL_RGB_FLOAT32_APPLE 0x8815 -#define GL_ALPHA_FLOAT32_APPLE 0x8816 -#define GL_INTENSITY_FLOAT32_APPLE 0x8817 -#define GL_LUMINANCE_FLOAT32_APPLE 0x8818 -#define GL_LUMINANCE_ALPHA_FLOAT32_APPLE 0x8819 -#define GL_RGBA_FLOAT16_APPLE 0x881A -#define GL_RGB_FLOAT16_APPLE 0x881B -#define GL_ALPHA_FLOAT16_APPLE 0x881C -#define GL_INTENSITY_FLOAT16_APPLE 0x881D -#define GL_LUMINANCE_FLOAT16_APPLE 0x881E -#define GL_LUMINANCE_ALPHA_FLOAT16_APPLE 0x881F -#define GL_COLOR_FLOAT_APPLE 0x8A0F - -/* GL_APPLE_vertex_program_evaluators */ -#define GL_VERTEX_ATTRIB_MAP1_APPLE 0x8A00 -#define GL_VERTEX_ATTRIB_MAP2_APPLE 0x8A01 -#define GL_VERTEX_ATTRIB_MAP1_SIZE_APPLE 0x8A02 -#define GL_VERTEX_ATTRIB_MAP1_COEFF_APPLE 0x8A03 -#define GL_VERTEX_ATTRIB_MAP1_ORDER_APPLE 0x8A04 -#define GL_VERTEX_ATTRIB_MAP1_DOMAIN_APPLE 0x8A05 -#define GL_VERTEX_ATTRIB_MAP2_SIZE_APPLE 0x8A06 -#define GL_VERTEX_ATTRIB_MAP2_COEFF_APPLE 0x8A07 -#define GL_VERTEX_ATTRIB_MAP2_ORDER_APPLE 0x8A08 -#define GL_VERTEX_ATTRIB_MAP2_DOMAIN_APPLE 0x8A09 - -/* GL_APPLE_aux_depth_stencil */ -#define GL_AUX_DEPTH_STENCIL_APPLE 0x8A14 - -/* GL_APPLE_object_purgeable */ -#define GL_BUFFER_OBJECT_APPLE 0x85B3 -#define GL_RELEASED_APPLE 0x8A19 -#define GL_VOLATILE_APPLE 0x8A1A -#define GL_RETAINED_APPLE 0x8A1B -#define GL_UNDEFINED_APPLE 0x8A1C -#define GL_PURGEABLE_APPLE 0x8A1D - -/* GL_APPLE_row_bytes */ -#define GL_PACK_ROW_BYTES_APPLE 0x8A15 -#define GL_UNPACK_ROW_BYTES_APPLE 0x8A16 - -/* GL_APPLE_rgb_422 */ -#define GL_RGB_422_APPLE 0x8A1F - -/* GL_NV_video_capture */ -#define GL_VIDEO_BUFFER_NV 0x9020 -#define GL_VIDEO_BUFFER_BINDING_NV 0x9021 -#define GL_FIELD_UPPER_NV 0x9022 -#define GL_FIELD_LOWER_NV 0x9023 -#define GL_NUM_VIDEO_CAPTURE_STREAMS_NV 0x9024 -#define GL_NEXT_VIDEO_CAPTURE_BUFFER_STATUS_NV 0x9025 -#define GL_VIDEO_CAPTURE_TO_422_SUPPORTED_NV 0x9026 -#define GL_LAST_VIDEO_CAPTURE_STATUS_NV 0x9027 -#define GL_VIDEO_BUFFER_PITCH_NV 0x9028 -#define GL_VIDEO_COLOR_CONVERSION_MATRIX_NV 0x9029 -#define GL_VIDEO_COLOR_CONVERSION_MAX_NV 0x902A -#define GL_VIDEO_COLOR_CONVERSION_MIN_NV 0x902B -#define GL_VIDEO_COLOR_CONVERSION_OFFSET_NV 0x902C -#define GL_VIDEO_BUFFER_INTERNAL_FORMAT_NV 0x902D -#define GL_PARTIAL_SUCCESS_NV 0x902E -#define GL_SUCCESS_NV 0x902F -#define GL_FAILURE_NV 0x9030 -#define GL_YCBYCR8_422_NV 0x9031 -#define GL_YCBAYCR8A_4224_NV 0x9032 -#define GL_Z6Y10Z6CB10Z6Y10Z6CR10_422_NV 0x9033 -#define GL_Z6Y10Z6CB10Z6A10Z6Y10Z6CR10Z6A10_4224_NV 0x9034 -#define GL_Z4Y12Z4CB12Z4Y12Z4CR12_422_NV 0x9035 -#define GL_Z4Y12Z4CB12Z4A12Z4Y12Z4CR12Z4A12_4224_NV 0x9036 -#define GL_Z4Y12Z4CB12Z4CR12_444_NV 0x9037 -#define GL_VIDEO_CAPTURE_FRAME_WIDTH_NV 0x9038 -#define GL_VIDEO_CAPTURE_FRAME_HEIGHT_NV 0x9039 -#define GL_VIDEO_CAPTURE_FIELD_UPPER_HEIGHT_NV 0x903A -#define GL_VIDEO_CAPTURE_FIELD_LOWER_HEIGHT_NV 0x903B -#define GL_VIDEO_CAPTURE_SURFACE_ORIGIN_NV 0x903C - -/* GL_NV_copy_image */ - -/* GL_EXT_separate_shader_objects */ -#define GL_ACTIVE_PROGRAM_EXT 0x8B8D - -/* GL_NV_parameter_buffer_object2 */ - -/* GL_NV_shader_buffer_load */ -#define GL_BUFFER_GPU_ADDRESS_NV 0x8F1D -#define GL_GPU_ADDRESS_NV 0x8F34 -#define GL_MAX_SHADER_BUFFER_ADDRESS_NV 0x8F35 - -/* GL_NV_vertex_buffer_unified_memory */ -#define GL_VERTEX_ATTRIB_ARRAY_UNIFIED_NV 0x8F1E -#define GL_ELEMENT_ARRAY_UNIFIED_NV 0x8F1F -#define GL_VERTEX_ATTRIB_ARRAY_ADDRESS_NV 0x8F20 -#define GL_VERTEX_ARRAY_ADDRESS_NV 0x8F21 -#define GL_NORMAL_ARRAY_ADDRESS_NV 0x8F22 -#define GL_COLOR_ARRAY_ADDRESS_NV 0x8F23 -#define GL_INDEX_ARRAY_ADDRESS_NV 0x8F24 -#define GL_TEXTURE_COORD_ARRAY_ADDRESS_NV 0x8F25 -#define GL_EDGE_FLAG_ARRAY_ADDRESS_NV 0x8F26 -#define GL_SECONDARY_COLOR_ARRAY_ADDRESS_NV 0x8F27 -#define GL_FOG_COORD_ARRAY_ADDRESS_NV 0x8F28 -#define GL_ELEMENT_ARRAY_ADDRESS_NV 0x8F29 -#define GL_VERTEX_ATTRIB_ARRAY_LENGTH_NV 0x8F2A -#define GL_VERTEX_ARRAY_LENGTH_NV 0x8F2B -#define GL_NORMAL_ARRAY_LENGTH_NV 0x8F2C -#define GL_COLOR_ARRAY_LENGTH_NV 0x8F2D -#define GL_INDEX_ARRAY_LENGTH_NV 0x8F2E -#define GL_TEXTURE_COORD_ARRAY_LENGTH_NV 0x8F2F -#define GL_EDGE_FLAG_ARRAY_LENGTH_NV 0x8F30 -#define GL_SECONDARY_COLOR_ARRAY_LENGTH_NV 0x8F31 -#define GL_FOG_COORD_ARRAY_LENGTH_NV 0x8F32 -#define GL_ELEMENT_ARRAY_LENGTH_NV 0x8F33 -#define GL_DRAW_INDIRECT_UNIFIED_NV 0x8F40 -#define GL_DRAW_INDIRECT_ADDRESS_NV 0x8F41 -#define GL_DRAW_INDIRECT_LENGTH_NV 0x8F42 - -/* GL_NV_texture_barrier */ - -/* GL_AMD_shader_stencil_export */ +#define GL_TRANSFORM_FEEDBACK_VARYINGS_EXT 0x8C83 +#define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_EXT 0x8C7F +#define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH_EXT 0x8C76 -/* GL_AMD_seamless_cubemap_per_texture */ - -/* GL_AMD_conservative_depth */ - -/* GL_EXT_shader_image_load_store */ -#define GL_MAX_IMAGE_UNITS_EXT 0x8F38 -#define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS_EXT 0x8F39 -#define GL_IMAGE_BINDING_NAME_EXT 0x8F3A -#define GL_IMAGE_BINDING_LEVEL_EXT 0x8F3B -#define GL_IMAGE_BINDING_LAYERED_EXT 0x8F3C -#define GL_IMAGE_BINDING_LAYER_EXT 0x8F3D -#define GL_IMAGE_BINDING_ACCESS_EXT 0x8F3E -#define GL_IMAGE_1D_EXT 0x904C -#define GL_IMAGE_2D_EXT 0x904D -#define GL_IMAGE_3D_EXT 0x904E -#define GL_IMAGE_2D_RECT_EXT 0x904F -#define GL_IMAGE_CUBE_EXT 0x9050 -#define GL_IMAGE_BUFFER_EXT 0x9051 -#define GL_IMAGE_1D_ARRAY_EXT 0x9052 -#define GL_IMAGE_2D_ARRAY_EXT 0x9053 -#define GL_IMAGE_CUBE_MAP_ARRAY_EXT 0x9054 -#define GL_IMAGE_2D_MULTISAMPLE_EXT 0x9055 -#define GL_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x9056 -#define GL_INT_IMAGE_1D_EXT 0x9057 -#define GL_INT_IMAGE_2D_EXT 0x9058 -#define GL_INT_IMAGE_3D_EXT 0x9059 -#define GL_INT_IMAGE_2D_RECT_EXT 0x905A -#define GL_INT_IMAGE_CUBE_EXT 0x905B -#define GL_INT_IMAGE_BUFFER_EXT 0x905C -#define GL_INT_IMAGE_1D_ARRAY_EXT 0x905D -#define GL_INT_IMAGE_2D_ARRAY_EXT 0x905E -#define GL_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x905F -#define GL_INT_IMAGE_2D_MULTISAMPLE_EXT 0x9060 -#define GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x9061 -#define GL_UNSIGNED_INT_IMAGE_1D_EXT 0x9062 -#define GL_UNSIGNED_INT_IMAGE_2D_EXT 0x9063 -#define GL_UNSIGNED_INT_IMAGE_3D_EXT 0x9064 -#define GL_UNSIGNED_INT_IMAGE_2D_RECT_EXT 0x9065 -#define GL_UNSIGNED_INT_IMAGE_CUBE_EXT 0x9066 -#define GL_UNSIGNED_INT_IMAGE_BUFFER_EXT 0x9067 -#define GL_UNSIGNED_INT_IMAGE_1D_ARRAY_EXT 0x9068 -#define GL_UNSIGNED_INT_IMAGE_2D_ARRAY_EXT 0x9069 -#define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x906A -#define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_EXT 0x906B -#define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x906C -#define GL_MAX_IMAGE_SAMPLES_EXT 0x906D -#define GL_IMAGE_BINDING_FORMAT_EXT 0x906E -#define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT_EXT 0x00000001 -#define GL_ELEMENT_ARRAY_BARRIER_BIT_EXT 0x00000002 -#define GL_UNIFORM_BARRIER_BIT_EXT 0x00000004 -#define GL_TEXTURE_FETCH_BARRIER_BIT_EXT 0x00000008 -#define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT_EXT 0x00000020 -#define GL_COMMAND_BARRIER_BIT_EXT 0x00000040 -#define GL_PIXEL_BUFFER_BARRIER_BIT_EXT 0x00000080 -#define GL_TEXTURE_UPDATE_BARRIER_BIT_EXT 0x00000100 -#define GL_BUFFER_UPDATE_BARRIER_BIT_EXT 0x00000200 -#define GL_FRAMEBUFFER_BARRIER_BIT_EXT 0x00000400 -#define GL_TRANSFORM_FEEDBACK_BARRIER_BIT_EXT 0x00000800 -#define GL_ATOMIC_COUNTER_BARRIER_BIT_EXT 0x00001000 -#define GL_ALL_BARRIER_BITS_EXT 0xFFFFFFFF - -/* GL_EXT_vertex_attrib_64bit */ -#define GL_DOUBLE_VEC2_EXT 0x8FFC -#define GL_DOUBLE_VEC3_EXT 0x8FFD -#define GL_DOUBLE_VEC4_EXT 0x8FFE -#define GL_DOUBLE_MAT2_EXT 0x8F46 -#define GL_DOUBLE_MAT3_EXT 0x8F47 -#define GL_DOUBLE_MAT4_EXT 0x8F48 -#define GL_DOUBLE_MAT2x3_EXT 0x8F49 -#define GL_DOUBLE_MAT2x4_EXT 0x8F4A -#define GL_DOUBLE_MAT3x2_EXT 0x8F4B -#define GL_DOUBLE_MAT3x4_EXT 0x8F4C -#define GL_DOUBLE_MAT4x2_EXT 0x8F4D -#define GL_DOUBLE_MAT4x3_EXT 0x8F4E - -/* GL_NV_gpu_program5 */ -#define GL_MAX_GEOMETRY_PROGRAM_INVOCATIONS_NV 0x8E5A -#define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_NV 0x8E5B -#define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_NV 0x8E5C -#define GL_FRAGMENT_PROGRAM_INTERPOLATION_OFFSET_BITS_NV 0x8E5D -#define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_NV 0x8E5E -#define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_NV 0x8E5F -#define GL_MAX_PROGRAM_SUBROUTINE_PARAMETERS_NV 0x8F44 -#define GL_MAX_PROGRAM_SUBROUTINE_NUM_NV 0x8F45 - -/* GL_NV_gpu_shader5 */ -#define GL_INT64_NV 0x140E -#define GL_UNSIGNED_INT64_NV 0x140F -#define GL_INT8_NV 0x8FE0 -#define GL_INT8_VEC2_NV 0x8FE1 -#define GL_INT8_VEC3_NV 0x8FE2 -#define GL_INT8_VEC4_NV 0x8FE3 -#define GL_INT16_NV 0x8FE4 -#define GL_INT16_VEC2_NV 0x8FE5 -#define GL_INT16_VEC3_NV 0x8FE6 -#define GL_INT16_VEC4_NV 0x8FE7 -#define GL_INT64_VEC2_NV 0x8FE9 -#define GL_INT64_VEC3_NV 0x8FEA -#define GL_INT64_VEC4_NV 0x8FEB -#define GL_UNSIGNED_INT8_NV 0x8FEC -#define GL_UNSIGNED_INT8_VEC2_NV 0x8FED -#define GL_UNSIGNED_INT8_VEC3_NV 0x8FEE -#define GL_UNSIGNED_INT8_VEC4_NV 0x8FEF -#define GL_UNSIGNED_INT16_NV 0x8FF0 -#define GL_UNSIGNED_INT16_VEC2_NV 0x8FF1 -#define GL_UNSIGNED_INT16_VEC3_NV 0x8FF2 -#define GL_UNSIGNED_INT16_VEC4_NV 0x8FF3 -#define GL_UNSIGNED_INT64_VEC2_NV 0x8FF5 -#define GL_UNSIGNED_INT64_VEC3_NV 0x8FF6 -#define GL_UNSIGNED_INT64_VEC4_NV 0x8FF7 -#define GL_FLOAT16_NV 0x8FF8 -#define GL_FLOAT16_VEC2_NV 0x8FF9 -#define GL_FLOAT16_VEC3_NV 0x8FFA -#define GL_FLOAT16_VEC4_NV 0x8FFB - -/* GL_NV_shader_buffer_store */ -#define GL_SHADER_GLOBAL_ACCESS_BARRIER_BIT_NV 0x00000010 - -/* GL_NV_tessellation_program5 */ -#define GL_MAX_PROGRAM_PATCH_ATTRIBS_NV 0x86D8 -#define GL_TESS_CONTROL_PROGRAM_NV 0x891E -#define GL_TESS_EVALUATION_PROGRAM_NV 0x891F -#define GL_TESS_CONTROL_PROGRAM_PARAMETER_BUFFER_NV 0x8C74 -#define GL_TESS_EVALUATION_PROGRAM_PARAMETER_BUFFER_NV 0x8C75 - -/* GL_NV_vertex_attrib_integer_64bit */ - -/* GL_NV_multisample_coverage */ -#define GL_COLOR_SAMPLES_NV 0x8E20 - -/* GL_AMD_name_gen_delete */ -#define GL_DATA_BUFFER_AMD 0x9151 -#define GL_PERFORMANCE_MONITOR_AMD 0x9152 -#define GL_QUERY_OBJECT_AMD 0x9153 -#define GL_VERTEX_ARRAY_OBJECT_AMD 0x9154 -#define GL_SAMPLER_OBJECT_AMD 0x9155 - -/* GL_AMD_debug_output */ -#define GL_MAX_DEBUG_MESSAGE_LENGTH_AMD 0x9143 -#define GL_MAX_DEBUG_LOGGED_MESSAGES_AMD 0x9144 -#define GL_DEBUG_LOGGED_MESSAGES_AMD 0x9145 -#define GL_DEBUG_SEVERITY_HIGH_AMD 0x9146 -#define GL_DEBUG_SEVERITY_MEDIUM_AMD 0x9147 -#define GL_DEBUG_SEVERITY_LOW_AMD 0x9148 -#define GL_DEBUG_CATEGORY_API_ERROR_AMD 0x9149 -#define GL_DEBUG_CATEGORY_WINDOW_SYSTEM_AMD 0x914A -#define GL_DEBUG_CATEGORY_DEPRECATION_AMD 0x914B -#define GL_DEBUG_CATEGORY_UNDEFINED_BEHAVIOR_AMD 0x914C -#define GL_DEBUG_CATEGORY_PERFORMANCE_AMD 0x914D -#define GL_DEBUG_CATEGORY_SHADER_COMPILER_AMD 0x914E -#define GL_DEBUG_CATEGORY_APPLICATION_AMD 0x914F -#define GL_DEBUG_CATEGORY_OTHER_AMD 0x9150 - -/* GL_NV_vdpau_interop */ -#define GL_SURFACE_STATE_NV 0x86EB -#define GL_SURFACE_REGISTERED_NV 0x86FD -#define GL_SURFACE_MAPPED_NV 0x8700 -#define GL_WRITE_DISCARD_NV 0x88BE - -/* GL_AMD_transform_feedback3_lines_triangles */ - -/* GL_AMD_depth_clamp_separate */ -#define GL_DEPTH_CLAMP_NEAR_AMD 0x901E -#define GL_DEPTH_CLAMP_FAR_AMD 0x901F - -/* GL_EXT_texture_sRGB_decode */ -#define GL_TEXTURE_SRGB_DECODE_EXT 0x8A48 -#define GL_DECODE_EXT 0x8A49 -#define GL_SKIP_DECODE_EXT 0x8A4A - -/* GL_NV_texture_multisample */ -#define GL_TEXTURE_COVERAGE_SAMPLES_NV 0x9045 -#define GL_TEXTURE_COLOR_SAMPLES_NV 0x9046 - -/* GL_AMD_blend_minmax_factor */ -#define GL_FACTOR_MIN_AMD 0x901C -#define GL_FACTOR_MAX_AMD 0x901D - -/* GL_AMD_sample_positions */ -#define GL_SUBSAMPLE_DISTANCE_AMD 0x883F - -/* GL_EXT_x11_sync_object */ -#define GL_SYNC_X11_FENCE_EXT 0x90E1 - -/* GL_AMD_multi_draw_indirect */ - -/* GL_EXT_framebuffer_multisample_blit_scaled */ -#define GL_SCALED_RESOLVE_FASTEST_EXT 0x90BA -#define GL_SCALED_RESOLVE_NICEST_EXT 0x90BB - -/* GL_NV_path_rendering */ -#define GL_PATH_FORMAT_SVG_NV 0x9070 -#define GL_PATH_FORMAT_PS_NV 0x9071 -#define GL_STANDARD_FONT_NAME_NV 0x9072 -#define GL_SYSTEM_FONT_NAME_NV 0x9073 -#define GL_FILE_NAME_NV 0x9074 -#define GL_PATH_STROKE_WIDTH_NV 0x9075 -#define GL_PATH_END_CAPS_NV 0x9076 -#define GL_PATH_INITIAL_END_CAP_NV 0x9077 -#define GL_PATH_TERMINAL_END_CAP_NV 0x9078 -#define GL_PATH_JOIN_STYLE_NV 0x9079 -#define GL_PATH_MITER_LIMIT_NV 0x907A -#define GL_PATH_DASH_CAPS_NV 0x907B -#define GL_PATH_INITIAL_DASH_CAP_NV 0x907C -#define GL_PATH_TERMINAL_DASH_CAP_NV 0x907D -#define GL_PATH_DASH_OFFSET_NV 0x907E -#define GL_PATH_CLIENT_LENGTH_NV 0x907F -#define GL_PATH_FILL_MODE_NV 0x9080 -#define GL_PATH_FILL_MASK_NV 0x9081 -#define GL_PATH_FILL_COVER_MODE_NV 0x9082 -#define GL_PATH_STROKE_COVER_MODE_NV 0x9083 -#define GL_PATH_STROKE_MASK_NV 0x9084 -#define GL_COUNT_UP_NV 0x9088 -#define GL_COUNT_DOWN_NV 0x9089 -#define GL_PATH_OBJECT_BOUNDING_BOX_NV 0x908A -#define GL_CONVEX_HULL_NV 0x908B -#define GL_BOUNDING_BOX_NV 0x908D -#define GL_TRANSLATE_X_NV 0x908E -#define GL_TRANSLATE_Y_NV 0x908F -#define GL_TRANSLATE_2D_NV 0x9090 -#define GL_TRANSLATE_3D_NV 0x9091 -#define GL_AFFINE_2D_NV 0x9092 -#define GL_AFFINE_3D_NV 0x9094 -#define GL_TRANSPOSE_AFFINE_2D_NV 0x9096 -#define GL_TRANSPOSE_AFFINE_3D_NV 0x9098 -#define GL_UTF8_NV 0x909A -#define GL_UTF16_NV 0x909B -#define GL_BOUNDING_BOX_OF_BOUNDING_BOXES_NV 0x909C -#define GL_PATH_COMMAND_COUNT_NV 0x909D -#define GL_PATH_COORD_COUNT_NV 0x909E -#define GL_PATH_DASH_ARRAY_COUNT_NV 0x909F -#define GL_PATH_COMPUTED_LENGTH_NV 0x90A0 -#define GL_PATH_FILL_BOUNDING_BOX_NV 0x90A1 -#define GL_PATH_STROKE_BOUNDING_BOX_NV 0x90A2 -#define GL_SQUARE_NV 0x90A3 -#define GL_ROUND_NV 0x90A4 -#define GL_TRIANGULAR_NV 0x90A5 -#define GL_BEVEL_NV 0x90A6 -#define GL_MITER_REVERT_NV 0x90A7 -#define GL_MITER_TRUNCATE_NV 0x90A8 -#define GL_SKIP_MISSING_GLYPH_NV 0x90A9 -#define GL_USE_MISSING_GLYPH_NV 0x90AA -#define GL_PATH_ERROR_POSITION_NV 0x90AB -#define GL_PATH_FOG_GEN_MODE_NV 0x90AC -#define GL_ACCUM_ADJACENT_PAIRS_NV 0x90AD -#define GL_ADJACENT_PAIRS_NV 0x90AE -#define GL_FIRST_TO_REST_NV 0x90AF -#define GL_PATH_GEN_MODE_NV 0x90B0 -#define GL_PATH_GEN_COEFF_NV 0x90B1 -#define GL_PATH_GEN_COLOR_FORMAT_NV 0x90B2 -#define GL_PATH_GEN_COMPONENTS_NV 0x90B3 -#define GL_PATH_STENCIL_FUNC_NV 0x90B7 -#define GL_PATH_STENCIL_REF_NV 0x90B8 -#define GL_PATH_STENCIL_VALUE_MASK_NV 0x90B9 -#define GL_PATH_STENCIL_DEPTH_OFFSET_FACTOR_NV 0x90BD -#define GL_PATH_STENCIL_DEPTH_OFFSET_UNITS_NV 0x90BE -#define GL_PATH_COVER_DEPTH_FUNC_NV 0x90BF -#define GL_PATH_DASH_OFFSET_RESET_NV 0x90B4 -#define GL_MOVE_TO_RESETS_NV 0x90B5 -#define GL_MOVE_TO_CONTINUES_NV 0x90B6 -#define GL_CLOSE_PATH_NV 0x00 -#define GL_MOVE_TO_NV 0x02 -#define GL_RELATIVE_MOVE_TO_NV 0x03 -#define GL_LINE_TO_NV 0x04 -#define GL_RELATIVE_LINE_TO_NV 0x05 -#define GL_HORIZONTAL_LINE_TO_NV 0x06 -#define GL_RELATIVE_HORIZONTAL_LINE_TO_NV 0x07 -#define GL_VERTICAL_LINE_TO_NV 0x08 -#define GL_RELATIVE_VERTICAL_LINE_TO_NV 0x09 -#define GL_QUADRATIC_CURVE_TO_NV 0x0A -#define GL_RELATIVE_QUADRATIC_CURVE_TO_NV 0x0B -#define GL_CUBIC_CURVE_TO_NV 0x0C -#define GL_RELATIVE_CUBIC_CURVE_TO_NV 0x0D -#define GL_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0E -#define GL_RELATIVE_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0F -#define GL_SMOOTH_CUBIC_CURVE_TO_NV 0x10 -#define GL_RELATIVE_SMOOTH_CUBIC_CURVE_TO_NV 0x11 -#define GL_SMALL_CCW_ARC_TO_NV 0x12 -#define GL_RELATIVE_SMALL_CCW_ARC_TO_NV 0x13 -#define GL_SMALL_CW_ARC_TO_NV 0x14 -#define GL_RELATIVE_SMALL_CW_ARC_TO_NV 0x15 -#define GL_LARGE_CCW_ARC_TO_NV 0x16 -#define GL_RELATIVE_LARGE_CCW_ARC_TO_NV 0x17 -#define GL_LARGE_CW_ARC_TO_NV 0x18 -#define GL_RELATIVE_LARGE_CW_ARC_TO_NV 0x19 -#define GL_RESTART_PATH_NV 0xF0 -#define GL_DUP_FIRST_CUBIC_CURVE_TO_NV 0xF2 -#define GL_DUP_LAST_CUBIC_CURVE_TO_NV 0xF4 -#define GL_RECT_NV 0xF6 -#define GL_CIRCULAR_CCW_ARC_TO_NV 0xF8 -#define GL_CIRCULAR_CW_ARC_TO_NV 0xFA -#define GL_CIRCULAR_TANGENT_ARC_TO_NV 0xFC -#define GL_ARC_TO_NV 0xFE -#define GL_RELATIVE_ARC_TO_NV 0xFF -#define GL_BOLD_BIT_NV 0x01 -#define GL_ITALIC_BIT_NV 0x02 -#define GL_GLYPH_WIDTH_BIT_NV 0x01 -#define GL_GLYPH_HEIGHT_BIT_NV 0x02 -#define GL_GLYPH_HORIZONTAL_BEARING_X_BIT_NV 0x04 -#define GL_GLYPH_HORIZONTAL_BEARING_Y_BIT_NV 0x08 -#define GL_GLYPH_HORIZONTAL_BEARING_ADVANCE_BIT_NV 0x10 -#define GL_GLYPH_VERTICAL_BEARING_X_BIT_NV 0x20 -#define GL_GLYPH_VERTICAL_BEARING_Y_BIT_NV 0x40 -#define GL_GLYPH_VERTICAL_BEARING_ADVANCE_BIT_NV 0x80 -#define GL_GLYPH_HAS_KERNING_BIT_NV 0x100 -#define GL_FONT_X_MIN_BOUNDS_BIT_NV 0x00010000 -#define GL_FONT_Y_MIN_BOUNDS_BIT_NV 0x00020000 -#define GL_FONT_X_MAX_BOUNDS_BIT_NV 0x00040000 -#define GL_FONT_Y_MAX_BOUNDS_BIT_NV 0x00080000 -#define GL_FONT_UNITS_PER_EM_BIT_NV 0x00100000 -#define GL_FONT_ASCENDER_BIT_NV 0x00200000 -#define GL_FONT_DESCENDER_BIT_NV 0x00400000 -#define GL_FONT_HEIGHT_BIT_NV 0x00800000 -#define GL_FONT_MAX_ADVANCE_WIDTH_BIT_NV 0x01000000 -#define GL_FONT_MAX_ADVANCE_HEIGHT_BIT_NV 0x02000000 -#define GL_FONT_UNDERLINE_POSITION_BIT_NV 0x04000000 -#define GL_FONT_UNDERLINE_THICKNESS_BIT_NV 0x08000000 -#define GL_FONT_HAS_KERNING_BIT_NV 0x10000000 - -/* GL_AMD_pinned_memory */ -#define GL_EXTERNAL_VIRTUAL_MEMORY_BUFFER_AMD 0x9160 - -/* GL_AMD_stencil_operation_extended */ -#define GL_SET_AMD 0x874A -#define GL_REPLACE_VALUE_AMD 0x874B -#define GL_STENCIL_OP_VALUE_AMD 0x874C -#define GL_STENCIL_BACK_OP_VALUE_AMD 0x874D - -/* GL_AMD_vertex_shader_viewport_index */ - -/* GL_AMD_vertex_shader_layer */ - -/* GL_NV_bindless_texture */ - -/* GL_NV_shader_atomic_float */ - -/* GL_AMD_query_buffer_object */ -#define GL_QUERY_BUFFER_AMD 0x9192 -#define GL_QUERY_BUFFER_BINDING_AMD 0x9193 -#define GL_QUERY_RESULT_NO_WAIT_AMD 0x9194 - -/* GL_NV_compute_program5 */ -#define GL_COMPUTE_PROGRAM_NV 0x90FB -#define GL_COMPUTE_PROGRAM_PARAMETER_BUFFER_NV 0x90FC - -/* GL_NV_shader_storage_buffer_object */ - -/* GL_NV_shader_atomic_counters */ - -/* GL_NV_deep_texture3D */ -#define GL_MAX_DEEP_3D_TEXTURE_WIDTH_HEIGHT_NV 0x90D0 -#define GL_MAX_DEEP_3D_TEXTURE_DEPTH_NV 0x90D1 - -/* GL_NVX_conditional_render */ - -/* GL_AMD_sparse_texture */ -#define GL_VIRTUAL_PAGE_SIZE_X_AMD 0x9195 -#define GL_VIRTUAL_PAGE_SIZE_Y_AMD 0x9196 -#define GL_VIRTUAL_PAGE_SIZE_Z_AMD 0x9197 -#define GL_MAX_SPARSE_TEXTURE_SIZE_AMD 0x9198 -#define GL_MAX_SPARSE_3D_TEXTURE_SIZE_AMD 0x9199 -#define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS 0x919A -#define GL_MIN_SPARSE_LEVEL_AMD 0x919B -#define GL_MIN_LOD_WARNING_AMD 0x919C -#define GL_TEXTURE_STORAGE_SPARSE_BIT_AMD 0x00000001 - -/* GL_AMD_shader_trinary_minmax */ - -/* GL_INTEL_map_texture */ -#define GL_TEXTURE_MEMORY_LAYOUT_INTEL 0x83FF -#define GL_LAYOUT_DEFAULT_INTEL 0 -#define GL_LAYOUT_LINEAR_INTEL 1 -#define GL_LAYOUT_LINEAR_CPU_CACHED_INTEL 2 +/* GL_EXT_texture_filter_anisotropic */ -/* GL_NV_draw_texture */ +#define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE +#define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF /* --------------------------- FUNCTION PROTOTYPES --------------------------- */ /* GL_ARB_geometry_shader4 */ -typedef GLvoid (APIENTRY PFNGLPROGRAMPARAMETERIARB_PROC (const GLuint program, const GLenum pname, const GLint value)); -typedef GLvoid (APIENTRY PFNGLFRAMEBUFFERTEXTUREARB_PROC (const GLenum target, const GLenum attachment, const GLuint texture, const GLint level)); -typedef GLvoid (APIENTRY PFNGLFRAMEBUFFERTEXTURELAYERARB_PROC (const GLenum target, const GLenum attachment, const GLuint texture, const GLint level, const GLint layer)); -typedef GLvoid (APIENTRY PFNGLFRAMEBUFFERTEXTUREFACEARB_PROC (const GLenum target, const GLenum attachment, const GLuint texture, const GLint level, const GLenum face)); +typedef void (APIENTRY PFNGLFRAMEBUFFERTEXTUREARB_PROC (GLenum target, GLenum attachment, GLuint texture, GLint level)); +typedef void (APIENTRY PFNGLFRAMEBUFFERTEXTUREFACEARB_PROC (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face)); +typedef void (APIENTRY PFNGLFRAMEBUFFERTEXTURELAYERARB_PROC (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer)); +typedef void (APIENTRY PFNGLPROGRAMPARAMETERIARB_PROC (GLuint program, GLenum pname, GLint value)); -GLAPI PFNGLPROGRAMPARAMETERIARB_PROC* glpfProgramParameteriARB; GLAPI PFNGLFRAMEBUFFERTEXTUREARB_PROC* glpfFramebufferTextureARB; -GLAPI PFNGLFRAMEBUFFERTEXTURELAYERARB_PROC* glpfFramebufferTextureLayerARB; GLAPI PFNGLFRAMEBUFFERTEXTUREFACEARB_PROC* glpfFramebufferTextureFaceARB; +GLAPI PFNGLFRAMEBUFFERTEXTURELAYERARB_PROC* glpfFramebufferTextureLayerARB; +GLAPI PFNGLPROGRAMPARAMETERIARB_PROC* glpfProgramParameteriARB; -#define glProgramParameteriARB glpfProgramParameteriARB #define glFramebufferTextureARB glpfFramebufferTextureARB -#define glFramebufferTextureLayerARB glpfFramebufferTextureLayerARB #define glFramebufferTextureFaceARB glpfFramebufferTextureFaceARB +#define glFramebufferTextureLayerARB glpfFramebufferTextureLayerARB +#define glProgramParameteriARB glpfProgramParameteriARB + + +/* GL_ARB_texture_float */ + + + /* GL_EXT_framebuffer_object */ -typedef GLboolean (APIENTRY PFNGLISRENDERBUFFEREXT_PROC (const GLuint renderbuffer)); -typedef GLvoid (APIENTRY PFNGLBINDRENDERBUFFEREXT_PROC (const GLenum target, const GLuint renderbuffer)); -typedef GLvoid (APIENTRY PFNGLDELETERENDERBUFFERSEXT_PROC (const GLsizei n, const GLuint* renderbuffers)); -typedef GLvoid (APIENTRY PFNGLGENRENDERBUFFERSEXT_PROC (const GLsizei n, GLuint* renderbuffers)); -typedef GLvoid (APIENTRY PFNGLRENDERBUFFERSTORAGEEXT_PROC (const GLenum target, const GLenum internalformat, const GLsizei width, const GLsizei height)); -typedef GLvoid (APIENTRY PFNGLGETRENDERBUFFERPARAMETERIVEXT_PROC (const GLenum target, const GLenum pname, GLint* params)); -typedef GLboolean (APIENTRY PFNGLISFRAMEBUFFEREXT_PROC (const GLuint framebuffer)); -typedef GLvoid (APIENTRY PFNGLBINDFRAMEBUFFEREXT_PROC (const GLenum target, const GLuint framebuffer)); -typedef GLvoid (APIENTRY PFNGLDELETEFRAMEBUFFERSEXT_PROC (const GLsizei n, const GLuint* framebuffers)); -typedef GLvoid (APIENTRY PFNGLGENFRAMEBUFFERSEXT_PROC (const GLsizei n, GLuint* framebuffers)); -typedef GLenum (APIENTRY PFNGLCHECKFRAMEBUFFERSTATUSEXT_PROC (const GLenum target)); -typedef GLvoid (APIENTRY PFNGLFRAMEBUFFERTEXTURE1DEXT_PROC (const GLenum target, const GLenum attachment, const GLenum textarget, const GLuint texture, const GLint level)); -typedef GLvoid (APIENTRY PFNGLFRAMEBUFFERTEXTURE2DEXT_PROC (const GLenum target, const GLenum attachment, const GLenum textarget, const GLuint texture, const GLint level)); -typedef GLvoid (APIENTRY PFNGLFRAMEBUFFERTEXTURE3DEXT_PROC (const GLenum target, const GLenum attachment, const GLenum textarget, const GLuint texture, const GLint level, const GLint zoffset)); -typedef GLvoid (APIENTRY PFNGLFRAMEBUFFERRENDERBUFFEREXT_PROC (const GLenum target, const GLenum attachment, const GLenum renderbuffertarget, const GLuint renderbuffer)); -typedef GLvoid (APIENTRY PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXT_PROC (const GLenum target, const GLenum attachment, const GLenum pname, GLint* params)); -typedef GLvoid (APIENTRY PFNGLGENERATEMIPMAPEXT_PROC (const GLenum target)); +typedef void (APIENTRY PFNGLBINDFRAMEBUFFEREXT_PROC (GLenum target, GLuint framebuffer)); +typedef void (APIENTRY PFNGLBINDRENDERBUFFEREXT_PROC (GLenum target, GLuint renderbuffer)); +typedef GLenum (APIENTRY PFNGLCHECKFRAMEBUFFERSTATUSEXT_PROC (GLenum target)); +typedef void (APIENTRY PFNGLDELETEFRAMEBUFFERSEXT_PROC (GLsizei n, const GLuint * framebuffers)); +typedef void (APIENTRY PFNGLDELETERENDERBUFFERSEXT_PROC (GLsizei n, const GLuint * renderbuffers)); +typedef void (APIENTRY PFNGLFRAMEBUFFERRENDERBUFFEREXT_PROC (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer)); +typedef void (APIENTRY PFNGLFRAMEBUFFERTEXTURE1DEXT_PROC (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level)); +typedef void (APIENTRY PFNGLFRAMEBUFFERTEXTURE2DEXT_PROC (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level)); +typedef void (APIENTRY PFNGLFRAMEBUFFERTEXTURE3DEXT_PROC (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset)); +typedef void (APIENTRY PFNGLGENFRAMEBUFFERSEXT_PROC (GLsizei n, GLuint * framebuffers)); +typedef void (APIENTRY PFNGLGENRENDERBUFFERSEXT_PROC (GLsizei n, GLuint * renderbuffers)); +typedef void (APIENTRY PFNGLGENERATEMIPMAPEXT_PROC (GLenum target)); +typedef void (APIENTRY PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXT_PROC (GLenum target, GLenum attachment, GLenum pname, GLint * params)); +typedef void (APIENTRY PFNGLGETRENDERBUFFERPARAMETERIVEXT_PROC (GLenum target, GLenum pname, GLint * params)); +typedef GLboolean (APIENTRY PFNGLISFRAMEBUFFEREXT_PROC (GLuint framebuffer)); +typedef GLboolean (APIENTRY PFNGLISRENDERBUFFEREXT_PROC (GLuint renderbuffer)); +typedef void (APIENTRY PFNGLRENDERBUFFERSTORAGEEXT_PROC (GLenum target, GLenum internalformat, GLsizei width, GLsizei height)); -GLAPI PFNGLISRENDERBUFFEREXT_PROC* glpfIsRenderbufferEXT; -GLAPI PFNGLBINDRENDERBUFFEREXT_PROC* glpfBindRenderbufferEXT; -GLAPI PFNGLDELETERENDERBUFFERSEXT_PROC* glpfDeleteRenderbuffersEXT; -GLAPI PFNGLGENRENDERBUFFERSEXT_PROC* glpfGenRenderbuffersEXT; -GLAPI PFNGLRENDERBUFFERSTORAGEEXT_PROC* glpfRenderbufferStorageEXT; -GLAPI PFNGLGETRENDERBUFFERPARAMETERIVEXT_PROC* glpfGetRenderbufferParameterivEXT; -GLAPI PFNGLISFRAMEBUFFEREXT_PROC* glpfIsFramebufferEXT; GLAPI PFNGLBINDFRAMEBUFFEREXT_PROC* glpfBindFramebufferEXT; -GLAPI PFNGLDELETEFRAMEBUFFERSEXT_PROC* glpfDeleteFramebuffersEXT; -GLAPI PFNGLGENFRAMEBUFFERSEXT_PROC* glpfGenFramebuffersEXT; +GLAPI PFNGLBINDRENDERBUFFEREXT_PROC* glpfBindRenderbufferEXT; GLAPI PFNGLCHECKFRAMEBUFFERSTATUSEXT_PROC* glpfCheckFramebufferStatusEXT; +GLAPI PFNGLDELETEFRAMEBUFFERSEXT_PROC* glpfDeleteFramebuffersEXT; +GLAPI PFNGLDELETERENDERBUFFERSEXT_PROC* glpfDeleteRenderbuffersEXT; +GLAPI PFNGLFRAMEBUFFERRENDERBUFFEREXT_PROC* glpfFramebufferRenderbufferEXT; GLAPI PFNGLFRAMEBUFFERTEXTURE1DEXT_PROC* glpfFramebufferTexture1DEXT; GLAPI PFNGLFRAMEBUFFERTEXTURE2DEXT_PROC* glpfFramebufferTexture2DEXT; GLAPI PFNGLFRAMEBUFFERTEXTURE3DEXT_PROC* glpfFramebufferTexture3DEXT; -GLAPI PFNGLFRAMEBUFFERRENDERBUFFEREXT_PROC* glpfFramebufferRenderbufferEXT; -GLAPI PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXT_PROC* glpfGetFramebufferAttachmentParameterivEXT; +GLAPI PFNGLGENFRAMEBUFFERSEXT_PROC* glpfGenFramebuffersEXT; +GLAPI PFNGLGENRENDERBUFFERSEXT_PROC* glpfGenRenderbuffersEXT; GLAPI PFNGLGENERATEMIPMAPEXT_PROC* glpfGenerateMipmapEXT; +GLAPI PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXT_PROC* glpfGetFramebufferAttachmentParameterivEXT; +GLAPI PFNGLGETRENDERBUFFERPARAMETERIVEXT_PROC* glpfGetRenderbufferParameterivEXT; +GLAPI PFNGLISFRAMEBUFFEREXT_PROC* glpfIsFramebufferEXT; +GLAPI PFNGLISRENDERBUFFEREXT_PROC* glpfIsRenderbufferEXT; +GLAPI PFNGLRENDERBUFFERSTORAGEEXT_PROC* glpfRenderbufferStorageEXT; -#define glIsRenderbufferEXT glpfIsRenderbufferEXT -#define glBindRenderbufferEXT glpfBindRenderbufferEXT -#define glDeleteRenderbuffersEXT glpfDeleteRenderbuffersEXT -#define glGenRenderbuffersEXT glpfGenRenderbuffersEXT -#define glRenderbufferStorageEXT glpfRenderbufferStorageEXT -#define glGetRenderbufferParameterivEXT glpfGetRenderbufferParameterivEXT -#define glIsFramebufferEXT glpfIsFramebufferEXT #define glBindFramebufferEXT glpfBindFramebufferEXT -#define glDeleteFramebuffersEXT glpfDeleteFramebuffersEXT -#define glGenFramebuffersEXT glpfGenFramebuffersEXT +#define glBindRenderbufferEXT glpfBindRenderbufferEXT #define glCheckFramebufferStatusEXT glpfCheckFramebufferStatusEXT +#define glDeleteFramebuffersEXT glpfDeleteFramebuffersEXT +#define glDeleteRenderbuffersEXT glpfDeleteRenderbuffersEXT +#define glFramebufferRenderbufferEXT glpfFramebufferRenderbufferEXT #define glFramebufferTexture1DEXT glpfFramebufferTexture1DEXT #define glFramebufferTexture2DEXT glpfFramebufferTexture2DEXT #define glFramebufferTexture3DEXT glpfFramebufferTexture3DEXT -#define glFramebufferRenderbufferEXT glpfFramebufferRenderbufferEXT -#define glGetFramebufferAttachmentParameterivEXT glpfGetFramebufferAttachmentParameterivEXT +#define glGenFramebuffersEXT glpfGenFramebuffersEXT +#define glGenRenderbuffersEXT glpfGenRenderbuffersEXT #define glGenerateMipmapEXT glpfGenerateMipmapEXT +#define glGetFramebufferAttachmentParameterivEXT glpfGetFramebufferAttachmentParameterivEXT +#define glGetRenderbufferParameterivEXT glpfGetRenderbufferParameterivEXT +#define glIsFramebufferEXT glpfIsFramebufferEXT +#define glIsRenderbufferEXT glpfIsRenderbufferEXT +#define glRenderbufferStorageEXT glpfRenderbufferStorageEXT + + +/* GL_EXT_texture_filter_anisotropic */ + + + /* GL_EXT_transform_feedback */ -typedef GLvoid (APIENTRY PFNGLBEGINTRANSFORMFEEDBACKEXT_PROC (const GLenum primitiveMode)); -typedef GLvoid (APIENTRY PFNGLENDTRANSFORMFEEDBACKEXT_PROC (void)); -typedef GLvoid (APIENTRY PFNGLBINDBUFFERRANGEEXT_PROC (const GLenum target, const GLuint index, const GLuint buffer, const GLintptr offset, const GLsizeiptr size)); -typedef GLvoid (APIENTRY PFNGLBINDBUFFEROFFSETEXT_PROC (const GLenum target, const GLuint index, const GLuint buffer, const GLintptr offset)); -typedef GLvoid (APIENTRY PFNGLBINDBUFFERBASEEXT_PROC (const GLenum target, const GLuint index, const GLuint buffer)); -typedef GLvoid (APIENTRY PFNGLTRANSFORMFEEDBACKVARYINGSEXT_PROC (const GLuint program, const GLsizei count, const GLchar** varyings, const GLenum bufferMode)); -typedef GLvoid (APIENTRY PFNGLGETTRANSFORMFEEDBACKVARYINGEXT_PROC (const GLuint program, const GLuint index, const GLsizei bufSize, GLsizei* length, GLsizei* size, GLenum* type, GLchar* name)); +typedef void (APIENTRY PFNGLBEGINTRANSFORMFEEDBACKEXT_PROC (GLenum primitiveMode)); +typedef void (APIENTRY PFNGLBINDBUFFERBASEEXT_PROC (GLenum target, GLuint index, GLuint buffer)); +typedef void (APIENTRY PFNGLBINDBUFFEROFFSETEXT_PROC (GLenum target, GLuint index, GLuint buffer, GLintptr offset)); +typedef void (APIENTRY PFNGLBINDBUFFERRANGEEXT_PROC (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size)); +typedef void (APIENTRY PFNGLENDTRANSFORMFEEDBACKEXT_PROC (void)); +typedef void (APIENTRY PFNGLGETTRANSFORMFEEDBACKVARYINGEXT_PROC (GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLsizei * size, GLenum * type, GLchar * name)); +typedef void (APIENTRY PFNGLTRANSFORMFEEDBACKVARYINGSEXT_PROC (GLuint program, GLsizei count, const GLchar *const* varyings, GLenum bufferMode)); GLAPI PFNGLBEGINTRANSFORMFEEDBACKEXT_PROC* glpfBeginTransformFeedbackEXT; -GLAPI PFNGLENDTRANSFORMFEEDBACKEXT_PROC* glpfEndTransformFeedbackEXT; -GLAPI PFNGLBINDBUFFERRANGEEXT_PROC* glpfBindBufferRangeEXT; -GLAPI PFNGLBINDBUFFEROFFSETEXT_PROC* glpfBindBufferOffsetEXT; GLAPI PFNGLBINDBUFFERBASEEXT_PROC* glpfBindBufferBaseEXT; -GLAPI PFNGLTRANSFORMFEEDBACKVARYINGSEXT_PROC* glpfTransformFeedbackVaryingsEXT; +GLAPI PFNGLBINDBUFFEROFFSETEXT_PROC* glpfBindBufferOffsetEXT; +GLAPI PFNGLBINDBUFFERRANGEEXT_PROC* glpfBindBufferRangeEXT; +GLAPI PFNGLENDTRANSFORMFEEDBACKEXT_PROC* glpfEndTransformFeedbackEXT; GLAPI PFNGLGETTRANSFORMFEEDBACKVARYINGEXT_PROC* glpfGetTransformFeedbackVaryingEXT; +GLAPI PFNGLTRANSFORMFEEDBACKVARYINGSEXT_PROC* glpfTransformFeedbackVaryingsEXT; #define glBeginTransformFeedbackEXT glpfBeginTransformFeedbackEXT -#define glEndTransformFeedbackEXT glpfEndTransformFeedbackEXT -#define glBindBufferRangeEXT glpfBindBufferRangeEXT -#define glBindBufferOffsetEXT glpfBindBufferOffsetEXT #define glBindBufferBaseEXT glpfBindBufferBaseEXT -#define glTransformFeedbackVaryingsEXT glpfTransformFeedbackVaryingsEXT +#define glBindBufferOffsetEXT glpfBindBufferOffsetEXT +#define glBindBufferRangeEXT glpfBindBufferRangeEXT +#define glEndTransformFeedbackEXT glpfEndTransformFeedbackEXT #define glGetTransformFeedbackVaryingEXT glpfGetTransformFeedbackVaryingEXT +#define glTransformFeedbackVaryingsEXT glpfTransformFeedbackVaryingsEXT /* GL_VERSION_1_0 */ -GLAPI GLvoid APIENTRY glCullFace (const GLenum mode); -GLAPI GLvoid APIENTRY glFrontFace (const GLenum mode); -GLAPI GLvoid APIENTRY glHint (const GLenum target, const GLenum mode); -GLAPI GLvoid APIENTRY glLineWidth (const GLfloat width); -GLAPI GLvoid APIENTRY glPointSize (const GLfloat size); -GLAPI GLvoid APIENTRY glPolygonMode (const GLenum face, const GLenum mode); -GLAPI GLvoid APIENTRY glScissor (const GLint x, const GLint y, const GLsizei width, const GLsizei height); -GLAPI GLvoid APIENTRY glTexParameterf (const GLenum target, const GLenum pname, const GLfloat param); -GLAPI GLvoid APIENTRY glTexParameterfv (const GLenum target, const GLenum pname, const GLfloat* params); -GLAPI GLvoid APIENTRY glTexParameteri (const GLenum target, const GLenum pname, const GLint param); -GLAPI GLvoid APIENTRY glTexParameteriv (const GLenum target, const GLenum pname, const GLint* params); -GLAPI GLvoid APIENTRY glTexImage1D (const GLenum target, const GLint level, const GLint internalformat, const GLsizei width, const GLint border, const GLenum format, const GLenum type, const GLvoid* pixels); -GLAPI GLvoid APIENTRY glTexImage2D (const GLenum target, const GLint level, const GLint internalformat, const GLsizei width, const GLsizei height, const GLint border, const GLenum format, const GLenum type, const GLvoid* pixels); -GLAPI GLvoid APIENTRY glDrawBuffer (const GLenum mode); -GLAPI GLvoid APIENTRY glClear (const GLbitfield mask); -GLAPI GLvoid APIENTRY glClearColor (const GLfloat red, const GLfloat green, const GLfloat blue, const GLfloat alpha); -GLAPI GLvoid APIENTRY glClearStencil (const GLint s); -GLAPI GLvoid APIENTRY glClearDepth (const GLdouble depth); -GLAPI GLvoid APIENTRY glStencilMask (const GLuint mask); -GLAPI GLvoid APIENTRY glColorMask (const GLboolean red, const GLboolean green, const GLboolean blue, const GLboolean alpha); -GLAPI GLvoid APIENTRY glDepthMask (const GLboolean flag); -GLAPI GLvoid APIENTRY glDisable (const GLenum cap); -GLAPI GLvoid APIENTRY glEnable (const GLenum cap); -GLAPI GLvoid APIENTRY glFinish (void); -GLAPI GLvoid APIENTRY glFlush (void); -GLAPI GLvoid APIENTRY glBlendFunc (const GLenum sfactor, const GLenum dfactor); -GLAPI GLvoid APIENTRY glLogicOp (const GLenum opcode); -GLAPI GLvoid APIENTRY glStencilFunc (const GLenum func, const GLint ref, const GLuint mask); -GLAPI GLvoid APIENTRY glStencilOp (const GLenum fail, const GLenum zfail, const GLenum zpass); -GLAPI GLvoid APIENTRY glDepthFunc (const GLenum func); -GLAPI GLvoid APIENTRY glPixelStoref (const GLenum pname, const GLfloat param); -GLAPI GLvoid APIENTRY glPixelStorei (const GLenum pname, const GLint param); -GLAPI GLvoid APIENTRY glReadBuffer (const GLenum mode); -GLAPI GLvoid APIENTRY glReadPixels (const GLint x, const GLint y, const GLsizei width, const GLsizei height, const GLenum format, const GLenum type, GLvoid* pixels); -GLAPI GLvoid APIENTRY glGetBooleanv (const GLenum pname, GLboolean* params); -GLAPI GLvoid APIENTRY glGetDoublev (const GLenum pname, GLdouble* params); +GLAPI void APIENTRY glAccum (GLenum op, GLfloat value); +GLAPI void APIENTRY glAlphaFunc (GLenum func, GLfloat ref); +GLAPI void APIENTRY glBegin (GLenum mode); +GLAPI void APIENTRY glBitmap (GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte * bitmap); +GLAPI void APIENTRY glBlendFunc (GLenum sfactor, GLenum dfactor); +GLAPI void APIENTRY glCallList (GLuint list); +GLAPI void APIENTRY glCallLists (GLsizei n, GLenum type, const void * lists); +GLAPI void APIENTRY glClear (GLbitfield mask); +GLAPI void APIENTRY glClearAccum (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); +GLAPI void APIENTRY glClearColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); +GLAPI void APIENTRY glClearDepth (GLdouble depth); +GLAPI void APIENTRY glClearIndex (GLfloat c); +GLAPI void APIENTRY glClearStencil (GLint s); +GLAPI void APIENTRY glClipPlane (GLenum plane, const GLdouble * equation); +GLAPI void APIENTRY glColor3b (GLbyte red, GLbyte green, GLbyte blue); +GLAPI void APIENTRY glColor3bv (const GLbyte * v); +GLAPI void APIENTRY glColor3d (GLdouble red, GLdouble green, GLdouble blue); +GLAPI void APIENTRY glColor3dv (const GLdouble * v); +GLAPI void APIENTRY glColor3f (GLfloat red, GLfloat green, GLfloat blue); +GLAPI void APIENTRY glColor3fv (const GLfloat * v); +GLAPI void APIENTRY glColor3i (GLint red, GLint green, GLint blue); +GLAPI void APIENTRY glColor3iv (const GLint * v); +GLAPI void APIENTRY glColor3s (GLshort red, GLshort green, GLshort blue); +GLAPI void APIENTRY glColor3sv (const GLshort * v); +GLAPI void APIENTRY glColor3ub (GLubyte red, GLubyte green, GLubyte blue); +GLAPI void APIENTRY glColor3ubv (const GLubyte * v); +GLAPI void APIENTRY glColor3ui (GLuint red, GLuint green, GLuint blue); +GLAPI void APIENTRY glColor3uiv (const GLuint * v); +GLAPI void APIENTRY glColor3us (GLushort red, GLushort green, GLushort blue); +GLAPI void APIENTRY glColor3usv (const GLushort * v); +GLAPI void APIENTRY glColor4b (GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha); +GLAPI void APIENTRY glColor4bv (const GLbyte * v); +GLAPI void APIENTRY glColor4d (GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha); +GLAPI void APIENTRY glColor4dv (const GLdouble * v); +GLAPI void APIENTRY glColor4f (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); +GLAPI void APIENTRY glColor4fv (const GLfloat * v); +GLAPI void APIENTRY glColor4i (GLint red, GLint green, GLint blue, GLint alpha); +GLAPI void APIENTRY glColor4iv (const GLint * v); +GLAPI void APIENTRY glColor4s (GLshort red, GLshort green, GLshort blue, GLshort alpha); +GLAPI void APIENTRY glColor4sv (const GLshort * v); +GLAPI void APIENTRY glColor4ub (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha); +GLAPI void APIENTRY glColor4ubv (const GLubyte * v); +GLAPI void APIENTRY glColor4ui (GLuint red, GLuint green, GLuint blue, GLuint alpha); +GLAPI void APIENTRY glColor4uiv (const GLuint * v); +GLAPI void APIENTRY glColor4us (GLushort red, GLushort green, GLushort blue, GLushort alpha); +GLAPI void APIENTRY glColor4usv (const GLushort * v); +GLAPI void APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); +GLAPI void APIENTRY glColorMaterial (GLenum face, GLenum mode); +GLAPI void APIENTRY glCopyPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum type); +GLAPI void APIENTRY glCullFace (GLenum mode); +GLAPI void APIENTRY glDeleteLists (GLuint list, GLsizei range); +GLAPI void APIENTRY glDepthFunc (GLenum func); +GLAPI void APIENTRY glDepthMask (GLboolean flag); +GLAPI void APIENTRY glDepthRange (GLdouble near, GLdouble far); +GLAPI void APIENTRY glDisable (GLenum cap); +GLAPI void APIENTRY glDrawBuffer (GLenum buf); +GLAPI void APIENTRY glDrawPixels (GLsizei width, GLsizei height, GLenum format, GLenum type, const void * pixels); +GLAPI void APIENTRY glEdgeFlag (GLboolean flag); +GLAPI void APIENTRY glEdgeFlagv (const GLboolean * flag); +GLAPI void APIENTRY glEnable (GLenum cap); +GLAPI void APIENTRY glEnd (void); +GLAPI void APIENTRY glEndList (void); +GLAPI void APIENTRY glEvalCoord1d (GLdouble u); +GLAPI void APIENTRY glEvalCoord1dv (const GLdouble * u); +GLAPI void APIENTRY glEvalCoord1f (GLfloat u); +GLAPI void APIENTRY glEvalCoord1fv (const GLfloat * u); +GLAPI void APIENTRY glEvalCoord2d (GLdouble u, GLdouble v); +GLAPI void APIENTRY glEvalCoord2dv (const GLdouble * u); +GLAPI void APIENTRY glEvalCoord2f (GLfloat u, GLfloat v); +GLAPI void APIENTRY glEvalCoord2fv (const GLfloat * u); +GLAPI void APIENTRY glEvalMesh1 (GLenum mode, GLint i1, GLint i2); +GLAPI void APIENTRY glEvalMesh2 (GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2); +GLAPI void APIENTRY glEvalPoint1 (GLint i); +GLAPI void APIENTRY glEvalPoint2 (GLint i, GLint j); +GLAPI void APIENTRY glFeedbackBuffer (GLsizei size, GLenum type, GLfloat * buffer); +GLAPI void APIENTRY glFinish (void); +GLAPI void APIENTRY glFlush (void); +GLAPI void APIENTRY glFogf (GLenum pname, GLfloat param); +GLAPI void APIENTRY glFogfv (GLenum pname, const GLfloat * params); +GLAPI void APIENTRY glFogi (GLenum pname, GLint param); +GLAPI void APIENTRY glFogiv (GLenum pname, const GLint * params); +GLAPI void APIENTRY glFrontFace (GLenum mode); +GLAPI void APIENTRY glFrustum (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); +GLAPI GLuint APIENTRY glGenLists (GLsizei range); +GLAPI void APIENTRY glGetBooleanv (GLenum pname, GLboolean * data); +GLAPI void APIENTRY glGetClipPlane (GLenum plane, GLdouble * equation); +GLAPI void APIENTRY glGetDoublev (GLenum pname, GLdouble * data); GLAPI GLenum APIENTRY glGetError (void); -GLAPI GLvoid APIENTRY glGetFloatv (const GLenum pname, GLfloat* params); -GLAPI GLvoid APIENTRY glGetIntegerv (const GLenum pname, GLint* params); -GLAPI const GLubyte * APIENTRY glGetString (const GLenum name); -GLAPI GLvoid APIENTRY glGetTexImage (const GLenum target, const GLint level, const GLenum format, const GLenum type, GLvoid* pixels); -GLAPI GLvoid APIENTRY glGetTexParameterfv (const GLenum target, const GLenum pname, GLfloat* params); -GLAPI GLvoid APIENTRY glGetTexParameteriv (const GLenum target, const GLenum pname, GLint* params); -GLAPI GLvoid APIENTRY glGetTexLevelParameterfv (const GLenum target, const GLint level, const GLenum pname, GLfloat* params); -GLAPI GLvoid APIENTRY glGetTexLevelParameteriv (const GLenum target, const GLint level, const GLenum pname, GLint* params); -GLAPI GLboolean APIENTRY glIsEnabled (const GLenum cap); -GLAPI GLvoid APIENTRY glDepthRange (const GLdouble near, const GLdouble far); -GLAPI GLvoid APIENTRY glViewport (const GLint x, const GLint y, const GLsizei width, const GLsizei height); -GLAPI GLvoid APIENTRY glNewList (const GLuint list, const GLenum mode); -GLAPI GLvoid APIENTRY glEndList (void); -GLAPI GLvoid APIENTRY glCallList (const GLuint list); -GLAPI GLvoid APIENTRY glCallLists (const GLsizei n, const GLenum type, const GLvoid* lists); -GLAPI GLvoid APIENTRY glDeleteLists (const GLuint list, const GLsizei range); -GLAPI GLuint APIENTRY glGenLists (const GLsizei range); -GLAPI GLvoid APIENTRY glListBase (const GLuint base); -GLAPI GLvoid APIENTRY glBegin (const GLenum mode); -GLAPI GLvoid APIENTRY glBitmap (const GLsizei width, const GLsizei height, const GLfloat xorig, const GLfloat yorig, const GLfloat xmove, const GLfloat ymove, const GLubyte* bitmap); -GLAPI GLvoid APIENTRY glColor3b (const GLbyte red, const GLbyte green, const GLbyte blue); -GLAPI GLvoid APIENTRY glColor3bv (const GLbyte* v); -GLAPI GLvoid APIENTRY glColor3d (const GLdouble red, const GLdouble green, const GLdouble blue); -GLAPI GLvoid APIENTRY glColor3dv (const GLdouble* v); -GLAPI GLvoid APIENTRY glColor3f (const GLfloat red, const GLfloat green, const GLfloat blue); -GLAPI GLvoid APIENTRY glColor3fv (const GLfloat* v); -GLAPI GLvoid APIENTRY glColor3i (const GLint red, const GLint green, const GLint blue); -GLAPI GLvoid APIENTRY glColor3iv (const GLint* v); -GLAPI GLvoid APIENTRY glColor3s (const GLshort red, const GLshort green, const GLshort blue); -GLAPI GLvoid APIENTRY glColor3sv (const GLshort* v); -GLAPI GLvoid APIENTRY glColor3ub (const GLubyte red, const GLubyte green, const GLubyte blue); -GLAPI GLvoid APIENTRY glColor3ubv (const GLubyte* v); -GLAPI GLvoid APIENTRY glColor3ui (const GLuint red, const GLuint green, const GLuint blue); -GLAPI GLvoid APIENTRY glColor3uiv (const GLuint* v); -GLAPI GLvoid APIENTRY glColor3us (const GLushort red, const GLushort green, const GLushort blue); -GLAPI GLvoid APIENTRY glColor3usv (const GLushort* v); -GLAPI GLvoid APIENTRY glColor4b (const GLbyte red, const GLbyte green, const GLbyte blue, const GLbyte alpha); -GLAPI GLvoid APIENTRY glColor4bv (const GLbyte* v); -GLAPI GLvoid APIENTRY glColor4d (const GLdouble red, const GLdouble green, const GLdouble blue, const GLdouble alpha); -GLAPI GLvoid APIENTRY glColor4dv (const GLdouble* v); -GLAPI GLvoid APIENTRY glColor4f (const GLfloat red, const GLfloat green, const GLfloat blue, const GLfloat alpha); -GLAPI GLvoid APIENTRY glColor4fv (const GLfloat* v); -GLAPI GLvoid APIENTRY glColor4i (const GLint red, const GLint green, const GLint blue, const GLint alpha); -GLAPI GLvoid APIENTRY glColor4iv (const GLint* v); -GLAPI GLvoid APIENTRY glColor4s (const GLshort red, const GLshort green, const GLshort blue, const GLshort alpha); -GLAPI GLvoid APIENTRY glColor4sv (const GLshort* v); -GLAPI GLvoid APIENTRY glColor4ub (const GLubyte red, const GLubyte green, const GLubyte blue, const GLubyte alpha); -GLAPI GLvoid APIENTRY glColor4ubv (const GLubyte* v); -GLAPI GLvoid APIENTRY glColor4ui (const GLuint red, const GLuint green, const GLuint blue, const GLuint alpha); -GLAPI GLvoid APIENTRY glColor4uiv (const GLuint* v); -GLAPI GLvoid APIENTRY glColor4us (const GLushort red, const GLushort green, const GLushort blue, const GLushort alpha); -GLAPI GLvoid APIENTRY glColor4usv (const GLushort* v); -GLAPI GLvoid APIENTRY glEdgeFlag (const GLboolean flag); -GLAPI GLvoid APIENTRY glEdgeFlagv (const GLboolean* flag); -GLAPI GLvoid APIENTRY glEnd (void); -GLAPI GLvoid APIENTRY glIndexd (const GLdouble c); -GLAPI GLvoid APIENTRY glIndexdv (const GLdouble* c); -GLAPI GLvoid APIENTRY glIndexf (const GLfloat c); -GLAPI GLvoid APIENTRY glIndexfv (const GLfloat* c); -GLAPI GLvoid APIENTRY glIndexi (const GLint c); -GLAPI GLvoid APIENTRY glIndexiv (const GLint* c); -GLAPI GLvoid APIENTRY glIndexs (const GLshort c); -GLAPI GLvoid APIENTRY glIndexsv (const GLshort* c); -GLAPI GLvoid APIENTRY glNormal3b (const GLbyte nx, const GLbyte ny, const GLbyte nz); -GLAPI GLvoid APIENTRY glNormal3bv (const GLbyte* v); -GLAPI GLvoid APIENTRY glNormal3d (const GLdouble nx, const GLdouble ny, const GLdouble nz); -GLAPI GLvoid APIENTRY glNormal3dv (const GLdouble* v); -GLAPI GLvoid APIENTRY glNormal3f (const GLfloat nx, const GLfloat ny, const GLfloat nz); -GLAPI GLvoid APIENTRY glNormal3fv (const GLfloat* v); -GLAPI GLvoid APIENTRY glNormal3i (const GLint nx, const GLint ny, const GLint nz); -GLAPI GLvoid APIENTRY glNormal3iv (const GLint* v); -GLAPI GLvoid APIENTRY glNormal3s (const GLshort nx, const GLshort ny, const GLshort nz); -GLAPI GLvoid APIENTRY glNormal3sv (const GLshort* v); -GLAPI GLvoid APIENTRY glRasterPos2d (const GLdouble x, const GLdouble y); -GLAPI GLvoid APIENTRY glRasterPos2dv (const GLdouble* v); -GLAPI GLvoid APIENTRY glRasterPos2f (const GLfloat x, const GLfloat y); -GLAPI GLvoid APIENTRY glRasterPos2fv (const GLfloat* v); -GLAPI GLvoid APIENTRY glRasterPos2i (const GLint x, const GLint y); -GLAPI GLvoid APIENTRY glRasterPos2iv (const GLint* v); -GLAPI GLvoid APIENTRY glRasterPos2s (const GLshort x, const GLshort y); -GLAPI GLvoid APIENTRY glRasterPos2sv (const GLshort* v); -GLAPI GLvoid APIENTRY glRasterPos3d (const GLdouble x, const GLdouble y, const GLdouble z); -GLAPI GLvoid APIENTRY glRasterPos3dv (const GLdouble* v); -GLAPI GLvoid APIENTRY glRasterPos3f (const GLfloat x, const GLfloat y, const GLfloat z); -GLAPI GLvoid APIENTRY glRasterPos3fv (const GLfloat* v); -GLAPI GLvoid APIENTRY glRasterPos3i (const GLint x, const GLint y, const GLint z); -GLAPI GLvoid APIENTRY glRasterPos3iv (const GLint* v); -GLAPI GLvoid APIENTRY glRasterPos3s (const GLshort x, const GLshort y, const GLshort z); -GLAPI GLvoid APIENTRY glRasterPos3sv (const GLshort* v); -GLAPI GLvoid APIENTRY glRasterPos4d (const GLdouble x, const GLdouble y, const GLdouble z, const GLdouble w); -GLAPI GLvoid APIENTRY glRasterPos4dv (const GLdouble* v); -GLAPI GLvoid APIENTRY glRasterPos4f (const GLfloat x, const GLfloat y, const GLfloat z, const GLfloat w); -GLAPI GLvoid APIENTRY glRasterPos4fv (const GLfloat* v); -GLAPI GLvoid APIENTRY glRasterPos4i (const GLint x, const GLint y, const GLint z, const GLint w); -GLAPI GLvoid APIENTRY glRasterPos4iv (const GLint* v); -GLAPI GLvoid APIENTRY glRasterPos4s (const GLshort x, const GLshort y, const GLshort z, const GLshort w); -GLAPI GLvoid APIENTRY glRasterPos4sv (const GLshort* v); -GLAPI GLvoid APIENTRY glRectd (const GLdouble x1, const GLdouble y1, const GLdouble x2, const GLdouble y2); -GLAPI GLvoid APIENTRY glRectdv (const GLdouble* v1, const GLdouble* v2); -GLAPI GLvoid APIENTRY glRectf (const GLfloat x1, const GLfloat y1, const GLfloat x2, const GLfloat y2); -GLAPI GLvoid APIENTRY glRectfv (const GLfloat* v1, const GLfloat* v2); -GLAPI GLvoid APIENTRY glRecti (const GLint x1, const GLint y1, const GLint x2, const GLint y2); -GLAPI GLvoid APIENTRY glRectiv (const GLint* v1, const GLint* v2); -GLAPI GLvoid APIENTRY glRects (const GLshort x1, const GLshort y1, const GLshort x2, const GLshort y2); -GLAPI GLvoid APIENTRY glRectsv (const GLshort* v1, const GLshort* v2); -GLAPI GLvoid APIENTRY glTexCoord1d (const GLdouble s); -GLAPI GLvoid APIENTRY glTexCoord1dv (const GLdouble* v); -GLAPI GLvoid APIENTRY glTexCoord1f (const GLfloat s); -GLAPI GLvoid APIENTRY glTexCoord1fv (const GLfloat* v); -GLAPI GLvoid APIENTRY glTexCoord1i (const GLint s); -GLAPI GLvoid APIENTRY glTexCoord1iv (const GLint* v); -GLAPI GLvoid APIENTRY glTexCoord1s (const GLshort s); -GLAPI GLvoid APIENTRY glTexCoord1sv (const GLshort* v); -GLAPI GLvoid APIENTRY glTexCoord2d (const GLdouble s, const GLdouble t); -GLAPI GLvoid APIENTRY glTexCoord2dv (const GLdouble* v); -GLAPI GLvoid APIENTRY glTexCoord2f (const GLfloat s, const GLfloat t); -GLAPI GLvoid APIENTRY glTexCoord2fv (const GLfloat* v); -GLAPI GLvoid APIENTRY glTexCoord2i (const GLint s, const GLint t); -GLAPI GLvoid APIENTRY glTexCoord2iv (const GLint* v); -GLAPI GLvoid APIENTRY glTexCoord2s (const GLshort s, const GLshort t); -GLAPI GLvoid APIENTRY glTexCoord2sv (const GLshort* v); -GLAPI GLvoid APIENTRY glTexCoord3d (const GLdouble s, const GLdouble t, const GLdouble r); -GLAPI GLvoid APIENTRY glTexCoord3dv (const GLdouble* v); -GLAPI GLvoid APIENTRY glTexCoord3f (const GLfloat s, const GLfloat t, const GLfloat r); -GLAPI GLvoid APIENTRY glTexCoord3fv (const GLfloat* v); -GLAPI GLvoid APIENTRY glTexCoord3i (const GLint s, const GLint t, const GLint r); -GLAPI GLvoid APIENTRY glTexCoord3iv (const GLint* v); -GLAPI GLvoid APIENTRY glTexCoord3s (const GLshort s, const GLshort t, const GLshort r); -GLAPI GLvoid APIENTRY glTexCoord3sv (const GLshort* v); -GLAPI GLvoid APIENTRY glTexCoord4d (const GLdouble s, const GLdouble t, const GLdouble r, const GLdouble q); -GLAPI GLvoid APIENTRY glTexCoord4dv (const GLdouble* v); -GLAPI GLvoid APIENTRY glTexCoord4f (const GLfloat s, const GLfloat t, const GLfloat r, const GLfloat q); -GLAPI GLvoid APIENTRY glTexCoord4fv (const GLfloat* v); -GLAPI GLvoid APIENTRY glTexCoord4i (const GLint s, const GLint t, const GLint r, const GLint q); -GLAPI GLvoid APIENTRY glTexCoord4iv (const GLint* v); -GLAPI GLvoid APIENTRY glTexCoord4s (const GLshort s, const GLshort t, const GLshort r, const GLshort q); -GLAPI GLvoid APIENTRY glTexCoord4sv (const GLshort* v); -GLAPI GLvoid APIENTRY glVertex2d (const GLdouble x, const GLdouble y); -GLAPI GLvoid APIENTRY glVertex2dv (const GLdouble* v); -GLAPI GLvoid APIENTRY glVertex2f (const GLfloat x, const GLfloat y); -GLAPI GLvoid APIENTRY glVertex2fv (const GLfloat* v); -GLAPI GLvoid APIENTRY glVertex2i (const GLint x, const GLint y); -GLAPI GLvoid APIENTRY glVertex2iv (const GLint* v); -GLAPI GLvoid APIENTRY glVertex2s (const GLshort x, const GLshort y); -GLAPI GLvoid APIENTRY glVertex2sv (const GLshort* v); -GLAPI GLvoid APIENTRY glVertex3d (const GLdouble x, const GLdouble y, const GLdouble z); -GLAPI GLvoid APIENTRY glVertex3dv (const GLdouble* v); -GLAPI GLvoid APIENTRY glVertex3f (const GLfloat x, const GLfloat y, const GLfloat z); -GLAPI GLvoid APIENTRY glVertex3fv (const GLfloat* v); -GLAPI GLvoid APIENTRY glVertex3i (const GLint x, const GLint y, const GLint z); -GLAPI GLvoid APIENTRY glVertex3iv (const GLint* v); -GLAPI GLvoid APIENTRY glVertex3s (const GLshort x, const GLshort y, const GLshort z); -GLAPI GLvoid APIENTRY glVertex3sv (const GLshort* v); -GLAPI GLvoid APIENTRY glVertex4d (const GLdouble x, const GLdouble y, const GLdouble z, const GLdouble w); -GLAPI GLvoid APIENTRY glVertex4dv (const GLdouble* v); -GLAPI GLvoid APIENTRY glVertex4f (const GLfloat x, const GLfloat y, const GLfloat z, const GLfloat w); -GLAPI GLvoid APIENTRY glVertex4fv (const GLfloat* v); -GLAPI GLvoid APIENTRY glVertex4i (const GLint x, const GLint y, const GLint z, const GLint w); -GLAPI GLvoid APIENTRY glVertex4iv (const GLint* v); -GLAPI GLvoid APIENTRY glVertex4s (const GLshort x, const GLshort y, const GLshort z, const GLshort w); -GLAPI GLvoid APIENTRY glVertex4sv (const GLshort* v); -GLAPI GLvoid APIENTRY glClipPlane (const GLenum plane, const GLdouble* equation); -GLAPI GLvoid APIENTRY glColorMaterial (const GLenum face, const GLenum mode); -GLAPI GLvoid APIENTRY glFogf (const GLenum pname, const GLfloat param); -GLAPI GLvoid APIENTRY glFogfv (const GLenum pname, const GLfloat* params); -GLAPI GLvoid APIENTRY glFogi (const GLenum pname, const GLint param); -GLAPI GLvoid APIENTRY glFogiv (const GLenum pname, const GLint* params); -GLAPI GLvoid APIENTRY glLightf (const GLenum light, const GLenum pname, const GLfloat param); -GLAPI GLvoid APIENTRY glLightfv (const GLenum light, const GLenum pname, const GLfloat* params); -GLAPI GLvoid APIENTRY glLighti (const GLenum light, const GLenum pname, const GLint param); -GLAPI GLvoid APIENTRY glLightiv (const GLenum light, const GLenum pname, const GLint* params); -GLAPI GLvoid APIENTRY glLightModelf (const GLenum pname, const GLfloat param); -GLAPI GLvoid APIENTRY glLightModelfv (const GLenum pname, const GLfloat* params); -GLAPI GLvoid APIENTRY glLightModeli (const GLenum pname, const GLint param); -GLAPI GLvoid APIENTRY glLightModeliv (const GLenum pname, const GLint* params); -GLAPI GLvoid APIENTRY glLineStipple (const GLint factor, const GLushort pattern); -GLAPI GLvoid APIENTRY glMaterialf (const GLenum face, const GLenum pname, const GLfloat param); -GLAPI GLvoid APIENTRY glMaterialfv (const GLenum face, const GLenum pname, const GLfloat* params); -GLAPI GLvoid APIENTRY glMateriali (const GLenum face, const GLenum pname, const GLint param); -GLAPI GLvoid APIENTRY glMaterialiv (const GLenum face, const GLenum pname, const GLint* params); -GLAPI GLvoid APIENTRY glPolygonStipple (const GLubyte* mask); -GLAPI GLvoid APIENTRY glShadeModel (const GLenum mode); -GLAPI GLvoid APIENTRY glTexEnvf (const GLenum target, const GLenum pname, const GLfloat param); -GLAPI GLvoid APIENTRY glTexEnvfv (const GLenum target, const GLenum pname, const GLfloat* params); -GLAPI GLvoid APIENTRY glTexEnvi (const GLenum target, const GLenum pname, const GLint param); -GLAPI GLvoid APIENTRY glTexEnviv (const GLenum target, const GLenum pname, const GLint* params); -GLAPI GLvoid APIENTRY glTexGend (const GLenum coord, const GLenum pname, const GLdouble param); -GLAPI GLvoid APIENTRY glTexGendv (const GLenum coord, const GLenum pname, const GLdouble* params); -GLAPI GLvoid APIENTRY glTexGenf (const GLenum coord, const GLenum pname, const GLfloat param); -GLAPI GLvoid APIENTRY glTexGenfv (const GLenum coord, const GLenum pname, const GLfloat* params); -GLAPI GLvoid APIENTRY glTexGeni (const GLenum coord, const GLenum pname, const GLint param); -GLAPI GLvoid APIENTRY glTexGeniv (const GLenum coord, const GLenum pname, const GLint* params); -GLAPI GLvoid APIENTRY glFeedbackBuffer (const GLsizei size, const GLenum type, GLfloat* buffer); -GLAPI GLvoid APIENTRY glSelectBuffer (const GLsizei size, GLuint* buffer); -GLAPI GLint APIENTRY glRenderMode (const GLenum mode); -GLAPI GLvoid APIENTRY glInitNames (void); -GLAPI GLvoid APIENTRY glLoadName (const GLuint name); -GLAPI GLvoid APIENTRY glPassThrough (const GLfloat token); -GLAPI GLvoid APIENTRY glPopName (void); -GLAPI GLvoid APIENTRY glPushName (const GLuint name); -GLAPI GLvoid APIENTRY glClearAccum (const GLfloat red, const GLfloat green, const GLfloat blue, const GLfloat alpha); -GLAPI GLvoid APIENTRY glClearIndex (const GLfloat c); -GLAPI GLvoid APIENTRY glIndexMask (const GLuint mask); -GLAPI GLvoid APIENTRY glAccum (const GLenum op, const GLfloat value); -GLAPI GLvoid APIENTRY glPopAttrib (void); -GLAPI GLvoid APIENTRY glPushAttrib (const GLbitfield mask); -GLAPI GLvoid APIENTRY glMap1d (const GLenum target, const GLdouble u1, const GLdouble u2, const GLint stride, const GLint order, const GLdouble* points); -GLAPI GLvoid APIENTRY glMap1f (const GLenum target, const GLfloat u1, const GLfloat u2, const GLint stride, const GLint order, const GLfloat* points); -GLAPI GLvoid APIENTRY glMap2d (const GLenum target, const GLdouble u1, const GLdouble u2, const GLint ustride, const GLint uorder, const GLdouble v1, const GLdouble v2, const GLint vstride, const GLint vorder, const GLdouble* points); -GLAPI GLvoid APIENTRY glMap2f (const GLenum target, const GLfloat u1, const GLfloat u2, const GLint ustride, const GLint uorder, const GLfloat v1, const GLfloat v2, const GLint vstride, const GLint vorder, const GLfloat* points); -GLAPI GLvoid APIENTRY glMapGrid1d (const GLint un, const GLdouble u1, const GLdouble u2); -GLAPI GLvoid APIENTRY glMapGrid1f (const GLint un, const GLfloat u1, const GLfloat u2); -GLAPI GLvoid APIENTRY glMapGrid2d (const GLint un, const GLdouble u1, const GLdouble u2, const GLint vn, const GLdouble v1, const GLdouble v2); -GLAPI GLvoid APIENTRY glMapGrid2f (const GLint un, const GLfloat u1, const GLfloat u2, const GLint vn, const GLfloat v1, const GLfloat v2); -GLAPI GLvoid APIENTRY glEvalCoord1d (const GLdouble u); -GLAPI GLvoid APIENTRY glEvalCoord1dv (const GLdouble* u); -GLAPI GLvoid APIENTRY glEvalCoord1f (const GLfloat u); -GLAPI GLvoid APIENTRY glEvalCoord1fv (const GLfloat* u); -GLAPI GLvoid APIENTRY glEvalCoord2d (const GLdouble u, const GLdouble v); -GLAPI GLvoid APIENTRY glEvalCoord2dv (const GLdouble* u); -GLAPI GLvoid APIENTRY glEvalCoord2f (const GLfloat u, const GLfloat v); -GLAPI GLvoid APIENTRY glEvalCoord2fv (const GLfloat* u); -GLAPI GLvoid APIENTRY glEvalMesh1 (const GLenum mode, const GLint i1, const GLint i2); -GLAPI GLvoid APIENTRY glEvalPoint1 (const GLint i); -GLAPI GLvoid APIENTRY glEvalMesh2 (const GLenum mode, const GLint i1, const GLint i2, const GLint j1, const GLint j2); -GLAPI GLvoid APIENTRY glEvalPoint2 (const GLint i, const GLint j); -GLAPI GLvoid APIENTRY glAlphaFunc (const GLenum func, const GLfloat ref); -GLAPI GLvoid APIENTRY glPixelZoom (const GLfloat xfactor, const GLfloat yfactor); -GLAPI GLvoid APIENTRY glPixelTransferf (const GLenum pname, const GLfloat param); -GLAPI GLvoid APIENTRY glPixelTransferi (const GLenum pname, const GLint param); -GLAPI GLvoid APIENTRY glPixelMapfv (const GLenum map, const GLint mapsize, const GLfloat* values); -GLAPI GLvoid APIENTRY glPixelMapuiv (const GLenum map, const GLint mapsize, const GLuint* values); -GLAPI GLvoid APIENTRY glPixelMapusv (const GLenum map, const GLint mapsize, const GLushort* values); -GLAPI GLvoid APIENTRY glCopyPixels (const GLint x, const GLint y, const GLsizei width, const GLsizei height, const GLenum type); -GLAPI GLvoid APIENTRY glDrawPixels (const GLsizei width, const GLsizei height, const GLenum format, const GLenum type, const GLvoid* pixels); -GLAPI GLvoid APIENTRY glGetClipPlane (const GLenum plane, GLdouble* equation); -GLAPI GLvoid APIENTRY glGetLightfv (const GLenum light, const GLenum pname, GLfloat* params); -GLAPI GLvoid APIENTRY glGetLightiv (const GLenum light, const GLenum pname, GLint* params); -GLAPI GLvoid APIENTRY glGetMapdv (const GLenum target, const GLenum query, GLdouble* v); -GLAPI GLvoid APIENTRY glGetMapfv (const GLenum target, const GLenum query, GLfloat* v); -GLAPI GLvoid APIENTRY glGetMapiv (const GLenum target, const GLenum query, GLint* v); -GLAPI GLvoid APIENTRY glGetMaterialfv (const GLenum face, const GLenum pname, GLfloat* params); -GLAPI GLvoid APIENTRY glGetMaterialiv (const GLenum face, const GLenum pname, GLint* params); -GLAPI GLvoid APIENTRY glGetPixelMapfv (const GLenum map, GLfloat* values); -GLAPI GLvoid APIENTRY glGetPixelMapuiv (const GLenum map, GLuint* values); -GLAPI GLvoid APIENTRY glGetPixelMapusv (const GLenum map, GLushort* values); -GLAPI GLvoid APIENTRY glGetPolygonStipple (GLubyte* mask); -GLAPI GLvoid APIENTRY glGetTexEnvfv (const GLenum target, const GLenum pname, GLfloat* params); -GLAPI GLvoid APIENTRY glGetTexEnviv (const GLenum target, const GLenum pname, GLint* params); -GLAPI GLvoid APIENTRY glGetTexGendv (const GLenum coord, const GLenum pname, GLdouble* params); -GLAPI GLvoid APIENTRY glGetTexGenfv (const GLenum coord, const GLenum pname, GLfloat* params); -GLAPI GLvoid APIENTRY glGetTexGeniv (const GLenum coord, const GLenum pname, GLint* params); -GLAPI GLboolean APIENTRY glIsList (const GLuint list); -GLAPI GLvoid APIENTRY glFrustum (const GLdouble left, const GLdouble right, const GLdouble bottom, const GLdouble top, const GLdouble zNear, const GLdouble zFar); -GLAPI GLvoid APIENTRY glLoadIdentity (void); -GLAPI GLvoid APIENTRY glLoadMatrixf (const GLfloat* m); -GLAPI GLvoid APIENTRY glLoadMatrixd (const GLdouble* m); -GLAPI GLvoid APIENTRY glMatrixMode (const GLenum mode); -GLAPI GLvoid APIENTRY glMultMatrixf (const GLfloat* m); -GLAPI GLvoid APIENTRY glMultMatrixd (const GLdouble* m); -GLAPI GLvoid APIENTRY glOrtho (const GLdouble left, const GLdouble right, const GLdouble bottom, const GLdouble top, const GLdouble zNear, const GLdouble zFar); -GLAPI GLvoid APIENTRY glPopMatrix (void); -GLAPI GLvoid APIENTRY glPushMatrix (void); -GLAPI GLvoid APIENTRY glRotated (const GLdouble angle, const GLdouble x, const GLdouble y, const GLdouble z); -GLAPI GLvoid APIENTRY glRotatef (const GLfloat angle, const GLfloat x, const GLfloat y, const GLfloat z); -GLAPI GLvoid APIENTRY glScaled (const GLdouble x, const GLdouble y, const GLdouble z); -GLAPI GLvoid APIENTRY glScalef (const GLfloat x, const GLfloat y, const GLfloat z); -GLAPI GLvoid APIENTRY glTranslated (const GLdouble x, const GLdouble y, const GLdouble z); -GLAPI GLvoid APIENTRY glTranslatef (const GLfloat x, const GLfloat y, const GLfloat z); +GLAPI void APIENTRY glGetFloatv (GLenum pname, GLfloat * data); +GLAPI void APIENTRY glGetIntegerv (GLenum pname, GLint * data); +GLAPI void APIENTRY glGetLightfv (GLenum light, GLenum pname, GLfloat * params); +GLAPI void APIENTRY glGetLightiv (GLenum light, GLenum pname, GLint * params); +GLAPI void APIENTRY glGetMapdv (GLenum target, GLenum query, GLdouble * v); +GLAPI void APIENTRY glGetMapfv (GLenum target, GLenum query, GLfloat * v); +GLAPI void APIENTRY glGetMapiv (GLenum target, GLenum query, GLint * v); +GLAPI void APIENTRY glGetMaterialfv (GLenum face, GLenum pname, GLfloat * params); +GLAPI void APIENTRY glGetMaterialiv (GLenum face, GLenum pname, GLint * params); +GLAPI void APIENTRY glGetPixelMapfv (GLenum map, GLfloat * values); +GLAPI void APIENTRY glGetPixelMapuiv (GLenum map, GLuint * values); +GLAPI void APIENTRY glGetPixelMapusv (GLenum map, GLushort * values); +GLAPI void APIENTRY glGetPolygonStipple (GLubyte * mask); +GLAPI const GLubyte * APIENTRY glGetString (GLenum name); +GLAPI void APIENTRY glGetTexEnvfv (GLenum target, GLenum pname, GLfloat * params); +GLAPI void APIENTRY glGetTexEnviv (GLenum target, GLenum pname, GLint * params); +GLAPI void APIENTRY glGetTexGendv (GLenum coord, GLenum pname, GLdouble * params); +GLAPI void APIENTRY glGetTexGenfv (GLenum coord, GLenum pname, GLfloat * params); +GLAPI void APIENTRY glGetTexGeniv (GLenum coord, GLenum pname, GLint * params); +GLAPI void APIENTRY glGetTexImage (GLenum target, GLint level, GLenum format, GLenum type, void * pixels); +GLAPI void APIENTRY glGetTexLevelParameterfv (GLenum target, GLint level, GLenum pname, GLfloat * params); +GLAPI void APIENTRY glGetTexLevelParameteriv (GLenum target, GLint level, GLenum pname, GLint * params); +GLAPI void APIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat * params); +GLAPI void APIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint * params); +GLAPI void APIENTRY glHint (GLenum target, GLenum mode); +GLAPI void APIENTRY glIndexMask (GLuint mask); +GLAPI void APIENTRY glIndexd (GLdouble c); +GLAPI void APIENTRY glIndexdv (const GLdouble * c); +GLAPI void APIENTRY glIndexf (GLfloat c); +GLAPI void APIENTRY glIndexfv (const GLfloat * c); +GLAPI void APIENTRY glIndexi (GLint c); +GLAPI void APIENTRY glIndexiv (const GLint * c); +GLAPI void APIENTRY glIndexs (GLshort c); +GLAPI void APIENTRY glIndexsv (const GLshort * c); +GLAPI void APIENTRY glInitNames (void); +GLAPI GLboolean APIENTRY glIsEnabled (GLenum cap); +GLAPI GLboolean APIENTRY glIsList (GLuint list); +GLAPI void APIENTRY glLightModelf (GLenum pname, GLfloat param); +GLAPI void APIENTRY glLightModelfv (GLenum pname, const GLfloat * params); +GLAPI void APIENTRY glLightModeli (GLenum pname, GLint param); +GLAPI void APIENTRY glLightModeliv (GLenum pname, const GLint * params); +GLAPI void APIENTRY glLightf (GLenum light, GLenum pname, GLfloat param); +GLAPI void APIENTRY glLightfv (GLenum light, GLenum pname, const GLfloat * params); +GLAPI void APIENTRY glLighti (GLenum light, GLenum pname, GLint param); +GLAPI void APIENTRY glLightiv (GLenum light, GLenum pname, const GLint * params); +GLAPI void APIENTRY glLineStipple (GLint factor, GLushort pattern); +GLAPI void APIENTRY glLineWidth (GLfloat width); +GLAPI void APIENTRY glListBase (GLuint base); +GLAPI void APIENTRY glLoadIdentity (void); +GLAPI void APIENTRY glLoadMatrixd (const GLdouble * m); +GLAPI void APIENTRY glLoadMatrixf (const GLfloat * m); +GLAPI void APIENTRY glLoadName (GLuint name); +GLAPI void APIENTRY glLogicOp (GLenum opcode); +GLAPI void APIENTRY glMap1d (GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble * points); +GLAPI void APIENTRY glMap1f (GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat * points); +GLAPI void APIENTRY glMap2d (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble * points); +GLAPI void APIENTRY glMap2f (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat * points); +GLAPI void APIENTRY glMapGrid1d (GLint un, GLdouble u1, GLdouble u2); +GLAPI void APIENTRY glMapGrid1f (GLint un, GLfloat u1, GLfloat u2); +GLAPI void APIENTRY glMapGrid2d (GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2); +GLAPI void APIENTRY glMapGrid2f (GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2); +GLAPI void APIENTRY glMaterialf (GLenum face, GLenum pname, GLfloat param); +GLAPI void APIENTRY glMaterialfv (GLenum face, GLenum pname, const GLfloat * params); +GLAPI void APIENTRY glMateriali (GLenum face, GLenum pname, GLint param); +GLAPI void APIENTRY glMaterialiv (GLenum face, GLenum pname, const GLint * params); +GLAPI void APIENTRY glMatrixMode (GLenum mode); +GLAPI void APIENTRY glMultMatrixd (const GLdouble * m); +GLAPI void APIENTRY glMultMatrixf (const GLfloat * m); +GLAPI void APIENTRY glNewList (GLuint list, GLenum mode); +GLAPI void APIENTRY glNormal3b (GLbyte nx, GLbyte ny, GLbyte nz); +GLAPI void APIENTRY glNormal3bv (const GLbyte * v); +GLAPI void APIENTRY glNormal3d (GLdouble nx, GLdouble ny, GLdouble nz); +GLAPI void APIENTRY glNormal3dv (const GLdouble * v); +GLAPI void APIENTRY glNormal3f (GLfloat nx, GLfloat ny, GLfloat nz); +GLAPI void APIENTRY glNormal3fv (const GLfloat * v); +GLAPI void APIENTRY glNormal3i (GLint nx, GLint ny, GLint nz); +GLAPI void APIENTRY glNormal3iv (const GLint * v); +GLAPI void APIENTRY glNormal3s (GLshort nx, GLshort ny, GLshort nz); +GLAPI void APIENTRY glNormal3sv (const GLshort * v); +GLAPI void APIENTRY glOrtho (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); +GLAPI void APIENTRY glPassThrough (GLfloat token); +GLAPI void APIENTRY glPixelMapfv (GLenum map, GLsizei mapsize, const GLfloat * values); +GLAPI void APIENTRY glPixelMapuiv (GLenum map, GLsizei mapsize, const GLuint * values); +GLAPI void APIENTRY glPixelMapusv (GLenum map, GLsizei mapsize, const GLushort * values); +GLAPI void APIENTRY glPixelStoref (GLenum pname, GLfloat param); +GLAPI void APIENTRY glPixelStorei (GLenum pname, GLint param); +GLAPI void APIENTRY glPixelTransferf (GLenum pname, GLfloat param); +GLAPI void APIENTRY glPixelTransferi (GLenum pname, GLint param); +GLAPI void APIENTRY glPixelZoom (GLfloat xfactor, GLfloat yfactor); +GLAPI void APIENTRY glPointSize (GLfloat size); +GLAPI void APIENTRY glPolygonMode (GLenum face, GLenum mode); +GLAPI void APIENTRY glPolygonStipple (const GLubyte * mask); +GLAPI void APIENTRY glPopAttrib (void); +GLAPI void APIENTRY glPopMatrix (void); +GLAPI void APIENTRY glPopName (void); +GLAPI void APIENTRY glPushAttrib (GLbitfield mask); +GLAPI void APIENTRY glPushMatrix (void); +GLAPI void APIENTRY glPushName (GLuint name); +GLAPI void APIENTRY glRasterPos2d (GLdouble x, GLdouble y); +GLAPI void APIENTRY glRasterPos2dv (const GLdouble * v); +GLAPI void APIENTRY glRasterPos2f (GLfloat x, GLfloat y); +GLAPI void APIENTRY glRasterPos2fv (const GLfloat * v); +GLAPI void APIENTRY glRasterPos2i (GLint x, GLint y); +GLAPI void APIENTRY glRasterPos2iv (const GLint * v); +GLAPI void APIENTRY glRasterPos2s (GLshort x, GLshort y); +GLAPI void APIENTRY glRasterPos2sv (const GLshort * v); +GLAPI void APIENTRY glRasterPos3d (GLdouble x, GLdouble y, GLdouble z); +GLAPI void APIENTRY glRasterPos3dv (const GLdouble * v); +GLAPI void APIENTRY glRasterPos3f (GLfloat x, GLfloat y, GLfloat z); +GLAPI void APIENTRY glRasterPos3fv (const GLfloat * v); +GLAPI void APIENTRY glRasterPos3i (GLint x, GLint y, GLint z); +GLAPI void APIENTRY glRasterPos3iv (const GLint * v); +GLAPI void APIENTRY glRasterPos3s (GLshort x, GLshort y, GLshort z); +GLAPI void APIENTRY glRasterPos3sv (const GLshort * v); +GLAPI void APIENTRY glRasterPos4d (GLdouble x, GLdouble y, GLdouble z, GLdouble w); +GLAPI void APIENTRY glRasterPos4dv (const GLdouble * v); +GLAPI void APIENTRY glRasterPos4f (GLfloat x, GLfloat y, GLfloat z, GLfloat w); +GLAPI void APIENTRY glRasterPos4fv (const GLfloat * v); +GLAPI void APIENTRY glRasterPos4i (GLint x, GLint y, GLint z, GLint w); +GLAPI void APIENTRY glRasterPos4iv (const GLint * v); +GLAPI void APIENTRY glRasterPos4s (GLshort x, GLshort y, GLshort z, GLshort w); +GLAPI void APIENTRY glRasterPos4sv (const GLshort * v); +GLAPI void APIENTRY glReadBuffer (GLenum src); +GLAPI void APIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void * pixels); +GLAPI void APIENTRY glRectd (GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2); +GLAPI void APIENTRY glRectdv (const GLdouble * v1, const GLdouble * v2); +GLAPI void APIENTRY glRectf (GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2); +GLAPI void APIENTRY glRectfv (const GLfloat * v1, const GLfloat * v2); +GLAPI void APIENTRY glRecti (GLint x1, GLint y1, GLint x2, GLint y2); +GLAPI void APIENTRY glRectiv (const GLint * v1, const GLint * v2); +GLAPI void APIENTRY glRects (GLshort x1, GLshort y1, GLshort x2, GLshort y2); +GLAPI void APIENTRY glRectsv (const GLshort * v1, const GLshort * v2); +GLAPI GLint APIENTRY glRenderMode (GLenum mode); +GLAPI void APIENTRY glRotated (GLdouble angle, GLdouble x, GLdouble y, GLdouble z); +GLAPI void APIENTRY glRotatef (GLfloat angle, GLfloat x, GLfloat y, GLfloat z); +GLAPI void APIENTRY glScaled (GLdouble x, GLdouble y, GLdouble z); +GLAPI void APIENTRY glScalef (GLfloat x, GLfloat y, GLfloat z); +GLAPI void APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height); +GLAPI void APIENTRY glSelectBuffer (GLsizei size, GLuint * buffer); +GLAPI void APIENTRY glShadeModel (GLenum mode); +GLAPI void APIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask); +GLAPI void APIENTRY glStencilMask (GLuint mask); +GLAPI void APIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass); +GLAPI void APIENTRY glTexCoord1d (GLdouble s); +GLAPI void APIENTRY glTexCoord1dv (const GLdouble * v); +GLAPI void APIENTRY glTexCoord1f (GLfloat s); +GLAPI void APIENTRY glTexCoord1fv (const GLfloat * v); +GLAPI void APIENTRY glTexCoord1i (GLint s); +GLAPI void APIENTRY glTexCoord1iv (const GLint * v); +GLAPI void APIENTRY glTexCoord1s (GLshort s); +GLAPI void APIENTRY glTexCoord1sv (const GLshort * v); +GLAPI void APIENTRY glTexCoord2d (GLdouble s, GLdouble t); +GLAPI void APIENTRY glTexCoord2dv (const GLdouble * v); +GLAPI void APIENTRY glTexCoord2f (GLfloat s, GLfloat t); +GLAPI void APIENTRY glTexCoord2fv (const GLfloat * v); +GLAPI void APIENTRY glTexCoord2i (GLint s, GLint t); +GLAPI void APIENTRY glTexCoord2iv (const GLint * v); +GLAPI void APIENTRY glTexCoord2s (GLshort s, GLshort t); +GLAPI void APIENTRY glTexCoord2sv (const GLshort * v); +GLAPI void APIENTRY glTexCoord3d (GLdouble s, GLdouble t, GLdouble r); +GLAPI void APIENTRY glTexCoord3dv (const GLdouble * v); +GLAPI void APIENTRY glTexCoord3f (GLfloat s, GLfloat t, GLfloat r); +GLAPI void APIENTRY glTexCoord3fv (const GLfloat * v); +GLAPI void APIENTRY glTexCoord3i (GLint s, GLint t, GLint r); +GLAPI void APIENTRY glTexCoord3iv (const GLint * v); +GLAPI void APIENTRY glTexCoord3s (GLshort s, GLshort t, GLshort r); +GLAPI void APIENTRY glTexCoord3sv (const GLshort * v); +GLAPI void APIENTRY glTexCoord4d (GLdouble s, GLdouble t, GLdouble r, GLdouble q); +GLAPI void APIENTRY glTexCoord4dv (const GLdouble * v); +GLAPI void APIENTRY glTexCoord4f (GLfloat s, GLfloat t, GLfloat r, GLfloat q); +GLAPI void APIENTRY glTexCoord4fv (const GLfloat * v); +GLAPI void APIENTRY glTexCoord4i (GLint s, GLint t, GLint r, GLint q); +GLAPI void APIENTRY glTexCoord4iv (const GLint * v); +GLAPI void APIENTRY glTexCoord4s (GLshort s, GLshort t, GLshort r, GLshort q); +GLAPI void APIENTRY glTexCoord4sv (const GLshort * v); +GLAPI void APIENTRY glTexEnvf (GLenum target, GLenum pname, GLfloat param); +GLAPI void APIENTRY glTexEnvfv (GLenum target, GLenum pname, const GLfloat * params); +GLAPI void APIENTRY glTexEnvi (GLenum target, GLenum pname, GLint param); +GLAPI void APIENTRY glTexEnviv (GLenum target, GLenum pname, const GLint * params); +GLAPI void APIENTRY glTexGend (GLenum coord, GLenum pname, GLdouble param); +GLAPI void APIENTRY glTexGendv (GLenum coord, GLenum pname, const GLdouble * params); +GLAPI void APIENTRY glTexGenf (GLenum coord, GLenum pname, GLfloat param); +GLAPI void APIENTRY glTexGenfv (GLenum coord, GLenum pname, const GLfloat * params); +GLAPI void APIENTRY glTexGeni (GLenum coord, GLenum pname, GLint param); +GLAPI void APIENTRY glTexGeniv (GLenum coord, GLenum pname, const GLint * params); +GLAPI void APIENTRY glTexImage1D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void * pixels); +GLAPI void APIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void * pixels); +GLAPI void APIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param); +GLAPI void APIENTRY glTexParameterfv (GLenum target, GLenum pname, const GLfloat * params); +GLAPI void APIENTRY glTexParameteri (GLenum target, GLenum pname, GLint param); +GLAPI void APIENTRY glTexParameteriv (GLenum target, GLenum pname, const GLint * params); +GLAPI void APIENTRY glTranslated (GLdouble x, GLdouble y, GLdouble z); +GLAPI void APIENTRY glTranslatef (GLfloat x, GLfloat y, GLfloat z); +GLAPI void APIENTRY glVertex2d (GLdouble x, GLdouble y); +GLAPI void APIENTRY glVertex2dv (const GLdouble * v); +GLAPI void APIENTRY glVertex2f (GLfloat x, GLfloat y); +GLAPI void APIENTRY glVertex2fv (const GLfloat * v); +GLAPI void APIENTRY glVertex2i (GLint x, GLint y); +GLAPI void APIENTRY glVertex2iv (const GLint * v); +GLAPI void APIENTRY glVertex2s (GLshort x, GLshort y); +GLAPI void APIENTRY glVertex2sv (const GLshort * v); +GLAPI void APIENTRY glVertex3d (GLdouble x, GLdouble y, GLdouble z); +GLAPI void APIENTRY glVertex3dv (const GLdouble * v); +GLAPI void APIENTRY glVertex3f (GLfloat x, GLfloat y, GLfloat z); +GLAPI void APIENTRY glVertex3fv (const GLfloat * v); +GLAPI void APIENTRY glVertex3i (GLint x, GLint y, GLint z); +GLAPI void APIENTRY glVertex3iv (const GLint * v); +GLAPI void APIENTRY glVertex3s (GLshort x, GLshort y, GLshort z); +GLAPI void APIENTRY glVertex3sv (const GLshort * v); +GLAPI void APIENTRY glVertex4d (GLdouble x, GLdouble y, GLdouble z, GLdouble w); +GLAPI void APIENTRY glVertex4dv (const GLdouble * v); +GLAPI void APIENTRY glVertex4f (GLfloat x, GLfloat y, GLfloat z, GLfloat w); +GLAPI void APIENTRY glVertex4fv (const GLfloat * v); +GLAPI void APIENTRY glVertex4i (GLint x, GLint y, GLint z, GLint w); +GLAPI void APIENTRY glVertex4iv (const GLint * v); +GLAPI void APIENTRY glVertex4s (GLshort x, GLshort y, GLshort z, GLshort w); +GLAPI void APIENTRY glVertex4sv (const GLshort * v); +GLAPI void APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height); /* GL_VERSION_1_1 */ -GLAPI GLvoid APIENTRY glDrawArrays (const GLenum mode, const GLint first, const GLsizei count); -GLAPI GLvoid APIENTRY glDrawElements (const GLenum mode, const GLsizei count, const GLenum type, const GLvoid* indices); -GLAPI GLvoid APIENTRY glGetPointerv (const GLenum pname, GLvoid** params); -GLAPI GLvoid APIENTRY glPolygonOffset (const GLfloat factor, const GLfloat units); -GLAPI GLvoid APIENTRY glCopyTexImage1D (const GLenum target, const GLint level, const GLenum internalformat, const GLint x, const GLint y, const GLsizei width, const GLint border); -GLAPI GLvoid APIENTRY glCopyTexImage2D (const GLenum target, const GLint level, const GLenum internalformat, const GLint x, const GLint y, const GLsizei width, const GLsizei height, const GLint border); -GLAPI GLvoid APIENTRY glCopyTexSubImage1D (const GLenum target, const GLint level, const GLint xoffset, const GLint x, const GLint y, const GLsizei width); -GLAPI GLvoid APIENTRY glCopyTexSubImage2D (const GLenum target, const GLint level, const GLint xoffset, const GLint yoffset, const GLint x, const GLint y, const GLsizei width, const GLsizei height); -GLAPI GLvoid APIENTRY glTexSubImage1D (const GLenum target, const GLint level, const GLint xoffset, const GLsizei width, const GLenum format, const GLenum type, const GLvoid* pixels); -GLAPI GLvoid APIENTRY glTexSubImage2D (const GLenum target, const GLint level, const GLint xoffset, const GLint yoffset, const GLsizei width, const GLsizei height, const GLenum format, const GLenum type, const GLvoid* pixels); -GLAPI GLvoid APIENTRY glBindTexture (const GLenum target, const GLuint texture); -GLAPI GLvoid APIENTRY glDeleteTextures (const GLsizei n, const GLuint* textures); -GLAPI GLvoid APIENTRY glGenTextures (const GLsizei n, GLuint* textures); -GLAPI GLboolean APIENTRY glIsTexture (const GLuint texture); -GLAPI GLvoid APIENTRY glArrayElement (const GLint i); -GLAPI GLvoid APIENTRY glColorPointer (const GLint size, const GLenum type, const GLsizei stride, const GLvoid* pointer); -GLAPI GLvoid APIENTRY glDisableClientState (const GLenum array); -GLAPI GLvoid APIENTRY glEdgeFlagPointer (const GLsizei stride, const GLvoid* pointer); -GLAPI GLvoid APIENTRY glEnableClientState (const GLenum array); -GLAPI GLvoid APIENTRY glIndexPointer (const GLenum type, const GLsizei stride, const GLvoid* pointer); -GLAPI GLvoid APIENTRY glInterleavedArrays (const GLenum format, const GLsizei stride, const GLvoid* pointer); -GLAPI GLvoid APIENTRY glNormalPointer (const GLenum type, const GLsizei stride, const GLvoid* pointer); -GLAPI GLvoid APIENTRY glTexCoordPointer (const GLint size, const GLenum type, const GLsizei stride, const GLvoid* pointer); -GLAPI GLvoid APIENTRY glVertexPointer (const GLint size, const GLenum type, const GLsizei stride, const GLvoid* pointer); -GLAPI GLboolean APIENTRY glAreTexturesResident (const GLsizei n, const GLuint* textures, GLboolean* residences); -GLAPI GLvoid APIENTRY glPrioritizeTextures (const GLsizei n, const GLuint* textures, const GLfloat* priorities); -GLAPI GLvoid APIENTRY glIndexub (const GLubyte c); -GLAPI GLvoid APIENTRY glIndexubv (const GLubyte* c); -GLAPI GLvoid APIENTRY glPopClientAttrib (void); -GLAPI GLvoid APIENTRY glPushClientAttrib (const GLbitfield mask); +GLAPI GLboolean APIENTRY glAreTexturesResident (GLsizei n, const GLuint * textures, GLboolean * residences); +GLAPI void APIENTRY glArrayElement (GLint i); +GLAPI void APIENTRY glBindTexture (GLenum target, GLuint texture); +GLAPI void APIENTRY glColorPointer (GLint size, GLenum type, GLsizei stride, const void * pointer); +GLAPI void APIENTRY glCopyTexImage1D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); +GLAPI void APIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); +GLAPI void APIENTRY glCopyTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); +GLAPI void APIENTRY glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); +GLAPI void APIENTRY glDeleteTextures (GLsizei n, const GLuint * textures); +GLAPI void APIENTRY glDisableClientState (GLenum array); +GLAPI void APIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count); +GLAPI void APIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const void * indices); +GLAPI void APIENTRY glEdgeFlagPointer (GLsizei stride, const void * pointer); +GLAPI void APIENTRY glEnableClientState (GLenum array); +GLAPI void APIENTRY glGenTextures (GLsizei n, GLuint * textures); +GLAPI void APIENTRY glGetPointerv (GLenum pname, void ** params); +GLAPI void APIENTRY glIndexPointer (GLenum type, GLsizei stride, const void * pointer); +GLAPI void APIENTRY glIndexub (GLubyte c); +GLAPI void APIENTRY glIndexubv (const GLubyte * c); +GLAPI void APIENTRY glInterleavedArrays (GLenum format, GLsizei stride, const void * pointer); +GLAPI GLboolean APIENTRY glIsTexture (GLuint texture); +GLAPI void APIENTRY glNormalPointer (GLenum type, GLsizei stride, const void * pointer); +GLAPI void APIENTRY glPolygonOffset (GLfloat factor, GLfloat units); +GLAPI void APIENTRY glPopClientAttrib (void); +GLAPI void APIENTRY glPrioritizeTextures (GLsizei n, const GLuint * textures, const GLfloat * priorities); +GLAPI void APIENTRY glPushClientAttrib (GLbitfield mask); +GLAPI void APIENTRY glTexCoordPointer (GLint size, GLenum type, GLsizei stride, const void * pointer); +GLAPI void APIENTRY glTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void * pixels); +GLAPI void APIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * pixels); +GLAPI void APIENTRY glVertexPointer (GLint size, GLenum type, GLsizei stride, const void * pointer); /* GL_VERSION_1_2 */ -typedef GLvoid (APIENTRY PFNGLBLENDCOLOR_PROC (const GLfloat red, const GLfloat green, const GLfloat blue, const GLfloat alpha)); -typedef GLvoid (APIENTRY PFNGLBLENDEQUATION_PROC (const GLenum mode)); -typedef GLvoid (APIENTRY PFNGLDRAWRANGEELEMENTS_PROC (const GLenum mode, const GLuint start, const GLuint end, const GLsizei count, const GLenum type, const GLvoid* indices)); -typedef GLvoid (APIENTRY PFNGLTEXIMAGE3D_PROC (const GLenum target, const GLint level, const GLint internalformat, const GLsizei width, const GLsizei height, const GLsizei depth, const GLint border, const GLenum format, const GLenum type, const GLvoid* pixels)); -typedef GLvoid (APIENTRY PFNGLTEXSUBIMAGE3D_PROC (const GLenum target, const GLint level, const GLint xoffset, const GLint yoffset, const GLint zoffset, const GLsizei width, const GLsizei height, const GLsizei depth, const GLenum format, const GLenum type, const GLvoid* pixels)); -typedef GLvoid (APIENTRY PFNGLCOPYTEXSUBIMAGE3D_PROC (const GLenum target, const GLint level, const GLint xoffset, const GLint yoffset, const GLint zoffset, const GLint x, const GLint y, const GLsizei width, const GLsizei height)); -typedef GLvoid (APIENTRY PFNGLCOLORTABLE_PROC (const GLenum target, const GLenum internalformat, const GLsizei width, const GLenum format, const GLenum type, const GLvoid* table)); -typedef GLvoid (APIENTRY PFNGLCOLORTABLEPARAMETERFV_PROC (const GLenum target, const GLenum pname, const GLfloat* params)); -typedef GLvoid (APIENTRY PFNGLCOLORTABLEPARAMETERIV_PROC (const GLenum target, const GLenum pname, const GLint* params)); -typedef GLvoid (APIENTRY PFNGLCOPYCOLORTABLE_PROC (const GLenum target, const GLenum internalformat, const GLint x, const GLint y, const GLsizei width)); -typedef GLvoid (APIENTRY PFNGLGETCOLORTABLE_PROC (const GLenum target, const GLenum format, const GLenum type, GLvoid* table)); -typedef GLvoid (APIENTRY PFNGLGETCOLORTABLEPARAMETERFV_PROC (const GLenum target, const GLenum pname, GLfloat* params)); -typedef GLvoid (APIENTRY PFNGLGETCOLORTABLEPARAMETERIV_PROC (const GLenum target, const GLenum pname, GLint* params)); -typedef GLvoid (APIENTRY PFNGLCOLORSUBTABLE_PROC (const GLenum target, const GLsizei start, const GLsizei count, const GLenum format, const GLenum type, const GLvoid* data)); -typedef GLvoid (APIENTRY PFNGLCOPYCOLORSUBTABLE_PROC (const GLenum target, const GLsizei start, const GLint x, const GLint y, const GLsizei width)); -typedef GLvoid (APIENTRY PFNGLCONVOLUTIONFILTER1D_PROC (const GLenum target, const GLenum internalformat, const GLsizei width, const GLenum format, const GLenum type, const GLvoid* image)); -typedef GLvoid (APIENTRY PFNGLCONVOLUTIONFILTER2D_PROC (const GLenum target, const GLenum internalformat, const GLsizei width, const GLsizei height, const GLenum format, const GLenum type, const GLvoid* image)); -typedef GLvoid (APIENTRY PFNGLCONVOLUTIONPARAMETERF_PROC (const GLenum target, const GLenum pname, const GLfloat params)); -typedef GLvoid (APIENTRY PFNGLCONVOLUTIONPARAMETERFV_PROC (const GLenum target, const GLenum pname, const GLfloat* params)); -typedef GLvoid (APIENTRY PFNGLCONVOLUTIONPARAMETERI_PROC (const GLenum target, const GLenum pname, const GLint params)); -typedef GLvoid (APIENTRY PFNGLCONVOLUTIONPARAMETERIV_PROC (const GLenum target, const GLenum pname, const GLint* params)); -typedef GLvoid (APIENTRY PFNGLCOPYCONVOLUTIONFILTER1D_PROC (const GLenum target, const GLenum internalformat, const GLint x, const GLint y, const GLsizei width)); -typedef GLvoid (APIENTRY PFNGLCOPYCONVOLUTIONFILTER2D_PROC (const GLenum target, const GLenum internalformat, const GLint x, const GLint y, const GLsizei width, const GLsizei height)); -typedef GLvoid (APIENTRY PFNGLGETCONVOLUTIONFILTER_PROC (const GLenum target, const GLenum format, const GLenum type, GLvoid* image)); -typedef GLvoid (APIENTRY PFNGLGETCONVOLUTIONPARAMETERFV_PROC (const GLenum target, const GLenum pname, GLfloat* params)); -typedef GLvoid (APIENTRY PFNGLGETCONVOLUTIONPARAMETERIV_PROC (const GLenum target, const GLenum pname, GLint* params)); -typedef GLvoid (APIENTRY PFNGLGETSEPARABLEFILTER_PROC (const GLenum target, const GLenum format, const GLenum type, GLvoid* row, GLvoid* column, GLvoid* span)); -typedef GLvoid (APIENTRY PFNGLSEPARABLEFILTER2D_PROC (const GLenum target, const GLenum internalformat, const GLsizei width, const GLsizei height, const GLenum format, const GLenum type, const GLvoid* row, const GLvoid* column)); -typedef GLvoid (APIENTRY PFNGLGETHISTOGRAM_PROC (const GLenum target, const GLboolean reset, const GLenum format, const GLenum type, GLvoid* values)); -typedef GLvoid (APIENTRY PFNGLGETHISTOGRAMPARAMETERFV_PROC (const GLenum target, const GLenum pname, GLfloat* params)); -typedef GLvoid (APIENTRY PFNGLGETHISTOGRAMPARAMETERIV_PROC (const GLenum target, const GLenum pname, GLint* params)); -typedef GLvoid (APIENTRY PFNGLGETMINMAX_PROC (const GLenum target, const GLboolean reset, const GLenum format, const GLenum type, GLvoid* values)); -typedef GLvoid (APIENTRY PFNGLGETMINMAXPARAMETERFV_PROC (const GLenum target, const GLenum pname, GLfloat* params)); -typedef GLvoid (APIENTRY PFNGLGETMINMAXPARAMETERIV_PROC (const GLenum target, const GLenum pname, GLint* params)); -typedef GLvoid (APIENTRY PFNGLHISTOGRAM_PROC (const GLenum target, const GLsizei width, const GLenum internalformat, const GLboolean sink)); -typedef GLvoid (APIENTRY PFNGLMINMAX_PROC (const GLenum target, const GLenum internalformat, const GLboolean sink)); -typedef GLvoid (APIENTRY PFNGLRESETHISTOGRAM_PROC (const GLenum target)); -typedef GLvoid (APIENTRY PFNGLRESETMINMAX_PROC (const GLenum target)); +typedef void (APIENTRY PFNGLCOPYTEXSUBIMAGE3D_PROC (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height)); +typedef void (APIENTRY PFNGLDRAWRANGEELEMENTS_PROC (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void * indices)); +typedef void (APIENTRY PFNGLTEXIMAGE3D_PROC (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void * pixels)); +typedef void (APIENTRY PFNGLTEXSUBIMAGE3D_PROC (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * pixels)); -GLAPI PFNGLBLENDCOLOR_PROC* glpfBlendColor; -GLAPI PFNGLBLENDEQUATION_PROC* glpfBlendEquation; +GLAPI PFNGLCOPYTEXSUBIMAGE3D_PROC* glpfCopyTexSubImage3D; GLAPI PFNGLDRAWRANGEELEMENTS_PROC* glpfDrawRangeElements; GLAPI PFNGLTEXIMAGE3D_PROC* glpfTexImage3D; GLAPI PFNGLTEXSUBIMAGE3D_PROC* glpfTexSubImage3D; -GLAPI PFNGLCOPYTEXSUBIMAGE3D_PROC* glpfCopyTexSubImage3D; -GLAPI PFNGLCOLORTABLE_PROC* glpfColorTable; -GLAPI PFNGLCOLORTABLEPARAMETERFV_PROC* glpfColorTableParameterfv; -GLAPI PFNGLCOLORTABLEPARAMETERIV_PROC* glpfColorTableParameteriv; -GLAPI PFNGLCOPYCOLORTABLE_PROC* glpfCopyColorTable; -GLAPI PFNGLGETCOLORTABLE_PROC* glpfGetColorTable; -GLAPI PFNGLGETCOLORTABLEPARAMETERFV_PROC* glpfGetColorTableParameterfv; -GLAPI PFNGLGETCOLORTABLEPARAMETERIV_PROC* glpfGetColorTableParameteriv; -GLAPI PFNGLCOLORSUBTABLE_PROC* glpfColorSubTable; -GLAPI PFNGLCOPYCOLORSUBTABLE_PROC* glpfCopyColorSubTable; -GLAPI PFNGLCONVOLUTIONFILTER1D_PROC* glpfConvolutionFilter1D; -GLAPI PFNGLCONVOLUTIONFILTER2D_PROC* glpfConvolutionFilter2D; -GLAPI PFNGLCONVOLUTIONPARAMETERF_PROC* glpfConvolutionParameterf; -GLAPI PFNGLCONVOLUTIONPARAMETERFV_PROC* glpfConvolutionParameterfv; -GLAPI PFNGLCONVOLUTIONPARAMETERI_PROC* glpfConvolutionParameteri; -GLAPI PFNGLCONVOLUTIONPARAMETERIV_PROC* glpfConvolutionParameteriv; -GLAPI PFNGLCOPYCONVOLUTIONFILTER1D_PROC* glpfCopyConvolutionFilter1D; -GLAPI PFNGLCOPYCONVOLUTIONFILTER2D_PROC* glpfCopyConvolutionFilter2D; -GLAPI PFNGLGETCONVOLUTIONFILTER_PROC* glpfGetConvolutionFilter; -GLAPI PFNGLGETCONVOLUTIONPARAMETERFV_PROC* glpfGetConvolutionParameterfv; -GLAPI PFNGLGETCONVOLUTIONPARAMETERIV_PROC* glpfGetConvolutionParameteriv; -GLAPI PFNGLGETSEPARABLEFILTER_PROC* glpfGetSeparableFilter; -GLAPI PFNGLSEPARABLEFILTER2D_PROC* glpfSeparableFilter2D; -GLAPI PFNGLGETHISTOGRAM_PROC* glpfGetHistogram; -GLAPI PFNGLGETHISTOGRAMPARAMETERFV_PROC* glpfGetHistogramParameterfv; -GLAPI PFNGLGETHISTOGRAMPARAMETERIV_PROC* glpfGetHistogramParameteriv; -GLAPI PFNGLGETMINMAX_PROC* glpfGetMinmax; -GLAPI PFNGLGETMINMAXPARAMETERFV_PROC* glpfGetMinmaxParameterfv; -GLAPI PFNGLGETMINMAXPARAMETERIV_PROC* glpfGetMinmaxParameteriv; -GLAPI PFNGLHISTOGRAM_PROC* glpfHistogram; -GLAPI PFNGLMINMAX_PROC* glpfMinmax; -GLAPI PFNGLRESETHISTOGRAM_PROC* glpfResetHistogram; -GLAPI PFNGLRESETMINMAX_PROC* glpfResetMinmax; -#define glBlendColor glpfBlendColor -#define glBlendEquation glpfBlendEquation +#define glCopyTexSubImage3D glpfCopyTexSubImage3D #define glDrawRangeElements glpfDrawRangeElements #define glTexImage3D glpfTexImage3D #define glTexSubImage3D glpfTexSubImage3D -#define glCopyTexSubImage3D glpfCopyTexSubImage3D -#define glColorTable glpfColorTable -#define glColorTableParameterfv glpfColorTableParameterfv -#define glColorTableParameteriv glpfColorTableParameteriv -#define glCopyColorTable glpfCopyColorTable -#define glGetColorTable glpfGetColorTable -#define glGetColorTableParameterfv glpfGetColorTableParameterfv -#define glGetColorTableParameteriv glpfGetColorTableParameteriv -#define glColorSubTable glpfColorSubTable -#define glCopyColorSubTable glpfCopyColorSubTable -#define glConvolutionFilter1D glpfConvolutionFilter1D -#define glConvolutionFilter2D glpfConvolutionFilter2D -#define glConvolutionParameterf glpfConvolutionParameterf -#define glConvolutionParameterfv glpfConvolutionParameterfv -#define glConvolutionParameteri glpfConvolutionParameteri -#define glConvolutionParameteriv glpfConvolutionParameteriv -#define glCopyConvolutionFilter1D glpfCopyConvolutionFilter1D -#define glCopyConvolutionFilter2D glpfCopyConvolutionFilter2D -#define glGetConvolutionFilter glpfGetConvolutionFilter -#define glGetConvolutionParameterfv glpfGetConvolutionParameterfv -#define glGetConvolutionParameteriv glpfGetConvolutionParameteriv -#define glGetSeparableFilter glpfGetSeparableFilter -#define glSeparableFilter2D glpfSeparableFilter2D -#define glGetHistogram glpfGetHistogram -#define glGetHistogramParameterfv glpfGetHistogramParameterfv -#define glGetHistogramParameteriv glpfGetHistogramParameteriv -#define glGetMinmax glpfGetMinmax -#define glGetMinmaxParameterfv glpfGetMinmaxParameterfv -#define glGetMinmaxParameteriv glpfGetMinmaxParameteriv -#define glHistogram glpfHistogram -#define glMinmax glpfMinmax -#define glResetHistogram glpfResetHistogram -#define glResetMinmax glpfResetMinmax /* GL_VERSION_1_3 */ -typedef GLvoid (APIENTRY PFNGLACTIVETEXTURE_PROC (const GLenum texture)); -typedef GLvoid (APIENTRY PFNGLSAMPLECOVERAGE_PROC (const GLfloat value, const GLboolean invert)); -typedef GLvoid (APIENTRY PFNGLCOMPRESSEDTEXIMAGE3D_PROC (const GLenum target, const GLint level, const GLenum internalformat, const GLsizei width, const GLsizei height, const GLsizei depth, const GLint border, const GLsizei imageSize, const GLvoid* data)); -typedef GLvoid (APIENTRY PFNGLCOMPRESSEDTEXIMAGE2D_PROC (const GLenum target, const GLint level, const GLenum internalformat, const GLsizei width, const GLsizei height, const GLint border, const GLsizei imageSize, const GLvoid* data)); -typedef GLvoid (APIENTRY PFNGLCOMPRESSEDTEXIMAGE1D_PROC (const GLenum target, const GLint level, const GLenum internalformat, const GLsizei width, const GLint border, const GLsizei imageSize, const GLvoid* data)); -typedef GLvoid (APIENTRY PFNGLCOMPRESSEDTEXSUBIMAGE3D_PROC (const GLenum target, const GLint level, const GLint xoffset, const GLint yoffset, const GLint zoffset, const GLsizei width, const GLsizei height, const GLsizei depth, const GLenum format, const GLsizei imageSize, const GLvoid* data)); -typedef GLvoid (APIENTRY PFNGLCOMPRESSEDTEXSUBIMAGE2D_PROC (const GLenum target, const GLint level, const GLint xoffset, const GLint yoffset, const GLsizei width, const GLsizei height, const GLenum format, const GLsizei imageSize, const GLvoid* data)); -typedef GLvoid (APIENTRY PFNGLCOMPRESSEDTEXSUBIMAGE1D_PROC (const GLenum target, const GLint level, const GLint xoffset, const GLsizei width, const GLenum format, const GLsizei imageSize, const GLvoid* data)); -typedef GLvoid (APIENTRY PFNGLGETCOMPRESSEDTEXIMAGE_PROC (const GLenum target, const GLint level, GLvoid* img)); -typedef GLvoid (APIENTRY PFNGLCLIENTACTIVETEXTURE_PROC (const GLenum texture)); -typedef GLvoid (APIENTRY PFNGLMULTITEXCOORD1D_PROC (const GLenum target, const GLdouble s)); -typedef GLvoid (APIENTRY PFNGLMULTITEXCOORD1DV_PROC (const GLenum target, const GLdouble* v)); -typedef GLvoid (APIENTRY PFNGLMULTITEXCOORD1F_PROC (const GLenum target, const GLfloat s)); -typedef GLvoid (APIENTRY PFNGLMULTITEXCOORD1FV_PROC (const GLenum target, const GLfloat* v)); -typedef GLvoid (APIENTRY PFNGLMULTITEXCOORD1I_PROC (const GLenum target, const GLint s)); -typedef GLvoid (APIENTRY PFNGLMULTITEXCOORD1IV_PROC (const GLenum target, const GLint* v)); -typedef GLvoid (APIENTRY PFNGLMULTITEXCOORD1S_PROC (const GLenum target, const GLshort s)); -typedef GLvoid (APIENTRY PFNGLMULTITEXCOORD1SV_PROC (const GLenum target, const GLshort* v)); -typedef GLvoid (APIENTRY PFNGLMULTITEXCOORD2D_PROC (const GLenum target, const GLdouble s, const GLdouble t)); -typedef GLvoid (APIENTRY PFNGLMULTITEXCOORD2DV_PROC (const GLenum target, const GLdouble* v)); -typedef GLvoid (APIENTRY PFNGLMULTITEXCOORD2F_PROC (const GLenum target, const GLfloat s, const GLfloat t)); -typedef GLvoid (APIENTRY PFNGLMULTITEXCOORD2FV_PROC (const GLenum target, const GLfloat* v)); -typedef GLvoid (APIENTRY PFNGLMULTITEXCOORD2I_PROC (const GLenum target, const GLint s, const GLint t)); -typedef GLvoid (APIENTRY PFNGLMULTITEXCOORD2IV_PROC (const GLenum target, const GLint* v)); -typedef GLvoid (APIENTRY PFNGLMULTITEXCOORD2S_PROC (const GLenum target, const GLshort s, const GLshort t)); -typedef GLvoid (APIENTRY PFNGLMULTITEXCOORD2SV_PROC (const GLenum target, const GLshort* v)); -typedef GLvoid (APIENTRY PFNGLMULTITEXCOORD3D_PROC (const GLenum target, const GLdouble s, const GLdouble t, const GLdouble r)); -typedef GLvoid (APIENTRY PFNGLMULTITEXCOORD3DV_PROC (const GLenum target, const GLdouble* v)); -typedef GLvoid (APIENTRY PFNGLMULTITEXCOORD3F_PROC (const GLenum target, const GLfloat s, const GLfloat t, const GLfloat r)); -typedef GLvoid (APIENTRY PFNGLMULTITEXCOORD3FV_PROC (const GLenum target, const GLfloat* v)); -typedef GLvoid (APIENTRY PFNGLMULTITEXCOORD3I_PROC (const GLenum target, const GLint s, const GLint t, const GLint r)); -typedef GLvoid (APIENTRY PFNGLMULTITEXCOORD3IV_PROC (const GLenum target, const GLint* v)); -typedef GLvoid (APIENTRY PFNGLMULTITEXCOORD3S_PROC (const GLenum target, const GLshort s, const GLshort t, const GLshort r)); -typedef GLvoid (APIENTRY PFNGLMULTITEXCOORD3SV_PROC (const GLenum target, const GLshort* v)); -typedef GLvoid (APIENTRY PFNGLMULTITEXCOORD4D_PROC (const GLenum target, const GLdouble s, const GLdouble t, const GLdouble r, const GLdouble q)); -typedef GLvoid (APIENTRY PFNGLMULTITEXCOORD4DV_PROC (const GLenum target, const GLdouble* v)); -typedef GLvoid (APIENTRY PFNGLMULTITEXCOORD4F_PROC (const GLenum target, const GLfloat s, const GLfloat t, const GLfloat r, const GLfloat q)); -typedef GLvoid (APIENTRY PFNGLMULTITEXCOORD4FV_PROC (const GLenum target, const GLfloat* v)); -typedef GLvoid (APIENTRY PFNGLMULTITEXCOORD4I_PROC (const GLenum target, const GLint s, const GLint t, const GLint r, const GLint q)); -typedef GLvoid (APIENTRY PFNGLMULTITEXCOORD4IV_PROC (const GLenum target, const GLint* v)); -typedef GLvoid (APIENTRY PFNGLMULTITEXCOORD4S_PROC (const GLenum target, const GLshort s, const GLshort t, const GLshort r, const GLshort q)); -typedef GLvoid (APIENTRY PFNGLMULTITEXCOORD4SV_PROC (const GLenum target, const GLshort* v)); -typedef GLvoid (APIENTRY PFNGLLOADTRANSPOSEMATRIXF_PROC (const GLfloat* m)); -typedef GLvoid (APIENTRY PFNGLLOADTRANSPOSEMATRIXD_PROC (const GLdouble* m)); -typedef GLvoid (APIENTRY PFNGLMULTTRANSPOSEMATRIXF_PROC (const GLfloat* m)); -typedef GLvoid (APIENTRY PFNGLMULTTRANSPOSEMATRIXD_PROC (const GLdouble* m)); +typedef void (APIENTRY PFNGLACTIVETEXTURE_PROC (GLenum texture)); +typedef void (APIENTRY PFNGLCLIENTACTIVETEXTURE_PROC (GLenum texture)); +typedef void (APIENTRY PFNGLCOMPRESSEDTEXIMAGE1D_PROC (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void * data)); +typedef void (APIENTRY PFNGLCOMPRESSEDTEXIMAGE2D_PROC (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void * data)); +typedef void (APIENTRY PFNGLCOMPRESSEDTEXIMAGE3D_PROC (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void * data)); +typedef void (APIENTRY PFNGLCOMPRESSEDTEXSUBIMAGE1D_PROC (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void * data)); +typedef void (APIENTRY PFNGLCOMPRESSEDTEXSUBIMAGE2D_PROC (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void * data)); +typedef void (APIENTRY PFNGLCOMPRESSEDTEXSUBIMAGE3D_PROC (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void * data)); +typedef void (APIENTRY PFNGLGETCOMPRESSEDTEXIMAGE_PROC (GLenum target, GLint level, void * img)); +typedef void (APIENTRY PFNGLLOADTRANSPOSEMATRIXD_PROC (const GLdouble * m)); +typedef void (APIENTRY PFNGLLOADTRANSPOSEMATRIXF_PROC (const GLfloat * m)); +typedef void (APIENTRY PFNGLMULTTRANSPOSEMATRIXD_PROC (const GLdouble * m)); +typedef void (APIENTRY PFNGLMULTTRANSPOSEMATRIXF_PROC (const GLfloat * m)); +typedef void (APIENTRY PFNGLMULTITEXCOORD1D_PROC (GLenum target, GLdouble s)); +typedef void (APIENTRY PFNGLMULTITEXCOORD1DV_PROC (GLenum target, const GLdouble * v)); +typedef void (APIENTRY PFNGLMULTITEXCOORD1F_PROC (GLenum target, GLfloat s)); +typedef void (APIENTRY PFNGLMULTITEXCOORD1FV_PROC (GLenum target, const GLfloat * v)); +typedef void (APIENTRY PFNGLMULTITEXCOORD1I_PROC (GLenum target, GLint s)); +typedef void (APIENTRY PFNGLMULTITEXCOORD1IV_PROC (GLenum target, const GLint * v)); +typedef void (APIENTRY PFNGLMULTITEXCOORD1S_PROC (GLenum target, GLshort s)); +typedef void (APIENTRY PFNGLMULTITEXCOORD1SV_PROC (GLenum target, const GLshort * v)); +typedef void (APIENTRY PFNGLMULTITEXCOORD2D_PROC (GLenum target, GLdouble s, GLdouble t)); +typedef void (APIENTRY PFNGLMULTITEXCOORD2DV_PROC (GLenum target, const GLdouble * v)); +typedef void (APIENTRY PFNGLMULTITEXCOORD2F_PROC (GLenum target, GLfloat s, GLfloat t)); +typedef void (APIENTRY PFNGLMULTITEXCOORD2FV_PROC (GLenum target, const GLfloat * v)); +typedef void (APIENTRY PFNGLMULTITEXCOORD2I_PROC (GLenum target, GLint s, GLint t)); +typedef void (APIENTRY PFNGLMULTITEXCOORD2IV_PROC (GLenum target, const GLint * v)); +typedef void (APIENTRY PFNGLMULTITEXCOORD2S_PROC (GLenum target, GLshort s, GLshort t)); +typedef void (APIENTRY PFNGLMULTITEXCOORD2SV_PROC (GLenum target, const GLshort * v)); +typedef void (APIENTRY PFNGLMULTITEXCOORD3D_PROC (GLenum target, GLdouble s, GLdouble t, GLdouble r)); +typedef void (APIENTRY PFNGLMULTITEXCOORD3DV_PROC (GLenum target, const GLdouble * v)); +typedef void (APIENTRY PFNGLMULTITEXCOORD3F_PROC (GLenum target, GLfloat s, GLfloat t, GLfloat r)); +typedef void (APIENTRY PFNGLMULTITEXCOORD3FV_PROC (GLenum target, const GLfloat * v)); +typedef void (APIENTRY PFNGLMULTITEXCOORD3I_PROC (GLenum target, GLint s, GLint t, GLint r)); +typedef void (APIENTRY PFNGLMULTITEXCOORD3IV_PROC (GLenum target, const GLint * v)); +typedef void (APIENTRY PFNGLMULTITEXCOORD3S_PROC (GLenum target, GLshort s, GLshort t, GLshort r)); +typedef void (APIENTRY PFNGLMULTITEXCOORD3SV_PROC (GLenum target, const GLshort * v)); +typedef void (APIENTRY PFNGLMULTITEXCOORD4D_PROC (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q)); +typedef void (APIENTRY PFNGLMULTITEXCOORD4DV_PROC (GLenum target, const GLdouble * v)); +typedef void (APIENTRY PFNGLMULTITEXCOORD4F_PROC (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q)); +typedef void (APIENTRY PFNGLMULTITEXCOORD4FV_PROC (GLenum target, const GLfloat * v)); +typedef void (APIENTRY PFNGLMULTITEXCOORD4I_PROC (GLenum target, GLint s, GLint t, GLint r, GLint q)); +typedef void (APIENTRY PFNGLMULTITEXCOORD4IV_PROC (GLenum target, const GLint * v)); +typedef void (APIENTRY PFNGLMULTITEXCOORD4S_PROC (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q)); +typedef void (APIENTRY PFNGLMULTITEXCOORD4SV_PROC (GLenum target, const GLshort * v)); +typedef void (APIENTRY PFNGLSAMPLECOVERAGE_PROC (GLfloat value, GLboolean invert)); GLAPI PFNGLACTIVETEXTURE_PROC* glpfActiveTexture; -GLAPI PFNGLSAMPLECOVERAGE_PROC* glpfSampleCoverage; -GLAPI PFNGLCOMPRESSEDTEXIMAGE3D_PROC* glpfCompressedTexImage3D; -GLAPI PFNGLCOMPRESSEDTEXIMAGE2D_PROC* glpfCompressedTexImage2D; +GLAPI PFNGLCLIENTACTIVETEXTURE_PROC* glpfClientActiveTexture; GLAPI PFNGLCOMPRESSEDTEXIMAGE1D_PROC* glpfCompressedTexImage1D; -GLAPI PFNGLCOMPRESSEDTEXSUBIMAGE3D_PROC* glpfCompressedTexSubImage3D; -GLAPI PFNGLCOMPRESSEDTEXSUBIMAGE2D_PROC* glpfCompressedTexSubImage2D; +GLAPI PFNGLCOMPRESSEDTEXIMAGE2D_PROC* glpfCompressedTexImage2D; +GLAPI PFNGLCOMPRESSEDTEXIMAGE3D_PROC* glpfCompressedTexImage3D; GLAPI PFNGLCOMPRESSEDTEXSUBIMAGE1D_PROC* glpfCompressedTexSubImage1D; +GLAPI PFNGLCOMPRESSEDTEXSUBIMAGE2D_PROC* glpfCompressedTexSubImage2D; +GLAPI PFNGLCOMPRESSEDTEXSUBIMAGE3D_PROC* glpfCompressedTexSubImage3D; GLAPI PFNGLGETCOMPRESSEDTEXIMAGE_PROC* glpfGetCompressedTexImage; -GLAPI PFNGLCLIENTACTIVETEXTURE_PROC* glpfClientActiveTexture; +GLAPI PFNGLLOADTRANSPOSEMATRIXD_PROC* glpfLoadTransposeMatrixd; +GLAPI PFNGLLOADTRANSPOSEMATRIXF_PROC* glpfLoadTransposeMatrixf; +GLAPI PFNGLMULTTRANSPOSEMATRIXD_PROC* glpfMultTransposeMatrixd; +GLAPI PFNGLMULTTRANSPOSEMATRIXF_PROC* glpfMultTransposeMatrixf; GLAPI PFNGLMULTITEXCOORD1D_PROC* glpfMultiTexCoord1d; GLAPI PFNGLMULTITEXCOORD1DV_PROC* glpfMultiTexCoord1dv; GLAPI PFNGLMULTITEXCOORD1F_PROC* glpfMultiTexCoord1f; @@ -6128,21 +1613,21 @@ GLAPI PFNGLMULTITEXCOORD4I_PROC* glpfMultiTexCoord4i; GLAPI PFNGLMULTITEXCOORD4IV_PROC* glpfMultiTexCoord4iv; GLAPI PFNGLMULTITEXCOORD4S_PROC* glpfMultiTexCoord4s; GLAPI PFNGLMULTITEXCOORD4SV_PROC* glpfMultiTexCoord4sv; -GLAPI PFNGLLOADTRANSPOSEMATRIXF_PROC* glpfLoadTransposeMatrixf; -GLAPI PFNGLLOADTRANSPOSEMATRIXD_PROC* glpfLoadTransposeMatrixd; -GLAPI PFNGLMULTTRANSPOSEMATRIXF_PROC* glpfMultTransposeMatrixf; -GLAPI PFNGLMULTTRANSPOSEMATRIXD_PROC* glpfMultTransposeMatrixd; +GLAPI PFNGLSAMPLECOVERAGE_PROC* glpfSampleCoverage; #define glActiveTexture glpfActiveTexture -#define glSampleCoverage glpfSampleCoverage -#define glCompressedTexImage3D glpfCompressedTexImage3D -#define glCompressedTexImage2D glpfCompressedTexImage2D +#define glClientActiveTexture glpfClientActiveTexture #define glCompressedTexImage1D glpfCompressedTexImage1D -#define glCompressedTexSubImage3D glpfCompressedTexSubImage3D -#define glCompressedTexSubImage2D glpfCompressedTexSubImage2D +#define glCompressedTexImage2D glpfCompressedTexImage2D +#define glCompressedTexImage3D glpfCompressedTexImage3D #define glCompressedTexSubImage1D glpfCompressedTexSubImage1D +#define glCompressedTexSubImage2D glpfCompressedTexSubImage2D +#define glCompressedTexSubImage3D glpfCompressedTexSubImage3D #define glGetCompressedTexImage glpfGetCompressedTexImage -#define glClientActiveTexture glpfClientActiveTexture +#define glLoadTransposeMatrixd glpfLoadTransposeMatrixd +#define glLoadTransposeMatrixf glpfLoadTransposeMatrixf +#define glMultTransposeMatrixd glpfMultTransposeMatrixd +#define glMultTransposeMatrixf glpfMultTransposeMatrixf #define glMultiTexCoord1d glpfMultiTexCoord1d #define glMultiTexCoord1dv glpfMultiTexCoord1dv #define glMultiTexCoord1f glpfMultiTexCoord1f @@ -6175,72 +1660,73 @@ GLAPI PFNGLMULTTRANSPOSEMATRIXD_PROC* glpfMultTransposeMatrixd; #define glMultiTexCoord4iv glpfMultiTexCoord4iv #define glMultiTexCoord4s glpfMultiTexCoord4s #define glMultiTexCoord4sv glpfMultiTexCoord4sv -#define glLoadTransposeMatrixf glpfLoadTransposeMatrixf -#define glLoadTransposeMatrixd glpfLoadTransposeMatrixd -#define glMultTransposeMatrixf glpfMultTransposeMatrixf -#define glMultTransposeMatrixd glpfMultTransposeMatrixd +#define glSampleCoverage glpfSampleCoverage /* GL_VERSION_1_4 */ -typedef GLvoid (APIENTRY PFNGLBLENDFUNCSEPARATE_PROC (const GLenum sfactorRGB, const GLenum dfactorRGB, const GLenum sfactorAlpha, const GLenum dfactorAlpha)); -typedef GLvoid (APIENTRY PFNGLMULTIDRAWARRAYS_PROC (const GLenum mode, const GLint* first, const GLsizei* count, const GLsizei drawcount)); -typedef GLvoid (APIENTRY PFNGLMULTIDRAWELEMENTS_PROC (const GLenum mode, const GLsizei* count, const GLenum type, const GLvoid* const* indices, const GLsizei drawcount)); -typedef GLvoid (APIENTRY PFNGLPOINTPARAMETERF_PROC (const GLenum pname, const GLfloat param)); -typedef GLvoid (APIENTRY PFNGLPOINTPARAMETERFV_PROC (const GLenum pname, const GLfloat* params)); -typedef GLvoid (APIENTRY PFNGLPOINTPARAMETERI_PROC (const GLenum pname, const GLint param)); -typedef GLvoid (APIENTRY PFNGLPOINTPARAMETERIV_PROC (const GLenum pname, const GLint* params)); -typedef GLvoid (APIENTRY PFNGLFOGCOORDF_PROC (const GLfloat coord)); -typedef GLvoid (APIENTRY PFNGLFOGCOORDFV_PROC (const GLfloat* coord)); -typedef GLvoid (APIENTRY PFNGLFOGCOORDD_PROC (const GLdouble coord)); -typedef GLvoid (APIENTRY PFNGLFOGCOORDDV_PROC (const GLdouble* coord)); -typedef GLvoid (APIENTRY PFNGLFOGCOORDPOINTER_PROC (const GLenum type, const GLsizei stride, const GLvoid* pointer)); -typedef GLvoid (APIENTRY PFNGLSECONDARYCOLOR3B_PROC (const GLbyte red, const GLbyte green, const GLbyte blue)); -typedef GLvoid (APIENTRY PFNGLSECONDARYCOLOR3BV_PROC (const GLbyte* v)); -typedef GLvoid (APIENTRY PFNGLSECONDARYCOLOR3D_PROC (const GLdouble red, const GLdouble green, const GLdouble blue)); -typedef GLvoid (APIENTRY PFNGLSECONDARYCOLOR3DV_PROC (const GLdouble* v)); -typedef GLvoid (APIENTRY PFNGLSECONDARYCOLOR3F_PROC (const GLfloat red, const GLfloat green, const GLfloat blue)); -typedef GLvoid (APIENTRY PFNGLSECONDARYCOLOR3FV_PROC (const GLfloat* v)); -typedef GLvoid (APIENTRY PFNGLSECONDARYCOLOR3I_PROC (const GLint red, const GLint green, const GLint blue)); -typedef GLvoid (APIENTRY PFNGLSECONDARYCOLOR3IV_PROC (const GLint* v)); -typedef GLvoid (APIENTRY PFNGLSECONDARYCOLOR3S_PROC (const GLshort red, const GLshort green, const GLshort blue)); -typedef GLvoid (APIENTRY PFNGLSECONDARYCOLOR3SV_PROC (const GLshort* v)); -typedef GLvoid (APIENTRY PFNGLSECONDARYCOLOR3UB_PROC (const GLubyte red, const GLubyte green, const GLubyte blue)); -typedef GLvoid (APIENTRY PFNGLSECONDARYCOLOR3UBV_PROC (const GLubyte* v)); -typedef GLvoid (APIENTRY PFNGLSECONDARYCOLOR3UI_PROC (const GLuint red, const GLuint green, const GLuint blue)); -typedef GLvoid (APIENTRY PFNGLSECONDARYCOLOR3UIV_PROC (const GLuint* v)); -typedef GLvoid (APIENTRY PFNGLSECONDARYCOLOR3US_PROC (const GLushort red, const GLushort green, const GLushort blue)); -typedef GLvoid (APIENTRY PFNGLSECONDARYCOLOR3USV_PROC (const GLushort* v)); -typedef GLvoid (APIENTRY PFNGLSECONDARYCOLORPOINTER_PROC (const GLint size, const GLenum type, const GLsizei stride, const GLvoid* pointer)); -typedef GLvoid (APIENTRY PFNGLWINDOWPOS2D_PROC (const GLdouble x, const GLdouble y)); -typedef GLvoid (APIENTRY PFNGLWINDOWPOS2DV_PROC (const GLdouble* v)); -typedef GLvoid (APIENTRY PFNGLWINDOWPOS2F_PROC (const GLfloat x, const GLfloat y)); -typedef GLvoid (APIENTRY PFNGLWINDOWPOS2FV_PROC (const GLfloat* v)); -typedef GLvoid (APIENTRY PFNGLWINDOWPOS2I_PROC (const GLint x, const GLint y)); -typedef GLvoid (APIENTRY PFNGLWINDOWPOS2IV_PROC (const GLint* v)); -typedef GLvoid (APIENTRY PFNGLWINDOWPOS2S_PROC (const GLshort x, const GLshort y)); -typedef GLvoid (APIENTRY PFNGLWINDOWPOS2SV_PROC (const GLshort* v)); -typedef GLvoid (APIENTRY PFNGLWINDOWPOS3D_PROC (const GLdouble x, const GLdouble y, const GLdouble z)); -typedef GLvoid (APIENTRY PFNGLWINDOWPOS3DV_PROC (const GLdouble* v)); -typedef GLvoid (APIENTRY PFNGLWINDOWPOS3F_PROC (const GLfloat x, const GLfloat y, const GLfloat z)); -typedef GLvoid (APIENTRY PFNGLWINDOWPOS3FV_PROC (const GLfloat* v)); -typedef GLvoid (APIENTRY PFNGLWINDOWPOS3I_PROC (const GLint x, const GLint y, const GLint z)); -typedef GLvoid (APIENTRY PFNGLWINDOWPOS3IV_PROC (const GLint* v)); -typedef GLvoid (APIENTRY PFNGLWINDOWPOS3S_PROC (const GLshort x, const GLshort y, const GLshort z)); -typedef GLvoid (APIENTRY PFNGLWINDOWPOS3SV_PROC (const GLshort* v)); +typedef void (APIENTRY PFNGLBLENDCOLOR_PROC (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)); +typedef void (APIENTRY PFNGLBLENDEQUATION_PROC (GLenum mode)); +typedef void (APIENTRY PFNGLBLENDFUNCSEPARATE_PROC (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha)); +typedef void (APIENTRY PFNGLFOGCOORDPOINTER_PROC (GLenum type, GLsizei stride, const void * pointer)); +typedef void (APIENTRY PFNGLFOGCOORDD_PROC (GLdouble coord)); +typedef void (APIENTRY PFNGLFOGCOORDDV_PROC (const GLdouble * coord)); +typedef void (APIENTRY PFNGLFOGCOORDF_PROC (GLfloat coord)); +typedef void (APIENTRY PFNGLFOGCOORDFV_PROC (const GLfloat * coord)); +typedef void (APIENTRY PFNGLMULTIDRAWARRAYS_PROC (GLenum mode, const GLint * first, const GLsizei * count, GLsizei drawcount)); +typedef void (APIENTRY PFNGLMULTIDRAWELEMENTS_PROC (GLenum mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei drawcount)); +typedef void (APIENTRY PFNGLPOINTPARAMETERF_PROC (GLenum pname, GLfloat param)); +typedef void (APIENTRY PFNGLPOINTPARAMETERFV_PROC (GLenum pname, const GLfloat * params)); +typedef void (APIENTRY PFNGLPOINTPARAMETERI_PROC (GLenum pname, GLint param)); +typedef void (APIENTRY PFNGLPOINTPARAMETERIV_PROC (GLenum pname, const GLint * params)); +typedef void (APIENTRY PFNGLSECONDARYCOLOR3B_PROC (GLbyte red, GLbyte green, GLbyte blue)); +typedef void (APIENTRY PFNGLSECONDARYCOLOR3BV_PROC (const GLbyte * v)); +typedef void (APIENTRY PFNGLSECONDARYCOLOR3D_PROC (GLdouble red, GLdouble green, GLdouble blue)); +typedef void (APIENTRY PFNGLSECONDARYCOLOR3DV_PROC (const GLdouble * v)); +typedef void (APIENTRY PFNGLSECONDARYCOLOR3F_PROC (GLfloat red, GLfloat green, GLfloat blue)); +typedef void (APIENTRY PFNGLSECONDARYCOLOR3FV_PROC (const GLfloat * v)); +typedef void (APIENTRY PFNGLSECONDARYCOLOR3I_PROC (GLint red, GLint green, GLint blue)); +typedef void (APIENTRY PFNGLSECONDARYCOLOR3IV_PROC (const GLint * v)); +typedef void (APIENTRY PFNGLSECONDARYCOLOR3S_PROC (GLshort red, GLshort green, GLshort blue)); +typedef void (APIENTRY PFNGLSECONDARYCOLOR3SV_PROC (const GLshort * v)); +typedef void (APIENTRY PFNGLSECONDARYCOLOR3UB_PROC (GLubyte red, GLubyte green, GLubyte blue)); +typedef void (APIENTRY PFNGLSECONDARYCOLOR3UBV_PROC (const GLubyte * v)); +typedef void (APIENTRY PFNGLSECONDARYCOLOR3UI_PROC (GLuint red, GLuint green, GLuint blue)); +typedef void (APIENTRY PFNGLSECONDARYCOLOR3UIV_PROC (const GLuint * v)); +typedef void (APIENTRY PFNGLSECONDARYCOLOR3US_PROC (GLushort red, GLushort green, GLushort blue)); +typedef void (APIENTRY PFNGLSECONDARYCOLOR3USV_PROC (const GLushort * v)); +typedef void (APIENTRY PFNGLSECONDARYCOLORPOINTER_PROC (GLint size, GLenum type, GLsizei stride, const void * pointer)); +typedef void (APIENTRY PFNGLWINDOWPOS2D_PROC (GLdouble x, GLdouble y)); +typedef void (APIENTRY PFNGLWINDOWPOS2DV_PROC (const GLdouble * v)); +typedef void (APIENTRY PFNGLWINDOWPOS2F_PROC (GLfloat x, GLfloat y)); +typedef void (APIENTRY PFNGLWINDOWPOS2FV_PROC (const GLfloat * v)); +typedef void (APIENTRY PFNGLWINDOWPOS2I_PROC (GLint x, GLint y)); +typedef void (APIENTRY PFNGLWINDOWPOS2IV_PROC (const GLint * v)); +typedef void (APIENTRY PFNGLWINDOWPOS2S_PROC (GLshort x, GLshort y)); +typedef void (APIENTRY PFNGLWINDOWPOS2SV_PROC (const GLshort * v)); +typedef void (APIENTRY PFNGLWINDOWPOS3D_PROC (GLdouble x, GLdouble y, GLdouble z)); +typedef void (APIENTRY PFNGLWINDOWPOS3DV_PROC (const GLdouble * v)); +typedef void (APIENTRY PFNGLWINDOWPOS3F_PROC (GLfloat x, GLfloat y, GLfloat z)); +typedef void (APIENTRY PFNGLWINDOWPOS3FV_PROC (const GLfloat * v)); +typedef void (APIENTRY PFNGLWINDOWPOS3I_PROC (GLint x, GLint y, GLint z)); +typedef void (APIENTRY PFNGLWINDOWPOS3IV_PROC (const GLint * v)); +typedef void (APIENTRY PFNGLWINDOWPOS3S_PROC (GLshort x, GLshort y, GLshort z)); +typedef void (APIENTRY PFNGLWINDOWPOS3SV_PROC (const GLshort * v)); +GLAPI PFNGLBLENDCOLOR_PROC* glpfBlendColor; +GLAPI PFNGLBLENDEQUATION_PROC* glpfBlendEquation; GLAPI PFNGLBLENDFUNCSEPARATE_PROC* glpfBlendFuncSeparate; +GLAPI PFNGLFOGCOORDPOINTER_PROC* glpfFogCoordPointer; +GLAPI PFNGLFOGCOORDD_PROC* glpfFogCoordd; +GLAPI PFNGLFOGCOORDDV_PROC* glpfFogCoorddv; +GLAPI PFNGLFOGCOORDF_PROC* glpfFogCoordf; +GLAPI PFNGLFOGCOORDFV_PROC* glpfFogCoordfv; GLAPI PFNGLMULTIDRAWARRAYS_PROC* glpfMultiDrawArrays; GLAPI PFNGLMULTIDRAWELEMENTS_PROC* glpfMultiDrawElements; GLAPI PFNGLPOINTPARAMETERF_PROC* glpfPointParameterf; GLAPI PFNGLPOINTPARAMETERFV_PROC* glpfPointParameterfv; GLAPI PFNGLPOINTPARAMETERI_PROC* glpfPointParameteri; GLAPI PFNGLPOINTPARAMETERIV_PROC* glpfPointParameteriv; -GLAPI PFNGLFOGCOORDF_PROC* glpfFogCoordf; -GLAPI PFNGLFOGCOORDFV_PROC* glpfFogCoordfv; -GLAPI PFNGLFOGCOORDD_PROC* glpfFogCoordd; -GLAPI PFNGLFOGCOORDDV_PROC* glpfFogCoorddv; -GLAPI PFNGLFOGCOORDPOINTER_PROC* glpfFogCoordPointer; GLAPI PFNGLSECONDARYCOLOR3B_PROC* glpfSecondaryColor3b; GLAPI PFNGLSECONDARYCOLOR3BV_PROC* glpfSecondaryColor3bv; GLAPI PFNGLSECONDARYCOLOR3D_PROC* glpfSecondaryColor3d; @@ -6275,18 +1761,20 @@ GLAPI PFNGLWINDOWPOS3IV_PROC* glpfWindowPos3iv; GLAPI PFNGLWINDOWPOS3S_PROC* glpfWindowPos3s; GLAPI PFNGLWINDOWPOS3SV_PROC* glpfWindowPos3sv; +#define glBlendColor glpfBlendColor +#define glBlendEquation glpfBlendEquation #define glBlendFuncSeparate glpfBlendFuncSeparate +#define glFogCoordPointer glpfFogCoordPointer +#define glFogCoordd glpfFogCoordd +#define glFogCoorddv glpfFogCoorddv +#define glFogCoordf glpfFogCoordf +#define glFogCoordfv glpfFogCoordfv #define glMultiDrawArrays glpfMultiDrawArrays #define glMultiDrawElements glpfMultiDrawElements #define glPointParameterf glpfPointParameterf #define glPointParameterfv glpfPointParameterfv #define glPointParameteri glpfPointParameteri #define glPointParameteriv glpfPointParameteriv -#define glFogCoordf glpfFogCoordf -#define glFogCoordfv glpfFogCoordfv -#define glFogCoordd glpfFogCoordd -#define glFogCoorddv glpfFogCoorddv -#define glFogCoordPointer glpfFogCoordPointer #define glSecondaryColor3b glpfSecondaryColor3b #define glSecondaryColor3bv glpfSecondaryColor3bv #define glSecondaryColor3d glpfSecondaryColor3d @@ -6324,170 +1812,166 @@ GLAPI PFNGLWINDOWPOS3SV_PROC* glpfWindowPos3sv; /* GL_VERSION_1_5 */ -typedef GLvoid (APIENTRY PFNGLGENQUERIES_PROC (const GLsizei n, GLuint* ids)); -typedef GLvoid (APIENTRY PFNGLDELETEQUERIES_PROC (const GLsizei n, const GLuint* ids)); -typedef GLboolean (APIENTRY PFNGLISQUERY_PROC (const GLuint id)); -typedef GLvoid (APIENTRY PFNGLBEGINQUERY_PROC (const GLenum target, const GLuint id)); -typedef GLvoid (APIENTRY PFNGLENDQUERY_PROC (const GLenum target)); -typedef GLvoid (APIENTRY PFNGLGETQUERYIV_PROC (const GLenum target, const GLenum pname, GLint* params)); -typedef GLvoid (APIENTRY PFNGLGETQUERYOBJECTIV_PROC (const GLuint id, const GLenum pname, GLint* params)); -typedef GLvoid (APIENTRY PFNGLGETQUERYOBJECTUIV_PROC (const GLuint id, const GLenum pname, GLuint* params)); -typedef GLvoid (APIENTRY PFNGLBINDBUFFER_PROC (const GLenum target, const GLuint buffer)); -typedef GLvoid (APIENTRY PFNGLDELETEBUFFERS_PROC (const GLsizei n, const GLuint* buffers)); -typedef GLvoid (APIENTRY PFNGLGENBUFFERS_PROC (const GLsizei n, GLuint* buffers)); -typedef GLboolean (APIENTRY PFNGLISBUFFER_PROC (const GLuint buffer)); -typedef GLvoid (APIENTRY PFNGLBUFFERDATA_PROC (const GLenum target, const GLsizeiptr size, const GLvoid* data, const GLenum usage)); -typedef GLvoid (APIENTRY PFNGLBUFFERSUBDATA_PROC (const GLenum target, const GLintptr offset, const GLsizeiptr size, const GLvoid* data)); -typedef GLvoid (APIENTRY PFNGLGETBUFFERSUBDATA_PROC (const GLenum target, const GLintptr offset, const GLsizeiptr size, GLvoid* data)); -typedef GLvoid* (APIENTRY PFNGLMAPBUFFER_PROC (const GLenum target, const GLenum access)); -typedef GLboolean (APIENTRY PFNGLUNMAPBUFFER_PROC (const GLenum target)); -typedef GLvoid (APIENTRY PFNGLGETBUFFERPARAMETERIV_PROC (const GLenum target, const GLenum pname, GLint* params)); -typedef GLvoid (APIENTRY PFNGLGETBUFFERPOINTERV_PROC (const GLenum target, const GLenum pname, GLvoid** params)); +typedef void (APIENTRY PFNGLBEGINQUERY_PROC (GLenum target, GLuint id)); +typedef void (APIENTRY PFNGLBINDBUFFER_PROC (GLenum target, GLuint buffer)); +typedef void (APIENTRY PFNGLBUFFERDATA_PROC (GLenum target, GLsizeiptr size, const void * data, GLenum usage)); +typedef void (APIENTRY PFNGLBUFFERSUBDATA_PROC (GLenum target, GLintptr offset, GLsizeiptr size, const void * data)); +typedef void (APIENTRY PFNGLDELETEBUFFERS_PROC (GLsizei n, const GLuint * buffers)); +typedef void (APIENTRY PFNGLDELETEQUERIES_PROC (GLsizei n, const GLuint * ids)); +typedef void (APIENTRY PFNGLENDQUERY_PROC (GLenum target)); +typedef void (APIENTRY PFNGLGENBUFFERS_PROC (GLsizei n, GLuint * buffers)); +typedef void (APIENTRY PFNGLGENQUERIES_PROC (GLsizei n, GLuint * ids)); +typedef void (APIENTRY PFNGLGETBUFFERPARAMETERIV_PROC (GLenum target, GLenum pname, GLint * params)); +typedef void (APIENTRY PFNGLGETBUFFERPOINTERV_PROC (GLenum target, GLenum pname, void ** params)); +typedef void (APIENTRY PFNGLGETBUFFERSUBDATA_PROC (GLenum target, GLintptr offset, GLsizeiptr size, void * data)); +typedef void (APIENTRY PFNGLGETQUERYOBJECTIV_PROC (GLuint id, GLenum pname, GLint * params)); +typedef void (APIENTRY PFNGLGETQUERYOBJECTUIV_PROC (GLuint id, GLenum pname, GLuint * params)); +typedef void (APIENTRY PFNGLGETQUERYIV_PROC (GLenum target, GLenum pname, GLint * params)); +typedef GLboolean (APIENTRY PFNGLISBUFFER_PROC (GLuint buffer)); +typedef GLboolean (APIENTRY PFNGLISQUERY_PROC (GLuint id)); +typedef void * (APIENTRY PFNGLMAPBUFFER_PROC (GLenum target, GLenum access)); +typedef GLboolean (APIENTRY PFNGLUNMAPBUFFER_PROC (GLenum target)); -GLAPI PFNGLGENQUERIES_PROC* glpfGenQueries; -GLAPI PFNGLDELETEQUERIES_PROC* glpfDeleteQueries; -GLAPI PFNGLISQUERY_PROC* glpfIsQuery; GLAPI PFNGLBEGINQUERY_PROC* glpfBeginQuery; -GLAPI PFNGLENDQUERY_PROC* glpfEndQuery; -GLAPI PFNGLGETQUERYIV_PROC* glpfGetQueryiv; -GLAPI PFNGLGETQUERYOBJECTIV_PROC* glpfGetQueryObjectiv; -GLAPI PFNGLGETQUERYOBJECTUIV_PROC* glpfGetQueryObjectuiv; GLAPI PFNGLBINDBUFFER_PROC* glpfBindBuffer; -GLAPI PFNGLDELETEBUFFERS_PROC* glpfDeleteBuffers; -GLAPI PFNGLGENBUFFERS_PROC* glpfGenBuffers; -GLAPI PFNGLISBUFFER_PROC* glpfIsBuffer; GLAPI PFNGLBUFFERDATA_PROC* glpfBufferData; GLAPI PFNGLBUFFERSUBDATA_PROC* glpfBufferSubData; +GLAPI PFNGLDELETEBUFFERS_PROC* glpfDeleteBuffers; +GLAPI PFNGLDELETEQUERIES_PROC* glpfDeleteQueries; +GLAPI PFNGLENDQUERY_PROC* glpfEndQuery; +GLAPI PFNGLGENBUFFERS_PROC* glpfGenBuffers; +GLAPI PFNGLGENQUERIES_PROC* glpfGenQueries; +GLAPI PFNGLGETBUFFERPARAMETERIV_PROC* glpfGetBufferParameteriv; +GLAPI PFNGLGETBUFFERPOINTERV_PROC* glpfGetBufferPointerv; GLAPI PFNGLGETBUFFERSUBDATA_PROC* glpfGetBufferSubData; +GLAPI PFNGLGETQUERYOBJECTIV_PROC* glpfGetQueryObjectiv; +GLAPI PFNGLGETQUERYOBJECTUIV_PROC* glpfGetQueryObjectuiv; +GLAPI PFNGLGETQUERYIV_PROC* glpfGetQueryiv; +GLAPI PFNGLISBUFFER_PROC* glpfIsBuffer; +GLAPI PFNGLISQUERY_PROC* glpfIsQuery; GLAPI PFNGLMAPBUFFER_PROC* glpfMapBuffer; GLAPI PFNGLUNMAPBUFFER_PROC* glpfUnmapBuffer; -GLAPI PFNGLGETBUFFERPARAMETERIV_PROC* glpfGetBufferParameteriv; -GLAPI PFNGLGETBUFFERPOINTERV_PROC* glpfGetBufferPointerv; -#define glGenQueries glpfGenQueries -#define glDeleteQueries glpfDeleteQueries -#define glIsQuery glpfIsQuery #define glBeginQuery glpfBeginQuery -#define glEndQuery glpfEndQuery -#define glGetQueryiv glpfGetQueryiv -#define glGetQueryObjectiv glpfGetQueryObjectiv -#define glGetQueryObjectuiv glpfGetQueryObjectuiv #define glBindBuffer glpfBindBuffer -#define glDeleteBuffers glpfDeleteBuffers -#define glGenBuffers glpfGenBuffers -#define glIsBuffer glpfIsBuffer #define glBufferData glpfBufferData #define glBufferSubData glpfBufferSubData +#define glDeleteBuffers glpfDeleteBuffers +#define glDeleteQueries glpfDeleteQueries +#define glEndQuery glpfEndQuery +#define glGenBuffers glpfGenBuffers +#define glGenQueries glpfGenQueries +#define glGetBufferParameteriv glpfGetBufferParameteriv +#define glGetBufferPointerv glpfGetBufferPointerv #define glGetBufferSubData glpfGetBufferSubData +#define glGetQueryObjectiv glpfGetQueryObjectiv +#define glGetQueryObjectuiv glpfGetQueryObjectuiv +#define glGetQueryiv glpfGetQueryiv +#define glIsBuffer glpfIsBuffer +#define glIsQuery glpfIsQuery #define glMapBuffer glpfMapBuffer #define glUnmapBuffer glpfUnmapBuffer -#define glGetBufferParameteriv glpfGetBufferParameteriv -#define glGetBufferPointerv glpfGetBufferPointerv /* GL_VERSION_2_0 */ -typedef GLvoid (APIENTRY PFNGLBLENDEQUATIONSEPARATE_PROC (const GLenum modeRGB, const GLenum modeAlpha)); -typedef GLvoid (APIENTRY PFNGLDRAWBUFFERS_PROC (const GLsizei n, const GLenum* bufs)); -typedef GLvoid (APIENTRY PFNGLSTENCILOPSEPARATE_PROC (const GLenum face, const GLenum sfail, const GLenum dpfail, const GLenum dppass)); -typedef GLvoid (APIENTRY PFNGLSTENCILFUNCSEPARATE_PROC (const GLenum face, const GLenum func, const GLint ref, const GLuint mask)); -typedef GLvoid (APIENTRY PFNGLSTENCILMASKSEPARATE_PROC (const GLenum face, const GLuint mask)); -typedef GLvoid (APIENTRY PFNGLATTACHSHADER_PROC (const GLuint program, const GLuint shader)); -typedef GLvoid (APIENTRY PFNGLBINDATTRIBLOCATION_PROC (const GLuint program, const GLuint index, const GLchar* name)); -typedef GLvoid (APIENTRY PFNGLCOMPILESHADER_PROC (const GLuint shader)); +typedef void (APIENTRY PFNGLATTACHSHADER_PROC (GLuint program, GLuint shader)); +typedef void (APIENTRY PFNGLBINDATTRIBLOCATION_PROC (GLuint program, GLuint index, const GLchar * name)); +typedef void (APIENTRY PFNGLBLENDEQUATIONSEPARATE_PROC (GLenum modeRGB, GLenum modeAlpha)); +typedef void (APIENTRY PFNGLCOMPILESHADER_PROC (GLuint shader)); typedef GLuint (APIENTRY PFNGLCREATEPROGRAM_PROC (void)); -typedef GLuint (APIENTRY PFNGLCREATESHADER_PROC (const GLenum type)); -typedef GLvoid (APIENTRY PFNGLDELETEPROGRAM_PROC (const GLuint program)); -typedef GLvoid (APIENTRY PFNGLDELETESHADER_PROC (const GLuint shader)); -typedef GLvoid (APIENTRY PFNGLDETACHSHADER_PROC (const GLuint program, const GLuint shader)); -typedef GLvoid (APIENTRY PFNGLDISABLEVERTEXATTRIBARRAY_PROC (const GLuint index)); -typedef GLvoid (APIENTRY PFNGLENABLEVERTEXATTRIBARRAY_PROC (const GLuint index)); -typedef GLvoid (APIENTRY PFNGLGETACTIVEATTRIB_PROC (const GLuint program, const GLuint index, const GLsizei bufSize, GLsizei* length, GLint* size, GLenum* type, GLchar* name)); -typedef GLvoid (APIENTRY PFNGLGETACTIVEUNIFORM_PROC (const GLuint program, const GLuint index, const GLsizei bufSize, GLsizei* length, GLint* size, GLenum* type, GLchar* name)); -typedef GLvoid (APIENTRY PFNGLGETATTACHEDSHADERS_PROC (const GLuint program, const GLsizei maxCount, GLsizei* count, GLuint* obj)); -typedef GLint (APIENTRY PFNGLGETATTRIBLOCATION_PROC (const GLuint program, const GLchar* name)); -typedef GLvoid (APIENTRY PFNGLGETPROGRAMIV_PROC (const GLuint program, const GLenum pname, GLint* params)); -typedef GLvoid (APIENTRY PFNGLGETPROGRAMINFOLOG_PROC (const GLuint program, const GLsizei bufSize, GLsizei* length, GLchar* infoLog)); -typedef GLvoid (APIENTRY PFNGLGETSHADERIV_PROC (const GLuint shader, const GLenum pname, GLint* params)); -typedef GLvoid (APIENTRY PFNGLGETSHADERINFOLOG_PROC (const GLuint shader, const GLsizei bufSize, GLsizei* length, GLchar* infoLog)); -typedef GLvoid (APIENTRY PFNGLGETSHADERSOURCE_PROC (const GLuint shader, const GLsizei bufSize, GLsizei* length, GLchar* source)); -typedef GLint (APIENTRY PFNGLGETUNIFORMLOCATION_PROC (const GLuint program, const GLchar* name)); -typedef GLvoid (APIENTRY PFNGLGETUNIFORMFV_PROC (const GLuint program, const GLint location, GLfloat* params)); -typedef GLvoid (APIENTRY PFNGLGETUNIFORMIV_PROC (const GLuint program, const GLint location, GLint* params)); -typedef GLvoid (APIENTRY PFNGLGETVERTEXATTRIBDV_PROC (const GLuint index, const GLenum pname, GLdouble* params)); -typedef GLvoid (APIENTRY PFNGLGETVERTEXATTRIBFV_PROC (const GLuint index, const GLenum pname, GLfloat* params)); -typedef GLvoid (APIENTRY PFNGLGETVERTEXATTRIBIV_PROC (const GLuint index, const GLenum pname, GLint* params)); -typedef GLvoid (APIENTRY PFNGLGETVERTEXATTRIBPOINTERV_PROC (const GLuint index, const GLenum pname, GLvoid** pointer)); -typedef GLboolean (APIENTRY PFNGLISPROGRAM_PROC (const GLuint program)); -typedef GLboolean (APIENTRY PFNGLISSHADER_PROC (const GLuint shader)); -typedef GLvoid (APIENTRY PFNGLLINKPROGRAM_PROC (const GLuint program)); -typedef GLvoid (APIENTRY PFNGLSHADERSOURCE_PROC (const GLuint shader, const GLsizei count, const GLchar* const* string, const GLint* length)); -typedef GLvoid (APIENTRY PFNGLUSEPROGRAM_PROC (const GLuint program)); -typedef GLvoid (APIENTRY PFNGLUNIFORM1F_PROC (const GLint location, const GLfloat v0)); -typedef GLvoid (APIENTRY PFNGLUNIFORM2F_PROC (const GLint location, const GLfloat v0, const GLfloat v1)); -typedef GLvoid (APIENTRY PFNGLUNIFORM3F_PROC (const GLint location, const GLfloat v0, const GLfloat v1, const GLfloat v2)); -typedef GLvoid (APIENTRY PFNGLUNIFORM4F_PROC (const GLint location, const GLfloat v0, const GLfloat v1, const GLfloat v2, const GLfloat v3)); -typedef GLvoid (APIENTRY PFNGLUNIFORM1I_PROC (const GLint location, const GLint v0)); -typedef GLvoid (APIENTRY PFNGLUNIFORM2I_PROC (const GLint location, const GLint v0, const GLint v1)); -typedef GLvoid (APIENTRY PFNGLUNIFORM3I_PROC (const GLint location, const GLint v0, const GLint v1, const GLint v2)); -typedef GLvoid (APIENTRY PFNGLUNIFORM4I_PROC (const GLint location, const GLint v0, const GLint v1, const GLint v2, const GLint v3)); -typedef GLvoid (APIENTRY PFNGLUNIFORM1FV_PROC (const GLint location, const GLsizei count, const GLfloat* value)); -typedef GLvoid (APIENTRY PFNGLUNIFORM2FV_PROC (const GLint location, const GLsizei count, const GLfloat* value)); -typedef GLvoid (APIENTRY PFNGLUNIFORM3FV_PROC (const GLint location, const GLsizei count, const GLfloat* value)); -typedef GLvoid (APIENTRY PFNGLUNIFORM4FV_PROC (const GLint location, const GLsizei count, const GLfloat* value)); -typedef GLvoid (APIENTRY PFNGLUNIFORM1IV_PROC (const GLint location, const GLsizei count, const GLint* value)); -typedef GLvoid (APIENTRY PFNGLUNIFORM2IV_PROC (const GLint location, const GLsizei count, const GLint* value)); -typedef GLvoid (APIENTRY PFNGLUNIFORM3IV_PROC (const GLint location, const GLsizei count, const GLint* value)); -typedef GLvoid (APIENTRY PFNGLUNIFORM4IV_PROC (const GLint location, const GLsizei count, const GLint* value)); -typedef GLvoid (APIENTRY PFNGLUNIFORMMATRIX2FV_PROC (const GLint location, const GLsizei count, const GLboolean transpose, const GLfloat* value)); -typedef GLvoid (APIENTRY PFNGLUNIFORMMATRIX3FV_PROC (const GLint location, const GLsizei count, const GLboolean transpose, const GLfloat* value)); -typedef GLvoid (APIENTRY PFNGLUNIFORMMATRIX4FV_PROC (const GLint location, const GLsizei count, const GLboolean transpose, const GLfloat* value)); -typedef GLvoid (APIENTRY PFNGLVALIDATEPROGRAM_PROC (const GLuint program)); -typedef GLvoid (APIENTRY PFNGLVERTEXATTRIB1D_PROC (const GLuint index, const GLdouble x)); -typedef GLvoid (APIENTRY PFNGLVERTEXATTRIB1DV_PROC (const GLuint index, const GLdouble* v)); -typedef GLvoid (APIENTRY PFNGLVERTEXATTRIB1F_PROC (const GLuint index, const GLfloat x)); -typedef GLvoid (APIENTRY PFNGLVERTEXATTRIB1FV_PROC (const GLuint index, const GLfloat* v)); -typedef GLvoid (APIENTRY PFNGLVERTEXATTRIB1S_PROC (const GLuint index, const GLshort x)); -typedef GLvoid (APIENTRY PFNGLVERTEXATTRIB1SV_PROC (const GLuint index, const GLshort* v)); -typedef GLvoid (APIENTRY PFNGLVERTEXATTRIB2D_PROC (const GLuint index, const GLdouble x, const GLdouble y)); -typedef GLvoid (APIENTRY PFNGLVERTEXATTRIB2DV_PROC (const GLuint index, const GLdouble* v)); -typedef GLvoid (APIENTRY PFNGLVERTEXATTRIB2F_PROC (const GLuint index, const GLfloat x, const GLfloat y)); -typedef GLvoid (APIENTRY PFNGLVERTEXATTRIB2FV_PROC (const GLuint index, const GLfloat* v)); -typedef GLvoid (APIENTRY PFNGLVERTEXATTRIB2S_PROC (const GLuint index, const GLshort x, const GLshort y)); -typedef GLvoid (APIENTRY PFNGLVERTEXATTRIB2SV_PROC (const GLuint index, const GLshort* v)); -typedef GLvoid (APIENTRY PFNGLVERTEXATTRIB3D_PROC (const GLuint index, const GLdouble x, const GLdouble y, const GLdouble z)); -typedef GLvoid (APIENTRY PFNGLVERTEXATTRIB3DV_PROC (const GLuint index, const GLdouble* v)); -typedef GLvoid (APIENTRY PFNGLVERTEXATTRIB3F_PROC (const GLuint index, const GLfloat x, const GLfloat y, const GLfloat z)); -typedef GLvoid (APIENTRY PFNGLVERTEXATTRIB3FV_PROC (const GLuint index, const GLfloat* v)); -typedef GLvoid (APIENTRY PFNGLVERTEXATTRIB3S_PROC (const GLuint index, const GLshort x, const GLshort y, const GLshort z)); -typedef GLvoid (APIENTRY PFNGLVERTEXATTRIB3SV_PROC (const GLuint index, const GLshort* v)); -typedef GLvoid (APIENTRY PFNGLVERTEXATTRIB4NBV_PROC (const GLuint index, const GLbyte* v)); -typedef GLvoid (APIENTRY PFNGLVERTEXATTRIB4NIV_PROC (const GLuint index, const GLint* v)); -typedef GLvoid (APIENTRY PFNGLVERTEXATTRIB4NSV_PROC (const GLuint index, const GLshort* v)); -typedef GLvoid (APIENTRY PFNGLVERTEXATTRIB4NUB_PROC (const GLuint index, const GLubyte x, const GLubyte y, const GLubyte z, const GLubyte w)); -typedef GLvoid (APIENTRY PFNGLVERTEXATTRIB4NUBV_PROC (const GLuint index, const GLubyte* v)); -typedef GLvoid (APIENTRY PFNGLVERTEXATTRIB4NUIV_PROC (const GLuint index, const GLuint* v)); -typedef GLvoid (APIENTRY PFNGLVERTEXATTRIB4NUSV_PROC (const GLuint index, const GLushort* v)); -typedef GLvoid (APIENTRY PFNGLVERTEXATTRIB4BV_PROC (const GLuint index, const GLbyte* v)); -typedef GLvoid (APIENTRY PFNGLVERTEXATTRIB4D_PROC (const GLuint index, const GLdouble x, const GLdouble y, const GLdouble z, const GLdouble w)); -typedef GLvoid (APIENTRY PFNGLVERTEXATTRIB4DV_PROC (const GLuint index, const GLdouble* v)); -typedef GLvoid (APIENTRY PFNGLVERTEXATTRIB4F_PROC (const GLuint index, const GLfloat x, const GLfloat y, const GLfloat z, const GLfloat w)); -typedef GLvoid (APIENTRY PFNGLVERTEXATTRIB4FV_PROC (const GLuint index, const GLfloat* v)); -typedef GLvoid (APIENTRY PFNGLVERTEXATTRIB4IV_PROC (const GLuint index, const GLint* v)); -typedef GLvoid (APIENTRY PFNGLVERTEXATTRIB4S_PROC (const GLuint index, const GLshort x, const GLshort y, const GLshort z, const GLshort w)); -typedef GLvoid (APIENTRY PFNGLVERTEXATTRIB4SV_PROC (const GLuint index, const GLshort* v)); -typedef GLvoid (APIENTRY PFNGLVERTEXATTRIB4UBV_PROC (const GLuint index, const GLubyte* v)); -typedef GLvoid (APIENTRY PFNGLVERTEXATTRIB4UIV_PROC (const GLuint index, const GLuint* v)); -typedef GLvoid (APIENTRY PFNGLVERTEXATTRIB4USV_PROC (const GLuint index, const GLushort* v)); -typedef GLvoid (APIENTRY PFNGLVERTEXATTRIBPOINTER_PROC (const GLuint index, const GLint size, const GLenum type, const GLboolean normalized, const GLsizei stride, const GLvoid* pointer)); +typedef GLuint (APIENTRY PFNGLCREATESHADER_PROC (GLenum type)); +typedef void (APIENTRY PFNGLDELETEPROGRAM_PROC (GLuint program)); +typedef void (APIENTRY PFNGLDELETESHADER_PROC (GLuint shader)); +typedef void (APIENTRY PFNGLDETACHSHADER_PROC (GLuint program, GLuint shader)); +typedef void (APIENTRY PFNGLDISABLEVERTEXATTRIBARRAY_PROC (GLuint index)); +typedef void (APIENTRY PFNGLDRAWBUFFERS_PROC (GLsizei n, const GLenum * bufs)); +typedef void (APIENTRY PFNGLENABLEVERTEXATTRIBARRAY_PROC (GLuint index)); +typedef void (APIENTRY PFNGLGETACTIVEATTRIB_PROC (GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLint * size, GLenum * type, GLchar * name)); +typedef void (APIENTRY PFNGLGETACTIVEUNIFORM_PROC (GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLint * size, GLenum * type, GLchar * name)); +typedef void (APIENTRY PFNGLGETATTACHEDSHADERS_PROC (GLuint program, GLsizei maxCount, GLsizei * count, GLuint * shaders)); +typedef GLint (APIENTRY PFNGLGETATTRIBLOCATION_PROC (GLuint program, const GLchar * name)); +typedef void (APIENTRY PFNGLGETPROGRAMINFOLOG_PROC (GLuint program, GLsizei bufSize, GLsizei * length, GLchar * infoLog)); +typedef void (APIENTRY PFNGLGETPROGRAMIV_PROC (GLuint program, GLenum pname, GLint * params)); +typedef void (APIENTRY PFNGLGETSHADERINFOLOG_PROC (GLuint shader, GLsizei bufSize, GLsizei * length, GLchar * infoLog)); +typedef void (APIENTRY PFNGLGETSHADERSOURCE_PROC (GLuint shader, GLsizei bufSize, GLsizei * length, GLchar * source)); +typedef void (APIENTRY PFNGLGETSHADERIV_PROC (GLuint shader, GLenum pname, GLint * params)); +typedef GLint (APIENTRY PFNGLGETUNIFORMLOCATION_PROC (GLuint program, const GLchar * name)); +typedef void (APIENTRY PFNGLGETUNIFORMFV_PROC (GLuint program, GLint location, GLfloat * params)); +typedef void (APIENTRY PFNGLGETUNIFORMIV_PROC (GLuint program, GLint location, GLint * params)); +typedef void (APIENTRY PFNGLGETVERTEXATTRIBPOINTERV_PROC (GLuint index, GLenum pname, void ** pointer)); +typedef void (APIENTRY PFNGLGETVERTEXATTRIBDV_PROC (GLuint index, GLenum pname, GLdouble * params)); +typedef void (APIENTRY PFNGLGETVERTEXATTRIBFV_PROC (GLuint index, GLenum pname, GLfloat * params)); +typedef void (APIENTRY PFNGLGETVERTEXATTRIBIV_PROC (GLuint index, GLenum pname, GLint * params)); +typedef GLboolean (APIENTRY PFNGLISPROGRAM_PROC (GLuint program)); +typedef GLboolean (APIENTRY PFNGLISSHADER_PROC (GLuint shader)); +typedef void (APIENTRY PFNGLLINKPROGRAM_PROC (GLuint program)); +typedef void (APIENTRY PFNGLSHADERSOURCE_PROC (GLuint shader, GLsizei count, const GLchar *const* string, const GLint * length)); +typedef void (APIENTRY PFNGLSTENCILFUNCSEPARATE_PROC (GLenum face, GLenum func, GLint ref, GLuint mask)); +typedef void (APIENTRY PFNGLSTENCILMASKSEPARATE_PROC (GLenum face, GLuint mask)); +typedef void (APIENTRY PFNGLSTENCILOPSEPARATE_PROC (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass)); +typedef void (APIENTRY PFNGLUNIFORM1F_PROC (GLint location, GLfloat v0)); +typedef void (APIENTRY PFNGLUNIFORM1FV_PROC (GLint location, GLsizei count, const GLfloat * value)); +typedef void (APIENTRY PFNGLUNIFORM1I_PROC (GLint location, GLint v0)); +typedef void (APIENTRY PFNGLUNIFORM1IV_PROC (GLint location, GLsizei count, const GLint * value)); +typedef void (APIENTRY PFNGLUNIFORM2F_PROC (GLint location, GLfloat v0, GLfloat v1)); +typedef void (APIENTRY PFNGLUNIFORM2FV_PROC (GLint location, GLsizei count, const GLfloat * value)); +typedef void (APIENTRY PFNGLUNIFORM2I_PROC (GLint location, GLint v0, GLint v1)); +typedef void (APIENTRY PFNGLUNIFORM2IV_PROC (GLint location, GLsizei count, const GLint * value)); +typedef void (APIENTRY PFNGLUNIFORM3F_PROC (GLint location, GLfloat v0, GLfloat v1, GLfloat v2)); +typedef void (APIENTRY PFNGLUNIFORM3FV_PROC (GLint location, GLsizei count, const GLfloat * value)); +typedef void (APIENTRY PFNGLUNIFORM3I_PROC (GLint location, GLint v0, GLint v1, GLint v2)); +typedef void (APIENTRY PFNGLUNIFORM3IV_PROC (GLint location, GLsizei count, const GLint * value)); +typedef void (APIENTRY PFNGLUNIFORM4F_PROC (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3)); +typedef void (APIENTRY PFNGLUNIFORM4FV_PROC (GLint location, GLsizei count, const GLfloat * value)); +typedef void (APIENTRY PFNGLUNIFORM4I_PROC (GLint location, GLint v0, GLint v1, GLint v2, GLint v3)); +typedef void (APIENTRY PFNGLUNIFORM4IV_PROC (GLint location, GLsizei count, const GLint * value)); +typedef void (APIENTRY PFNGLUNIFORMMATRIX2FV_PROC (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value)); +typedef void (APIENTRY PFNGLUNIFORMMATRIX3FV_PROC (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value)); +typedef void (APIENTRY PFNGLUNIFORMMATRIX4FV_PROC (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value)); +typedef void (APIENTRY PFNGLUSEPROGRAM_PROC (GLuint program)); +typedef void (APIENTRY PFNGLVALIDATEPROGRAM_PROC (GLuint program)); +typedef void (APIENTRY PFNGLVERTEXATTRIB1D_PROC (GLuint index, GLdouble x)); +typedef void (APIENTRY PFNGLVERTEXATTRIB1DV_PROC (GLuint index, const GLdouble * v)); +typedef void (APIENTRY PFNGLVERTEXATTRIB1F_PROC (GLuint index, GLfloat x)); +typedef void (APIENTRY PFNGLVERTEXATTRIB1FV_PROC (GLuint index, const GLfloat * v)); +typedef void (APIENTRY PFNGLVERTEXATTRIB1S_PROC (GLuint index, GLshort x)); +typedef void (APIENTRY PFNGLVERTEXATTRIB1SV_PROC (GLuint index, const GLshort * v)); +typedef void (APIENTRY PFNGLVERTEXATTRIB2D_PROC (GLuint index, GLdouble x, GLdouble y)); +typedef void (APIENTRY PFNGLVERTEXATTRIB2DV_PROC (GLuint index, const GLdouble * v)); +typedef void (APIENTRY PFNGLVERTEXATTRIB2F_PROC (GLuint index, GLfloat x, GLfloat y)); +typedef void (APIENTRY PFNGLVERTEXATTRIB2FV_PROC (GLuint index, const GLfloat * v)); +typedef void (APIENTRY PFNGLVERTEXATTRIB2S_PROC (GLuint index, GLshort x, GLshort y)); +typedef void (APIENTRY PFNGLVERTEXATTRIB2SV_PROC (GLuint index, const GLshort * v)); +typedef void (APIENTRY PFNGLVERTEXATTRIB3D_PROC (GLuint index, GLdouble x, GLdouble y, GLdouble z)); +typedef void (APIENTRY PFNGLVERTEXATTRIB3DV_PROC (GLuint index, const GLdouble * v)); +typedef void (APIENTRY PFNGLVERTEXATTRIB3F_PROC (GLuint index, GLfloat x, GLfloat y, GLfloat z)); +typedef void (APIENTRY PFNGLVERTEXATTRIB3FV_PROC (GLuint index, const GLfloat * v)); +typedef void (APIENTRY PFNGLVERTEXATTRIB3S_PROC (GLuint index, GLshort x, GLshort y, GLshort z)); +typedef void (APIENTRY PFNGLVERTEXATTRIB3SV_PROC (GLuint index, const GLshort * v)); +typedef void (APIENTRY PFNGLVERTEXATTRIB4NBV_PROC (GLuint index, const GLbyte * v)); +typedef void (APIENTRY PFNGLVERTEXATTRIB4NIV_PROC (GLuint index, const GLint * v)); +typedef void (APIENTRY PFNGLVERTEXATTRIB4NSV_PROC (GLuint index, const GLshort * v)); +typedef void (APIENTRY PFNGLVERTEXATTRIB4NUB_PROC (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w)); +typedef void (APIENTRY PFNGLVERTEXATTRIB4NUBV_PROC (GLuint index, const GLubyte * v)); +typedef void (APIENTRY PFNGLVERTEXATTRIB4NUIV_PROC (GLuint index, const GLuint * v)); +typedef void (APIENTRY PFNGLVERTEXATTRIB4NUSV_PROC (GLuint index, const GLushort * v)); +typedef void (APIENTRY PFNGLVERTEXATTRIB4BV_PROC (GLuint index, const GLbyte * v)); +typedef void (APIENTRY PFNGLVERTEXATTRIB4D_PROC (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w)); +typedef void (APIENTRY PFNGLVERTEXATTRIB4DV_PROC (GLuint index, const GLdouble * v)); +typedef void (APIENTRY PFNGLVERTEXATTRIB4F_PROC (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w)); +typedef void (APIENTRY PFNGLVERTEXATTRIB4FV_PROC (GLuint index, const GLfloat * v)); +typedef void (APIENTRY PFNGLVERTEXATTRIB4IV_PROC (GLuint index, const GLint * v)); +typedef void (APIENTRY PFNGLVERTEXATTRIB4S_PROC (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w)); +typedef void (APIENTRY PFNGLVERTEXATTRIB4SV_PROC (GLuint index, const GLshort * v)); +typedef void (APIENTRY PFNGLVERTEXATTRIB4UBV_PROC (GLuint index, const GLubyte * v)); +typedef void (APIENTRY PFNGLVERTEXATTRIB4UIV_PROC (GLuint index, const GLuint * v)); +typedef void (APIENTRY PFNGLVERTEXATTRIB4USV_PROC (GLuint index, const GLushort * v)); +typedef void (APIENTRY PFNGLVERTEXATTRIBPOINTER_PROC (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void * pointer)); -GLAPI PFNGLBLENDEQUATIONSEPARATE_PROC* glpfBlendEquationSeparate; -GLAPI PFNGLDRAWBUFFERS_PROC* glpfDrawBuffers; -GLAPI PFNGLSTENCILOPSEPARATE_PROC* glpfStencilOpSeparate; -GLAPI PFNGLSTENCILFUNCSEPARATE_PROC* glpfStencilFuncSeparate; -GLAPI PFNGLSTENCILMASKSEPARATE_PROC* glpfStencilMaskSeparate; GLAPI PFNGLATTACHSHADER_PROC* glpfAttachShader; GLAPI PFNGLBINDATTRIBLOCATION_PROC* glpfBindAttribLocation; +GLAPI PFNGLBLENDEQUATIONSEPARATE_PROC* glpfBlendEquationSeparate; GLAPI PFNGLCOMPILESHADER_PROC* glpfCompileShader; GLAPI PFNGLCREATEPROGRAM_PROC* glpfCreateProgram; GLAPI PFNGLCREATESHADER_PROC* glpfCreateShader; @@ -6495,47 +1979,51 @@ GLAPI PFNGLDELETEPROGRAM_PROC* glpfDeleteProgram; GLAPI PFNGLDELETESHADER_PROC* glpfDeleteShader; GLAPI PFNGLDETACHSHADER_PROC* glpfDetachShader; GLAPI PFNGLDISABLEVERTEXATTRIBARRAY_PROC* glpfDisableVertexAttribArray; +GLAPI PFNGLDRAWBUFFERS_PROC* glpfDrawBuffers; GLAPI PFNGLENABLEVERTEXATTRIBARRAY_PROC* glpfEnableVertexAttribArray; GLAPI PFNGLGETACTIVEATTRIB_PROC* glpfGetActiveAttrib; GLAPI PFNGLGETACTIVEUNIFORM_PROC* glpfGetActiveUniform; GLAPI PFNGLGETATTACHEDSHADERS_PROC* glpfGetAttachedShaders; GLAPI PFNGLGETATTRIBLOCATION_PROC* glpfGetAttribLocation; -GLAPI PFNGLGETPROGRAMIV_PROC* glpfGetProgramiv; GLAPI PFNGLGETPROGRAMINFOLOG_PROC* glpfGetProgramInfoLog; -GLAPI PFNGLGETSHADERIV_PROC* glpfGetShaderiv; +GLAPI PFNGLGETPROGRAMIV_PROC* glpfGetProgramiv; GLAPI PFNGLGETSHADERINFOLOG_PROC* glpfGetShaderInfoLog; GLAPI PFNGLGETSHADERSOURCE_PROC* glpfGetShaderSource; +GLAPI PFNGLGETSHADERIV_PROC* glpfGetShaderiv; GLAPI PFNGLGETUNIFORMLOCATION_PROC* glpfGetUniformLocation; GLAPI PFNGLGETUNIFORMFV_PROC* glpfGetUniformfv; GLAPI PFNGLGETUNIFORMIV_PROC* glpfGetUniformiv; +GLAPI PFNGLGETVERTEXATTRIBPOINTERV_PROC* glpfGetVertexAttribPointerv; GLAPI PFNGLGETVERTEXATTRIBDV_PROC* glpfGetVertexAttribdv; GLAPI PFNGLGETVERTEXATTRIBFV_PROC* glpfGetVertexAttribfv; GLAPI PFNGLGETVERTEXATTRIBIV_PROC* glpfGetVertexAttribiv; -GLAPI PFNGLGETVERTEXATTRIBPOINTERV_PROC* glpfGetVertexAttribPointerv; GLAPI PFNGLISPROGRAM_PROC* glpfIsProgram; GLAPI PFNGLISSHADER_PROC* glpfIsShader; GLAPI PFNGLLINKPROGRAM_PROC* glpfLinkProgram; GLAPI PFNGLSHADERSOURCE_PROC* glpfShaderSource; -GLAPI PFNGLUSEPROGRAM_PROC* glpfUseProgram; +GLAPI PFNGLSTENCILFUNCSEPARATE_PROC* glpfStencilFuncSeparate; +GLAPI PFNGLSTENCILMASKSEPARATE_PROC* glpfStencilMaskSeparate; +GLAPI PFNGLSTENCILOPSEPARATE_PROC* glpfStencilOpSeparate; GLAPI PFNGLUNIFORM1F_PROC* glpfUniform1f; -GLAPI PFNGLUNIFORM2F_PROC* glpfUniform2f; -GLAPI PFNGLUNIFORM3F_PROC* glpfUniform3f; -GLAPI PFNGLUNIFORM4F_PROC* glpfUniform4f; -GLAPI PFNGLUNIFORM1I_PROC* glpfUniform1i; -GLAPI PFNGLUNIFORM2I_PROC* glpfUniform2i; -GLAPI PFNGLUNIFORM3I_PROC* glpfUniform3i; -GLAPI PFNGLUNIFORM4I_PROC* glpfUniform4i; GLAPI PFNGLUNIFORM1FV_PROC* glpfUniform1fv; -GLAPI PFNGLUNIFORM2FV_PROC* glpfUniform2fv; -GLAPI PFNGLUNIFORM3FV_PROC* glpfUniform3fv; -GLAPI PFNGLUNIFORM4FV_PROC* glpfUniform4fv; +GLAPI PFNGLUNIFORM1I_PROC* glpfUniform1i; GLAPI PFNGLUNIFORM1IV_PROC* glpfUniform1iv; +GLAPI PFNGLUNIFORM2F_PROC* glpfUniform2f; +GLAPI PFNGLUNIFORM2FV_PROC* glpfUniform2fv; +GLAPI PFNGLUNIFORM2I_PROC* glpfUniform2i; GLAPI PFNGLUNIFORM2IV_PROC* glpfUniform2iv; +GLAPI PFNGLUNIFORM3F_PROC* glpfUniform3f; +GLAPI PFNGLUNIFORM3FV_PROC* glpfUniform3fv; +GLAPI PFNGLUNIFORM3I_PROC* glpfUniform3i; GLAPI PFNGLUNIFORM3IV_PROC* glpfUniform3iv; +GLAPI PFNGLUNIFORM4F_PROC* glpfUniform4f; +GLAPI PFNGLUNIFORM4FV_PROC* glpfUniform4fv; +GLAPI PFNGLUNIFORM4I_PROC* glpfUniform4i; GLAPI PFNGLUNIFORM4IV_PROC* glpfUniform4iv; GLAPI PFNGLUNIFORMMATRIX2FV_PROC* glpfUniformMatrix2fv; GLAPI PFNGLUNIFORMMATRIX3FV_PROC* glpfUniformMatrix3fv; GLAPI PFNGLUNIFORMMATRIX4FV_PROC* glpfUniformMatrix4fv; +GLAPI PFNGLUSEPROGRAM_PROC* glpfUseProgram; GLAPI PFNGLVALIDATEPROGRAM_PROC* glpfValidateProgram; GLAPI PFNGLVERTEXATTRIB1D_PROC* glpfVertexAttrib1d; GLAPI PFNGLVERTEXATTRIB1DV_PROC* glpfVertexAttrib1dv; @@ -6575,13 +2063,9 @@ GLAPI PFNGLVERTEXATTRIB4UIV_PROC* glpfVertexAttrib4uiv; GLAPI PFNGLVERTEXATTRIB4USV_PROC* glpfVertexAttrib4usv; GLAPI PFNGLVERTEXATTRIBPOINTER_PROC* glpfVertexAttribPointer; -#define glBlendEquationSeparate glpfBlendEquationSeparate -#define glDrawBuffers glpfDrawBuffers -#define glStencilOpSeparate glpfStencilOpSeparate -#define glStencilFuncSeparate glpfStencilFuncSeparate -#define glStencilMaskSeparate glpfStencilMaskSeparate #define glAttachShader glpfAttachShader #define glBindAttribLocation glpfBindAttribLocation +#define glBlendEquationSeparate glpfBlendEquationSeparate #define glCompileShader glpfCompileShader #define glCreateProgram glpfCreateProgram #define glCreateShader glpfCreateShader @@ -6589,47 +2073,51 @@ GLAPI PFNGLVERTEXATTRIBPOINTER_PROC* glpfVertexAttribPointer; #define glDeleteShader glpfDeleteShader #define glDetachShader glpfDetachShader #define glDisableVertexAttribArray glpfDisableVertexAttribArray +#define glDrawBuffers glpfDrawBuffers #define glEnableVertexAttribArray glpfEnableVertexAttribArray #define glGetActiveAttrib glpfGetActiveAttrib #define glGetActiveUniform glpfGetActiveUniform #define glGetAttachedShaders glpfGetAttachedShaders #define glGetAttribLocation glpfGetAttribLocation -#define glGetProgramiv glpfGetProgramiv #define glGetProgramInfoLog glpfGetProgramInfoLog -#define glGetShaderiv glpfGetShaderiv +#define glGetProgramiv glpfGetProgramiv #define glGetShaderInfoLog glpfGetShaderInfoLog #define glGetShaderSource glpfGetShaderSource +#define glGetShaderiv glpfGetShaderiv #define glGetUniformLocation glpfGetUniformLocation #define glGetUniformfv glpfGetUniformfv #define glGetUniformiv glpfGetUniformiv +#define glGetVertexAttribPointerv glpfGetVertexAttribPointerv #define glGetVertexAttribdv glpfGetVertexAttribdv #define glGetVertexAttribfv glpfGetVertexAttribfv #define glGetVertexAttribiv glpfGetVertexAttribiv -#define glGetVertexAttribPointerv glpfGetVertexAttribPointerv #define glIsProgram glpfIsProgram #define glIsShader glpfIsShader #define glLinkProgram glpfLinkProgram #define glShaderSource glpfShaderSource -#define glUseProgram glpfUseProgram +#define glStencilFuncSeparate glpfStencilFuncSeparate +#define glStencilMaskSeparate glpfStencilMaskSeparate +#define glStencilOpSeparate glpfStencilOpSeparate #define glUniform1f glpfUniform1f -#define glUniform2f glpfUniform2f -#define glUniform3f glpfUniform3f -#define glUniform4f glpfUniform4f -#define glUniform1i glpfUniform1i -#define glUniform2i glpfUniform2i -#define glUniform3i glpfUniform3i -#define glUniform4i glpfUniform4i #define glUniform1fv glpfUniform1fv -#define glUniform2fv glpfUniform2fv -#define glUniform3fv glpfUniform3fv -#define glUniform4fv glpfUniform4fv +#define glUniform1i glpfUniform1i #define glUniform1iv glpfUniform1iv +#define glUniform2f glpfUniform2f +#define glUniform2fv glpfUniform2fv +#define glUniform2i glpfUniform2i #define glUniform2iv glpfUniform2iv +#define glUniform3f glpfUniform3f +#define glUniform3fv glpfUniform3fv +#define glUniform3i glpfUniform3i #define glUniform3iv glpfUniform3iv +#define glUniform4f glpfUniform4f +#define glUniform4fv glpfUniform4fv +#define glUniform4i glpfUniform4i #define glUniform4iv glpfUniform4iv #define glUniformMatrix2fv glpfUniformMatrix2fv #define glUniformMatrix3fv glpfUniformMatrix3fv #define glUniformMatrix4fv glpfUniformMatrix4fv +#define glUseProgram glpfUseProgram #define glValidateProgram glpfValidateProgram #define glVertexAttrib1d glpfVertexAttrib1d #define glVertexAttrib1dv glpfVertexAttrib1dv @@ -6670,14 +2158,34 @@ GLAPI PFNGLVERTEXATTRIBPOINTER_PROC* glpfVertexAttribPointer; #define glVertexAttribPointer glpfVertexAttribPointer +/* --------------------------- CATEGORY DEFINES ------------------------------ */ + +#define GL_ARB_geometry_shader4 +#define GL_ARB_texture_float +#define GL_EXT_framebuffer_object +#define GL_EXT_texture_filter_anisotropic +#define GL_EXT_transform_feedback +#define GL_VERSION_1_0 +#define GL_VERSION_1_1 +#define GL_VERSION_1_2 +#define GL_VERSION_1_3 +#define GL_VERSION_1_4 +#define GL_VERSION_1_5 +#define GL_VERSION_2_0 + /* ---------------------- Flags for optional extensions ---------------------- */ + extern int FLEXT_EXT_framebuffer_object; +extern int FLEXT_ARB_texture_float; extern int FLEXT_ARB_geometry_shader4; extern int FLEXT_EXT_transform_feedback; extern int FLEXT_EXT_texture_filter_anisotropic; -int flextInit(void); +struct GLFWwindow; +typedef struct GLFWwindow GLFWwindow; + +int flextInit(GLFWwindow* window); #define FLEXT_MAJOR_VERSION 2 #define FLEXT_MINOR_VERSION 0 diff --git a/glprofile.txt b/glprofile.txt index cb66e2d..e176d56 100644 --- a/glprofile.txt +++ b/glprofile.txt @@ -5,6 +5,7 @@ version 2.0 compatibility extension EXT_framebuffer_object required +extension ARB_texture_float required extension ARB_geometry_shader4 optional extension EXT_transform_feedback optional diff --git a/src/Config.cc b/src/Config.cc index c146462..8b7b55f 100644 --- a/src/Config.cc +++ b/src/Config.cc @@ -4,7 +4,7 @@ Config::Config() : width(800), height(600), - window_mode(GLFW_FULLSCREEN), + window_mode(FULLSCREEN), fsaa_samples(4), swap_interval(1), polygon_mode(GL_FILL), @@ -108,7 +108,7 @@ void Config::set_value(string name, string value) int ival = 0; float fval = 0.0f; - int winmodeval = GLFW_WINDOW; + WindowMode winmodeval = WINDOW; GLenum polymodeval = GL_FILL; string sval = ""; V2f vec2val; @@ -151,11 +151,11 @@ void Config::set_value(string name, string value) bval = ival; // Try to parse as integer (0/1) } - if (value.find("window") != string::npos && - value.find("window") < value.find(';')) { - winmodeval = GLFW_WINDOW; + if (value.find("fullscreen") != string::npos && + value.find("fullscreen") < value.find(';')) { + winmodeval = FULLSCREEN; } else { - winmodeval = GLFW_FULLSCREEN; + winmodeval = WINDOW; } if (value.find("fill") != string::npos && @@ -321,7 +321,7 @@ bool Config::write_file(string filename) os << "height = " << height << ";" << endl; os << "swap_interval = " << swap_interval << ";" << endl; os << "window_mode = "; - if (window_mode == GLFW_WINDOW) + if (window_mode == WINDOW) os << "window;" << endl; else os << "fullscreen;" << endl; diff --git a/src/Config.hh b/src/Config.hh index 41e1220..092ce49 100644 --- a/src/Config.hh +++ b/src/Config.hh @@ -3,6 +3,11 @@ #include "cinquo.hh" +enum WindowMode { + FULLSCREEN, + WINDOW +}; + class Config { public: @@ -10,7 +15,7 @@ class Config // Window properties: int width, height; - int window_mode; + WindowMode window_mode; int fsaa_samples; int swap_interval; GLenum polygon_mode; diff --git a/src/Menu.cc b/src/Menu.cc index a1b8bdf..5324661 100644 --- a/src/Menu.cc +++ b/src/Menu.cc @@ -7,19 +7,19 @@ Menu* Menu::callback_menu = NULL; -void GLFWCALL menu_mouse_callback(int button, int action) +void menu_mouse_callback(GLFWwindow* window, int button, int action, int mods) { if (Menu::callback_menu != NULL) Menu::callback_menu->mouse_callback(button, action); } -void GLFWCALL menu_resize_callback(int width, int height) +void menu_resize_callback(GLFWwindow* window, int width, int height) { if (Menu::callback_menu != NULL) Menu::callback_menu->resize_callback(width, height); } -void GLFWCALL menu_key_callback(int key, int state) +void menu_key_callback(GLFWwindow* window, int key, int scancode, int state, int mods) { if (state != GLFW_PRESS || Menu::callback_menu == NULL ) return; @@ -34,7 +34,7 @@ void GLFWCALL menu_key_callback(int key, int state) void Menu::toggle_fullscreen(void) { - config->window_mode = (config->window_mode == GLFW_WINDOW)?GLFW_FULLSCREEN:GLFW_WINDOW; + config->window_mode = (config->window_mode == WINDOW)?FULLSCREEN:WINDOW; status = RESET; running = false; } @@ -48,9 +48,9 @@ void Menu::toggle_music(void) void Menu::mouse_callback(int button, int action) { - int x,y; + double x,y; - glfwGetMousePos(&x, &y); + glfwGetCursorPos(window, &x, &y); if (action == GLFW_PRESS) { V2f pos(x,screen_size.y - y); @@ -84,7 +84,8 @@ void Menu::resize_callback(int width, int height) #define TEXT_COLOR Color4f(1,1,1,0.5) Menu::Menu (Config* config, - Skydome* skydome) + Skydome* skydome, + GLFWwindow* window) : active_screen(MAIN_SCREEN), config(config), skydome(skydome), @@ -98,36 +99,37 @@ Menu::Menu (Config* config, prev_level_button(config->resource_dir + "textures/left.png"), computer_no("0", config), human_no("0", config), - computer_text(config->resource_dir + "textures/computer.png"), - human_text(config->resource_dir + "textures/human.png"), - computers(config->ai_count), - humans(config->player_count - config->ai_count), - settings_text("Settings", config), - settings_done(config->resource_dir + "textures/back.png"), - particles_text("Some particles", config, TEXT_COLOR), - prev_particles(config->resource_dir + "textures/left.png"), - next_particles(config->resource_dir + "textures/right.png"), - fullscreen_text("Some particles", config, TEXT_COLOR), - prev_fullscreen(config->resource_dir + "textures/left.png"), - next_fullscreen(config->resource_dir + "textures/right.png"), - minimap_text("Some particles", config, TEXT_COLOR), - prev_minimap(config->resource_dir + "textures/left.png"), - next_minimap(config->resource_dir + "textures/right.png"), - antialiasing_text("Some particles", config, TEXT_COLOR), - prev_antialiasing(config->resource_dir + "textures/left.png"), - next_antialiasing(config->resource_dir + "textures/right.png"), - hearts_text("Some particles", config, TEXT_COLOR), - prev_hearts(config->resource_dir + "textures/left.png"), - next_hearts(config->resource_dir + "textures/right.png"), - resolution_text("Some particles", config, TEXT_COLOR), - prev_resolution(config->resource_dir + "textures/left.png"), - next_resolution(config->resource_dir + "textures/right.png"), - water_text("Simple water", config, TEXT_COLOR), - prev_water(config->resource_dir + "textures/left.png"), - next_water(config->resource_dir + "textures/right.png"), - needs_reset(false), - computer_slider(config), - human_slider(config) + computer_text(config->resource_dir + "textures/computer.png"), + human_text(config->resource_dir + "textures/human.png"), + computers(config->ai_count), + humans(config->player_count - config->ai_count), + settings_text("Settings", config), + settings_done(config->resource_dir + "textures/back.png"), + particles_text("Some particles", config, TEXT_COLOR), + prev_particles(config->resource_dir + "textures/left.png"), + next_particles(config->resource_dir + "textures/right.png"), + fullscreen_text("Some particles", config, TEXT_COLOR), + prev_fullscreen(config->resource_dir + "textures/left.png"), + next_fullscreen(config->resource_dir + "textures/right.png"), + minimap_text("Some particles", config, TEXT_COLOR), + prev_minimap(config->resource_dir + "textures/left.png"), + next_minimap(config->resource_dir + "textures/right.png"), + antialiasing_text("Some particles", config, TEXT_COLOR), + prev_antialiasing(config->resource_dir + "textures/left.png"), + next_antialiasing(config->resource_dir + "textures/right.png"), + hearts_text("Some particles", config, TEXT_COLOR), + prev_hearts(config->resource_dir + "textures/left.png"), + next_hearts(config->resource_dir + "textures/right.png"), + resolution_text("Some particles", config, TEXT_COLOR), + prev_resolution(config->resource_dir + "textures/left.png"), + next_resolution(config->resource_dir + "textures/right.png"), + water_text("Simple water", config, TEXT_COLOR), + prev_water(config->resource_dir + "textures/left.png"), + next_water(config->resource_dir + "textures/right.png"), + needs_reset(false), + window(window), + computer_slider(config), + human_slider(config) { getErrors(); @@ -136,7 +138,7 @@ Menu::Menu (Config* config, load_levels(config->resource_dir + config->levels_file); int w,h; - glfwGetWindowSize(&w,&h); + glfwGetWindowSize(window, &w,&h); resize_callback(w,h); next_level(0); @@ -151,32 +153,16 @@ Menu::Menu (Config* config, void Menu::setup_settings(void) { - GLFWvidmode vidmodes[100]; - - int modes_found = glfwGetVideoModes(vidmodes, 100); + int modes_found; + const GLFWvidmode* vidmodes = glfwGetVideoModes(glfwGetPrimaryMonitor(), &modes_found); resolutions.resize(modes_found); for (int i = 0; i < modes_found; ++i) { - resolutions[i] = V2i(vidmodes[i].Width, - vidmodes[i].Height); + resolutions[i] = V2i(vidmodes[i].width, + vidmodes[i].height); } - // resolutions.push_back(V2i( 640, 480)); - // resolutions.push_back(V2i( 800, 600)); - // resolutions.push_back(V2i( 960, 600)); - // resolutions.push_back(V2i(1024, 768)); - // resolutions.push_back(V2i(1280, 720)); - // resolutions.push_back(V2i(1280, 768)); - // resolutions.push_back(V2i(1280, 800)); - // resolutions.push_back(V2i(1280,1024)); - // resolutions.push_back(V2i(1440, 900)); - // resolutions.push_back(V2i(1600,1200)); - // resolutions.push_back(V2i(1680,1050)); - // resolutions.push_back(V2i(1920,1080)); - // resolutions.push_back(V2i(2560,1440)); - // resolutions.push_back(V2i(2560,1600)); - if(!config->use_particles) { particle_setting = 0; } else if (config->pony_particle_rate <= 10.0) { @@ -187,7 +173,7 @@ void Menu::setup_settings(void) particle_setting = 3; } - if (config->window_mode == GLFW_WINDOW) { + if (config->window_mode == WINDOW) { fullscreen_setting = 0; } else { fullscreen_setting = 1; @@ -242,10 +228,10 @@ void Menu::load_settings(void) if (fullscreen_setting == 0) { fullscreen_text.set_text("Window"); - config->window_mode = GLFW_WINDOW; + config->window_mode = WINDOW; } else { fullscreen_text.set_text("Fullscreen"); - config->window_mode = GLFW_FULLSCREEN; + config->window_mode = FULLSCREEN; } if (minimap_setting == 0) { @@ -693,16 +679,16 @@ void Menu::reload_level(string level) Menu::MenuStatus Menu::run(void) { - if (config->window_mode == GLFW_FULLSCREEN) - glfwEnable(GLFW_MOUSE_CURSOR); + if (config->window_mode == FULLSCREEN) + glfwSetInputMode(window, GLFW_CURSOR, GLFW_CURSOR_NORMAL); status = START; running = true; callback_menu = this; - glfwSetMouseButtonCallback(menu_mouse_callback); - glfwSetWindowSizeCallback(menu_resize_callback); - glfwSetKeyCallback(menu_key_callback); + glfwSetMouseButtonCallback(window, menu_mouse_callback); + glfwSetWindowSizeCallback(window, menu_resize_callback); + glfwSetKeyCallback(window, menu_key_callback); while (running) { @@ -713,25 +699,25 @@ Menu::MenuStatus Menu::run(void) draw(); - glfwSwapBuffers(); + glfwSwapBuffers(window); - if (glfwGetKey( GLFW_KEY_ESC ) || - !glfwGetWindowParam( GLFW_OPENED )) { + if (glfwGetKey( window, GLFW_KEY_ESCAPE ) || + glfwWindowShouldClose( window )) { status = QUIT; running = false; - } else if (glfwGetKey(GLFW_KEY_ENTER)) { + } else if (glfwGetKey( window, GLFW_KEY_ENTER)) { status = START; running = false; } } - glfwSetMouseButtonCallback(NULL); - glfwSetWindowSizeCallback(NULL); - glfwSetKeyCallback(NULL); + glfwSetMouseButtonCallback(window, NULL); + glfwSetWindowSizeCallback(window, NULL); + glfwSetKeyCallback(window, NULL); callback_menu = NULL; - if (config->window_mode == GLFW_FULLSCREEN) - glfwDisable(GLFW_MOUSE_CURSOR); + if (config->window_mode == FULLSCREEN) + glfwSetInputMode(window, GLFW_CURSOR, GLFW_CURSOR_DISABLED); return status; } diff --git a/src/Menu.hh b/src/Menu.hh index 3e5ad99..be00496 100644 --- a/src/Menu.hh +++ b/src/Menu.hh @@ -131,13 +131,16 @@ class Menu bool needs_reset; + GLFWwindow* window; + public: void toggle_fullscreen(void); void toggle_music(void); Menu(Config* config, - Skydome* skydome); + Skydome* skydome, + GLFWwindow* window); MenuStatus run(void); @@ -147,6 +150,7 @@ class Menu void next_level(int d); static Menu* callback_menu; + }; #endif diff --git a/src/Pony.cc b/src/Pony.cc index 8fe5c8e..95053bb 100644 --- a/src/Pony.cc +++ b/src/Pony.cc @@ -158,22 +158,26 @@ Pony::Decision PlayerPony::decide(PonyGame* game, int i) float& accel = decision.acceleration; float& steer = decision.steer; - if (glfwGetKey(up) == GLFW_PRESS) + GLFWwindow* window = game->get_window(); + + if (glfwGetKey(window, up) == GLFW_PRESS) accel += 1.0; - if (glfwGetKey(down) == GLFW_PRESS) + if (glfwGetKey(window, down) == GLFW_PRESS) accel -= 1.0; - if (glfwGetKey(left) == GLFW_PRESS) + if (glfwGetKey(window, left) == GLFW_PRESS) steer += 1.0; - if (glfwGetKey(right) == GLFW_PRESS) + if (glfwGetKey(window, right) == GLFW_PRESS) steer -= 1.0; - if (glfwGetJoystickParam(i,GLFW_PRESENT) == GL_TRUE) { + if (glfwJoystickPresent(i) == GL_TRUE) { + int n; + const float* axes_c = glfwGetJoystickAxes(i,&n); float axes[10]; - int n = glfwGetJoystickPos(i,axes,10); - + std::copy(axes_c, axes_c+n, axes); + if (n >= 2) { if (fabs(axes[0]) < 0.2) axes[0] = 0.0; @@ -181,9 +185,8 @@ Pony::Decision PlayerPony::decide(PonyGame* game, int i) steer -= axes[0]*2; } - unsigned char buttons[20]; - - int button_count = glfwGetJoystickButtons(i, buttons, 20); + int button_count; + const unsigned char* buttons = glfwGetJoystickButtons(i, &button_count); if (button_count >= 2) { if (buttons[0] == GLFW_PRESS) diff --git a/src/PonyGame.cc b/src/PonyGame.cc index c7a0357..bb6eb57 100644 --- a/src/PonyGame.cc +++ b/src/PonyGame.cc @@ -10,7 +10,8 @@ PonyGame::PonyGame(SplitScreen* screen, Heightmap* heightmap, Config* config, - Skydome* skydome) + Skydome* skydome, + GLFWwindow* window) : particle_system(ParticleSystem::make_particle_system(2000000, config)), m_screen(screen), m_heightmap(heightmap), @@ -18,7 +19,8 @@ PonyGame::PonyGame(SplitScreen* screen, skydome(skydome), heart(), heart_drawer(&heart), - heart_shader(config->resource_dir + "GLSL/heart") + heart_shader(config->resource_dir + "GLSL/heart"), + window(window) { int human_count = m_config->player_count - m_config->ai_count; if (human_count == 0) human_count = m_config->player_count; @@ -156,8 +158,8 @@ bool PonyGame::start(PonyPoints& points) cout << m_config->player_count << " ponies." << endl; - GLboolean f1_pressed = glfwGetKey(GLFW_KEY_F1); - GLboolean f12_pressed = glfwGetKey(GLFW_KEY_F12); + GLboolean f1_pressed = glfwGetKey(window, GLFW_KEY_F1); + GLboolean f12_pressed = glfwGetKey(window, GLFW_KEY_F12); ParticleExplosionSource explosion_source(particle_system); @@ -379,30 +381,30 @@ bool PonyGame::start(PonyPoints& points) getErrors(); calc_fps(); - glfwSwapBuffers(); + glfwSwapBuffers(window); // Check if still running - if(glfwGetKey( GLFW_KEY_ESC ) || - !glfwGetWindowParam( GLFW_OPENED )) { + if(glfwGetKey(window, GLFW_KEY_ESCAPE ) || + glfwWindowShouldClose( window )) { running = false; run_game = false; delay = 0.0; } - if (glfwGetKey(GLFW_KEY_F12) && !f12_pressed) { + if (glfwGetKey(window, GLFW_KEY_F12) && !f12_pressed) { m_screen->set_whole_screen(); make_screenshot(); } - if (glfwGetKey(GLFW_KEY_F1) && !f1_pressed) { + if (glfwGetKey(window, GLFW_KEY_F1) && !f1_pressed) { int current_volume = Mix_VolumeMusic(-1); Mix_VolumeMusic(std::min(128, current_volume + 63) % 128); m_config->music_volume = Mix_VolumeMusic(-1); } - f1_pressed = glfwGetKey(GLFW_KEY_F1); - f12_pressed = glfwGetKey(GLFW_KEY_F12); + f1_pressed = glfwGetKey(window, GLFW_KEY_F1); + f12_pressed = glfwGetKey(window, GLFW_KEY_F12); } return run_game; diff --git a/src/PonyGame.hh b/src/PonyGame.hh index 14de557..e0ff51f 100644 --- a/src/PonyGame.hh +++ b/src/PonyGame.hh @@ -34,12 +34,15 @@ class PonyGame list heart_positions; + GLFWwindow* window; + public: PonyGame(SplitScreen* screen, Heightmap* heightmap, Config* config, - Skydome* skydome); + Skydome* skydome, + GLFWwindow* window); ~PonyGame(); @@ -74,6 +77,8 @@ class PonyGame } bool start(PonyPoints& points); + + GLFWwindow* get_window() { return window; } }; #endif diff --git a/src/PonyPoints.cc b/src/PonyPoints.cc index 3e6dadd..27fb5db 100644 --- a/src/PonyPoints.cc +++ b/src/PonyPoints.cc @@ -20,8 +20,6 @@ namespace local void draw_floret_colors(float c, list& colors) { - GLUquadric *q = gluNewQuadric(); - static double golden_angle = 360. / ((1.+sqrt(5.)) * (1.+sqrt(5.))/4.); double off = .25; @@ -54,13 +52,10 @@ namespace local glBegin(GL_LINE_LOOP); draw_heart(x); glEnd(); - -// gluDisk(q,0,size,16,1); glPopMatrix(); } - gluDeleteQuadric(q); } }; diff --git a/src/Shader.cc b/src/Shader.cc index e641298..01e6feb 100644 --- a/src/Shader.cc +++ b/src/Shader.cc @@ -192,7 +192,7 @@ Shader::Shader(string vertex_shader_file, geometry_shader = compile_shader(geometry_source.c_str(), geometry_shader_file + string(".geom"), - GL_GEOMETRY_SHADER_EXT); + GL_GEOMETRY_SHADER_ARB); fragment_shader = compile_shader(fragment_source.c_str(), fragment_shader_file + string(".frag"), diff --git a/src/Skydome.cc b/src/Skydome.cc index fd42b5a..cb1000a 100644 --- a/src/Skydome.cc +++ b/src/Skydome.cc @@ -20,8 +20,6 @@ void Skydome::draw() glMatrixMode(GL_TEXTURE); // glScalef(1,-1,1); - // glTranslatef(0,-1,0); - // glScalef(1,2,1); glMatrixMode(GL_MODELVIEW); diff --git a/src/SplitScreen.cc b/src/SplitScreen.cc index a560a6b..de166b6 100644 --- a/src/SplitScreen.cc +++ b/src/SplitScreen.cc @@ -2,16 +2,17 @@ SplitScreen* active_screen = NULL; -void GLFWCALL screen_size_callback(int width, int height) +void screen_size_callback(GLFWwindow* window, int width, int height) { if (active_screen != NULL) active_screen->resize(width, height); } -SplitScreen::SplitScreen(int width, int height, int subscreens) +SplitScreen::SplitScreen(GLFWwindow* window, int width, int height, int subscreens) : size(width, height), subscreen_count(subscreens), - current(0) + current(0), + window(window) { split(subscreens); } @@ -20,14 +21,14 @@ SplitScreen::~SplitScreen() { if (active_screen == this) { active_screen = NULL; - glfwSetWindowSizeCallback(NULL); + glfwSetWindowSizeCallback(window, NULL); } } void SplitScreen::set_glfw_callback() { active_screen = this; - glfwSetWindowSizeCallback(screen_size_callback); + glfwSetWindowSizeCallback(window, screen_size_callback); } void SplitScreen::split(int subscreens) diff --git a/src/SplitScreen.hh b/src/SplitScreen.hh index 15b6ef0..4dcae12 100644 --- a/src/SplitScreen.hh +++ b/src/SplitScreen.hh @@ -14,10 +14,12 @@ class SplitScreen vector point_huds; int current; + + GLFWwindow* window; public: - SplitScreen(int width, int height, int subscreens); + SplitScreen(GLFWwindow* window, int width, int height, int subscreens); ~SplitScreen(); V2i get_size() diff --git a/src/Texture2D.cc b/src/Texture2D.cc index c56f653..8c79ec0 100644 --- a/src/Texture2D.cc +++ b/src/Texture2D.cc @@ -145,7 +145,7 @@ void Texture2D::send_to_GPU() } else { glTexImage2D(GL_TEXTURE_2D, // target 0, // level - GL_RGBA32F, // internalFormat + GL_RGBA32F_ARB, // internalFormat size.x, // width size.y, // height 0, // border diff --git a/src/cinquo.hh b/src/cinquo.hh index 0739f18..df5a7d6 100644 --- a/src/cinquo.hh +++ b/src/cinquo.hh @@ -3,7 +3,8 @@ #define ILUT_USE_OPENGL #include "flextGL.h" -#include +#include +#include #include #include #include diff --git a/src/main.cc b/src/main.cc index 4e9eeaf..9987aa3 100644 --- a/src/main.cc +++ b/src/main.cc @@ -33,17 +33,21 @@ int main(int argc, char** argv) } glfwInit(); - glfwOpenWindowHint(GLFW_FSAA_SAMPLES, config.fsaa_samples); - glfwOpenWindow(config.width, config.height, // width, height - 0, 0, 0, 0, // R, G, B, A - 24, 8, // depth, stencil - config.window_mode); // GLFW_WINDOW | GLFW_FULLSCREEN - - glfwSetWindowTitle("Pink Pony <3"); + glfwWindowHint(GLFW_SAMPLES, config.fsaa_samples); + glfwWindowHint(GLFW_CLIENT_API, GLFW_OPENGL_API); + glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 2); + glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 0); + glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_ANY_PROFILE); + + GLFWwindow* window = glfwCreateWindow(config.width, config.height, + "Pink Pony <3", + config.window_mode==FULLSCREEN ? glfwGetPrimaryMonitor() : NULL, + NULL); + glfwMakeContextCurrent(window); glfwSwapInterval(config.swap_interval); - if (!flextInit()) { + if (!flextInit(window)) { return 1; } @@ -56,18 +60,12 @@ int main(int argc, char** argv) if (reset_video) { - glfwTerminate(); - - glfwInit(); - glfwOpenWindowHint(GLFW_FSAA_SAMPLES, config.fsaa_samples); + glfwDestroyWindow(window); - glfwOpenWindow(config.width, config.height, // width, height - 0, 0, 0, 0, // R, G, B, A - 24, 8, // depth, stencil - config.window_mode); // GLFW_WINDOW | GLFW_FULLSCREEN - - glfwSetWindowTitle("Pink Pony <3"); - glfwSwapInterval(config.swap_interval); + window = glfwCreateWindow(config.width, config.height, + "Pink Pony <3", + config.window_mode==FULLSCREEN ? glfwGetPrimaryMonitor() : NULL, + NULL); reset_video = false; @@ -85,7 +83,7 @@ int main(int argc, char** argv) Menu::MenuStatus menu_status; { - Menu menu(&config, &skydome); + Menu menu(&config, &skydome, window); menu_status = menu.run(); } @@ -124,13 +122,14 @@ int main(int argc, char** argv) int human_count = config.player_count - config.ai_count; if (human_count == 0) human_count = config.player_count; - SplitScreen screen(config.width, config.height, human_count); + SplitScreen screen(window, config.width, config.height, human_count); screen.set_glfw_callback(); PonyGame game(&screen, &heightmap, &config, - &skydome); + &skydome, + window); run_game = game.start(points); } @@ -139,7 +138,7 @@ int main(int argc, char** argv) running = false; } - if (!glfwGetWindowParam(GLFW_OPENED)) { + if (glfwWindowShouldClose( window )) { running = false; } } diff --git a/src/utilities.cc b/src/utilities.cc index 7607870..01da6c3 100644 --- a/src/utilities.cc +++ b/src/utilities.cc @@ -99,21 +99,6 @@ void type_convert( GLenum in_type, GLsizei in_size, out_size = in_size * 1; break; - case GL_UNSIGNED_INT_VEC2_EXT: - out_type = GL_UNSIGNED_INT; - out_size = in_size * 2; - break; - - case GL_UNSIGNED_INT_VEC3_EXT: - out_type = GL_UNSIGNED_INT; - out_size = in_size * 3; - break; - - case GL_UNSIGNED_INT_VEC4_EXT: - out_type = GL_UNSIGNED_INT; - out_size = in_size * 4; - break; - case GL_FLOAT_MAT2: out_type = GL_FLOAT; out_size = in_size * 4;