diff --git a/internal/graphicsdriver/opengl/gl/package_notwindows.go b/internal/graphicsdriver/opengl/gl/package_notwindows.go index 03d73dfc2..832c547aa 100644 --- a/internal/graphicsdriver/opengl/gl/package_notwindows.go +++ b/internal/graphicsdriver/opengl/gl/package_notwindows.go @@ -104,11162 +104,254 @@ package gl // typedef unsigned short GLhalfNV; // typedef GLintptr GLvdpauSurfaceNV; // typedef void (APIENTRY *GLVULKANPROCNV)(void); -// typedef void (APIENTRYP GPACCUM)(GLenum op, GLfloat value); -// typedef void (APIENTRYP GPACCUMXOES)(GLenum op, GLfixed value); -// typedef GLboolean (APIENTRYP GPACQUIREKEYEDMUTEXWIN32EXT)(GLuint memory, GLuint64 key, GLuint timeout); -// typedef void (APIENTRYP GPACTIVEPROGRAMEXT)(GLuint program); -// typedef void (APIENTRYP GPACTIVESHADERPROGRAM)(GLuint pipeline, GLuint program); -// typedef void (APIENTRYP GPACTIVESHADERPROGRAMEXT)(GLuint pipeline, GLuint program); -// typedef void (APIENTRYP GPACTIVESTENCILFACEEXT)(GLenum face); -// typedef void (APIENTRYP GPACTIVETEXTURE)(GLenum texture); -// typedef void (APIENTRYP GPACTIVETEXTUREARB)(GLenum texture); -// typedef void (APIENTRYP GPACTIVEVARYINGNV)(GLuint program, const GLchar * name); -// typedef void (APIENTRYP GPALPHAFRAGMENTOP1ATI)(GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod); -// typedef void (APIENTRYP GPALPHAFRAGMENTOP2ATI)(GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod); -// typedef void (APIENTRYP GPALPHAFRAGMENTOP3ATI)(GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod); -// typedef void (APIENTRYP GPALPHAFUNC)(GLenum func, GLfloat ref); -// typedef void (APIENTRYP GPALPHAFUNCXOES)(GLenum func, GLfixed ref); -// typedef void (APIENTRYP GPALPHATOCOVERAGEDITHERCONTROLNV)(GLenum mode); -// typedef void (APIENTRYP GPAPPLYFRAMEBUFFERATTACHMENTCMAAINTEL)(); -// typedef void (APIENTRYP GPAPPLYTEXTUREEXT)(GLenum mode); -// typedef GLboolean (APIENTRYP GPAREPROGRAMSRESIDENTNV)(GLsizei n, const GLuint * programs, GLboolean * residences); -// typedef GLboolean (APIENTRYP GPARETEXTURESRESIDENT)(GLsizei n, const GLuint * textures, GLboolean * residences); -// typedef GLboolean (APIENTRYP GPARETEXTURESRESIDENTEXT)(GLsizei n, const GLuint * textures, GLboolean * residences); -// typedef void (APIENTRYP GPARRAYELEMENT)(GLint i); -// typedef void (APIENTRYP GPARRAYELEMENTEXT)(GLint i); -// typedef void (APIENTRYP GPARRAYOBJECTATI)(GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset); -// typedef void (APIENTRYP GPASYNCMARKERSGIX)(GLuint marker); -// typedef void (APIENTRYP GPATTACHOBJECTARB)(GLhandleARB containerObj, GLhandleARB obj); // typedef void (APIENTRYP GPATTACHSHADER)(GLuint program, GLuint shader); -// typedef void (APIENTRYP GPBEGIN)(GLenum mode); -// typedef void (APIENTRYP GPBEGINCONDITIONALRENDERNV)(GLuint id, GLenum mode); -// typedef void (APIENTRYP GPBEGINCONDITIONALRENDERNVX)(GLuint id); -// typedef void (APIENTRYP GPBEGINFRAGMENTSHADERATI)(); -// typedef void (APIENTRYP GPBEGINOCCLUSIONQUERYNV)(GLuint id); -// typedef void (APIENTRYP GPBEGINPERFMONITORAMD)(GLuint monitor); -// typedef void (APIENTRYP GPBEGINPERFQUERYINTEL)(GLuint queryHandle); -// typedef void (APIENTRYP GPBEGINQUERY)(GLenum target, GLuint id); -// typedef void (APIENTRYP GPBEGINQUERYARB)(GLenum target, GLuint id); -// typedef void (APIENTRYP GPBEGINQUERYINDEXED)(GLenum target, GLuint index, GLuint id); -// typedef void (APIENTRYP GPBEGINTRANSFORMFEEDBACKEXT)(GLenum primitiveMode); -// typedef void (APIENTRYP GPBEGINTRANSFORMFEEDBACKNV)(GLenum primitiveMode); -// typedef void (APIENTRYP GPBEGINVERTEXSHADEREXT)(); -// typedef void (APIENTRYP GPBEGINVIDEOCAPTURENV)(GLuint video_capture_slot); // typedef void (APIENTRYP GPBINDATTRIBLOCATION)(GLuint program, GLuint index, const GLchar * name); -// typedef void (APIENTRYP GPBINDATTRIBLOCATIONARB)(GLhandleARB programObj, GLuint index, const GLcharARB * name); // typedef void (APIENTRYP GPBINDBUFFER)(GLenum target, GLuint buffer); -// typedef void (APIENTRYP GPBINDBUFFERARB)(GLenum target, GLuint buffer); -// typedef void (APIENTRYP GPBINDBUFFERBASE)(GLenum target, GLuint index, GLuint buffer); -// typedef void (APIENTRYP GPBINDBUFFERBASEEXT)(GLenum target, GLuint index, GLuint buffer); -// typedef void (APIENTRYP GPBINDBUFFERBASENV)(GLenum target, GLuint index, GLuint buffer); -// typedef void (APIENTRYP GPBINDBUFFEROFFSETEXT)(GLenum target, GLuint index, GLuint buffer, GLintptr offset); -// typedef void (APIENTRYP GPBINDBUFFEROFFSETNV)(GLenum target, GLuint index, GLuint buffer, GLintptr offset); -// typedef void (APIENTRYP GPBINDBUFFERRANGE)(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); -// typedef void (APIENTRYP GPBINDBUFFERRANGEEXT)(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); -// typedef void (APIENTRYP GPBINDBUFFERRANGENV)(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); -// typedef void (APIENTRYP GPBINDBUFFERSBASE)(GLenum target, GLuint first, GLsizei count, const GLuint * buffers); -// typedef void (APIENTRYP GPBINDBUFFERSRANGE)(GLenum target, GLuint first, GLsizei count, const GLuint * buffers, const GLintptr * offsets, const GLsizeiptr * sizes); -// typedef void (APIENTRYP GPBINDFRAGDATALOCATIONEXT)(GLuint program, GLuint color, const GLchar * name); -// typedef void (APIENTRYP GPBINDFRAGDATALOCATIONINDEXED)(GLuint program, GLuint colorNumber, GLuint index, const GLchar * name); -// typedef void (APIENTRYP GPBINDFRAGMENTSHADERATI)(GLuint id); -// typedef void (APIENTRYP GPBINDFRAMEBUFFER)(GLenum target, GLuint framebuffer); // typedef void (APIENTRYP GPBINDFRAMEBUFFEREXT)(GLenum target, GLuint framebuffer); -// typedef void (APIENTRYP GPBINDIMAGETEXTURE)(GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format); -// typedef void (APIENTRYP GPBINDIMAGETEXTUREEXT)(GLuint index, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLint format); -// typedef void (APIENTRYP GPBINDIMAGETEXTURES)(GLuint first, GLsizei count, const GLuint * textures); -// typedef GLuint (APIENTRYP GPBINDLIGHTPARAMETEREXT)(GLenum light, GLenum value); -// typedef GLuint (APIENTRYP GPBINDMATERIALPARAMETEREXT)(GLenum face, GLenum value); -// typedef void (APIENTRYP GPBINDMULTITEXTUREEXT)(GLenum texunit, GLenum target, GLuint texture); -// typedef GLuint (APIENTRYP GPBINDPARAMETEREXT)(GLenum value); -// typedef void (APIENTRYP GPBINDPROGRAMARB)(GLenum target, GLuint program); -// typedef void (APIENTRYP GPBINDPROGRAMNV)(GLenum target, GLuint id); -// typedef void (APIENTRYP GPBINDPROGRAMPIPELINE)(GLuint pipeline); -// typedef void (APIENTRYP GPBINDPROGRAMPIPELINEEXT)(GLuint pipeline); -// typedef void (APIENTRYP GPBINDRENDERBUFFER)(GLenum target, GLuint renderbuffer); -// typedef void (APIENTRYP GPBINDRENDERBUFFEREXT)(GLenum target, GLuint renderbuffer); -// typedef void (APIENTRYP GPBINDSAMPLER)(GLuint unit, GLuint sampler); -// typedef void (APIENTRYP GPBINDSAMPLERS)(GLuint first, GLsizei count, const GLuint * samplers); -// typedef GLuint (APIENTRYP GPBINDTEXGENPARAMETEREXT)(GLenum unit, GLenum coord, GLenum value); // typedef void (APIENTRYP GPBINDTEXTURE)(GLenum target, GLuint texture); -// typedef void (APIENTRYP GPBINDTEXTUREEXT)(GLenum target, GLuint texture); -// typedef void (APIENTRYP GPBINDTEXTUREUNIT)(GLuint unit, GLuint texture); -// typedef GLuint (APIENTRYP GPBINDTEXTUREUNITPARAMETEREXT)(GLenum unit, GLenum value); -// typedef void (APIENTRYP GPBINDTEXTURES)(GLuint first, GLsizei count, const GLuint * textures); -// typedef void (APIENTRYP GPBINDTRANSFORMFEEDBACK)(GLenum target, GLuint id); -// typedef void (APIENTRYP GPBINDTRANSFORMFEEDBACKNV)(GLenum target, GLuint id); -// typedef void (APIENTRYP GPBINDVERTEXARRAY)(GLuint array); -// typedef void (APIENTRYP GPBINDVERTEXARRAYAPPLE)(GLuint array); -// typedef void (APIENTRYP GPBINDVERTEXBUFFER)(GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride); -// typedef void (APIENTRYP GPBINDVERTEXBUFFERS)(GLuint first, GLsizei count, const GLuint * buffers, const GLintptr * offsets, const GLsizei * strides); -// typedef void (APIENTRYP GPBINDVERTEXSHADEREXT)(GLuint id); -// typedef void (APIENTRYP GPBINDVIDEOCAPTURESTREAMBUFFERNV)(GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLintptrARB offset); -// typedef void (APIENTRYP GPBINDVIDEOCAPTURESTREAMTEXTURENV)(GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLenum target, GLuint texture); -// typedef void (APIENTRYP GPBINORMAL3BEXT)(GLbyte bx, GLbyte by, GLbyte bz); -// typedef void (APIENTRYP GPBINORMAL3BVEXT)(const GLbyte * v); -// typedef void (APIENTRYP GPBINORMAL3DEXT)(GLdouble bx, GLdouble by, GLdouble bz); -// typedef void (APIENTRYP GPBINORMAL3DVEXT)(const GLdouble * v); -// typedef void (APIENTRYP GPBINORMAL3FEXT)(GLfloat bx, GLfloat by, GLfloat bz); -// typedef void (APIENTRYP GPBINORMAL3FVEXT)(const GLfloat * v); -// typedef void (APIENTRYP GPBINORMAL3IEXT)(GLint bx, GLint by, GLint bz); -// typedef void (APIENTRYP GPBINORMAL3IVEXT)(const GLint * v); -// typedef void (APIENTRYP GPBINORMAL3SEXT)(GLshort bx, GLshort by, GLshort bz); -// typedef void (APIENTRYP GPBINORMAL3SVEXT)(const GLshort * v); -// typedef void (APIENTRYP GPBINORMALPOINTEREXT)(GLenum type, GLsizei stride, const void * pointer); -// typedef void (APIENTRYP GPBITMAP)(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte * bitmap); -// typedef void (APIENTRYP GPBITMAPXOES)(GLsizei width, GLsizei height, GLfixed xorig, GLfixed yorig, GLfixed xmove, GLfixed ymove, const GLubyte * bitmap); -// typedef void (APIENTRYP GPBLENDBARRIERKHR)(); -// typedef void (APIENTRYP GPBLENDBARRIERNV)(); -// typedef void (APIENTRYP GPBLENDCOLOR)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); -// typedef void (APIENTRYP GPBLENDCOLOREXT)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); -// typedef void (APIENTRYP GPBLENDCOLORXOES)(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); -// typedef void (APIENTRYP GPBLENDEQUATION)(GLenum mode); -// typedef void (APIENTRYP GPBLENDEQUATIONEXT)(GLenum mode); -// typedef void (APIENTRYP GPBLENDEQUATIONINDEXEDAMD)(GLuint buf, GLenum mode); -// typedef void (APIENTRYP GPBLENDEQUATIONSEPARATE)(GLenum modeRGB, GLenum modeAlpha); -// typedef void (APIENTRYP GPBLENDEQUATIONSEPARATEEXT)(GLenum modeRGB, GLenum modeAlpha); -// typedef void (APIENTRYP GPBLENDEQUATIONSEPARATEINDEXEDAMD)(GLuint buf, GLenum modeRGB, GLenum modeAlpha); -// typedef void (APIENTRYP GPBLENDEQUATIONSEPARATEIARB)(GLuint buf, GLenum modeRGB, GLenum modeAlpha); -// typedef void (APIENTRYP GPBLENDEQUATIONIARB)(GLuint buf, GLenum mode); // typedef void (APIENTRYP GPBLENDFUNC)(GLenum sfactor, GLenum dfactor); -// typedef void (APIENTRYP GPBLENDFUNCINDEXEDAMD)(GLuint buf, GLenum src, GLenum dst); -// typedef void (APIENTRYP GPBLENDFUNCSEPARATE)(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); -// typedef void (APIENTRYP GPBLENDFUNCSEPARATEEXT)(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); -// typedef void (APIENTRYP GPBLENDFUNCSEPARATEINGR)(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); -// typedef void (APIENTRYP GPBLENDFUNCSEPARATEINDEXEDAMD)(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); -// typedef void (APIENTRYP GPBLENDFUNCSEPARATEIARB)(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); -// typedef void (APIENTRYP GPBLENDFUNCIARB)(GLuint buf, GLenum src, GLenum dst); -// typedef void (APIENTRYP GPBLENDPARAMETERINV)(GLenum pname, GLint value); -// typedef void (APIENTRYP GPBLITFRAMEBUFFER)(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); -// typedef void (APIENTRYP GPBLITFRAMEBUFFEREXT)(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); -// typedef void (APIENTRYP GPBLITNAMEDFRAMEBUFFER)(GLuint readFramebuffer, GLuint drawFramebuffer, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); -// typedef void (APIENTRYP GPBUFFERADDRESSRANGENV)(GLenum pname, GLuint index, GLuint64EXT address, GLsizeiptr length); // typedef void (APIENTRYP GPBUFFERDATA)(GLenum target, GLsizeiptr size, const void * data, GLenum usage); -// typedef void (APIENTRYP GPBUFFERDATAARB)(GLenum target, GLsizeiptrARB size, const void * data, GLenum usage); -// typedef void (APIENTRYP GPBUFFERPAGECOMMITMENTARB)(GLenum target, GLintptr offset, GLsizeiptr size, GLboolean commit); -// typedef void (APIENTRYP GPBUFFERPARAMETERIAPPLE)(GLenum target, GLenum pname, GLint param); -// typedef void (APIENTRYP GPBUFFERSTORAGE)(GLenum target, GLsizeiptr size, const void * data, GLbitfield flags); -// typedef void (APIENTRYP GPBUFFERSTORAGEEXTERNALEXT)(GLenum target, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags); -// typedef void (APIENTRYP GPBUFFERSTORAGEMEMEXT)(GLenum target, GLsizeiptr size, GLuint memory, GLuint64 offset); // typedef void (APIENTRYP GPBUFFERSUBDATA)(GLenum target, GLintptr offset, GLsizeiptr size, const void * data); -// typedef void (APIENTRYP GPBUFFERSUBDATAARB)(GLenum target, GLintptrARB offset, GLsizeiptrARB size, const void * data); -// typedef void (APIENTRYP GPCALLCOMMANDLISTNV)(GLuint list); -// typedef void (APIENTRYP GPCALLLIST)(GLuint list); -// typedef void (APIENTRYP GPCALLLISTS)(GLsizei n, GLenum type, const void * lists); -// typedef GLenum (APIENTRYP GPCHECKFRAMEBUFFERSTATUS)(GLenum target); // typedef GLenum (APIENTRYP GPCHECKFRAMEBUFFERSTATUSEXT)(GLenum target); -// typedef GLenum (APIENTRYP GPCHECKNAMEDFRAMEBUFFERSTATUS)(GLuint framebuffer, GLenum target); -// typedef GLenum (APIENTRYP GPCHECKNAMEDFRAMEBUFFERSTATUSEXT)(GLuint framebuffer, GLenum target); -// typedef void (APIENTRYP GPCLAMPCOLORARB)(GLenum target, GLenum clamp); -// typedef void (APIENTRYP GPCLEAR)(GLbitfield mask); -// typedef void (APIENTRYP GPCLEARACCUM)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); -// typedef void (APIENTRYP GPCLEARACCUMXOES)(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); -// typedef void (APIENTRYP GPCLEARBUFFERDATA)(GLenum target, GLenum internalformat, GLenum format, GLenum type, const void * data); -// typedef void (APIENTRYP GPCLEARBUFFERSUBDATA)(GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void * data); -// typedef void (APIENTRYP GPCLEARCOLOR)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); -// typedef void (APIENTRYP GPCLEARCOLORIIEXT)(GLint red, GLint green, GLint blue, GLint alpha); -// typedef void (APIENTRYP GPCLEARCOLORIUIEXT)(GLuint red, GLuint green, GLuint blue, GLuint alpha); -// typedef void (APIENTRYP GPCLEARCOLORXOES)(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); -// typedef void (APIENTRYP GPCLEARDEPTH)(GLdouble depth); -// typedef void (APIENTRYP GPCLEARDEPTHDNV)(GLdouble depth); -// typedef void (APIENTRYP GPCLEARDEPTHF)(GLfloat d); -// typedef void (APIENTRYP GPCLEARDEPTHFOES)(GLclampf depth); -// typedef void (APIENTRYP GPCLEARDEPTHXOES)(GLfixed depth); -// typedef void (APIENTRYP GPCLEARINDEX)(GLfloat c); -// typedef void (APIENTRYP GPCLEARNAMEDBUFFERDATA)(GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void * data); -// typedef void (APIENTRYP GPCLEARNAMEDBUFFERDATAEXT)(GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void * data); -// typedef void (APIENTRYP GPCLEARNAMEDBUFFERSUBDATA)(GLuint buffer, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void * data); -// typedef void (APIENTRYP GPCLEARNAMEDBUFFERSUBDATAEXT)(GLuint buffer, GLenum internalformat, GLsizeiptr offset, GLsizeiptr size, GLenum format, GLenum type, const void * data); -// typedef void (APIENTRYP GPCLEARNAMEDFRAMEBUFFERFI)(GLuint framebuffer, GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); -// typedef void (APIENTRYP GPCLEARNAMEDFRAMEBUFFERFV)(GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLfloat * value); -// typedef void (APIENTRYP GPCLEARNAMEDFRAMEBUFFERIV)(GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLint * value); -// typedef void (APIENTRYP GPCLEARNAMEDFRAMEBUFFERUIV)(GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLuint * value); -// typedef void (APIENTRYP GPCLEARSTENCIL)(GLint s); -// typedef void (APIENTRYP GPCLEARTEXIMAGE)(GLuint texture, GLint level, GLenum format, GLenum type, const void * data); -// typedef void (APIENTRYP GPCLEARTEXSUBIMAGE)(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * data); -// typedef void (APIENTRYP GPCLIENTACTIVETEXTURE)(GLenum texture); -// typedef void (APIENTRYP GPCLIENTACTIVETEXTUREARB)(GLenum texture); -// typedef void (APIENTRYP GPCLIENTACTIVEVERTEXSTREAMATI)(GLenum stream); -// typedef void (APIENTRYP GPCLIENTATTRIBDEFAULTEXT)(GLbitfield mask); -// typedef GLenum (APIENTRYP GPCLIENTWAITSYNC)(GLsync sync, GLbitfield flags, GLuint64 timeout); -// typedef void (APIENTRYP GPCLIPCONTROL)(GLenum origin, GLenum depth); -// typedef void (APIENTRYP GPCLIPPLANE)(GLenum plane, const GLdouble * equation); -// typedef void (APIENTRYP GPCLIPPLANEFOES)(GLenum plane, const GLfloat * equation); -// typedef void (APIENTRYP GPCLIPPLANEXOES)(GLenum plane, const GLfixed * equation); -// typedef void (APIENTRYP GPCOLOR3B)(GLbyte red, GLbyte green, GLbyte blue); -// typedef void (APIENTRYP GPCOLOR3BV)(const GLbyte * v); -// typedef void (APIENTRYP GPCOLOR3D)(GLdouble red, GLdouble green, GLdouble blue); -// typedef void (APIENTRYP GPCOLOR3DV)(const GLdouble * v); -// typedef void (APIENTRYP GPCOLOR3F)(GLfloat red, GLfloat green, GLfloat blue); -// typedef void (APIENTRYP GPCOLOR3FVERTEX3FSUN)(GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z); -// typedef void (APIENTRYP GPCOLOR3FVERTEX3FVSUN)(const GLfloat * c, const GLfloat * v); -// typedef void (APIENTRYP GPCOLOR3FV)(const GLfloat * v); -// typedef void (APIENTRYP GPCOLOR3HNV)(GLhalfNV red, GLhalfNV green, GLhalfNV blue); -// typedef void (APIENTRYP GPCOLOR3HVNV)(const GLhalfNV * v); -// typedef void (APIENTRYP GPCOLOR3I)(GLint red, GLint green, GLint blue); -// typedef void (APIENTRYP GPCOLOR3IV)(const GLint * v); -// typedef void (APIENTRYP GPCOLOR3S)(GLshort red, GLshort green, GLshort blue); -// typedef void (APIENTRYP GPCOLOR3SV)(const GLshort * v); -// typedef void (APIENTRYP GPCOLOR3UB)(GLubyte red, GLubyte green, GLubyte blue); -// typedef void (APIENTRYP GPCOLOR3UBV)(const GLubyte * v); -// typedef void (APIENTRYP GPCOLOR3UI)(GLuint red, GLuint green, GLuint blue); -// typedef void (APIENTRYP GPCOLOR3UIV)(const GLuint * v); -// typedef void (APIENTRYP GPCOLOR3US)(GLushort red, GLushort green, GLushort blue); -// typedef void (APIENTRYP GPCOLOR3USV)(const GLushort * v); -// typedef void (APIENTRYP GPCOLOR3XOES)(GLfixed red, GLfixed green, GLfixed blue); -// typedef void (APIENTRYP GPCOLOR3XVOES)(const GLfixed * components); -// typedef void (APIENTRYP GPCOLOR4B)(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha); -// typedef void (APIENTRYP GPCOLOR4BV)(const GLbyte * v); -// typedef void (APIENTRYP GPCOLOR4D)(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha); -// typedef void (APIENTRYP GPCOLOR4DV)(const GLdouble * v); -// typedef void (APIENTRYP GPCOLOR4F)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); -// typedef void (APIENTRYP GPCOLOR4FNORMAL3FVERTEX3FSUN)(GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); -// typedef void (APIENTRYP GPCOLOR4FNORMAL3FVERTEX3FVSUN)(const GLfloat * c, const GLfloat * n, const GLfloat * v); -// typedef void (APIENTRYP GPCOLOR4FV)(const GLfloat * v); -// typedef void (APIENTRYP GPCOLOR4HNV)(GLhalfNV red, GLhalfNV green, GLhalfNV blue, GLhalfNV alpha); -// typedef void (APIENTRYP GPCOLOR4HVNV)(const GLhalfNV * v); -// typedef void (APIENTRYP GPCOLOR4I)(GLint red, GLint green, GLint blue, GLint alpha); -// typedef void (APIENTRYP GPCOLOR4IV)(const GLint * v); -// typedef void (APIENTRYP GPCOLOR4S)(GLshort red, GLshort green, GLshort blue, GLshort alpha); -// typedef void (APIENTRYP GPCOLOR4SV)(const GLshort * v); -// typedef void (APIENTRYP GPCOLOR4UB)(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha); -// typedef void (APIENTRYP GPCOLOR4UBVERTEX2FSUN)(GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y); -// typedef void (APIENTRYP GPCOLOR4UBVERTEX2FVSUN)(const GLubyte * c, const GLfloat * v); -// typedef void (APIENTRYP GPCOLOR4UBVERTEX3FSUN)(GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z); -// typedef void (APIENTRYP GPCOLOR4UBVERTEX3FVSUN)(const GLubyte * c, const GLfloat * v); -// typedef void (APIENTRYP GPCOLOR4UBV)(const GLubyte * v); -// typedef void (APIENTRYP GPCOLOR4UI)(GLuint red, GLuint green, GLuint blue, GLuint alpha); -// typedef void (APIENTRYP GPCOLOR4UIV)(const GLuint * v); -// typedef void (APIENTRYP GPCOLOR4US)(GLushort red, GLushort green, GLushort blue, GLushort alpha); -// typedef void (APIENTRYP GPCOLOR4USV)(const GLushort * v); -// typedef void (APIENTRYP GPCOLOR4XOES)(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); -// typedef void (APIENTRYP GPCOLOR4XVOES)(const GLfixed * components); -// typedef void (APIENTRYP GPCOLORFORMATNV)(GLint size, GLenum type, GLsizei stride); -// typedef void (APIENTRYP GPCOLORFRAGMENTOP1ATI)(GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod); -// typedef void (APIENTRYP GPCOLORFRAGMENTOP2ATI)(GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod); -// typedef void (APIENTRYP GPCOLORFRAGMENTOP3ATI)(GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod); -// typedef void (APIENTRYP GPCOLORMASK)(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); -// typedef void (APIENTRYP GPCOLORMASKINDEXEDEXT)(GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); -// typedef void (APIENTRYP GPCOLORMATERIAL)(GLenum face, GLenum mode); -// typedef void (APIENTRYP GPCOLORPOINTER)(GLint size, GLenum type, GLsizei stride, const void * pointer); -// typedef void (APIENTRYP GPCOLORPOINTEREXT)(GLint size, GLenum type, GLsizei stride, GLsizei count, const void * pointer); -// typedef void (APIENTRYP GPCOLORPOINTERLISTIBM)(GLint size, GLenum type, GLint stride, const void ** pointer, GLint ptrstride); -// typedef void (APIENTRYP GPCOLORPOINTERVINTEL)(GLint size, GLenum type, const void ** pointer); -// typedef void (APIENTRYP GPCOLORSUBTABLEEXT)(GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void * data); -// typedef void (APIENTRYP GPCOLORTABLEEXT)(GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const void * table); -// typedef void (APIENTRYP GPCOLORTABLEPARAMETERFVSGI)(GLenum target, GLenum pname, const GLfloat * params); -// typedef void (APIENTRYP GPCOLORTABLEPARAMETERIVSGI)(GLenum target, GLenum pname, const GLint * params); -// typedef void (APIENTRYP GPCOLORTABLESGI)(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void * table); -// typedef void (APIENTRYP GPCOMBINERINPUTNV)(GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage); -// typedef void (APIENTRYP GPCOMBINEROUTPUTNV)(GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum); -// typedef void (APIENTRYP GPCOMBINERPARAMETERFNV)(GLenum pname, GLfloat param); -// typedef void (APIENTRYP GPCOMBINERPARAMETERFVNV)(GLenum pname, const GLfloat * params); -// typedef void (APIENTRYP GPCOMBINERPARAMETERINV)(GLenum pname, GLint param); -// typedef void (APIENTRYP GPCOMBINERPARAMETERIVNV)(GLenum pname, const GLint * params); -// typedef void (APIENTRYP GPCOMBINERSTAGEPARAMETERFVNV)(GLenum stage, GLenum pname, const GLfloat * params); -// typedef void (APIENTRYP GPCOMMANDLISTSEGMENTSNV)(GLuint list, GLuint segments); -// typedef void (APIENTRYP GPCOMPILECOMMANDLISTNV)(GLuint list); // typedef void (APIENTRYP GPCOMPILESHADER)(GLuint shader); -// typedef void (APIENTRYP GPCOMPILESHADERARB)(GLhandleARB shaderObj); -// typedef void (APIENTRYP GPCOMPILESHADERINCLUDEARB)(GLuint shader, GLsizei count, const GLchar *const* path, const GLint * length); -// typedef void (APIENTRYP GPCOMPRESSEDMULTITEXIMAGE1DEXT)(GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void * bits); -// typedef void (APIENTRYP GPCOMPRESSEDMULTITEXIMAGE2DEXT)(GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void * bits); -// typedef void (APIENTRYP GPCOMPRESSEDMULTITEXIMAGE3DEXT)(GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void * bits); -// typedef void (APIENTRYP GPCOMPRESSEDMULTITEXSUBIMAGE1DEXT)(GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void * bits); -// typedef void (APIENTRYP GPCOMPRESSEDMULTITEXSUBIMAGE2DEXT)(GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void * bits); -// typedef void (APIENTRYP GPCOMPRESSEDMULTITEXSUBIMAGE3DEXT)(GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void * bits); -// typedef void (APIENTRYP GPCOMPRESSEDTEXIMAGE1D)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void * data); -// typedef void (APIENTRYP GPCOMPRESSEDTEXIMAGE1DARB)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void * data); -// typedef void (APIENTRYP GPCOMPRESSEDTEXIMAGE2D)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void * data); -// typedef void (APIENTRYP GPCOMPRESSEDTEXIMAGE2DARB)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void * data); -// typedef void (APIENTRYP GPCOMPRESSEDTEXIMAGE3D)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void * data); -// typedef void (APIENTRYP GPCOMPRESSEDTEXIMAGE3DARB)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void * data); -// typedef void (APIENTRYP GPCOMPRESSEDTEXSUBIMAGE1D)(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void * data); -// typedef void (APIENTRYP GPCOMPRESSEDTEXSUBIMAGE1DARB)(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void * data); -// typedef void (APIENTRYP GPCOMPRESSEDTEXSUBIMAGE2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void * data); -// typedef void (APIENTRYP GPCOMPRESSEDTEXSUBIMAGE2DARB)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void * data); -// typedef void (APIENTRYP GPCOMPRESSEDTEXSUBIMAGE3D)(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 (APIENTRYP GPCOMPRESSEDTEXSUBIMAGE3DARB)(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 (APIENTRYP GPCOMPRESSEDTEXTUREIMAGE1DEXT)(GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void * bits); -// typedef void (APIENTRYP GPCOMPRESSEDTEXTUREIMAGE2DEXT)(GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void * bits); -// typedef void (APIENTRYP GPCOMPRESSEDTEXTUREIMAGE3DEXT)(GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void * bits); -// typedef void (APIENTRYP GPCOMPRESSEDTEXTURESUBIMAGE1D)(GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void * data); -// typedef void (APIENTRYP GPCOMPRESSEDTEXTURESUBIMAGE1DEXT)(GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void * bits); -// typedef void (APIENTRYP GPCOMPRESSEDTEXTURESUBIMAGE2D)(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void * data); -// typedef void (APIENTRYP GPCOMPRESSEDTEXTURESUBIMAGE2DEXT)(GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void * bits); -// typedef void (APIENTRYP GPCOMPRESSEDTEXTURESUBIMAGE3D)(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void * data); -// typedef void (APIENTRYP GPCOMPRESSEDTEXTURESUBIMAGE3DEXT)(GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void * bits); -// typedef void (APIENTRYP GPCONSERVATIVERASTERPARAMETERFNV)(GLenum pname, GLfloat value); -// typedef void (APIENTRYP GPCONSERVATIVERASTERPARAMETERINV)(GLenum pname, GLint param); -// typedef void (APIENTRYP GPCONVOLUTIONFILTER1DEXT)(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void * image); -// typedef void (APIENTRYP GPCONVOLUTIONFILTER2DEXT)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * image); -// typedef void (APIENTRYP GPCONVOLUTIONPARAMETERFEXT)(GLenum target, GLenum pname, GLfloat params); -// typedef void (APIENTRYP GPCONVOLUTIONPARAMETERFVEXT)(GLenum target, GLenum pname, const GLfloat * params); -// typedef void (APIENTRYP GPCONVOLUTIONPARAMETERIEXT)(GLenum target, GLenum pname, GLint params); -// typedef void (APIENTRYP GPCONVOLUTIONPARAMETERIVEXT)(GLenum target, GLenum pname, const GLint * params); -// typedef void (APIENTRYP GPCONVOLUTIONPARAMETERXOES)(GLenum target, GLenum pname, GLfixed param); -// typedef void (APIENTRYP GPCONVOLUTIONPARAMETERXVOES)(GLenum target, GLenum pname, const GLfixed * params); -// typedef void (APIENTRYP GPCOPYBUFFERSUBDATA)(GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); -// typedef void (APIENTRYP GPCOPYCOLORSUBTABLEEXT)(GLenum target, GLsizei start, GLint x, GLint y, GLsizei width); -// typedef void (APIENTRYP GPCOPYCOLORTABLESGI)(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); -// typedef void (APIENTRYP GPCOPYCONVOLUTIONFILTER1DEXT)(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); -// typedef void (APIENTRYP GPCOPYCONVOLUTIONFILTER2DEXT)(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height); -// typedef void (APIENTRYP GPCOPYIMAGESUBDATA)(GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth); -// typedef void (APIENTRYP GPCOPYIMAGESUBDATANV)(GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth); -// typedef void (APIENTRYP GPCOPYMULTITEXIMAGE1DEXT)(GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); -// typedef void (APIENTRYP GPCOPYMULTITEXIMAGE2DEXT)(GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); -// typedef void (APIENTRYP GPCOPYMULTITEXSUBIMAGE1DEXT)(GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); -// typedef void (APIENTRYP GPCOPYMULTITEXSUBIMAGE2DEXT)(GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); -// typedef void (APIENTRYP GPCOPYMULTITEXSUBIMAGE3DEXT)(GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); -// typedef void (APIENTRYP GPCOPYNAMEDBUFFERSUBDATA)(GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); -// typedef void (APIENTRYP GPCOPYPATHNV)(GLuint resultPath, GLuint srcPath); -// typedef void (APIENTRYP GPCOPYPIXELS)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type); -// typedef void (APIENTRYP GPCOPYTEXIMAGE1D)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); -// typedef void (APIENTRYP GPCOPYTEXIMAGE1DEXT)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); -// typedef void (APIENTRYP GPCOPYTEXIMAGE2D)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); -// typedef void (APIENTRYP GPCOPYTEXIMAGE2DEXT)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); -// typedef void (APIENTRYP GPCOPYTEXSUBIMAGE1D)(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); -// typedef void (APIENTRYP GPCOPYTEXSUBIMAGE1DEXT)(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); -// typedef void (APIENTRYP GPCOPYTEXSUBIMAGE2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); -// typedef void (APIENTRYP GPCOPYTEXSUBIMAGE2DEXT)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); -// typedef void (APIENTRYP GPCOPYTEXSUBIMAGE3D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); -// typedef void (APIENTRYP GPCOPYTEXSUBIMAGE3DEXT)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); -// typedef void (APIENTRYP GPCOPYTEXTUREIMAGE1DEXT)(GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); -// typedef void (APIENTRYP GPCOPYTEXTUREIMAGE2DEXT)(GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); -// typedef void (APIENTRYP GPCOPYTEXTURESUBIMAGE1D)(GLuint texture, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); -// typedef void (APIENTRYP GPCOPYTEXTURESUBIMAGE1DEXT)(GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); -// typedef void (APIENTRYP GPCOPYTEXTURESUBIMAGE2D)(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); -// typedef void (APIENTRYP GPCOPYTEXTURESUBIMAGE2DEXT)(GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); -// typedef void (APIENTRYP GPCOPYTEXTURESUBIMAGE3D)(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); -// typedef void (APIENTRYP GPCOPYTEXTURESUBIMAGE3DEXT)(GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); -// typedef void (APIENTRYP GPCOVERFILLPATHINSTANCEDNV)(GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat * transformValues); -// typedef void (APIENTRYP GPCOVERFILLPATHNV)(GLuint path, GLenum coverMode); -// typedef void (APIENTRYP GPCOVERSTROKEPATHINSTANCEDNV)(GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat * transformValues); -// typedef void (APIENTRYP GPCOVERSTROKEPATHNV)(GLuint path, GLenum coverMode); -// typedef void (APIENTRYP GPCOVERAGEMODULATIONNV)(GLenum components); -// typedef void (APIENTRYP GPCOVERAGEMODULATIONTABLENV)(GLsizei n, const GLfloat * v); -// typedef void (APIENTRYP GPCREATEBUFFERS)(GLsizei n, GLuint * buffers); -// typedef void (APIENTRYP GPCREATECOMMANDLISTSNV)(GLsizei n, GLuint * lists); -// typedef void (APIENTRYP GPCREATEFRAMEBUFFERS)(GLsizei n, GLuint * framebuffers); -// typedef void (APIENTRYP GPCREATEMEMORYOBJECTSEXT)(GLsizei n, GLuint * memoryObjects); -// typedef void (APIENTRYP GPCREATEPERFQUERYINTEL)(GLuint queryId, GLuint * queryHandle); // typedef GLuint (APIENTRYP GPCREATEPROGRAM)(); -// typedef GLhandleARB (APIENTRYP GPCREATEPROGRAMOBJECTARB)(); -// typedef void (APIENTRYP GPCREATEPROGRAMPIPELINES)(GLsizei n, GLuint * pipelines); -// typedef void (APIENTRYP GPCREATEQUERIES)(GLenum target, GLsizei n, GLuint * ids); -// typedef void (APIENTRYP GPCREATERENDERBUFFERS)(GLsizei n, GLuint * renderbuffers); -// typedef void (APIENTRYP GPCREATESAMPLERS)(GLsizei n, GLuint * samplers); // typedef GLuint (APIENTRYP GPCREATESHADER)(GLenum type); -// typedef GLhandleARB (APIENTRYP GPCREATESHADEROBJECTARB)(GLenum shaderType); -// typedef GLuint (APIENTRYP GPCREATESHADERPROGRAMEXT)(GLenum type, const GLchar * string); -// typedef GLuint (APIENTRYP GPCREATESHADERPROGRAMV)(GLenum type, GLsizei count, const GLchar *const* strings); -// typedef GLuint (APIENTRYP GPCREATESHADERPROGRAMVEXT)(GLenum type, GLsizei count, const GLchar ** strings); -// typedef void (APIENTRYP GPCREATESTATESNV)(GLsizei n, GLuint * states); -// typedef GLsync (APIENTRYP GPCREATESYNCFROMCLEVENTARB)(struct _cl_context * context, struct _cl_event * event, GLbitfield flags); -// typedef void (APIENTRYP GPCREATETEXTURES)(GLenum target, GLsizei n, GLuint * textures); -// typedef void (APIENTRYP GPCREATETRANSFORMFEEDBACKS)(GLsizei n, GLuint * ids); -// typedef void (APIENTRYP GPCREATEVERTEXARRAYS)(GLsizei n, GLuint * arrays); -// typedef void (APIENTRYP GPCULLFACE)(GLenum mode); -// typedef void (APIENTRYP GPCULLPARAMETERDVEXT)(GLenum pname, GLdouble * params); -// typedef void (APIENTRYP GPCULLPARAMETERFVEXT)(GLenum pname, GLfloat * params); -// typedef void (APIENTRYP GPCURRENTPALETTEMATRIXARB)(GLint index); -// typedef void (APIENTRYP GPDEBUGMESSAGECALLBACK)(GLDEBUGPROC callback, const void * userParam); -// typedef void (APIENTRYP GPDEBUGMESSAGECALLBACKAMD)(GLDEBUGPROCAMD callback, void * userParam); -// typedef void (APIENTRYP GPDEBUGMESSAGECALLBACKARB)(GLDEBUGPROCARB callback, const void * userParam); -// typedef void (APIENTRYP GPDEBUGMESSAGECALLBACKKHR)(GLDEBUGPROCKHR callback, const void * userParam); -// typedef void (APIENTRYP GPDEBUGMESSAGECONTROL)(GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint * ids, GLboolean enabled); -// typedef void (APIENTRYP GPDEBUGMESSAGECONTROLARB)(GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint * ids, GLboolean enabled); -// typedef void (APIENTRYP GPDEBUGMESSAGECONTROLKHR)(GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint * ids, GLboolean enabled); -// typedef void (APIENTRYP GPDEBUGMESSAGEENABLEAMD)(GLenum category, GLenum severity, GLsizei count, const GLuint * ids, GLboolean enabled); -// typedef void (APIENTRYP GPDEBUGMESSAGEINSERT)(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar * buf); -// typedef void (APIENTRYP GPDEBUGMESSAGEINSERTAMD)(GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar * buf); -// typedef void (APIENTRYP GPDEBUGMESSAGEINSERTARB)(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar * buf); -// typedef void (APIENTRYP GPDEBUGMESSAGEINSERTKHR)(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar * buf); -// typedef void (APIENTRYP GPDEFORMSGIX)(GLbitfield mask); -// typedef void (APIENTRYP GPDEFORMATIONMAP3DSGIX)(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, GLdouble w1, GLdouble w2, GLint wstride, GLint worder, const GLdouble * points); -// typedef void (APIENTRYP GPDEFORMATIONMAP3FSGIX)(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, GLfloat w1, GLfloat w2, GLint wstride, GLint worder, const GLfloat * points); -// typedef void (APIENTRYP GPDELETEASYNCMARKERSSGIX)(GLuint marker, GLsizei range); // typedef void (APIENTRYP GPDELETEBUFFERS)(GLsizei n, const GLuint * buffers); -// typedef void (APIENTRYP GPDELETEBUFFERSARB)(GLsizei n, const GLuint * buffers); -// typedef void (APIENTRYP GPDELETECOMMANDLISTSNV)(GLsizei n, const GLuint * lists); -// typedef void (APIENTRYP GPDELETEFENCESAPPLE)(GLsizei n, const GLuint * fences); -// typedef void (APIENTRYP GPDELETEFENCESNV)(GLsizei n, const GLuint * fences); -// typedef void (APIENTRYP GPDELETEFRAGMENTSHADERATI)(GLuint id); -// typedef void (APIENTRYP GPDELETEFRAMEBUFFERS)(GLsizei n, const GLuint * framebuffers); // typedef void (APIENTRYP GPDELETEFRAMEBUFFERSEXT)(GLsizei n, const GLuint * framebuffers); -// typedef void (APIENTRYP GPDELETELISTS)(GLuint list, GLsizei range); -// typedef void (APIENTRYP GPDELETEMEMORYOBJECTSEXT)(GLsizei n, const GLuint * memoryObjects); -// typedef void (APIENTRYP GPDELETENAMEDSTRINGARB)(GLint namelen, const GLchar * name); -// typedef void (APIENTRYP GPDELETENAMESAMD)(GLenum identifier, GLuint num, const GLuint * names); -// typedef void (APIENTRYP GPDELETEOBJECTARB)(GLhandleARB obj); -// typedef void (APIENTRYP GPDELETEOCCLUSIONQUERIESNV)(GLsizei n, const GLuint * ids); -// typedef void (APIENTRYP GPDELETEPATHSNV)(GLuint path, GLsizei range); -// typedef void (APIENTRYP GPDELETEPERFMONITORSAMD)(GLsizei n, GLuint * monitors); -// typedef void (APIENTRYP GPDELETEPERFQUERYINTEL)(GLuint queryHandle); // typedef void (APIENTRYP GPDELETEPROGRAM)(GLuint program); -// typedef void (APIENTRYP GPDELETEPROGRAMPIPELINES)(GLsizei n, const GLuint * pipelines); -// typedef void (APIENTRYP GPDELETEPROGRAMPIPELINESEXT)(GLsizei n, const GLuint * pipelines); -// typedef void (APIENTRYP GPDELETEPROGRAMSARB)(GLsizei n, const GLuint * programs); -// typedef void (APIENTRYP GPDELETEPROGRAMSNV)(GLsizei n, const GLuint * programs); -// typedef void (APIENTRYP GPDELETEQUERIES)(GLsizei n, const GLuint * ids); -// typedef void (APIENTRYP GPDELETEQUERIESARB)(GLsizei n, const GLuint * ids); -// typedef void (APIENTRYP GPDELETEQUERYRESOURCETAGNV)(GLsizei n, const GLint * tagIds); -// typedef void (APIENTRYP GPDELETERENDERBUFFERS)(GLsizei n, const GLuint * renderbuffers); -// typedef void (APIENTRYP GPDELETERENDERBUFFERSEXT)(GLsizei n, const GLuint * renderbuffers); -// typedef void (APIENTRYP GPDELETESAMPLERS)(GLsizei count, const GLuint * samplers); -// typedef void (APIENTRYP GPDELETESEMAPHORESEXT)(GLsizei n, const GLuint * semaphores); // typedef void (APIENTRYP GPDELETESHADER)(GLuint shader); -// typedef void (APIENTRYP GPDELETESTATESNV)(GLsizei n, const GLuint * states); -// typedef void (APIENTRYP GPDELETESYNC)(GLsync sync); // typedef void (APIENTRYP GPDELETETEXTURES)(GLsizei n, const GLuint * textures); -// typedef void (APIENTRYP GPDELETETEXTURESEXT)(GLsizei n, const GLuint * textures); -// typedef void (APIENTRYP GPDELETETRANSFORMFEEDBACKS)(GLsizei n, const GLuint * ids); -// typedef void (APIENTRYP GPDELETETRANSFORMFEEDBACKSNV)(GLsizei n, const GLuint * ids); -// typedef void (APIENTRYP GPDELETEVERTEXARRAYS)(GLsizei n, const GLuint * arrays); -// typedef void (APIENTRYP GPDELETEVERTEXARRAYSAPPLE)(GLsizei n, const GLuint * arrays); -// typedef void (APIENTRYP GPDELETEVERTEXSHADEREXT)(GLuint id); -// typedef void (APIENTRYP GPDEPTHBOUNDSEXT)(GLclampd zmin, GLclampd zmax); -// typedef void (APIENTRYP GPDEPTHBOUNDSDNV)(GLdouble zmin, GLdouble zmax); -// typedef void (APIENTRYP GPDEPTHFUNC)(GLenum func); -// typedef void (APIENTRYP GPDEPTHMASK)(GLboolean flag); -// typedef void (APIENTRYP GPDEPTHRANGE)(GLdouble n, GLdouble f); -// typedef void (APIENTRYP GPDEPTHRANGEARRAYV)(GLuint first, GLsizei count, const GLdouble * v); -// typedef void (APIENTRYP GPDEPTHRANGEINDEXED)(GLuint index, GLdouble n, GLdouble f); -// typedef void (APIENTRYP GPDEPTHRANGEDNV)(GLdouble zNear, GLdouble zFar); -// typedef void (APIENTRYP GPDEPTHRANGEF)(GLfloat n, GLfloat f); -// typedef void (APIENTRYP GPDEPTHRANGEFOES)(GLclampf n, GLclampf f); -// typedef void (APIENTRYP GPDEPTHRANGEXOES)(GLfixed n, GLfixed f); -// typedef void (APIENTRYP GPDETACHOBJECTARB)(GLhandleARB containerObj, GLhandleARB attachedObj); -// typedef void (APIENTRYP GPDETACHSHADER)(GLuint program, GLuint shader); -// typedef void (APIENTRYP GPDETAILTEXFUNCSGIS)(GLenum target, GLsizei n, const GLfloat * points); -// typedef void (APIENTRYP GPDISABLE)(GLenum cap); -// typedef void (APIENTRYP GPDISABLECLIENTSTATE)(GLenum array); -// typedef void (APIENTRYP GPDISABLECLIENTSTATEINDEXEDEXT)(GLenum array, GLuint index); -// typedef void (APIENTRYP GPDISABLECLIENTSTATEIEXT)(GLenum array, GLuint index); -// typedef void (APIENTRYP GPDISABLEINDEXEDEXT)(GLenum target, GLuint index); -// typedef void (APIENTRYP GPDISABLEVARIANTCLIENTSTATEEXT)(GLuint id); -// typedef void (APIENTRYP GPDISABLEVERTEXARRAYATTRIB)(GLuint vaobj, GLuint index); -// typedef void (APIENTRYP GPDISABLEVERTEXARRAYATTRIBEXT)(GLuint vaobj, GLuint index); -// typedef void (APIENTRYP GPDISABLEVERTEXARRAYEXT)(GLuint vaobj, GLenum array); -// typedef void (APIENTRYP GPDISABLEVERTEXATTRIBAPPLE)(GLuint index, GLenum pname); // typedef void (APIENTRYP GPDISABLEVERTEXATTRIBARRAY)(GLuint index); -// typedef void (APIENTRYP GPDISABLEVERTEXATTRIBARRAYARB)(GLuint index); -// typedef void (APIENTRYP GPDISPATCHCOMPUTE)(GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z); -// typedef void (APIENTRYP GPDISPATCHCOMPUTEGROUPSIZEARB)(GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z, GLuint group_size_x, GLuint group_size_y, GLuint group_size_z); -// typedef void (APIENTRYP GPDISPATCHCOMPUTEINDIRECT)(GLintptr indirect); -// typedef void (APIENTRYP GPDRAWARRAYS)(GLenum mode, GLint first, GLsizei count); -// typedef void (APIENTRYP GPDRAWARRAYSEXT)(GLenum mode, GLint first, GLsizei count); -// typedef void (APIENTRYP GPDRAWARRAYSINDIRECT)(GLenum mode, const void * indirect); -// typedef void (APIENTRYP GPDRAWARRAYSINSTANCEDARB)(GLenum mode, GLint first, GLsizei count, GLsizei primcount); -// typedef void (APIENTRYP GPDRAWARRAYSINSTANCEDBASEINSTANCE)(GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance); -// typedef void (APIENTRYP GPDRAWARRAYSINSTANCEDEXT)(GLenum mode, GLint start, GLsizei count, GLsizei primcount); -// typedef void (APIENTRYP GPDRAWBUFFER)(GLenum buf); -// typedef void (APIENTRYP GPDRAWBUFFERS)(GLsizei n, const GLenum * bufs); -// typedef void (APIENTRYP GPDRAWBUFFERSARB)(GLsizei n, const GLenum * bufs); -// typedef void (APIENTRYP GPDRAWBUFFERSATI)(GLsizei n, const GLenum * bufs); -// typedef void (APIENTRYP GPDRAWCOMMANDSADDRESSNV)(GLenum primitiveMode, const GLuint64 * indirects, const GLsizei * sizes, GLuint count); -// typedef void (APIENTRYP GPDRAWCOMMANDSNV)(GLenum primitiveMode, GLuint buffer, const GLintptr * indirects, const GLsizei * sizes, GLuint count); -// typedef void (APIENTRYP GPDRAWCOMMANDSSTATESADDRESSNV)(const GLuint64 * indirects, const GLsizei * sizes, const GLuint * states, const GLuint * fbos, GLuint count); -// typedef void (APIENTRYP GPDRAWCOMMANDSSTATESNV)(GLuint buffer, const GLintptr * indirects, const GLsizei * sizes, const GLuint * states, const GLuint * fbos, GLuint count); -// typedef void (APIENTRYP GPDRAWELEMENTARRAYAPPLE)(GLenum mode, GLint first, GLsizei count); -// typedef void (APIENTRYP GPDRAWELEMENTARRAYATI)(GLenum mode, GLsizei count); // typedef void (APIENTRYP GPDRAWELEMENTS)(GLenum mode, GLsizei count, GLenum type, const uintptr_t indices); -// typedef void (APIENTRYP GPDRAWELEMENTSBASEVERTEX)(GLenum mode, GLsizei count, GLenum type, const void * indices, GLint basevertex); -// typedef void (APIENTRYP GPDRAWELEMENTSINDIRECT)(GLenum mode, GLenum type, const void * indirect); -// typedef void (APIENTRYP GPDRAWELEMENTSINSTANCEDARB)(GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei primcount); -// typedef void (APIENTRYP GPDRAWELEMENTSINSTANCEDBASEINSTANCE)(GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount, GLuint baseinstance); -// typedef void (APIENTRYP GPDRAWELEMENTSINSTANCEDBASEVERTEX)(GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount, GLint basevertex); -// typedef void (APIENTRYP GPDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCE)(GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance); -// typedef void (APIENTRYP GPDRAWELEMENTSINSTANCEDEXT)(GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei primcount); -// typedef void (APIENTRYP GPDRAWMESHARRAYSSUN)(GLenum mode, GLint first, GLsizei count, GLsizei width); -// typedef void (APIENTRYP GPDRAWPIXELS)(GLsizei width, GLsizei height, GLenum format, GLenum type, const void * pixels); -// typedef void (APIENTRYP GPDRAWRANGEELEMENTARRAYAPPLE)(GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count); -// typedef void (APIENTRYP GPDRAWRANGEELEMENTARRAYATI)(GLenum mode, GLuint start, GLuint end, GLsizei count); -// typedef void (APIENTRYP GPDRAWRANGEELEMENTS)(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void * indices); -// typedef void (APIENTRYP GPDRAWRANGEELEMENTSBASEVERTEX)(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void * indices, GLint basevertex); -// typedef void (APIENTRYP GPDRAWRANGEELEMENTSEXT)(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void * indices); -// typedef void (APIENTRYP GPDRAWTEXTURENV)(GLuint texture, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1); -// typedef void (APIENTRYP GPDRAWTRANSFORMFEEDBACK)(GLenum mode, GLuint id); -// typedef void (APIENTRYP GPDRAWTRANSFORMFEEDBACKINSTANCED)(GLenum mode, GLuint id, GLsizei instancecount); -// typedef void (APIENTRYP GPDRAWTRANSFORMFEEDBACKNV)(GLenum mode, GLuint id); -// typedef void (APIENTRYP GPDRAWTRANSFORMFEEDBACKSTREAM)(GLenum mode, GLuint id, GLuint stream); -// typedef void (APIENTRYP GPDRAWTRANSFORMFEEDBACKSTREAMINSTANCED)(GLenum mode, GLuint id, GLuint stream, GLsizei instancecount); -// typedef void (APIENTRYP GPDRAWVKIMAGENV)(GLuint64 vkImage, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1); -// typedef void (APIENTRYP GPEGLIMAGETARGETTEXSTORAGEEXT)(GLenum target, GLeglImageOES image, const GLint* attrib_list); -// typedef void (APIENTRYP GPEGLIMAGETARGETTEXTURESTORAGEEXT)(GLuint texture, GLeglImageOES image, const GLint* attrib_list); -// typedef void (APIENTRYP GPEDGEFLAG)(GLboolean flag); -// typedef void (APIENTRYP GPEDGEFLAGFORMATNV)(GLsizei stride); -// typedef void (APIENTRYP GPEDGEFLAGPOINTER)(GLsizei stride, const void * pointer); -// typedef void (APIENTRYP GPEDGEFLAGPOINTEREXT)(GLsizei stride, GLsizei count, const GLboolean * pointer); -// typedef void (APIENTRYP GPEDGEFLAGPOINTERLISTIBM)(GLint stride, const GLboolean ** pointer, GLint ptrstride); -// typedef void (APIENTRYP GPEDGEFLAGV)(const GLboolean * flag); -// typedef void (APIENTRYP GPELEMENTPOINTERAPPLE)(GLenum type, const void * pointer); -// typedef void (APIENTRYP GPELEMENTPOINTERATI)(GLenum type, const void * pointer); // typedef void (APIENTRYP GPENABLE)(GLenum cap); -// typedef void (APIENTRYP GPENABLECLIENTSTATE)(GLenum array); -// typedef void (APIENTRYP GPENABLECLIENTSTATEINDEXEDEXT)(GLenum array, GLuint index); -// typedef void (APIENTRYP GPENABLECLIENTSTATEIEXT)(GLenum array, GLuint index); -// typedef void (APIENTRYP GPENABLEINDEXEDEXT)(GLenum target, GLuint index); -// typedef void (APIENTRYP GPENABLEVARIANTCLIENTSTATEEXT)(GLuint id); -// typedef void (APIENTRYP GPENABLEVERTEXARRAYATTRIB)(GLuint vaobj, GLuint index); -// typedef void (APIENTRYP GPENABLEVERTEXARRAYATTRIBEXT)(GLuint vaobj, GLuint index); -// typedef void (APIENTRYP GPENABLEVERTEXARRAYEXT)(GLuint vaobj, GLenum array); -// typedef void (APIENTRYP GPENABLEVERTEXATTRIBAPPLE)(GLuint index, GLenum pname); // typedef void (APIENTRYP GPENABLEVERTEXATTRIBARRAY)(GLuint index); -// typedef void (APIENTRYP GPENABLEVERTEXATTRIBARRAYARB)(GLuint index); -// typedef void (APIENTRYP GPEND)(); -// typedef void (APIENTRYP GPENDCONDITIONALRENDERNV)(); -// typedef void (APIENTRYP GPENDCONDITIONALRENDERNVX)(); -// typedef void (APIENTRYP GPENDFRAGMENTSHADERATI)(); -// typedef void (APIENTRYP GPENDLIST)(); -// typedef void (APIENTRYP GPENDOCCLUSIONQUERYNV)(); -// typedef void (APIENTRYP GPENDPERFMONITORAMD)(GLuint monitor); -// typedef void (APIENTRYP GPENDPERFQUERYINTEL)(GLuint queryHandle); -// typedef void (APIENTRYP GPENDQUERY)(GLenum target); -// typedef void (APIENTRYP GPENDQUERYARB)(GLenum target); -// typedef void (APIENTRYP GPENDQUERYINDEXED)(GLenum target, GLuint index); -// typedef void (APIENTRYP GPENDTRANSFORMFEEDBACKEXT)(); -// typedef void (APIENTRYP GPENDTRANSFORMFEEDBACKNV)(); -// typedef void (APIENTRYP GPENDVERTEXSHADEREXT)(); -// typedef void (APIENTRYP GPENDVIDEOCAPTURENV)(GLuint video_capture_slot); -// typedef void (APIENTRYP GPEVALCOORD1D)(GLdouble u); -// typedef void (APIENTRYP GPEVALCOORD1DV)(const GLdouble * u); -// typedef void (APIENTRYP GPEVALCOORD1F)(GLfloat u); -// typedef void (APIENTRYP GPEVALCOORD1FV)(const GLfloat * u); -// typedef void (APIENTRYP GPEVALCOORD1XOES)(GLfixed u); -// typedef void (APIENTRYP GPEVALCOORD1XVOES)(const GLfixed * coords); -// typedef void (APIENTRYP GPEVALCOORD2D)(GLdouble u, GLdouble v); -// typedef void (APIENTRYP GPEVALCOORD2DV)(const GLdouble * u); -// typedef void (APIENTRYP GPEVALCOORD2F)(GLfloat u, GLfloat v); -// typedef void (APIENTRYP GPEVALCOORD2FV)(const GLfloat * u); -// typedef void (APIENTRYP GPEVALCOORD2XOES)(GLfixed u, GLfixed v); -// typedef void (APIENTRYP GPEVALCOORD2XVOES)(const GLfixed * coords); -// typedef void (APIENTRYP GPEVALMAPSNV)(GLenum target, GLenum mode); -// typedef void (APIENTRYP GPEVALMESH1)(GLenum mode, GLint i1, GLint i2); -// typedef void (APIENTRYP GPEVALMESH2)(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2); -// typedef void (APIENTRYP GPEVALPOINT1)(GLint i); -// typedef void (APIENTRYP GPEVALPOINT2)(GLint i, GLint j); -// typedef void (APIENTRYP GPEVALUATEDEPTHVALUESARB)(); -// typedef void (APIENTRYP GPEXECUTEPROGRAMNV)(GLenum target, GLuint id, const GLfloat * params); -// typedef void (APIENTRYP GPEXTRACTCOMPONENTEXT)(GLuint res, GLuint src, GLuint num); -// typedef void (APIENTRYP GPFEEDBACKBUFFER)(GLsizei size, GLenum type, GLfloat * buffer); -// typedef void (APIENTRYP GPFEEDBACKBUFFERXOES)(GLsizei n, GLenum type, const GLfixed * buffer); -// typedef GLsync (APIENTRYP GPFENCESYNC)(GLenum condition, GLbitfield flags); -// typedef void (APIENTRYP GPFINALCOMBINERINPUTNV)(GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage); -// typedef void (APIENTRYP GPFINISH)(); -// typedef GLint (APIENTRYP GPFINISHASYNCSGIX)(GLuint * markerp); -// typedef void (APIENTRYP GPFINISHFENCEAPPLE)(GLuint fence); -// typedef void (APIENTRYP GPFINISHFENCENV)(GLuint fence); -// typedef void (APIENTRYP GPFINISHOBJECTAPPLE)(GLenum object, GLint name); -// typedef void (APIENTRYP GPFINISHTEXTURESUNX)(); // typedef void (APIENTRYP GPFLUSH)(); -// typedef void (APIENTRYP GPFLUSHMAPPEDBUFFERRANGE)(GLenum target, GLintptr offset, GLsizeiptr length); -// typedef void (APIENTRYP GPFLUSHMAPPEDBUFFERRANGEAPPLE)(GLenum target, GLintptr offset, GLsizeiptr size); -// typedef void (APIENTRYP GPFLUSHMAPPEDNAMEDBUFFERRANGE)(GLuint buffer, GLintptr offset, GLsizeiptr length); -// typedef void (APIENTRYP GPFLUSHMAPPEDNAMEDBUFFERRANGEEXT)(GLuint buffer, GLintptr offset, GLsizeiptr length); -// typedef void (APIENTRYP GPFLUSHPIXELDATARANGENV)(GLenum target); -// typedef void (APIENTRYP GPFLUSHRASTERSGIX)(); -// typedef void (APIENTRYP GPFLUSHSTATICDATAIBM)(GLenum target); -// typedef void (APIENTRYP GPFLUSHVERTEXARRAYRANGEAPPLE)(GLsizei length, void * pointer); -// typedef void (APIENTRYP GPFLUSHVERTEXARRAYRANGENV)(); -// typedef void (APIENTRYP GPFOGCOORDFORMATNV)(GLenum type, GLsizei stride); -// typedef void (APIENTRYP GPFOGCOORDPOINTER)(GLenum type, GLsizei stride, const void * pointer); -// typedef void (APIENTRYP GPFOGCOORDPOINTEREXT)(GLenum type, GLsizei stride, const void * pointer); -// typedef void (APIENTRYP GPFOGCOORDPOINTERLISTIBM)(GLenum type, GLint stride, const void ** pointer, GLint ptrstride); -// typedef void (APIENTRYP GPFOGCOORDD)(GLdouble coord); -// typedef void (APIENTRYP GPFOGCOORDDEXT)(GLdouble coord); -// typedef void (APIENTRYP GPFOGCOORDDV)(const GLdouble * coord); -// typedef void (APIENTRYP GPFOGCOORDDVEXT)(const GLdouble * coord); -// typedef void (APIENTRYP GPFOGCOORDF)(GLfloat coord); -// typedef void (APIENTRYP GPFOGCOORDFEXT)(GLfloat coord); -// typedef void (APIENTRYP GPFOGCOORDFV)(const GLfloat * coord); -// typedef void (APIENTRYP GPFOGCOORDFVEXT)(const GLfloat * coord); -// typedef void (APIENTRYP GPFOGCOORDHNV)(GLhalfNV fog); -// typedef void (APIENTRYP GPFOGCOORDHVNV)(const GLhalfNV * fog); -// typedef void (APIENTRYP GPFOGFUNCSGIS)(GLsizei n, const GLfloat * points); -// typedef void (APIENTRYP GPFOGF)(GLenum pname, GLfloat param); -// typedef void (APIENTRYP GPFOGFV)(GLenum pname, const GLfloat * params); -// typedef void (APIENTRYP GPFOGI)(GLenum pname, GLint param); -// typedef void (APIENTRYP GPFOGIV)(GLenum pname, const GLint * params); -// typedef void (APIENTRYP GPFOGXOES)(GLenum pname, GLfixed param); -// typedef void (APIENTRYP GPFOGXVOES)(GLenum pname, const GLfixed * param); -// typedef void (APIENTRYP GPFRAGMENTCOLORMATERIALSGIX)(GLenum face, GLenum mode); -// typedef void (APIENTRYP GPFRAGMENTCOVERAGECOLORNV)(GLuint color); -// typedef void (APIENTRYP GPFRAGMENTLIGHTMODELFSGIX)(GLenum pname, GLfloat param); -// typedef void (APIENTRYP GPFRAGMENTLIGHTMODELFVSGIX)(GLenum pname, const GLfloat * params); -// typedef void (APIENTRYP GPFRAGMENTLIGHTMODELISGIX)(GLenum pname, GLint param); -// typedef void (APIENTRYP GPFRAGMENTLIGHTMODELIVSGIX)(GLenum pname, const GLint * params); -// typedef void (APIENTRYP GPFRAGMENTLIGHTFSGIX)(GLenum light, GLenum pname, GLfloat param); -// typedef void (APIENTRYP GPFRAGMENTLIGHTFVSGIX)(GLenum light, GLenum pname, const GLfloat * params); -// typedef void (APIENTRYP GPFRAGMENTLIGHTISGIX)(GLenum light, GLenum pname, GLint param); -// typedef void (APIENTRYP GPFRAGMENTLIGHTIVSGIX)(GLenum light, GLenum pname, const GLint * params); -// typedef void (APIENTRYP GPFRAGMENTMATERIALFSGIX)(GLenum face, GLenum pname, GLfloat param); -// typedef void (APIENTRYP GPFRAGMENTMATERIALFVSGIX)(GLenum face, GLenum pname, const GLfloat * params); -// typedef void (APIENTRYP GPFRAGMENTMATERIALISGIX)(GLenum face, GLenum pname, GLint param); -// typedef void (APIENTRYP GPFRAGMENTMATERIALIVSGIX)(GLenum face, GLenum pname, const GLint * params); -// typedef void (APIENTRYP GPFRAMETERMINATORGREMEDY)(); -// typedef void (APIENTRYP GPFRAMEZOOMSGIX)(GLint factor); -// typedef void (APIENTRYP GPFRAMEBUFFERDRAWBUFFEREXT)(GLuint framebuffer, GLenum mode); -// typedef void (APIENTRYP GPFRAMEBUFFERDRAWBUFFERSEXT)(GLuint framebuffer, GLsizei n, const GLenum * bufs); -// typedef void (APIENTRYP GPFRAMEBUFFERFETCHBARRIEREXT)(); -// typedef void (APIENTRYP GPFRAMEBUFFERPARAMETERI)(GLenum target, GLenum pname, GLint param); -// typedef void (APIENTRYP GPFRAMEBUFFERREADBUFFEREXT)(GLuint framebuffer, GLenum mode); -// typedef void (APIENTRYP GPFRAMEBUFFERRENDERBUFFER)(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); -// typedef void (APIENTRYP GPFRAMEBUFFERRENDERBUFFEREXT)(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); -// typedef void (APIENTRYP GPFRAMEBUFFERSAMPLELOCATIONSFVARB)(GLenum target, GLuint start, GLsizei count, const GLfloat * v); -// typedef void (APIENTRYP GPFRAMEBUFFERSAMPLELOCATIONSFVNV)(GLenum target, GLuint start, GLsizei count, const GLfloat * v); -// typedef void (APIENTRYP GPFRAMEBUFFERSAMPLEPOSITIONSFVAMD)(GLenum target, GLuint numsamples, GLuint pixelindex, const GLfloat * values); -// typedef void (APIENTRYP GPFRAMEBUFFERTEXTURE1D)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -// typedef void (APIENTRYP GPFRAMEBUFFERTEXTURE1DEXT)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -// typedef void (APIENTRYP GPFRAMEBUFFERTEXTURE2D)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); // typedef void (APIENTRYP GPFRAMEBUFFERTEXTURE2DEXT)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -// typedef void (APIENTRYP GPFRAMEBUFFERTEXTURE3D)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); -// typedef void (APIENTRYP GPFRAMEBUFFERTEXTURE3DEXT)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); -// typedef void (APIENTRYP GPFRAMEBUFFERTEXTUREARB)(GLenum target, GLenum attachment, GLuint texture, GLint level); -// typedef void (APIENTRYP GPFRAMEBUFFERTEXTUREEXT)(GLenum target, GLenum attachment, GLuint texture, GLint level); -// typedef void (APIENTRYP GPFRAMEBUFFERTEXTUREFACEARB)(GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face); -// typedef void (APIENTRYP GPFRAMEBUFFERTEXTUREFACEEXT)(GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face); -// typedef void (APIENTRYP GPFRAMEBUFFERTEXTURELAYER)(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); -// typedef void (APIENTRYP GPFRAMEBUFFERTEXTURELAYERARB)(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); -// typedef void (APIENTRYP GPFRAMEBUFFERTEXTURELAYEREXT)(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); -// typedef void (APIENTRYP GPFRAMEBUFFERTEXTUREMULTIVIEWOVR)(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews); -// typedef void (APIENTRYP GPFREEOBJECTBUFFERATI)(GLuint buffer); -// typedef void (APIENTRYP GPFRONTFACE)(GLenum mode); -// typedef void (APIENTRYP GPFRUSTUM)(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); -// typedef void (APIENTRYP GPFRUSTUMFOES)(GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); -// typedef void (APIENTRYP GPFRUSTUMXOES)(GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); -// typedef GLuint (APIENTRYP GPGENASYNCMARKERSSGIX)(GLsizei range); // typedef void (APIENTRYP GPGENBUFFERS)(GLsizei n, GLuint * buffers); -// typedef void (APIENTRYP GPGENBUFFERSARB)(GLsizei n, GLuint * buffers); -// typedef void (APIENTRYP GPGENFENCESAPPLE)(GLsizei n, GLuint * fences); -// typedef void (APIENTRYP GPGENFENCESNV)(GLsizei n, GLuint * fences); -// typedef GLuint (APIENTRYP GPGENFRAGMENTSHADERSATI)(GLuint range); -// typedef void (APIENTRYP GPGENFRAMEBUFFERS)(GLsizei n, GLuint * framebuffers); // typedef void (APIENTRYP GPGENFRAMEBUFFERSEXT)(GLsizei n, GLuint * framebuffers); -// typedef GLuint (APIENTRYP GPGENLISTS)(GLsizei range); -// typedef void (APIENTRYP GPGENNAMESAMD)(GLenum identifier, GLuint num, GLuint * names); -// typedef void (APIENTRYP GPGENOCCLUSIONQUERIESNV)(GLsizei n, GLuint * ids); -// typedef GLuint (APIENTRYP GPGENPATHSNV)(GLsizei range); -// typedef void (APIENTRYP GPGENPERFMONITORSAMD)(GLsizei n, GLuint * monitors); -// typedef void (APIENTRYP GPGENPROGRAMPIPELINES)(GLsizei n, GLuint * pipelines); -// typedef void (APIENTRYP GPGENPROGRAMPIPELINESEXT)(GLsizei n, GLuint * pipelines); -// typedef void (APIENTRYP GPGENPROGRAMSARB)(GLsizei n, GLuint * programs); -// typedef void (APIENTRYP GPGENPROGRAMSNV)(GLsizei n, GLuint * programs); -// typedef void (APIENTRYP GPGENQUERIES)(GLsizei n, GLuint * ids); -// typedef void (APIENTRYP GPGENQUERIESARB)(GLsizei n, GLuint * ids); -// typedef void (APIENTRYP GPGENQUERYRESOURCETAGNV)(GLsizei n, GLint * tagIds); -// typedef void (APIENTRYP GPGENRENDERBUFFERS)(GLsizei n, GLuint * renderbuffers); -// typedef void (APIENTRYP GPGENRENDERBUFFERSEXT)(GLsizei n, GLuint * renderbuffers); -// typedef void (APIENTRYP GPGENSAMPLERS)(GLsizei count, GLuint * samplers); -// typedef void (APIENTRYP GPGENSEMAPHORESEXT)(GLsizei n, GLuint * semaphores); -// typedef GLuint (APIENTRYP GPGENSYMBOLSEXT)(GLenum datatype, GLenum storagetype, GLenum range, GLuint components); // typedef void (APIENTRYP GPGENTEXTURES)(GLsizei n, GLuint * textures); -// typedef void (APIENTRYP GPGENTEXTURESEXT)(GLsizei n, GLuint * textures); -// typedef void (APIENTRYP GPGENTRANSFORMFEEDBACKS)(GLsizei n, GLuint * ids); -// typedef void (APIENTRYP GPGENTRANSFORMFEEDBACKSNV)(GLsizei n, GLuint * ids); -// typedef void (APIENTRYP GPGENVERTEXARRAYS)(GLsizei n, GLuint * arrays); -// typedef void (APIENTRYP GPGENVERTEXARRAYSAPPLE)(GLsizei n, GLuint * arrays); -// typedef GLuint (APIENTRYP GPGENVERTEXSHADERSEXT)(GLuint range); -// typedef void (APIENTRYP GPGENERATEMIPMAP)(GLenum target); -// typedef void (APIENTRYP GPGENERATEMIPMAPEXT)(GLenum target); -// typedef void (APIENTRYP GPGENERATEMULTITEXMIPMAPEXT)(GLenum texunit, GLenum target); -// typedef void (APIENTRYP GPGENERATETEXTUREMIPMAP)(GLuint texture); -// typedef void (APIENTRYP GPGENERATETEXTUREMIPMAPEXT)(GLuint texture, GLenum target); -// typedef void (APIENTRYP GPGETACTIVEATOMICCOUNTERBUFFERIV)(GLuint program, GLuint bufferIndex, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETACTIVEATTRIB)(GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLint * size, GLenum * type, GLchar * name); -// typedef void (APIENTRYP GPGETACTIVEATTRIBARB)(GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei * length, GLint * size, GLenum * type, GLcharARB * name); -// typedef void (APIENTRYP GPGETACTIVESUBROUTINENAME)(GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei * length, GLchar * name); -// typedef void (APIENTRYP GPGETACTIVESUBROUTINEUNIFORMNAME)(GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei * length, GLchar * name); -// typedef void (APIENTRYP GPGETACTIVESUBROUTINEUNIFORMIV)(GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint * values); -// typedef void (APIENTRYP GPGETACTIVEUNIFORM)(GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLint * size, GLenum * type, GLchar * name); -// typedef void (APIENTRYP GPGETACTIVEUNIFORMARB)(GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei * length, GLint * size, GLenum * type, GLcharARB * name); -// typedef void (APIENTRYP GPGETACTIVEUNIFORMBLOCKNAME)(GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei * length, GLchar * uniformBlockName); -// typedef void (APIENTRYP GPGETACTIVEUNIFORMBLOCKIV)(GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETACTIVEUNIFORMNAME)(GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei * length, GLchar * uniformName); -// typedef void (APIENTRYP GPGETACTIVEUNIFORMSIV)(GLuint program, GLsizei uniformCount, const GLuint * uniformIndices, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETACTIVEVARYINGNV)(GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLsizei * size, GLenum * type, GLchar * name); -// typedef void (APIENTRYP GPGETARRAYOBJECTFVATI)(GLenum array, GLenum pname, GLfloat * params); -// typedef void (APIENTRYP GPGETARRAYOBJECTIVATI)(GLenum array, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETATTACHEDOBJECTSARB)(GLhandleARB containerObj, GLsizei maxCount, GLsizei * count, GLhandleARB * obj); -// typedef void (APIENTRYP GPGETATTACHEDSHADERS)(GLuint program, GLsizei maxCount, GLsizei * count, GLuint * shaders); -// typedef GLint (APIENTRYP GPGETATTRIBLOCATION)(GLuint program, const GLchar * name); -// typedef GLint (APIENTRYP GPGETATTRIBLOCATIONARB)(GLhandleARB programObj, const GLcharARB * name); -// typedef void (APIENTRYP GPGETBOOLEANINDEXEDVEXT)(GLenum target, GLuint index, GLboolean * data); -// typedef void (APIENTRYP GPGETBOOLEANV)(GLenum pname, GLboolean * data); -// typedef void (APIENTRYP GPGETBUFFERPARAMETERIV)(GLenum target, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETBUFFERPARAMETERIVARB)(GLenum target, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETBUFFERPARAMETERUI64VNV)(GLenum target, GLenum pname, GLuint64EXT * params); -// typedef void (APIENTRYP GPGETBUFFERPOINTERV)(GLenum target, GLenum pname, void ** params); -// typedef void (APIENTRYP GPGETBUFFERPOINTERVARB)(GLenum target, GLenum pname, void ** params); -// typedef void (APIENTRYP GPGETBUFFERSUBDATA)(GLenum target, GLintptr offset, GLsizeiptr size, void * data); -// typedef void (APIENTRYP GPGETBUFFERSUBDATAARB)(GLenum target, GLintptrARB offset, GLsizeiptrARB size, void * data); -// typedef void (APIENTRYP GPGETCLIPPLANE)(GLenum plane, GLdouble * equation); -// typedef void (APIENTRYP GPGETCLIPPLANEFOES)(GLenum plane, GLfloat * equation); -// typedef void (APIENTRYP GPGETCLIPPLANEXOES)(GLenum plane, GLfixed * equation); -// typedef void (APIENTRYP GPGETCOLORTABLEEXT)(GLenum target, GLenum format, GLenum type, void * data); -// typedef void (APIENTRYP GPGETCOLORTABLEPARAMETERFVEXT)(GLenum target, GLenum pname, GLfloat * params); -// typedef void (APIENTRYP GPGETCOLORTABLEPARAMETERFVSGI)(GLenum target, GLenum pname, GLfloat * params); -// typedef void (APIENTRYP GPGETCOLORTABLEPARAMETERIVEXT)(GLenum target, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETCOLORTABLEPARAMETERIVSGI)(GLenum target, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETCOLORTABLESGI)(GLenum target, GLenum format, GLenum type, void * table); -// typedef void (APIENTRYP GPGETCOMBINERINPUTPARAMETERFVNV)(GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat * params); -// typedef void (APIENTRYP GPGETCOMBINERINPUTPARAMETERIVNV)(GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETCOMBINEROUTPUTPARAMETERFVNV)(GLenum stage, GLenum portion, GLenum pname, GLfloat * params); -// typedef void (APIENTRYP GPGETCOMBINEROUTPUTPARAMETERIVNV)(GLenum stage, GLenum portion, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETCOMBINERSTAGEPARAMETERFVNV)(GLenum stage, GLenum pname, GLfloat * params); -// typedef GLuint (APIENTRYP GPGETCOMMANDHEADERNV)(GLenum tokenID, GLuint size); -// typedef void (APIENTRYP GPGETCOMPRESSEDMULTITEXIMAGEEXT)(GLenum texunit, GLenum target, GLint lod, void * img); -// typedef void (APIENTRYP GPGETCOMPRESSEDTEXIMAGE)(GLenum target, GLint level, void * img); -// typedef void (APIENTRYP GPGETCOMPRESSEDTEXIMAGEARB)(GLenum target, GLint level, void * img); -// typedef void (APIENTRYP GPGETCOMPRESSEDTEXTUREIMAGE)(GLuint texture, GLint level, GLsizei bufSize, void * pixels); -// typedef void (APIENTRYP GPGETCOMPRESSEDTEXTUREIMAGEEXT)(GLuint texture, GLenum target, GLint lod, void * img); -// typedef void (APIENTRYP GPGETCOMPRESSEDTEXTURESUBIMAGE)(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei bufSize, void * pixels); -// typedef void (APIENTRYP GPGETCONVOLUTIONFILTEREXT)(GLenum target, GLenum format, GLenum type, void * image); -// typedef void (APIENTRYP GPGETCONVOLUTIONPARAMETERFVEXT)(GLenum target, GLenum pname, GLfloat * params); -// typedef void (APIENTRYP GPGETCONVOLUTIONPARAMETERIVEXT)(GLenum target, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETCONVOLUTIONPARAMETERXVOES)(GLenum target, GLenum pname, GLfixed * params); -// typedef void (APIENTRYP GPGETCOVERAGEMODULATIONTABLENV)(GLsizei bufsize, GLfloat * v); -// typedef GLuint (APIENTRYP GPGETDEBUGMESSAGELOG)(GLuint count, GLsizei bufSize, GLenum * sources, GLenum * types, GLuint * ids, GLenum * severities, GLsizei * lengths, GLchar * messageLog); -// typedef GLuint (APIENTRYP GPGETDEBUGMESSAGELOGAMD)(GLuint count, GLsizei bufsize, GLenum * categories, GLuint * severities, GLuint * ids, GLsizei * lengths, GLchar * message); -// typedef GLuint (APIENTRYP GPGETDEBUGMESSAGELOGARB)(GLuint count, GLsizei bufSize, GLenum * sources, GLenum * types, GLuint * ids, GLenum * severities, GLsizei * lengths, GLchar * messageLog); -// typedef GLuint (APIENTRYP GPGETDEBUGMESSAGELOGKHR)(GLuint count, GLsizei bufSize, GLenum * sources, GLenum * types, GLuint * ids, GLenum * severities, GLsizei * lengths, GLchar * messageLog); -// typedef void (APIENTRYP GPGETDETAILTEXFUNCSGIS)(GLenum target, GLfloat * points); -// typedef void (APIENTRYP GPGETDOUBLEINDEXEDVEXT)(GLenum target, GLuint index, GLdouble * data); // typedef void (APIENTRYP GPGETDOUBLEI_V)(GLenum target, GLuint index, GLdouble * data); // typedef void (APIENTRYP GPGETDOUBLEI_VEXT)(GLenum pname, GLuint index, GLdouble * params); -// typedef void (APIENTRYP GPGETDOUBLEV)(GLenum pname, GLdouble * data); // typedef GLenum (APIENTRYP GPGETERROR)(); -// typedef void (APIENTRYP GPGETFENCEIVNV)(GLuint fence, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETFINALCOMBINERINPUTPARAMETERFVNV)(GLenum variable, GLenum pname, GLfloat * params); -// typedef void (APIENTRYP GPGETFINALCOMBINERINPUTPARAMETERIVNV)(GLenum variable, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETFIRSTPERFQUERYIDINTEL)(GLuint * queryId); -// typedef void (APIENTRYP GPGETFIXEDVOES)(GLenum pname, GLfixed * params); -// typedef void (APIENTRYP GPGETFLOATINDEXEDVEXT)(GLenum target, GLuint index, GLfloat * data); // typedef void (APIENTRYP GPGETFLOATI_V)(GLenum target, GLuint index, GLfloat * data); // typedef void (APIENTRYP GPGETFLOATI_VEXT)(GLenum pname, GLuint index, GLfloat * params); -// typedef void (APIENTRYP GPGETFLOATV)(GLenum pname, GLfloat * data); -// typedef void (APIENTRYP GPGETFOGFUNCSGIS)(GLfloat * points); -// typedef GLint (APIENTRYP GPGETFRAGDATAINDEX)(GLuint program, const GLchar * name); -// typedef GLint (APIENTRYP GPGETFRAGDATALOCATIONEXT)(GLuint program, const GLchar * name); -// typedef void (APIENTRYP GPGETFRAGMENTLIGHTFVSGIX)(GLenum light, GLenum pname, GLfloat * params); -// typedef void (APIENTRYP GPGETFRAGMENTLIGHTIVSGIX)(GLenum light, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETFRAGMENTMATERIALFVSGIX)(GLenum face, GLenum pname, GLfloat * params); -// typedef void (APIENTRYP GPGETFRAGMENTMATERIALIVSGIX)(GLenum face, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETFRAMEBUFFERATTACHMENTPARAMETERIV)(GLenum target, GLenum attachment, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETFRAMEBUFFERATTACHMENTPARAMETERIVEXT)(GLenum target, GLenum attachment, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETFRAMEBUFFERPARAMETERFVAMD)(GLenum target, GLenum pname, GLuint numsamples, GLuint pixelindex, GLsizei size, GLfloat * values); -// typedef void (APIENTRYP GPGETFRAMEBUFFERPARAMETERIV)(GLenum target, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETFRAMEBUFFERPARAMETERIVEXT)(GLuint framebuffer, GLenum pname, GLint * params); -// typedef GLenum (APIENTRYP GPGETGRAPHICSRESETSTATUS)(); -// typedef GLenum (APIENTRYP GPGETGRAPHICSRESETSTATUSARB)(); -// typedef GLenum (APIENTRYP GPGETGRAPHICSRESETSTATUSKHR)(); -// typedef GLhandleARB (APIENTRYP GPGETHANDLEARB)(GLenum pname); -// typedef void (APIENTRYP GPGETHISTOGRAMEXT)(GLenum target, GLboolean reset, GLenum format, GLenum type, void * values); -// typedef void (APIENTRYP GPGETHISTOGRAMPARAMETERFVEXT)(GLenum target, GLenum pname, GLfloat * params); -// typedef void (APIENTRYP GPGETHISTOGRAMPARAMETERIVEXT)(GLenum target, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETHISTOGRAMPARAMETERXVOES)(GLenum target, GLenum pname, GLfixed * params); -// typedef GLuint64 (APIENTRYP GPGETIMAGEHANDLEARB)(GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format); -// typedef GLuint64 (APIENTRYP GPGETIMAGEHANDLENV)(GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format); -// typedef void (APIENTRYP GPGETIMAGETRANSFORMPARAMETERFVHP)(GLenum target, GLenum pname, GLfloat * params); -// typedef void (APIENTRYP GPGETIMAGETRANSFORMPARAMETERIVHP)(GLenum target, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETINFOLOGARB)(GLhandleARB obj, GLsizei maxLength, GLsizei * length, GLcharARB * infoLog); -// typedef GLint (APIENTRYP GPGETINSTRUMENTSSGIX)(); -// typedef void (APIENTRYP GPGETINTEGER64V)(GLenum pname, GLint64 * data); -// typedef void (APIENTRYP GPGETINTEGERINDEXEDVEXT)(GLenum target, GLuint index, GLint * data); // typedef void (APIENTRYP GPGETINTEGERI_V)(GLenum target, GLuint index, GLint * data); // typedef void (APIENTRYP GPGETINTEGERUI64I_VNV)(GLenum value, GLuint index, GLuint64EXT * result); -// typedef void (APIENTRYP GPGETINTEGERUI64VNV)(GLenum value, GLuint64EXT * result); // typedef void (APIENTRYP GPGETINTEGERV)(GLenum pname, GLint * data); -// typedef void (APIENTRYP GPGETINTERNALFORMATSAMPLEIVNV)(GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei bufSize, GLint * params); -// typedef void (APIENTRYP GPGETINTERNALFORMATI64V)(GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 * params); -// typedef void (APIENTRYP GPGETINTERNALFORMATIV)(GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint * params); -// typedef void (APIENTRYP GPGETINVARIANTBOOLEANVEXT)(GLuint id, GLenum value, GLboolean * data); -// typedef void (APIENTRYP GPGETINVARIANTFLOATVEXT)(GLuint id, GLenum value, GLfloat * data); -// typedef void (APIENTRYP GPGETINVARIANTINTEGERVEXT)(GLuint id, GLenum value, GLint * data); -// typedef void (APIENTRYP GPGETLIGHTFV)(GLenum light, GLenum pname, GLfloat * params); -// typedef void (APIENTRYP GPGETLIGHTIV)(GLenum light, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETLIGHTXOES)(GLenum light, GLenum pname, GLfixed * params); -// typedef void (APIENTRYP GPGETLIGHTXVOES)(GLenum light, GLenum pname, GLfixed * params); -// typedef void (APIENTRYP GPGETLISTPARAMETERFVSGIX)(GLuint list, GLenum pname, GLfloat * params); -// typedef void (APIENTRYP GPGETLISTPARAMETERIVSGIX)(GLuint list, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETLOCALCONSTANTBOOLEANVEXT)(GLuint id, GLenum value, GLboolean * data); -// typedef void (APIENTRYP GPGETLOCALCONSTANTFLOATVEXT)(GLuint id, GLenum value, GLfloat * data); -// typedef void (APIENTRYP GPGETLOCALCONSTANTINTEGERVEXT)(GLuint id, GLenum value, GLint * data); -// typedef void (APIENTRYP GPGETMAPATTRIBPARAMETERFVNV)(GLenum target, GLuint index, GLenum pname, GLfloat * params); -// typedef void (APIENTRYP GPGETMAPATTRIBPARAMETERIVNV)(GLenum target, GLuint index, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETMAPCONTROLPOINTSNV)(GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, void * points); -// typedef void (APIENTRYP GPGETMAPPARAMETERFVNV)(GLenum target, GLenum pname, GLfloat * params); -// typedef void (APIENTRYP GPGETMAPPARAMETERIVNV)(GLenum target, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETMAPDV)(GLenum target, GLenum query, GLdouble * v); -// typedef void (APIENTRYP GPGETMAPFV)(GLenum target, GLenum query, GLfloat * v); -// typedef void (APIENTRYP GPGETMAPIV)(GLenum target, GLenum query, GLint * v); -// typedef void (APIENTRYP GPGETMAPXVOES)(GLenum target, GLenum query, GLfixed * v); -// typedef void (APIENTRYP GPGETMATERIALFV)(GLenum face, GLenum pname, GLfloat * params); -// typedef void (APIENTRYP GPGETMATERIALIV)(GLenum face, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETMATERIALXOES)(GLenum face, GLenum pname, GLfixed param); -// typedef void (APIENTRYP GPGETMATERIALXVOES)(GLenum face, GLenum pname, GLfixed * params); -// typedef void (APIENTRYP GPGETMEMORYOBJECTPARAMETERIVEXT)(GLuint memoryObject, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETMINMAXEXT)(GLenum target, GLboolean reset, GLenum format, GLenum type, void * values); -// typedef void (APIENTRYP GPGETMINMAXPARAMETERFVEXT)(GLenum target, GLenum pname, GLfloat * params); -// typedef void (APIENTRYP GPGETMINMAXPARAMETERIVEXT)(GLenum target, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETMULTITEXENVFVEXT)(GLenum texunit, GLenum target, GLenum pname, GLfloat * params); -// typedef void (APIENTRYP GPGETMULTITEXENVIVEXT)(GLenum texunit, GLenum target, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETMULTITEXGENDVEXT)(GLenum texunit, GLenum coord, GLenum pname, GLdouble * params); -// typedef void (APIENTRYP GPGETMULTITEXGENFVEXT)(GLenum texunit, GLenum coord, GLenum pname, GLfloat * params); -// typedef void (APIENTRYP GPGETMULTITEXGENIVEXT)(GLenum texunit, GLenum coord, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETMULTITEXIMAGEEXT)(GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, void * pixels); -// typedef void (APIENTRYP GPGETMULTITEXLEVELPARAMETERFVEXT)(GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat * params); -// typedef void (APIENTRYP GPGETMULTITEXLEVELPARAMETERIVEXT)(GLenum texunit, GLenum target, GLint level, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETMULTITEXPARAMETERIIVEXT)(GLenum texunit, GLenum target, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETMULTITEXPARAMETERIUIVEXT)(GLenum texunit, GLenum target, GLenum pname, GLuint * params); -// typedef void (APIENTRYP GPGETMULTITEXPARAMETERFVEXT)(GLenum texunit, GLenum target, GLenum pname, GLfloat * params); -// typedef void (APIENTRYP GPGETMULTITEXPARAMETERIVEXT)(GLenum texunit, GLenum target, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETMULTISAMPLEFV)(GLenum pname, GLuint index, GLfloat * val); -// typedef void (APIENTRYP GPGETMULTISAMPLEFVNV)(GLenum pname, GLuint index, GLfloat * val); -// typedef void (APIENTRYP GPGETNAMEDBUFFERPARAMETERI64V)(GLuint buffer, GLenum pname, GLint64 * params); -// typedef void (APIENTRYP GPGETNAMEDBUFFERPARAMETERIV)(GLuint buffer, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETNAMEDBUFFERPARAMETERIVEXT)(GLuint buffer, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETNAMEDBUFFERPARAMETERUI64VNV)(GLuint buffer, GLenum pname, GLuint64EXT * params); -// typedef void (APIENTRYP GPGETNAMEDBUFFERPOINTERV)(GLuint buffer, GLenum pname, void ** params); -// typedef void (APIENTRYP GPGETNAMEDBUFFERPOINTERVEXT)(GLuint buffer, GLenum pname, void ** params); -// typedef void (APIENTRYP GPGETNAMEDBUFFERSUBDATA)(GLuint buffer, GLintptr offset, GLsizeiptr size, void * data); -// typedef void (APIENTRYP GPGETNAMEDBUFFERSUBDATAEXT)(GLuint buffer, GLintptr offset, GLsizeiptr size, void * data); -// typedef void (APIENTRYP GPGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIV)(GLuint framebuffer, GLenum attachment, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVEXT)(GLuint framebuffer, GLenum attachment, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETNAMEDFRAMEBUFFERPARAMETERFVAMD)(GLuint framebuffer, GLenum pname, GLuint numsamples, GLuint pixelindex, GLsizei size, GLfloat * values); -// typedef void (APIENTRYP GPGETNAMEDFRAMEBUFFERPARAMETERIV)(GLuint framebuffer, GLenum pname, GLint * param); -// typedef void (APIENTRYP GPGETNAMEDFRAMEBUFFERPARAMETERIVEXT)(GLuint framebuffer, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETNAMEDPROGRAMLOCALPARAMETERIIVEXT)(GLuint program, GLenum target, GLuint index, GLint * params); -// typedef void (APIENTRYP GPGETNAMEDPROGRAMLOCALPARAMETERIUIVEXT)(GLuint program, GLenum target, GLuint index, GLuint * params); -// typedef void (APIENTRYP GPGETNAMEDPROGRAMLOCALPARAMETERDVEXT)(GLuint program, GLenum target, GLuint index, GLdouble * params); -// typedef void (APIENTRYP GPGETNAMEDPROGRAMLOCALPARAMETERFVEXT)(GLuint program, GLenum target, GLuint index, GLfloat * params); -// typedef void (APIENTRYP GPGETNAMEDPROGRAMSTRINGEXT)(GLuint program, GLenum target, GLenum pname, void * string); -// typedef void (APIENTRYP GPGETNAMEDPROGRAMIVEXT)(GLuint program, GLenum target, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETNAMEDRENDERBUFFERPARAMETERIV)(GLuint renderbuffer, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETNAMEDRENDERBUFFERPARAMETERIVEXT)(GLuint renderbuffer, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETNAMEDSTRINGARB)(GLint namelen, const GLchar * name, GLsizei bufSize, GLint * stringlen, GLchar * string); -// typedef void (APIENTRYP GPGETNAMEDSTRINGIVARB)(GLint namelen, const GLchar * name, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETNEXTPERFQUERYIDINTEL)(GLuint queryId, GLuint * nextQueryId); -// typedef void (APIENTRYP GPGETOBJECTBUFFERFVATI)(GLuint buffer, GLenum pname, GLfloat * params); -// typedef void (APIENTRYP GPGETOBJECTBUFFERIVATI)(GLuint buffer, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETOBJECTLABEL)(GLenum identifier, GLuint name, GLsizei bufSize, GLsizei * length, GLchar * label); -// typedef void (APIENTRYP GPGETOBJECTLABELEXT)(GLenum type, GLuint object, GLsizei bufSize, GLsizei * length, GLchar * label); -// typedef void (APIENTRYP GPGETOBJECTLABELKHR)(GLenum identifier, GLuint name, GLsizei bufSize, GLsizei * length, GLchar * label); -// typedef void (APIENTRYP GPGETOBJECTPARAMETERFVARB)(GLhandleARB obj, GLenum pname, GLfloat * params); -// typedef void (APIENTRYP GPGETOBJECTPARAMETERIVAPPLE)(GLenum objectType, GLuint name, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETOBJECTPARAMETERIVARB)(GLhandleARB obj, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETOBJECTPTRLABEL)(const void * ptr, GLsizei bufSize, GLsizei * length, GLchar * label); -// typedef void (APIENTRYP GPGETOBJECTPTRLABELKHR)(const void * ptr, GLsizei bufSize, GLsizei * length, GLchar * label); -// typedef void (APIENTRYP GPGETOCCLUSIONQUERYIVNV)(GLuint id, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETOCCLUSIONQUERYUIVNV)(GLuint id, GLenum pname, GLuint * params); -// typedef void (APIENTRYP GPGETPATHCOMMANDSNV)(GLuint path, GLubyte * commands); -// typedef void (APIENTRYP GPGETPATHCOORDSNV)(GLuint path, GLfloat * coords); -// typedef void (APIENTRYP GPGETPATHDASHARRAYNV)(GLuint path, GLfloat * dashArray); -// typedef GLfloat (APIENTRYP GPGETPATHLENGTHNV)(GLuint path, GLsizei startSegment, GLsizei numSegments); -// typedef void (APIENTRYP GPGETPATHMETRICRANGENV)(GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat * metrics); -// typedef void (APIENTRYP GPGETPATHMETRICSNV)(GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLsizei stride, GLfloat * metrics); -// typedef void (APIENTRYP GPGETPATHPARAMETERFVNV)(GLuint path, GLenum pname, GLfloat * value); -// typedef void (APIENTRYP GPGETPATHPARAMETERIVNV)(GLuint path, GLenum pname, GLint * value); -// typedef void (APIENTRYP GPGETPATHSPACINGNV)(GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat * returnedSpacing); -// typedef void (APIENTRYP GPGETPERFCOUNTERINFOINTEL)(GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar * counterName, GLuint counterDescLength, GLchar * counterDesc, GLuint * counterOffset, GLuint * counterDataSize, GLuint * counterTypeEnum, GLuint * counterDataTypeEnum, GLuint64 * rawCounterMaxValue); -// typedef void (APIENTRYP GPGETPERFMONITORCOUNTERDATAAMD)(GLuint monitor, GLenum pname, GLsizei dataSize, GLuint * data, GLint * bytesWritten); -// typedef void (APIENTRYP GPGETPERFMONITORCOUNTERINFOAMD)(GLuint group, GLuint counter, GLenum pname, void * data); -// typedef void (APIENTRYP GPGETPERFMONITORCOUNTERSTRINGAMD)(GLuint group, GLuint counter, GLsizei bufSize, GLsizei * length, GLchar * counterString); -// typedef void (APIENTRYP GPGETPERFMONITORCOUNTERSAMD)(GLuint group, GLint * numCounters, GLint * maxActiveCounters, GLsizei counterSize, GLuint * counters); -// typedef void (APIENTRYP GPGETPERFMONITORGROUPSTRINGAMD)(GLuint group, GLsizei bufSize, GLsizei * length, GLchar * groupString); -// typedef void (APIENTRYP GPGETPERFMONITORGROUPSAMD)(GLint * numGroups, GLsizei groupsSize, GLuint * groups); -// typedef void (APIENTRYP GPGETPERFQUERYDATAINTEL)(GLuint queryHandle, GLuint flags, GLsizei dataSize, void * data, GLuint * bytesWritten); -// typedef void (APIENTRYP GPGETPERFQUERYIDBYNAMEINTEL)(GLchar * queryName, GLuint * queryId); -// typedef void (APIENTRYP GPGETPERFQUERYINFOINTEL)(GLuint queryId, GLuint queryNameLength, GLchar * queryName, GLuint * dataSize, GLuint * noCounters, GLuint * noInstances, GLuint * capsMask); -// typedef void (APIENTRYP GPGETPIXELMAPFV)(GLenum map, GLfloat * values); -// typedef void (APIENTRYP GPGETPIXELMAPUIV)(GLenum map, GLuint * values); -// typedef void (APIENTRYP GPGETPIXELMAPUSV)(GLenum map, GLushort * values); -// typedef void (APIENTRYP GPGETPIXELMAPXV)(GLenum map, GLint size, GLfixed * values); -// typedef void (APIENTRYP GPGETPIXELTEXGENPARAMETERFVSGIS)(GLenum pname, GLfloat * params); -// typedef void (APIENTRYP GPGETPIXELTEXGENPARAMETERIVSGIS)(GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETPIXELTRANSFORMPARAMETERFVEXT)(GLenum target, GLenum pname, GLfloat * params); -// typedef void (APIENTRYP GPGETPIXELTRANSFORMPARAMETERIVEXT)(GLenum target, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETPOINTERINDEXEDVEXT)(GLenum target, GLuint index, void ** data); // typedef void (APIENTRYP GPGETPOINTERI_VEXT)(GLenum pname, GLuint index, void ** params); -// typedef void (APIENTRYP GPGETPOINTERV)(GLenum pname, void ** params); -// typedef void (APIENTRYP GPGETPOINTERVEXT)(GLenum pname, void ** params); -// typedef void (APIENTRYP GPGETPOINTERVKHR)(GLenum pname, void ** params); -// typedef void (APIENTRYP GPGETPOLYGONSTIPPLE)(GLubyte * mask); -// typedef void (APIENTRYP GPGETPROGRAMBINARY)(GLuint program, GLsizei bufSize, GLsizei * length, GLenum * binaryFormat, void * binary); -// typedef void (APIENTRYP GPGETPROGRAMENVPARAMETERIIVNV)(GLenum target, GLuint index, GLint * params); -// typedef void (APIENTRYP GPGETPROGRAMENVPARAMETERIUIVNV)(GLenum target, GLuint index, GLuint * params); -// typedef void (APIENTRYP GPGETPROGRAMENVPARAMETERDVARB)(GLenum target, GLuint index, GLdouble * params); -// typedef void (APIENTRYP GPGETPROGRAMENVPARAMETERFVARB)(GLenum target, GLuint index, GLfloat * params); -// typedef void (APIENTRYP GPGETPROGRAMINFOLOG)(GLuint program, GLsizei bufSize, GLsizei * length, GLchar * infoLog); -// typedef void (APIENTRYP GPGETPROGRAMINTERFACEIV)(GLuint program, GLenum programInterface, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETPROGRAMLOCALPARAMETERIIVNV)(GLenum target, GLuint index, GLint * params); -// typedef void (APIENTRYP GPGETPROGRAMLOCALPARAMETERIUIVNV)(GLenum target, GLuint index, GLuint * params); -// typedef void (APIENTRYP GPGETPROGRAMLOCALPARAMETERDVARB)(GLenum target, GLuint index, GLdouble * params); -// typedef void (APIENTRYP GPGETPROGRAMLOCALPARAMETERFVARB)(GLenum target, GLuint index, GLfloat * params); -// typedef void (APIENTRYP GPGETPROGRAMNAMEDPARAMETERDVNV)(GLuint id, GLsizei len, const GLubyte * name, GLdouble * params); -// typedef void (APIENTRYP GPGETPROGRAMNAMEDPARAMETERFVNV)(GLuint id, GLsizei len, const GLubyte * name, GLfloat * params); -// typedef void (APIENTRYP GPGETPROGRAMPARAMETERDVNV)(GLenum target, GLuint index, GLenum pname, GLdouble * params); -// typedef void (APIENTRYP GPGETPROGRAMPARAMETERFVNV)(GLenum target, GLuint index, GLenum pname, GLfloat * params); -// typedef void (APIENTRYP GPGETPROGRAMPIPELINEINFOLOG)(GLuint pipeline, GLsizei bufSize, GLsizei * length, GLchar * infoLog); -// typedef void (APIENTRYP GPGETPROGRAMPIPELINEINFOLOGEXT)(GLuint pipeline, GLsizei bufSize, GLsizei * length, GLchar * infoLog); -// typedef void (APIENTRYP GPGETPROGRAMPIPELINEIV)(GLuint pipeline, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETPROGRAMPIPELINEIVEXT)(GLuint pipeline, GLenum pname, GLint * params); -// typedef GLuint (APIENTRYP GPGETPROGRAMRESOURCEINDEX)(GLuint program, GLenum programInterface, const GLchar * name); -// typedef GLint (APIENTRYP GPGETPROGRAMRESOURCELOCATION)(GLuint program, GLenum programInterface, const GLchar * name); -// typedef GLint (APIENTRYP GPGETPROGRAMRESOURCELOCATIONINDEX)(GLuint program, GLenum programInterface, const GLchar * name); -// typedef void (APIENTRYP GPGETPROGRAMRESOURCENAME)(GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei * length, GLchar * name); -// typedef void (APIENTRYP GPGETPROGRAMRESOURCEFVNV)(GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum * props, GLsizei bufSize, GLsizei * length, GLfloat * params); -// typedef void (APIENTRYP GPGETPROGRAMRESOURCEIV)(GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum * props, GLsizei bufSize, GLsizei * length, GLint * params); -// typedef void (APIENTRYP GPGETPROGRAMSTAGEIV)(GLuint program, GLenum shadertype, GLenum pname, GLint * values); -// typedef void (APIENTRYP GPGETPROGRAMSTRINGARB)(GLenum target, GLenum pname, void * string); -// typedef void (APIENTRYP GPGETPROGRAMSTRINGNV)(GLuint id, GLenum pname, GLubyte * program); -// typedef void (APIENTRYP GPGETPROGRAMSUBROUTINEPARAMETERUIVNV)(GLenum target, GLuint index, GLuint * param); // typedef void (APIENTRYP GPGETPROGRAMIV)(GLuint program, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETPROGRAMIVARB)(GLenum target, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETPROGRAMIVNV)(GLuint id, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETQUERYBUFFEROBJECTI64V)(GLuint id, GLuint buffer, GLenum pname, GLintptr offset); -// typedef void (APIENTRYP GPGETQUERYBUFFEROBJECTIV)(GLuint id, GLuint buffer, GLenum pname, GLintptr offset); -// typedef void (APIENTRYP GPGETQUERYBUFFEROBJECTUI64V)(GLuint id, GLuint buffer, GLenum pname, GLintptr offset); -// typedef void (APIENTRYP GPGETQUERYBUFFEROBJECTUIV)(GLuint id, GLuint buffer, GLenum pname, GLintptr offset); -// typedef void (APIENTRYP GPGETQUERYINDEXEDIV)(GLenum target, GLuint index, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETQUERYOBJECTI64V)(GLuint id, GLenum pname, GLint64 * params); -// typedef void (APIENTRYP GPGETQUERYOBJECTI64VEXT)(GLuint id, GLenum pname, GLint64 * params); -// typedef void (APIENTRYP GPGETQUERYOBJECTIV)(GLuint id, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETQUERYOBJECTIVARB)(GLuint id, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETQUERYOBJECTUI64V)(GLuint id, GLenum pname, GLuint64 * params); -// typedef void (APIENTRYP GPGETQUERYOBJECTUI64VEXT)(GLuint id, GLenum pname, GLuint64 * params); -// typedef void (APIENTRYP GPGETQUERYOBJECTUIV)(GLuint id, GLenum pname, GLuint * params); -// typedef void (APIENTRYP GPGETQUERYOBJECTUIVARB)(GLuint id, GLenum pname, GLuint * params); -// typedef void (APIENTRYP GPGETQUERYIV)(GLenum target, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETQUERYIVARB)(GLenum target, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETRENDERBUFFERPARAMETERIV)(GLenum target, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETRENDERBUFFERPARAMETERIVEXT)(GLenum target, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETSAMPLERPARAMETERIIV)(GLuint sampler, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETSAMPLERPARAMETERIUIV)(GLuint sampler, GLenum pname, GLuint * params); -// typedef void (APIENTRYP GPGETSAMPLERPARAMETERFV)(GLuint sampler, GLenum pname, GLfloat * params); -// typedef void (APIENTRYP GPGETSAMPLERPARAMETERIV)(GLuint sampler, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETSEMAPHOREPARAMETERUI64VEXT)(GLuint semaphore, GLenum pname, GLuint64 * params); -// typedef void (APIENTRYP GPGETSEPARABLEFILTEREXT)(GLenum target, GLenum format, GLenum type, void * row, void * column, void * span); // typedef void (APIENTRYP GPGETSHADERINFOLOG)(GLuint shader, GLsizei bufSize, GLsizei * length, GLchar * infoLog); -// typedef void (APIENTRYP GPGETSHADERPRECISIONFORMAT)(GLenum shadertype, GLenum precisiontype, GLint * range, GLint * precision); -// typedef void (APIENTRYP GPGETSHADERSOURCE)(GLuint shader, GLsizei bufSize, GLsizei * length, GLchar * source); -// typedef void (APIENTRYP GPGETSHADERSOURCEARB)(GLhandleARB obj, GLsizei maxLength, GLsizei * length, GLcharARB * source); // typedef void (APIENTRYP GPGETSHADERIV)(GLuint shader, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETSHARPENTEXFUNCSGIS)(GLenum target, GLfloat * points); -// typedef GLushort (APIENTRYP GPGETSTAGEINDEXNV)(GLenum shadertype); -// typedef const GLubyte * (APIENTRYP GPGETSTRING)(GLenum name); -// typedef GLuint (APIENTRYP GPGETSUBROUTINEINDEX)(GLuint program, GLenum shadertype, const GLchar * name); -// typedef GLint (APIENTRYP GPGETSUBROUTINEUNIFORMLOCATION)(GLuint program, GLenum shadertype, const GLchar * name); -// typedef void (APIENTRYP GPGETSYNCIV)(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * values); -// typedef void (APIENTRYP GPGETTEXBUMPPARAMETERFVATI)(GLenum pname, GLfloat * param); -// typedef void (APIENTRYP GPGETTEXBUMPPARAMETERIVATI)(GLenum pname, GLint * param); -// typedef void (APIENTRYP GPGETTEXENVFV)(GLenum target, GLenum pname, GLfloat * params); -// typedef void (APIENTRYP GPGETTEXENVIV)(GLenum target, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETTEXENVXVOES)(GLenum target, GLenum pname, GLfixed * params); -// typedef void (APIENTRYP GPGETTEXFILTERFUNCSGIS)(GLenum target, GLenum filter, GLfloat * weights); -// typedef void (APIENTRYP GPGETTEXGENDV)(GLenum coord, GLenum pname, GLdouble * params); -// typedef void (APIENTRYP GPGETTEXGENFV)(GLenum coord, GLenum pname, GLfloat * params); -// typedef void (APIENTRYP GPGETTEXGENIV)(GLenum coord, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETTEXGENXVOES)(GLenum coord, GLenum pname, GLfixed * params); -// typedef void (APIENTRYP GPGETTEXIMAGE)(GLenum target, GLint level, GLenum format, GLenum type, void * pixels); -// typedef void (APIENTRYP GPGETTEXLEVELPARAMETERFV)(GLenum target, GLint level, GLenum pname, GLfloat * params); -// typedef void (APIENTRYP GPGETTEXLEVELPARAMETERIV)(GLenum target, GLint level, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETTEXLEVELPARAMETERXVOES)(GLenum target, GLint level, GLenum pname, GLfixed * params); -// typedef void (APIENTRYP GPGETTEXPARAMETERIIVEXT)(GLenum target, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETTEXPARAMETERIUIVEXT)(GLenum target, GLenum pname, GLuint * params); -// typedef void (APIENTRYP GPGETTEXPARAMETERPOINTERVAPPLE)(GLenum target, GLenum pname, void ** params); -// typedef void (APIENTRYP GPGETTEXPARAMETERFV)(GLenum target, GLenum pname, GLfloat * params); -// typedef void (APIENTRYP GPGETTEXPARAMETERIV)(GLenum target, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETTEXPARAMETERXVOES)(GLenum target, GLenum pname, GLfixed * params); -// typedef GLuint64 (APIENTRYP GPGETTEXTUREHANDLEARB)(GLuint texture); -// typedef GLuint64 (APIENTRYP GPGETTEXTUREHANDLENV)(GLuint texture); -// typedef void (APIENTRYP GPGETTEXTUREIMAGE)(GLuint texture, GLint level, GLenum format, GLenum type, GLsizei bufSize, void * pixels); -// typedef void (APIENTRYP GPGETTEXTUREIMAGEEXT)(GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, void * pixels); -// typedef void (APIENTRYP GPGETTEXTURELEVELPARAMETERFV)(GLuint texture, GLint level, GLenum pname, GLfloat * params); -// typedef void (APIENTRYP GPGETTEXTURELEVELPARAMETERFVEXT)(GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat * params); -// typedef void (APIENTRYP GPGETTEXTURELEVELPARAMETERIV)(GLuint texture, GLint level, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETTEXTURELEVELPARAMETERIVEXT)(GLuint texture, GLenum target, GLint level, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETTEXTUREPARAMETERIIV)(GLuint texture, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETTEXTUREPARAMETERIIVEXT)(GLuint texture, GLenum target, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETTEXTUREPARAMETERIUIV)(GLuint texture, GLenum pname, GLuint * params); -// typedef void (APIENTRYP GPGETTEXTUREPARAMETERIUIVEXT)(GLuint texture, GLenum target, GLenum pname, GLuint * params); -// typedef void (APIENTRYP GPGETTEXTUREPARAMETERFV)(GLuint texture, GLenum pname, GLfloat * params); -// typedef void (APIENTRYP GPGETTEXTUREPARAMETERFVEXT)(GLuint texture, GLenum target, GLenum pname, GLfloat * params); -// typedef void (APIENTRYP GPGETTEXTUREPARAMETERIV)(GLuint texture, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETTEXTUREPARAMETERIVEXT)(GLuint texture, GLenum target, GLenum pname, GLint * params); -// typedef GLuint64 (APIENTRYP GPGETTEXTURESAMPLERHANDLEARB)(GLuint texture, GLuint sampler); -// typedef GLuint64 (APIENTRYP GPGETTEXTURESAMPLERHANDLENV)(GLuint texture, GLuint sampler); -// typedef void (APIENTRYP GPGETTEXTURESUBIMAGE)(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei bufSize, void * pixels); -// typedef void (APIENTRYP GPGETTRACKMATRIXIVNV)(GLenum target, GLuint address, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETTRANSFORMFEEDBACKVARYINGEXT)(GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLsizei * size, GLenum * type, GLchar * name); -// typedef void (APIENTRYP GPGETTRANSFORMFEEDBACKVARYINGNV)(GLuint program, GLuint index, GLint * location); // typedef void (APIENTRYP GPGETTRANSFORMFEEDBACKI64_V)(GLuint xfb, GLenum pname, GLuint index, GLint64 * param); // typedef void (APIENTRYP GPGETTRANSFORMFEEDBACKI_V)(GLuint xfb, GLenum pname, GLuint index, GLint * param); -// typedef void (APIENTRYP GPGETTRANSFORMFEEDBACKIV)(GLuint xfb, GLenum pname, GLint * param); -// typedef GLuint (APIENTRYP GPGETUNIFORMBLOCKINDEX)(GLuint program, const GLchar * uniformBlockName); -// typedef GLint (APIENTRYP GPGETUNIFORMBUFFERSIZEEXT)(GLuint program, GLint location); -// typedef void (APIENTRYP GPGETUNIFORMINDICES)(GLuint program, GLsizei uniformCount, const GLchar *const* uniformNames, GLuint * uniformIndices); // typedef GLint (APIENTRYP GPGETUNIFORMLOCATION)(GLuint program, const GLchar * name); -// typedef GLint (APIENTRYP GPGETUNIFORMLOCATIONARB)(GLhandleARB programObj, const GLcharARB * name); -// typedef GLintptr (APIENTRYP GPGETUNIFORMOFFSETEXT)(GLuint program, GLint location); -// typedef void (APIENTRYP GPGETUNIFORMSUBROUTINEUIV)(GLenum shadertype, GLint location, GLuint * params); -// typedef void (APIENTRYP GPGETUNIFORMDV)(GLuint program, GLint location, GLdouble * params); -// typedef void (APIENTRYP GPGETUNIFORMFV)(GLuint program, GLint location, GLfloat * params); -// typedef void (APIENTRYP GPGETUNIFORMFVARB)(GLhandleARB programObj, GLint location, GLfloat * params); -// typedef void (APIENTRYP GPGETUNIFORMI64VARB)(GLuint program, GLint location, GLint64 * params); -// typedef void (APIENTRYP GPGETUNIFORMI64VNV)(GLuint program, GLint location, GLint64EXT * params); -// typedef void (APIENTRYP GPGETUNIFORMIV)(GLuint program, GLint location, GLint * params); -// typedef void (APIENTRYP GPGETUNIFORMIVARB)(GLhandleARB programObj, GLint location, GLint * params); -// typedef void (APIENTRYP GPGETUNIFORMUI64VARB)(GLuint program, GLint location, GLuint64 * params); -// typedef void (APIENTRYP GPGETUNIFORMUI64VNV)(GLuint program, GLint location, GLuint64EXT * params); -// typedef void (APIENTRYP GPGETUNIFORMUIVEXT)(GLuint program, GLint location, GLuint * params); // typedef void (APIENTRYP GPGETUNSIGNEDBYTEI_VEXT)(GLenum target, GLuint index, GLubyte * data); -// typedef void (APIENTRYP GPGETUNSIGNEDBYTEVEXT)(GLenum pname, GLubyte * data); -// typedef void (APIENTRYP GPGETVARIANTARRAYOBJECTFVATI)(GLuint id, GLenum pname, GLfloat * params); -// typedef void (APIENTRYP GPGETVARIANTARRAYOBJECTIVATI)(GLuint id, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETVARIANTBOOLEANVEXT)(GLuint id, GLenum value, GLboolean * data); -// typedef void (APIENTRYP GPGETVARIANTFLOATVEXT)(GLuint id, GLenum value, GLfloat * data); -// typedef void (APIENTRYP GPGETVARIANTINTEGERVEXT)(GLuint id, GLenum value, GLint * data); -// typedef void (APIENTRYP GPGETVARIANTPOINTERVEXT)(GLuint id, GLenum value, void ** data); -// typedef GLint (APIENTRYP GPGETVARYINGLOCATIONNV)(GLuint program, const GLchar * name); -// typedef void (APIENTRYP GPGETVERTEXARRAYINDEXED64IV)(GLuint vaobj, GLuint index, GLenum pname, GLint64 * param); -// typedef void (APIENTRYP GPGETVERTEXARRAYINDEXEDIV)(GLuint vaobj, GLuint index, GLenum pname, GLint * param); // typedef void (APIENTRYP GPGETVERTEXARRAYINTEGERI_VEXT)(GLuint vaobj, GLuint index, GLenum pname, GLint * param); -// typedef void (APIENTRYP GPGETVERTEXARRAYINTEGERVEXT)(GLuint vaobj, GLenum pname, GLint * param); // typedef void (APIENTRYP GPGETVERTEXARRAYPOINTERI_VEXT)(GLuint vaobj, GLuint index, GLenum pname, void ** param); -// typedef void (APIENTRYP GPGETVERTEXARRAYPOINTERVEXT)(GLuint vaobj, GLenum pname, void ** param); -// typedef void (APIENTRYP GPGETVERTEXARRAYIV)(GLuint vaobj, GLenum pname, GLint * param); -// typedef void (APIENTRYP GPGETVERTEXATTRIBARRAYOBJECTFVATI)(GLuint index, GLenum pname, GLfloat * params); -// typedef void (APIENTRYP GPGETVERTEXATTRIBARRAYOBJECTIVATI)(GLuint index, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETVERTEXATTRIBIIVEXT)(GLuint index, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETVERTEXATTRIBIUIVEXT)(GLuint index, GLenum pname, GLuint * params); -// typedef void (APIENTRYP GPGETVERTEXATTRIBLDV)(GLuint index, GLenum pname, GLdouble * params); -// typedef void (APIENTRYP GPGETVERTEXATTRIBLDVEXT)(GLuint index, GLenum pname, GLdouble * params); -// typedef void (APIENTRYP GPGETVERTEXATTRIBLI64VNV)(GLuint index, GLenum pname, GLint64EXT * params); -// typedef void (APIENTRYP GPGETVERTEXATTRIBLUI64VARB)(GLuint index, GLenum pname, GLuint64EXT * params); -// typedef void (APIENTRYP GPGETVERTEXATTRIBLUI64VNV)(GLuint index, GLenum pname, GLuint64EXT * params); -// typedef void (APIENTRYP GPGETVERTEXATTRIBPOINTERV)(GLuint index, GLenum pname, void ** pointer); -// typedef void (APIENTRYP GPGETVERTEXATTRIBPOINTERVARB)(GLuint index, GLenum pname, void ** pointer); -// typedef void (APIENTRYP GPGETVERTEXATTRIBPOINTERVNV)(GLuint index, GLenum pname, void ** pointer); -// typedef void (APIENTRYP GPGETVERTEXATTRIBDV)(GLuint index, GLenum pname, GLdouble * params); -// typedef void (APIENTRYP GPGETVERTEXATTRIBDVARB)(GLuint index, GLenum pname, GLdouble * params); -// typedef void (APIENTRYP GPGETVERTEXATTRIBDVNV)(GLuint index, GLenum pname, GLdouble * params); -// typedef void (APIENTRYP GPGETVERTEXATTRIBFV)(GLuint index, GLenum pname, GLfloat * params); -// typedef void (APIENTRYP GPGETVERTEXATTRIBFVARB)(GLuint index, GLenum pname, GLfloat * params); -// typedef void (APIENTRYP GPGETVERTEXATTRIBFVNV)(GLuint index, GLenum pname, GLfloat * params); -// typedef void (APIENTRYP GPGETVERTEXATTRIBIV)(GLuint index, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETVERTEXATTRIBIVARB)(GLuint index, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETVERTEXATTRIBIVNV)(GLuint index, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETVIDEOCAPTURESTREAMDVNV)(GLuint video_capture_slot, GLuint stream, GLenum pname, GLdouble * params); -// typedef void (APIENTRYP GPGETVIDEOCAPTURESTREAMFVNV)(GLuint video_capture_slot, GLuint stream, GLenum pname, GLfloat * params); -// typedef void (APIENTRYP GPGETVIDEOCAPTURESTREAMIVNV)(GLuint video_capture_slot, GLuint stream, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETVIDEOCAPTUREIVNV)(GLuint video_capture_slot, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETVIDEOI64VNV)(GLuint video_slot, GLenum pname, GLint64EXT * params); -// typedef void (APIENTRYP GPGETVIDEOIVNV)(GLuint video_slot, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPGETVIDEOUI64VNV)(GLuint video_slot, GLenum pname, GLuint64EXT * params); -// typedef void (APIENTRYP GPGETVIDEOUIVNV)(GLuint video_slot, GLenum pname, GLuint * params); -// typedef GLVULKANPROCNV (APIENTRYP GPGETVKPROCADDRNV)(const GLchar * name); -// typedef void (APIENTRYP GPGETNCOMPRESSEDTEXIMAGEARB)(GLenum target, GLint lod, GLsizei bufSize, void * img); -// typedef void (APIENTRYP GPGETNTEXIMAGEARB)(GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void * img); -// typedef void (APIENTRYP GPGETNUNIFORMDVARB)(GLuint program, GLint location, GLsizei bufSize, GLdouble * params); -// typedef void (APIENTRYP GPGETNUNIFORMFV)(GLuint program, GLint location, GLsizei bufSize, GLfloat * params); -// typedef void (APIENTRYP GPGETNUNIFORMFVARB)(GLuint program, GLint location, GLsizei bufSize, GLfloat * params); -// typedef void (APIENTRYP GPGETNUNIFORMFVKHR)(GLuint program, GLint location, GLsizei bufSize, GLfloat * params); -// typedef void (APIENTRYP GPGETNUNIFORMI64VARB)(GLuint program, GLint location, GLsizei bufSize, GLint64 * params); -// typedef void (APIENTRYP GPGETNUNIFORMIV)(GLuint program, GLint location, GLsizei bufSize, GLint * params); -// typedef void (APIENTRYP GPGETNUNIFORMIVARB)(GLuint program, GLint location, GLsizei bufSize, GLint * params); -// typedef void (APIENTRYP GPGETNUNIFORMIVKHR)(GLuint program, GLint location, GLsizei bufSize, GLint * params); -// typedef void (APIENTRYP GPGETNUNIFORMUI64VARB)(GLuint program, GLint location, GLsizei bufSize, GLuint64 * params); -// typedef void (APIENTRYP GPGETNUNIFORMUIV)(GLuint program, GLint location, GLsizei bufSize, GLuint * params); -// typedef void (APIENTRYP GPGETNUNIFORMUIVARB)(GLuint program, GLint location, GLsizei bufSize, GLuint * params); -// typedef void (APIENTRYP GPGETNUNIFORMUIVKHR)(GLuint program, GLint location, GLsizei bufSize, GLuint * params); -// typedef void (APIENTRYP GPGLOBALALPHAFACTORBSUN)(GLbyte factor); -// typedef void (APIENTRYP GPGLOBALALPHAFACTORDSUN)(GLdouble factor); -// typedef void (APIENTRYP GPGLOBALALPHAFACTORFSUN)(GLfloat factor); -// typedef void (APIENTRYP GPGLOBALALPHAFACTORISUN)(GLint factor); -// typedef void (APIENTRYP GPGLOBALALPHAFACTORSSUN)(GLshort factor); -// typedef void (APIENTRYP GPGLOBALALPHAFACTORUBSUN)(GLubyte factor); -// typedef void (APIENTRYP GPGLOBALALPHAFACTORUISUN)(GLuint factor); -// typedef void (APIENTRYP GPGLOBALALPHAFACTORUSSUN)(GLushort factor); -// typedef void (APIENTRYP GPHINT)(GLenum target, GLenum mode); -// typedef void (APIENTRYP GPHINTPGI)(GLenum target, GLint mode); -// typedef void (APIENTRYP GPHISTOGRAMEXT)(GLenum target, GLsizei width, GLenum internalformat, GLboolean sink); -// typedef void (APIENTRYP GPIGLOOINTERFACESGIX)(GLenum pname, const void * params); -// typedef void (APIENTRYP GPIMAGETRANSFORMPARAMETERFHP)(GLenum target, GLenum pname, GLfloat param); -// typedef void (APIENTRYP GPIMAGETRANSFORMPARAMETERFVHP)(GLenum target, GLenum pname, const GLfloat * params); -// typedef void (APIENTRYP GPIMAGETRANSFORMPARAMETERIHP)(GLenum target, GLenum pname, GLint param); -// typedef void (APIENTRYP GPIMAGETRANSFORMPARAMETERIVHP)(GLenum target, GLenum pname, const GLint * params); -// typedef void (APIENTRYP GPIMPORTMEMORYFDEXT)(GLuint memory, GLuint64 size, GLenum handleType, GLint fd); -// typedef void (APIENTRYP GPIMPORTMEMORYWIN32HANDLEEXT)(GLuint memory, GLuint64 size, GLenum handleType, void * handle); -// typedef void (APIENTRYP GPIMPORTMEMORYWIN32NAMEEXT)(GLuint memory, GLuint64 size, GLenum handleType, const void * name); -// typedef void (APIENTRYP GPIMPORTSEMAPHOREFDEXT)(GLuint semaphore, GLenum handleType, GLint fd); -// typedef void (APIENTRYP GPIMPORTSEMAPHOREWIN32HANDLEEXT)(GLuint semaphore, GLenum handleType, void * handle); -// typedef void (APIENTRYP GPIMPORTSEMAPHOREWIN32NAMEEXT)(GLuint semaphore, GLenum handleType, const void * name); -// typedef GLsync (APIENTRYP GPIMPORTSYNCEXT)(GLenum external_sync_type, GLintptr external_sync, GLbitfield flags); -// typedef void (APIENTRYP GPINDEXFORMATNV)(GLenum type, GLsizei stride); -// typedef void (APIENTRYP GPINDEXFUNCEXT)(GLenum func, GLclampf ref); -// typedef void (APIENTRYP GPINDEXMASK)(GLuint mask); -// typedef void (APIENTRYP GPINDEXMATERIALEXT)(GLenum face, GLenum mode); -// typedef void (APIENTRYP GPINDEXPOINTER)(GLenum type, GLsizei stride, const void * pointer); -// typedef void (APIENTRYP GPINDEXPOINTEREXT)(GLenum type, GLsizei stride, GLsizei count, const void * pointer); -// typedef void (APIENTRYP GPINDEXPOINTERLISTIBM)(GLenum type, GLint stride, const void ** pointer, GLint ptrstride); -// typedef void (APIENTRYP GPINDEXD)(GLdouble c); -// typedef void (APIENTRYP GPINDEXDV)(const GLdouble * c); -// typedef void (APIENTRYP GPINDEXF)(GLfloat c); -// typedef void (APIENTRYP GPINDEXFV)(const GLfloat * c); -// typedef void (APIENTRYP GPINDEXI)(GLint c); -// typedef void (APIENTRYP GPINDEXIV)(const GLint * c); -// typedef void (APIENTRYP GPINDEXS)(GLshort c); -// typedef void (APIENTRYP GPINDEXSV)(const GLshort * c); -// typedef void (APIENTRYP GPINDEXUB)(GLubyte c); -// typedef void (APIENTRYP GPINDEXUBV)(const GLubyte * c); -// typedef void (APIENTRYP GPINDEXXOES)(GLfixed component); -// typedef void (APIENTRYP GPINDEXXVOES)(const GLfixed * component); -// typedef void (APIENTRYP GPINITNAMES)(); -// typedef void (APIENTRYP GPINSERTCOMPONENTEXT)(GLuint res, GLuint src, GLuint num); -// typedef void (APIENTRYP GPINSERTEVENTMARKEREXT)(GLsizei length, const GLchar * marker); -// typedef void (APIENTRYP GPINSTRUMENTSBUFFERSGIX)(GLsizei size, GLint * buffer); -// typedef void (APIENTRYP GPINTERLEAVEDARRAYS)(GLenum format, GLsizei stride, const void * pointer); -// typedef void (APIENTRYP GPINTERPOLATEPATHSNV)(GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight); -// typedef void (APIENTRYP GPINVALIDATEBUFFERDATA)(GLuint buffer); -// typedef void (APIENTRYP GPINVALIDATEBUFFERSUBDATA)(GLuint buffer, GLintptr offset, GLsizeiptr length); -// typedef void (APIENTRYP GPINVALIDATEFRAMEBUFFER)(GLenum target, GLsizei numAttachments, const GLenum * attachments); -// typedef void (APIENTRYP GPINVALIDATENAMEDFRAMEBUFFERDATA)(GLuint framebuffer, GLsizei numAttachments, const GLenum * attachments); -// typedef void (APIENTRYP GPINVALIDATENAMEDFRAMEBUFFERSUBDATA)(GLuint framebuffer, GLsizei numAttachments, const GLenum * attachments, GLint x, GLint y, GLsizei width, GLsizei height); -// typedef void (APIENTRYP GPINVALIDATESUBFRAMEBUFFER)(GLenum target, GLsizei numAttachments, const GLenum * attachments, GLint x, GLint y, GLsizei width, GLsizei height); -// typedef void (APIENTRYP GPINVALIDATETEXIMAGE)(GLuint texture, GLint level); -// typedef void (APIENTRYP GPINVALIDATETEXSUBIMAGE)(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth); -// typedef GLboolean (APIENTRYP GPISASYNCMARKERSGIX)(GLuint marker); -// typedef GLboolean (APIENTRYP GPISBUFFER)(GLuint buffer); -// typedef GLboolean (APIENTRYP GPISBUFFERARB)(GLuint buffer); -// typedef GLboolean (APIENTRYP GPISBUFFERRESIDENTNV)(GLenum target); -// typedef GLboolean (APIENTRYP GPISCOMMANDLISTNV)(GLuint list); -// typedef GLboolean (APIENTRYP GPISENABLED)(GLenum cap); -// typedef GLboolean (APIENTRYP GPISENABLEDINDEXEDEXT)(GLenum target, GLuint index); -// typedef GLboolean (APIENTRYP GPISFENCEAPPLE)(GLuint fence); -// typedef GLboolean (APIENTRYP GPISFENCENV)(GLuint fence); -// typedef GLboolean (APIENTRYP GPISFRAMEBUFFER)(GLuint framebuffer); // typedef GLboolean (APIENTRYP GPISFRAMEBUFFEREXT)(GLuint framebuffer); -// typedef GLboolean (APIENTRYP GPISIMAGEHANDLERESIDENTARB)(GLuint64 handle); -// typedef GLboolean (APIENTRYP GPISIMAGEHANDLERESIDENTNV)(GLuint64 handle); -// typedef GLboolean (APIENTRYP GPISLIST)(GLuint list); -// typedef GLboolean (APIENTRYP GPISMEMORYOBJECTEXT)(GLuint memoryObject); -// typedef GLboolean (APIENTRYP GPISNAMEAMD)(GLenum identifier, GLuint name); -// typedef GLboolean (APIENTRYP GPISNAMEDBUFFERRESIDENTNV)(GLuint buffer); -// typedef GLboolean (APIENTRYP GPISNAMEDSTRINGARB)(GLint namelen, const GLchar * name); -// typedef GLboolean (APIENTRYP GPISOBJECTBUFFERATI)(GLuint buffer); -// typedef GLboolean (APIENTRYP GPISOCCLUSIONQUERYNV)(GLuint id); -// typedef GLboolean (APIENTRYP GPISPATHNV)(GLuint path); -// typedef GLboolean (APIENTRYP GPISPOINTINFILLPATHNV)(GLuint path, GLuint mask, GLfloat x, GLfloat y); -// typedef GLboolean (APIENTRYP GPISPOINTINSTROKEPATHNV)(GLuint path, GLfloat x, GLfloat y); // typedef GLboolean (APIENTRYP GPISPROGRAM)(GLuint program); -// typedef GLboolean (APIENTRYP GPISPROGRAMARB)(GLuint program); -// typedef GLboolean (APIENTRYP GPISPROGRAMNV)(GLuint id); -// typedef GLboolean (APIENTRYP GPISPROGRAMPIPELINE)(GLuint pipeline); -// typedef GLboolean (APIENTRYP GPISPROGRAMPIPELINEEXT)(GLuint pipeline); -// typedef GLboolean (APIENTRYP GPISQUERY)(GLuint id); -// typedef GLboolean (APIENTRYP GPISQUERYARB)(GLuint id); -// typedef GLboolean (APIENTRYP GPISRENDERBUFFER)(GLuint renderbuffer); -// typedef GLboolean (APIENTRYP GPISRENDERBUFFEREXT)(GLuint renderbuffer); -// typedef GLboolean (APIENTRYP GPISSAMPLER)(GLuint sampler); -// typedef GLboolean (APIENTRYP GPISSEMAPHOREEXT)(GLuint semaphore); -// typedef GLboolean (APIENTRYP GPISSHADER)(GLuint shader); -// typedef GLboolean (APIENTRYP GPISSTATENV)(GLuint state); -// typedef GLboolean (APIENTRYP GPISSYNC)(GLsync sync); // typedef GLboolean (APIENTRYP GPISTEXTURE)(GLuint texture); -// typedef GLboolean (APIENTRYP GPISTEXTUREEXT)(GLuint texture); -// typedef GLboolean (APIENTRYP GPISTEXTUREHANDLERESIDENTARB)(GLuint64 handle); -// typedef GLboolean (APIENTRYP GPISTEXTUREHANDLERESIDENTNV)(GLuint64 handle); -// typedef GLboolean (APIENTRYP GPISTRANSFORMFEEDBACK)(GLuint id); -// typedef GLboolean (APIENTRYP GPISTRANSFORMFEEDBACKNV)(GLuint id); -// typedef GLboolean (APIENTRYP GPISVARIANTENABLEDEXT)(GLuint id, GLenum cap); -// typedef GLboolean (APIENTRYP GPISVERTEXARRAY)(GLuint array); -// typedef GLboolean (APIENTRYP GPISVERTEXARRAYAPPLE)(GLuint array); -// typedef GLboolean (APIENTRYP GPISVERTEXATTRIBENABLEDAPPLE)(GLuint index, GLenum pname); -// typedef void (APIENTRYP GPLGPUCOPYIMAGESUBDATANVX)(GLuint sourceGpu, GLbitfield destinationGpuMask, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srxY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth); -// typedef void (APIENTRYP GPLGPUINTERLOCKNVX)(); -// typedef void (APIENTRYP GPLGPUNAMEDBUFFERSUBDATANVX)(GLbitfield gpuMask, GLuint buffer, GLintptr offset, GLsizeiptr size, const void * data); -// typedef void (APIENTRYP GPLABELOBJECTEXT)(GLenum type, GLuint object, GLsizei length, const GLchar * label); -// typedef void (APIENTRYP GPLIGHTENVISGIX)(GLenum pname, GLint param); -// typedef void (APIENTRYP GPLIGHTMODELF)(GLenum pname, GLfloat param); -// typedef void (APIENTRYP GPLIGHTMODELFV)(GLenum pname, const GLfloat * params); -// typedef void (APIENTRYP GPLIGHTMODELI)(GLenum pname, GLint param); -// typedef void (APIENTRYP GPLIGHTMODELIV)(GLenum pname, const GLint * params); -// typedef void (APIENTRYP GPLIGHTMODELXOES)(GLenum pname, GLfixed param); -// typedef void (APIENTRYP GPLIGHTMODELXVOES)(GLenum pname, const GLfixed * param); -// typedef void (APIENTRYP GPLIGHTF)(GLenum light, GLenum pname, GLfloat param); -// typedef void (APIENTRYP GPLIGHTFV)(GLenum light, GLenum pname, const GLfloat * params); -// typedef void (APIENTRYP GPLIGHTI)(GLenum light, GLenum pname, GLint param); -// typedef void (APIENTRYP GPLIGHTIV)(GLenum light, GLenum pname, const GLint * params); -// typedef void (APIENTRYP GPLIGHTXOES)(GLenum light, GLenum pname, GLfixed param); -// typedef void (APIENTRYP GPLIGHTXVOES)(GLenum light, GLenum pname, const GLfixed * params); -// typedef void (APIENTRYP GPLINESTIPPLE)(GLint factor, GLushort pattern); -// typedef void (APIENTRYP GPLINEWIDTH)(GLfloat width); -// typedef void (APIENTRYP GPLINEWIDTHXOES)(GLfixed width); // typedef void (APIENTRYP GPLINKPROGRAM)(GLuint program); -// typedef void (APIENTRYP GPLINKPROGRAMARB)(GLhandleARB programObj); -// typedef void (APIENTRYP GPLISTBASE)(GLuint base); -// typedef void (APIENTRYP GPLISTDRAWCOMMANDSSTATESCLIENTNV)(GLuint list, GLuint segment, const void ** indirects, const GLsizei * sizes, const GLuint * states, const GLuint * fbos, GLuint count); -// typedef void (APIENTRYP GPLISTPARAMETERFSGIX)(GLuint list, GLenum pname, GLfloat param); -// typedef void (APIENTRYP GPLISTPARAMETERFVSGIX)(GLuint list, GLenum pname, const GLfloat * params); -// typedef void (APIENTRYP GPLISTPARAMETERISGIX)(GLuint list, GLenum pname, GLint param); -// typedef void (APIENTRYP GPLISTPARAMETERIVSGIX)(GLuint list, GLenum pname, const GLint * params); -// typedef void (APIENTRYP GPLOADIDENTITY)(); -// typedef void (APIENTRYP GPLOADIDENTITYDEFORMATIONMAPSGIX)(GLbitfield mask); -// typedef void (APIENTRYP GPLOADMATRIXD)(const GLdouble * m); -// typedef void (APIENTRYP GPLOADMATRIXF)(const GLfloat * m); -// typedef void (APIENTRYP GPLOADMATRIXXOES)(const GLfixed * m); -// typedef void (APIENTRYP GPLOADNAME)(GLuint name); -// typedef void (APIENTRYP GPLOADPROGRAMNV)(GLenum target, GLuint id, GLsizei len, const GLubyte * program); -// typedef void (APIENTRYP GPLOADTRANSPOSEMATRIXD)(const GLdouble * m); -// typedef void (APIENTRYP GPLOADTRANSPOSEMATRIXDARB)(const GLdouble * m); -// typedef void (APIENTRYP GPLOADTRANSPOSEMATRIXF)(const GLfloat * m); -// typedef void (APIENTRYP GPLOADTRANSPOSEMATRIXFARB)(const GLfloat * m); -// typedef void (APIENTRYP GPLOADTRANSPOSEMATRIXXOES)(const GLfixed * m); -// typedef void (APIENTRYP GPLOCKARRAYSEXT)(GLint first, GLsizei count); -// typedef void (APIENTRYP GPLOGICOP)(GLenum opcode); -// typedef void (APIENTRYP GPMAKEBUFFERNONRESIDENTNV)(GLenum target); -// typedef void (APIENTRYP GPMAKEBUFFERRESIDENTNV)(GLenum target, GLenum access); -// typedef void (APIENTRYP GPMAKEIMAGEHANDLENONRESIDENTARB)(GLuint64 handle); -// typedef void (APIENTRYP GPMAKEIMAGEHANDLENONRESIDENTNV)(GLuint64 handle); -// typedef void (APIENTRYP GPMAKEIMAGEHANDLERESIDENTARB)(GLuint64 handle, GLenum access); -// typedef void (APIENTRYP GPMAKEIMAGEHANDLERESIDENTNV)(GLuint64 handle, GLenum access); -// typedef void (APIENTRYP GPMAKENAMEDBUFFERNONRESIDENTNV)(GLuint buffer); -// typedef void (APIENTRYP GPMAKENAMEDBUFFERRESIDENTNV)(GLuint buffer, GLenum access); -// typedef void (APIENTRYP GPMAKETEXTUREHANDLENONRESIDENTARB)(GLuint64 handle); -// typedef void (APIENTRYP GPMAKETEXTUREHANDLENONRESIDENTNV)(GLuint64 handle); -// typedef void (APIENTRYP GPMAKETEXTUREHANDLERESIDENTARB)(GLuint64 handle); -// typedef void (APIENTRYP GPMAKETEXTUREHANDLERESIDENTNV)(GLuint64 handle); -// typedef void (APIENTRYP GPMAP1D)(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble * points); -// typedef void (APIENTRYP GPMAP1F)(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat * points); -// typedef void (APIENTRYP GPMAP1XOES)(GLenum target, GLfixed u1, GLfixed u2, GLint stride, GLint order, GLfixed points); -// typedef void (APIENTRYP GPMAP2D)(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble * points); -// typedef void (APIENTRYP GPMAP2F)(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat * points); -// typedef void (APIENTRYP GPMAP2XOES)(GLenum target, GLfixed u1, GLfixed u2, GLint ustride, GLint uorder, GLfixed v1, GLfixed v2, GLint vstride, GLint vorder, GLfixed points); -// typedef void * (APIENTRYP GPMAPBUFFER)(GLenum target, GLenum access); -// typedef void * (APIENTRYP GPMAPBUFFERARB)(GLenum target, GLenum access); -// typedef void * (APIENTRYP GPMAPBUFFERRANGE)(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); -// typedef void (APIENTRYP GPMAPCONTROLPOINTSNV)(GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const void * points); -// typedef void (APIENTRYP GPMAPGRID1D)(GLint un, GLdouble u1, GLdouble u2); -// typedef void (APIENTRYP GPMAPGRID1F)(GLint un, GLfloat u1, GLfloat u2); -// typedef void (APIENTRYP GPMAPGRID1XOES)(GLint n, GLfixed u1, GLfixed u2); -// typedef void (APIENTRYP GPMAPGRID2D)(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2); -// typedef void (APIENTRYP GPMAPGRID2F)(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2); -// typedef void (APIENTRYP GPMAPGRID2XOES)(GLint n, GLfixed u1, GLfixed u2, GLfixed v1, GLfixed v2); -// typedef void * (APIENTRYP GPMAPNAMEDBUFFER)(GLuint buffer, GLenum access); -// typedef void * (APIENTRYP GPMAPNAMEDBUFFEREXT)(GLuint buffer, GLenum access); -// typedef void * (APIENTRYP GPMAPNAMEDBUFFERRANGE)(GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access); -// typedef void * (APIENTRYP GPMAPNAMEDBUFFERRANGEEXT)(GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access); -// typedef void * (APIENTRYP GPMAPOBJECTBUFFERATI)(GLuint buffer); -// typedef void (APIENTRYP GPMAPPARAMETERFVNV)(GLenum target, GLenum pname, const GLfloat * params); -// typedef void (APIENTRYP GPMAPPARAMETERIVNV)(GLenum target, GLenum pname, const GLint * params); -// typedef void * (APIENTRYP GPMAPTEXTURE2DINTEL)(GLuint texture, GLint level, GLbitfield access, GLint * stride, GLenum * layout); -// typedef void (APIENTRYP GPMAPVERTEXATTRIB1DAPPLE)(GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble * points); -// typedef void (APIENTRYP GPMAPVERTEXATTRIB1FAPPLE)(GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat * points); -// typedef void (APIENTRYP GPMAPVERTEXATTRIB2DAPPLE)(GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble * points); -// typedef void (APIENTRYP GPMAPVERTEXATTRIB2FAPPLE)(GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat * points); -// typedef void (APIENTRYP GPMATERIALF)(GLenum face, GLenum pname, GLfloat param); -// typedef void (APIENTRYP GPMATERIALFV)(GLenum face, GLenum pname, const GLfloat * params); -// typedef void (APIENTRYP GPMATERIALI)(GLenum face, GLenum pname, GLint param); -// typedef void (APIENTRYP GPMATERIALIV)(GLenum face, GLenum pname, const GLint * params); -// typedef void (APIENTRYP GPMATERIALXOES)(GLenum face, GLenum pname, GLfixed param); -// typedef void (APIENTRYP GPMATERIALXVOES)(GLenum face, GLenum pname, const GLfixed * param); -// typedef void (APIENTRYP GPMATRIXFRUSTUMEXT)(GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); -// typedef void (APIENTRYP GPMATRIXINDEXPOINTERARB)(GLint size, GLenum type, GLsizei stride, const void * pointer); -// typedef void (APIENTRYP GPMATRIXINDEXUBVARB)(GLint size, const GLubyte * indices); -// typedef void (APIENTRYP GPMATRIXINDEXUIVARB)(GLint size, const GLuint * indices); -// typedef void (APIENTRYP GPMATRIXINDEXUSVARB)(GLint size, const GLushort * indices); -// typedef void (APIENTRYP GPMATRIXLOAD3X2FNV)(GLenum matrixMode, const GLfloat * m); -// typedef void (APIENTRYP GPMATRIXLOAD3X3FNV)(GLenum matrixMode, const GLfloat * m); -// typedef void (APIENTRYP GPMATRIXLOADIDENTITYEXT)(GLenum mode); -// typedef void (APIENTRYP GPMATRIXLOADTRANSPOSE3X3FNV)(GLenum matrixMode, const GLfloat * m); -// typedef void (APIENTRYP GPMATRIXLOADTRANSPOSEDEXT)(GLenum mode, const GLdouble * m); -// typedef void (APIENTRYP GPMATRIXLOADTRANSPOSEFEXT)(GLenum mode, const GLfloat * m); -// typedef void (APIENTRYP GPMATRIXLOADDEXT)(GLenum mode, const GLdouble * m); -// typedef void (APIENTRYP GPMATRIXLOADFEXT)(GLenum mode, const GLfloat * m); -// typedef void (APIENTRYP GPMATRIXMODE)(GLenum mode); -// typedef void (APIENTRYP GPMATRIXMULT3X2FNV)(GLenum matrixMode, const GLfloat * m); -// typedef void (APIENTRYP GPMATRIXMULT3X3FNV)(GLenum matrixMode, const GLfloat * m); -// typedef void (APIENTRYP GPMATRIXMULTTRANSPOSE3X3FNV)(GLenum matrixMode, const GLfloat * m); -// typedef void (APIENTRYP GPMATRIXMULTTRANSPOSEDEXT)(GLenum mode, const GLdouble * m); -// typedef void (APIENTRYP GPMATRIXMULTTRANSPOSEFEXT)(GLenum mode, const GLfloat * m); -// typedef void (APIENTRYP GPMATRIXMULTDEXT)(GLenum mode, const GLdouble * m); -// typedef void (APIENTRYP GPMATRIXMULTFEXT)(GLenum mode, const GLfloat * m); -// typedef void (APIENTRYP GPMATRIXORTHOEXT)(GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); -// typedef void (APIENTRYP GPMATRIXPOPEXT)(GLenum mode); -// typedef void (APIENTRYP GPMATRIXPUSHEXT)(GLenum mode); -// typedef void (APIENTRYP GPMATRIXROTATEDEXT)(GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z); -// typedef void (APIENTRYP GPMATRIXROTATEFEXT)(GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z); -// typedef void (APIENTRYP GPMATRIXSCALEDEXT)(GLenum mode, GLdouble x, GLdouble y, GLdouble z); -// typedef void (APIENTRYP GPMATRIXSCALEFEXT)(GLenum mode, GLfloat x, GLfloat y, GLfloat z); -// typedef void (APIENTRYP GPMATRIXTRANSLATEDEXT)(GLenum mode, GLdouble x, GLdouble y, GLdouble z); -// typedef void (APIENTRYP GPMATRIXTRANSLATEFEXT)(GLenum mode, GLfloat x, GLfloat y, GLfloat z); -// typedef void (APIENTRYP GPMAXSHADERCOMPILERTHREADSARB)(GLuint count); -// typedef void (APIENTRYP GPMAXSHADERCOMPILERTHREADSKHR)(GLuint count); -// typedef void (APIENTRYP GPMEMORYBARRIER)(GLbitfield barriers); -// typedef void (APIENTRYP GPMEMORYBARRIERBYREGION)(GLbitfield barriers); -// typedef void (APIENTRYP GPMEMORYBARRIEREXT)(GLbitfield barriers); -// typedef void (APIENTRYP GPMEMORYOBJECTPARAMETERIVEXT)(GLuint memoryObject, GLenum pname, const GLint * params); -// typedef void (APIENTRYP GPMINSAMPLESHADINGARB)(GLfloat value); -// typedef void (APIENTRYP GPMINMAXEXT)(GLenum target, GLenum internalformat, GLboolean sink); -// typedef void (APIENTRYP GPMULTMATRIXD)(const GLdouble * m); -// typedef void (APIENTRYP GPMULTMATRIXF)(const GLfloat * m); -// typedef void (APIENTRYP GPMULTMATRIXXOES)(const GLfixed * m); -// typedef void (APIENTRYP GPMULTTRANSPOSEMATRIXD)(const GLdouble * m); -// typedef void (APIENTRYP GPMULTTRANSPOSEMATRIXDARB)(const GLdouble * m); -// typedef void (APIENTRYP GPMULTTRANSPOSEMATRIXF)(const GLfloat * m); -// typedef void (APIENTRYP GPMULTTRANSPOSEMATRIXFARB)(const GLfloat * m); -// typedef void (APIENTRYP GPMULTTRANSPOSEMATRIXXOES)(const GLfixed * m); -// typedef void (APIENTRYP GPMULTIDRAWARRAYS)(GLenum mode, const GLint * first, const GLsizei * count, GLsizei drawcount); -// typedef void (APIENTRYP GPMULTIDRAWARRAYSEXT)(GLenum mode, const GLint * first, const GLsizei * count, GLsizei primcount); -// typedef void (APIENTRYP GPMULTIDRAWARRAYSINDIRECT)(GLenum mode, const void * indirect, GLsizei drawcount, GLsizei stride); -// typedef void (APIENTRYP GPMULTIDRAWARRAYSINDIRECTAMD)(GLenum mode, const void * indirect, GLsizei primcount, GLsizei stride); -// typedef void (APIENTRYP GPMULTIDRAWARRAYSINDIRECTBINDLESSCOUNTNV)(GLenum mode, const void * indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount); -// typedef void (APIENTRYP GPMULTIDRAWARRAYSINDIRECTBINDLESSNV)(GLenum mode, const void * indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount); -// typedef void (APIENTRYP GPMULTIDRAWARRAYSINDIRECTCOUNTARB)(GLenum mode, const void * indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); -// typedef void (APIENTRYP GPMULTIDRAWELEMENTARRAYAPPLE)(GLenum mode, const GLint * first, const GLsizei * count, GLsizei primcount); -// typedef void (APIENTRYP GPMULTIDRAWELEMENTS)(GLenum mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei drawcount); -// typedef void (APIENTRYP GPMULTIDRAWELEMENTSBASEVERTEX)(GLenum mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei drawcount, const GLint * basevertex); -// typedef void (APIENTRYP GPMULTIDRAWELEMENTSEXT)(GLenum mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei primcount); -// typedef void (APIENTRYP GPMULTIDRAWELEMENTSINDIRECT)(GLenum mode, GLenum type, const void * indirect, GLsizei drawcount, GLsizei stride); -// typedef void (APIENTRYP GPMULTIDRAWELEMENTSINDIRECTAMD)(GLenum mode, GLenum type, const void * indirect, GLsizei primcount, GLsizei stride); -// typedef void (APIENTRYP GPMULTIDRAWELEMENTSINDIRECTBINDLESSCOUNTNV)(GLenum mode, GLenum type, const void * indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount); -// typedef void (APIENTRYP GPMULTIDRAWELEMENTSINDIRECTBINDLESSNV)(GLenum mode, GLenum type, const void * indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount); -// typedef void (APIENTRYP GPMULTIDRAWELEMENTSINDIRECTCOUNTARB)(GLenum mode, GLenum type, const void * indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); -// typedef void (APIENTRYP GPMULTIDRAWRANGEELEMENTARRAYAPPLE)(GLenum mode, GLuint start, GLuint end, const GLint * first, const GLsizei * count, GLsizei primcount); -// typedef void (APIENTRYP GPMULTIMODEDRAWARRAYSIBM)(const GLenum * mode, const GLint * first, const GLsizei * count, GLsizei primcount, GLint modestride); -// typedef void (APIENTRYP GPMULTIMODEDRAWELEMENTSIBM)(const GLenum * mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei primcount, GLint modestride); -// typedef void (APIENTRYP GPMULTITEXBUFFEREXT)(GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer); -// typedef void (APIENTRYP GPMULTITEXCOORD1BOES)(GLenum texture, GLbyte s); -// typedef void (APIENTRYP GPMULTITEXCOORD1BVOES)(GLenum texture, const GLbyte * coords); -// typedef void (APIENTRYP GPMULTITEXCOORD1D)(GLenum target, GLdouble s); -// typedef void (APIENTRYP GPMULTITEXCOORD1DARB)(GLenum target, GLdouble s); -// typedef void (APIENTRYP GPMULTITEXCOORD1DV)(GLenum target, const GLdouble * v); -// typedef void (APIENTRYP GPMULTITEXCOORD1DVARB)(GLenum target, const GLdouble * v); -// typedef void (APIENTRYP GPMULTITEXCOORD1F)(GLenum target, GLfloat s); -// typedef void (APIENTRYP GPMULTITEXCOORD1FARB)(GLenum target, GLfloat s); -// typedef void (APIENTRYP GPMULTITEXCOORD1FV)(GLenum target, const GLfloat * v); -// typedef void (APIENTRYP GPMULTITEXCOORD1FVARB)(GLenum target, const GLfloat * v); -// typedef void (APIENTRYP GPMULTITEXCOORD1HNV)(GLenum target, GLhalfNV s); -// typedef void (APIENTRYP GPMULTITEXCOORD1HVNV)(GLenum target, const GLhalfNV * v); -// typedef void (APIENTRYP GPMULTITEXCOORD1I)(GLenum target, GLint s); -// typedef void (APIENTRYP GPMULTITEXCOORD1IARB)(GLenum target, GLint s); -// typedef void (APIENTRYP GPMULTITEXCOORD1IV)(GLenum target, const GLint * v); -// typedef void (APIENTRYP GPMULTITEXCOORD1IVARB)(GLenum target, const GLint * v); -// typedef void (APIENTRYP GPMULTITEXCOORD1S)(GLenum target, GLshort s); -// typedef void (APIENTRYP GPMULTITEXCOORD1SARB)(GLenum target, GLshort s); -// typedef void (APIENTRYP GPMULTITEXCOORD1SV)(GLenum target, const GLshort * v); -// typedef void (APIENTRYP GPMULTITEXCOORD1SVARB)(GLenum target, const GLshort * v); -// typedef void (APIENTRYP GPMULTITEXCOORD1XOES)(GLenum texture, GLfixed s); -// typedef void (APIENTRYP GPMULTITEXCOORD1XVOES)(GLenum texture, const GLfixed * coords); -// typedef void (APIENTRYP GPMULTITEXCOORD2BOES)(GLenum texture, GLbyte s, GLbyte t); -// typedef void (APIENTRYP GPMULTITEXCOORD2BVOES)(GLenum texture, const GLbyte * coords); -// typedef void (APIENTRYP GPMULTITEXCOORD2D)(GLenum target, GLdouble s, GLdouble t); -// typedef void (APIENTRYP GPMULTITEXCOORD2DARB)(GLenum target, GLdouble s, GLdouble t); -// typedef void (APIENTRYP GPMULTITEXCOORD2DV)(GLenum target, const GLdouble * v); -// typedef void (APIENTRYP GPMULTITEXCOORD2DVARB)(GLenum target, const GLdouble * v); -// typedef void (APIENTRYP GPMULTITEXCOORD2F)(GLenum target, GLfloat s, GLfloat t); -// typedef void (APIENTRYP GPMULTITEXCOORD2FARB)(GLenum target, GLfloat s, GLfloat t); -// typedef void (APIENTRYP GPMULTITEXCOORD2FV)(GLenum target, const GLfloat * v); -// typedef void (APIENTRYP GPMULTITEXCOORD2FVARB)(GLenum target, const GLfloat * v); -// typedef void (APIENTRYP GPMULTITEXCOORD2HNV)(GLenum target, GLhalfNV s, GLhalfNV t); -// typedef void (APIENTRYP GPMULTITEXCOORD2HVNV)(GLenum target, const GLhalfNV * v); -// typedef void (APIENTRYP GPMULTITEXCOORD2I)(GLenum target, GLint s, GLint t); -// typedef void (APIENTRYP GPMULTITEXCOORD2IARB)(GLenum target, GLint s, GLint t); -// typedef void (APIENTRYP GPMULTITEXCOORD2IV)(GLenum target, const GLint * v); -// typedef void (APIENTRYP GPMULTITEXCOORD2IVARB)(GLenum target, const GLint * v); -// typedef void (APIENTRYP GPMULTITEXCOORD2S)(GLenum target, GLshort s, GLshort t); -// typedef void (APIENTRYP GPMULTITEXCOORD2SARB)(GLenum target, GLshort s, GLshort t); -// typedef void (APIENTRYP GPMULTITEXCOORD2SV)(GLenum target, const GLshort * v); -// typedef void (APIENTRYP GPMULTITEXCOORD2SVARB)(GLenum target, const GLshort * v); -// typedef void (APIENTRYP GPMULTITEXCOORD2XOES)(GLenum texture, GLfixed s, GLfixed t); -// typedef void (APIENTRYP GPMULTITEXCOORD2XVOES)(GLenum texture, const GLfixed * coords); -// typedef void (APIENTRYP GPMULTITEXCOORD3BOES)(GLenum texture, GLbyte s, GLbyte t, GLbyte r); -// typedef void (APIENTRYP GPMULTITEXCOORD3BVOES)(GLenum texture, const GLbyte * coords); -// typedef void (APIENTRYP GPMULTITEXCOORD3D)(GLenum target, GLdouble s, GLdouble t, GLdouble r); -// typedef void (APIENTRYP GPMULTITEXCOORD3DARB)(GLenum target, GLdouble s, GLdouble t, GLdouble r); -// typedef void (APIENTRYP GPMULTITEXCOORD3DV)(GLenum target, const GLdouble * v); -// typedef void (APIENTRYP GPMULTITEXCOORD3DVARB)(GLenum target, const GLdouble * v); -// typedef void (APIENTRYP GPMULTITEXCOORD3F)(GLenum target, GLfloat s, GLfloat t, GLfloat r); -// typedef void (APIENTRYP GPMULTITEXCOORD3FARB)(GLenum target, GLfloat s, GLfloat t, GLfloat r); -// typedef void (APIENTRYP GPMULTITEXCOORD3FV)(GLenum target, const GLfloat * v); -// typedef void (APIENTRYP GPMULTITEXCOORD3FVARB)(GLenum target, const GLfloat * v); -// typedef void (APIENTRYP GPMULTITEXCOORD3HNV)(GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r); -// typedef void (APIENTRYP GPMULTITEXCOORD3HVNV)(GLenum target, const GLhalfNV * v); -// typedef void (APIENTRYP GPMULTITEXCOORD3I)(GLenum target, GLint s, GLint t, GLint r); -// typedef void (APIENTRYP GPMULTITEXCOORD3IARB)(GLenum target, GLint s, GLint t, GLint r); -// typedef void (APIENTRYP GPMULTITEXCOORD3IV)(GLenum target, const GLint * v); -// typedef void (APIENTRYP GPMULTITEXCOORD3IVARB)(GLenum target, const GLint * v); -// typedef void (APIENTRYP GPMULTITEXCOORD3S)(GLenum target, GLshort s, GLshort t, GLshort r); -// typedef void (APIENTRYP GPMULTITEXCOORD3SARB)(GLenum target, GLshort s, GLshort t, GLshort r); -// typedef void (APIENTRYP GPMULTITEXCOORD3SV)(GLenum target, const GLshort * v); -// typedef void (APIENTRYP GPMULTITEXCOORD3SVARB)(GLenum target, const GLshort * v); -// typedef void (APIENTRYP GPMULTITEXCOORD3XOES)(GLenum texture, GLfixed s, GLfixed t, GLfixed r); -// typedef void (APIENTRYP GPMULTITEXCOORD3XVOES)(GLenum texture, const GLfixed * coords); -// typedef void (APIENTRYP GPMULTITEXCOORD4BOES)(GLenum texture, GLbyte s, GLbyte t, GLbyte r, GLbyte q); -// typedef void (APIENTRYP GPMULTITEXCOORD4BVOES)(GLenum texture, const GLbyte * coords); -// typedef void (APIENTRYP GPMULTITEXCOORD4D)(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); -// typedef void (APIENTRYP GPMULTITEXCOORD4DARB)(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); -// typedef void (APIENTRYP GPMULTITEXCOORD4DV)(GLenum target, const GLdouble * v); -// typedef void (APIENTRYP GPMULTITEXCOORD4DVARB)(GLenum target, const GLdouble * v); -// typedef void (APIENTRYP GPMULTITEXCOORD4F)(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); -// typedef void (APIENTRYP GPMULTITEXCOORD4FARB)(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); -// typedef void (APIENTRYP GPMULTITEXCOORD4FV)(GLenum target, const GLfloat * v); -// typedef void (APIENTRYP GPMULTITEXCOORD4FVARB)(GLenum target, const GLfloat * v); -// typedef void (APIENTRYP GPMULTITEXCOORD4HNV)(GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q); -// typedef void (APIENTRYP GPMULTITEXCOORD4HVNV)(GLenum target, const GLhalfNV * v); -// typedef void (APIENTRYP GPMULTITEXCOORD4I)(GLenum target, GLint s, GLint t, GLint r, GLint q); -// typedef void (APIENTRYP GPMULTITEXCOORD4IARB)(GLenum target, GLint s, GLint t, GLint r, GLint q); -// typedef void (APIENTRYP GPMULTITEXCOORD4IV)(GLenum target, const GLint * v); -// typedef void (APIENTRYP GPMULTITEXCOORD4IVARB)(GLenum target, const GLint * v); -// typedef void (APIENTRYP GPMULTITEXCOORD4S)(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); -// typedef void (APIENTRYP GPMULTITEXCOORD4SARB)(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); -// typedef void (APIENTRYP GPMULTITEXCOORD4SV)(GLenum target, const GLshort * v); -// typedef void (APIENTRYP GPMULTITEXCOORD4SVARB)(GLenum target, const GLshort * v); -// typedef void (APIENTRYP GPMULTITEXCOORD4XOES)(GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q); -// typedef void (APIENTRYP GPMULTITEXCOORD4XVOES)(GLenum texture, const GLfixed * coords); -// typedef void (APIENTRYP GPMULTITEXCOORDPOINTEREXT)(GLenum texunit, GLint size, GLenum type, GLsizei stride, const void * pointer); -// typedef void (APIENTRYP GPMULTITEXENVFEXT)(GLenum texunit, GLenum target, GLenum pname, GLfloat param); -// typedef void (APIENTRYP GPMULTITEXENVFVEXT)(GLenum texunit, GLenum target, GLenum pname, const GLfloat * params); -// typedef void (APIENTRYP GPMULTITEXENVIEXT)(GLenum texunit, GLenum target, GLenum pname, GLint param); -// typedef void (APIENTRYP GPMULTITEXENVIVEXT)(GLenum texunit, GLenum target, GLenum pname, const GLint * params); -// typedef void (APIENTRYP GPMULTITEXGENDEXT)(GLenum texunit, GLenum coord, GLenum pname, GLdouble param); -// typedef void (APIENTRYP GPMULTITEXGENDVEXT)(GLenum texunit, GLenum coord, GLenum pname, const GLdouble * params); -// typedef void (APIENTRYP GPMULTITEXGENFEXT)(GLenum texunit, GLenum coord, GLenum pname, GLfloat param); -// typedef void (APIENTRYP GPMULTITEXGENFVEXT)(GLenum texunit, GLenum coord, GLenum pname, const GLfloat * params); -// typedef void (APIENTRYP GPMULTITEXGENIEXT)(GLenum texunit, GLenum coord, GLenum pname, GLint param); -// typedef void (APIENTRYP GPMULTITEXGENIVEXT)(GLenum texunit, GLenum coord, GLenum pname, const GLint * params); -// typedef void (APIENTRYP GPMULTITEXIMAGE1DEXT)(GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void * pixels); -// typedef void (APIENTRYP GPMULTITEXIMAGE2DEXT)(GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void * pixels); -// typedef void (APIENTRYP GPMULTITEXIMAGE3DEXT)(GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void * pixels); -// typedef void (APIENTRYP GPMULTITEXPARAMETERIIVEXT)(GLenum texunit, GLenum target, GLenum pname, const GLint * params); -// typedef void (APIENTRYP GPMULTITEXPARAMETERIUIVEXT)(GLenum texunit, GLenum target, GLenum pname, const GLuint * params); -// typedef void (APIENTRYP GPMULTITEXPARAMETERFEXT)(GLenum texunit, GLenum target, GLenum pname, GLfloat param); -// typedef void (APIENTRYP GPMULTITEXPARAMETERFVEXT)(GLenum texunit, GLenum target, GLenum pname, const GLfloat * params); -// typedef void (APIENTRYP GPMULTITEXPARAMETERIEXT)(GLenum texunit, GLenum target, GLenum pname, GLint param); -// typedef void (APIENTRYP GPMULTITEXPARAMETERIVEXT)(GLenum texunit, GLenum target, GLenum pname, const GLint * params); -// typedef void (APIENTRYP GPMULTITEXRENDERBUFFEREXT)(GLenum texunit, GLenum target, GLuint renderbuffer); -// typedef void (APIENTRYP GPMULTITEXSUBIMAGE1DEXT)(GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void * pixels); -// typedef void (APIENTRYP GPMULTITEXSUBIMAGE2DEXT)(GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * pixels); -// typedef void (APIENTRYP GPMULTITEXSUBIMAGE3DEXT)(GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * pixels); -// typedef void (APIENTRYP GPMULTICASTBARRIERNV)(); -// typedef void (APIENTRYP GPMULTICASTBLITFRAMEBUFFERNV)(GLuint srcGpu, GLuint dstGpu, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); -// typedef void (APIENTRYP GPMULTICASTBUFFERSUBDATANV)(GLbitfield gpuMask, GLuint buffer, GLintptr offset, GLsizeiptr size, const void * data); -// typedef void (APIENTRYP GPMULTICASTCOPYBUFFERSUBDATANV)(GLuint readGpu, GLbitfield writeGpuMask, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); -// typedef void (APIENTRYP GPMULTICASTCOPYIMAGESUBDATANV)(GLuint srcGpu, GLbitfield dstGpuMask, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth); -// typedef void (APIENTRYP GPMULTICASTFRAMEBUFFERSAMPLELOCATIONSFVNV)(GLuint gpu, GLuint framebuffer, GLuint start, GLsizei count, const GLfloat * v); -// typedef void (APIENTRYP GPMULTICASTGETQUERYOBJECTI64VNV)(GLuint gpu, GLuint id, GLenum pname, GLint64 * params); -// typedef void (APIENTRYP GPMULTICASTGETQUERYOBJECTIVNV)(GLuint gpu, GLuint id, GLenum pname, GLint * params); -// typedef void (APIENTRYP GPMULTICASTGETQUERYOBJECTUI64VNV)(GLuint gpu, GLuint id, GLenum pname, GLuint64 * params); -// typedef void (APIENTRYP GPMULTICASTGETQUERYOBJECTUIVNV)(GLuint gpu, GLuint id, GLenum pname, GLuint * params); -// typedef void (APIENTRYP GPMULTICASTWAITSYNCNV)(GLuint signalGpu, GLbitfield waitGpuMask); -// typedef void (APIENTRYP GPNAMEDBUFFERDATA)(GLuint buffer, GLsizeiptr size, const void * data, GLenum usage); -// typedef void (APIENTRYP GPNAMEDBUFFERDATAEXT)(GLuint buffer, GLsizeiptr size, const void * data, GLenum usage); -// typedef void (APIENTRYP GPNAMEDBUFFERPAGECOMMITMENTARB)(GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit); -// typedef void (APIENTRYP GPNAMEDBUFFERPAGECOMMITMENTEXT)(GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit); -// typedef void (APIENTRYP GPNAMEDBUFFERSTORAGE)(GLuint buffer, GLsizeiptr size, const void * data, GLbitfield flags); -// typedef void (APIENTRYP GPNAMEDBUFFERSTORAGEEXT)(GLuint buffer, GLsizeiptr size, const void * data, GLbitfield flags); -// typedef void (APIENTRYP GPNAMEDBUFFERSTORAGEEXTERNALEXT)(GLuint buffer, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags); -// typedef void (APIENTRYP GPNAMEDBUFFERSTORAGEMEMEXT)(GLuint buffer, GLsizeiptr size, GLuint memory, GLuint64 offset); -// typedef void (APIENTRYP GPNAMEDBUFFERSUBDATA)(GLuint buffer, GLintptr offset, GLsizeiptr size, const void * data); -// typedef void (APIENTRYP GPNAMEDBUFFERSUBDATAEXT)(GLuint buffer, GLintptr offset, GLsizeiptr size, const void * data); -// typedef void (APIENTRYP GPNAMEDCOPYBUFFERSUBDATAEXT)(GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); -// typedef void (APIENTRYP GPNAMEDFRAMEBUFFERDRAWBUFFER)(GLuint framebuffer, GLenum buf); -// typedef void (APIENTRYP GPNAMEDFRAMEBUFFERDRAWBUFFERS)(GLuint framebuffer, GLsizei n, const GLenum * bufs); -// typedef void (APIENTRYP GPNAMEDFRAMEBUFFERPARAMETERI)(GLuint framebuffer, GLenum pname, GLint param); -// typedef void (APIENTRYP GPNAMEDFRAMEBUFFERPARAMETERIEXT)(GLuint framebuffer, GLenum pname, GLint param); -// typedef void (APIENTRYP GPNAMEDFRAMEBUFFERREADBUFFER)(GLuint framebuffer, GLenum src); -// typedef void (APIENTRYP GPNAMEDFRAMEBUFFERRENDERBUFFER)(GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); -// typedef void (APIENTRYP GPNAMEDFRAMEBUFFERRENDERBUFFEREXT)(GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); -// typedef void (APIENTRYP GPNAMEDFRAMEBUFFERSAMPLELOCATIONSFVARB)(GLuint framebuffer, GLuint start, GLsizei count, const GLfloat * v); -// typedef void (APIENTRYP GPNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNV)(GLuint framebuffer, GLuint start, GLsizei count, const GLfloat * v); -// typedef void (APIENTRYP GPNAMEDFRAMEBUFFERSAMPLEPOSITIONSFVAMD)(GLuint framebuffer, GLuint numsamples, GLuint pixelindex, const GLfloat * values); -// typedef void (APIENTRYP GPNAMEDFRAMEBUFFERTEXTURE)(GLuint framebuffer, GLenum attachment, GLuint texture, GLint level); -// typedef void (APIENTRYP GPNAMEDFRAMEBUFFERTEXTURE1DEXT)(GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -// typedef void (APIENTRYP GPNAMEDFRAMEBUFFERTEXTURE2DEXT)(GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -// typedef void (APIENTRYP GPNAMEDFRAMEBUFFERTEXTURE3DEXT)(GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); -// typedef void (APIENTRYP GPNAMEDFRAMEBUFFERTEXTUREEXT)(GLuint framebuffer, GLenum attachment, GLuint texture, GLint level); -// typedef void (APIENTRYP GPNAMEDFRAMEBUFFERTEXTUREFACEEXT)(GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face); -// typedef void (APIENTRYP GPNAMEDFRAMEBUFFERTEXTURELAYER)(GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer); -// typedef void (APIENTRYP GPNAMEDFRAMEBUFFERTEXTURELAYEREXT)(GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer); -// typedef void (APIENTRYP GPNAMEDPROGRAMLOCALPARAMETER4DEXT)(GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -// typedef void (APIENTRYP GPNAMEDPROGRAMLOCALPARAMETER4DVEXT)(GLuint program, GLenum target, GLuint index, const GLdouble * params); -// typedef void (APIENTRYP GPNAMEDPROGRAMLOCALPARAMETER4FEXT)(GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -// typedef void (APIENTRYP GPNAMEDPROGRAMLOCALPARAMETER4FVEXT)(GLuint program, GLenum target, GLuint index, const GLfloat * params); -// typedef void (APIENTRYP GPNAMEDPROGRAMLOCALPARAMETERI4IEXT)(GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w); -// typedef void (APIENTRYP GPNAMEDPROGRAMLOCALPARAMETERI4IVEXT)(GLuint program, GLenum target, GLuint index, const GLint * params); -// typedef void (APIENTRYP GPNAMEDPROGRAMLOCALPARAMETERI4UIEXT)(GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); -// typedef void (APIENTRYP GPNAMEDPROGRAMLOCALPARAMETERI4UIVEXT)(GLuint program, GLenum target, GLuint index, const GLuint * params); -// typedef void (APIENTRYP GPNAMEDPROGRAMLOCALPARAMETERS4FVEXT)(GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat * params); -// typedef void (APIENTRYP GPNAMEDPROGRAMLOCALPARAMETERSI4IVEXT)(GLuint program, GLenum target, GLuint index, GLsizei count, const GLint * params); -// typedef void (APIENTRYP GPNAMEDPROGRAMLOCALPARAMETERSI4UIVEXT)(GLuint program, GLenum target, GLuint index, GLsizei count, const GLuint * params); -// typedef void (APIENTRYP GPNAMEDPROGRAMSTRINGEXT)(GLuint program, GLenum target, GLenum format, GLsizei len, const void * string); -// typedef void (APIENTRYP GPNAMEDRENDERBUFFERSTORAGE)(GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height); -// typedef void (APIENTRYP GPNAMEDRENDERBUFFERSTORAGEEXT)(GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height); -// typedef void (APIENTRYP GPNAMEDRENDERBUFFERSTORAGEMULTISAMPLE)(GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); -// typedef void (APIENTRYP GPNAMEDRENDERBUFFERSTORAGEMULTISAMPLECOVERAGEEXT)(GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height); -// typedef void (APIENTRYP GPNAMEDRENDERBUFFERSTORAGEMULTISAMPLEEXT)(GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); -// typedef void (APIENTRYP GPNAMEDSTRINGARB)(GLenum type, GLint namelen, const GLchar * name, GLint stringlen, const GLchar * string); -// typedef void (APIENTRYP GPNEWLIST)(GLuint list, GLenum mode); -// typedef GLuint (APIENTRYP GPNEWOBJECTBUFFERATI)(GLsizei size, const void * pointer, GLenum usage); -// typedef void (APIENTRYP GPNORMAL3B)(GLbyte nx, GLbyte ny, GLbyte nz); -// typedef void (APIENTRYP GPNORMAL3BV)(const GLbyte * v); -// typedef void (APIENTRYP GPNORMAL3D)(GLdouble nx, GLdouble ny, GLdouble nz); -// typedef void (APIENTRYP GPNORMAL3DV)(const GLdouble * v); -// typedef void (APIENTRYP GPNORMAL3F)(GLfloat nx, GLfloat ny, GLfloat nz); -// typedef void (APIENTRYP GPNORMAL3FVERTEX3FSUN)(GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); -// typedef void (APIENTRYP GPNORMAL3FVERTEX3FVSUN)(const GLfloat * n, const GLfloat * v); -// typedef void (APIENTRYP GPNORMAL3FV)(const GLfloat * v); -// typedef void (APIENTRYP GPNORMAL3HNV)(GLhalfNV nx, GLhalfNV ny, GLhalfNV nz); -// typedef void (APIENTRYP GPNORMAL3HVNV)(const GLhalfNV * v); -// typedef void (APIENTRYP GPNORMAL3I)(GLint nx, GLint ny, GLint nz); -// typedef void (APIENTRYP GPNORMAL3IV)(const GLint * v); -// typedef void (APIENTRYP GPNORMAL3S)(GLshort nx, GLshort ny, GLshort nz); -// typedef void (APIENTRYP GPNORMAL3SV)(const GLshort * v); -// typedef void (APIENTRYP GPNORMAL3XOES)(GLfixed nx, GLfixed ny, GLfixed nz); -// typedef void (APIENTRYP GPNORMAL3XVOES)(const GLfixed * coords); -// typedef void (APIENTRYP GPNORMALFORMATNV)(GLenum type, GLsizei stride); -// typedef void (APIENTRYP GPNORMALPOINTER)(GLenum type, GLsizei stride, const void * pointer); -// typedef void (APIENTRYP GPNORMALPOINTEREXT)(GLenum type, GLsizei stride, GLsizei count, const void * pointer); -// typedef void (APIENTRYP GPNORMALPOINTERLISTIBM)(GLenum type, GLint stride, const void ** pointer, GLint ptrstride); -// typedef void (APIENTRYP GPNORMALPOINTERVINTEL)(GLenum type, const void ** pointer); -// typedef void (APIENTRYP GPNORMALSTREAM3BATI)(GLenum stream, GLbyte nx, GLbyte ny, GLbyte nz); -// typedef void (APIENTRYP GPNORMALSTREAM3BVATI)(GLenum stream, const GLbyte * coords); -// typedef void (APIENTRYP GPNORMALSTREAM3DATI)(GLenum stream, GLdouble nx, GLdouble ny, GLdouble nz); -// typedef void (APIENTRYP GPNORMALSTREAM3DVATI)(GLenum stream, const GLdouble * coords); -// typedef void (APIENTRYP GPNORMALSTREAM3FATI)(GLenum stream, GLfloat nx, GLfloat ny, GLfloat nz); -// typedef void (APIENTRYP GPNORMALSTREAM3FVATI)(GLenum stream, const GLfloat * coords); -// typedef void (APIENTRYP GPNORMALSTREAM3IATI)(GLenum stream, GLint nx, GLint ny, GLint nz); -// typedef void (APIENTRYP GPNORMALSTREAM3IVATI)(GLenum stream, const GLint * coords); -// typedef void (APIENTRYP GPNORMALSTREAM3SATI)(GLenum stream, GLshort nx, GLshort ny, GLshort nz); -// typedef void (APIENTRYP GPNORMALSTREAM3SVATI)(GLenum stream, const GLshort * coords); -// typedef void (APIENTRYP GPOBJECTLABEL)(GLenum identifier, GLuint name, GLsizei length, const GLchar * label); -// typedef void (APIENTRYP GPOBJECTLABELKHR)(GLenum identifier, GLuint name, GLsizei length, const GLchar * label); -// typedef void (APIENTRYP GPOBJECTPTRLABEL)(const void * ptr, GLsizei length, const GLchar * label); -// typedef void (APIENTRYP GPOBJECTPTRLABELKHR)(const void * ptr, GLsizei length, const GLchar * label); -// typedef GLenum (APIENTRYP GPOBJECTPURGEABLEAPPLE)(GLenum objectType, GLuint name, GLenum option); -// typedef GLenum (APIENTRYP GPOBJECTUNPURGEABLEAPPLE)(GLenum objectType, GLuint name, GLenum option); -// typedef void (APIENTRYP GPORTHO)(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); -// typedef void (APIENTRYP GPORTHOFOES)(GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); -// typedef void (APIENTRYP GPORTHOXOES)(GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); -// typedef void (APIENTRYP GPPNTRIANGLESFATI)(GLenum pname, GLfloat param); -// typedef void (APIENTRYP GPPNTRIANGLESIATI)(GLenum pname, GLint param); -// typedef void (APIENTRYP GPPASSTEXCOORDATI)(GLuint dst, GLuint coord, GLenum swizzle); -// typedef void (APIENTRYP GPPASSTHROUGH)(GLfloat token); -// typedef void (APIENTRYP GPPASSTHROUGHXOES)(GLfixed token); -// typedef void (APIENTRYP GPPATCHPARAMETERFV)(GLenum pname, const GLfloat * values); -// typedef void (APIENTRYP GPPATCHPARAMETERI)(GLenum pname, GLint value); -// typedef void (APIENTRYP GPPATHCOMMANDSNV)(GLuint path, GLsizei numCommands, const GLubyte * commands, GLsizei numCoords, GLenum coordType, const void * coords); -// typedef void (APIENTRYP GPPATHCOORDSNV)(GLuint path, GLsizei numCoords, GLenum coordType, const void * coords); -// typedef void (APIENTRYP GPPATHCOVERDEPTHFUNCNV)(GLenum func); -// typedef void (APIENTRYP GPPATHDASHARRAYNV)(GLuint path, GLsizei dashCount, const GLfloat * dashArray); -// typedef GLenum (APIENTRYP GPPATHGLYPHINDEXARRAYNV)(GLuint firstPathName, GLenum fontTarget, const void * fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale); -// typedef GLenum (APIENTRYP GPPATHGLYPHINDEXRANGENV)(GLenum fontTarget, const void * fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint * baseAndCount); -// typedef void (APIENTRYP GPPATHGLYPHRANGENV)(GLuint firstPathName, GLenum fontTarget, const void * fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale); -// typedef void (APIENTRYP GPPATHGLYPHSNV)(GLuint firstPathName, GLenum fontTarget, const void * fontName, GLbitfield fontStyle, GLsizei numGlyphs, GLenum type, const void * charcodes, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale); -// typedef GLenum (APIENTRYP GPPATHMEMORYGLYPHINDEXARRAYNV)(GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void * fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale); -// typedef void (APIENTRYP GPPATHPARAMETERFNV)(GLuint path, GLenum pname, GLfloat value); -// typedef void (APIENTRYP GPPATHPARAMETERFVNV)(GLuint path, GLenum pname, const GLfloat * value); -// typedef void (APIENTRYP GPPATHPARAMETERINV)(GLuint path, GLenum pname, GLint value); -// typedef void (APIENTRYP GPPATHPARAMETERIVNV)(GLuint path, GLenum pname, const GLint * value); -// typedef void (APIENTRYP GPPATHSTENCILDEPTHOFFSETNV)(GLfloat factor, GLfloat units); -// typedef void (APIENTRYP GPPATHSTENCILFUNCNV)(GLenum func, GLint ref, GLuint mask); -// typedef void (APIENTRYP GPPATHSTRINGNV)(GLuint path, GLenum format, GLsizei length, const void * pathString); -// typedef void (APIENTRYP GPPATHSUBCOMMANDSNV)(GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte * commands, GLsizei numCoords, GLenum coordType, const void * coords); -// typedef void (APIENTRYP GPPATHSUBCOORDSNV)(GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void * coords); -// typedef void (APIENTRYP GPPAUSETRANSFORMFEEDBACK)(); -// typedef void (APIENTRYP GPPAUSETRANSFORMFEEDBACKNV)(); -// typedef void (APIENTRYP GPPIXELDATARANGENV)(GLenum target, GLsizei length, const void * pointer); -// typedef void (APIENTRYP GPPIXELMAPFV)(GLenum map, GLsizei mapsize, const GLfloat * values); -// typedef void (APIENTRYP GPPIXELMAPUIV)(GLenum map, GLsizei mapsize, const GLuint * values); -// typedef void (APIENTRYP GPPIXELMAPUSV)(GLenum map, GLsizei mapsize, const GLushort * values); -// typedef void (APIENTRYP GPPIXELMAPX)(GLenum map, GLint size, const GLfixed * values); -// typedef void (APIENTRYP GPPIXELSTOREF)(GLenum pname, GLfloat param); // typedef void (APIENTRYP GPPIXELSTOREI)(GLenum pname, GLint param); -// typedef void (APIENTRYP GPPIXELSTOREX)(GLenum pname, GLfixed param); -// typedef void (APIENTRYP GPPIXELTEXGENPARAMETERFSGIS)(GLenum pname, GLfloat param); -// typedef void (APIENTRYP GPPIXELTEXGENPARAMETERFVSGIS)(GLenum pname, const GLfloat * params); -// typedef void (APIENTRYP GPPIXELTEXGENPARAMETERISGIS)(GLenum pname, GLint param); -// typedef void (APIENTRYP GPPIXELTEXGENPARAMETERIVSGIS)(GLenum pname, const GLint * params); -// typedef void (APIENTRYP GPPIXELTEXGENSGIX)(GLenum mode); -// typedef void (APIENTRYP GPPIXELTRANSFERF)(GLenum pname, GLfloat param); -// typedef void (APIENTRYP GPPIXELTRANSFERI)(GLenum pname, GLint param); -// typedef void (APIENTRYP GPPIXELTRANSFERXOES)(GLenum pname, GLfixed param); -// typedef void (APIENTRYP GPPIXELTRANSFORMPARAMETERFEXT)(GLenum target, GLenum pname, GLfloat param); -// typedef void (APIENTRYP GPPIXELTRANSFORMPARAMETERFVEXT)(GLenum target, GLenum pname, const GLfloat * params); -// typedef void (APIENTRYP GPPIXELTRANSFORMPARAMETERIEXT)(GLenum target, GLenum pname, GLint param); -// typedef void (APIENTRYP GPPIXELTRANSFORMPARAMETERIVEXT)(GLenum target, GLenum pname, const GLint * params); -// typedef void (APIENTRYP GPPIXELZOOM)(GLfloat xfactor, GLfloat yfactor); -// typedef void (APIENTRYP GPPIXELZOOMXOES)(GLfixed xfactor, GLfixed yfactor); -// typedef GLboolean (APIENTRYP GPPOINTALONGPATHNV)(GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat * x, GLfloat * y, GLfloat * tangentX, GLfloat * tangentY); -// typedef void (APIENTRYP GPPOINTPARAMETERF)(GLenum pname, GLfloat param); -// typedef void (APIENTRYP GPPOINTPARAMETERFARB)(GLenum pname, GLfloat param); -// typedef void (APIENTRYP GPPOINTPARAMETERFEXT)(GLenum pname, GLfloat param); -// typedef void (APIENTRYP GPPOINTPARAMETERFSGIS)(GLenum pname, GLfloat param); -// typedef void (APIENTRYP GPPOINTPARAMETERFV)(GLenum pname, const GLfloat * params); -// typedef void (APIENTRYP GPPOINTPARAMETERFVARB)(GLenum pname, const GLfloat * params); -// typedef void (APIENTRYP GPPOINTPARAMETERFVEXT)(GLenum pname, const GLfloat * params); -// typedef void (APIENTRYP GPPOINTPARAMETERFVSGIS)(GLenum pname, const GLfloat * params); -// typedef void (APIENTRYP GPPOINTPARAMETERI)(GLenum pname, GLint param); -// typedef void (APIENTRYP GPPOINTPARAMETERINV)(GLenum pname, GLint param); -// typedef void (APIENTRYP GPPOINTPARAMETERIV)(GLenum pname, const GLint * params); -// typedef void (APIENTRYP GPPOINTPARAMETERIVNV)(GLenum pname, const GLint * params); -// typedef void (APIENTRYP GPPOINTPARAMETERXOES)(GLenum pname, GLfixed param); -// typedef void (APIENTRYP GPPOINTPARAMETERXVOES)(GLenum pname, const GLfixed * params); -// typedef void (APIENTRYP GPPOINTSIZE)(GLfloat size); -// typedef void (APIENTRYP GPPOINTSIZEXOES)(GLfixed size); -// typedef GLint (APIENTRYP GPPOLLASYNCSGIX)(GLuint * markerp); -// typedef GLint (APIENTRYP GPPOLLINSTRUMENTSSGIX)(GLint * marker_p); -// typedef void (APIENTRYP GPPOLYGONMODE)(GLenum face, GLenum mode); -// typedef void (APIENTRYP GPPOLYGONOFFSET)(GLfloat factor, GLfloat units); -// typedef void (APIENTRYP GPPOLYGONOFFSETCLAMP)(GLfloat factor, GLfloat units, GLfloat clamp); -// typedef void (APIENTRYP GPPOLYGONOFFSETCLAMPEXT)(GLfloat factor, GLfloat units, GLfloat clamp); -// typedef void (APIENTRYP GPPOLYGONOFFSETEXT)(GLfloat factor, GLfloat bias); -// typedef void (APIENTRYP GPPOLYGONOFFSETXOES)(GLfixed factor, GLfixed units); -// typedef void (APIENTRYP GPPOLYGONSTIPPLE)(const GLubyte * mask); -// typedef void (APIENTRYP GPPOPATTRIB)(); -// typedef void (APIENTRYP GPPOPCLIENTATTRIB)(); -// typedef void (APIENTRYP GPPOPDEBUGGROUP)(); -// typedef void (APIENTRYP GPPOPDEBUGGROUPKHR)(); -// typedef void (APIENTRYP GPPOPGROUPMARKEREXT)(); -// typedef void (APIENTRYP GPPOPMATRIX)(); -// typedef void (APIENTRYP GPPOPNAME)(); -// typedef void (APIENTRYP GPPRESENTFRAMEDUALFILLNV)(GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLenum target1, GLuint fill1, GLenum target2, GLuint fill2, GLenum target3, GLuint fill3); -// typedef void (APIENTRYP GPPRESENTFRAMEKEYEDNV)(GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLuint key0, GLenum target1, GLuint fill1, GLuint key1); -// typedef void (APIENTRYP GPPRIMITIVEBOUNDINGBOXARB)(GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW); -// typedef void (APIENTRYP GPPRIMITIVERESTARTINDEXNV)(GLuint index); -// typedef void (APIENTRYP GPPRIMITIVERESTARTNV)(); -// typedef void (APIENTRYP GPPRIORITIZETEXTURES)(GLsizei n, const GLuint * textures, const GLfloat * priorities); -// typedef void (APIENTRYP GPPRIORITIZETEXTURESEXT)(GLsizei n, const GLuint * textures, const GLclampf * priorities); -// typedef void (APIENTRYP GPPRIORITIZETEXTURESXOES)(GLsizei n, const GLuint * textures, const GLfixed * priorities); -// typedef void (APIENTRYP GPPROGRAMBINARY)(GLuint program, GLenum binaryFormat, const void * binary, GLsizei length); -// typedef void (APIENTRYP GPPROGRAMBUFFERPARAMETERSIIVNV)(GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLint * params); -// typedef void (APIENTRYP GPPROGRAMBUFFERPARAMETERSIUIVNV)(GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLuint * params); -// typedef void (APIENTRYP GPPROGRAMBUFFERPARAMETERSFVNV)(GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLfloat * params); -// typedef void (APIENTRYP GPPROGRAMENVPARAMETER4DARB)(GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -// typedef void (APIENTRYP GPPROGRAMENVPARAMETER4DVARB)(GLenum target, GLuint index, const GLdouble * params); -// typedef void (APIENTRYP GPPROGRAMENVPARAMETER4FARB)(GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -// typedef void (APIENTRYP GPPROGRAMENVPARAMETER4FVARB)(GLenum target, GLuint index, const GLfloat * params); -// typedef void (APIENTRYP GPPROGRAMENVPARAMETERI4INV)(GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w); -// typedef void (APIENTRYP GPPROGRAMENVPARAMETERI4IVNV)(GLenum target, GLuint index, const GLint * params); -// typedef void (APIENTRYP GPPROGRAMENVPARAMETERI4UINV)(GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); -// typedef void (APIENTRYP GPPROGRAMENVPARAMETERI4UIVNV)(GLenum target, GLuint index, const GLuint * params); -// typedef void (APIENTRYP GPPROGRAMENVPARAMETERS4FVEXT)(GLenum target, GLuint index, GLsizei count, const GLfloat * params); -// typedef void (APIENTRYP GPPROGRAMENVPARAMETERSI4IVNV)(GLenum target, GLuint index, GLsizei count, const GLint * params); -// typedef void (APIENTRYP GPPROGRAMENVPARAMETERSI4UIVNV)(GLenum target, GLuint index, GLsizei count, const GLuint * params); -// typedef void (APIENTRYP GPPROGRAMLOCALPARAMETER4DARB)(GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -// typedef void (APIENTRYP GPPROGRAMLOCALPARAMETER4DVARB)(GLenum target, GLuint index, const GLdouble * params); -// typedef void (APIENTRYP GPPROGRAMLOCALPARAMETER4FARB)(GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -// typedef void (APIENTRYP GPPROGRAMLOCALPARAMETER4FVARB)(GLenum target, GLuint index, const GLfloat * params); -// typedef void (APIENTRYP GPPROGRAMLOCALPARAMETERI4INV)(GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w); -// typedef void (APIENTRYP GPPROGRAMLOCALPARAMETERI4IVNV)(GLenum target, GLuint index, const GLint * params); -// typedef void (APIENTRYP GPPROGRAMLOCALPARAMETERI4UINV)(GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); -// typedef void (APIENTRYP GPPROGRAMLOCALPARAMETERI4UIVNV)(GLenum target, GLuint index, const GLuint * params); -// typedef void (APIENTRYP GPPROGRAMLOCALPARAMETERS4FVEXT)(GLenum target, GLuint index, GLsizei count, const GLfloat * params); -// typedef void (APIENTRYP GPPROGRAMLOCALPARAMETERSI4IVNV)(GLenum target, GLuint index, GLsizei count, const GLint * params); -// typedef void (APIENTRYP GPPROGRAMLOCALPARAMETERSI4UIVNV)(GLenum target, GLuint index, GLsizei count, const GLuint * params); -// typedef void (APIENTRYP GPPROGRAMNAMEDPARAMETER4DNV)(GLuint id, GLsizei len, const GLubyte * name, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -// typedef void (APIENTRYP GPPROGRAMNAMEDPARAMETER4DVNV)(GLuint id, GLsizei len, const GLubyte * name, const GLdouble * v); -// typedef void (APIENTRYP GPPROGRAMNAMEDPARAMETER4FNV)(GLuint id, GLsizei len, const GLubyte * name, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -// typedef void (APIENTRYP GPPROGRAMNAMEDPARAMETER4FVNV)(GLuint id, GLsizei len, const GLubyte * name, const GLfloat * v); -// typedef void (APIENTRYP GPPROGRAMPARAMETER4DNV)(GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -// typedef void (APIENTRYP GPPROGRAMPARAMETER4DVNV)(GLenum target, GLuint index, const GLdouble * v); -// typedef void (APIENTRYP GPPROGRAMPARAMETER4FNV)(GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -// typedef void (APIENTRYP GPPROGRAMPARAMETER4FVNV)(GLenum target, GLuint index, const GLfloat * v); -// typedef void (APIENTRYP GPPROGRAMPARAMETERI)(GLuint program, GLenum pname, GLint value); -// typedef void (APIENTRYP GPPROGRAMPARAMETERIARB)(GLuint program, GLenum pname, GLint value); -// typedef void (APIENTRYP GPPROGRAMPARAMETERIEXT)(GLuint program, GLenum pname, GLint value); -// typedef void (APIENTRYP GPPROGRAMPARAMETERS4DVNV)(GLenum target, GLuint index, GLsizei count, const GLdouble * v); -// typedef void (APIENTRYP GPPROGRAMPARAMETERS4FVNV)(GLenum target, GLuint index, GLsizei count, const GLfloat * v); -// typedef void (APIENTRYP GPPROGRAMPATHFRAGMENTINPUTGENNV)(GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat * coeffs); -// typedef void (APIENTRYP GPPROGRAMSTRINGARB)(GLenum target, GLenum format, GLsizei len, const void * string); -// typedef void (APIENTRYP GPPROGRAMSUBROUTINEPARAMETERSUIVNV)(GLenum target, GLsizei count, const GLuint * params); -// typedef void (APIENTRYP GPPROGRAMUNIFORM1D)(GLuint program, GLint location, GLdouble v0); -// typedef void (APIENTRYP GPPROGRAMUNIFORM1DEXT)(GLuint program, GLint location, GLdouble x); -// typedef void (APIENTRYP GPPROGRAMUNIFORM1DV)(GLuint program, GLint location, GLsizei count, const GLdouble * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORM1DVEXT)(GLuint program, GLint location, GLsizei count, const GLdouble * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORM1F)(GLuint program, GLint location, GLfloat v0); -// typedef void (APIENTRYP GPPROGRAMUNIFORM1FEXT)(GLuint program, GLint location, GLfloat v0); -// typedef void (APIENTRYP GPPROGRAMUNIFORM1FV)(GLuint program, GLint location, GLsizei count, const GLfloat * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORM1FVEXT)(GLuint program, GLint location, GLsizei count, const GLfloat * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORM1I)(GLuint program, GLint location, GLint v0); -// typedef void (APIENTRYP GPPROGRAMUNIFORM1I64ARB)(GLuint program, GLint location, GLint64 x); -// typedef void (APIENTRYP GPPROGRAMUNIFORM1I64NV)(GLuint program, GLint location, GLint64EXT x); -// typedef void (APIENTRYP GPPROGRAMUNIFORM1I64VARB)(GLuint program, GLint location, GLsizei count, const GLint64 * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORM1I64VNV)(GLuint program, GLint location, GLsizei count, const GLint64EXT * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORM1IEXT)(GLuint program, GLint location, GLint v0); -// typedef void (APIENTRYP GPPROGRAMUNIFORM1IV)(GLuint program, GLint location, GLsizei count, const GLint * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORM1IVEXT)(GLuint program, GLint location, GLsizei count, const GLint * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORM1UI)(GLuint program, GLint location, GLuint v0); -// typedef void (APIENTRYP GPPROGRAMUNIFORM1UI64ARB)(GLuint program, GLint location, GLuint64 x); -// typedef void (APIENTRYP GPPROGRAMUNIFORM1UI64NV)(GLuint program, GLint location, GLuint64EXT x); -// typedef void (APIENTRYP GPPROGRAMUNIFORM1UI64VARB)(GLuint program, GLint location, GLsizei count, const GLuint64 * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORM1UI64VNV)(GLuint program, GLint location, GLsizei count, const GLuint64EXT * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORM1UIEXT)(GLuint program, GLint location, GLuint v0); -// typedef void (APIENTRYP GPPROGRAMUNIFORM1UIV)(GLuint program, GLint location, GLsizei count, const GLuint * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORM1UIVEXT)(GLuint program, GLint location, GLsizei count, const GLuint * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORM2D)(GLuint program, GLint location, GLdouble v0, GLdouble v1); -// typedef void (APIENTRYP GPPROGRAMUNIFORM2DEXT)(GLuint program, GLint location, GLdouble x, GLdouble y); -// typedef void (APIENTRYP GPPROGRAMUNIFORM2DV)(GLuint program, GLint location, GLsizei count, const GLdouble * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORM2DVEXT)(GLuint program, GLint location, GLsizei count, const GLdouble * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORM2F)(GLuint program, GLint location, GLfloat v0, GLfloat v1); -// typedef void (APIENTRYP GPPROGRAMUNIFORM2FEXT)(GLuint program, GLint location, GLfloat v0, GLfloat v1); -// typedef void (APIENTRYP GPPROGRAMUNIFORM2FV)(GLuint program, GLint location, GLsizei count, const GLfloat * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORM2FVEXT)(GLuint program, GLint location, GLsizei count, const GLfloat * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORM2I)(GLuint program, GLint location, GLint v0, GLint v1); -// typedef void (APIENTRYP GPPROGRAMUNIFORM2I64ARB)(GLuint program, GLint location, GLint64 x, GLint64 y); -// typedef void (APIENTRYP GPPROGRAMUNIFORM2I64NV)(GLuint program, GLint location, GLint64EXT x, GLint64EXT y); -// typedef void (APIENTRYP GPPROGRAMUNIFORM2I64VARB)(GLuint program, GLint location, GLsizei count, const GLint64 * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORM2I64VNV)(GLuint program, GLint location, GLsizei count, const GLint64EXT * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORM2IEXT)(GLuint program, GLint location, GLint v0, GLint v1); -// typedef void (APIENTRYP GPPROGRAMUNIFORM2IV)(GLuint program, GLint location, GLsizei count, const GLint * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORM2IVEXT)(GLuint program, GLint location, GLsizei count, const GLint * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORM2UI)(GLuint program, GLint location, GLuint v0, GLuint v1); -// typedef void (APIENTRYP GPPROGRAMUNIFORM2UI64ARB)(GLuint program, GLint location, GLuint64 x, GLuint64 y); -// typedef void (APIENTRYP GPPROGRAMUNIFORM2UI64NV)(GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y); -// typedef void (APIENTRYP GPPROGRAMUNIFORM2UI64VARB)(GLuint program, GLint location, GLsizei count, const GLuint64 * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORM2UI64VNV)(GLuint program, GLint location, GLsizei count, const GLuint64EXT * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORM2UIEXT)(GLuint program, GLint location, GLuint v0, GLuint v1); -// typedef void (APIENTRYP GPPROGRAMUNIFORM2UIV)(GLuint program, GLint location, GLsizei count, const GLuint * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORM2UIVEXT)(GLuint program, GLint location, GLsizei count, const GLuint * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORM3D)(GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2); -// typedef void (APIENTRYP GPPROGRAMUNIFORM3DEXT)(GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z); -// typedef void (APIENTRYP GPPROGRAMUNIFORM3DV)(GLuint program, GLint location, GLsizei count, const GLdouble * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORM3DVEXT)(GLuint program, GLint location, GLsizei count, const GLdouble * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORM3F)(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); -// typedef void (APIENTRYP GPPROGRAMUNIFORM3FEXT)(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); -// typedef void (APIENTRYP GPPROGRAMUNIFORM3FV)(GLuint program, GLint location, GLsizei count, const GLfloat * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORM3FVEXT)(GLuint program, GLint location, GLsizei count, const GLfloat * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORM3I)(GLuint program, GLint location, GLint v0, GLint v1, GLint v2); -// typedef void (APIENTRYP GPPROGRAMUNIFORM3I64ARB)(GLuint program, GLint location, GLint64 x, GLint64 y, GLint64 z); -// typedef void (APIENTRYP GPPROGRAMUNIFORM3I64NV)(GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); -// typedef void (APIENTRYP GPPROGRAMUNIFORM3I64VARB)(GLuint program, GLint location, GLsizei count, const GLint64 * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORM3I64VNV)(GLuint program, GLint location, GLsizei count, const GLint64EXT * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORM3IEXT)(GLuint program, GLint location, GLint v0, GLint v1, GLint v2); -// typedef void (APIENTRYP GPPROGRAMUNIFORM3IV)(GLuint program, GLint location, GLsizei count, const GLint * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORM3IVEXT)(GLuint program, GLint location, GLsizei count, const GLint * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORM3UI)(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); -// typedef void (APIENTRYP GPPROGRAMUNIFORM3UI64ARB)(GLuint program, GLint location, GLuint64 x, GLuint64 y, GLuint64 z); -// typedef void (APIENTRYP GPPROGRAMUNIFORM3UI64NV)(GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); -// typedef void (APIENTRYP GPPROGRAMUNIFORM3UI64VARB)(GLuint program, GLint location, GLsizei count, const GLuint64 * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORM3UI64VNV)(GLuint program, GLint location, GLsizei count, const GLuint64EXT * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORM3UIEXT)(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); -// typedef void (APIENTRYP GPPROGRAMUNIFORM3UIV)(GLuint program, GLint location, GLsizei count, const GLuint * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORM3UIVEXT)(GLuint program, GLint location, GLsizei count, const GLuint * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORM4D)(GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3); -// typedef void (APIENTRYP GPPROGRAMUNIFORM4DEXT)(GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -// typedef void (APIENTRYP GPPROGRAMUNIFORM4DV)(GLuint program, GLint location, GLsizei count, const GLdouble * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORM4DVEXT)(GLuint program, GLint location, GLsizei count, const GLdouble * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORM4F)(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); -// typedef void (APIENTRYP GPPROGRAMUNIFORM4FEXT)(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); -// typedef void (APIENTRYP GPPROGRAMUNIFORM4FV)(GLuint program, GLint location, GLsizei count, const GLfloat * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORM4FVEXT)(GLuint program, GLint location, GLsizei count, const GLfloat * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORM4I)(GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); -// typedef void (APIENTRYP GPPROGRAMUNIFORM4I64ARB)(GLuint program, GLint location, GLint64 x, GLint64 y, GLint64 z, GLint64 w); -// typedef void (APIENTRYP GPPROGRAMUNIFORM4I64NV)(GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); -// typedef void (APIENTRYP GPPROGRAMUNIFORM4I64VARB)(GLuint program, GLint location, GLsizei count, const GLint64 * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORM4I64VNV)(GLuint program, GLint location, GLsizei count, const GLint64EXT * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORM4IEXT)(GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); -// typedef void (APIENTRYP GPPROGRAMUNIFORM4IV)(GLuint program, GLint location, GLsizei count, const GLint * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORM4IVEXT)(GLuint program, GLint location, GLsizei count, const GLint * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORM4UI)(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); -// typedef void (APIENTRYP GPPROGRAMUNIFORM4UI64ARB)(GLuint program, GLint location, GLuint64 x, GLuint64 y, GLuint64 z, GLuint64 w); -// typedef void (APIENTRYP GPPROGRAMUNIFORM4UI64NV)(GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); -// typedef void (APIENTRYP GPPROGRAMUNIFORM4UI64VARB)(GLuint program, GLint location, GLsizei count, const GLuint64 * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORM4UI64VNV)(GLuint program, GLint location, GLsizei count, const GLuint64EXT * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORM4UIEXT)(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); -// typedef void (APIENTRYP GPPROGRAMUNIFORM4UIV)(GLuint program, GLint location, GLsizei count, const GLuint * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORM4UIVEXT)(GLuint program, GLint location, GLsizei count, const GLuint * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORMHANDLEUI64ARB)(GLuint program, GLint location, GLuint64 value); -// typedef void (APIENTRYP GPPROGRAMUNIFORMHANDLEUI64NV)(GLuint program, GLint location, GLuint64 value); -// typedef void (APIENTRYP GPPROGRAMUNIFORMHANDLEUI64VARB)(GLuint program, GLint location, GLsizei count, const GLuint64 * values); -// typedef void (APIENTRYP GPPROGRAMUNIFORMHANDLEUI64VNV)(GLuint program, GLint location, GLsizei count, const GLuint64 * values); -// typedef void (APIENTRYP GPPROGRAMUNIFORMMATRIX2DV)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORMMATRIX2DVEXT)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORMMATRIX2FV)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORMMATRIX2FVEXT)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORMMATRIX2X3DV)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORMMATRIX2X3DVEXT)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORMMATRIX2X3FV)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORMMATRIX2X3FVEXT)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORMMATRIX2X4DV)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORMMATRIX2X4DVEXT)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORMMATRIX2X4FV)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORMMATRIX2X4FVEXT)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORMMATRIX3DV)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORMMATRIX3DVEXT)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORMMATRIX3FV)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORMMATRIX3FVEXT)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORMMATRIX3X2DV)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORMMATRIX3X2DVEXT)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORMMATRIX3X2FV)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORMMATRIX3X2FVEXT)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORMMATRIX3X4DV)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORMMATRIX3X4DVEXT)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORMMATRIX3X4FV)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORMMATRIX3X4FVEXT)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORMMATRIX4DV)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORMMATRIX4DVEXT)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORMMATRIX4FV)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORMMATRIX4FVEXT)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORMMATRIX4X2DV)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORMMATRIX4X2DVEXT)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORMMATRIX4X2FV)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORMMATRIX4X2FVEXT)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORMMATRIX4X3DV)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORMMATRIX4X3DVEXT)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORMMATRIX4X3FV)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORMMATRIX4X3FVEXT)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); -// typedef void (APIENTRYP GPPROGRAMUNIFORMUI64NV)(GLuint program, GLint location, GLuint64EXT value); -// typedef void (APIENTRYP GPPROGRAMUNIFORMUI64VNV)(GLuint program, GLint location, GLsizei count, const GLuint64EXT * value); -// typedef void (APIENTRYP GPPROGRAMVERTEXLIMITNV)(GLenum target, GLint limit); -// typedef void (APIENTRYP GPPROVOKINGVERTEX)(GLenum mode); -// typedef void (APIENTRYP GPPROVOKINGVERTEXEXT)(GLenum mode); -// typedef void (APIENTRYP GPPUSHATTRIB)(GLbitfield mask); -// typedef void (APIENTRYP GPPUSHCLIENTATTRIB)(GLbitfield mask); -// typedef void (APIENTRYP GPPUSHCLIENTATTRIBDEFAULTEXT)(GLbitfield mask); -// typedef void (APIENTRYP GPPUSHDEBUGGROUP)(GLenum source, GLuint id, GLsizei length, const GLchar * message); -// typedef void (APIENTRYP GPPUSHDEBUGGROUPKHR)(GLenum source, GLuint id, GLsizei length, const GLchar * message); -// typedef void (APIENTRYP GPPUSHGROUPMARKEREXT)(GLsizei length, const GLchar * marker); -// typedef void (APIENTRYP GPPUSHMATRIX)(); -// typedef void (APIENTRYP GPPUSHNAME)(GLuint name); -// typedef void (APIENTRYP GPQUERYCOUNTER)(GLuint id, GLenum target); -// typedef GLbitfield (APIENTRYP GPQUERYMATRIXXOES)(GLfixed * mantissa, GLint * exponent); -// typedef void (APIENTRYP GPQUERYOBJECTPARAMETERUIAMD)(GLenum target, GLuint id, GLenum pname, GLuint param); -// typedef GLint (APIENTRYP GPQUERYRESOURCENV)(GLenum queryType, GLint tagId, GLuint bufSize, GLint * buffer); -// typedef void (APIENTRYP GPQUERYRESOURCETAGNV)(GLint tagId, const GLchar * tagString); -// typedef void (APIENTRYP GPRASTERPOS2D)(GLdouble x, GLdouble y); -// typedef void (APIENTRYP GPRASTERPOS2DV)(const GLdouble * v); -// typedef void (APIENTRYP GPRASTERPOS2F)(GLfloat x, GLfloat y); -// typedef void (APIENTRYP GPRASTERPOS2FV)(const GLfloat * v); -// typedef void (APIENTRYP GPRASTERPOS2I)(GLint x, GLint y); -// typedef void (APIENTRYP GPRASTERPOS2IV)(const GLint * v); -// typedef void (APIENTRYP GPRASTERPOS2S)(GLshort x, GLshort y); -// typedef void (APIENTRYP GPRASTERPOS2SV)(const GLshort * v); -// typedef void (APIENTRYP GPRASTERPOS2XOES)(GLfixed x, GLfixed y); -// typedef void (APIENTRYP GPRASTERPOS2XVOES)(const GLfixed * coords); -// typedef void (APIENTRYP GPRASTERPOS3D)(GLdouble x, GLdouble y, GLdouble z); -// typedef void (APIENTRYP GPRASTERPOS3DV)(const GLdouble * v); -// typedef void (APIENTRYP GPRASTERPOS3F)(GLfloat x, GLfloat y, GLfloat z); -// typedef void (APIENTRYP GPRASTERPOS3FV)(const GLfloat * v); -// typedef void (APIENTRYP GPRASTERPOS3I)(GLint x, GLint y, GLint z); -// typedef void (APIENTRYP GPRASTERPOS3IV)(const GLint * v); -// typedef void (APIENTRYP GPRASTERPOS3S)(GLshort x, GLshort y, GLshort z); -// typedef void (APIENTRYP GPRASTERPOS3SV)(const GLshort * v); -// typedef void (APIENTRYP GPRASTERPOS3XOES)(GLfixed x, GLfixed y, GLfixed z); -// typedef void (APIENTRYP GPRASTERPOS3XVOES)(const GLfixed * coords); -// typedef void (APIENTRYP GPRASTERPOS4D)(GLdouble x, GLdouble y, GLdouble z, GLdouble w); -// typedef void (APIENTRYP GPRASTERPOS4DV)(const GLdouble * v); -// typedef void (APIENTRYP GPRASTERPOS4F)(GLfloat x, GLfloat y, GLfloat z, GLfloat w); -// typedef void (APIENTRYP GPRASTERPOS4FV)(const GLfloat * v); -// typedef void (APIENTRYP GPRASTERPOS4I)(GLint x, GLint y, GLint z, GLint w); -// typedef void (APIENTRYP GPRASTERPOS4IV)(const GLint * v); -// typedef void (APIENTRYP GPRASTERPOS4S)(GLshort x, GLshort y, GLshort z, GLshort w); -// typedef void (APIENTRYP GPRASTERPOS4SV)(const GLshort * v); -// typedef void (APIENTRYP GPRASTERPOS4XOES)(GLfixed x, GLfixed y, GLfixed z, GLfixed w); -// typedef void (APIENTRYP GPRASTERPOS4XVOES)(const GLfixed * coords); -// typedef void (APIENTRYP GPRASTERSAMPLESEXT)(GLuint samples, GLboolean fixedsamplelocations); -// typedef void (APIENTRYP GPREADBUFFER)(GLenum src); -// typedef void (APIENTRYP GPREADINSTRUMENTSSGIX)(GLint marker); // typedef void (APIENTRYP GPREADPIXELS)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void * pixels); -// typedef void (APIENTRYP GPREADNPIXELS)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void * data); -// typedef void (APIENTRYP GPREADNPIXELSARB)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void * data); -// typedef void (APIENTRYP GPREADNPIXELSKHR)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void * data); -// typedef void (APIENTRYP GPRECTD)(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2); -// typedef void (APIENTRYP GPRECTDV)(const GLdouble * v1, const GLdouble * v2); -// typedef void (APIENTRYP GPRECTF)(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2); -// typedef void (APIENTRYP GPRECTFV)(const GLfloat * v1, const GLfloat * v2); -// typedef void (APIENTRYP GPRECTI)(GLint x1, GLint y1, GLint x2, GLint y2); -// typedef void (APIENTRYP GPRECTIV)(const GLint * v1, const GLint * v2); -// typedef void (APIENTRYP GPRECTS)(GLshort x1, GLshort y1, GLshort x2, GLshort y2); -// typedef void (APIENTRYP GPRECTSV)(const GLshort * v1, const GLshort * v2); -// typedef void (APIENTRYP GPRECTXOES)(GLfixed x1, GLfixed y1, GLfixed x2, GLfixed y2); -// typedef void (APIENTRYP GPRECTXVOES)(const GLfixed * v1, const GLfixed * v2); -// typedef void (APIENTRYP GPREFERENCEPLANESGIX)(const GLdouble * equation); -// typedef GLboolean (APIENTRYP GPRELEASEKEYEDMUTEXWIN32EXT)(GLuint memory, GLuint64 key); -// typedef void (APIENTRYP GPRELEASESHADERCOMPILER)(); -// typedef void (APIENTRYP GPRENDERGPUMASKNV)(GLbitfield mask); -// typedef GLint (APIENTRYP GPRENDERMODE)(GLenum mode); -// typedef void (APIENTRYP GPRENDERBUFFERSTORAGE)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height); -// typedef void (APIENTRYP GPRENDERBUFFERSTORAGEEXT)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height); -// typedef void (APIENTRYP GPRENDERBUFFERSTORAGEMULTISAMPLE)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); -// typedef void (APIENTRYP GPRENDERBUFFERSTORAGEMULTISAMPLECOVERAGENV)(GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height); -// typedef void (APIENTRYP GPRENDERBUFFERSTORAGEMULTISAMPLEEXT)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); -// typedef void (APIENTRYP GPREPLACEMENTCODEPOINTERSUN)(GLenum type, GLsizei stride, const void ** pointer); -// typedef void (APIENTRYP GPREPLACEMENTCODEUBSUN)(GLubyte code); -// typedef void (APIENTRYP GPREPLACEMENTCODEUBVSUN)(const GLubyte * code); -// typedef void (APIENTRYP GPREPLACEMENTCODEUICOLOR3FVERTEX3FSUN)(GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z); -// typedef void (APIENTRYP GPREPLACEMENTCODEUICOLOR3FVERTEX3FVSUN)(const GLuint * rc, const GLfloat * c, const GLfloat * v); -// typedef void (APIENTRYP GPREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUN)(GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); -// typedef void (APIENTRYP GPREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUN)(const GLuint * rc, const GLfloat * c, const GLfloat * n, const GLfloat * v); -// typedef void (APIENTRYP GPREPLACEMENTCODEUICOLOR4UBVERTEX3FSUN)(GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z); -// typedef void (APIENTRYP GPREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUN)(const GLuint * rc, const GLubyte * c, const GLfloat * v); -// typedef void (APIENTRYP GPREPLACEMENTCODEUINORMAL3FVERTEX3FSUN)(GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); -// typedef void (APIENTRYP GPREPLACEMENTCODEUINORMAL3FVERTEX3FVSUN)(const GLuint * rc, const GLfloat * n, const GLfloat * v); -// typedef void (APIENTRYP GPREPLACEMENTCODEUISUN)(GLuint code); -// typedef void (APIENTRYP GPREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUN)(GLuint rc, GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); -// typedef void (APIENTRYP GPREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUN)(const GLuint * rc, const GLfloat * tc, const GLfloat * c, const GLfloat * n, const GLfloat * v); -// typedef void (APIENTRYP GPREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUN)(GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); -// typedef void (APIENTRYP GPREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUN)(const GLuint * rc, const GLfloat * tc, const GLfloat * n, const GLfloat * v); -// typedef void (APIENTRYP GPREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUN)(GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z); -// typedef void (APIENTRYP GPREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUN)(const GLuint * rc, const GLfloat * tc, const GLfloat * v); -// typedef void (APIENTRYP GPREPLACEMENTCODEUIVERTEX3FSUN)(GLuint rc, GLfloat x, GLfloat y, GLfloat z); -// typedef void (APIENTRYP GPREPLACEMENTCODEUIVERTEX3FVSUN)(const GLuint * rc, const GLfloat * v); -// typedef void (APIENTRYP GPREPLACEMENTCODEUIVSUN)(const GLuint * code); -// typedef void (APIENTRYP GPREPLACEMENTCODEUSSUN)(GLushort code); -// typedef void (APIENTRYP GPREPLACEMENTCODEUSVSUN)(const GLushort * code); -// typedef void (APIENTRYP GPREQUESTRESIDENTPROGRAMSNV)(GLsizei n, const GLuint * programs); -// typedef void (APIENTRYP GPRESETHISTOGRAMEXT)(GLenum target); -// typedef void (APIENTRYP GPRESETMINMAXEXT)(GLenum target); -// typedef void (APIENTRYP GPRESIZEBUFFERSMESA)(); -// typedef void (APIENTRYP GPRESOLVEDEPTHVALUESNV)(); -// typedef void (APIENTRYP GPRESUMETRANSFORMFEEDBACK)(); -// typedef void (APIENTRYP GPRESUMETRANSFORMFEEDBACKNV)(); -// typedef void (APIENTRYP GPROTATED)(GLdouble angle, GLdouble x, GLdouble y, GLdouble z); -// typedef void (APIENTRYP GPROTATEF)(GLfloat angle, GLfloat x, GLfloat y, GLfloat z); -// typedef void (APIENTRYP GPROTATEXOES)(GLfixed angle, GLfixed x, GLfixed y, GLfixed z); -// typedef void (APIENTRYP GPSAMPLECOVERAGE)(GLfloat value, GLboolean invert); -// typedef void (APIENTRYP GPSAMPLECOVERAGEARB)(GLfloat value, GLboolean invert); -// typedef void (APIENTRYP GPSAMPLECOVERAGEXOES)(GLclampx value, GLboolean invert); -// typedef void (APIENTRYP GPSAMPLEMAPATI)(GLuint dst, GLuint interp, GLenum swizzle); -// typedef void (APIENTRYP GPSAMPLEMASKEXT)(GLclampf value, GLboolean invert); -// typedef void (APIENTRYP GPSAMPLEMASKINDEXEDNV)(GLuint index, GLbitfield mask); -// typedef void (APIENTRYP GPSAMPLEMASKSGIS)(GLclampf value, GLboolean invert); -// typedef void (APIENTRYP GPSAMPLEMASKI)(GLuint maskNumber, GLbitfield mask); -// typedef void (APIENTRYP GPSAMPLEPATTERNEXT)(GLenum pattern); -// typedef void (APIENTRYP GPSAMPLEPATTERNSGIS)(GLenum pattern); -// typedef void (APIENTRYP GPSAMPLERPARAMETERIIV)(GLuint sampler, GLenum pname, const GLint * param); -// typedef void (APIENTRYP GPSAMPLERPARAMETERIUIV)(GLuint sampler, GLenum pname, const GLuint * param); -// typedef void (APIENTRYP GPSAMPLERPARAMETERF)(GLuint sampler, GLenum pname, GLfloat param); -// typedef void (APIENTRYP GPSAMPLERPARAMETERFV)(GLuint sampler, GLenum pname, const GLfloat * param); -// typedef void (APIENTRYP GPSAMPLERPARAMETERI)(GLuint sampler, GLenum pname, GLint param); -// typedef void (APIENTRYP GPSAMPLERPARAMETERIV)(GLuint sampler, GLenum pname, const GLint * param); -// typedef void (APIENTRYP GPSCALED)(GLdouble x, GLdouble y, GLdouble z); -// typedef void (APIENTRYP GPSCALEF)(GLfloat x, GLfloat y, GLfloat z); -// typedef void (APIENTRYP GPSCALEXOES)(GLfixed x, GLfixed y, GLfixed z); -// typedef void (APIENTRYP GPSCISSOR)(GLint x, GLint y, GLsizei width, GLsizei height); -// typedef void (APIENTRYP GPSCISSORARRAYV)(GLuint first, GLsizei count, const GLint * v); -// typedef void (APIENTRYP GPSCISSORINDEXED)(GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height); -// typedef void (APIENTRYP GPSCISSORINDEXEDV)(GLuint index, const GLint * v); -// typedef void (APIENTRYP GPSECONDARYCOLOR3B)(GLbyte red, GLbyte green, GLbyte blue); -// typedef void (APIENTRYP GPSECONDARYCOLOR3BEXT)(GLbyte red, GLbyte green, GLbyte blue); -// typedef void (APIENTRYP GPSECONDARYCOLOR3BV)(const GLbyte * v); -// typedef void (APIENTRYP GPSECONDARYCOLOR3BVEXT)(const GLbyte * v); -// typedef void (APIENTRYP GPSECONDARYCOLOR3D)(GLdouble red, GLdouble green, GLdouble blue); -// typedef void (APIENTRYP GPSECONDARYCOLOR3DEXT)(GLdouble red, GLdouble green, GLdouble blue); -// typedef void (APIENTRYP GPSECONDARYCOLOR3DV)(const GLdouble * v); -// typedef void (APIENTRYP GPSECONDARYCOLOR3DVEXT)(const GLdouble * v); -// typedef void (APIENTRYP GPSECONDARYCOLOR3F)(GLfloat red, GLfloat green, GLfloat blue); -// typedef void (APIENTRYP GPSECONDARYCOLOR3FEXT)(GLfloat red, GLfloat green, GLfloat blue); -// typedef void (APIENTRYP GPSECONDARYCOLOR3FV)(const GLfloat * v); -// typedef void (APIENTRYP GPSECONDARYCOLOR3FVEXT)(const GLfloat * v); -// typedef void (APIENTRYP GPSECONDARYCOLOR3HNV)(GLhalfNV red, GLhalfNV green, GLhalfNV blue); -// typedef void (APIENTRYP GPSECONDARYCOLOR3HVNV)(const GLhalfNV * v); -// typedef void (APIENTRYP GPSECONDARYCOLOR3I)(GLint red, GLint green, GLint blue); -// typedef void (APIENTRYP GPSECONDARYCOLOR3IEXT)(GLint red, GLint green, GLint blue); -// typedef void (APIENTRYP GPSECONDARYCOLOR3IV)(const GLint * v); -// typedef void (APIENTRYP GPSECONDARYCOLOR3IVEXT)(const GLint * v); -// typedef void (APIENTRYP GPSECONDARYCOLOR3S)(GLshort red, GLshort green, GLshort blue); -// typedef void (APIENTRYP GPSECONDARYCOLOR3SEXT)(GLshort red, GLshort green, GLshort blue); -// typedef void (APIENTRYP GPSECONDARYCOLOR3SV)(const GLshort * v); -// typedef void (APIENTRYP GPSECONDARYCOLOR3SVEXT)(const GLshort * v); -// typedef void (APIENTRYP GPSECONDARYCOLOR3UB)(GLubyte red, GLubyte green, GLubyte blue); -// typedef void (APIENTRYP GPSECONDARYCOLOR3UBEXT)(GLubyte red, GLubyte green, GLubyte blue); -// typedef void (APIENTRYP GPSECONDARYCOLOR3UBV)(const GLubyte * v); -// typedef void (APIENTRYP GPSECONDARYCOLOR3UBVEXT)(const GLubyte * v); -// typedef void (APIENTRYP GPSECONDARYCOLOR3UI)(GLuint red, GLuint green, GLuint blue); -// typedef void (APIENTRYP GPSECONDARYCOLOR3UIEXT)(GLuint red, GLuint green, GLuint blue); -// typedef void (APIENTRYP GPSECONDARYCOLOR3UIV)(const GLuint * v); -// typedef void (APIENTRYP GPSECONDARYCOLOR3UIVEXT)(const GLuint * v); -// typedef void (APIENTRYP GPSECONDARYCOLOR3US)(GLushort red, GLushort green, GLushort blue); -// typedef void (APIENTRYP GPSECONDARYCOLOR3USEXT)(GLushort red, GLushort green, GLushort blue); -// typedef void (APIENTRYP GPSECONDARYCOLOR3USV)(const GLushort * v); -// typedef void (APIENTRYP GPSECONDARYCOLOR3USVEXT)(const GLushort * v); -// typedef void (APIENTRYP GPSECONDARYCOLORFORMATNV)(GLint size, GLenum type, GLsizei stride); -// typedef void (APIENTRYP GPSECONDARYCOLORPOINTER)(GLint size, GLenum type, GLsizei stride, const void * pointer); -// typedef void (APIENTRYP GPSECONDARYCOLORPOINTEREXT)(GLint size, GLenum type, GLsizei stride, const void * pointer); -// typedef void (APIENTRYP GPSECONDARYCOLORPOINTERLISTIBM)(GLint size, GLenum type, GLint stride, const void ** pointer, GLint ptrstride); -// typedef void (APIENTRYP GPSELECTBUFFER)(GLsizei size, GLuint * buffer); -// typedef void (APIENTRYP GPSELECTPERFMONITORCOUNTERSAMD)(GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint * counterList); -// typedef void (APIENTRYP GPSEMAPHOREPARAMETERUI64VEXT)(GLuint semaphore, GLenum pname, const GLuint64 * params); -// typedef void (APIENTRYP GPSEPARABLEFILTER2DEXT)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * row, const void * column); -// typedef void (APIENTRYP GPSETFENCEAPPLE)(GLuint fence); -// typedef void (APIENTRYP GPSETFENCENV)(GLuint fence, GLenum condition); -// typedef void (APIENTRYP GPSETFRAGMENTSHADERCONSTANTATI)(GLuint dst, const GLfloat * value); -// typedef void (APIENTRYP GPSETINVARIANTEXT)(GLuint id, GLenum type, const void * addr); -// typedef void (APIENTRYP GPSETLOCALCONSTANTEXT)(GLuint id, GLenum type, const void * addr); -// typedef void (APIENTRYP GPSETMULTISAMPLEFVAMD)(GLenum pname, GLuint index, const GLfloat * val); -// typedef void (APIENTRYP GPSHADEMODEL)(GLenum mode); -// typedef void (APIENTRYP GPSHADERBINARY)(GLsizei count, const GLuint * shaders, GLenum binaryformat, const void * binary, GLsizei length); -// typedef void (APIENTRYP GPSHADEROP1EXT)(GLenum op, GLuint res, GLuint arg1); -// typedef void (APIENTRYP GPSHADEROP2EXT)(GLenum op, GLuint res, GLuint arg1, GLuint arg2); -// typedef void (APIENTRYP GPSHADEROP3EXT)(GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3); // typedef void (APIENTRYP GPSHADERSOURCE)(GLuint shader, GLsizei count, const GLchar *const* string, const GLint * length); -// typedef void (APIENTRYP GPSHADERSOURCEARB)(GLhandleARB shaderObj, GLsizei count, const GLcharARB ** string, const GLint * length); -// typedef void (APIENTRYP GPSHADERSTORAGEBLOCKBINDING)(GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding); -// typedef void (APIENTRYP GPSHARPENTEXFUNCSGIS)(GLenum target, GLsizei n, const GLfloat * points); -// typedef void (APIENTRYP GPSIGNALSEMAPHOREEXT)(GLuint semaphore, GLuint numBufferBarriers, const GLuint * buffers, GLuint numTextureBarriers, const GLuint * textures, const GLenum * dstLayouts); -// typedef void (APIENTRYP GPSIGNALVKFENCENV)(GLuint64 vkFence); -// typedef void (APIENTRYP GPSIGNALVKSEMAPHORENV)(GLuint64 vkSemaphore); -// typedef void (APIENTRYP GPSPECIALIZESHADERARB)(GLuint shader, const GLchar * pEntryPoint, GLuint numSpecializationConstants, const GLuint * pConstantIndex, const GLuint * pConstantValue); -// typedef void (APIENTRYP GPSPRITEPARAMETERFSGIX)(GLenum pname, GLfloat param); -// typedef void (APIENTRYP GPSPRITEPARAMETERFVSGIX)(GLenum pname, const GLfloat * params); -// typedef void (APIENTRYP GPSPRITEPARAMETERISGIX)(GLenum pname, GLint param); -// typedef void (APIENTRYP GPSPRITEPARAMETERIVSGIX)(GLenum pname, const GLint * params); -// typedef void (APIENTRYP GPSTARTINSTRUMENTSSGIX)(); -// typedef void (APIENTRYP GPSTATECAPTURENV)(GLuint state, GLenum mode); -// typedef void (APIENTRYP GPSTENCILCLEARTAGEXT)(GLsizei stencilTagBits, GLuint stencilClearTag); -// typedef void (APIENTRYP GPSTENCILFILLPATHINSTANCEDNV)(GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat * transformValues); -// typedef void (APIENTRYP GPSTENCILFILLPATHNV)(GLuint path, GLenum fillMode, GLuint mask); -// typedef void (APIENTRYP GPSTENCILFUNC)(GLenum func, GLint ref, GLuint mask); -// typedef void (APIENTRYP GPSTENCILFUNCSEPARATE)(GLenum face, GLenum func, GLint ref, GLuint mask); -// typedef void (APIENTRYP GPSTENCILFUNCSEPARATEATI)(GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask); -// typedef void (APIENTRYP GPSTENCILMASK)(GLuint mask); -// typedef void (APIENTRYP GPSTENCILMASKSEPARATE)(GLenum face, GLuint mask); -// typedef void (APIENTRYP GPSTENCILOP)(GLenum fail, GLenum zfail, GLenum zpass); -// typedef void (APIENTRYP GPSTENCILOPSEPARATE)(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); -// typedef void (APIENTRYP GPSTENCILOPSEPARATEATI)(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); -// typedef void (APIENTRYP GPSTENCILOPVALUEAMD)(GLenum face, GLuint value); -// typedef void (APIENTRYP GPSTENCILSTROKEPATHINSTANCEDNV)(GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat * transformValues); -// typedef void (APIENTRYP GPSTENCILSTROKEPATHNV)(GLuint path, GLint reference, GLuint mask); -// typedef void (APIENTRYP GPSTENCILTHENCOVERFILLPATHINSTANCEDNV)(GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat * transformValues); -// typedef void (APIENTRYP GPSTENCILTHENCOVERFILLPATHNV)(GLuint path, GLenum fillMode, GLuint mask, GLenum coverMode); -// typedef void (APIENTRYP GPSTENCILTHENCOVERSTROKEPATHINSTANCEDNV)(GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat * transformValues); -// typedef void (APIENTRYP GPSTENCILTHENCOVERSTROKEPATHNV)(GLuint path, GLint reference, GLuint mask, GLenum coverMode); -// typedef void (APIENTRYP GPSTOPINSTRUMENTSSGIX)(GLint marker); -// typedef void (APIENTRYP GPSTRINGMARKERGREMEDY)(GLsizei len, const void * string); -// typedef void (APIENTRYP GPSUBPIXELPRECISIONBIASNV)(GLuint xbits, GLuint ybits); -// typedef void (APIENTRYP GPSWIZZLEEXT)(GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW); -// typedef void (APIENTRYP GPSYNCTEXTUREINTEL)(GLuint texture); -// typedef void (APIENTRYP GPTAGSAMPLEBUFFERSGIX)(); -// typedef void (APIENTRYP GPTANGENT3BEXT)(GLbyte tx, GLbyte ty, GLbyte tz); -// typedef void (APIENTRYP GPTANGENT3BVEXT)(const GLbyte * v); -// typedef void (APIENTRYP GPTANGENT3DEXT)(GLdouble tx, GLdouble ty, GLdouble tz); -// typedef void (APIENTRYP GPTANGENT3DVEXT)(const GLdouble * v); -// typedef void (APIENTRYP GPTANGENT3FEXT)(GLfloat tx, GLfloat ty, GLfloat tz); -// typedef void (APIENTRYP GPTANGENT3FVEXT)(const GLfloat * v); -// typedef void (APIENTRYP GPTANGENT3IEXT)(GLint tx, GLint ty, GLint tz); -// typedef void (APIENTRYP GPTANGENT3IVEXT)(const GLint * v); -// typedef void (APIENTRYP GPTANGENT3SEXT)(GLshort tx, GLshort ty, GLshort tz); -// typedef void (APIENTRYP GPTANGENT3SVEXT)(const GLshort * v); -// typedef void (APIENTRYP GPTANGENTPOINTEREXT)(GLenum type, GLsizei stride, const void * pointer); -// typedef void (APIENTRYP GPTBUFFERMASK3DFX)(GLuint mask); -// typedef void (APIENTRYP GPTESSELLATIONFACTORAMD)(GLfloat factor); -// typedef void (APIENTRYP GPTESSELLATIONMODEAMD)(GLenum mode); -// typedef GLboolean (APIENTRYP GPTESTFENCEAPPLE)(GLuint fence); -// typedef GLboolean (APIENTRYP GPTESTFENCENV)(GLuint fence); -// typedef GLboolean (APIENTRYP GPTESTOBJECTAPPLE)(GLenum object, GLuint name); -// typedef void (APIENTRYP GPTEXBUFFERARB)(GLenum target, GLenum internalformat, GLuint buffer); -// typedef void (APIENTRYP GPTEXBUFFEREXT)(GLenum target, GLenum internalformat, GLuint buffer); -// typedef void (APIENTRYP GPTEXBUFFERRANGE)(GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); -// typedef void (APIENTRYP GPTEXBUMPPARAMETERFVATI)(GLenum pname, const GLfloat * param); -// typedef void (APIENTRYP GPTEXBUMPPARAMETERIVATI)(GLenum pname, const GLint * param); -// typedef void (APIENTRYP GPTEXCOORD1BOES)(GLbyte s); -// typedef void (APIENTRYP GPTEXCOORD1BVOES)(const GLbyte * coords); -// typedef void (APIENTRYP GPTEXCOORD1D)(GLdouble s); -// typedef void (APIENTRYP GPTEXCOORD1DV)(const GLdouble * v); -// typedef void (APIENTRYP GPTEXCOORD1F)(GLfloat s); -// typedef void (APIENTRYP GPTEXCOORD1FV)(const GLfloat * v); -// typedef void (APIENTRYP GPTEXCOORD1HNV)(GLhalfNV s); -// typedef void (APIENTRYP GPTEXCOORD1HVNV)(const GLhalfNV * v); -// typedef void (APIENTRYP GPTEXCOORD1I)(GLint s); -// typedef void (APIENTRYP GPTEXCOORD1IV)(const GLint * v); -// typedef void (APIENTRYP GPTEXCOORD1S)(GLshort s); -// typedef void (APIENTRYP GPTEXCOORD1SV)(const GLshort * v); -// typedef void (APIENTRYP GPTEXCOORD1XOES)(GLfixed s); -// typedef void (APIENTRYP GPTEXCOORD1XVOES)(const GLfixed * coords); -// typedef void (APIENTRYP GPTEXCOORD2BOES)(GLbyte s, GLbyte t); -// typedef void (APIENTRYP GPTEXCOORD2BVOES)(const GLbyte * coords); -// typedef void (APIENTRYP GPTEXCOORD2D)(GLdouble s, GLdouble t); -// typedef void (APIENTRYP GPTEXCOORD2DV)(const GLdouble * v); -// typedef void (APIENTRYP GPTEXCOORD2F)(GLfloat s, GLfloat t); -// typedef void (APIENTRYP GPTEXCOORD2FCOLOR3FVERTEX3FSUN)(GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z); -// typedef void (APIENTRYP GPTEXCOORD2FCOLOR3FVERTEX3FVSUN)(const GLfloat * tc, const GLfloat * c, const GLfloat * v); -// typedef void (APIENTRYP GPTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUN)(GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); -// typedef void (APIENTRYP GPTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUN)(const GLfloat * tc, const GLfloat * c, const GLfloat * n, const GLfloat * v); -// typedef void (APIENTRYP GPTEXCOORD2FCOLOR4UBVERTEX3FSUN)(GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z); -// typedef void (APIENTRYP GPTEXCOORD2FCOLOR4UBVERTEX3FVSUN)(const GLfloat * tc, const GLubyte * c, const GLfloat * v); -// typedef void (APIENTRYP GPTEXCOORD2FNORMAL3FVERTEX3FSUN)(GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); -// typedef void (APIENTRYP GPTEXCOORD2FNORMAL3FVERTEX3FVSUN)(const GLfloat * tc, const GLfloat * n, const GLfloat * v); -// typedef void (APIENTRYP GPTEXCOORD2FVERTEX3FSUN)(GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z); -// typedef void (APIENTRYP GPTEXCOORD2FVERTEX3FVSUN)(const GLfloat * tc, const GLfloat * v); -// typedef void (APIENTRYP GPTEXCOORD2FV)(const GLfloat * v); -// typedef void (APIENTRYP GPTEXCOORD2HNV)(GLhalfNV s, GLhalfNV t); -// typedef void (APIENTRYP GPTEXCOORD2HVNV)(const GLhalfNV * v); -// typedef void (APIENTRYP GPTEXCOORD2I)(GLint s, GLint t); -// typedef void (APIENTRYP GPTEXCOORD2IV)(const GLint * v); -// typedef void (APIENTRYP GPTEXCOORD2S)(GLshort s, GLshort t); -// typedef void (APIENTRYP GPTEXCOORD2SV)(const GLshort * v); -// typedef void (APIENTRYP GPTEXCOORD2XOES)(GLfixed s, GLfixed t); -// typedef void (APIENTRYP GPTEXCOORD2XVOES)(const GLfixed * coords); -// typedef void (APIENTRYP GPTEXCOORD3BOES)(GLbyte s, GLbyte t, GLbyte r); -// typedef void (APIENTRYP GPTEXCOORD3BVOES)(const GLbyte * coords); -// typedef void (APIENTRYP GPTEXCOORD3D)(GLdouble s, GLdouble t, GLdouble r); -// typedef void (APIENTRYP GPTEXCOORD3DV)(const GLdouble * v); -// typedef void (APIENTRYP GPTEXCOORD3F)(GLfloat s, GLfloat t, GLfloat r); -// typedef void (APIENTRYP GPTEXCOORD3FV)(const GLfloat * v); -// typedef void (APIENTRYP GPTEXCOORD3HNV)(GLhalfNV s, GLhalfNV t, GLhalfNV r); -// typedef void (APIENTRYP GPTEXCOORD3HVNV)(const GLhalfNV * v); -// typedef void (APIENTRYP GPTEXCOORD3I)(GLint s, GLint t, GLint r); -// typedef void (APIENTRYP GPTEXCOORD3IV)(const GLint * v); -// typedef void (APIENTRYP GPTEXCOORD3S)(GLshort s, GLshort t, GLshort r); -// typedef void (APIENTRYP GPTEXCOORD3SV)(const GLshort * v); -// typedef void (APIENTRYP GPTEXCOORD3XOES)(GLfixed s, GLfixed t, GLfixed r); -// typedef void (APIENTRYP GPTEXCOORD3XVOES)(const GLfixed * coords); -// typedef void (APIENTRYP GPTEXCOORD4BOES)(GLbyte s, GLbyte t, GLbyte r, GLbyte q); -// typedef void (APIENTRYP GPTEXCOORD4BVOES)(const GLbyte * coords); -// typedef void (APIENTRYP GPTEXCOORD4D)(GLdouble s, GLdouble t, GLdouble r, GLdouble q); -// typedef void (APIENTRYP GPTEXCOORD4DV)(const GLdouble * v); -// typedef void (APIENTRYP GPTEXCOORD4F)(GLfloat s, GLfloat t, GLfloat r, GLfloat q); -// typedef void (APIENTRYP GPTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUN)(GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -// typedef void (APIENTRYP GPTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUN)(const GLfloat * tc, const GLfloat * c, const GLfloat * n, const GLfloat * v); -// typedef void (APIENTRYP GPTEXCOORD4FVERTEX4FSUN)(GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -// typedef void (APIENTRYP GPTEXCOORD4FVERTEX4FVSUN)(const GLfloat * tc, const GLfloat * v); -// typedef void (APIENTRYP GPTEXCOORD4FV)(const GLfloat * v); -// typedef void (APIENTRYP GPTEXCOORD4HNV)(GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q); -// typedef void (APIENTRYP GPTEXCOORD4HVNV)(const GLhalfNV * v); -// typedef void (APIENTRYP GPTEXCOORD4I)(GLint s, GLint t, GLint r, GLint q); -// typedef void (APIENTRYP GPTEXCOORD4IV)(const GLint * v); -// typedef void (APIENTRYP GPTEXCOORD4S)(GLshort s, GLshort t, GLshort r, GLshort q); -// typedef void (APIENTRYP GPTEXCOORD4SV)(const GLshort * v); -// typedef void (APIENTRYP GPTEXCOORD4XOES)(GLfixed s, GLfixed t, GLfixed r, GLfixed q); -// typedef void (APIENTRYP GPTEXCOORD4XVOES)(const GLfixed * coords); -// typedef void (APIENTRYP GPTEXCOORDFORMATNV)(GLint size, GLenum type, GLsizei stride); -// typedef void (APIENTRYP GPTEXCOORDPOINTER)(GLint size, GLenum type, GLsizei stride, const void * pointer); -// typedef void (APIENTRYP GPTEXCOORDPOINTEREXT)(GLint size, GLenum type, GLsizei stride, GLsizei count, const void * pointer); -// typedef void (APIENTRYP GPTEXCOORDPOINTERLISTIBM)(GLint size, GLenum type, GLint stride, const void ** pointer, GLint ptrstride); -// typedef void (APIENTRYP GPTEXCOORDPOINTERVINTEL)(GLint size, GLenum type, const void ** pointer); -// typedef void (APIENTRYP GPTEXENVF)(GLenum target, GLenum pname, GLfloat param); -// typedef void (APIENTRYP GPTEXENVFV)(GLenum target, GLenum pname, const GLfloat * params); -// typedef void (APIENTRYP GPTEXENVI)(GLenum target, GLenum pname, GLint param); -// typedef void (APIENTRYP GPTEXENVIV)(GLenum target, GLenum pname, const GLint * params); -// typedef void (APIENTRYP GPTEXENVXOES)(GLenum target, GLenum pname, GLfixed param); -// typedef void (APIENTRYP GPTEXENVXVOES)(GLenum target, GLenum pname, const GLfixed * params); -// typedef void (APIENTRYP GPTEXFILTERFUNCSGIS)(GLenum target, GLenum filter, GLsizei n, const GLfloat * weights); -// typedef void (APIENTRYP GPTEXGEND)(GLenum coord, GLenum pname, GLdouble param); -// typedef void (APIENTRYP GPTEXGENDV)(GLenum coord, GLenum pname, const GLdouble * params); -// typedef void (APIENTRYP GPTEXGENF)(GLenum coord, GLenum pname, GLfloat param); -// typedef void (APIENTRYP GPTEXGENFV)(GLenum coord, GLenum pname, const GLfloat * params); -// typedef void (APIENTRYP GPTEXGENI)(GLenum coord, GLenum pname, GLint param); -// typedef void (APIENTRYP GPTEXGENIV)(GLenum coord, GLenum pname, const GLint * params); -// typedef void (APIENTRYP GPTEXGENXOES)(GLenum coord, GLenum pname, GLfixed param); -// typedef void (APIENTRYP GPTEXGENXVOES)(GLenum coord, GLenum pname, const GLfixed * params); -// typedef void (APIENTRYP GPTEXIMAGE1D)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void * pixels); // typedef void (APIENTRYP GPTEXIMAGE2D)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void * pixels); -// typedef void (APIENTRYP GPTEXIMAGE2DMULTISAMPLE)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); -// typedef void (APIENTRYP GPTEXIMAGE2DMULTISAMPLECOVERAGENV)(GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations); -// typedef void (APIENTRYP GPTEXIMAGE3D)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void * pixels); -// typedef void (APIENTRYP GPTEXIMAGE3DEXT)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void * pixels); -// typedef void (APIENTRYP GPTEXIMAGE3DMULTISAMPLE)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); -// typedef void (APIENTRYP GPTEXIMAGE3DMULTISAMPLECOVERAGENV)(GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations); -// typedef void (APIENTRYP GPTEXIMAGE4DSGIS)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLint border, GLenum format, GLenum type, const void * pixels); -// typedef void (APIENTRYP GPTEXPAGECOMMITMENTARB)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit); -// typedef void (APIENTRYP GPTEXPARAMETERIIVEXT)(GLenum target, GLenum pname, const GLint * params); -// typedef void (APIENTRYP GPTEXPARAMETERIUIVEXT)(GLenum target, GLenum pname, const GLuint * params); -// typedef void (APIENTRYP GPTEXPARAMETERF)(GLenum target, GLenum pname, GLfloat param); -// typedef void (APIENTRYP GPTEXPARAMETERFV)(GLenum target, GLenum pname, const GLfloat * params); // typedef void (APIENTRYP GPTEXPARAMETERI)(GLenum target, GLenum pname, GLint param); -// typedef void (APIENTRYP GPTEXPARAMETERIV)(GLenum target, GLenum pname, const GLint * params); -// typedef void (APIENTRYP GPTEXPARAMETERXOES)(GLenum target, GLenum pname, GLfixed param); -// typedef void (APIENTRYP GPTEXPARAMETERXVOES)(GLenum target, GLenum pname, const GLfixed * params); -// typedef void (APIENTRYP GPTEXRENDERBUFFERNV)(GLenum target, GLuint renderbuffer); -// typedef void (APIENTRYP GPTEXSTORAGE1D)(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); -// typedef void (APIENTRYP GPTEXSTORAGE2D)(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); -// typedef void (APIENTRYP GPTEXSTORAGE2DMULTISAMPLE)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); -// typedef void (APIENTRYP GPTEXSTORAGE3D)(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); -// typedef void (APIENTRYP GPTEXSTORAGE3DMULTISAMPLE)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); -// typedef void (APIENTRYP GPTEXSTORAGEMEM1DEXT)(GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLuint memory, GLuint64 offset); -// typedef void (APIENTRYP GPTEXSTORAGEMEM2DEXT)(GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset); -// typedef void (APIENTRYP GPTEXSTORAGEMEM2DMULTISAMPLEEXT)(GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); -// typedef void (APIENTRYP GPTEXSTORAGEMEM3DEXT)(GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset); -// typedef void (APIENTRYP GPTEXSTORAGEMEM3DMULTISAMPLEEXT)(GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); -// typedef void (APIENTRYP GPTEXSTORAGESPARSEAMD)(GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags); -// typedef void (APIENTRYP GPTEXSUBIMAGE1D)(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void * pixels); -// typedef void (APIENTRYP GPTEXSUBIMAGE1DEXT)(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void * pixels); // typedef void (APIENTRYP GPTEXSUBIMAGE2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * pixels); -// typedef void (APIENTRYP GPTEXSUBIMAGE2DEXT)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * pixels); -// typedef void (APIENTRYP GPTEXSUBIMAGE3D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * pixels); -// typedef void (APIENTRYP GPTEXSUBIMAGE3DEXT)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * pixels); -// typedef void (APIENTRYP GPTEXSUBIMAGE4DSGIS)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLenum format, GLenum type, const void * pixels); -// typedef void (APIENTRYP GPTEXTUREBARRIER)(); -// typedef void (APIENTRYP GPTEXTUREBARRIERNV)(); -// typedef void (APIENTRYP GPTEXTUREBUFFER)(GLuint texture, GLenum internalformat, GLuint buffer); -// typedef void (APIENTRYP GPTEXTUREBUFFEREXT)(GLuint texture, GLenum target, GLenum internalformat, GLuint buffer); -// typedef void (APIENTRYP GPTEXTUREBUFFERRANGE)(GLuint texture, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); -// typedef void (APIENTRYP GPTEXTUREBUFFERRANGEEXT)(GLuint texture, GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); -// typedef void (APIENTRYP GPTEXTURECOLORMASKSGIS)(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); -// typedef void (APIENTRYP GPTEXTUREIMAGE1DEXT)(GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void * pixels); -// typedef void (APIENTRYP GPTEXTUREIMAGE2DEXT)(GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void * pixels); -// typedef void (APIENTRYP GPTEXTUREIMAGE2DMULTISAMPLECOVERAGENV)(GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations); -// typedef void (APIENTRYP GPTEXTUREIMAGE2DMULTISAMPLENV)(GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations); -// typedef void (APIENTRYP GPTEXTUREIMAGE3DEXT)(GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void * pixels); -// typedef void (APIENTRYP GPTEXTUREIMAGE3DMULTISAMPLECOVERAGENV)(GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations); -// typedef void (APIENTRYP GPTEXTUREIMAGE3DMULTISAMPLENV)(GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations); -// typedef void (APIENTRYP GPTEXTURELIGHTEXT)(GLenum pname); -// typedef void (APIENTRYP GPTEXTUREMATERIALEXT)(GLenum face, GLenum mode); -// typedef void (APIENTRYP GPTEXTURENORMALEXT)(GLenum mode); -// typedef void (APIENTRYP GPTEXTUREPAGECOMMITMENTEXT)(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit); -// typedef void (APIENTRYP GPTEXTUREPARAMETERIIV)(GLuint texture, GLenum pname, const GLint * params); -// typedef void (APIENTRYP GPTEXTUREPARAMETERIIVEXT)(GLuint texture, GLenum target, GLenum pname, const GLint * params); -// typedef void (APIENTRYP GPTEXTUREPARAMETERIUIV)(GLuint texture, GLenum pname, const GLuint * params); -// typedef void (APIENTRYP GPTEXTUREPARAMETERIUIVEXT)(GLuint texture, GLenum target, GLenum pname, const GLuint * params); -// typedef void (APIENTRYP GPTEXTUREPARAMETERF)(GLuint texture, GLenum pname, GLfloat param); -// typedef void (APIENTRYP GPTEXTUREPARAMETERFEXT)(GLuint texture, GLenum target, GLenum pname, GLfloat param); -// typedef void (APIENTRYP GPTEXTUREPARAMETERFV)(GLuint texture, GLenum pname, const GLfloat * param); -// typedef void (APIENTRYP GPTEXTUREPARAMETERFVEXT)(GLuint texture, GLenum target, GLenum pname, const GLfloat * params); -// typedef void (APIENTRYP GPTEXTUREPARAMETERI)(GLuint texture, GLenum pname, GLint param); -// typedef void (APIENTRYP GPTEXTUREPARAMETERIEXT)(GLuint texture, GLenum target, GLenum pname, GLint param); -// typedef void (APIENTRYP GPTEXTUREPARAMETERIV)(GLuint texture, GLenum pname, const GLint * param); -// typedef void (APIENTRYP GPTEXTUREPARAMETERIVEXT)(GLuint texture, GLenum target, GLenum pname, const GLint * params); -// typedef void (APIENTRYP GPTEXTURERANGEAPPLE)(GLenum target, GLsizei length, const void * pointer); -// typedef void (APIENTRYP GPTEXTURERENDERBUFFEREXT)(GLuint texture, GLenum target, GLuint renderbuffer); -// typedef void (APIENTRYP GPTEXTURESTORAGE1D)(GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width); -// typedef void (APIENTRYP GPTEXTURESTORAGE1DEXT)(GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); -// typedef void (APIENTRYP GPTEXTURESTORAGE2D)(GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); -// typedef void (APIENTRYP GPTEXTURESTORAGE2DEXT)(GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); -// typedef void (APIENTRYP GPTEXTURESTORAGE2DMULTISAMPLE)(GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); -// typedef void (APIENTRYP GPTEXTURESTORAGE2DMULTISAMPLEEXT)(GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); -// typedef void (APIENTRYP GPTEXTURESTORAGE3D)(GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); -// typedef void (APIENTRYP GPTEXTURESTORAGE3DEXT)(GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); -// typedef void (APIENTRYP GPTEXTURESTORAGE3DMULTISAMPLE)(GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); -// typedef void (APIENTRYP GPTEXTURESTORAGE3DMULTISAMPLEEXT)(GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); -// typedef void (APIENTRYP GPTEXTURESTORAGEMEM1DEXT)(GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLuint memory, GLuint64 offset); -// typedef void (APIENTRYP GPTEXTURESTORAGEMEM2DEXT)(GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset); -// typedef void (APIENTRYP GPTEXTURESTORAGEMEM2DMULTISAMPLEEXT)(GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); -// typedef void (APIENTRYP GPTEXTURESTORAGEMEM3DEXT)(GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset); -// typedef void (APIENTRYP GPTEXTURESTORAGEMEM3DMULTISAMPLEEXT)(GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset); -// typedef void (APIENTRYP GPTEXTURESTORAGESPARSEAMD)(GLuint texture, GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags); -// typedef void (APIENTRYP GPTEXTURESUBIMAGE1D)(GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void * pixels); -// typedef void (APIENTRYP GPTEXTURESUBIMAGE1DEXT)(GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void * pixels); -// typedef void (APIENTRYP GPTEXTURESUBIMAGE2D)(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * pixels); -// typedef void (APIENTRYP GPTEXTURESUBIMAGE2DEXT)(GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * pixels); -// typedef void (APIENTRYP GPTEXTURESUBIMAGE3D)(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * pixels); -// typedef void (APIENTRYP GPTEXTURESUBIMAGE3DEXT)(GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * pixels); -// typedef void (APIENTRYP GPTEXTUREVIEW)(GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers); -// typedef void (APIENTRYP GPTRACKMATRIXNV)(GLenum target, GLuint address, GLenum matrix, GLenum transform); -// typedef void (APIENTRYP GPTRANSFORMFEEDBACKATTRIBSNV)(GLsizei count, const GLint * attribs, GLenum bufferMode); -// typedef void (APIENTRYP GPTRANSFORMFEEDBACKBUFFERBASE)(GLuint xfb, GLuint index, GLuint buffer); -// typedef void (APIENTRYP GPTRANSFORMFEEDBACKBUFFERRANGE)(GLuint xfb, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); -// typedef void (APIENTRYP GPTRANSFORMFEEDBACKSTREAMATTRIBSNV)(GLsizei count, const GLint * attribs, GLsizei nbuffers, const GLint * bufstreams, GLenum bufferMode); -// typedef void (APIENTRYP GPTRANSFORMFEEDBACKVARYINGSEXT)(GLuint program, GLsizei count, const GLchar *const* varyings, GLenum bufferMode); -// typedef void (APIENTRYP GPTRANSFORMFEEDBACKVARYINGSNV)(GLuint program, GLsizei count, const GLint * locations, GLenum bufferMode); -// typedef void (APIENTRYP GPTRANSFORMPATHNV)(GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat * transformValues); -// typedef void (APIENTRYP GPTRANSLATED)(GLdouble x, GLdouble y, GLdouble z); -// typedef void (APIENTRYP GPTRANSLATEF)(GLfloat x, GLfloat y, GLfloat z); -// typedef void (APIENTRYP GPTRANSLATEXOES)(GLfixed x, GLfixed y, GLfixed z); -// typedef void (APIENTRYP GPUNIFORM1D)(GLint location, GLdouble x); -// typedef void (APIENTRYP GPUNIFORM1DV)(GLint location, GLsizei count, const GLdouble * value); // typedef void (APIENTRYP GPUNIFORM1F)(GLint location, GLfloat v0); -// typedef void (APIENTRYP GPUNIFORM1FARB)(GLint location, GLfloat v0); -// typedef void (APIENTRYP GPUNIFORM1FV)(GLint location, GLsizei count, const GLfloat * value); -// typedef void (APIENTRYP GPUNIFORM1FVARB)(GLint location, GLsizei count, const GLfloat * value); // typedef void (APIENTRYP GPUNIFORM1I)(GLint location, GLint v0); -// typedef void (APIENTRYP GPUNIFORM1I64ARB)(GLint location, GLint64 x); -// typedef void (APIENTRYP GPUNIFORM1I64NV)(GLint location, GLint64EXT x); -// typedef void (APIENTRYP GPUNIFORM1I64VARB)(GLint location, GLsizei count, const GLint64 * value); -// typedef void (APIENTRYP GPUNIFORM1I64VNV)(GLint location, GLsizei count, const GLint64EXT * value); -// typedef void (APIENTRYP GPUNIFORM1IARB)(GLint location, GLint v0); -// typedef void (APIENTRYP GPUNIFORM1IV)(GLint location, GLsizei count, const GLint * value); -// typedef void (APIENTRYP GPUNIFORM1IVARB)(GLint location, GLsizei count, const GLint * value); -// typedef void (APIENTRYP GPUNIFORM1UI64ARB)(GLint location, GLuint64 x); -// typedef void (APIENTRYP GPUNIFORM1UI64NV)(GLint location, GLuint64EXT x); -// typedef void (APIENTRYP GPUNIFORM1UI64VARB)(GLint location, GLsizei count, const GLuint64 * value); -// typedef void (APIENTRYP GPUNIFORM1UI64VNV)(GLint location, GLsizei count, const GLuint64EXT * value); -// typedef void (APIENTRYP GPUNIFORM1UIEXT)(GLint location, GLuint v0); -// typedef void (APIENTRYP GPUNIFORM1UIVEXT)(GLint location, GLsizei count, const GLuint * value); -// typedef void (APIENTRYP GPUNIFORM2D)(GLint location, GLdouble x, GLdouble y); -// typedef void (APIENTRYP GPUNIFORM2DV)(GLint location, GLsizei count, const GLdouble * value); -// typedef void (APIENTRYP GPUNIFORM2F)(GLint location, GLfloat v0, GLfloat v1); -// typedef void (APIENTRYP GPUNIFORM2FARB)(GLint location, GLfloat v0, GLfloat v1); // typedef void (APIENTRYP GPUNIFORM2FV)(GLint location, GLsizei count, const GLfloat * value); -// typedef void (APIENTRYP GPUNIFORM2FVARB)(GLint location, GLsizei count, const GLfloat * value); -// typedef void (APIENTRYP GPUNIFORM2I)(GLint location, GLint v0, GLint v1); -// typedef void (APIENTRYP GPUNIFORM2I64ARB)(GLint location, GLint64 x, GLint64 y); -// typedef void (APIENTRYP GPUNIFORM2I64NV)(GLint location, GLint64EXT x, GLint64EXT y); -// typedef void (APIENTRYP GPUNIFORM2I64VARB)(GLint location, GLsizei count, const GLint64 * value); -// typedef void (APIENTRYP GPUNIFORM2I64VNV)(GLint location, GLsizei count, const GLint64EXT * value); -// typedef void (APIENTRYP GPUNIFORM2IARB)(GLint location, GLint v0, GLint v1); -// typedef void (APIENTRYP GPUNIFORM2IV)(GLint location, GLsizei count, const GLint * value); -// typedef void (APIENTRYP GPUNIFORM2IVARB)(GLint location, GLsizei count, const GLint * value); -// typedef void (APIENTRYP GPUNIFORM2UI64ARB)(GLint location, GLuint64 x, GLuint64 y); -// typedef void (APIENTRYP GPUNIFORM2UI64NV)(GLint location, GLuint64EXT x, GLuint64EXT y); -// typedef void (APIENTRYP GPUNIFORM2UI64VARB)(GLint location, GLsizei count, const GLuint64 * value); -// typedef void (APIENTRYP GPUNIFORM2UI64VNV)(GLint location, GLsizei count, const GLuint64EXT * value); -// typedef void (APIENTRYP GPUNIFORM2UIEXT)(GLint location, GLuint v0, GLuint v1); -// typedef void (APIENTRYP GPUNIFORM2UIVEXT)(GLint location, GLsizei count, const GLuint * value); -// typedef void (APIENTRYP GPUNIFORM3D)(GLint location, GLdouble x, GLdouble y, GLdouble z); -// typedef void (APIENTRYP GPUNIFORM3DV)(GLint location, GLsizei count, const GLdouble * value); -// typedef void (APIENTRYP GPUNIFORM3F)(GLint location, GLfloat v0, GLfloat v1, GLfloat v2); -// typedef void (APIENTRYP GPUNIFORM3FARB)(GLint location, GLfloat v0, GLfloat v1, GLfloat v2); -// typedef void (APIENTRYP GPUNIFORM3FV)(GLint location, GLsizei count, const GLfloat * value); -// typedef void (APIENTRYP GPUNIFORM3FVARB)(GLint location, GLsizei count, const GLfloat * value); -// typedef void (APIENTRYP GPUNIFORM3I)(GLint location, GLint v0, GLint v1, GLint v2); -// typedef void (APIENTRYP GPUNIFORM3I64ARB)(GLint location, GLint64 x, GLint64 y, GLint64 z); -// typedef void (APIENTRYP GPUNIFORM3I64NV)(GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); -// typedef void (APIENTRYP GPUNIFORM3I64VARB)(GLint location, GLsizei count, const GLint64 * value); -// typedef void (APIENTRYP GPUNIFORM3I64VNV)(GLint location, GLsizei count, const GLint64EXT * value); -// typedef void (APIENTRYP GPUNIFORM3IARB)(GLint location, GLint v0, GLint v1, GLint v2); -// typedef void (APIENTRYP GPUNIFORM3IV)(GLint location, GLsizei count, const GLint * value); -// typedef void (APIENTRYP GPUNIFORM3IVARB)(GLint location, GLsizei count, const GLint * value); -// typedef void (APIENTRYP GPUNIFORM3UI64ARB)(GLint location, GLuint64 x, GLuint64 y, GLuint64 z); -// typedef void (APIENTRYP GPUNIFORM3UI64NV)(GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); -// typedef void (APIENTRYP GPUNIFORM3UI64VARB)(GLint location, GLsizei count, const GLuint64 * value); -// typedef void (APIENTRYP GPUNIFORM3UI64VNV)(GLint location, GLsizei count, const GLuint64EXT * value); -// typedef void (APIENTRYP GPUNIFORM3UIEXT)(GLint location, GLuint v0, GLuint v1, GLuint v2); -// typedef void (APIENTRYP GPUNIFORM3UIVEXT)(GLint location, GLsizei count, const GLuint * value); -// typedef void (APIENTRYP GPUNIFORM4D)(GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -// typedef void (APIENTRYP GPUNIFORM4DV)(GLint location, GLsizei count, const GLdouble * value); -// typedef void (APIENTRYP GPUNIFORM4F)(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); -// typedef void (APIENTRYP GPUNIFORM4FARB)(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); // typedef void (APIENTRYP GPUNIFORM4FV)(GLint location, GLsizei count, const GLfloat * value); -// typedef void (APIENTRYP GPUNIFORM4FVARB)(GLint location, GLsizei count, const GLfloat * value); -// typedef void (APIENTRYP GPUNIFORM4I)(GLint location, GLint v0, GLint v1, GLint v2, GLint v3); -// typedef void (APIENTRYP GPUNIFORM4I64ARB)(GLint location, GLint64 x, GLint64 y, GLint64 z, GLint64 w); -// typedef void (APIENTRYP GPUNIFORM4I64NV)(GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); -// typedef void (APIENTRYP GPUNIFORM4I64VARB)(GLint location, GLsizei count, const GLint64 * value); -// typedef void (APIENTRYP GPUNIFORM4I64VNV)(GLint location, GLsizei count, const GLint64EXT * value); -// typedef void (APIENTRYP GPUNIFORM4IARB)(GLint location, GLint v0, GLint v1, GLint v2, GLint v3); -// typedef void (APIENTRYP GPUNIFORM4IV)(GLint location, GLsizei count, const GLint * value); -// typedef void (APIENTRYP GPUNIFORM4IVARB)(GLint location, GLsizei count, const GLint * value); -// typedef void (APIENTRYP GPUNIFORM4UI64ARB)(GLint location, GLuint64 x, GLuint64 y, GLuint64 z, GLuint64 w); -// typedef void (APIENTRYP GPUNIFORM4UI64NV)(GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); -// typedef void (APIENTRYP GPUNIFORM4UI64VARB)(GLint location, GLsizei count, const GLuint64 * value); -// typedef void (APIENTRYP GPUNIFORM4UI64VNV)(GLint location, GLsizei count, const GLuint64EXT * value); -// typedef void (APIENTRYP GPUNIFORM4UIEXT)(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); -// typedef void (APIENTRYP GPUNIFORM4UIVEXT)(GLint location, GLsizei count, const GLuint * value); -// typedef void (APIENTRYP GPUNIFORMBLOCKBINDING)(GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding); -// typedef void (APIENTRYP GPUNIFORMBUFFEREXT)(GLuint program, GLint location, GLuint buffer); -// typedef void (APIENTRYP GPUNIFORMHANDLEUI64ARB)(GLint location, GLuint64 value); -// typedef void (APIENTRYP GPUNIFORMHANDLEUI64NV)(GLint location, GLuint64 value); -// typedef void (APIENTRYP GPUNIFORMHANDLEUI64VARB)(GLint location, GLsizei count, const GLuint64 * value); -// typedef void (APIENTRYP GPUNIFORMHANDLEUI64VNV)(GLint location, GLsizei count, const GLuint64 * value); -// typedef void (APIENTRYP GPUNIFORMMATRIX2DV)(GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); -// typedef void (APIENTRYP GPUNIFORMMATRIX2FV)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); -// typedef void (APIENTRYP GPUNIFORMMATRIX2FVARB)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); -// typedef void (APIENTRYP GPUNIFORMMATRIX2X3DV)(GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); -// typedef void (APIENTRYP GPUNIFORMMATRIX2X3FV)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); -// typedef void (APIENTRYP GPUNIFORMMATRIX2X4DV)(GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); -// typedef void (APIENTRYP GPUNIFORMMATRIX2X4FV)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); -// typedef void (APIENTRYP GPUNIFORMMATRIX3DV)(GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); -// typedef void (APIENTRYP GPUNIFORMMATRIX3FV)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); -// typedef void (APIENTRYP GPUNIFORMMATRIX3FVARB)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); -// typedef void (APIENTRYP GPUNIFORMMATRIX3X2DV)(GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); -// typedef void (APIENTRYP GPUNIFORMMATRIX3X2FV)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); -// typedef void (APIENTRYP GPUNIFORMMATRIX3X4DV)(GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); -// typedef void (APIENTRYP GPUNIFORMMATRIX3X4FV)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); -// typedef void (APIENTRYP GPUNIFORMMATRIX4DV)(GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); // typedef void (APIENTRYP GPUNIFORMMATRIX4FV)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); -// typedef void (APIENTRYP GPUNIFORMMATRIX4FVARB)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); -// typedef void (APIENTRYP GPUNIFORMMATRIX4X2DV)(GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); -// typedef void (APIENTRYP GPUNIFORMMATRIX4X2FV)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); -// typedef void (APIENTRYP GPUNIFORMMATRIX4X3DV)(GLint location, GLsizei count, GLboolean transpose, const GLdouble * value); -// typedef void (APIENTRYP GPUNIFORMMATRIX4X3FV)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); -// typedef void (APIENTRYP GPUNIFORMSUBROUTINESUIV)(GLenum shadertype, GLsizei count, const GLuint * indices); -// typedef void (APIENTRYP GPUNIFORMUI64NV)(GLint location, GLuint64EXT value); -// typedef void (APIENTRYP GPUNIFORMUI64VNV)(GLint location, GLsizei count, const GLuint64EXT * value); -// typedef void (APIENTRYP GPUNLOCKARRAYSEXT)(); -// typedef GLboolean (APIENTRYP GPUNMAPBUFFER)(GLenum target); -// typedef GLboolean (APIENTRYP GPUNMAPBUFFERARB)(GLenum target); -// typedef GLboolean (APIENTRYP GPUNMAPNAMEDBUFFER)(GLuint buffer); -// typedef GLboolean (APIENTRYP GPUNMAPNAMEDBUFFEREXT)(GLuint buffer); -// typedef void (APIENTRYP GPUNMAPOBJECTBUFFERATI)(GLuint buffer); -// typedef void (APIENTRYP GPUNMAPTEXTURE2DINTEL)(GLuint texture, GLint level); -// typedef void (APIENTRYP GPUPDATEOBJECTBUFFERATI)(GLuint buffer, GLuint offset, GLsizei size, const void * pointer, GLenum preserve); // typedef void (APIENTRYP GPUSEPROGRAM)(GLuint program); -// typedef void (APIENTRYP GPUSEPROGRAMOBJECTARB)(GLhandleARB programObj); -// typedef void (APIENTRYP GPUSEPROGRAMSTAGES)(GLuint pipeline, GLbitfield stages, GLuint program); -// typedef void (APIENTRYP GPUSEPROGRAMSTAGESEXT)(GLuint pipeline, GLbitfield stages, GLuint program); -// typedef void (APIENTRYP GPUSESHADERPROGRAMEXT)(GLenum type, GLuint program); -// typedef void (APIENTRYP GPVDPAUFININV)(); -// typedef void (APIENTRYP GPVDPAUGETSURFACEIVNV)(GLvdpauSurfaceNV surface, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * values); -// typedef void (APIENTRYP GPVDPAUINITNV)(const void * vdpDevice, const void * getProcAddress); -// typedef GLboolean (APIENTRYP GPVDPAUISSURFACENV)(GLvdpauSurfaceNV surface); -// typedef void (APIENTRYP GPVDPAUMAPSURFACESNV)(GLsizei numSurfaces, const GLvdpauSurfaceNV * surfaces); -// typedef GLvdpauSurfaceNV (APIENTRYP GPVDPAUREGISTEROUTPUTSURFACENV)(const void * vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint * textureNames); -// typedef GLvdpauSurfaceNV (APIENTRYP GPVDPAUREGISTERVIDEOSURFACENV)(const void * vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint * textureNames); -// typedef void (APIENTRYP GPVDPAUSURFACEACCESSNV)(GLvdpauSurfaceNV surface, GLenum access); -// typedef void (APIENTRYP GPVDPAUUNMAPSURFACESNV)(GLsizei numSurface, const GLvdpauSurfaceNV * surfaces); -// typedef void (APIENTRYP GPVDPAUUNREGISTERSURFACENV)(GLvdpauSurfaceNV surface); -// typedef void (APIENTRYP GPVALIDATEPROGRAM)(GLuint program); -// typedef void (APIENTRYP GPVALIDATEPROGRAMARB)(GLhandleARB programObj); -// typedef void (APIENTRYP GPVALIDATEPROGRAMPIPELINE)(GLuint pipeline); -// typedef void (APIENTRYP GPVALIDATEPROGRAMPIPELINEEXT)(GLuint pipeline); -// typedef void (APIENTRYP GPVARIANTARRAYOBJECTATI)(GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset); -// typedef void (APIENTRYP GPVARIANTPOINTEREXT)(GLuint id, GLenum type, GLuint stride, const void * addr); -// typedef void (APIENTRYP GPVARIANTBVEXT)(GLuint id, const GLbyte * addr); -// typedef void (APIENTRYP GPVARIANTDVEXT)(GLuint id, const GLdouble * addr); -// typedef void (APIENTRYP GPVARIANTFVEXT)(GLuint id, const GLfloat * addr); -// typedef void (APIENTRYP GPVARIANTIVEXT)(GLuint id, const GLint * addr); -// typedef void (APIENTRYP GPVARIANTSVEXT)(GLuint id, const GLshort * addr); -// typedef void (APIENTRYP GPVARIANTUBVEXT)(GLuint id, const GLubyte * addr); -// typedef void (APIENTRYP GPVARIANTUIVEXT)(GLuint id, const GLuint * addr); -// typedef void (APIENTRYP GPVARIANTUSVEXT)(GLuint id, const GLushort * addr); -// typedef void (APIENTRYP GPVERTEX2BOES)(GLbyte x, GLbyte y); -// typedef void (APIENTRYP GPVERTEX2BVOES)(const GLbyte * coords); -// typedef void (APIENTRYP GPVERTEX2D)(GLdouble x, GLdouble y); -// typedef void (APIENTRYP GPVERTEX2DV)(const GLdouble * v); -// typedef void (APIENTRYP GPVERTEX2F)(GLfloat x, GLfloat y); -// typedef void (APIENTRYP GPVERTEX2FV)(const GLfloat * v); -// typedef void (APIENTRYP GPVERTEX2HNV)(GLhalfNV x, GLhalfNV y); -// typedef void (APIENTRYP GPVERTEX2HVNV)(const GLhalfNV * v); -// typedef void (APIENTRYP GPVERTEX2I)(GLint x, GLint y); -// typedef void (APIENTRYP GPVERTEX2IV)(const GLint * v); -// typedef void (APIENTRYP GPVERTEX2S)(GLshort x, GLshort y); -// typedef void (APIENTRYP GPVERTEX2SV)(const GLshort * v); -// typedef void (APIENTRYP GPVERTEX2XOES)(GLfixed x); -// typedef void (APIENTRYP GPVERTEX2XVOES)(const GLfixed * coords); -// typedef void (APIENTRYP GPVERTEX3BOES)(GLbyte x, GLbyte y, GLbyte z); -// typedef void (APIENTRYP GPVERTEX3BVOES)(const GLbyte * coords); -// typedef void (APIENTRYP GPVERTEX3D)(GLdouble x, GLdouble y, GLdouble z); -// typedef void (APIENTRYP GPVERTEX3DV)(const GLdouble * v); -// typedef void (APIENTRYP GPVERTEX3F)(GLfloat x, GLfloat y, GLfloat z); -// typedef void (APIENTRYP GPVERTEX3FV)(const GLfloat * v); -// typedef void (APIENTRYP GPVERTEX3HNV)(GLhalfNV x, GLhalfNV y, GLhalfNV z); -// typedef void (APIENTRYP GPVERTEX3HVNV)(const GLhalfNV * v); -// typedef void (APIENTRYP GPVERTEX3I)(GLint x, GLint y, GLint z); -// typedef void (APIENTRYP GPVERTEX3IV)(const GLint * v); -// typedef void (APIENTRYP GPVERTEX3S)(GLshort x, GLshort y, GLshort z); -// typedef void (APIENTRYP GPVERTEX3SV)(const GLshort * v); -// typedef void (APIENTRYP GPVERTEX3XOES)(GLfixed x, GLfixed y); -// typedef void (APIENTRYP GPVERTEX3XVOES)(const GLfixed * coords); -// typedef void (APIENTRYP GPVERTEX4BOES)(GLbyte x, GLbyte y, GLbyte z, GLbyte w); -// typedef void (APIENTRYP GPVERTEX4BVOES)(const GLbyte * coords); -// typedef void (APIENTRYP GPVERTEX4D)(GLdouble x, GLdouble y, GLdouble z, GLdouble w); -// typedef void (APIENTRYP GPVERTEX4DV)(const GLdouble * v); -// typedef void (APIENTRYP GPVERTEX4F)(GLfloat x, GLfloat y, GLfloat z, GLfloat w); -// typedef void (APIENTRYP GPVERTEX4FV)(const GLfloat * v); -// typedef void (APIENTRYP GPVERTEX4HNV)(GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w); -// typedef void (APIENTRYP GPVERTEX4HVNV)(const GLhalfNV * v); -// typedef void (APIENTRYP GPVERTEX4I)(GLint x, GLint y, GLint z, GLint w); -// typedef void (APIENTRYP GPVERTEX4IV)(const GLint * v); -// typedef void (APIENTRYP GPVERTEX4S)(GLshort x, GLshort y, GLshort z, GLshort w); -// typedef void (APIENTRYP GPVERTEX4SV)(const GLshort * v); -// typedef void (APIENTRYP GPVERTEX4XOES)(GLfixed x, GLfixed y, GLfixed z); -// typedef void (APIENTRYP GPVERTEX4XVOES)(const GLfixed * coords); -// typedef void (APIENTRYP GPVERTEXARRAYATTRIBBINDING)(GLuint vaobj, GLuint attribindex, GLuint bindingindex); -// typedef void (APIENTRYP GPVERTEXARRAYATTRIBFORMAT)(GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset); -// typedef void (APIENTRYP GPVERTEXARRAYATTRIBIFORMAT)(GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); -// typedef void (APIENTRYP GPVERTEXARRAYATTRIBLFORMAT)(GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); -// typedef void (APIENTRYP GPVERTEXARRAYBINDVERTEXBUFFEREXT)(GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride); -// typedef void (APIENTRYP GPVERTEXARRAYBINDINGDIVISOR)(GLuint vaobj, GLuint bindingindex, GLuint divisor); -// typedef void (APIENTRYP GPVERTEXARRAYCOLOROFFSETEXT)(GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset); -// typedef void (APIENTRYP GPVERTEXARRAYEDGEFLAGOFFSETEXT)(GLuint vaobj, GLuint buffer, GLsizei stride, GLintptr offset); -// typedef void (APIENTRYP GPVERTEXARRAYELEMENTBUFFER)(GLuint vaobj, GLuint buffer); -// typedef void (APIENTRYP GPVERTEXARRAYFOGCOORDOFFSETEXT)(GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset); -// typedef void (APIENTRYP GPVERTEXARRAYINDEXOFFSETEXT)(GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset); -// typedef void (APIENTRYP GPVERTEXARRAYMULTITEXCOORDOFFSETEXT)(GLuint vaobj, GLuint buffer, GLenum texunit, GLint size, GLenum type, GLsizei stride, GLintptr offset); -// typedef void (APIENTRYP GPVERTEXARRAYNORMALOFFSETEXT)(GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset); -// typedef void (APIENTRYP GPVERTEXARRAYPARAMETERIAPPLE)(GLenum pname, GLint param); -// typedef void (APIENTRYP GPVERTEXARRAYRANGEAPPLE)(GLsizei length, void * pointer); -// typedef void (APIENTRYP GPVERTEXARRAYRANGENV)(GLsizei length, const void * pointer); -// typedef void (APIENTRYP GPVERTEXARRAYSECONDARYCOLOROFFSETEXT)(GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset); -// typedef void (APIENTRYP GPVERTEXARRAYTEXCOORDOFFSETEXT)(GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset); -// typedef void (APIENTRYP GPVERTEXARRAYVERTEXATTRIBBINDINGEXT)(GLuint vaobj, GLuint attribindex, GLuint bindingindex); -// typedef void (APIENTRYP GPVERTEXARRAYVERTEXATTRIBDIVISOREXT)(GLuint vaobj, GLuint index, GLuint divisor); -// typedef void (APIENTRYP GPVERTEXARRAYVERTEXATTRIBFORMATEXT)(GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset); -// typedef void (APIENTRYP GPVERTEXARRAYVERTEXATTRIBIFORMATEXT)(GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); -// typedef void (APIENTRYP GPVERTEXARRAYVERTEXATTRIBIOFFSETEXT)(GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset); -// typedef void (APIENTRYP GPVERTEXARRAYVERTEXATTRIBLFORMATEXT)(GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); -// typedef void (APIENTRYP GPVERTEXARRAYVERTEXATTRIBLOFFSETEXT)(GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset); -// typedef void (APIENTRYP GPVERTEXARRAYVERTEXATTRIBOFFSETEXT)(GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLintptr offset); -// typedef void (APIENTRYP GPVERTEXARRAYVERTEXBINDINGDIVISOREXT)(GLuint vaobj, GLuint bindingindex, GLuint divisor); -// typedef void (APIENTRYP GPVERTEXARRAYVERTEXBUFFER)(GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride); -// typedef void (APIENTRYP GPVERTEXARRAYVERTEXBUFFERS)(GLuint vaobj, GLuint first, GLsizei count, const GLuint * buffers, const GLintptr * offsets, const GLsizei * strides); -// typedef void (APIENTRYP GPVERTEXARRAYVERTEXOFFSETEXT)(GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset); -// typedef void (APIENTRYP GPVERTEXATTRIB1D)(GLuint index, GLdouble x); -// typedef void (APIENTRYP GPVERTEXATTRIB1DARB)(GLuint index, GLdouble x); -// typedef void (APIENTRYP GPVERTEXATTRIB1DNV)(GLuint index, GLdouble x); -// typedef void (APIENTRYP GPVERTEXATTRIB1DV)(GLuint index, const GLdouble * v); -// typedef void (APIENTRYP GPVERTEXATTRIB1DVARB)(GLuint index, const GLdouble * v); -// typedef void (APIENTRYP GPVERTEXATTRIB1DVNV)(GLuint index, const GLdouble * v); -// typedef void (APIENTRYP GPVERTEXATTRIB1F)(GLuint index, GLfloat x); -// typedef void (APIENTRYP GPVERTEXATTRIB1FARB)(GLuint index, GLfloat x); -// typedef void (APIENTRYP GPVERTEXATTRIB1FNV)(GLuint index, GLfloat x); -// typedef void (APIENTRYP GPVERTEXATTRIB1FV)(GLuint index, const GLfloat * v); -// typedef void (APIENTRYP GPVERTEXATTRIB1FVARB)(GLuint index, const GLfloat * v); -// typedef void (APIENTRYP GPVERTEXATTRIB1FVNV)(GLuint index, const GLfloat * v); -// typedef void (APIENTRYP GPVERTEXATTRIB1HNV)(GLuint index, GLhalfNV x); -// typedef void (APIENTRYP GPVERTEXATTRIB1HVNV)(GLuint index, const GLhalfNV * v); -// typedef void (APIENTRYP GPVERTEXATTRIB1S)(GLuint index, GLshort x); -// typedef void (APIENTRYP GPVERTEXATTRIB1SARB)(GLuint index, GLshort x); -// typedef void (APIENTRYP GPVERTEXATTRIB1SNV)(GLuint index, GLshort x); -// typedef void (APIENTRYP GPVERTEXATTRIB1SV)(GLuint index, const GLshort * v); -// typedef void (APIENTRYP GPVERTEXATTRIB1SVARB)(GLuint index, const GLshort * v); -// typedef void (APIENTRYP GPVERTEXATTRIB1SVNV)(GLuint index, const GLshort * v); -// typedef void (APIENTRYP GPVERTEXATTRIB2D)(GLuint index, GLdouble x, GLdouble y); -// typedef void (APIENTRYP GPVERTEXATTRIB2DARB)(GLuint index, GLdouble x, GLdouble y); -// typedef void (APIENTRYP GPVERTEXATTRIB2DNV)(GLuint index, GLdouble x, GLdouble y); -// typedef void (APIENTRYP GPVERTEXATTRIB2DV)(GLuint index, const GLdouble * v); -// typedef void (APIENTRYP GPVERTEXATTRIB2DVARB)(GLuint index, const GLdouble * v); -// typedef void (APIENTRYP GPVERTEXATTRIB2DVNV)(GLuint index, const GLdouble * v); -// typedef void (APIENTRYP GPVERTEXATTRIB2F)(GLuint index, GLfloat x, GLfloat y); -// typedef void (APIENTRYP GPVERTEXATTRIB2FARB)(GLuint index, GLfloat x, GLfloat y); -// typedef void (APIENTRYP GPVERTEXATTRIB2FNV)(GLuint index, GLfloat x, GLfloat y); -// typedef void (APIENTRYP GPVERTEXATTRIB2FV)(GLuint index, const GLfloat * v); -// typedef void (APIENTRYP GPVERTEXATTRIB2FVARB)(GLuint index, const GLfloat * v); -// typedef void (APIENTRYP GPVERTEXATTRIB2FVNV)(GLuint index, const GLfloat * v); -// typedef void (APIENTRYP GPVERTEXATTRIB2HNV)(GLuint index, GLhalfNV x, GLhalfNV y); -// typedef void (APIENTRYP GPVERTEXATTRIB2HVNV)(GLuint index, const GLhalfNV * v); -// typedef void (APIENTRYP GPVERTEXATTRIB2S)(GLuint index, GLshort x, GLshort y); -// typedef void (APIENTRYP GPVERTEXATTRIB2SARB)(GLuint index, GLshort x, GLshort y); -// typedef void (APIENTRYP GPVERTEXATTRIB2SNV)(GLuint index, GLshort x, GLshort y); -// typedef void (APIENTRYP GPVERTEXATTRIB2SV)(GLuint index, const GLshort * v); -// typedef void (APIENTRYP GPVERTEXATTRIB2SVARB)(GLuint index, const GLshort * v); -// typedef void (APIENTRYP GPVERTEXATTRIB2SVNV)(GLuint index, const GLshort * v); -// typedef void (APIENTRYP GPVERTEXATTRIB3D)(GLuint index, GLdouble x, GLdouble y, GLdouble z); -// typedef void (APIENTRYP GPVERTEXATTRIB3DARB)(GLuint index, GLdouble x, GLdouble y, GLdouble z); -// typedef void (APIENTRYP GPVERTEXATTRIB3DNV)(GLuint index, GLdouble x, GLdouble y, GLdouble z); -// typedef void (APIENTRYP GPVERTEXATTRIB3DV)(GLuint index, const GLdouble * v); -// typedef void (APIENTRYP GPVERTEXATTRIB3DVARB)(GLuint index, const GLdouble * v); -// typedef void (APIENTRYP GPVERTEXATTRIB3DVNV)(GLuint index, const GLdouble * v); -// typedef void (APIENTRYP GPVERTEXATTRIB3F)(GLuint index, GLfloat x, GLfloat y, GLfloat z); -// typedef void (APIENTRYP GPVERTEXATTRIB3FARB)(GLuint index, GLfloat x, GLfloat y, GLfloat z); -// typedef void (APIENTRYP GPVERTEXATTRIB3FNV)(GLuint index, GLfloat x, GLfloat y, GLfloat z); -// typedef void (APIENTRYP GPVERTEXATTRIB3FV)(GLuint index, const GLfloat * v); -// typedef void (APIENTRYP GPVERTEXATTRIB3FVARB)(GLuint index, const GLfloat * v); -// typedef void (APIENTRYP GPVERTEXATTRIB3FVNV)(GLuint index, const GLfloat * v); -// typedef void (APIENTRYP GPVERTEXATTRIB3HNV)(GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z); -// typedef void (APIENTRYP GPVERTEXATTRIB3HVNV)(GLuint index, const GLhalfNV * v); -// typedef void (APIENTRYP GPVERTEXATTRIB3S)(GLuint index, GLshort x, GLshort y, GLshort z); -// typedef void (APIENTRYP GPVERTEXATTRIB3SARB)(GLuint index, GLshort x, GLshort y, GLshort z); -// typedef void (APIENTRYP GPVERTEXATTRIB3SNV)(GLuint index, GLshort x, GLshort y, GLshort z); -// typedef void (APIENTRYP GPVERTEXATTRIB3SV)(GLuint index, const GLshort * v); -// typedef void (APIENTRYP GPVERTEXATTRIB3SVARB)(GLuint index, const GLshort * v); -// typedef void (APIENTRYP GPVERTEXATTRIB3SVNV)(GLuint index, const GLshort * v); -// typedef void (APIENTRYP GPVERTEXATTRIB4NBV)(GLuint index, const GLbyte * v); -// typedef void (APIENTRYP GPVERTEXATTRIB4NBVARB)(GLuint index, const GLbyte * v); -// typedef void (APIENTRYP GPVERTEXATTRIB4NIV)(GLuint index, const GLint * v); -// typedef void (APIENTRYP GPVERTEXATTRIB4NIVARB)(GLuint index, const GLint * v); -// typedef void (APIENTRYP GPVERTEXATTRIB4NSV)(GLuint index, const GLshort * v); -// typedef void (APIENTRYP GPVERTEXATTRIB4NSVARB)(GLuint index, const GLshort * v); -// typedef void (APIENTRYP GPVERTEXATTRIB4NUB)(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); -// typedef void (APIENTRYP GPVERTEXATTRIB4NUBARB)(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); -// typedef void (APIENTRYP GPVERTEXATTRIB4NUBV)(GLuint index, const GLubyte * v); -// typedef void (APIENTRYP GPVERTEXATTRIB4NUBVARB)(GLuint index, const GLubyte * v); -// typedef void (APIENTRYP GPVERTEXATTRIB4NUIV)(GLuint index, const GLuint * v); -// typedef void (APIENTRYP GPVERTEXATTRIB4NUIVARB)(GLuint index, const GLuint * v); -// typedef void (APIENTRYP GPVERTEXATTRIB4NUSV)(GLuint index, const GLushort * v); -// typedef void (APIENTRYP GPVERTEXATTRIB4NUSVARB)(GLuint index, const GLushort * v); -// typedef void (APIENTRYP GPVERTEXATTRIB4BV)(GLuint index, const GLbyte * v); -// typedef void (APIENTRYP GPVERTEXATTRIB4BVARB)(GLuint index, const GLbyte * v); -// typedef void (APIENTRYP GPVERTEXATTRIB4D)(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -// typedef void (APIENTRYP GPVERTEXATTRIB4DARB)(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -// typedef void (APIENTRYP GPVERTEXATTRIB4DNV)(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -// typedef void (APIENTRYP GPVERTEXATTRIB4DV)(GLuint index, const GLdouble * v); -// typedef void (APIENTRYP GPVERTEXATTRIB4DVARB)(GLuint index, const GLdouble * v); -// typedef void (APIENTRYP GPVERTEXATTRIB4DVNV)(GLuint index, const GLdouble * v); -// typedef void (APIENTRYP GPVERTEXATTRIB4F)(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -// typedef void (APIENTRYP GPVERTEXATTRIB4FARB)(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -// typedef void (APIENTRYP GPVERTEXATTRIB4FNV)(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -// typedef void (APIENTRYP GPVERTEXATTRIB4FV)(GLuint index, const GLfloat * v); -// typedef void (APIENTRYP GPVERTEXATTRIB4FVARB)(GLuint index, const GLfloat * v); -// typedef void (APIENTRYP GPVERTEXATTRIB4FVNV)(GLuint index, const GLfloat * v); -// typedef void (APIENTRYP GPVERTEXATTRIB4HNV)(GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w); -// typedef void (APIENTRYP GPVERTEXATTRIB4HVNV)(GLuint index, const GLhalfNV * v); -// typedef void (APIENTRYP GPVERTEXATTRIB4IV)(GLuint index, const GLint * v); -// typedef void (APIENTRYP GPVERTEXATTRIB4IVARB)(GLuint index, const GLint * v); -// typedef void (APIENTRYP GPVERTEXATTRIB4S)(GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); -// typedef void (APIENTRYP GPVERTEXATTRIB4SARB)(GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); -// typedef void (APIENTRYP GPVERTEXATTRIB4SNV)(GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); -// typedef void (APIENTRYP GPVERTEXATTRIB4SV)(GLuint index, const GLshort * v); -// typedef void (APIENTRYP GPVERTEXATTRIB4SVARB)(GLuint index, const GLshort * v); -// typedef void (APIENTRYP GPVERTEXATTRIB4SVNV)(GLuint index, const GLshort * v); -// typedef void (APIENTRYP GPVERTEXATTRIB4UBNV)(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); -// typedef void (APIENTRYP GPVERTEXATTRIB4UBV)(GLuint index, const GLubyte * v); -// typedef void (APIENTRYP GPVERTEXATTRIB4UBVARB)(GLuint index, const GLubyte * v); -// typedef void (APIENTRYP GPVERTEXATTRIB4UBVNV)(GLuint index, const GLubyte * v); -// typedef void (APIENTRYP GPVERTEXATTRIB4UIV)(GLuint index, const GLuint * v); -// typedef void (APIENTRYP GPVERTEXATTRIB4UIVARB)(GLuint index, const GLuint * v); -// typedef void (APIENTRYP GPVERTEXATTRIB4USV)(GLuint index, const GLushort * v); -// typedef void (APIENTRYP GPVERTEXATTRIB4USVARB)(GLuint index, const GLushort * v); -// typedef void (APIENTRYP GPVERTEXATTRIBARRAYOBJECTATI)(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset); -// typedef void (APIENTRYP GPVERTEXATTRIBBINDING)(GLuint attribindex, GLuint bindingindex); -// typedef void (APIENTRYP GPVERTEXATTRIBDIVISORARB)(GLuint index, GLuint divisor); -// typedef void (APIENTRYP GPVERTEXATTRIBFORMAT)(GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset); -// typedef void (APIENTRYP GPVERTEXATTRIBFORMATNV)(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride); -// typedef void (APIENTRYP GPVERTEXATTRIBI1IEXT)(GLuint index, GLint x); -// typedef void (APIENTRYP GPVERTEXATTRIBI1IVEXT)(GLuint index, const GLint * v); -// typedef void (APIENTRYP GPVERTEXATTRIBI1UIEXT)(GLuint index, GLuint x); -// typedef void (APIENTRYP GPVERTEXATTRIBI1UIVEXT)(GLuint index, const GLuint * v); -// typedef void (APIENTRYP GPVERTEXATTRIBI2IEXT)(GLuint index, GLint x, GLint y); -// typedef void (APIENTRYP GPVERTEXATTRIBI2IVEXT)(GLuint index, const GLint * v); -// typedef void (APIENTRYP GPVERTEXATTRIBI2UIEXT)(GLuint index, GLuint x, GLuint y); -// typedef void (APIENTRYP GPVERTEXATTRIBI2UIVEXT)(GLuint index, const GLuint * v); -// typedef void (APIENTRYP GPVERTEXATTRIBI3IEXT)(GLuint index, GLint x, GLint y, GLint z); -// typedef void (APIENTRYP GPVERTEXATTRIBI3IVEXT)(GLuint index, const GLint * v); -// typedef void (APIENTRYP GPVERTEXATTRIBI3UIEXT)(GLuint index, GLuint x, GLuint y, GLuint z); -// typedef void (APIENTRYP GPVERTEXATTRIBI3UIVEXT)(GLuint index, const GLuint * v); -// typedef void (APIENTRYP GPVERTEXATTRIBI4BVEXT)(GLuint index, const GLbyte * v); -// typedef void (APIENTRYP GPVERTEXATTRIBI4IEXT)(GLuint index, GLint x, GLint y, GLint z, GLint w); -// typedef void (APIENTRYP GPVERTEXATTRIBI4IVEXT)(GLuint index, const GLint * v); -// typedef void (APIENTRYP GPVERTEXATTRIBI4SVEXT)(GLuint index, const GLshort * v); -// typedef void (APIENTRYP GPVERTEXATTRIBI4UBVEXT)(GLuint index, const GLubyte * v); -// typedef void (APIENTRYP GPVERTEXATTRIBI4UIEXT)(GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); -// typedef void (APIENTRYP GPVERTEXATTRIBI4UIVEXT)(GLuint index, const GLuint * v); -// typedef void (APIENTRYP GPVERTEXATTRIBI4USVEXT)(GLuint index, const GLushort * v); -// typedef void (APIENTRYP GPVERTEXATTRIBIFORMAT)(GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); -// typedef void (APIENTRYP GPVERTEXATTRIBIFORMATNV)(GLuint index, GLint size, GLenum type, GLsizei stride); -// typedef void (APIENTRYP GPVERTEXATTRIBIPOINTEREXT)(GLuint index, GLint size, GLenum type, GLsizei stride, const void * pointer); -// typedef void (APIENTRYP GPVERTEXATTRIBL1D)(GLuint index, GLdouble x); -// typedef void (APIENTRYP GPVERTEXATTRIBL1DEXT)(GLuint index, GLdouble x); -// typedef void (APIENTRYP GPVERTEXATTRIBL1DV)(GLuint index, const GLdouble * v); -// typedef void (APIENTRYP GPVERTEXATTRIBL1DVEXT)(GLuint index, const GLdouble * v); -// typedef void (APIENTRYP GPVERTEXATTRIBL1I64NV)(GLuint index, GLint64EXT x); -// typedef void (APIENTRYP GPVERTEXATTRIBL1I64VNV)(GLuint index, const GLint64EXT * v); -// typedef void (APIENTRYP GPVERTEXATTRIBL1UI64ARB)(GLuint index, GLuint64EXT x); -// typedef void (APIENTRYP GPVERTEXATTRIBL1UI64NV)(GLuint index, GLuint64EXT x); -// typedef void (APIENTRYP GPVERTEXATTRIBL1UI64VARB)(GLuint index, const GLuint64EXT * v); -// typedef void (APIENTRYP GPVERTEXATTRIBL1UI64VNV)(GLuint index, const GLuint64EXT * v); -// typedef void (APIENTRYP GPVERTEXATTRIBL2D)(GLuint index, GLdouble x, GLdouble y); -// typedef void (APIENTRYP GPVERTEXATTRIBL2DEXT)(GLuint index, GLdouble x, GLdouble y); -// typedef void (APIENTRYP GPVERTEXATTRIBL2DV)(GLuint index, const GLdouble * v); -// typedef void (APIENTRYP GPVERTEXATTRIBL2DVEXT)(GLuint index, const GLdouble * v); -// typedef void (APIENTRYP GPVERTEXATTRIBL2I64NV)(GLuint index, GLint64EXT x, GLint64EXT y); -// typedef void (APIENTRYP GPVERTEXATTRIBL2I64VNV)(GLuint index, const GLint64EXT * v); -// typedef void (APIENTRYP GPVERTEXATTRIBL2UI64NV)(GLuint index, GLuint64EXT x, GLuint64EXT y); -// typedef void (APIENTRYP GPVERTEXATTRIBL2UI64VNV)(GLuint index, const GLuint64EXT * v); -// typedef void (APIENTRYP GPVERTEXATTRIBL3D)(GLuint index, GLdouble x, GLdouble y, GLdouble z); -// typedef void (APIENTRYP GPVERTEXATTRIBL3DEXT)(GLuint index, GLdouble x, GLdouble y, GLdouble z); -// typedef void (APIENTRYP GPVERTEXATTRIBL3DV)(GLuint index, const GLdouble * v); -// typedef void (APIENTRYP GPVERTEXATTRIBL3DVEXT)(GLuint index, const GLdouble * v); -// typedef void (APIENTRYP GPVERTEXATTRIBL3I64NV)(GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z); -// typedef void (APIENTRYP GPVERTEXATTRIBL3I64VNV)(GLuint index, const GLint64EXT * v); -// typedef void (APIENTRYP GPVERTEXATTRIBL3UI64NV)(GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); -// typedef void (APIENTRYP GPVERTEXATTRIBL3UI64VNV)(GLuint index, const GLuint64EXT * v); -// typedef void (APIENTRYP GPVERTEXATTRIBL4D)(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -// typedef void (APIENTRYP GPVERTEXATTRIBL4DEXT)(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -// typedef void (APIENTRYP GPVERTEXATTRIBL4DV)(GLuint index, const GLdouble * v); -// typedef void (APIENTRYP GPVERTEXATTRIBL4DVEXT)(GLuint index, const GLdouble * v); -// typedef void (APIENTRYP GPVERTEXATTRIBL4I64NV)(GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); -// typedef void (APIENTRYP GPVERTEXATTRIBL4I64VNV)(GLuint index, const GLint64EXT * v); -// typedef void (APIENTRYP GPVERTEXATTRIBL4UI64NV)(GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); -// typedef void (APIENTRYP GPVERTEXATTRIBL4UI64VNV)(GLuint index, const GLuint64EXT * v); -// typedef void (APIENTRYP GPVERTEXATTRIBLFORMAT)(GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); -// typedef void (APIENTRYP GPVERTEXATTRIBLFORMATNV)(GLuint index, GLint size, GLenum type, GLsizei stride); -// typedef void (APIENTRYP GPVERTEXATTRIBLPOINTER)(GLuint index, GLint size, GLenum type, GLsizei stride, const void * pointer); -// typedef void (APIENTRYP GPVERTEXATTRIBLPOINTEREXT)(GLuint index, GLint size, GLenum type, GLsizei stride, const void * pointer); -// typedef void (APIENTRYP GPVERTEXATTRIBP1UI)(GLuint index, GLenum type, GLboolean normalized, GLuint value); -// typedef void (APIENTRYP GPVERTEXATTRIBP1UIV)(GLuint index, GLenum type, GLboolean normalized, const GLuint * value); -// typedef void (APIENTRYP GPVERTEXATTRIBP2UI)(GLuint index, GLenum type, GLboolean normalized, GLuint value); -// typedef void (APIENTRYP GPVERTEXATTRIBP2UIV)(GLuint index, GLenum type, GLboolean normalized, const GLuint * value); -// typedef void (APIENTRYP GPVERTEXATTRIBP3UI)(GLuint index, GLenum type, GLboolean normalized, GLuint value); -// typedef void (APIENTRYP GPVERTEXATTRIBP3UIV)(GLuint index, GLenum type, GLboolean normalized, const GLuint * value); -// typedef void (APIENTRYP GPVERTEXATTRIBP4UI)(GLuint index, GLenum type, GLboolean normalized, GLuint value); -// typedef void (APIENTRYP GPVERTEXATTRIBP4UIV)(GLuint index, GLenum type, GLboolean normalized, const GLuint * value); -// typedef void (APIENTRYP GPVERTEXATTRIBPARAMETERIAMD)(GLuint index, GLenum pname, GLint param); // typedef void (APIENTRYP GPVERTEXATTRIBPOINTER)(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const uintptr_t pointer); -// typedef void (APIENTRYP GPVERTEXATTRIBPOINTERARB)(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void * pointer); -// typedef void (APIENTRYP GPVERTEXATTRIBPOINTERNV)(GLuint index, GLint fsize, GLenum type, GLsizei stride, const void * pointer); -// typedef void (APIENTRYP GPVERTEXATTRIBS1DVNV)(GLuint index, GLsizei count, const GLdouble * v); -// typedef void (APIENTRYP GPVERTEXATTRIBS1FVNV)(GLuint index, GLsizei count, const GLfloat * v); -// typedef void (APIENTRYP GPVERTEXATTRIBS1HVNV)(GLuint index, GLsizei n, const GLhalfNV * v); -// typedef void (APIENTRYP GPVERTEXATTRIBS1SVNV)(GLuint index, GLsizei count, const GLshort * v); -// typedef void (APIENTRYP GPVERTEXATTRIBS2DVNV)(GLuint index, GLsizei count, const GLdouble * v); -// typedef void (APIENTRYP GPVERTEXATTRIBS2FVNV)(GLuint index, GLsizei count, const GLfloat * v); -// typedef void (APIENTRYP GPVERTEXATTRIBS2HVNV)(GLuint index, GLsizei n, const GLhalfNV * v); -// typedef void (APIENTRYP GPVERTEXATTRIBS2SVNV)(GLuint index, GLsizei count, const GLshort * v); -// typedef void (APIENTRYP GPVERTEXATTRIBS3DVNV)(GLuint index, GLsizei count, const GLdouble * v); -// typedef void (APIENTRYP GPVERTEXATTRIBS3FVNV)(GLuint index, GLsizei count, const GLfloat * v); -// typedef void (APIENTRYP GPVERTEXATTRIBS3HVNV)(GLuint index, GLsizei n, const GLhalfNV * v); -// typedef void (APIENTRYP GPVERTEXATTRIBS3SVNV)(GLuint index, GLsizei count, const GLshort * v); -// typedef void (APIENTRYP GPVERTEXATTRIBS4DVNV)(GLuint index, GLsizei count, const GLdouble * v); -// typedef void (APIENTRYP GPVERTEXATTRIBS4FVNV)(GLuint index, GLsizei count, const GLfloat * v); -// typedef void (APIENTRYP GPVERTEXATTRIBS4HVNV)(GLuint index, GLsizei n, const GLhalfNV * v); -// typedef void (APIENTRYP GPVERTEXATTRIBS4SVNV)(GLuint index, GLsizei count, const GLshort * v); -// typedef void (APIENTRYP GPVERTEXATTRIBS4UBVNV)(GLuint index, GLsizei count, const GLubyte * v); -// typedef void (APIENTRYP GPVERTEXBINDINGDIVISOR)(GLuint bindingindex, GLuint divisor); -// typedef void (APIENTRYP GPVERTEXBLENDARB)(GLint count); -// typedef void (APIENTRYP GPVERTEXBLENDENVFATI)(GLenum pname, GLfloat param); -// typedef void (APIENTRYP GPVERTEXBLENDENVIATI)(GLenum pname, GLint param); -// typedef void (APIENTRYP GPVERTEXFORMATNV)(GLint size, GLenum type, GLsizei stride); -// typedef void (APIENTRYP GPVERTEXPOINTER)(GLint size, GLenum type, GLsizei stride, const void * pointer); -// typedef void (APIENTRYP GPVERTEXPOINTEREXT)(GLint size, GLenum type, GLsizei stride, GLsizei count, const void * pointer); -// typedef void (APIENTRYP GPVERTEXPOINTERLISTIBM)(GLint size, GLenum type, GLint stride, const void ** pointer, GLint ptrstride); -// typedef void (APIENTRYP GPVERTEXPOINTERVINTEL)(GLint size, GLenum type, const void ** pointer); -// typedef void (APIENTRYP GPVERTEXSTREAM1DATI)(GLenum stream, GLdouble x); -// typedef void (APIENTRYP GPVERTEXSTREAM1DVATI)(GLenum stream, const GLdouble * coords); -// typedef void (APIENTRYP GPVERTEXSTREAM1FATI)(GLenum stream, GLfloat x); -// typedef void (APIENTRYP GPVERTEXSTREAM1FVATI)(GLenum stream, const GLfloat * coords); -// typedef void (APIENTRYP GPVERTEXSTREAM1IATI)(GLenum stream, GLint x); -// typedef void (APIENTRYP GPVERTEXSTREAM1IVATI)(GLenum stream, const GLint * coords); -// typedef void (APIENTRYP GPVERTEXSTREAM1SATI)(GLenum stream, GLshort x); -// typedef void (APIENTRYP GPVERTEXSTREAM1SVATI)(GLenum stream, const GLshort * coords); -// typedef void (APIENTRYP GPVERTEXSTREAM2DATI)(GLenum stream, GLdouble x, GLdouble y); -// typedef void (APIENTRYP GPVERTEXSTREAM2DVATI)(GLenum stream, const GLdouble * coords); -// typedef void (APIENTRYP GPVERTEXSTREAM2FATI)(GLenum stream, GLfloat x, GLfloat y); -// typedef void (APIENTRYP GPVERTEXSTREAM2FVATI)(GLenum stream, const GLfloat * coords); -// typedef void (APIENTRYP GPVERTEXSTREAM2IATI)(GLenum stream, GLint x, GLint y); -// typedef void (APIENTRYP GPVERTEXSTREAM2IVATI)(GLenum stream, const GLint * coords); -// typedef void (APIENTRYP GPVERTEXSTREAM2SATI)(GLenum stream, GLshort x, GLshort y); -// typedef void (APIENTRYP GPVERTEXSTREAM2SVATI)(GLenum stream, const GLshort * coords); -// typedef void (APIENTRYP GPVERTEXSTREAM3DATI)(GLenum stream, GLdouble x, GLdouble y, GLdouble z); -// typedef void (APIENTRYP GPVERTEXSTREAM3DVATI)(GLenum stream, const GLdouble * coords); -// typedef void (APIENTRYP GPVERTEXSTREAM3FATI)(GLenum stream, GLfloat x, GLfloat y, GLfloat z); -// typedef void (APIENTRYP GPVERTEXSTREAM3FVATI)(GLenum stream, const GLfloat * coords); -// typedef void (APIENTRYP GPVERTEXSTREAM3IATI)(GLenum stream, GLint x, GLint y, GLint z); -// typedef void (APIENTRYP GPVERTEXSTREAM3IVATI)(GLenum stream, const GLint * coords); -// typedef void (APIENTRYP GPVERTEXSTREAM3SATI)(GLenum stream, GLshort x, GLshort y, GLshort z); -// typedef void (APIENTRYP GPVERTEXSTREAM3SVATI)(GLenum stream, const GLshort * coords); -// typedef void (APIENTRYP GPVERTEXSTREAM4DATI)(GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -// typedef void (APIENTRYP GPVERTEXSTREAM4DVATI)(GLenum stream, const GLdouble * coords); -// typedef void (APIENTRYP GPVERTEXSTREAM4FATI)(GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -// typedef void (APIENTRYP GPVERTEXSTREAM4FVATI)(GLenum stream, const GLfloat * coords); -// typedef void (APIENTRYP GPVERTEXSTREAM4IATI)(GLenum stream, GLint x, GLint y, GLint z, GLint w); -// typedef void (APIENTRYP GPVERTEXSTREAM4IVATI)(GLenum stream, const GLint * coords); -// typedef void (APIENTRYP GPVERTEXSTREAM4SATI)(GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w); -// typedef void (APIENTRYP GPVERTEXSTREAM4SVATI)(GLenum stream, const GLshort * coords); -// typedef void (APIENTRYP GPVERTEXWEIGHTPOINTEREXT)(GLint size, GLenum type, GLsizei stride, const void * pointer); -// typedef void (APIENTRYP GPVERTEXWEIGHTFEXT)(GLfloat weight); -// typedef void (APIENTRYP GPVERTEXWEIGHTFVEXT)(const GLfloat * weight); -// typedef void (APIENTRYP GPVERTEXWEIGHTHNV)(GLhalfNV weight); -// typedef void (APIENTRYP GPVERTEXWEIGHTHVNV)(const GLhalfNV * weight); -// typedef GLenum (APIENTRYP GPVIDEOCAPTURENV)(GLuint video_capture_slot, GLuint * sequence_num, GLuint64EXT * capture_time); -// typedef void (APIENTRYP GPVIDEOCAPTURESTREAMPARAMETERDVNV)(GLuint video_capture_slot, GLuint stream, GLenum pname, const GLdouble * params); -// typedef void (APIENTRYP GPVIDEOCAPTURESTREAMPARAMETERFVNV)(GLuint video_capture_slot, GLuint stream, GLenum pname, const GLfloat * params); -// typedef void (APIENTRYP GPVIDEOCAPTURESTREAMPARAMETERIVNV)(GLuint video_capture_slot, GLuint stream, GLenum pname, const GLint * params); // typedef void (APIENTRYP GPVIEWPORT)(GLint x, GLint y, GLsizei width, GLsizei height); -// typedef void (APIENTRYP GPVIEWPORTARRAYV)(GLuint first, GLsizei count, const GLfloat * v); -// typedef void (APIENTRYP GPVIEWPORTINDEXEDF)(GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h); -// typedef void (APIENTRYP GPVIEWPORTINDEXEDFV)(GLuint index, const GLfloat * v); -// typedef void (APIENTRYP GPVIEWPORTPOSITIONWSCALENV)(GLuint index, GLfloat xcoeff, GLfloat ycoeff); -// typedef void (APIENTRYP GPVIEWPORTSWIZZLENV)(GLuint index, GLenum swizzlex, GLenum swizzley, GLenum swizzlez, GLenum swizzlew); -// typedef void (APIENTRYP GPWAITSEMAPHOREEXT)(GLuint semaphore, GLuint numBufferBarriers, const GLuint * buffers, GLuint numTextureBarriers, const GLuint * textures, const GLenum * srcLayouts); -// typedef void (APIENTRYP GPWAITSYNC)(GLsync sync, GLbitfield flags, GLuint64 timeout); -// typedef void (APIENTRYP GPWAITVKSEMAPHORENV)(GLuint64 vkSemaphore); -// typedef void (APIENTRYP GPWEIGHTPATHSNV)(GLuint resultPath, GLsizei numPaths, const GLuint * paths, const GLfloat * weights); -// typedef void (APIENTRYP GPWEIGHTPOINTERARB)(GLint size, GLenum type, GLsizei stride, const void * pointer); -// typedef void (APIENTRYP GPWEIGHTBVARB)(GLint size, const GLbyte * weights); -// typedef void (APIENTRYP GPWEIGHTDVARB)(GLint size, const GLdouble * weights); -// typedef void (APIENTRYP GPWEIGHTFVARB)(GLint size, const GLfloat * weights); -// typedef void (APIENTRYP GPWEIGHTIVARB)(GLint size, const GLint * weights); -// typedef void (APIENTRYP GPWEIGHTSVARB)(GLint size, const GLshort * weights); -// typedef void (APIENTRYP GPWEIGHTUBVARB)(GLint size, const GLubyte * weights); -// typedef void (APIENTRYP GPWEIGHTUIVARB)(GLint size, const GLuint * weights); -// typedef void (APIENTRYP GPWEIGHTUSVARB)(GLint size, const GLushort * weights); -// typedef void (APIENTRYP GPWINDOWPOS2D)(GLdouble x, GLdouble y); -// typedef void (APIENTRYP GPWINDOWPOS2DARB)(GLdouble x, GLdouble y); -// typedef void (APIENTRYP GPWINDOWPOS2DMESA)(GLdouble x, GLdouble y); -// typedef void (APIENTRYP GPWINDOWPOS2DV)(const GLdouble * v); -// typedef void (APIENTRYP GPWINDOWPOS2DVARB)(const GLdouble * v); -// typedef void (APIENTRYP GPWINDOWPOS2DVMESA)(const GLdouble * v); -// typedef void (APIENTRYP GPWINDOWPOS2F)(GLfloat x, GLfloat y); -// typedef void (APIENTRYP GPWINDOWPOS2FARB)(GLfloat x, GLfloat y); -// typedef void (APIENTRYP GPWINDOWPOS2FMESA)(GLfloat x, GLfloat y); -// typedef void (APIENTRYP GPWINDOWPOS2FV)(const GLfloat * v); -// typedef void (APIENTRYP GPWINDOWPOS2FVARB)(const GLfloat * v); -// typedef void (APIENTRYP GPWINDOWPOS2FVMESA)(const GLfloat * v); -// typedef void (APIENTRYP GPWINDOWPOS2I)(GLint x, GLint y); -// typedef void (APIENTRYP GPWINDOWPOS2IARB)(GLint x, GLint y); -// typedef void (APIENTRYP GPWINDOWPOS2IMESA)(GLint x, GLint y); -// typedef void (APIENTRYP GPWINDOWPOS2IV)(const GLint * v); -// typedef void (APIENTRYP GPWINDOWPOS2IVARB)(const GLint * v); -// typedef void (APIENTRYP GPWINDOWPOS2IVMESA)(const GLint * v); -// typedef void (APIENTRYP GPWINDOWPOS2S)(GLshort x, GLshort y); -// typedef void (APIENTRYP GPWINDOWPOS2SARB)(GLshort x, GLshort y); -// typedef void (APIENTRYP GPWINDOWPOS2SMESA)(GLshort x, GLshort y); -// typedef void (APIENTRYP GPWINDOWPOS2SV)(const GLshort * v); -// typedef void (APIENTRYP GPWINDOWPOS2SVARB)(const GLshort * v); -// typedef void (APIENTRYP GPWINDOWPOS2SVMESA)(const GLshort * v); -// typedef void (APIENTRYP GPWINDOWPOS3D)(GLdouble x, GLdouble y, GLdouble z); -// typedef void (APIENTRYP GPWINDOWPOS3DARB)(GLdouble x, GLdouble y, GLdouble z); -// typedef void (APIENTRYP GPWINDOWPOS3DMESA)(GLdouble x, GLdouble y, GLdouble z); -// typedef void (APIENTRYP GPWINDOWPOS3DV)(const GLdouble * v); -// typedef void (APIENTRYP GPWINDOWPOS3DVARB)(const GLdouble * v); -// typedef void (APIENTRYP GPWINDOWPOS3DVMESA)(const GLdouble * v); -// typedef void (APIENTRYP GPWINDOWPOS3F)(GLfloat x, GLfloat y, GLfloat z); -// typedef void (APIENTRYP GPWINDOWPOS3FARB)(GLfloat x, GLfloat y, GLfloat z); -// typedef void (APIENTRYP GPWINDOWPOS3FMESA)(GLfloat x, GLfloat y, GLfloat z); -// typedef void (APIENTRYP GPWINDOWPOS3FV)(const GLfloat * v); -// typedef void (APIENTRYP GPWINDOWPOS3FVARB)(const GLfloat * v); -// typedef void (APIENTRYP GPWINDOWPOS3FVMESA)(const GLfloat * v); -// typedef void (APIENTRYP GPWINDOWPOS3I)(GLint x, GLint y, GLint z); -// typedef void (APIENTRYP GPWINDOWPOS3IARB)(GLint x, GLint y, GLint z); -// typedef void (APIENTRYP GPWINDOWPOS3IMESA)(GLint x, GLint y, GLint z); -// typedef void (APIENTRYP GPWINDOWPOS3IV)(const GLint * v); -// typedef void (APIENTRYP GPWINDOWPOS3IVARB)(const GLint * v); -// typedef void (APIENTRYP GPWINDOWPOS3IVMESA)(const GLint * v); -// typedef void (APIENTRYP GPWINDOWPOS3S)(GLshort x, GLshort y, GLshort z); -// typedef void (APIENTRYP GPWINDOWPOS3SARB)(GLshort x, GLshort y, GLshort z); -// typedef void (APIENTRYP GPWINDOWPOS3SMESA)(GLshort x, GLshort y, GLshort z); -// typedef void (APIENTRYP GPWINDOWPOS3SV)(const GLshort * v); -// typedef void (APIENTRYP GPWINDOWPOS3SVARB)(const GLshort * v); -// typedef void (APIENTRYP GPWINDOWPOS3SVMESA)(const GLshort * v); -// typedef void (APIENTRYP GPWINDOWPOS4DMESA)(GLdouble x, GLdouble y, GLdouble z, GLdouble w); -// typedef void (APIENTRYP GPWINDOWPOS4DVMESA)(const GLdouble * v); -// typedef void (APIENTRYP GPWINDOWPOS4FMESA)(GLfloat x, GLfloat y, GLfloat z, GLfloat w); -// typedef void (APIENTRYP GPWINDOWPOS4FVMESA)(const GLfloat * v); -// typedef void (APIENTRYP GPWINDOWPOS4IMESA)(GLint x, GLint y, GLint z, GLint w); -// typedef void (APIENTRYP GPWINDOWPOS4IVMESA)(const GLint * v); -// typedef void (APIENTRYP GPWINDOWPOS4SMESA)(GLshort x, GLshort y, GLshort z, GLshort w); -// typedef void (APIENTRYP GPWINDOWPOS4SVMESA)(const GLshort * v); -// typedef void (APIENTRYP GPWINDOWRECTANGLESEXT)(GLenum mode, GLsizei count, const GLint * box); -// typedef void (APIENTRYP GPWRITEMASKEXT)(GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW); -// static void glowAccum(GPACCUM fnptr, GLenum op, GLfloat value) { -// (*fnptr)(op, value); -// } -// static void glowAccumxOES(GPACCUMXOES fnptr, GLenum op, GLfixed value) { -// (*fnptr)(op, value); -// } -// static GLboolean glowAcquireKeyedMutexWin32EXT(GPACQUIREKEYEDMUTEXWIN32EXT fnptr, GLuint memory, GLuint64 key, GLuint timeout) { -// return (*fnptr)(memory, key, timeout); -// } -// static void glowActiveProgramEXT(GPACTIVEPROGRAMEXT fnptr, GLuint program) { -// (*fnptr)(program); -// } -// static void glowActiveShaderProgram(GPACTIVESHADERPROGRAM fnptr, GLuint pipeline, GLuint program) { -// (*fnptr)(pipeline, program); -// } -// static void glowActiveShaderProgramEXT(GPACTIVESHADERPROGRAMEXT fnptr, GLuint pipeline, GLuint program) { -// (*fnptr)(pipeline, program); -// } -// static void glowActiveStencilFaceEXT(GPACTIVESTENCILFACEEXT fnptr, GLenum face) { -// (*fnptr)(face); -// } -// static void glowActiveTexture(GPACTIVETEXTURE fnptr, GLenum texture) { -// (*fnptr)(texture); -// } -// static void glowActiveTextureARB(GPACTIVETEXTUREARB fnptr, GLenum texture) { -// (*fnptr)(texture); -// } -// static void glowActiveVaryingNV(GPACTIVEVARYINGNV fnptr, GLuint program, const GLchar * name) { -// (*fnptr)(program, name); -// } -// static void glowAlphaFragmentOp1ATI(GPALPHAFRAGMENTOP1ATI fnptr, GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod) { -// (*fnptr)(op, dst, dstMod, arg1, arg1Rep, arg1Mod); -// } -// static void glowAlphaFragmentOp2ATI(GPALPHAFRAGMENTOP2ATI fnptr, GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod) { -// (*fnptr)(op, dst, dstMod, arg1, arg1Rep, arg1Mod, arg2, arg2Rep, arg2Mod); -// } -// static void glowAlphaFragmentOp3ATI(GPALPHAFRAGMENTOP3ATI fnptr, GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod) { -// (*fnptr)(op, dst, dstMod, arg1, arg1Rep, arg1Mod, arg2, arg2Rep, arg2Mod, arg3, arg3Rep, arg3Mod); -// } -// static void glowAlphaFunc(GPALPHAFUNC fnptr, GLenum func, GLfloat ref) { -// (*fnptr)(func, ref); -// } -// static void glowAlphaFuncxOES(GPALPHAFUNCXOES fnptr, GLenum func, GLfixed ref) { -// (*fnptr)(func, ref); -// } -// static void glowAlphaToCoverageDitherControlNV(GPALPHATOCOVERAGEDITHERCONTROLNV fnptr, GLenum mode) { -// (*fnptr)(mode); -// } -// static void glowApplyFramebufferAttachmentCMAAINTEL(GPAPPLYFRAMEBUFFERATTACHMENTCMAAINTEL fnptr) { -// (*fnptr)(); -// } -// static void glowApplyTextureEXT(GPAPPLYTEXTUREEXT fnptr, GLenum mode) { -// (*fnptr)(mode); -// } -// static GLboolean glowAreProgramsResidentNV(GPAREPROGRAMSRESIDENTNV fnptr, GLsizei n, const GLuint * programs, GLboolean * residences) { -// return (*fnptr)(n, programs, residences); -// } -// static GLboolean glowAreTexturesResident(GPARETEXTURESRESIDENT fnptr, GLsizei n, const GLuint * textures, GLboolean * residences) { -// return (*fnptr)(n, textures, residences); -// } -// static GLboolean glowAreTexturesResidentEXT(GPARETEXTURESRESIDENTEXT fnptr, GLsizei n, const GLuint * textures, GLboolean * residences) { -// return (*fnptr)(n, textures, residences); -// } -// static void glowArrayElement(GPARRAYELEMENT fnptr, GLint i) { -// (*fnptr)(i); -// } -// static void glowArrayElementEXT(GPARRAYELEMENTEXT fnptr, GLint i) { -// (*fnptr)(i); -// } -// static void glowArrayObjectATI(GPARRAYOBJECTATI fnptr, GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset) { -// (*fnptr)(array, size, type, stride, buffer, offset); -// } -// static void glowAsyncMarkerSGIX(GPASYNCMARKERSGIX fnptr, GLuint marker) { -// (*fnptr)(marker); -// } -// static void glowAttachObjectARB(GPATTACHOBJECTARB fnptr, GLhandleARB containerObj, GLhandleARB obj) { -// (*fnptr)(containerObj, obj); -// } // static void glowAttachShader(GPATTACHSHADER fnptr, GLuint program, GLuint shader) { // (*fnptr)(program, shader); // } -// static void glowBegin(GPBEGIN fnptr, GLenum mode) { -// (*fnptr)(mode); -// } -// static void glowBeginConditionalRenderNV(GPBEGINCONDITIONALRENDERNV fnptr, GLuint id, GLenum mode) { -// (*fnptr)(id, mode); -// } -// static void glowBeginConditionalRenderNVX(GPBEGINCONDITIONALRENDERNVX fnptr, GLuint id) { -// (*fnptr)(id); -// } -// static void glowBeginFragmentShaderATI(GPBEGINFRAGMENTSHADERATI fnptr) { -// (*fnptr)(); -// } -// static void glowBeginOcclusionQueryNV(GPBEGINOCCLUSIONQUERYNV fnptr, GLuint id) { -// (*fnptr)(id); -// } -// static void glowBeginPerfMonitorAMD(GPBEGINPERFMONITORAMD fnptr, GLuint monitor) { -// (*fnptr)(monitor); -// } -// static void glowBeginPerfQueryINTEL(GPBEGINPERFQUERYINTEL fnptr, GLuint queryHandle) { -// (*fnptr)(queryHandle); -// } -// static void glowBeginQuery(GPBEGINQUERY fnptr, GLenum target, GLuint id) { -// (*fnptr)(target, id); -// } -// static void glowBeginQueryARB(GPBEGINQUERYARB fnptr, GLenum target, GLuint id) { -// (*fnptr)(target, id); -// } -// static void glowBeginQueryIndexed(GPBEGINQUERYINDEXED fnptr, GLenum target, GLuint index, GLuint id) { -// (*fnptr)(target, index, id); -// } -// static void glowBeginTransformFeedbackEXT(GPBEGINTRANSFORMFEEDBACKEXT fnptr, GLenum primitiveMode) { -// (*fnptr)(primitiveMode); -// } -// static void glowBeginTransformFeedbackNV(GPBEGINTRANSFORMFEEDBACKNV fnptr, GLenum primitiveMode) { -// (*fnptr)(primitiveMode); -// } -// static void glowBeginVertexShaderEXT(GPBEGINVERTEXSHADEREXT fnptr) { -// (*fnptr)(); -// } -// static void glowBeginVideoCaptureNV(GPBEGINVIDEOCAPTURENV fnptr, GLuint video_capture_slot) { -// (*fnptr)(video_capture_slot); -// } // static void glowBindAttribLocation(GPBINDATTRIBLOCATION fnptr, GLuint program, GLuint index, const GLchar * name) { // (*fnptr)(program, index, name); // } -// static void glowBindAttribLocationARB(GPBINDATTRIBLOCATIONARB fnptr, GLhandleARB programObj, GLuint index, const GLcharARB * name) { -// (*fnptr)(programObj, index, name); -// } // static void glowBindBuffer(GPBINDBUFFER fnptr, GLenum target, GLuint buffer) { // (*fnptr)(target, buffer); // } -// static void glowBindBufferARB(GPBINDBUFFERARB fnptr, GLenum target, GLuint buffer) { -// (*fnptr)(target, buffer); -// } -// static void glowBindBufferBase(GPBINDBUFFERBASE fnptr, GLenum target, GLuint index, GLuint buffer) { -// (*fnptr)(target, index, buffer); -// } -// static void glowBindBufferBaseEXT(GPBINDBUFFERBASEEXT fnptr, GLenum target, GLuint index, GLuint buffer) { -// (*fnptr)(target, index, buffer); -// } -// static void glowBindBufferBaseNV(GPBINDBUFFERBASENV fnptr, GLenum target, GLuint index, GLuint buffer) { -// (*fnptr)(target, index, buffer); -// } -// static void glowBindBufferOffsetEXT(GPBINDBUFFEROFFSETEXT fnptr, GLenum target, GLuint index, GLuint buffer, GLintptr offset) { -// (*fnptr)(target, index, buffer, offset); -// } -// static void glowBindBufferOffsetNV(GPBINDBUFFEROFFSETNV fnptr, GLenum target, GLuint index, GLuint buffer, GLintptr offset) { -// (*fnptr)(target, index, buffer, offset); -// } -// static void glowBindBufferRange(GPBINDBUFFERRANGE fnptr, GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size) { -// (*fnptr)(target, index, buffer, offset, size); -// } -// static void glowBindBufferRangeEXT(GPBINDBUFFERRANGEEXT fnptr, GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size) { -// (*fnptr)(target, index, buffer, offset, size); -// } -// static void glowBindBufferRangeNV(GPBINDBUFFERRANGENV fnptr, GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size) { -// (*fnptr)(target, index, buffer, offset, size); -// } -// static void glowBindBuffersBase(GPBINDBUFFERSBASE fnptr, GLenum target, GLuint first, GLsizei count, const GLuint * buffers) { -// (*fnptr)(target, first, count, buffers); -// } -// static void glowBindBuffersRange(GPBINDBUFFERSRANGE fnptr, GLenum target, GLuint first, GLsizei count, const GLuint * buffers, const GLintptr * offsets, const GLsizeiptr * sizes) { -// (*fnptr)(target, first, count, buffers, offsets, sizes); -// } -// static void glowBindFragDataLocationEXT(GPBINDFRAGDATALOCATIONEXT fnptr, GLuint program, GLuint color, const GLchar * name) { -// (*fnptr)(program, color, name); -// } -// static void glowBindFragDataLocationIndexed(GPBINDFRAGDATALOCATIONINDEXED fnptr, GLuint program, GLuint colorNumber, GLuint index, const GLchar * name) { -// (*fnptr)(program, colorNumber, index, name); -// } -// static void glowBindFragmentShaderATI(GPBINDFRAGMENTSHADERATI fnptr, GLuint id) { -// (*fnptr)(id); -// } -// static void glowBindFramebuffer(GPBINDFRAMEBUFFER fnptr, GLenum target, GLuint framebuffer) { -// (*fnptr)(target, framebuffer); -// } // static void glowBindFramebufferEXT(GPBINDFRAMEBUFFEREXT fnptr, GLenum target, GLuint framebuffer) { // (*fnptr)(target, framebuffer); // } -// static void glowBindImageTexture(GPBINDIMAGETEXTURE fnptr, GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format) { -// (*fnptr)(unit, texture, level, layered, layer, access, format); -// } -// static void glowBindImageTextureEXT(GPBINDIMAGETEXTUREEXT fnptr, GLuint index, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLint format) { -// (*fnptr)(index, texture, level, layered, layer, access, format); -// } -// static void glowBindImageTextures(GPBINDIMAGETEXTURES fnptr, GLuint first, GLsizei count, const GLuint * textures) { -// (*fnptr)(first, count, textures); -// } -// static GLuint glowBindLightParameterEXT(GPBINDLIGHTPARAMETEREXT fnptr, GLenum light, GLenum value) { -// return (*fnptr)(light, value); -// } -// static GLuint glowBindMaterialParameterEXT(GPBINDMATERIALPARAMETEREXT fnptr, GLenum face, GLenum value) { -// return (*fnptr)(face, value); -// } -// static void glowBindMultiTextureEXT(GPBINDMULTITEXTUREEXT fnptr, GLenum texunit, GLenum target, GLuint texture) { -// (*fnptr)(texunit, target, texture); -// } -// static GLuint glowBindParameterEXT(GPBINDPARAMETEREXT fnptr, GLenum value) { -// return (*fnptr)(value); -// } -// static void glowBindProgramARB(GPBINDPROGRAMARB fnptr, GLenum target, GLuint program) { -// (*fnptr)(target, program); -// } -// static void glowBindProgramNV(GPBINDPROGRAMNV fnptr, GLenum target, GLuint id) { -// (*fnptr)(target, id); -// } -// static void glowBindProgramPipeline(GPBINDPROGRAMPIPELINE fnptr, GLuint pipeline) { -// (*fnptr)(pipeline); -// } -// static void glowBindProgramPipelineEXT(GPBINDPROGRAMPIPELINEEXT fnptr, GLuint pipeline) { -// (*fnptr)(pipeline); -// } -// static void glowBindRenderbuffer(GPBINDRENDERBUFFER fnptr, GLenum target, GLuint renderbuffer) { -// (*fnptr)(target, renderbuffer); -// } -// static void glowBindRenderbufferEXT(GPBINDRENDERBUFFEREXT fnptr, GLenum target, GLuint renderbuffer) { -// (*fnptr)(target, renderbuffer); -// } -// static void glowBindSampler(GPBINDSAMPLER fnptr, GLuint unit, GLuint sampler) { -// (*fnptr)(unit, sampler); -// } -// static void glowBindSamplers(GPBINDSAMPLERS fnptr, GLuint first, GLsizei count, const GLuint * samplers) { -// (*fnptr)(first, count, samplers); -// } -// static GLuint glowBindTexGenParameterEXT(GPBINDTEXGENPARAMETEREXT fnptr, GLenum unit, GLenum coord, GLenum value) { -// return (*fnptr)(unit, coord, value); -// } // static void glowBindTexture(GPBINDTEXTURE fnptr, GLenum target, GLuint texture) { // (*fnptr)(target, texture); // } -// static void glowBindTextureEXT(GPBINDTEXTUREEXT fnptr, GLenum target, GLuint texture) { -// (*fnptr)(target, texture); -// } -// static void glowBindTextureUnit(GPBINDTEXTUREUNIT fnptr, GLuint unit, GLuint texture) { -// (*fnptr)(unit, texture); -// } -// static GLuint glowBindTextureUnitParameterEXT(GPBINDTEXTUREUNITPARAMETEREXT fnptr, GLenum unit, GLenum value) { -// return (*fnptr)(unit, value); -// } -// static void glowBindTextures(GPBINDTEXTURES fnptr, GLuint first, GLsizei count, const GLuint * textures) { -// (*fnptr)(first, count, textures); -// } -// static void glowBindTransformFeedback(GPBINDTRANSFORMFEEDBACK fnptr, GLenum target, GLuint id) { -// (*fnptr)(target, id); -// } -// static void glowBindTransformFeedbackNV(GPBINDTRANSFORMFEEDBACKNV fnptr, GLenum target, GLuint id) { -// (*fnptr)(target, id); -// } -// static void glowBindVertexArray(GPBINDVERTEXARRAY fnptr, GLuint array) { -// (*fnptr)(array); -// } -// static void glowBindVertexArrayAPPLE(GPBINDVERTEXARRAYAPPLE fnptr, GLuint array) { -// (*fnptr)(array); -// } -// static void glowBindVertexBuffer(GPBINDVERTEXBUFFER fnptr, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride) { -// (*fnptr)(bindingindex, buffer, offset, stride); -// } -// static void glowBindVertexBuffers(GPBINDVERTEXBUFFERS fnptr, GLuint first, GLsizei count, const GLuint * buffers, const GLintptr * offsets, const GLsizei * strides) { -// (*fnptr)(first, count, buffers, offsets, strides); -// } -// static void glowBindVertexShaderEXT(GPBINDVERTEXSHADEREXT fnptr, GLuint id) { -// (*fnptr)(id); -// } -// static void glowBindVideoCaptureStreamBufferNV(GPBINDVIDEOCAPTURESTREAMBUFFERNV fnptr, GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLintptrARB offset) { -// (*fnptr)(video_capture_slot, stream, frame_region, offset); -// } -// static void glowBindVideoCaptureStreamTextureNV(GPBINDVIDEOCAPTURESTREAMTEXTURENV fnptr, GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLenum target, GLuint texture) { -// (*fnptr)(video_capture_slot, stream, frame_region, target, texture); -// } -// static void glowBinormal3bEXT(GPBINORMAL3BEXT fnptr, GLbyte bx, GLbyte by, GLbyte bz) { -// (*fnptr)(bx, by, bz); -// } -// static void glowBinormal3bvEXT(GPBINORMAL3BVEXT fnptr, const GLbyte * v) { -// (*fnptr)(v); -// } -// static void glowBinormal3dEXT(GPBINORMAL3DEXT fnptr, GLdouble bx, GLdouble by, GLdouble bz) { -// (*fnptr)(bx, by, bz); -// } -// static void glowBinormal3dvEXT(GPBINORMAL3DVEXT fnptr, const GLdouble * v) { -// (*fnptr)(v); -// } -// static void glowBinormal3fEXT(GPBINORMAL3FEXT fnptr, GLfloat bx, GLfloat by, GLfloat bz) { -// (*fnptr)(bx, by, bz); -// } -// static void glowBinormal3fvEXT(GPBINORMAL3FVEXT fnptr, const GLfloat * v) { -// (*fnptr)(v); -// } -// static void glowBinormal3iEXT(GPBINORMAL3IEXT fnptr, GLint bx, GLint by, GLint bz) { -// (*fnptr)(bx, by, bz); -// } -// static void glowBinormal3ivEXT(GPBINORMAL3IVEXT fnptr, const GLint * v) { -// (*fnptr)(v); -// } -// static void glowBinormal3sEXT(GPBINORMAL3SEXT fnptr, GLshort bx, GLshort by, GLshort bz) { -// (*fnptr)(bx, by, bz); -// } -// static void glowBinormal3svEXT(GPBINORMAL3SVEXT fnptr, const GLshort * v) { -// (*fnptr)(v); -// } -// static void glowBinormalPointerEXT(GPBINORMALPOINTEREXT fnptr, GLenum type, GLsizei stride, const void * pointer) { -// (*fnptr)(type, stride, pointer); -// } -// static void glowBitmap(GPBITMAP fnptr, GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte * bitmap) { -// (*fnptr)(width, height, xorig, yorig, xmove, ymove, bitmap); -// } -// static void glowBitmapxOES(GPBITMAPXOES fnptr, GLsizei width, GLsizei height, GLfixed xorig, GLfixed yorig, GLfixed xmove, GLfixed ymove, const GLubyte * bitmap) { -// (*fnptr)(width, height, xorig, yorig, xmove, ymove, bitmap); -// } -// static void glowBlendBarrierKHR(GPBLENDBARRIERKHR fnptr) { -// (*fnptr)(); -// } -// static void glowBlendBarrierNV(GPBLENDBARRIERNV fnptr) { -// (*fnptr)(); -// } -// static void glowBlendColor(GPBLENDCOLOR fnptr, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) { -// (*fnptr)(red, green, blue, alpha); -// } -// static void glowBlendColorEXT(GPBLENDCOLOREXT fnptr, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) { -// (*fnptr)(red, green, blue, alpha); -// } -// static void glowBlendColorxOES(GPBLENDCOLORXOES fnptr, GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) { -// (*fnptr)(red, green, blue, alpha); -// } -// static void glowBlendEquation(GPBLENDEQUATION fnptr, GLenum mode) { -// (*fnptr)(mode); -// } -// static void glowBlendEquationEXT(GPBLENDEQUATIONEXT fnptr, GLenum mode) { -// (*fnptr)(mode); -// } -// static void glowBlendEquationIndexedAMD(GPBLENDEQUATIONINDEXEDAMD fnptr, GLuint buf, GLenum mode) { -// (*fnptr)(buf, mode); -// } -// static void glowBlendEquationSeparate(GPBLENDEQUATIONSEPARATE fnptr, GLenum modeRGB, GLenum modeAlpha) { -// (*fnptr)(modeRGB, modeAlpha); -// } -// static void glowBlendEquationSeparateEXT(GPBLENDEQUATIONSEPARATEEXT fnptr, GLenum modeRGB, GLenum modeAlpha) { -// (*fnptr)(modeRGB, modeAlpha); -// } -// static void glowBlendEquationSeparateIndexedAMD(GPBLENDEQUATIONSEPARATEINDEXEDAMD fnptr, GLuint buf, GLenum modeRGB, GLenum modeAlpha) { -// (*fnptr)(buf, modeRGB, modeAlpha); -// } -// static void glowBlendEquationSeparateiARB(GPBLENDEQUATIONSEPARATEIARB fnptr, GLuint buf, GLenum modeRGB, GLenum modeAlpha) { -// (*fnptr)(buf, modeRGB, modeAlpha); -// } -// static void glowBlendEquationiARB(GPBLENDEQUATIONIARB fnptr, GLuint buf, GLenum mode) { -// (*fnptr)(buf, mode); -// } // static void glowBlendFunc(GPBLENDFUNC fnptr, GLenum sfactor, GLenum dfactor) { // (*fnptr)(sfactor, dfactor); // } -// static void glowBlendFuncIndexedAMD(GPBLENDFUNCINDEXEDAMD fnptr, GLuint buf, GLenum src, GLenum dst) { -// (*fnptr)(buf, src, dst); -// } -// static void glowBlendFuncSeparate(GPBLENDFUNCSEPARATE fnptr, GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha) { -// (*fnptr)(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha); -// } -// static void glowBlendFuncSeparateEXT(GPBLENDFUNCSEPARATEEXT fnptr, GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha) { -// (*fnptr)(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha); -// } -// static void glowBlendFuncSeparateINGR(GPBLENDFUNCSEPARATEINGR fnptr, GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha) { -// (*fnptr)(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha); -// } -// static void glowBlendFuncSeparateIndexedAMD(GPBLENDFUNCSEPARATEINDEXEDAMD fnptr, GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) { -// (*fnptr)(buf, srcRGB, dstRGB, srcAlpha, dstAlpha); -// } -// static void glowBlendFuncSeparateiARB(GPBLENDFUNCSEPARATEIARB fnptr, GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) { -// (*fnptr)(buf, srcRGB, dstRGB, srcAlpha, dstAlpha); -// } -// static void glowBlendFunciARB(GPBLENDFUNCIARB fnptr, GLuint buf, GLenum src, GLenum dst) { -// (*fnptr)(buf, src, dst); -// } -// static void glowBlendParameteriNV(GPBLENDPARAMETERINV fnptr, GLenum pname, GLint value) { -// (*fnptr)(pname, value); -// } -// static void glowBlitFramebuffer(GPBLITFRAMEBUFFER fnptr, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) { -// (*fnptr)(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); -// } -// static void glowBlitFramebufferEXT(GPBLITFRAMEBUFFEREXT fnptr, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) { -// (*fnptr)(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); -// } -// static void glowBlitNamedFramebuffer(GPBLITNAMEDFRAMEBUFFER fnptr, GLuint readFramebuffer, GLuint drawFramebuffer, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) { -// (*fnptr)(readFramebuffer, drawFramebuffer, srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); -// } -// static void glowBufferAddressRangeNV(GPBUFFERADDRESSRANGENV fnptr, GLenum pname, GLuint index, GLuint64EXT address, GLsizeiptr length) { -// (*fnptr)(pname, index, address, length); -// } // static void glowBufferData(GPBUFFERDATA fnptr, GLenum target, GLsizeiptr size, const void * data, GLenum usage) { // (*fnptr)(target, size, data, usage); // } -// static void glowBufferDataARB(GPBUFFERDATAARB fnptr, GLenum target, GLsizeiptrARB size, const void * data, GLenum usage) { -// (*fnptr)(target, size, data, usage); -// } -// static void glowBufferPageCommitmentARB(GPBUFFERPAGECOMMITMENTARB fnptr, GLenum target, GLintptr offset, GLsizeiptr size, GLboolean commit) { -// (*fnptr)(target, offset, size, commit); -// } -// static void glowBufferParameteriAPPLE(GPBUFFERPARAMETERIAPPLE fnptr, GLenum target, GLenum pname, GLint param) { -// (*fnptr)(target, pname, param); -// } -// static void glowBufferStorage(GPBUFFERSTORAGE fnptr, GLenum target, GLsizeiptr size, const void * data, GLbitfield flags) { -// (*fnptr)(target, size, data, flags); -// } -// static void glowBufferStorageExternalEXT(GPBUFFERSTORAGEEXTERNALEXT fnptr, GLenum target, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags) { -// (*fnptr)(target, offset, size, clientBuffer, flags); -// } -// static void glowBufferStorageMemEXT(GPBUFFERSTORAGEMEMEXT fnptr, GLenum target, GLsizeiptr size, GLuint memory, GLuint64 offset) { -// (*fnptr)(target, size, memory, offset); -// } // static void glowBufferSubData(GPBUFFERSUBDATA fnptr, GLenum target, GLintptr offset, GLsizeiptr size, const void * data) { // (*fnptr)(target, offset, size, data); // } -// static void glowBufferSubDataARB(GPBUFFERSUBDATAARB fnptr, GLenum target, GLintptrARB offset, GLsizeiptrARB size, const void * data) { -// (*fnptr)(target, offset, size, data); -// } -// static void glowCallCommandListNV(GPCALLCOMMANDLISTNV fnptr, GLuint list) { -// (*fnptr)(list); -// } -// static void glowCallList(GPCALLLIST fnptr, GLuint list) { -// (*fnptr)(list); -// } -// static void glowCallLists(GPCALLLISTS fnptr, GLsizei n, GLenum type, const void * lists) { -// (*fnptr)(n, type, lists); -// } -// static GLenum glowCheckFramebufferStatus(GPCHECKFRAMEBUFFERSTATUS fnptr, GLenum target) { -// return (*fnptr)(target); -// } // static GLenum glowCheckFramebufferStatusEXT(GPCHECKFRAMEBUFFERSTATUSEXT fnptr, GLenum target) { // return (*fnptr)(target); // } -// static GLenum glowCheckNamedFramebufferStatus(GPCHECKNAMEDFRAMEBUFFERSTATUS fnptr, GLuint framebuffer, GLenum target) { -// return (*fnptr)(framebuffer, target); -// } -// static GLenum glowCheckNamedFramebufferStatusEXT(GPCHECKNAMEDFRAMEBUFFERSTATUSEXT fnptr, GLuint framebuffer, GLenum target) { -// return (*fnptr)(framebuffer, target); -// } -// static void glowClampColorARB(GPCLAMPCOLORARB fnptr, GLenum target, GLenum clamp) { -// (*fnptr)(target, clamp); -// } -// static void glowClear(GPCLEAR fnptr, GLbitfield mask) { -// (*fnptr)(mask); -// } -// static void glowClearAccum(GPCLEARACCUM fnptr, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) { -// (*fnptr)(red, green, blue, alpha); -// } -// static void glowClearAccumxOES(GPCLEARACCUMXOES fnptr, GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) { -// (*fnptr)(red, green, blue, alpha); -// } -// static void glowClearBufferData(GPCLEARBUFFERDATA fnptr, GLenum target, GLenum internalformat, GLenum format, GLenum type, const void * data) { -// (*fnptr)(target, internalformat, format, type, data); -// } -// static void glowClearBufferSubData(GPCLEARBUFFERSUBDATA fnptr, GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void * data) { -// (*fnptr)(target, internalformat, offset, size, format, type, data); -// } -// static void glowClearColor(GPCLEARCOLOR fnptr, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) { -// (*fnptr)(red, green, blue, alpha); -// } -// static void glowClearColorIiEXT(GPCLEARCOLORIIEXT fnptr, GLint red, GLint green, GLint blue, GLint alpha) { -// (*fnptr)(red, green, blue, alpha); -// } -// static void glowClearColorIuiEXT(GPCLEARCOLORIUIEXT fnptr, GLuint red, GLuint green, GLuint blue, GLuint alpha) { -// (*fnptr)(red, green, blue, alpha); -// } -// static void glowClearColorxOES(GPCLEARCOLORXOES fnptr, GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) { -// (*fnptr)(red, green, blue, alpha); -// } -// static void glowClearDepth(GPCLEARDEPTH fnptr, GLdouble depth) { -// (*fnptr)(depth); -// } -// static void glowClearDepthdNV(GPCLEARDEPTHDNV fnptr, GLdouble depth) { -// (*fnptr)(depth); -// } -// static void glowClearDepthf(GPCLEARDEPTHF fnptr, GLfloat d) { -// (*fnptr)(d); -// } -// static void glowClearDepthfOES(GPCLEARDEPTHFOES fnptr, GLclampf depth) { -// (*fnptr)(depth); -// } -// static void glowClearDepthxOES(GPCLEARDEPTHXOES fnptr, GLfixed depth) { -// (*fnptr)(depth); -// } -// static void glowClearIndex(GPCLEARINDEX fnptr, GLfloat c) { -// (*fnptr)(c); -// } -// static void glowClearNamedBufferData(GPCLEARNAMEDBUFFERDATA fnptr, GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void * data) { -// (*fnptr)(buffer, internalformat, format, type, data); -// } -// static void glowClearNamedBufferDataEXT(GPCLEARNAMEDBUFFERDATAEXT fnptr, GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void * data) { -// (*fnptr)(buffer, internalformat, format, type, data); -// } -// static void glowClearNamedBufferSubData(GPCLEARNAMEDBUFFERSUBDATA fnptr, GLuint buffer, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void * data) { -// (*fnptr)(buffer, internalformat, offset, size, format, type, data); -// } -// static void glowClearNamedBufferSubDataEXT(GPCLEARNAMEDBUFFERSUBDATAEXT fnptr, GLuint buffer, GLenum internalformat, GLsizeiptr offset, GLsizeiptr size, GLenum format, GLenum type, const void * data) { -// (*fnptr)(buffer, internalformat, offset, size, format, type, data); -// } -// static void glowClearNamedFramebufferfi(GPCLEARNAMEDFRAMEBUFFERFI fnptr, GLuint framebuffer, GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil) { -// (*fnptr)(framebuffer, buffer, drawbuffer, depth, stencil); -// } -// static void glowClearNamedFramebufferfv(GPCLEARNAMEDFRAMEBUFFERFV fnptr, GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLfloat * value) { -// (*fnptr)(framebuffer, buffer, drawbuffer, value); -// } -// static void glowClearNamedFramebufferiv(GPCLEARNAMEDFRAMEBUFFERIV fnptr, GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLint * value) { -// (*fnptr)(framebuffer, buffer, drawbuffer, value); -// } -// static void glowClearNamedFramebufferuiv(GPCLEARNAMEDFRAMEBUFFERUIV fnptr, GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLuint * value) { -// (*fnptr)(framebuffer, buffer, drawbuffer, value); -// } -// static void glowClearStencil(GPCLEARSTENCIL fnptr, GLint s) { -// (*fnptr)(s); -// } -// static void glowClearTexImage(GPCLEARTEXIMAGE fnptr, GLuint texture, GLint level, GLenum format, GLenum type, const void * data) { -// (*fnptr)(texture, level, format, type, data); -// } -// static void glowClearTexSubImage(GPCLEARTEXSUBIMAGE fnptr, GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * data) { -// (*fnptr)(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, type, data); -// } -// static void glowClientActiveTexture(GPCLIENTACTIVETEXTURE fnptr, GLenum texture) { -// (*fnptr)(texture); -// } -// static void glowClientActiveTextureARB(GPCLIENTACTIVETEXTUREARB fnptr, GLenum texture) { -// (*fnptr)(texture); -// } -// static void glowClientActiveVertexStreamATI(GPCLIENTACTIVEVERTEXSTREAMATI fnptr, GLenum stream) { -// (*fnptr)(stream); -// } -// static void glowClientAttribDefaultEXT(GPCLIENTATTRIBDEFAULTEXT fnptr, GLbitfield mask) { -// (*fnptr)(mask); -// } -// static GLenum glowClientWaitSync(GPCLIENTWAITSYNC fnptr, GLsync sync, GLbitfield flags, GLuint64 timeout) { -// return (*fnptr)(sync, flags, timeout); -// } -// static void glowClipControl(GPCLIPCONTROL fnptr, GLenum origin, GLenum depth) { -// (*fnptr)(origin, depth); -// } -// static void glowClipPlane(GPCLIPPLANE fnptr, GLenum plane, const GLdouble * equation) { -// (*fnptr)(plane, equation); -// } -// static void glowClipPlanefOES(GPCLIPPLANEFOES fnptr, GLenum plane, const GLfloat * equation) { -// (*fnptr)(plane, equation); -// } -// static void glowClipPlanexOES(GPCLIPPLANEXOES fnptr, GLenum plane, const GLfixed * equation) { -// (*fnptr)(plane, equation); -// } -// static void glowColor3b(GPCOLOR3B fnptr, GLbyte red, GLbyte green, GLbyte blue) { -// (*fnptr)(red, green, blue); -// } -// static void glowColor3bv(GPCOLOR3BV fnptr, const GLbyte * v) { -// (*fnptr)(v); -// } -// static void glowColor3d(GPCOLOR3D fnptr, GLdouble red, GLdouble green, GLdouble blue) { -// (*fnptr)(red, green, blue); -// } -// static void glowColor3dv(GPCOLOR3DV fnptr, const GLdouble * v) { -// (*fnptr)(v); -// } -// static void glowColor3f(GPCOLOR3F fnptr, GLfloat red, GLfloat green, GLfloat blue) { -// (*fnptr)(red, green, blue); -// } -// static void glowColor3fVertex3fSUN(GPCOLOR3FVERTEX3FSUN fnptr, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z) { -// (*fnptr)(r, g, b, x, y, z); -// } -// static void glowColor3fVertex3fvSUN(GPCOLOR3FVERTEX3FVSUN fnptr, const GLfloat * c, const GLfloat * v) { -// (*fnptr)(c, v); -// } -// static void glowColor3fv(GPCOLOR3FV fnptr, const GLfloat * v) { -// (*fnptr)(v); -// } -// static void glowColor3hNV(GPCOLOR3HNV fnptr, GLhalfNV red, GLhalfNV green, GLhalfNV blue) { -// (*fnptr)(red, green, blue); -// } -// static void glowColor3hvNV(GPCOLOR3HVNV fnptr, const GLhalfNV * v) { -// (*fnptr)(v); -// } -// static void glowColor3i(GPCOLOR3I fnptr, GLint red, GLint green, GLint blue) { -// (*fnptr)(red, green, blue); -// } -// static void glowColor3iv(GPCOLOR3IV fnptr, const GLint * v) { -// (*fnptr)(v); -// } -// static void glowColor3s(GPCOLOR3S fnptr, GLshort red, GLshort green, GLshort blue) { -// (*fnptr)(red, green, blue); -// } -// static void glowColor3sv(GPCOLOR3SV fnptr, const GLshort * v) { -// (*fnptr)(v); -// } -// static void glowColor3ub(GPCOLOR3UB fnptr, GLubyte red, GLubyte green, GLubyte blue) { -// (*fnptr)(red, green, blue); -// } -// static void glowColor3ubv(GPCOLOR3UBV fnptr, const GLubyte * v) { -// (*fnptr)(v); -// } -// static void glowColor3ui(GPCOLOR3UI fnptr, GLuint red, GLuint green, GLuint blue) { -// (*fnptr)(red, green, blue); -// } -// static void glowColor3uiv(GPCOLOR3UIV fnptr, const GLuint * v) { -// (*fnptr)(v); -// } -// static void glowColor3us(GPCOLOR3US fnptr, GLushort red, GLushort green, GLushort blue) { -// (*fnptr)(red, green, blue); -// } -// static void glowColor3usv(GPCOLOR3USV fnptr, const GLushort * v) { -// (*fnptr)(v); -// } -// static void glowColor3xOES(GPCOLOR3XOES fnptr, GLfixed red, GLfixed green, GLfixed blue) { -// (*fnptr)(red, green, blue); -// } -// static void glowColor3xvOES(GPCOLOR3XVOES fnptr, const GLfixed * components) { -// (*fnptr)(components); -// } -// static void glowColor4b(GPCOLOR4B fnptr, GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha) { -// (*fnptr)(red, green, blue, alpha); -// } -// static void glowColor4bv(GPCOLOR4BV fnptr, const GLbyte * v) { -// (*fnptr)(v); -// } -// static void glowColor4d(GPCOLOR4D fnptr, GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha) { -// (*fnptr)(red, green, blue, alpha); -// } -// static void glowColor4dv(GPCOLOR4DV fnptr, const GLdouble * v) { -// (*fnptr)(v); -// } -// static void glowColor4f(GPCOLOR4F fnptr, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) { -// (*fnptr)(red, green, blue, alpha); -// } -// static void glowColor4fNormal3fVertex3fSUN(GPCOLOR4FNORMAL3FVERTEX3FSUN fnptr, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z) { -// (*fnptr)(r, g, b, a, nx, ny, nz, x, y, z); -// } -// static void glowColor4fNormal3fVertex3fvSUN(GPCOLOR4FNORMAL3FVERTEX3FVSUN fnptr, const GLfloat * c, const GLfloat * n, const GLfloat * v) { -// (*fnptr)(c, n, v); -// } -// static void glowColor4fv(GPCOLOR4FV fnptr, const GLfloat * v) { -// (*fnptr)(v); -// } -// static void glowColor4hNV(GPCOLOR4HNV fnptr, GLhalfNV red, GLhalfNV green, GLhalfNV blue, GLhalfNV alpha) { -// (*fnptr)(red, green, blue, alpha); -// } -// static void glowColor4hvNV(GPCOLOR4HVNV fnptr, const GLhalfNV * v) { -// (*fnptr)(v); -// } -// static void glowColor4i(GPCOLOR4I fnptr, GLint red, GLint green, GLint blue, GLint alpha) { -// (*fnptr)(red, green, blue, alpha); -// } -// static void glowColor4iv(GPCOLOR4IV fnptr, const GLint * v) { -// (*fnptr)(v); -// } -// static void glowColor4s(GPCOLOR4S fnptr, GLshort red, GLshort green, GLshort blue, GLshort alpha) { -// (*fnptr)(red, green, blue, alpha); -// } -// static void glowColor4sv(GPCOLOR4SV fnptr, const GLshort * v) { -// (*fnptr)(v); -// } -// static void glowColor4ub(GPCOLOR4UB fnptr, GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha) { -// (*fnptr)(red, green, blue, alpha); -// } -// static void glowColor4ubVertex2fSUN(GPCOLOR4UBVERTEX2FSUN fnptr, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y) { -// (*fnptr)(r, g, b, a, x, y); -// } -// static void glowColor4ubVertex2fvSUN(GPCOLOR4UBVERTEX2FVSUN fnptr, const GLubyte * c, const GLfloat * v) { -// (*fnptr)(c, v); -// } -// static void glowColor4ubVertex3fSUN(GPCOLOR4UBVERTEX3FSUN fnptr, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z) { -// (*fnptr)(r, g, b, a, x, y, z); -// } -// static void glowColor4ubVertex3fvSUN(GPCOLOR4UBVERTEX3FVSUN fnptr, const GLubyte * c, const GLfloat * v) { -// (*fnptr)(c, v); -// } -// static void glowColor4ubv(GPCOLOR4UBV fnptr, const GLubyte * v) { -// (*fnptr)(v); -// } -// static void glowColor4ui(GPCOLOR4UI fnptr, GLuint red, GLuint green, GLuint blue, GLuint alpha) { -// (*fnptr)(red, green, blue, alpha); -// } -// static void glowColor4uiv(GPCOLOR4UIV fnptr, const GLuint * v) { -// (*fnptr)(v); -// } -// static void glowColor4us(GPCOLOR4US fnptr, GLushort red, GLushort green, GLushort blue, GLushort alpha) { -// (*fnptr)(red, green, blue, alpha); -// } -// static void glowColor4usv(GPCOLOR4USV fnptr, const GLushort * v) { -// (*fnptr)(v); -// } -// static void glowColor4xOES(GPCOLOR4XOES fnptr, GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) { -// (*fnptr)(red, green, blue, alpha); -// } -// static void glowColor4xvOES(GPCOLOR4XVOES fnptr, const GLfixed * components) { -// (*fnptr)(components); -// } -// static void glowColorFormatNV(GPCOLORFORMATNV fnptr, GLint size, GLenum type, GLsizei stride) { -// (*fnptr)(size, type, stride); -// } -// static void glowColorFragmentOp1ATI(GPCOLORFRAGMENTOP1ATI fnptr, GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod) { -// (*fnptr)(op, dst, dstMask, dstMod, arg1, arg1Rep, arg1Mod); -// } -// static void glowColorFragmentOp2ATI(GPCOLORFRAGMENTOP2ATI fnptr, GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod) { -// (*fnptr)(op, dst, dstMask, dstMod, arg1, arg1Rep, arg1Mod, arg2, arg2Rep, arg2Mod); -// } -// static void glowColorFragmentOp3ATI(GPCOLORFRAGMENTOP3ATI fnptr, GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod) { -// (*fnptr)(op, dst, dstMask, dstMod, arg1, arg1Rep, arg1Mod, arg2, arg2Rep, arg2Mod, arg3, arg3Rep, arg3Mod); -// } -// static void glowColorMask(GPCOLORMASK fnptr, GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) { -// (*fnptr)(red, green, blue, alpha); -// } -// static void glowColorMaskIndexedEXT(GPCOLORMASKINDEXEDEXT fnptr, GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a) { -// (*fnptr)(index, r, g, b, a); -// } -// static void glowColorMaterial(GPCOLORMATERIAL fnptr, GLenum face, GLenum mode) { -// (*fnptr)(face, mode); -// } -// static void glowColorPointer(GPCOLORPOINTER fnptr, GLint size, GLenum type, GLsizei stride, const void * pointer) { -// (*fnptr)(size, type, stride, pointer); -// } -// static void glowColorPointerEXT(GPCOLORPOINTEREXT fnptr, GLint size, GLenum type, GLsizei stride, GLsizei count, const void * pointer) { -// (*fnptr)(size, type, stride, count, pointer); -// } -// static void glowColorPointerListIBM(GPCOLORPOINTERLISTIBM fnptr, GLint size, GLenum type, GLint stride, const void ** pointer, GLint ptrstride) { -// (*fnptr)(size, type, stride, pointer, ptrstride); -// } -// static void glowColorPointervINTEL(GPCOLORPOINTERVINTEL fnptr, GLint size, GLenum type, const void ** pointer) { -// (*fnptr)(size, type, pointer); -// } -// static void glowColorSubTableEXT(GPCOLORSUBTABLEEXT fnptr, GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void * data) { -// (*fnptr)(target, start, count, format, type, data); -// } -// static void glowColorTableEXT(GPCOLORTABLEEXT fnptr, GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const void * table) { -// (*fnptr)(target, internalFormat, width, format, type, table); -// } -// static void glowColorTableParameterfvSGI(GPCOLORTABLEPARAMETERFVSGI fnptr, GLenum target, GLenum pname, const GLfloat * params) { -// (*fnptr)(target, pname, params); -// } -// static void glowColorTableParameterivSGI(GPCOLORTABLEPARAMETERIVSGI fnptr, GLenum target, GLenum pname, const GLint * params) { -// (*fnptr)(target, pname, params); -// } -// static void glowColorTableSGI(GPCOLORTABLESGI fnptr, GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void * table) { -// (*fnptr)(target, internalformat, width, format, type, table); -// } -// static void glowCombinerInputNV(GPCOMBINERINPUTNV fnptr, GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage) { -// (*fnptr)(stage, portion, variable, input, mapping, componentUsage); -// } -// static void glowCombinerOutputNV(GPCOMBINEROUTPUTNV fnptr, GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum) { -// (*fnptr)(stage, portion, abOutput, cdOutput, sumOutput, scale, bias, abDotProduct, cdDotProduct, muxSum); -// } -// static void glowCombinerParameterfNV(GPCOMBINERPARAMETERFNV fnptr, GLenum pname, GLfloat param) { -// (*fnptr)(pname, param); -// } -// static void glowCombinerParameterfvNV(GPCOMBINERPARAMETERFVNV fnptr, GLenum pname, const GLfloat * params) { -// (*fnptr)(pname, params); -// } -// static void glowCombinerParameteriNV(GPCOMBINERPARAMETERINV fnptr, GLenum pname, GLint param) { -// (*fnptr)(pname, param); -// } -// static void glowCombinerParameterivNV(GPCOMBINERPARAMETERIVNV fnptr, GLenum pname, const GLint * params) { -// (*fnptr)(pname, params); -// } -// static void glowCombinerStageParameterfvNV(GPCOMBINERSTAGEPARAMETERFVNV fnptr, GLenum stage, GLenum pname, const GLfloat * params) { -// (*fnptr)(stage, pname, params); -// } -// static void glowCommandListSegmentsNV(GPCOMMANDLISTSEGMENTSNV fnptr, GLuint list, GLuint segments) { -// (*fnptr)(list, segments); -// } -// static void glowCompileCommandListNV(GPCOMPILECOMMANDLISTNV fnptr, GLuint list) { -// (*fnptr)(list); -// } // static void glowCompileShader(GPCOMPILESHADER fnptr, GLuint shader) { // (*fnptr)(shader); // } -// static void glowCompileShaderARB(GPCOMPILESHADERARB fnptr, GLhandleARB shaderObj) { -// (*fnptr)(shaderObj); -// } -// static void glowCompileShaderIncludeARB(GPCOMPILESHADERINCLUDEARB fnptr, GLuint shader, GLsizei count, const GLchar *const* path, const GLint * length) { -// (*fnptr)(shader, count, path, length); -// } -// static void glowCompressedMultiTexImage1DEXT(GPCOMPRESSEDMULTITEXIMAGE1DEXT fnptr, GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void * bits) { -// (*fnptr)(texunit, target, level, internalformat, width, border, imageSize, bits); -// } -// static void glowCompressedMultiTexImage2DEXT(GPCOMPRESSEDMULTITEXIMAGE2DEXT fnptr, GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void * bits) { -// (*fnptr)(texunit, target, level, internalformat, width, height, border, imageSize, bits); -// } -// static void glowCompressedMultiTexImage3DEXT(GPCOMPRESSEDMULTITEXIMAGE3DEXT fnptr, GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void * bits) { -// (*fnptr)(texunit, target, level, internalformat, width, height, depth, border, imageSize, bits); -// } -// static void glowCompressedMultiTexSubImage1DEXT(GPCOMPRESSEDMULTITEXSUBIMAGE1DEXT fnptr, GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void * bits) { -// (*fnptr)(texunit, target, level, xoffset, width, format, imageSize, bits); -// } -// static void glowCompressedMultiTexSubImage2DEXT(GPCOMPRESSEDMULTITEXSUBIMAGE2DEXT fnptr, GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void * bits) { -// (*fnptr)(texunit, target, level, xoffset, yoffset, width, height, format, imageSize, bits); -// } -// static void glowCompressedMultiTexSubImage3DEXT(GPCOMPRESSEDMULTITEXSUBIMAGE3DEXT fnptr, GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void * bits) { -// (*fnptr)(texunit, target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, bits); -// } -// static void glowCompressedTexImage1D(GPCOMPRESSEDTEXIMAGE1D fnptr, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void * data) { -// (*fnptr)(target, level, internalformat, width, border, imageSize, data); -// } -// static void glowCompressedTexImage1DARB(GPCOMPRESSEDTEXIMAGE1DARB fnptr, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void * data) { -// (*fnptr)(target, level, internalformat, width, border, imageSize, data); -// } -// static void glowCompressedTexImage2D(GPCOMPRESSEDTEXIMAGE2D fnptr, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void * data) { -// (*fnptr)(target, level, internalformat, width, height, border, imageSize, data); -// } -// static void glowCompressedTexImage2DARB(GPCOMPRESSEDTEXIMAGE2DARB fnptr, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void * data) { -// (*fnptr)(target, level, internalformat, width, height, border, imageSize, data); -// } -// static void glowCompressedTexImage3D(GPCOMPRESSEDTEXIMAGE3D fnptr, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void * data) { -// (*fnptr)(target, level, internalformat, width, height, depth, border, imageSize, data); -// } -// static void glowCompressedTexImage3DARB(GPCOMPRESSEDTEXIMAGE3DARB fnptr, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void * data) { -// (*fnptr)(target, level, internalformat, width, height, depth, border, imageSize, data); -// } -// static void glowCompressedTexSubImage1D(GPCOMPRESSEDTEXSUBIMAGE1D fnptr, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void * data) { -// (*fnptr)(target, level, xoffset, width, format, imageSize, data); -// } -// static void glowCompressedTexSubImage1DARB(GPCOMPRESSEDTEXSUBIMAGE1DARB fnptr, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void * data) { -// (*fnptr)(target, level, xoffset, width, format, imageSize, data); -// } -// static void glowCompressedTexSubImage2D(GPCOMPRESSEDTEXSUBIMAGE2D fnptr, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void * data) { -// (*fnptr)(target, level, xoffset, yoffset, width, height, format, imageSize, data); -// } -// static void glowCompressedTexSubImage2DARB(GPCOMPRESSEDTEXSUBIMAGE2DARB fnptr, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void * data) { -// (*fnptr)(target, level, xoffset, yoffset, width, height, format, imageSize, data); -// } -// static void glowCompressedTexSubImage3D(GPCOMPRESSEDTEXSUBIMAGE3D fnptr, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void * data) { -// (*fnptr)(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data); -// } -// static void glowCompressedTexSubImage3DARB(GPCOMPRESSEDTEXSUBIMAGE3DARB fnptr, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void * data) { -// (*fnptr)(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data); -// } -// static void glowCompressedTextureImage1DEXT(GPCOMPRESSEDTEXTUREIMAGE1DEXT fnptr, GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void * bits) { -// (*fnptr)(texture, target, level, internalformat, width, border, imageSize, bits); -// } -// static void glowCompressedTextureImage2DEXT(GPCOMPRESSEDTEXTUREIMAGE2DEXT fnptr, GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void * bits) { -// (*fnptr)(texture, target, level, internalformat, width, height, border, imageSize, bits); -// } -// static void glowCompressedTextureImage3DEXT(GPCOMPRESSEDTEXTUREIMAGE3DEXT fnptr, GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void * bits) { -// (*fnptr)(texture, target, level, internalformat, width, height, depth, border, imageSize, bits); -// } -// static void glowCompressedTextureSubImage1D(GPCOMPRESSEDTEXTURESUBIMAGE1D fnptr, GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void * data) { -// (*fnptr)(texture, level, xoffset, width, format, imageSize, data); -// } -// static void glowCompressedTextureSubImage1DEXT(GPCOMPRESSEDTEXTURESUBIMAGE1DEXT fnptr, GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void * bits) { -// (*fnptr)(texture, target, level, xoffset, width, format, imageSize, bits); -// } -// static void glowCompressedTextureSubImage2D(GPCOMPRESSEDTEXTURESUBIMAGE2D fnptr, GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void * data) { -// (*fnptr)(texture, level, xoffset, yoffset, width, height, format, imageSize, data); -// } -// static void glowCompressedTextureSubImage2DEXT(GPCOMPRESSEDTEXTURESUBIMAGE2DEXT fnptr, GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void * bits) { -// (*fnptr)(texture, target, level, xoffset, yoffset, width, height, format, imageSize, bits); -// } -// static void glowCompressedTextureSubImage3D(GPCOMPRESSEDTEXTURESUBIMAGE3D fnptr, GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void * data) { -// (*fnptr)(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data); -// } -// static void glowCompressedTextureSubImage3DEXT(GPCOMPRESSEDTEXTURESUBIMAGE3DEXT fnptr, GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void * bits) { -// (*fnptr)(texture, target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, bits); -// } -// static void glowConservativeRasterParameterfNV(GPCONSERVATIVERASTERPARAMETERFNV fnptr, GLenum pname, GLfloat value) { -// (*fnptr)(pname, value); -// } -// static void glowConservativeRasterParameteriNV(GPCONSERVATIVERASTERPARAMETERINV fnptr, GLenum pname, GLint param) { -// (*fnptr)(pname, param); -// } -// static void glowConvolutionFilter1DEXT(GPCONVOLUTIONFILTER1DEXT fnptr, GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void * image) { -// (*fnptr)(target, internalformat, width, format, type, image); -// } -// static void glowConvolutionFilter2DEXT(GPCONVOLUTIONFILTER2DEXT fnptr, GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * image) { -// (*fnptr)(target, internalformat, width, height, format, type, image); -// } -// static void glowConvolutionParameterfEXT(GPCONVOLUTIONPARAMETERFEXT fnptr, GLenum target, GLenum pname, GLfloat params) { -// (*fnptr)(target, pname, params); -// } -// static void glowConvolutionParameterfvEXT(GPCONVOLUTIONPARAMETERFVEXT fnptr, GLenum target, GLenum pname, const GLfloat * params) { -// (*fnptr)(target, pname, params); -// } -// static void glowConvolutionParameteriEXT(GPCONVOLUTIONPARAMETERIEXT fnptr, GLenum target, GLenum pname, GLint params) { -// (*fnptr)(target, pname, params); -// } -// static void glowConvolutionParameterivEXT(GPCONVOLUTIONPARAMETERIVEXT fnptr, GLenum target, GLenum pname, const GLint * params) { -// (*fnptr)(target, pname, params); -// } -// static void glowConvolutionParameterxOES(GPCONVOLUTIONPARAMETERXOES fnptr, GLenum target, GLenum pname, GLfixed param) { -// (*fnptr)(target, pname, param); -// } -// static void glowConvolutionParameterxvOES(GPCONVOLUTIONPARAMETERXVOES fnptr, GLenum target, GLenum pname, const GLfixed * params) { -// (*fnptr)(target, pname, params); -// } -// static void glowCopyBufferSubData(GPCOPYBUFFERSUBDATA fnptr, GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size) { -// (*fnptr)(readTarget, writeTarget, readOffset, writeOffset, size); -// } -// static void glowCopyColorSubTableEXT(GPCOPYCOLORSUBTABLEEXT fnptr, GLenum target, GLsizei start, GLint x, GLint y, GLsizei width) { -// (*fnptr)(target, start, x, y, width); -// } -// static void glowCopyColorTableSGI(GPCOPYCOLORTABLESGI fnptr, GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) { -// (*fnptr)(target, internalformat, x, y, width); -// } -// static void glowCopyConvolutionFilter1DEXT(GPCOPYCONVOLUTIONFILTER1DEXT fnptr, GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) { -// (*fnptr)(target, internalformat, x, y, width); -// } -// static void glowCopyConvolutionFilter2DEXT(GPCOPYCONVOLUTIONFILTER2DEXT fnptr, GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height) { -// (*fnptr)(target, internalformat, x, y, width, height); -// } -// static void glowCopyImageSubData(GPCOPYIMAGESUBDATA fnptr, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth) { -// (*fnptr)(srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth); -// } -// static void glowCopyImageSubDataNV(GPCOPYIMAGESUBDATANV fnptr, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth) { -// (*fnptr)(srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, width, height, depth); -// } -// static void glowCopyMultiTexImage1DEXT(GPCOPYMULTITEXIMAGE1DEXT fnptr, GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border) { -// (*fnptr)(texunit, target, level, internalformat, x, y, width, border); -// } -// static void glowCopyMultiTexImage2DEXT(GPCOPYMULTITEXIMAGE2DEXT fnptr, GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) { -// (*fnptr)(texunit, target, level, internalformat, x, y, width, height, border); -// } -// static void glowCopyMultiTexSubImage1DEXT(GPCOPYMULTITEXSUBIMAGE1DEXT fnptr, GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width) { -// (*fnptr)(texunit, target, level, xoffset, x, y, width); -// } -// static void glowCopyMultiTexSubImage2DEXT(GPCOPYMULTITEXSUBIMAGE2DEXT fnptr, GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) { -// (*fnptr)(texunit, target, level, xoffset, yoffset, x, y, width, height); -// } -// static void glowCopyMultiTexSubImage3DEXT(GPCOPYMULTITEXSUBIMAGE3DEXT fnptr, GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) { -// (*fnptr)(texunit, target, level, xoffset, yoffset, zoffset, x, y, width, height); -// } -// static void glowCopyNamedBufferSubData(GPCOPYNAMEDBUFFERSUBDATA fnptr, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size) { -// (*fnptr)(readBuffer, writeBuffer, readOffset, writeOffset, size); -// } -// static void glowCopyPathNV(GPCOPYPATHNV fnptr, GLuint resultPath, GLuint srcPath) { -// (*fnptr)(resultPath, srcPath); -// } -// static void glowCopyPixels(GPCOPYPIXELS fnptr, GLint x, GLint y, GLsizei width, GLsizei height, GLenum type) { -// (*fnptr)(x, y, width, height, type); -// } -// static void glowCopyTexImage1D(GPCOPYTEXIMAGE1D fnptr, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border) { -// (*fnptr)(target, level, internalformat, x, y, width, border); -// } -// static void glowCopyTexImage1DEXT(GPCOPYTEXIMAGE1DEXT fnptr, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border) { -// (*fnptr)(target, level, internalformat, x, y, width, border); -// } -// static void glowCopyTexImage2D(GPCOPYTEXIMAGE2D fnptr, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) { -// (*fnptr)(target, level, internalformat, x, y, width, height, border); -// } -// static void glowCopyTexImage2DEXT(GPCOPYTEXIMAGE2DEXT fnptr, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) { -// (*fnptr)(target, level, internalformat, x, y, width, height, border); -// } -// static void glowCopyTexSubImage1D(GPCOPYTEXSUBIMAGE1D fnptr, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width) { -// (*fnptr)(target, level, xoffset, x, y, width); -// } -// static void glowCopyTexSubImage1DEXT(GPCOPYTEXSUBIMAGE1DEXT fnptr, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width) { -// (*fnptr)(target, level, xoffset, x, y, width); -// } -// static void glowCopyTexSubImage2D(GPCOPYTEXSUBIMAGE2D fnptr, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) { -// (*fnptr)(target, level, xoffset, yoffset, x, y, width, height); -// } -// static void glowCopyTexSubImage2DEXT(GPCOPYTEXSUBIMAGE2DEXT fnptr, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) { -// (*fnptr)(target, level, xoffset, yoffset, x, y, width, height); -// } -// static void glowCopyTexSubImage3D(GPCOPYTEXSUBIMAGE3D fnptr, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) { -// (*fnptr)(target, level, xoffset, yoffset, zoffset, x, y, width, height); -// } -// static void glowCopyTexSubImage3DEXT(GPCOPYTEXSUBIMAGE3DEXT fnptr, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) { -// (*fnptr)(target, level, xoffset, yoffset, zoffset, x, y, width, height); -// } -// static void glowCopyTextureImage1DEXT(GPCOPYTEXTUREIMAGE1DEXT fnptr, GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border) { -// (*fnptr)(texture, target, level, internalformat, x, y, width, border); -// } -// static void glowCopyTextureImage2DEXT(GPCOPYTEXTUREIMAGE2DEXT fnptr, GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) { -// (*fnptr)(texture, target, level, internalformat, x, y, width, height, border); -// } -// static void glowCopyTextureSubImage1D(GPCOPYTEXTURESUBIMAGE1D fnptr, GLuint texture, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width) { -// (*fnptr)(texture, level, xoffset, x, y, width); -// } -// static void glowCopyTextureSubImage1DEXT(GPCOPYTEXTURESUBIMAGE1DEXT fnptr, GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width) { -// (*fnptr)(texture, target, level, xoffset, x, y, width); -// } -// static void glowCopyTextureSubImage2D(GPCOPYTEXTURESUBIMAGE2D fnptr, GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) { -// (*fnptr)(texture, level, xoffset, yoffset, x, y, width, height); -// } -// static void glowCopyTextureSubImage2DEXT(GPCOPYTEXTURESUBIMAGE2DEXT fnptr, GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) { -// (*fnptr)(texture, target, level, xoffset, yoffset, x, y, width, height); -// } -// static void glowCopyTextureSubImage3D(GPCOPYTEXTURESUBIMAGE3D fnptr, GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) { -// (*fnptr)(texture, level, xoffset, yoffset, zoffset, x, y, width, height); -// } -// static void glowCopyTextureSubImage3DEXT(GPCOPYTEXTURESUBIMAGE3DEXT fnptr, GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) { -// (*fnptr)(texture, target, level, xoffset, yoffset, zoffset, x, y, width, height); -// } -// static void glowCoverFillPathInstancedNV(GPCOVERFILLPATHINSTANCEDNV fnptr, GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat * transformValues) { -// (*fnptr)(numPaths, pathNameType, paths, pathBase, coverMode, transformType, transformValues); -// } -// static void glowCoverFillPathNV(GPCOVERFILLPATHNV fnptr, GLuint path, GLenum coverMode) { -// (*fnptr)(path, coverMode); -// } -// static void glowCoverStrokePathInstancedNV(GPCOVERSTROKEPATHINSTANCEDNV fnptr, GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat * transformValues) { -// (*fnptr)(numPaths, pathNameType, paths, pathBase, coverMode, transformType, transformValues); -// } -// static void glowCoverStrokePathNV(GPCOVERSTROKEPATHNV fnptr, GLuint path, GLenum coverMode) { -// (*fnptr)(path, coverMode); -// } -// static void glowCoverageModulationNV(GPCOVERAGEMODULATIONNV fnptr, GLenum components) { -// (*fnptr)(components); -// } -// static void glowCoverageModulationTableNV(GPCOVERAGEMODULATIONTABLENV fnptr, GLsizei n, const GLfloat * v) { -// (*fnptr)(n, v); -// } -// static void glowCreateBuffers(GPCREATEBUFFERS fnptr, GLsizei n, GLuint * buffers) { -// (*fnptr)(n, buffers); -// } -// static void glowCreateCommandListsNV(GPCREATECOMMANDLISTSNV fnptr, GLsizei n, GLuint * lists) { -// (*fnptr)(n, lists); -// } -// static void glowCreateFramebuffers(GPCREATEFRAMEBUFFERS fnptr, GLsizei n, GLuint * framebuffers) { -// (*fnptr)(n, framebuffers); -// } -// static void glowCreateMemoryObjectsEXT(GPCREATEMEMORYOBJECTSEXT fnptr, GLsizei n, GLuint * memoryObjects) { -// (*fnptr)(n, memoryObjects); -// } -// static void glowCreatePerfQueryINTEL(GPCREATEPERFQUERYINTEL fnptr, GLuint queryId, GLuint * queryHandle) { -// (*fnptr)(queryId, queryHandle); -// } // static GLuint glowCreateProgram(GPCREATEPROGRAM fnptr) { // return (*fnptr)(); // } -// static GLhandleARB glowCreateProgramObjectARB(GPCREATEPROGRAMOBJECTARB fnptr) { -// return (*fnptr)(); -// } -// static void glowCreateProgramPipelines(GPCREATEPROGRAMPIPELINES fnptr, GLsizei n, GLuint * pipelines) { -// (*fnptr)(n, pipelines); -// } -// static void glowCreateQueries(GPCREATEQUERIES fnptr, GLenum target, GLsizei n, GLuint * ids) { -// (*fnptr)(target, n, ids); -// } -// static void glowCreateRenderbuffers(GPCREATERENDERBUFFERS fnptr, GLsizei n, GLuint * renderbuffers) { -// (*fnptr)(n, renderbuffers); -// } -// static void glowCreateSamplers(GPCREATESAMPLERS fnptr, GLsizei n, GLuint * samplers) { -// (*fnptr)(n, samplers); -// } // static GLuint glowCreateShader(GPCREATESHADER fnptr, GLenum type) { // return (*fnptr)(type); // } -// static GLhandleARB glowCreateShaderObjectARB(GPCREATESHADEROBJECTARB fnptr, GLenum shaderType) { -// return (*fnptr)(shaderType); -// } -// static GLuint glowCreateShaderProgramEXT(GPCREATESHADERPROGRAMEXT fnptr, GLenum type, const GLchar * string) { -// return (*fnptr)(type, string); -// } -// static GLuint glowCreateShaderProgramv(GPCREATESHADERPROGRAMV fnptr, GLenum type, GLsizei count, const GLchar *const* strings) { -// return (*fnptr)(type, count, strings); -// } -// static GLuint glowCreateShaderProgramvEXT(GPCREATESHADERPROGRAMVEXT fnptr, GLenum type, GLsizei count, const GLchar ** strings) { -// return (*fnptr)(type, count, strings); -// } -// static void glowCreateStatesNV(GPCREATESTATESNV fnptr, GLsizei n, GLuint * states) { -// (*fnptr)(n, states); -// } -// static GLsync glowCreateSyncFromCLeventARB(GPCREATESYNCFROMCLEVENTARB fnptr, struct _cl_context * context, struct _cl_event * event, GLbitfield flags) { -// return (*fnptr)(context, event, flags); -// } -// static void glowCreateTextures(GPCREATETEXTURES fnptr, GLenum target, GLsizei n, GLuint * textures) { -// (*fnptr)(target, n, textures); -// } -// static void glowCreateTransformFeedbacks(GPCREATETRANSFORMFEEDBACKS fnptr, GLsizei n, GLuint * ids) { -// (*fnptr)(n, ids); -// } -// static void glowCreateVertexArrays(GPCREATEVERTEXARRAYS fnptr, GLsizei n, GLuint * arrays) { -// (*fnptr)(n, arrays); -// } -// static void glowCullFace(GPCULLFACE fnptr, GLenum mode) { -// (*fnptr)(mode); -// } -// static void glowCullParameterdvEXT(GPCULLPARAMETERDVEXT fnptr, GLenum pname, GLdouble * params) { -// (*fnptr)(pname, params); -// } -// static void glowCullParameterfvEXT(GPCULLPARAMETERFVEXT fnptr, GLenum pname, GLfloat * params) { -// (*fnptr)(pname, params); -// } -// static void glowCurrentPaletteMatrixARB(GPCURRENTPALETTEMATRIXARB fnptr, GLint index) { -// (*fnptr)(index); -// } -// static void glowDebugMessageCallback(GPDEBUGMESSAGECALLBACK fnptr, GLDEBUGPROC callback, const void * userParam) { -// (*fnptr)(callback, userParam); -// } -// static void glowDebugMessageCallbackAMD(GPDEBUGMESSAGECALLBACKAMD fnptr, GLDEBUGPROCAMD callback, void * userParam) { -// (*fnptr)(callback, userParam); -// } -// static void glowDebugMessageCallbackARB(GPDEBUGMESSAGECALLBACKARB fnptr, GLDEBUGPROCARB callback, const void * userParam) { -// (*fnptr)(callback, userParam); -// } -// static void glowDebugMessageCallbackKHR(GPDEBUGMESSAGECALLBACKKHR fnptr, GLDEBUGPROCKHR callback, const void * userParam) { -// (*fnptr)(callback, userParam); -// } -// static void glowDebugMessageControl(GPDEBUGMESSAGECONTROL fnptr, GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint * ids, GLboolean enabled) { -// (*fnptr)(source, type, severity, count, ids, enabled); -// } -// static void glowDebugMessageControlARB(GPDEBUGMESSAGECONTROLARB fnptr, GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint * ids, GLboolean enabled) { -// (*fnptr)(source, type, severity, count, ids, enabled); -// } -// static void glowDebugMessageControlKHR(GPDEBUGMESSAGECONTROLKHR fnptr, GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint * ids, GLboolean enabled) { -// (*fnptr)(source, type, severity, count, ids, enabled); -// } -// static void glowDebugMessageEnableAMD(GPDEBUGMESSAGEENABLEAMD fnptr, GLenum category, GLenum severity, GLsizei count, const GLuint * ids, GLboolean enabled) { -// (*fnptr)(category, severity, count, ids, enabled); -// } -// static void glowDebugMessageInsert(GPDEBUGMESSAGEINSERT fnptr, GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar * buf) { -// (*fnptr)(source, type, id, severity, length, buf); -// } -// static void glowDebugMessageInsertAMD(GPDEBUGMESSAGEINSERTAMD fnptr, GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar * buf) { -// (*fnptr)(category, severity, id, length, buf); -// } -// static void glowDebugMessageInsertARB(GPDEBUGMESSAGEINSERTARB fnptr, GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar * buf) { -// (*fnptr)(source, type, id, severity, length, buf); -// } -// static void glowDebugMessageInsertKHR(GPDEBUGMESSAGEINSERTKHR fnptr, GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar * buf) { -// (*fnptr)(source, type, id, severity, length, buf); -// } -// static void glowDeformSGIX(GPDEFORMSGIX fnptr, GLbitfield mask) { -// (*fnptr)(mask); -// } -// static void glowDeformationMap3dSGIX(GPDEFORMATIONMAP3DSGIX fnptr, GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, GLdouble w1, GLdouble w2, GLint wstride, GLint worder, const GLdouble * points) { -// (*fnptr)(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, w1, w2, wstride, worder, points); -// } -// static void glowDeformationMap3fSGIX(GPDEFORMATIONMAP3FSGIX fnptr, GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, GLfloat w1, GLfloat w2, GLint wstride, GLint worder, const GLfloat * points) { -// (*fnptr)(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, w1, w2, wstride, worder, points); -// } -// static void glowDeleteAsyncMarkersSGIX(GPDELETEASYNCMARKERSSGIX fnptr, GLuint marker, GLsizei range) { -// (*fnptr)(marker, range); -// } // static void glowDeleteBuffers(GPDELETEBUFFERS fnptr, GLsizei n, const GLuint * buffers) { // (*fnptr)(n, buffers); // } -// static void glowDeleteBuffersARB(GPDELETEBUFFERSARB fnptr, GLsizei n, const GLuint * buffers) { -// (*fnptr)(n, buffers); -// } -// static void glowDeleteCommandListsNV(GPDELETECOMMANDLISTSNV fnptr, GLsizei n, const GLuint * lists) { -// (*fnptr)(n, lists); -// } -// static void glowDeleteFencesAPPLE(GPDELETEFENCESAPPLE fnptr, GLsizei n, const GLuint * fences) { -// (*fnptr)(n, fences); -// } -// static void glowDeleteFencesNV(GPDELETEFENCESNV fnptr, GLsizei n, const GLuint * fences) { -// (*fnptr)(n, fences); -// } -// static void glowDeleteFragmentShaderATI(GPDELETEFRAGMENTSHADERATI fnptr, GLuint id) { -// (*fnptr)(id); -// } -// static void glowDeleteFramebuffers(GPDELETEFRAMEBUFFERS fnptr, GLsizei n, const GLuint * framebuffers) { -// (*fnptr)(n, framebuffers); -// } // static void glowDeleteFramebuffersEXT(GPDELETEFRAMEBUFFERSEXT fnptr, GLsizei n, const GLuint * framebuffers) { // (*fnptr)(n, framebuffers); // } -// static void glowDeleteLists(GPDELETELISTS fnptr, GLuint list, GLsizei range) { -// (*fnptr)(list, range); -// } -// static void glowDeleteMemoryObjectsEXT(GPDELETEMEMORYOBJECTSEXT fnptr, GLsizei n, const GLuint * memoryObjects) { -// (*fnptr)(n, memoryObjects); -// } -// static void glowDeleteNamedStringARB(GPDELETENAMEDSTRINGARB fnptr, GLint namelen, const GLchar * name) { -// (*fnptr)(namelen, name); -// } -// static void glowDeleteNamesAMD(GPDELETENAMESAMD fnptr, GLenum identifier, GLuint num, const GLuint * names) { -// (*fnptr)(identifier, num, names); -// } -// static void glowDeleteObjectARB(GPDELETEOBJECTARB fnptr, GLhandleARB obj) { -// (*fnptr)(obj); -// } -// static void glowDeleteOcclusionQueriesNV(GPDELETEOCCLUSIONQUERIESNV fnptr, GLsizei n, const GLuint * ids) { -// (*fnptr)(n, ids); -// } -// static void glowDeletePathsNV(GPDELETEPATHSNV fnptr, GLuint path, GLsizei range) { -// (*fnptr)(path, range); -// } -// static void glowDeletePerfMonitorsAMD(GPDELETEPERFMONITORSAMD fnptr, GLsizei n, GLuint * monitors) { -// (*fnptr)(n, monitors); -// } -// static void glowDeletePerfQueryINTEL(GPDELETEPERFQUERYINTEL fnptr, GLuint queryHandle) { -// (*fnptr)(queryHandle); -// } // static void glowDeleteProgram(GPDELETEPROGRAM fnptr, GLuint program) { // (*fnptr)(program); // } -// static void glowDeleteProgramPipelines(GPDELETEPROGRAMPIPELINES fnptr, GLsizei n, const GLuint * pipelines) { -// (*fnptr)(n, pipelines); -// } -// static void glowDeleteProgramPipelinesEXT(GPDELETEPROGRAMPIPELINESEXT fnptr, GLsizei n, const GLuint * pipelines) { -// (*fnptr)(n, pipelines); -// } -// static void glowDeleteProgramsARB(GPDELETEPROGRAMSARB fnptr, GLsizei n, const GLuint * programs) { -// (*fnptr)(n, programs); -// } -// static void glowDeleteProgramsNV(GPDELETEPROGRAMSNV fnptr, GLsizei n, const GLuint * programs) { -// (*fnptr)(n, programs); -// } -// static void glowDeleteQueries(GPDELETEQUERIES fnptr, GLsizei n, const GLuint * ids) { -// (*fnptr)(n, ids); -// } -// static void glowDeleteQueriesARB(GPDELETEQUERIESARB fnptr, GLsizei n, const GLuint * ids) { -// (*fnptr)(n, ids); -// } -// static void glowDeleteQueryResourceTagNV(GPDELETEQUERYRESOURCETAGNV fnptr, GLsizei n, const GLint * tagIds) { -// (*fnptr)(n, tagIds); -// } -// static void glowDeleteRenderbuffers(GPDELETERENDERBUFFERS fnptr, GLsizei n, const GLuint * renderbuffers) { -// (*fnptr)(n, renderbuffers); -// } -// static void glowDeleteRenderbuffersEXT(GPDELETERENDERBUFFERSEXT fnptr, GLsizei n, const GLuint * renderbuffers) { -// (*fnptr)(n, renderbuffers); -// } -// static void glowDeleteSamplers(GPDELETESAMPLERS fnptr, GLsizei count, const GLuint * samplers) { -// (*fnptr)(count, samplers); -// } -// static void glowDeleteSemaphoresEXT(GPDELETESEMAPHORESEXT fnptr, GLsizei n, const GLuint * semaphores) { -// (*fnptr)(n, semaphores); -// } // static void glowDeleteShader(GPDELETESHADER fnptr, GLuint shader) { // (*fnptr)(shader); // } -// static void glowDeleteStatesNV(GPDELETESTATESNV fnptr, GLsizei n, const GLuint * states) { -// (*fnptr)(n, states); -// } -// static void glowDeleteSync(GPDELETESYNC fnptr, GLsync sync) { -// (*fnptr)(sync); -// } // static void glowDeleteTextures(GPDELETETEXTURES fnptr, GLsizei n, const GLuint * textures) { // (*fnptr)(n, textures); // } -// static void glowDeleteTexturesEXT(GPDELETETEXTURESEXT fnptr, GLsizei n, const GLuint * textures) { -// (*fnptr)(n, textures); -// } -// static void glowDeleteTransformFeedbacks(GPDELETETRANSFORMFEEDBACKS fnptr, GLsizei n, const GLuint * ids) { -// (*fnptr)(n, ids); -// } -// static void glowDeleteTransformFeedbacksNV(GPDELETETRANSFORMFEEDBACKSNV fnptr, GLsizei n, const GLuint * ids) { -// (*fnptr)(n, ids); -// } -// static void glowDeleteVertexArrays(GPDELETEVERTEXARRAYS fnptr, GLsizei n, const GLuint * arrays) { -// (*fnptr)(n, arrays); -// } -// static void glowDeleteVertexArraysAPPLE(GPDELETEVERTEXARRAYSAPPLE fnptr, GLsizei n, const GLuint * arrays) { -// (*fnptr)(n, arrays); -// } -// static void glowDeleteVertexShaderEXT(GPDELETEVERTEXSHADEREXT fnptr, GLuint id) { -// (*fnptr)(id); -// } -// static void glowDepthBoundsEXT(GPDEPTHBOUNDSEXT fnptr, GLclampd zmin, GLclampd zmax) { -// (*fnptr)(zmin, zmax); -// } -// static void glowDepthBoundsdNV(GPDEPTHBOUNDSDNV fnptr, GLdouble zmin, GLdouble zmax) { -// (*fnptr)(zmin, zmax); -// } -// static void glowDepthFunc(GPDEPTHFUNC fnptr, GLenum func) { -// (*fnptr)(func); -// } -// static void glowDepthMask(GPDEPTHMASK fnptr, GLboolean flag) { -// (*fnptr)(flag); -// } -// static void glowDepthRange(GPDEPTHRANGE fnptr, GLdouble n, GLdouble f) { -// (*fnptr)(n, f); -// } -// static void glowDepthRangeArrayv(GPDEPTHRANGEARRAYV fnptr, GLuint first, GLsizei count, const GLdouble * v) { -// (*fnptr)(first, count, v); -// } -// static void glowDepthRangeIndexed(GPDEPTHRANGEINDEXED fnptr, GLuint index, GLdouble n, GLdouble f) { -// (*fnptr)(index, n, f); -// } -// static void glowDepthRangedNV(GPDEPTHRANGEDNV fnptr, GLdouble zNear, GLdouble zFar) { -// (*fnptr)(zNear, zFar); -// } -// static void glowDepthRangef(GPDEPTHRANGEF fnptr, GLfloat n, GLfloat f) { -// (*fnptr)(n, f); -// } -// static void glowDepthRangefOES(GPDEPTHRANGEFOES fnptr, GLclampf n, GLclampf f) { -// (*fnptr)(n, f); -// } -// static void glowDepthRangexOES(GPDEPTHRANGEXOES fnptr, GLfixed n, GLfixed f) { -// (*fnptr)(n, f); -// } -// static void glowDetachObjectARB(GPDETACHOBJECTARB fnptr, GLhandleARB containerObj, GLhandleARB attachedObj) { -// (*fnptr)(containerObj, attachedObj); -// } -// static void glowDetachShader(GPDETACHSHADER fnptr, GLuint program, GLuint shader) { -// (*fnptr)(program, shader); -// } -// static void glowDetailTexFuncSGIS(GPDETAILTEXFUNCSGIS fnptr, GLenum target, GLsizei n, const GLfloat * points) { -// (*fnptr)(target, n, points); -// } -// static void glowDisable(GPDISABLE fnptr, GLenum cap) { -// (*fnptr)(cap); -// } -// static void glowDisableClientState(GPDISABLECLIENTSTATE fnptr, GLenum array) { -// (*fnptr)(array); -// } -// static void glowDisableClientStateIndexedEXT(GPDISABLECLIENTSTATEINDEXEDEXT fnptr, GLenum array, GLuint index) { -// (*fnptr)(array, index); -// } -// static void glowDisableClientStateiEXT(GPDISABLECLIENTSTATEIEXT fnptr, GLenum array, GLuint index) { -// (*fnptr)(array, index); -// } -// static void glowDisableIndexedEXT(GPDISABLEINDEXEDEXT fnptr, GLenum target, GLuint index) { -// (*fnptr)(target, index); -// } -// static void glowDisableVariantClientStateEXT(GPDISABLEVARIANTCLIENTSTATEEXT fnptr, GLuint id) { -// (*fnptr)(id); -// } -// static void glowDisableVertexArrayAttrib(GPDISABLEVERTEXARRAYATTRIB fnptr, GLuint vaobj, GLuint index) { -// (*fnptr)(vaobj, index); -// } -// static void glowDisableVertexArrayAttribEXT(GPDISABLEVERTEXARRAYATTRIBEXT fnptr, GLuint vaobj, GLuint index) { -// (*fnptr)(vaobj, index); -// } -// static void glowDisableVertexArrayEXT(GPDISABLEVERTEXARRAYEXT fnptr, GLuint vaobj, GLenum array) { -// (*fnptr)(vaobj, array); -// } -// static void glowDisableVertexAttribAPPLE(GPDISABLEVERTEXATTRIBAPPLE fnptr, GLuint index, GLenum pname) { -// (*fnptr)(index, pname); -// } // static void glowDisableVertexAttribArray(GPDISABLEVERTEXATTRIBARRAY fnptr, GLuint index) { // (*fnptr)(index); // } -// static void glowDisableVertexAttribArrayARB(GPDISABLEVERTEXATTRIBARRAYARB fnptr, GLuint index) { -// (*fnptr)(index); -// } -// static void glowDispatchCompute(GPDISPATCHCOMPUTE fnptr, GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z) { -// (*fnptr)(num_groups_x, num_groups_y, num_groups_z); -// } -// static void glowDispatchComputeGroupSizeARB(GPDISPATCHCOMPUTEGROUPSIZEARB fnptr, GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z, GLuint group_size_x, GLuint group_size_y, GLuint group_size_z) { -// (*fnptr)(num_groups_x, num_groups_y, num_groups_z, group_size_x, group_size_y, group_size_z); -// } -// static void glowDispatchComputeIndirect(GPDISPATCHCOMPUTEINDIRECT fnptr, GLintptr indirect) { -// (*fnptr)(indirect); -// } -// static void glowDrawArrays(GPDRAWARRAYS fnptr, GLenum mode, GLint first, GLsizei count) { -// (*fnptr)(mode, first, count); -// } -// static void glowDrawArraysEXT(GPDRAWARRAYSEXT fnptr, GLenum mode, GLint first, GLsizei count) { -// (*fnptr)(mode, first, count); -// } -// static void glowDrawArraysIndirect(GPDRAWARRAYSINDIRECT fnptr, GLenum mode, const void * indirect) { -// (*fnptr)(mode, indirect); -// } -// static void glowDrawArraysInstancedARB(GPDRAWARRAYSINSTANCEDARB fnptr, GLenum mode, GLint first, GLsizei count, GLsizei primcount) { -// (*fnptr)(mode, first, count, primcount); -// } -// static void glowDrawArraysInstancedBaseInstance(GPDRAWARRAYSINSTANCEDBASEINSTANCE fnptr, GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance) { -// (*fnptr)(mode, first, count, instancecount, baseinstance); -// } -// static void glowDrawArraysInstancedEXT(GPDRAWARRAYSINSTANCEDEXT fnptr, GLenum mode, GLint start, GLsizei count, GLsizei primcount) { -// (*fnptr)(mode, start, count, primcount); -// } -// static void glowDrawBuffer(GPDRAWBUFFER fnptr, GLenum buf) { -// (*fnptr)(buf); -// } -// static void glowDrawBuffers(GPDRAWBUFFERS fnptr, GLsizei n, const GLenum * bufs) { -// (*fnptr)(n, bufs); -// } -// static void glowDrawBuffersARB(GPDRAWBUFFERSARB fnptr, GLsizei n, const GLenum * bufs) { -// (*fnptr)(n, bufs); -// } -// static void glowDrawBuffersATI(GPDRAWBUFFERSATI fnptr, GLsizei n, const GLenum * bufs) { -// (*fnptr)(n, bufs); -// } -// static void glowDrawCommandsAddressNV(GPDRAWCOMMANDSADDRESSNV fnptr, GLenum primitiveMode, const GLuint64 * indirects, const GLsizei * sizes, GLuint count) { -// (*fnptr)(primitiveMode, indirects, sizes, count); -// } -// static void glowDrawCommandsNV(GPDRAWCOMMANDSNV fnptr, GLenum primitiveMode, GLuint buffer, const GLintptr * indirects, const GLsizei * sizes, GLuint count) { -// (*fnptr)(primitiveMode, buffer, indirects, sizes, count); -// } -// static void glowDrawCommandsStatesAddressNV(GPDRAWCOMMANDSSTATESADDRESSNV fnptr, const GLuint64 * indirects, const GLsizei * sizes, const GLuint * states, const GLuint * fbos, GLuint count) { -// (*fnptr)(indirects, sizes, states, fbos, count); -// } -// static void glowDrawCommandsStatesNV(GPDRAWCOMMANDSSTATESNV fnptr, GLuint buffer, const GLintptr * indirects, const GLsizei * sizes, const GLuint * states, const GLuint * fbos, GLuint count) { -// (*fnptr)(buffer, indirects, sizes, states, fbos, count); -// } -// static void glowDrawElementArrayAPPLE(GPDRAWELEMENTARRAYAPPLE fnptr, GLenum mode, GLint first, GLsizei count) { -// (*fnptr)(mode, first, count); -// } -// static void glowDrawElementArrayATI(GPDRAWELEMENTARRAYATI fnptr, GLenum mode, GLsizei count) { -// (*fnptr)(mode, count); -// } // static void glowDrawElements(GPDRAWELEMENTS fnptr, GLenum mode, GLsizei count, GLenum type, const uintptr_t indices) { // (*fnptr)(mode, count, type, indices); // } -// static void glowDrawElementsBaseVertex(GPDRAWELEMENTSBASEVERTEX fnptr, GLenum mode, GLsizei count, GLenum type, const void * indices, GLint basevertex) { -// (*fnptr)(mode, count, type, indices, basevertex); -// } -// static void glowDrawElementsIndirect(GPDRAWELEMENTSINDIRECT fnptr, GLenum mode, GLenum type, const void * indirect) { -// (*fnptr)(mode, type, indirect); -// } -// static void glowDrawElementsInstancedARB(GPDRAWELEMENTSINSTANCEDARB fnptr, GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei primcount) { -// (*fnptr)(mode, count, type, indices, primcount); -// } -// static void glowDrawElementsInstancedBaseInstance(GPDRAWELEMENTSINSTANCEDBASEINSTANCE fnptr, GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount, GLuint baseinstance) { -// (*fnptr)(mode, count, type, indices, instancecount, baseinstance); -// } -// static void glowDrawElementsInstancedBaseVertex(GPDRAWELEMENTSINSTANCEDBASEVERTEX fnptr, GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount, GLint basevertex) { -// (*fnptr)(mode, count, type, indices, instancecount, basevertex); -// } -// static void glowDrawElementsInstancedBaseVertexBaseInstance(GPDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCE fnptr, GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance) { -// (*fnptr)(mode, count, type, indices, instancecount, basevertex, baseinstance); -// } -// static void glowDrawElementsInstancedEXT(GPDRAWELEMENTSINSTANCEDEXT fnptr, GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei primcount) { -// (*fnptr)(mode, count, type, indices, primcount); -// } -// static void glowDrawMeshArraysSUN(GPDRAWMESHARRAYSSUN fnptr, GLenum mode, GLint first, GLsizei count, GLsizei width) { -// (*fnptr)(mode, first, count, width); -// } -// static void glowDrawPixels(GPDRAWPIXELS fnptr, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * pixels) { -// (*fnptr)(width, height, format, type, pixels); -// } -// static void glowDrawRangeElementArrayAPPLE(GPDRAWRANGEELEMENTARRAYAPPLE fnptr, GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count) { -// (*fnptr)(mode, start, end, first, count); -// } -// static void glowDrawRangeElementArrayATI(GPDRAWRANGEELEMENTARRAYATI fnptr, GLenum mode, GLuint start, GLuint end, GLsizei count) { -// (*fnptr)(mode, start, end, count); -// } -// static void glowDrawRangeElements(GPDRAWRANGEELEMENTS fnptr, GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void * indices) { -// (*fnptr)(mode, start, end, count, type, indices); -// } -// static void glowDrawRangeElementsBaseVertex(GPDRAWRANGEELEMENTSBASEVERTEX fnptr, GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void * indices, GLint basevertex) { -// (*fnptr)(mode, start, end, count, type, indices, basevertex); -// } -// static void glowDrawRangeElementsEXT(GPDRAWRANGEELEMENTSEXT fnptr, GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void * indices) { -// (*fnptr)(mode, start, end, count, type, indices); -// } -// static void glowDrawTextureNV(GPDRAWTEXTURENV fnptr, GLuint texture, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1) { -// (*fnptr)(texture, sampler, x0, y0, x1, y1, z, s0, t0, s1, t1); -// } -// static void glowDrawTransformFeedback(GPDRAWTRANSFORMFEEDBACK fnptr, GLenum mode, GLuint id) { -// (*fnptr)(mode, id); -// } -// static void glowDrawTransformFeedbackInstanced(GPDRAWTRANSFORMFEEDBACKINSTANCED fnptr, GLenum mode, GLuint id, GLsizei instancecount) { -// (*fnptr)(mode, id, instancecount); -// } -// static void glowDrawTransformFeedbackNV(GPDRAWTRANSFORMFEEDBACKNV fnptr, GLenum mode, GLuint id) { -// (*fnptr)(mode, id); -// } -// static void glowDrawTransformFeedbackStream(GPDRAWTRANSFORMFEEDBACKSTREAM fnptr, GLenum mode, GLuint id, GLuint stream) { -// (*fnptr)(mode, id, stream); -// } -// static void glowDrawTransformFeedbackStreamInstanced(GPDRAWTRANSFORMFEEDBACKSTREAMINSTANCED fnptr, GLenum mode, GLuint id, GLuint stream, GLsizei instancecount) { -// (*fnptr)(mode, id, stream, instancecount); -// } -// static void glowDrawVkImageNV(GPDRAWVKIMAGENV fnptr, GLuint64 vkImage, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1) { -// (*fnptr)(vkImage, sampler, x0, y0, x1, y1, z, s0, t0, s1, t1); -// } -// static void glowEGLImageTargetTexStorageEXT(GPEGLIMAGETARGETTEXSTORAGEEXT fnptr, GLenum target, GLeglImageOES image, const GLint* attrib_list) { -// (*fnptr)(target, image, attrib_list); -// } -// static void glowEGLImageTargetTextureStorageEXT(GPEGLIMAGETARGETTEXTURESTORAGEEXT fnptr, GLuint texture, GLeglImageOES image, const GLint* attrib_list) { -// (*fnptr)(texture, image, attrib_list); -// } -// static void glowEdgeFlag(GPEDGEFLAG fnptr, GLboolean flag) { -// (*fnptr)(flag); -// } -// static void glowEdgeFlagFormatNV(GPEDGEFLAGFORMATNV fnptr, GLsizei stride) { -// (*fnptr)(stride); -// } -// static void glowEdgeFlagPointer(GPEDGEFLAGPOINTER fnptr, GLsizei stride, const void * pointer) { -// (*fnptr)(stride, pointer); -// } -// static void glowEdgeFlagPointerEXT(GPEDGEFLAGPOINTEREXT fnptr, GLsizei stride, GLsizei count, const GLboolean * pointer) { -// (*fnptr)(stride, count, pointer); -// } -// static void glowEdgeFlagPointerListIBM(GPEDGEFLAGPOINTERLISTIBM fnptr, GLint stride, const GLboolean ** pointer, GLint ptrstride) { -// (*fnptr)(stride, pointer, ptrstride); -// } -// static void glowEdgeFlagv(GPEDGEFLAGV fnptr, const GLboolean * flag) { -// (*fnptr)(flag); -// } -// static void glowElementPointerAPPLE(GPELEMENTPOINTERAPPLE fnptr, GLenum type, const void * pointer) { -// (*fnptr)(type, pointer); -// } -// static void glowElementPointerATI(GPELEMENTPOINTERATI fnptr, GLenum type, const void * pointer) { -// (*fnptr)(type, pointer); -// } // static void glowEnable(GPENABLE fnptr, GLenum cap) { // (*fnptr)(cap); // } -// static void glowEnableClientState(GPENABLECLIENTSTATE fnptr, GLenum array) { -// (*fnptr)(array); -// } -// static void glowEnableClientStateIndexedEXT(GPENABLECLIENTSTATEINDEXEDEXT fnptr, GLenum array, GLuint index) { -// (*fnptr)(array, index); -// } -// static void glowEnableClientStateiEXT(GPENABLECLIENTSTATEIEXT fnptr, GLenum array, GLuint index) { -// (*fnptr)(array, index); -// } -// static void glowEnableIndexedEXT(GPENABLEINDEXEDEXT fnptr, GLenum target, GLuint index) { -// (*fnptr)(target, index); -// } -// static void glowEnableVariantClientStateEXT(GPENABLEVARIANTCLIENTSTATEEXT fnptr, GLuint id) { -// (*fnptr)(id); -// } -// static void glowEnableVertexArrayAttrib(GPENABLEVERTEXARRAYATTRIB fnptr, GLuint vaobj, GLuint index) { -// (*fnptr)(vaobj, index); -// } -// static void glowEnableVertexArrayAttribEXT(GPENABLEVERTEXARRAYATTRIBEXT fnptr, GLuint vaobj, GLuint index) { -// (*fnptr)(vaobj, index); -// } -// static void glowEnableVertexArrayEXT(GPENABLEVERTEXARRAYEXT fnptr, GLuint vaobj, GLenum array) { -// (*fnptr)(vaobj, array); -// } -// static void glowEnableVertexAttribAPPLE(GPENABLEVERTEXATTRIBAPPLE fnptr, GLuint index, GLenum pname) { -// (*fnptr)(index, pname); -// } // static void glowEnableVertexAttribArray(GPENABLEVERTEXATTRIBARRAY fnptr, GLuint index) { // (*fnptr)(index); // } -// static void glowEnableVertexAttribArrayARB(GPENABLEVERTEXATTRIBARRAYARB fnptr, GLuint index) { -// (*fnptr)(index); -// } -// static void glowEnd(GPEND fnptr) { -// (*fnptr)(); -// } -// static void glowEndConditionalRenderNV(GPENDCONDITIONALRENDERNV fnptr) { -// (*fnptr)(); -// } -// static void glowEndConditionalRenderNVX(GPENDCONDITIONALRENDERNVX fnptr) { -// (*fnptr)(); -// } -// static void glowEndFragmentShaderATI(GPENDFRAGMENTSHADERATI fnptr) { -// (*fnptr)(); -// } -// static void glowEndList(GPENDLIST fnptr) { -// (*fnptr)(); -// } -// static void glowEndOcclusionQueryNV(GPENDOCCLUSIONQUERYNV fnptr) { -// (*fnptr)(); -// } -// static void glowEndPerfMonitorAMD(GPENDPERFMONITORAMD fnptr, GLuint monitor) { -// (*fnptr)(monitor); -// } -// static void glowEndPerfQueryINTEL(GPENDPERFQUERYINTEL fnptr, GLuint queryHandle) { -// (*fnptr)(queryHandle); -// } -// static void glowEndQuery(GPENDQUERY fnptr, GLenum target) { -// (*fnptr)(target); -// } -// static void glowEndQueryARB(GPENDQUERYARB fnptr, GLenum target) { -// (*fnptr)(target); -// } -// static void glowEndQueryIndexed(GPENDQUERYINDEXED fnptr, GLenum target, GLuint index) { -// (*fnptr)(target, index); -// } -// static void glowEndTransformFeedbackEXT(GPENDTRANSFORMFEEDBACKEXT fnptr) { -// (*fnptr)(); -// } -// static void glowEndTransformFeedbackNV(GPENDTRANSFORMFEEDBACKNV fnptr) { -// (*fnptr)(); -// } -// static void glowEndVertexShaderEXT(GPENDVERTEXSHADEREXT fnptr) { -// (*fnptr)(); -// } -// static void glowEndVideoCaptureNV(GPENDVIDEOCAPTURENV fnptr, GLuint video_capture_slot) { -// (*fnptr)(video_capture_slot); -// } -// static void glowEvalCoord1d(GPEVALCOORD1D fnptr, GLdouble u) { -// (*fnptr)(u); -// } -// static void glowEvalCoord1dv(GPEVALCOORD1DV fnptr, const GLdouble * u) { -// (*fnptr)(u); -// } -// static void glowEvalCoord1f(GPEVALCOORD1F fnptr, GLfloat u) { -// (*fnptr)(u); -// } -// static void glowEvalCoord1fv(GPEVALCOORD1FV fnptr, const GLfloat * u) { -// (*fnptr)(u); -// } -// static void glowEvalCoord1xOES(GPEVALCOORD1XOES fnptr, GLfixed u) { -// (*fnptr)(u); -// } -// static void glowEvalCoord1xvOES(GPEVALCOORD1XVOES fnptr, const GLfixed * coords) { -// (*fnptr)(coords); -// } -// static void glowEvalCoord2d(GPEVALCOORD2D fnptr, GLdouble u, GLdouble v) { -// (*fnptr)(u, v); -// } -// static void glowEvalCoord2dv(GPEVALCOORD2DV fnptr, const GLdouble * u) { -// (*fnptr)(u); -// } -// static void glowEvalCoord2f(GPEVALCOORD2F fnptr, GLfloat u, GLfloat v) { -// (*fnptr)(u, v); -// } -// static void glowEvalCoord2fv(GPEVALCOORD2FV fnptr, const GLfloat * u) { -// (*fnptr)(u); -// } -// static void glowEvalCoord2xOES(GPEVALCOORD2XOES fnptr, GLfixed u, GLfixed v) { -// (*fnptr)(u, v); -// } -// static void glowEvalCoord2xvOES(GPEVALCOORD2XVOES fnptr, const GLfixed * coords) { -// (*fnptr)(coords); -// } -// static void glowEvalMapsNV(GPEVALMAPSNV fnptr, GLenum target, GLenum mode) { -// (*fnptr)(target, mode); -// } -// static void glowEvalMesh1(GPEVALMESH1 fnptr, GLenum mode, GLint i1, GLint i2) { -// (*fnptr)(mode, i1, i2); -// } -// static void glowEvalMesh2(GPEVALMESH2 fnptr, GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2) { -// (*fnptr)(mode, i1, i2, j1, j2); -// } -// static void glowEvalPoint1(GPEVALPOINT1 fnptr, GLint i) { -// (*fnptr)(i); -// } -// static void glowEvalPoint2(GPEVALPOINT2 fnptr, GLint i, GLint j) { -// (*fnptr)(i, j); -// } -// static void glowEvaluateDepthValuesARB(GPEVALUATEDEPTHVALUESARB fnptr) { -// (*fnptr)(); -// } -// static void glowExecuteProgramNV(GPEXECUTEPROGRAMNV fnptr, GLenum target, GLuint id, const GLfloat * params) { -// (*fnptr)(target, id, params); -// } -// static void glowExtractComponentEXT(GPEXTRACTCOMPONENTEXT fnptr, GLuint res, GLuint src, GLuint num) { -// (*fnptr)(res, src, num); -// } -// static void glowFeedbackBuffer(GPFEEDBACKBUFFER fnptr, GLsizei size, GLenum type, GLfloat * buffer) { -// (*fnptr)(size, type, buffer); -// } -// static void glowFeedbackBufferxOES(GPFEEDBACKBUFFERXOES fnptr, GLsizei n, GLenum type, const GLfixed * buffer) { -// (*fnptr)(n, type, buffer); -// } -// static GLsync glowFenceSync(GPFENCESYNC fnptr, GLenum condition, GLbitfield flags) { -// return (*fnptr)(condition, flags); -// } -// static void glowFinalCombinerInputNV(GPFINALCOMBINERINPUTNV fnptr, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage) { -// (*fnptr)(variable, input, mapping, componentUsage); -// } -// static void glowFinish(GPFINISH fnptr) { -// (*fnptr)(); -// } -// static GLint glowFinishAsyncSGIX(GPFINISHASYNCSGIX fnptr, GLuint * markerp) { -// return (*fnptr)(markerp); -// } -// static void glowFinishFenceAPPLE(GPFINISHFENCEAPPLE fnptr, GLuint fence) { -// (*fnptr)(fence); -// } -// static void glowFinishFenceNV(GPFINISHFENCENV fnptr, GLuint fence) { -// (*fnptr)(fence); -// } -// static void glowFinishObjectAPPLE(GPFINISHOBJECTAPPLE fnptr, GLenum object, GLint name) { -// (*fnptr)(object, name); -// } -// static void glowFinishTextureSUNX(GPFINISHTEXTURESUNX fnptr) { -// (*fnptr)(); -// } // static void glowFlush(GPFLUSH fnptr) { // (*fnptr)(); // } -// static void glowFlushMappedBufferRange(GPFLUSHMAPPEDBUFFERRANGE fnptr, GLenum target, GLintptr offset, GLsizeiptr length) { -// (*fnptr)(target, offset, length); -// } -// static void glowFlushMappedBufferRangeAPPLE(GPFLUSHMAPPEDBUFFERRANGEAPPLE fnptr, GLenum target, GLintptr offset, GLsizeiptr size) { -// (*fnptr)(target, offset, size); -// } -// static void glowFlushMappedNamedBufferRange(GPFLUSHMAPPEDNAMEDBUFFERRANGE fnptr, GLuint buffer, GLintptr offset, GLsizeiptr length) { -// (*fnptr)(buffer, offset, length); -// } -// static void glowFlushMappedNamedBufferRangeEXT(GPFLUSHMAPPEDNAMEDBUFFERRANGEEXT fnptr, GLuint buffer, GLintptr offset, GLsizeiptr length) { -// (*fnptr)(buffer, offset, length); -// } -// static void glowFlushPixelDataRangeNV(GPFLUSHPIXELDATARANGENV fnptr, GLenum target) { -// (*fnptr)(target); -// } -// static void glowFlushRasterSGIX(GPFLUSHRASTERSGIX fnptr) { -// (*fnptr)(); -// } -// static void glowFlushStaticDataIBM(GPFLUSHSTATICDATAIBM fnptr, GLenum target) { -// (*fnptr)(target); -// } -// static void glowFlushVertexArrayRangeAPPLE(GPFLUSHVERTEXARRAYRANGEAPPLE fnptr, GLsizei length, void * pointer) { -// (*fnptr)(length, pointer); -// } -// static void glowFlushVertexArrayRangeNV(GPFLUSHVERTEXARRAYRANGENV fnptr) { -// (*fnptr)(); -// } -// static void glowFogCoordFormatNV(GPFOGCOORDFORMATNV fnptr, GLenum type, GLsizei stride) { -// (*fnptr)(type, stride); -// } -// static void glowFogCoordPointer(GPFOGCOORDPOINTER fnptr, GLenum type, GLsizei stride, const void * pointer) { -// (*fnptr)(type, stride, pointer); -// } -// static void glowFogCoordPointerEXT(GPFOGCOORDPOINTEREXT fnptr, GLenum type, GLsizei stride, const void * pointer) { -// (*fnptr)(type, stride, pointer); -// } -// static void glowFogCoordPointerListIBM(GPFOGCOORDPOINTERLISTIBM fnptr, GLenum type, GLint stride, const void ** pointer, GLint ptrstride) { -// (*fnptr)(type, stride, pointer, ptrstride); -// } -// static void glowFogCoordd(GPFOGCOORDD fnptr, GLdouble coord) { -// (*fnptr)(coord); -// } -// static void glowFogCoorddEXT(GPFOGCOORDDEXT fnptr, GLdouble coord) { -// (*fnptr)(coord); -// } -// static void glowFogCoorddv(GPFOGCOORDDV fnptr, const GLdouble * coord) { -// (*fnptr)(coord); -// } -// static void glowFogCoorddvEXT(GPFOGCOORDDVEXT fnptr, const GLdouble * coord) { -// (*fnptr)(coord); -// } -// static void glowFogCoordf(GPFOGCOORDF fnptr, GLfloat coord) { -// (*fnptr)(coord); -// } -// static void glowFogCoordfEXT(GPFOGCOORDFEXT fnptr, GLfloat coord) { -// (*fnptr)(coord); -// } -// static void glowFogCoordfv(GPFOGCOORDFV fnptr, const GLfloat * coord) { -// (*fnptr)(coord); -// } -// static void glowFogCoordfvEXT(GPFOGCOORDFVEXT fnptr, const GLfloat * coord) { -// (*fnptr)(coord); -// } -// static void glowFogCoordhNV(GPFOGCOORDHNV fnptr, GLhalfNV fog) { -// (*fnptr)(fog); -// } -// static void glowFogCoordhvNV(GPFOGCOORDHVNV fnptr, const GLhalfNV * fog) { -// (*fnptr)(fog); -// } -// static void glowFogFuncSGIS(GPFOGFUNCSGIS fnptr, GLsizei n, const GLfloat * points) { -// (*fnptr)(n, points); -// } -// static void glowFogf(GPFOGF fnptr, GLenum pname, GLfloat param) { -// (*fnptr)(pname, param); -// } -// static void glowFogfv(GPFOGFV fnptr, GLenum pname, const GLfloat * params) { -// (*fnptr)(pname, params); -// } -// static void glowFogi(GPFOGI fnptr, GLenum pname, GLint param) { -// (*fnptr)(pname, param); -// } -// static void glowFogiv(GPFOGIV fnptr, GLenum pname, const GLint * params) { -// (*fnptr)(pname, params); -// } -// static void glowFogxOES(GPFOGXOES fnptr, GLenum pname, GLfixed param) { -// (*fnptr)(pname, param); -// } -// static void glowFogxvOES(GPFOGXVOES fnptr, GLenum pname, const GLfixed * param) { -// (*fnptr)(pname, param); -// } -// static void glowFragmentColorMaterialSGIX(GPFRAGMENTCOLORMATERIALSGIX fnptr, GLenum face, GLenum mode) { -// (*fnptr)(face, mode); -// } -// static void glowFragmentCoverageColorNV(GPFRAGMENTCOVERAGECOLORNV fnptr, GLuint color) { -// (*fnptr)(color); -// } -// static void glowFragmentLightModelfSGIX(GPFRAGMENTLIGHTMODELFSGIX fnptr, GLenum pname, GLfloat param) { -// (*fnptr)(pname, param); -// } -// static void glowFragmentLightModelfvSGIX(GPFRAGMENTLIGHTMODELFVSGIX fnptr, GLenum pname, const GLfloat * params) { -// (*fnptr)(pname, params); -// } -// static void glowFragmentLightModeliSGIX(GPFRAGMENTLIGHTMODELISGIX fnptr, GLenum pname, GLint param) { -// (*fnptr)(pname, param); -// } -// static void glowFragmentLightModelivSGIX(GPFRAGMENTLIGHTMODELIVSGIX fnptr, GLenum pname, const GLint * params) { -// (*fnptr)(pname, params); -// } -// static void glowFragmentLightfSGIX(GPFRAGMENTLIGHTFSGIX fnptr, GLenum light, GLenum pname, GLfloat param) { -// (*fnptr)(light, pname, param); -// } -// static void glowFragmentLightfvSGIX(GPFRAGMENTLIGHTFVSGIX fnptr, GLenum light, GLenum pname, const GLfloat * params) { -// (*fnptr)(light, pname, params); -// } -// static void glowFragmentLightiSGIX(GPFRAGMENTLIGHTISGIX fnptr, GLenum light, GLenum pname, GLint param) { -// (*fnptr)(light, pname, param); -// } -// static void glowFragmentLightivSGIX(GPFRAGMENTLIGHTIVSGIX fnptr, GLenum light, GLenum pname, const GLint * params) { -// (*fnptr)(light, pname, params); -// } -// static void glowFragmentMaterialfSGIX(GPFRAGMENTMATERIALFSGIX fnptr, GLenum face, GLenum pname, GLfloat param) { -// (*fnptr)(face, pname, param); -// } -// static void glowFragmentMaterialfvSGIX(GPFRAGMENTMATERIALFVSGIX fnptr, GLenum face, GLenum pname, const GLfloat * params) { -// (*fnptr)(face, pname, params); -// } -// static void glowFragmentMaterialiSGIX(GPFRAGMENTMATERIALISGIX fnptr, GLenum face, GLenum pname, GLint param) { -// (*fnptr)(face, pname, param); -// } -// static void glowFragmentMaterialivSGIX(GPFRAGMENTMATERIALIVSGIX fnptr, GLenum face, GLenum pname, const GLint * params) { -// (*fnptr)(face, pname, params); -// } -// static void glowFrameTerminatorGREMEDY(GPFRAMETERMINATORGREMEDY fnptr) { -// (*fnptr)(); -// } -// static void glowFrameZoomSGIX(GPFRAMEZOOMSGIX fnptr, GLint factor) { -// (*fnptr)(factor); -// } -// static void glowFramebufferDrawBufferEXT(GPFRAMEBUFFERDRAWBUFFEREXT fnptr, GLuint framebuffer, GLenum mode) { -// (*fnptr)(framebuffer, mode); -// } -// static void glowFramebufferDrawBuffersEXT(GPFRAMEBUFFERDRAWBUFFERSEXT fnptr, GLuint framebuffer, GLsizei n, const GLenum * bufs) { -// (*fnptr)(framebuffer, n, bufs); -// } -// static void glowFramebufferFetchBarrierEXT(GPFRAMEBUFFERFETCHBARRIEREXT fnptr) { -// (*fnptr)(); -// } -// static void glowFramebufferParameteri(GPFRAMEBUFFERPARAMETERI fnptr, GLenum target, GLenum pname, GLint param) { -// (*fnptr)(target, pname, param); -// } -// static void glowFramebufferReadBufferEXT(GPFRAMEBUFFERREADBUFFEREXT fnptr, GLuint framebuffer, GLenum mode) { -// (*fnptr)(framebuffer, mode); -// } -// static void glowFramebufferRenderbuffer(GPFRAMEBUFFERRENDERBUFFER fnptr, GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) { -// (*fnptr)(target, attachment, renderbuffertarget, renderbuffer); -// } -// static void glowFramebufferRenderbufferEXT(GPFRAMEBUFFERRENDERBUFFEREXT fnptr, GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) { -// (*fnptr)(target, attachment, renderbuffertarget, renderbuffer); -// } -// static void glowFramebufferSampleLocationsfvARB(GPFRAMEBUFFERSAMPLELOCATIONSFVARB fnptr, GLenum target, GLuint start, GLsizei count, const GLfloat * v) { -// (*fnptr)(target, start, count, v); -// } -// static void glowFramebufferSampleLocationsfvNV(GPFRAMEBUFFERSAMPLELOCATIONSFVNV fnptr, GLenum target, GLuint start, GLsizei count, const GLfloat * v) { -// (*fnptr)(target, start, count, v); -// } -// static void glowFramebufferSamplePositionsfvAMD(GPFRAMEBUFFERSAMPLEPOSITIONSFVAMD fnptr, GLenum target, GLuint numsamples, GLuint pixelindex, const GLfloat * values) { -// (*fnptr)(target, numsamples, pixelindex, values); -// } -// static void glowFramebufferTexture1D(GPFRAMEBUFFERTEXTURE1D fnptr, GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) { -// (*fnptr)(target, attachment, textarget, texture, level); -// } -// static void glowFramebufferTexture1DEXT(GPFRAMEBUFFERTEXTURE1DEXT fnptr, GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) { -// (*fnptr)(target, attachment, textarget, texture, level); -// } -// static void glowFramebufferTexture2D(GPFRAMEBUFFERTEXTURE2D fnptr, GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) { -// (*fnptr)(target, attachment, textarget, texture, level); -// } // static void glowFramebufferTexture2DEXT(GPFRAMEBUFFERTEXTURE2DEXT fnptr, GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) { // (*fnptr)(target, attachment, textarget, texture, level); // } -// static void glowFramebufferTexture3D(GPFRAMEBUFFERTEXTURE3D fnptr, GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset) { -// (*fnptr)(target, attachment, textarget, texture, level, zoffset); -// } -// static void glowFramebufferTexture3DEXT(GPFRAMEBUFFERTEXTURE3DEXT fnptr, GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset) { -// (*fnptr)(target, attachment, textarget, texture, level, zoffset); -// } -// static void glowFramebufferTextureARB(GPFRAMEBUFFERTEXTUREARB fnptr, GLenum target, GLenum attachment, GLuint texture, GLint level) { -// (*fnptr)(target, attachment, texture, level); -// } -// static void glowFramebufferTextureEXT(GPFRAMEBUFFERTEXTUREEXT fnptr, GLenum target, GLenum attachment, GLuint texture, GLint level) { -// (*fnptr)(target, attachment, texture, level); -// } -// static void glowFramebufferTextureFaceARB(GPFRAMEBUFFERTEXTUREFACEARB fnptr, GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face) { -// (*fnptr)(target, attachment, texture, level, face); -// } -// static void glowFramebufferTextureFaceEXT(GPFRAMEBUFFERTEXTUREFACEEXT fnptr, GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face) { -// (*fnptr)(target, attachment, texture, level, face); -// } -// static void glowFramebufferTextureLayer(GPFRAMEBUFFERTEXTURELAYER fnptr, GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer) { -// (*fnptr)(target, attachment, texture, level, layer); -// } -// static void glowFramebufferTextureLayerARB(GPFRAMEBUFFERTEXTURELAYERARB fnptr, GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer) { -// (*fnptr)(target, attachment, texture, level, layer); -// } -// static void glowFramebufferTextureLayerEXT(GPFRAMEBUFFERTEXTURELAYEREXT fnptr, GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer) { -// (*fnptr)(target, attachment, texture, level, layer); -// } -// static void glowFramebufferTextureMultiviewOVR(GPFRAMEBUFFERTEXTUREMULTIVIEWOVR fnptr, GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews) { -// (*fnptr)(target, attachment, texture, level, baseViewIndex, numViews); -// } -// static void glowFreeObjectBufferATI(GPFREEOBJECTBUFFERATI fnptr, GLuint buffer) { -// (*fnptr)(buffer); -// } -// static void glowFrontFace(GPFRONTFACE fnptr, GLenum mode) { -// (*fnptr)(mode); -// } -// static void glowFrustum(GPFRUSTUM fnptr, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar) { -// (*fnptr)(left, right, bottom, top, zNear, zFar); -// } -// static void glowFrustumfOES(GPFRUSTUMFOES fnptr, GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f) { -// (*fnptr)(l, r, b, t, n, f); -// } -// static void glowFrustumxOES(GPFRUSTUMXOES fnptr, GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f) { -// (*fnptr)(l, r, b, t, n, f); -// } -// static GLuint glowGenAsyncMarkersSGIX(GPGENASYNCMARKERSSGIX fnptr, GLsizei range) { -// return (*fnptr)(range); -// } // static void glowGenBuffers(GPGENBUFFERS fnptr, GLsizei n, GLuint * buffers) { // (*fnptr)(n, buffers); // } -// static void glowGenBuffersARB(GPGENBUFFERSARB fnptr, GLsizei n, GLuint * buffers) { -// (*fnptr)(n, buffers); -// } -// static void glowGenFencesAPPLE(GPGENFENCESAPPLE fnptr, GLsizei n, GLuint * fences) { -// (*fnptr)(n, fences); -// } -// static void glowGenFencesNV(GPGENFENCESNV fnptr, GLsizei n, GLuint * fences) { -// (*fnptr)(n, fences); -// } -// static GLuint glowGenFragmentShadersATI(GPGENFRAGMENTSHADERSATI fnptr, GLuint range) { -// return (*fnptr)(range); -// } -// static void glowGenFramebuffers(GPGENFRAMEBUFFERS fnptr, GLsizei n, GLuint * framebuffers) { -// (*fnptr)(n, framebuffers); -// } // static void glowGenFramebuffersEXT(GPGENFRAMEBUFFERSEXT fnptr, GLsizei n, GLuint * framebuffers) { // (*fnptr)(n, framebuffers); // } -// static GLuint glowGenLists(GPGENLISTS fnptr, GLsizei range) { -// return (*fnptr)(range); -// } -// static void glowGenNamesAMD(GPGENNAMESAMD fnptr, GLenum identifier, GLuint num, GLuint * names) { -// (*fnptr)(identifier, num, names); -// } -// static void glowGenOcclusionQueriesNV(GPGENOCCLUSIONQUERIESNV fnptr, GLsizei n, GLuint * ids) { -// (*fnptr)(n, ids); -// } -// static GLuint glowGenPathsNV(GPGENPATHSNV fnptr, GLsizei range) { -// return (*fnptr)(range); -// } -// static void glowGenPerfMonitorsAMD(GPGENPERFMONITORSAMD fnptr, GLsizei n, GLuint * monitors) { -// (*fnptr)(n, monitors); -// } -// static void glowGenProgramPipelines(GPGENPROGRAMPIPELINES fnptr, GLsizei n, GLuint * pipelines) { -// (*fnptr)(n, pipelines); -// } -// static void glowGenProgramPipelinesEXT(GPGENPROGRAMPIPELINESEXT fnptr, GLsizei n, GLuint * pipelines) { -// (*fnptr)(n, pipelines); -// } -// static void glowGenProgramsARB(GPGENPROGRAMSARB fnptr, GLsizei n, GLuint * programs) { -// (*fnptr)(n, programs); -// } -// static void glowGenProgramsNV(GPGENPROGRAMSNV fnptr, GLsizei n, GLuint * programs) { -// (*fnptr)(n, programs); -// } -// static void glowGenQueries(GPGENQUERIES fnptr, GLsizei n, GLuint * ids) { -// (*fnptr)(n, ids); -// } -// static void glowGenQueriesARB(GPGENQUERIESARB fnptr, GLsizei n, GLuint * ids) { -// (*fnptr)(n, ids); -// } -// static void glowGenQueryResourceTagNV(GPGENQUERYRESOURCETAGNV fnptr, GLsizei n, GLint * tagIds) { -// (*fnptr)(n, tagIds); -// } -// static void glowGenRenderbuffers(GPGENRENDERBUFFERS fnptr, GLsizei n, GLuint * renderbuffers) { -// (*fnptr)(n, renderbuffers); -// } -// static void glowGenRenderbuffersEXT(GPGENRENDERBUFFERSEXT fnptr, GLsizei n, GLuint * renderbuffers) { -// (*fnptr)(n, renderbuffers); -// } -// static void glowGenSamplers(GPGENSAMPLERS fnptr, GLsizei count, GLuint * samplers) { -// (*fnptr)(count, samplers); -// } -// static void glowGenSemaphoresEXT(GPGENSEMAPHORESEXT fnptr, GLsizei n, GLuint * semaphores) { -// (*fnptr)(n, semaphores); -// } -// static GLuint glowGenSymbolsEXT(GPGENSYMBOLSEXT fnptr, GLenum datatype, GLenum storagetype, GLenum range, GLuint components) { -// return (*fnptr)(datatype, storagetype, range, components); -// } // static void glowGenTextures(GPGENTEXTURES fnptr, GLsizei n, GLuint * textures) { // (*fnptr)(n, textures); // } -// static void glowGenTexturesEXT(GPGENTEXTURESEXT fnptr, GLsizei n, GLuint * textures) { -// (*fnptr)(n, textures); -// } -// static void glowGenTransformFeedbacks(GPGENTRANSFORMFEEDBACKS fnptr, GLsizei n, GLuint * ids) { -// (*fnptr)(n, ids); -// } -// static void glowGenTransformFeedbacksNV(GPGENTRANSFORMFEEDBACKSNV fnptr, GLsizei n, GLuint * ids) { -// (*fnptr)(n, ids); -// } -// static void glowGenVertexArrays(GPGENVERTEXARRAYS fnptr, GLsizei n, GLuint * arrays) { -// (*fnptr)(n, arrays); -// } -// static void glowGenVertexArraysAPPLE(GPGENVERTEXARRAYSAPPLE fnptr, GLsizei n, GLuint * arrays) { -// (*fnptr)(n, arrays); -// } -// static GLuint glowGenVertexShadersEXT(GPGENVERTEXSHADERSEXT fnptr, GLuint range) { -// return (*fnptr)(range); -// } -// static void glowGenerateMipmap(GPGENERATEMIPMAP fnptr, GLenum target) { -// (*fnptr)(target); -// } -// static void glowGenerateMipmapEXT(GPGENERATEMIPMAPEXT fnptr, GLenum target) { -// (*fnptr)(target); -// } -// static void glowGenerateMultiTexMipmapEXT(GPGENERATEMULTITEXMIPMAPEXT fnptr, GLenum texunit, GLenum target) { -// (*fnptr)(texunit, target); -// } -// static void glowGenerateTextureMipmap(GPGENERATETEXTUREMIPMAP fnptr, GLuint texture) { -// (*fnptr)(texture); -// } -// static void glowGenerateTextureMipmapEXT(GPGENERATETEXTUREMIPMAPEXT fnptr, GLuint texture, GLenum target) { -// (*fnptr)(texture, target); -// } -// static void glowGetActiveAtomicCounterBufferiv(GPGETACTIVEATOMICCOUNTERBUFFERIV fnptr, GLuint program, GLuint bufferIndex, GLenum pname, GLint * params) { -// (*fnptr)(program, bufferIndex, pname, params); -// } -// static void glowGetActiveAttrib(GPGETACTIVEATTRIB fnptr, GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLint * size, GLenum * type, GLchar * name) { -// (*fnptr)(program, index, bufSize, length, size, type, name); -// } -// static void glowGetActiveAttribARB(GPGETACTIVEATTRIBARB fnptr, GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei * length, GLint * size, GLenum * type, GLcharARB * name) { -// (*fnptr)(programObj, index, maxLength, length, size, type, name); -// } -// static void glowGetActiveSubroutineName(GPGETACTIVESUBROUTINENAME fnptr, GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei * length, GLchar * name) { -// (*fnptr)(program, shadertype, index, bufsize, length, name); -// } -// static void glowGetActiveSubroutineUniformName(GPGETACTIVESUBROUTINEUNIFORMNAME fnptr, GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei * length, GLchar * name) { -// (*fnptr)(program, shadertype, index, bufsize, length, name); -// } -// static void glowGetActiveSubroutineUniformiv(GPGETACTIVESUBROUTINEUNIFORMIV fnptr, GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint * values) { -// (*fnptr)(program, shadertype, index, pname, values); -// } -// static void glowGetActiveUniform(GPGETACTIVEUNIFORM fnptr, GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLint * size, GLenum * type, GLchar * name) { -// (*fnptr)(program, index, bufSize, length, size, type, name); -// } -// static void glowGetActiveUniformARB(GPGETACTIVEUNIFORMARB fnptr, GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei * length, GLint * size, GLenum * type, GLcharARB * name) { -// (*fnptr)(programObj, index, maxLength, length, size, type, name); -// } -// static void glowGetActiveUniformBlockName(GPGETACTIVEUNIFORMBLOCKNAME fnptr, GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei * length, GLchar * uniformBlockName) { -// (*fnptr)(program, uniformBlockIndex, bufSize, length, uniformBlockName); -// } -// static void glowGetActiveUniformBlockiv(GPGETACTIVEUNIFORMBLOCKIV fnptr, GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint * params) { -// (*fnptr)(program, uniformBlockIndex, pname, params); -// } -// static void glowGetActiveUniformName(GPGETACTIVEUNIFORMNAME fnptr, GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei * length, GLchar * uniformName) { -// (*fnptr)(program, uniformIndex, bufSize, length, uniformName); -// } -// static void glowGetActiveUniformsiv(GPGETACTIVEUNIFORMSIV fnptr, GLuint program, GLsizei uniformCount, const GLuint * uniformIndices, GLenum pname, GLint * params) { -// (*fnptr)(program, uniformCount, uniformIndices, pname, params); -// } -// static void glowGetActiveVaryingNV(GPGETACTIVEVARYINGNV fnptr, GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLsizei * size, GLenum * type, GLchar * name) { -// (*fnptr)(program, index, bufSize, length, size, type, name); -// } -// static void glowGetArrayObjectfvATI(GPGETARRAYOBJECTFVATI fnptr, GLenum array, GLenum pname, GLfloat * params) { -// (*fnptr)(array, pname, params); -// } -// static void glowGetArrayObjectivATI(GPGETARRAYOBJECTIVATI fnptr, GLenum array, GLenum pname, GLint * params) { -// (*fnptr)(array, pname, params); -// } -// static void glowGetAttachedObjectsARB(GPGETATTACHEDOBJECTSARB fnptr, GLhandleARB containerObj, GLsizei maxCount, GLsizei * count, GLhandleARB * obj) { -// (*fnptr)(containerObj, maxCount, count, obj); -// } -// static void glowGetAttachedShaders(GPGETATTACHEDSHADERS fnptr, GLuint program, GLsizei maxCount, GLsizei * count, GLuint * shaders) { -// (*fnptr)(program, maxCount, count, shaders); -// } -// static GLint glowGetAttribLocation(GPGETATTRIBLOCATION fnptr, GLuint program, const GLchar * name) { -// return (*fnptr)(program, name); -// } -// static GLint glowGetAttribLocationARB(GPGETATTRIBLOCATIONARB fnptr, GLhandleARB programObj, const GLcharARB * name) { -// return (*fnptr)(programObj, name); -// } -// static void glowGetBooleanIndexedvEXT(GPGETBOOLEANINDEXEDVEXT fnptr, GLenum target, GLuint index, GLboolean * data) { -// (*fnptr)(target, index, data); -// } -// static void glowGetBooleanv(GPGETBOOLEANV fnptr, GLenum pname, GLboolean * data) { -// (*fnptr)(pname, data); -// } -// static void glowGetBufferParameteriv(GPGETBUFFERPARAMETERIV fnptr, GLenum target, GLenum pname, GLint * params) { -// (*fnptr)(target, pname, params); -// } -// static void glowGetBufferParameterivARB(GPGETBUFFERPARAMETERIVARB fnptr, GLenum target, GLenum pname, GLint * params) { -// (*fnptr)(target, pname, params); -// } -// static void glowGetBufferParameterui64vNV(GPGETBUFFERPARAMETERUI64VNV fnptr, GLenum target, GLenum pname, GLuint64EXT * params) { -// (*fnptr)(target, pname, params); -// } -// static void glowGetBufferPointerv(GPGETBUFFERPOINTERV fnptr, GLenum target, GLenum pname, void ** params) { -// (*fnptr)(target, pname, params); -// } -// static void glowGetBufferPointervARB(GPGETBUFFERPOINTERVARB fnptr, GLenum target, GLenum pname, void ** params) { -// (*fnptr)(target, pname, params); -// } -// static void glowGetBufferSubData(GPGETBUFFERSUBDATA fnptr, GLenum target, GLintptr offset, GLsizeiptr size, void * data) { -// (*fnptr)(target, offset, size, data); -// } -// static void glowGetBufferSubDataARB(GPGETBUFFERSUBDATAARB fnptr, GLenum target, GLintptrARB offset, GLsizeiptrARB size, void * data) { -// (*fnptr)(target, offset, size, data); -// } -// static void glowGetClipPlane(GPGETCLIPPLANE fnptr, GLenum plane, GLdouble * equation) { -// (*fnptr)(plane, equation); -// } -// static void glowGetClipPlanefOES(GPGETCLIPPLANEFOES fnptr, GLenum plane, GLfloat * equation) { -// (*fnptr)(plane, equation); -// } -// static void glowGetClipPlanexOES(GPGETCLIPPLANEXOES fnptr, GLenum plane, GLfixed * equation) { -// (*fnptr)(plane, equation); -// } -// static void glowGetColorTableEXT(GPGETCOLORTABLEEXT fnptr, GLenum target, GLenum format, GLenum type, void * data) { -// (*fnptr)(target, format, type, data); -// } -// static void glowGetColorTableParameterfvEXT(GPGETCOLORTABLEPARAMETERFVEXT fnptr, GLenum target, GLenum pname, GLfloat * params) { -// (*fnptr)(target, pname, params); -// } -// static void glowGetColorTableParameterfvSGI(GPGETCOLORTABLEPARAMETERFVSGI fnptr, GLenum target, GLenum pname, GLfloat * params) { -// (*fnptr)(target, pname, params); -// } -// static void glowGetColorTableParameterivEXT(GPGETCOLORTABLEPARAMETERIVEXT fnptr, GLenum target, GLenum pname, GLint * params) { -// (*fnptr)(target, pname, params); -// } -// static void glowGetColorTableParameterivSGI(GPGETCOLORTABLEPARAMETERIVSGI fnptr, GLenum target, GLenum pname, GLint * params) { -// (*fnptr)(target, pname, params); -// } -// static void glowGetColorTableSGI(GPGETCOLORTABLESGI fnptr, GLenum target, GLenum format, GLenum type, void * table) { -// (*fnptr)(target, format, type, table); -// } -// static void glowGetCombinerInputParameterfvNV(GPGETCOMBINERINPUTPARAMETERFVNV fnptr, GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat * params) { -// (*fnptr)(stage, portion, variable, pname, params); -// } -// static void glowGetCombinerInputParameterivNV(GPGETCOMBINERINPUTPARAMETERIVNV fnptr, GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint * params) { -// (*fnptr)(stage, portion, variable, pname, params); -// } -// static void glowGetCombinerOutputParameterfvNV(GPGETCOMBINEROUTPUTPARAMETERFVNV fnptr, GLenum stage, GLenum portion, GLenum pname, GLfloat * params) { -// (*fnptr)(stage, portion, pname, params); -// } -// static void glowGetCombinerOutputParameterivNV(GPGETCOMBINEROUTPUTPARAMETERIVNV fnptr, GLenum stage, GLenum portion, GLenum pname, GLint * params) { -// (*fnptr)(stage, portion, pname, params); -// } -// static void glowGetCombinerStageParameterfvNV(GPGETCOMBINERSTAGEPARAMETERFVNV fnptr, GLenum stage, GLenum pname, GLfloat * params) { -// (*fnptr)(stage, pname, params); -// } -// static GLuint glowGetCommandHeaderNV(GPGETCOMMANDHEADERNV fnptr, GLenum tokenID, GLuint size) { -// return (*fnptr)(tokenID, size); -// } -// static void glowGetCompressedMultiTexImageEXT(GPGETCOMPRESSEDMULTITEXIMAGEEXT fnptr, GLenum texunit, GLenum target, GLint lod, void * img) { -// (*fnptr)(texunit, target, lod, img); -// } -// static void glowGetCompressedTexImage(GPGETCOMPRESSEDTEXIMAGE fnptr, GLenum target, GLint level, void * img) { -// (*fnptr)(target, level, img); -// } -// static void glowGetCompressedTexImageARB(GPGETCOMPRESSEDTEXIMAGEARB fnptr, GLenum target, GLint level, void * img) { -// (*fnptr)(target, level, img); -// } -// static void glowGetCompressedTextureImage(GPGETCOMPRESSEDTEXTUREIMAGE fnptr, GLuint texture, GLint level, GLsizei bufSize, void * pixels) { -// (*fnptr)(texture, level, bufSize, pixels); -// } -// static void glowGetCompressedTextureImageEXT(GPGETCOMPRESSEDTEXTUREIMAGEEXT fnptr, GLuint texture, GLenum target, GLint lod, void * img) { -// (*fnptr)(texture, target, lod, img); -// } -// static void glowGetCompressedTextureSubImage(GPGETCOMPRESSEDTEXTURESUBIMAGE fnptr, GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei bufSize, void * pixels) { -// (*fnptr)(texture, level, xoffset, yoffset, zoffset, width, height, depth, bufSize, pixels); -// } -// static void glowGetConvolutionFilterEXT(GPGETCONVOLUTIONFILTEREXT fnptr, GLenum target, GLenum format, GLenum type, void * image) { -// (*fnptr)(target, format, type, image); -// } -// static void glowGetConvolutionParameterfvEXT(GPGETCONVOLUTIONPARAMETERFVEXT fnptr, GLenum target, GLenum pname, GLfloat * params) { -// (*fnptr)(target, pname, params); -// } -// static void glowGetConvolutionParameterivEXT(GPGETCONVOLUTIONPARAMETERIVEXT fnptr, GLenum target, GLenum pname, GLint * params) { -// (*fnptr)(target, pname, params); -// } -// static void glowGetConvolutionParameterxvOES(GPGETCONVOLUTIONPARAMETERXVOES fnptr, GLenum target, GLenum pname, GLfixed * params) { -// (*fnptr)(target, pname, params); -// } -// static void glowGetCoverageModulationTableNV(GPGETCOVERAGEMODULATIONTABLENV fnptr, GLsizei bufsize, GLfloat * v) { -// (*fnptr)(bufsize, v); -// } -// static GLuint glowGetDebugMessageLog(GPGETDEBUGMESSAGELOG fnptr, GLuint count, GLsizei bufSize, GLenum * sources, GLenum * types, GLuint * ids, GLenum * severities, GLsizei * lengths, GLchar * messageLog) { -// return (*fnptr)(count, bufSize, sources, types, ids, severities, lengths, messageLog); -// } -// static GLuint glowGetDebugMessageLogAMD(GPGETDEBUGMESSAGELOGAMD fnptr, GLuint count, GLsizei bufsize, GLenum * categories, GLuint * severities, GLuint * ids, GLsizei * lengths, GLchar * message) { -// return (*fnptr)(count, bufsize, categories, severities, ids, lengths, message); -// } -// static GLuint glowGetDebugMessageLogARB(GPGETDEBUGMESSAGELOGARB fnptr, GLuint count, GLsizei bufSize, GLenum * sources, GLenum * types, GLuint * ids, GLenum * severities, GLsizei * lengths, GLchar * messageLog) { -// return (*fnptr)(count, bufSize, sources, types, ids, severities, lengths, messageLog); -// } -// static GLuint glowGetDebugMessageLogKHR(GPGETDEBUGMESSAGELOGKHR fnptr, GLuint count, GLsizei bufSize, GLenum * sources, GLenum * types, GLuint * ids, GLenum * severities, GLsizei * lengths, GLchar * messageLog) { -// return (*fnptr)(count, bufSize, sources, types, ids, severities, lengths, messageLog); -// } -// static void glowGetDetailTexFuncSGIS(GPGETDETAILTEXFUNCSGIS fnptr, GLenum target, GLfloat * points) { -// (*fnptr)(target, points); -// } -// static void glowGetDoubleIndexedvEXT(GPGETDOUBLEINDEXEDVEXT fnptr, GLenum target, GLuint index, GLdouble * data) { -// (*fnptr)(target, index, data); -// } // static void glowGetDoublei_v(GPGETDOUBLEI_V fnptr, GLenum target, GLuint index, GLdouble * data) { // (*fnptr)(target, index, data); // } // static void glowGetDoublei_vEXT(GPGETDOUBLEI_VEXT fnptr, GLenum pname, GLuint index, GLdouble * params) { // (*fnptr)(pname, index, params); // } -// static void glowGetDoublev(GPGETDOUBLEV fnptr, GLenum pname, GLdouble * data) { -// (*fnptr)(pname, data); -// } // static GLenum glowGetError(GPGETERROR fnptr) { // return (*fnptr)(); // } -// static void glowGetFenceivNV(GPGETFENCEIVNV fnptr, GLuint fence, GLenum pname, GLint * params) { -// (*fnptr)(fence, pname, params); -// } -// static void glowGetFinalCombinerInputParameterfvNV(GPGETFINALCOMBINERINPUTPARAMETERFVNV fnptr, GLenum variable, GLenum pname, GLfloat * params) { -// (*fnptr)(variable, pname, params); -// } -// static void glowGetFinalCombinerInputParameterivNV(GPGETFINALCOMBINERINPUTPARAMETERIVNV fnptr, GLenum variable, GLenum pname, GLint * params) { -// (*fnptr)(variable, pname, params); -// } -// static void glowGetFirstPerfQueryIdINTEL(GPGETFIRSTPERFQUERYIDINTEL fnptr, GLuint * queryId) { -// (*fnptr)(queryId); -// } -// static void glowGetFixedvOES(GPGETFIXEDVOES fnptr, GLenum pname, GLfixed * params) { -// (*fnptr)(pname, params); -// } -// static void glowGetFloatIndexedvEXT(GPGETFLOATINDEXEDVEXT fnptr, GLenum target, GLuint index, GLfloat * data) { -// (*fnptr)(target, index, data); -// } // static void glowGetFloati_v(GPGETFLOATI_V fnptr, GLenum target, GLuint index, GLfloat * data) { // (*fnptr)(target, index, data); // } // static void glowGetFloati_vEXT(GPGETFLOATI_VEXT fnptr, GLenum pname, GLuint index, GLfloat * params) { // (*fnptr)(pname, index, params); // } -// static void glowGetFloatv(GPGETFLOATV fnptr, GLenum pname, GLfloat * data) { -// (*fnptr)(pname, data); -// } -// static void glowGetFogFuncSGIS(GPGETFOGFUNCSGIS fnptr, GLfloat * points) { -// (*fnptr)(points); -// } -// static GLint glowGetFragDataIndex(GPGETFRAGDATAINDEX fnptr, GLuint program, const GLchar * name) { -// return (*fnptr)(program, name); -// } -// static GLint glowGetFragDataLocationEXT(GPGETFRAGDATALOCATIONEXT fnptr, GLuint program, const GLchar * name) { -// return (*fnptr)(program, name); -// } -// static void glowGetFragmentLightfvSGIX(GPGETFRAGMENTLIGHTFVSGIX fnptr, GLenum light, GLenum pname, GLfloat * params) { -// (*fnptr)(light, pname, params); -// } -// static void glowGetFragmentLightivSGIX(GPGETFRAGMENTLIGHTIVSGIX fnptr, GLenum light, GLenum pname, GLint * params) { -// (*fnptr)(light, pname, params); -// } -// static void glowGetFragmentMaterialfvSGIX(GPGETFRAGMENTMATERIALFVSGIX fnptr, GLenum face, GLenum pname, GLfloat * params) { -// (*fnptr)(face, pname, params); -// } -// static void glowGetFragmentMaterialivSGIX(GPGETFRAGMENTMATERIALIVSGIX fnptr, GLenum face, GLenum pname, GLint * params) { -// (*fnptr)(face, pname, params); -// } -// static void glowGetFramebufferAttachmentParameteriv(GPGETFRAMEBUFFERATTACHMENTPARAMETERIV fnptr, GLenum target, GLenum attachment, GLenum pname, GLint * params) { -// (*fnptr)(target, attachment, pname, params); -// } -// static void glowGetFramebufferAttachmentParameterivEXT(GPGETFRAMEBUFFERATTACHMENTPARAMETERIVEXT fnptr, GLenum target, GLenum attachment, GLenum pname, GLint * params) { -// (*fnptr)(target, attachment, pname, params); -// } -// static void glowGetFramebufferParameterfvAMD(GPGETFRAMEBUFFERPARAMETERFVAMD fnptr, GLenum target, GLenum pname, GLuint numsamples, GLuint pixelindex, GLsizei size, GLfloat * values) { -// (*fnptr)(target, pname, numsamples, pixelindex, size, values); -// } -// static void glowGetFramebufferParameteriv(GPGETFRAMEBUFFERPARAMETERIV fnptr, GLenum target, GLenum pname, GLint * params) { -// (*fnptr)(target, pname, params); -// } -// static void glowGetFramebufferParameterivEXT(GPGETFRAMEBUFFERPARAMETERIVEXT fnptr, GLuint framebuffer, GLenum pname, GLint * params) { -// (*fnptr)(framebuffer, pname, params); -// } -// static GLenum glowGetGraphicsResetStatus(GPGETGRAPHICSRESETSTATUS fnptr) { -// return (*fnptr)(); -// } -// static GLenum glowGetGraphicsResetStatusARB(GPGETGRAPHICSRESETSTATUSARB fnptr) { -// return (*fnptr)(); -// } -// static GLenum glowGetGraphicsResetStatusKHR(GPGETGRAPHICSRESETSTATUSKHR fnptr) { -// return (*fnptr)(); -// } -// static GLhandleARB glowGetHandleARB(GPGETHANDLEARB fnptr, GLenum pname) { -// return (*fnptr)(pname); -// } -// static void glowGetHistogramEXT(GPGETHISTOGRAMEXT fnptr, GLenum target, GLboolean reset, GLenum format, GLenum type, void * values) { -// (*fnptr)(target, reset, format, type, values); -// } -// static void glowGetHistogramParameterfvEXT(GPGETHISTOGRAMPARAMETERFVEXT fnptr, GLenum target, GLenum pname, GLfloat * params) { -// (*fnptr)(target, pname, params); -// } -// static void glowGetHistogramParameterivEXT(GPGETHISTOGRAMPARAMETERIVEXT fnptr, GLenum target, GLenum pname, GLint * params) { -// (*fnptr)(target, pname, params); -// } -// static void glowGetHistogramParameterxvOES(GPGETHISTOGRAMPARAMETERXVOES fnptr, GLenum target, GLenum pname, GLfixed * params) { -// (*fnptr)(target, pname, params); -// } -// static GLuint64 glowGetImageHandleARB(GPGETIMAGEHANDLEARB fnptr, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format) { -// return (*fnptr)(texture, level, layered, layer, format); -// } -// static GLuint64 glowGetImageHandleNV(GPGETIMAGEHANDLENV fnptr, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format) { -// return (*fnptr)(texture, level, layered, layer, format); -// } -// static void glowGetImageTransformParameterfvHP(GPGETIMAGETRANSFORMPARAMETERFVHP fnptr, GLenum target, GLenum pname, GLfloat * params) { -// (*fnptr)(target, pname, params); -// } -// static void glowGetImageTransformParameterivHP(GPGETIMAGETRANSFORMPARAMETERIVHP fnptr, GLenum target, GLenum pname, GLint * params) { -// (*fnptr)(target, pname, params); -// } -// static void glowGetInfoLogARB(GPGETINFOLOGARB fnptr, GLhandleARB obj, GLsizei maxLength, GLsizei * length, GLcharARB * infoLog) { -// (*fnptr)(obj, maxLength, length, infoLog); -// } -// static GLint glowGetInstrumentsSGIX(GPGETINSTRUMENTSSGIX fnptr) { -// return (*fnptr)(); -// } -// static void glowGetInteger64v(GPGETINTEGER64V fnptr, GLenum pname, GLint64 * data) { -// (*fnptr)(pname, data); -// } -// static void glowGetIntegerIndexedvEXT(GPGETINTEGERINDEXEDVEXT fnptr, GLenum target, GLuint index, GLint * data) { -// (*fnptr)(target, index, data); -// } // static void glowGetIntegeri_v(GPGETINTEGERI_V fnptr, GLenum target, GLuint index, GLint * data) { // (*fnptr)(target, index, data); // } // static void glowGetIntegerui64i_vNV(GPGETINTEGERUI64I_VNV fnptr, GLenum value, GLuint index, GLuint64EXT * result) { // (*fnptr)(value, index, result); // } -// static void glowGetIntegerui64vNV(GPGETINTEGERUI64VNV fnptr, GLenum value, GLuint64EXT * result) { -// (*fnptr)(value, result); -// } // static void glowGetIntegerv(GPGETINTEGERV fnptr, GLenum pname, GLint * data) { // (*fnptr)(pname, data); // } -// static void glowGetInternalformatSampleivNV(GPGETINTERNALFORMATSAMPLEIVNV fnptr, GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei bufSize, GLint * params) { -// (*fnptr)(target, internalformat, samples, pname, bufSize, params); -// } -// static void glowGetInternalformati64v(GPGETINTERNALFORMATI64V fnptr, GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 * params) { -// (*fnptr)(target, internalformat, pname, bufSize, params); -// } -// static void glowGetInternalformativ(GPGETINTERNALFORMATIV fnptr, GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint * params) { -// (*fnptr)(target, internalformat, pname, bufSize, params); -// } -// static void glowGetInvariantBooleanvEXT(GPGETINVARIANTBOOLEANVEXT fnptr, GLuint id, GLenum value, GLboolean * data) { -// (*fnptr)(id, value, data); -// } -// static void glowGetInvariantFloatvEXT(GPGETINVARIANTFLOATVEXT fnptr, GLuint id, GLenum value, GLfloat * data) { -// (*fnptr)(id, value, data); -// } -// static void glowGetInvariantIntegervEXT(GPGETINVARIANTINTEGERVEXT fnptr, GLuint id, GLenum value, GLint * data) { -// (*fnptr)(id, value, data); -// } -// static void glowGetLightfv(GPGETLIGHTFV fnptr, GLenum light, GLenum pname, GLfloat * params) { -// (*fnptr)(light, pname, params); -// } -// static void glowGetLightiv(GPGETLIGHTIV fnptr, GLenum light, GLenum pname, GLint * params) { -// (*fnptr)(light, pname, params); -// } -// static void glowGetLightxOES(GPGETLIGHTXOES fnptr, GLenum light, GLenum pname, GLfixed * params) { -// (*fnptr)(light, pname, params); -// } -// static void glowGetLightxvOES(GPGETLIGHTXVOES fnptr, GLenum light, GLenum pname, GLfixed * params) { -// (*fnptr)(light, pname, params); -// } -// static void glowGetListParameterfvSGIX(GPGETLISTPARAMETERFVSGIX fnptr, GLuint list, GLenum pname, GLfloat * params) { -// (*fnptr)(list, pname, params); -// } -// static void glowGetListParameterivSGIX(GPGETLISTPARAMETERIVSGIX fnptr, GLuint list, GLenum pname, GLint * params) { -// (*fnptr)(list, pname, params); -// } -// static void glowGetLocalConstantBooleanvEXT(GPGETLOCALCONSTANTBOOLEANVEXT fnptr, GLuint id, GLenum value, GLboolean * data) { -// (*fnptr)(id, value, data); -// } -// static void glowGetLocalConstantFloatvEXT(GPGETLOCALCONSTANTFLOATVEXT fnptr, GLuint id, GLenum value, GLfloat * data) { -// (*fnptr)(id, value, data); -// } -// static void glowGetLocalConstantIntegervEXT(GPGETLOCALCONSTANTINTEGERVEXT fnptr, GLuint id, GLenum value, GLint * data) { -// (*fnptr)(id, value, data); -// } -// static void glowGetMapAttribParameterfvNV(GPGETMAPATTRIBPARAMETERFVNV fnptr, GLenum target, GLuint index, GLenum pname, GLfloat * params) { -// (*fnptr)(target, index, pname, params); -// } -// static void glowGetMapAttribParameterivNV(GPGETMAPATTRIBPARAMETERIVNV fnptr, GLenum target, GLuint index, GLenum pname, GLint * params) { -// (*fnptr)(target, index, pname, params); -// } -// static void glowGetMapControlPointsNV(GPGETMAPCONTROLPOINTSNV fnptr, GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, void * points) { -// (*fnptr)(target, index, type, ustride, vstride, packed, points); -// } -// static void glowGetMapParameterfvNV(GPGETMAPPARAMETERFVNV fnptr, GLenum target, GLenum pname, GLfloat * params) { -// (*fnptr)(target, pname, params); -// } -// static void glowGetMapParameterivNV(GPGETMAPPARAMETERIVNV fnptr, GLenum target, GLenum pname, GLint * params) { -// (*fnptr)(target, pname, params); -// } -// static void glowGetMapdv(GPGETMAPDV fnptr, GLenum target, GLenum query, GLdouble * v) { -// (*fnptr)(target, query, v); -// } -// static void glowGetMapfv(GPGETMAPFV fnptr, GLenum target, GLenum query, GLfloat * v) { -// (*fnptr)(target, query, v); -// } -// static void glowGetMapiv(GPGETMAPIV fnptr, GLenum target, GLenum query, GLint * v) { -// (*fnptr)(target, query, v); -// } -// static void glowGetMapxvOES(GPGETMAPXVOES fnptr, GLenum target, GLenum query, GLfixed * v) { -// (*fnptr)(target, query, v); -// } -// static void glowGetMaterialfv(GPGETMATERIALFV fnptr, GLenum face, GLenum pname, GLfloat * params) { -// (*fnptr)(face, pname, params); -// } -// static void glowGetMaterialiv(GPGETMATERIALIV fnptr, GLenum face, GLenum pname, GLint * params) { -// (*fnptr)(face, pname, params); -// } -// static void glowGetMaterialxOES(GPGETMATERIALXOES fnptr, GLenum face, GLenum pname, GLfixed param) { -// (*fnptr)(face, pname, param); -// } -// static void glowGetMaterialxvOES(GPGETMATERIALXVOES fnptr, GLenum face, GLenum pname, GLfixed * params) { -// (*fnptr)(face, pname, params); -// } -// static void glowGetMemoryObjectParameterivEXT(GPGETMEMORYOBJECTPARAMETERIVEXT fnptr, GLuint memoryObject, GLenum pname, GLint * params) { -// (*fnptr)(memoryObject, pname, params); -// } -// static void glowGetMinmaxEXT(GPGETMINMAXEXT fnptr, GLenum target, GLboolean reset, GLenum format, GLenum type, void * values) { -// (*fnptr)(target, reset, format, type, values); -// } -// static void glowGetMinmaxParameterfvEXT(GPGETMINMAXPARAMETERFVEXT fnptr, GLenum target, GLenum pname, GLfloat * params) { -// (*fnptr)(target, pname, params); -// } -// static void glowGetMinmaxParameterivEXT(GPGETMINMAXPARAMETERIVEXT fnptr, GLenum target, GLenum pname, GLint * params) { -// (*fnptr)(target, pname, params); -// } -// static void glowGetMultiTexEnvfvEXT(GPGETMULTITEXENVFVEXT fnptr, GLenum texunit, GLenum target, GLenum pname, GLfloat * params) { -// (*fnptr)(texunit, target, pname, params); -// } -// static void glowGetMultiTexEnvivEXT(GPGETMULTITEXENVIVEXT fnptr, GLenum texunit, GLenum target, GLenum pname, GLint * params) { -// (*fnptr)(texunit, target, pname, params); -// } -// static void glowGetMultiTexGendvEXT(GPGETMULTITEXGENDVEXT fnptr, GLenum texunit, GLenum coord, GLenum pname, GLdouble * params) { -// (*fnptr)(texunit, coord, pname, params); -// } -// static void glowGetMultiTexGenfvEXT(GPGETMULTITEXGENFVEXT fnptr, GLenum texunit, GLenum coord, GLenum pname, GLfloat * params) { -// (*fnptr)(texunit, coord, pname, params); -// } -// static void glowGetMultiTexGenivEXT(GPGETMULTITEXGENIVEXT fnptr, GLenum texunit, GLenum coord, GLenum pname, GLint * params) { -// (*fnptr)(texunit, coord, pname, params); -// } -// static void glowGetMultiTexImageEXT(GPGETMULTITEXIMAGEEXT fnptr, GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, void * pixels) { -// (*fnptr)(texunit, target, level, format, type, pixels); -// } -// static void glowGetMultiTexLevelParameterfvEXT(GPGETMULTITEXLEVELPARAMETERFVEXT fnptr, GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat * params) { -// (*fnptr)(texunit, target, level, pname, params); -// } -// static void glowGetMultiTexLevelParameterivEXT(GPGETMULTITEXLEVELPARAMETERIVEXT fnptr, GLenum texunit, GLenum target, GLint level, GLenum pname, GLint * params) { -// (*fnptr)(texunit, target, level, pname, params); -// } -// static void glowGetMultiTexParameterIivEXT(GPGETMULTITEXPARAMETERIIVEXT fnptr, GLenum texunit, GLenum target, GLenum pname, GLint * params) { -// (*fnptr)(texunit, target, pname, params); -// } -// static void glowGetMultiTexParameterIuivEXT(GPGETMULTITEXPARAMETERIUIVEXT fnptr, GLenum texunit, GLenum target, GLenum pname, GLuint * params) { -// (*fnptr)(texunit, target, pname, params); -// } -// static void glowGetMultiTexParameterfvEXT(GPGETMULTITEXPARAMETERFVEXT fnptr, GLenum texunit, GLenum target, GLenum pname, GLfloat * params) { -// (*fnptr)(texunit, target, pname, params); -// } -// static void glowGetMultiTexParameterivEXT(GPGETMULTITEXPARAMETERIVEXT fnptr, GLenum texunit, GLenum target, GLenum pname, GLint * params) { -// (*fnptr)(texunit, target, pname, params); -// } -// static void glowGetMultisamplefv(GPGETMULTISAMPLEFV fnptr, GLenum pname, GLuint index, GLfloat * val) { -// (*fnptr)(pname, index, val); -// } -// static void glowGetMultisamplefvNV(GPGETMULTISAMPLEFVNV fnptr, GLenum pname, GLuint index, GLfloat * val) { -// (*fnptr)(pname, index, val); -// } -// static void glowGetNamedBufferParameteri64v(GPGETNAMEDBUFFERPARAMETERI64V fnptr, GLuint buffer, GLenum pname, GLint64 * params) { -// (*fnptr)(buffer, pname, params); -// } -// static void glowGetNamedBufferParameteriv(GPGETNAMEDBUFFERPARAMETERIV fnptr, GLuint buffer, GLenum pname, GLint * params) { -// (*fnptr)(buffer, pname, params); -// } -// static void glowGetNamedBufferParameterivEXT(GPGETNAMEDBUFFERPARAMETERIVEXT fnptr, GLuint buffer, GLenum pname, GLint * params) { -// (*fnptr)(buffer, pname, params); -// } -// static void glowGetNamedBufferParameterui64vNV(GPGETNAMEDBUFFERPARAMETERUI64VNV fnptr, GLuint buffer, GLenum pname, GLuint64EXT * params) { -// (*fnptr)(buffer, pname, params); -// } -// static void glowGetNamedBufferPointerv(GPGETNAMEDBUFFERPOINTERV fnptr, GLuint buffer, GLenum pname, void ** params) { -// (*fnptr)(buffer, pname, params); -// } -// static void glowGetNamedBufferPointervEXT(GPGETNAMEDBUFFERPOINTERVEXT fnptr, GLuint buffer, GLenum pname, void ** params) { -// (*fnptr)(buffer, pname, params); -// } -// static void glowGetNamedBufferSubData(GPGETNAMEDBUFFERSUBDATA fnptr, GLuint buffer, GLintptr offset, GLsizeiptr size, void * data) { -// (*fnptr)(buffer, offset, size, data); -// } -// static void glowGetNamedBufferSubDataEXT(GPGETNAMEDBUFFERSUBDATAEXT fnptr, GLuint buffer, GLintptr offset, GLsizeiptr size, void * data) { -// (*fnptr)(buffer, offset, size, data); -// } -// static void glowGetNamedFramebufferAttachmentParameteriv(GPGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIV fnptr, GLuint framebuffer, GLenum attachment, GLenum pname, GLint * params) { -// (*fnptr)(framebuffer, attachment, pname, params); -// } -// static void glowGetNamedFramebufferAttachmentParameterivEXT(GPGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVEXT fnptr, GLuint framebuffer, GLenum attachment, GLenum pname, GLint * params) { -// (*fnptr)(framebuffer, attachment, pname, params); -// } -// static void glowGetNamedFramebufferParameterfvAMD(GPGETNAMEDFRAMEBUFFERPARAMETERFVAMD fnptr, GLuint framebuffer, GLenum pname, GLuint numsamples, GLuint pixelindex, GLsizei size, GLfloat * values) { -// (*fnptr)(framebuffer, pname, numsamples, pixelindex, size, values); -// } -// static void glowGetNamedFramebufferParameteriv(GPGETNAMEDFRAMEBUFFERPARAMETERIV fnptr, GLuint framebuffer, GLenum pname, GLint * param) { -// (*fnptr)(framebuffer, pname, param); -// } -// static void glowGetNamedFramebufferParameterivEXT(GPGETNAMEDFRAMEBUFFERPARAMETERIVEXT fnptr, GLuint framebuffer, GLenum pname, GLint * params) { -// (*fnptr)(framebuffer, pname, params); -// } -// static void glowGetNamedProgramLocalParameterIivEXT(GPGETNAMEDPROGRAMLOCALPARAMETERIIVEXT fnptr, GLuint program, GLenum target, GLuint index, GLint * params) { -// (*fnptr)(program, target, index, params); -// } -// static void glowGetNamedProgramLocalParameterIuivEXT(GPGETNAMEDPROGRAMLOCALPARAMETERIUIVEXT fnptr, GLuint program, GLenum target, GLuint index, GLuint * params) { -// (*fnptr)(program, target, index, params); -// } -// static void glowGetNamedProgramLocalParameterdvEXT(GPGETNAMEDPROGRAMLOCALPARAMETERDVEXT fnptr, GLuint program, GLenum target, GLuint index, GLdouble * params) { -// (*fnptr)(program, target, index, params); -// } -// static void glowGetNamedProgramLocalParameterfvEXT(GPGETNAMEDPROGRAMLOCALPARAMETERFVEXT fnptr, GLuint program, GLenum target, GLuint index, GLfloat * params) { -// (*fnptr)(program, target, index, params); -// } -// static void glowGetNamedProgramStringEXT(GPGETNAMEDPROGRAMSTRINGEXT fnptr, GLuint program, GLenum target, GLenum pname, void * string) { -// (*fnptr)(program, target, pname, string); -// } -// static void glowGetNamedProgramivEXT(GPGETNAMEDPROGRAMIVEXT fnptr, GLuint program, GLenum target, GLenum pname, GLint * params) { -// (*fnptr)(program, target, pname, params); -// } -// static void glowGetNamedRenderbufferParameteriv(GPGETNAMEDRENDERBUFFERPARAMETERIV fnptr, GLuint renderbuffer, GLenum pname, GLint * params) { -// (*fnptr)(renderbuffer, pname, params); -// } -// static void glowGetNamedRenderbufferParameterivEXT(GPGETNAMEDRENDERBUFFERPARAMETERIVEXT fnptr, GLuint renderbuffer, GLenum pname, GLint * params) { -// (*fnptr)(renderbuffer, pname, params); -// } -// static void glowGetNamedStringARB(GPGETNAMEDSTRINGARB fnptr, GLint namelen, const GLchar * name, GLsizei bufSize, GLint * stringlen, GLchar * string) { -// (*fnptr)(namelen, name, bufSize, stringlen, string); -// } -// static void glowGetNamedStringivARB(GPGETNAMEDSTRINGIVARB fnptr, GLint namelen, const GLchar * name, GLenum pname, GLint * params) { -// (*fnptr)(namelen, name, pname, params); -// } -// static void glowGetNextPerfQueryIdINTEL(GPGETNEXTPERFQUERYIDINTEL fnptr, GLuint queryId, GLuint * nextQueryId) { -// (*fnptr)(queryId, nextQueryId); -// } -// static void glowGetObjectBufferfvATI(GPGETOBJECTBUFFERFVATI fnptr, GLuint buffer, GLenum pname, GLfloat * params) { -// (*fnptr)(buffer, pname, params); -// } -// static void glowGetObjectBufferivATI(GPGETOBJECTBUFFERIVATI fnptr, GLuint buffer, GLenum pname, GLint * params) { -// (*fnptr)(buffer, pname, params); -// } -// static void glowGetObjectLabel(GPGETOBJECTLABEL fnptr, GLenum identifier, GLuint name, GLsizei bufSize, GLsizei * length, GLchar * label) { -// (*fnptr)(identifier, name, bufSize, length, label); -// } -// static void glowGetObjectLabelEXT(GPGETOBJECTLABELEXT fnptr, GLenum type, GLuint object, GLsizei bufSize, GLsizei * length, GLchar * label) { -// (*fnptr)(type, object, bufSize, length, label); -// } -// static void glowGetObjectLabelKHR(GPGETOBJECTLABELKHR fnptr, GLenum identifier, GLuint name, GLsizei bufSize, GLsizei * length, GLchar * label) { -// (*fnptr)(identifier, name, bufSize, length, label); -// } -// static void glowGetObjectParameterfvARB(GPGETOBJECTPARAMETERFVARB fnptr, GLhandleARB obj, GLenum pname, GLfloat * params) { -// (*fnptr)(obj, pname, params); -// } -// static void glowGetObjectParameterivAPPLE(GPGETOBJECTPARAMETERIVAPPLE fnptr, GLenum objectType, GLuint name, GLenum pname, GLint * params) { -// (*fnptr)(objectType, name, pname, params); -// } -// static void glowGetObjectParameterivARB(GPGETOBJECTPARAMETERIVARB fnptr, GLhandleARB obj, GLenum pname, GLint * params) { -// (*fnptr)(obj, pname, params); -// } -// static void glowGetObjectPtrLabel(GPGETOBJECTPTRLABEL fnptr, const void * ptr, GLsizei bufSize, GLsizei * length, GLchar * label) { -// (*fnptr)(ptr, bufSize, length, label); -// } -// static void glowGetObjectPtrLabelKHR(GPGETOBJECTPTRLABELKHR fnptr, const void * ptr, GLsizei bufSize, GLsizei * length, GLchar * label) { -// (*fnptr)(ptr, bufSize, length, label); -// } -// static void glowGetOcclusionQueryivNV(GPGETOCCLUSIONQUERYIVNV fnptr, GLuint id, GLenum pname, GLint * params) { -// (*fnptr)(id, pname, params); -// } -// static void glowGetOcclusionQueryuivNV(GPGETOCCLUSIONQUERYUIVNV fnptr, GLuint id, GLenum pname, GLuint * params) { -// (*fnptr)(id, pname, params); -// } -// static void glowGetPathCommandsNV(GPGETPATHCOMMANDSNV fnptr, GLuint path, GLubyte * commands) { -// (*fnptr)(path, commands); -// } -// static void glowGetPathCoordsNV(GPGETPATHCOORDSNV fnptr, GLuint path, GLfloat * coords) { -// (*fnptr)(path, coords); -// } -// static void glowGetPathDashArrayNV(GPGETPATHDASHARRAYNV fnptr, GLuint path, GLfloat * dashArray) { -// (*fnptr)(path, dashArray); -// } -// static GLfloat glowGetPathLengthNV(GPGETPATHLENGTHNV fnptr, GLuint path, GLsizei startSegment, GLsizei numSegments) { -// return (*fnptr)(path, startSegment, numSegments); -// } -// static void glowGetPathMetricRangeNV(GPGETPATHMETRICRANGENV fnptr, GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat * metrics) { -// (*fnptr)(metricQueryMask, firstPathName, numPaths, stride, metrics); -// } -// static void glowGetPathMetricsNV(GPGETPATHMETRICSNV fnptr, GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLsizei stride, GLfloat * metrics) { -// (*fnptr)(metricQueryMask, numPaths, pathNameType, paths, pathBase, stride, metrics); -// } -// static void glowGetPathParameterfvNV(GPGETPATHPARAMETERFVNV fnptr, GLuint path, GLenum pname, GLfloat * value) { -// (*fnptr)(path, pname, value); -// } -// static void glowGetPathParameterivNV(GPGETPATHPARAMETERIVNV fnptr, GLuint path, GLenum pname, GLint * value) { -// (*fnptr)(path, pname, value); -// } -// static void glowGetPathSpacingNV(GPGETPATHSPACINGNV fnptr, GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat * returnedSpacing) { -// (*fnptr)(pathListMode, numPaths, pathNameType, paths, pathBase, advanceScale, kerningScale, transformType, returnedSpacing); -// } -// static void glowGetPerfCounterInfoINTEL(GPGETPERFCOUNTERINFOINTEL fnptr, GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar * counterName, GLuint counterDescLength, GLchar * counterDesc, GLuint * counterOffset, GLuint * counterDataSize, GLuint * counterTypeEnum, GLuint * counterDataTypeEnum, GLuint64 * rawCounterMaxValue) { -// (*fnptr)(queryId, counterId, counterNameLength, counterName, counterDescLength, counterDesc, counterOffset, counterDataSize, counterTypeEnum, counterDataTypeEnum, rawCounterMaxValue); -// } -// static void glowGetPerfMonitorCounterDataAMD(GPGETPERFMONITORCOUNTERDATAAMD fnptr, GLuint monitor, GLenum pname, GLsizei dataSize, GLuint * data, GLint * bytesWritten) { -// (*fnptr)(monitor, pname, dataSize, data, bytesWritten); -// } -// static void glowGetPerfMonitorCounterInfoAMD(GPGETPERFMONITORCOUNTERINFOAMD fnptr, GLuint group, GLuint counter, GLenum pname, void * data) { -// (*fnptr)(group, counter, pname, data); -// } -// static void glowGetPerfMonitorCounterStringAMD(GPGETPERFMONITORCOUNTERSTRINGAMD fnptr, GLuint group, GLuint counter, GLsizei bufSize, GLsizei * length, GLchar * counterString) { -// (*fnptr)(group, counter, bufSize, length, counterString); -// } -// static void glowGetPerfMonitorCountersAMD(GPGETPERFMONITORCOUNTERSAMD fnptr, GLuint group, GLint * numCounters, GLint * maxActiveCounters, GLsizei counterSize, GLuint * counters) { -// (*fnptr)(group, numCounters, maxActiveCounters, counterSize, counters); -// } -// static void glowGetPerfMonitorGroupStringAMD(GPGETPERFMONITORGROUPSTRINGAMD fnptr, GLuint group, GLsizei bufSize, GLsizei * length, GLchar * groupString) { -// (*fnptr)(group, bufSize, length, groupString); -// } -// static void glowGetPerfMonitorGroupsAMD(GPGETPERFMONITORGROUPSAMD fnptr, GLint * numGroups, GLsizei groupsSize, GLuint * groups) { -// (*fnptr)(numGroups, groupsSize, groups); -// } -// static void glowGetPerfQueryDataINTEL(GPGETPERFQUERYDATAINTEL fnptr, GLuint queryHandle, GLuint flags, GLsizei dataSize, void * data, GLuint * bytesWritten) { -// (*fnptr)(queryHandle, flags, dataSize, data, bytesWritten); -// } -// static void glowGetPerfQueryIdByNameINTEL(GPGETPERFQUERYIDBYNAMEINTEL fnptr, GLchar * queryName, GLuint * queryId) { -// (*fnptr)(queryName, queryId); -// } -// static void glowGetPerfQueryInfoINTEL(GPGETPERFQUERYINFOINTEL fnptr, GLuint queryId, GLuint queryNameLength, GLchar * queryName, GLuint * dataSize, GLuint * noCounters, GLuint * noInstances, GLuint * capsMask) { -// (*fnptr)(queryId, queryNameLength, queryName, dataSize, noCounters, noInstances, capsMask); -// } -// static void glowGetPixelMapfv(GPGETPIXELMAPFV fnptr, GLenum map, GLfloat * values) { -// (*fnptr)(map, values); -// } -// static void glowGetPixelMapuiv(GPGETPIXELMAPUIV fnptr, GLenum map, GLuint * values) { -// (*fnptr)(map, values); -// } -// static void glowGetPixelMapusv(GPGETPIXELMAPUSV fnptr, GLenum map, GLushort * values) { -// (*fnptr)(map, values); -// } -// static void glowGetPixelMapxv(GPGETPIXELMAPXV fnptr, GLenum map, GLint size, GLfixed * values) { -// (*fnptr)(map, size, values); -// } -// static void glowGetPixelTexGenParameterfvSGIS(GPGETPIXELTEXGENPARAMETERFVSGIS fnptr, GLenum pname, GLfloat * params) { -// (*fnptr)(pname, params); -// } -// static void glowGetPixelTexGenParameterivSGIS(GPGETPIXELTEXGENPARAMETERIVSGIS fnptr, GLenum pname, GLint * params) { -// (*fnptr)(pname, params); -// } -// static void glowGetPixelTransformParameterfvEXT(GPGETPIXELTRANSFORMPARAMETERFVEXT fnptr, GLenum target, GLenum pname, GLfloat * params) { -// (*fnptr)(target, pname, params); -// } -// static void glowGetPixelTransformParameterivEXT(GPGETPIXELTRANSFORMPARAMETERIVEXT fnptr, GLenum target, GLenum pname, GLint * params) { -// (*fnptr)(target, pname, params); -// } -// static void glowGetPointerIndexedvEXT(GPGETPOINTERINDEXEDVEXT fnptr, GLenum target, GLuint index, void ** data) { -// (*fnptr)(target, index, data); -// } // static void glowGetPointeri_vEXT(GPGETPOINTERI_VEXT fnptr, GLenum pname, GLuint index, void ** params) { // (*fnptr)(pname, index, params); // } -// static void glowGetPointerv(GPGETPOINTERV fnptr, GLenum pname, void ** params) { -// (*fnptr)(pname, params); -// } -// static void glowGetPointervEXT(GPGETPOINTERVEXT fnptr, GLenum pname, void ** params) { -// (*fnptr)(pname, params); -// } -// static void glowGetPointervKHR(GPGETPOINTERVKHR fnptr, GLenum pname, void ** params) { -// (*fnptr)(pname, params); -// } -// static void glowGetPolygonStipple(GPGETPOLYGONSTIPPLE fnptr, GLubyte * mask) { -// (*fnptr)(mask); -// } -// static void glowGetProgramBinary(GPGETPROGRAMBINARY fnptr, GLuint program, GLsizei bufSize, GLsizei * length, GLenum * binaryFormat, void * binary) { -// (*fnptr)(program, bufSize, length, binaryFormat, binary); -// } -// static void glowGetProgramEnvParameterIivNV(GPGETPROGRAMENVPARAMETERIIVNV fnptr, GLenum target, GLuint index, GLint * params) { -// (*fnptr)(target, index, params); -// } -// static void glowGetProgramEnvParameterIuivNV(GPGETPROGRAMENVPARAMETERIUIVNV fnptr, GLenum target, GLuint index, GLuint * params) { -// (*fnptr)(target, index, params); -// } -// static void glowGetProgramEnvParameterdvARB(GPGETPROGRAMENVPARAMETERDVARB fnptr, GLenum target, GLuint index, GLdouble * params) { -// (*fnptr)(target, index, params); -// } -// static void glowGetProgramEnvParameterfvARB(GPGETPROGRAMENVPARAMETERFVARB fnptr, GLenum target, GLuint index, GLfloat * params) { -// (*fnptr)(target, index, params); -// } -// static void glowGetProgramInfoLog(GPGETPROGRAMINFOLOG fnptr, GLuint program, GLsizei bufSize, GLsizei * length, GLchar * infoLog) { -// (*fnptr)(program, bufSize, length, infoLog); -// } -// static void glowGetProgramInterfaceiv(GPGETPROGRAMINTERFACEIV fnptr, GLuint program, GLenum programInterface, GLenum pname, GLint * params) { -// (*fnptr)(program, programInterface, pname, params); -// } -// static void glowGetProgramLocalParameterIivNV(GPGETPROGRAMLOCALPARAMETERIIVNV fnptr, GLenum target, GLuint index, GLint * params) { -// (*fnptr)(target, index, params); -// } -// static void glowGetProgramLocalParameterIuivNV(GPGETPROGRAMLOCALPARAMETERIUIVNV fnptr, GLenum target, GLuint index, GLuint * params) { -// (*fnptr)(target, index, params); -// } -// static void glowGetProgramLocalParameterdvARB(GPGETPROGRAMLOCALPARAMETERDVARB fnptr, GLenum target, GLuint index, GLdouble * params) { -// (*fnptr)(target, index, params); -// } -// static void glowGetProgramLocalParameterfvARB(GPGETPROGRAMLOCALPARAMETERFVARB fnptr, GLenum target, GLuint index, GLfloat * params) { -// (*fnptr)(target, index, params); -// } -// static void glowGetProgramNamedParameterdvNV(GPGETPROGRAMNAMEDPARAMETERDVNV fnptr, GLuint id, GLsizei len, const GLubyte * name, GLdouble * params) { -// (*fnptr)(id, len, name, params); -// } -// static void glowGetProgramNamedParameterfvNV(GPGETPROGRAMNAMEDPARAMETERFVNV fnptr, GLuint id, GLsizei len, const GLubyte * name, GLfloat * params) { -// (*fnptr)(id, len, name, params); -// } -// static void glowGetProgramParameterdvNV(GPGETPROGRAMPARAMETERDVNV fnptr, GLenum target, GLuint index, GLenum pname, GLdouble * params) { -// (*fnptr)(target, index, pname, params); -// } -// static void glowGetProgramParameterfvNV(GPGETPROGRAMPARAMETERFVNV fnptr, GLenum target, GLuint index, GLenum pname, GLfloat * params) { -// (*fnptr)(target, index, pname, params); -// } -// static void glowGetProgramPipelineInfoLog(GPGETPROGRAMPIPELINEINFOLOG fnptr, GLuint pipeline, GLsizei bufSize, GLsizei * length, GLchar * infoLog) { -// (*fnptr)(pipeline, bufSize, length, infoLog); -// } -// static void glowGetProgramPipelineInfoLogEXT(GPGETPROGRAMPIPELINEINFOLOGEXT fnptr, GLuint pipeline, GLsizei bufSize, GLsizei * length, GLchar * infoLog) { -// (*fnptr)(pipeline, bufSize, length, infoLog); -// } -// static void glowGetProgramPipelineiv(GPGETPROGRAMPIPELINEIV fnptr, GLuint pipeline, GLenum pname, GLint * params) { -// (*fnptr)(pipeline, pname, params); -// } -// static void glowGetProgramPipelineivEXT(GPGETPROGRAMPIPELINEIVEXT fnptr, GLuint pipeline, GLenum pname, GLint * params) { -// (*fnptr)(pipeline, pname, params); -// } -// static GLuint glowGetProgramResourceIndex(GPGETPROGRAMRESOURCEINDEX fnptr, GLuint program, GLenum programInterface, const GLchar * name) { -// return (*fnptr)(program, programInterface, name); -// } -// static GLint glowGetProgramResourceLocation(GPGETPROGRAMRESOURCELOCATION fnptr, GLuint program, GLenum programInterface, const GLchar * name) { -// return (*fnptr)(program, programInterface, name); -// } -// static GLint glowGetProgramResourceLocationIndex(GPGETPROGRAMRESOURCELOCATIONINDEX fnptr, GLuint program, GLenum programInterface, const GLchar * name) { -// return (*fnptr)(program, programInterface, name); -// } -// static void glowGetProgramResourceName(GPGETPROGRAMRESOURCENAME fnptr, GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei * length, GLchar * name) { -// (*fnptr)(program, programInterface, index, bufSize, length, name); -// } -// static void glowGetProgramResourcefvNV(GPGETPROGRAMRESOURCEFVNV fnptr, GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum * props, GLsizei bufSize, GLsizei * length, GLfloat * params) { -// (*fnptr)(program, programInterface, index, propCount, props, bufSize, length, params); -// } -// static void glowGetProgramResourceiv(GPGETPROGRAMRESOURCEIV fnptr, GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum * props, GLsizei bufSize, GLsizei * length, GLint * params) { -// (*fnptr)(program, programInterface, index, propCount, props, bufSize, length, params); -// } -// static void glowGetProgramStageiv(GPGETPROGRAMSTAGEIV fnptr, GLuint program, GLenum shadertype, GLenum pname, GLint * values) { -// (*fnptr)(program, shadertype, pname, values); -// } -// static void glowGetProgramStringARB(GPGETPROGRAMSTRINGARB fnptr, GLenum target, GLenum pname, void * string) { -// (*fnptr)(target, pname, string); -// } -// static void glowGetProgramStringNV(GPGETPROGRAMSTRINGNV fnptr, GLuint id, GLenum pname, GLubyte * program) { -// (*fnptr)(id, pname, program); -// } -// static void glowGetProgramSubroutineParameteruivNV(GPGETPROGRAMSUBROUTINEPARAMETERUIVNV fnptr, GLenum target, GLuint index, GLuint * param) { -// (*fnptr)(target, index, param); -// } // static void glowGetProgramiv(GPGETPROGRAMIV fnptr, GLuint program, GLenum pname, GLint * params) { // (*fnptr)(program, pname, params); // } -// static void glowGetProgramivARB(GPGETPROGRAMIVARB fnptr, GLenum target, GLenum pname, GLint * params) { -// (*fnptr)(target, pname, params); -// } -// static void glowGetProgramivNV(GPGETPROGRAMIVNV fnptr, GLuint id, GLenum pname, GLint * params) { -// (*fnptr)(id, pname, params); -// } -// static void glowGetQueryBufferObjecti64v(GPGETQUERYBUFFEROBJECTI64V fnptr, GLuint id, GLuint buffer, GLenum pname, GLintptr offset) { -// (*fnptr)(id, buffer, pname, offset); -// } -// static void glowGetQueryBufferObjectiv(GPGETQUERYBUFFEROBJECTIV fnptr, GLuint id, GLuint buffer, GLenum pname, GLintptr offset) { -// (*fnptr)(id, buffer, pname, offset); -// } -// static void glowGetQueryBufferObjectui64v(GPGETQUERYBUFFEROBJECTUI64V fnptr, GLuint id, GLuint buffer, GLenum pname, GLintptr offset) { -// (*fnptr)(id, buffer, pname, offset); -// } -// static void glowGetQueryBufferObjectuiv(GPGETQUERYBUFFEROBJECTUIV fnptr, GLuint id, GLuint buffer, GLenum pname, GLintptr offset) { -// (*fnptr)(id, buffer, pname, offset); -// } -// static void glowGetQueryIndexediv(GPGETQUERYINDEXEDIV fnptr, GLenum target, GLuint index, GLenum pname, GLint * params) { -// (*fnptr)(target, index, pname, params); -// } -// static void glowGetQueryObjecti64v(GPGETQUERYOBJECTI64V fnptr, GLuint id, GLenum pname, GLint64 * params) { -// (*fnptr)(id, pname, params); -// } -// static void glowGetQueryObjecti64vEXT(GPGETQUERYOBJECTI64VEXT fnptr, GLuint id, GLenum pname, GLint64 * params) { -// (*fnptr)(id, pname, params); -// } -// static void glowGetQueryObjectiv(GPGETQUERYOBJECTIV fnptr, GLuint id, GLenum pname, GLint * params) { -// (*fnptr)(id, pname, params); -// } -// static void glowGetQueryObjectivARB(GPGETQUERYOBJECTIVARB fnptr, GLuint id, GLenum pname, GLint * params) { -// (*fnptr)(id, pname, params); -// } -// static void glowGetQueryObjectui64v(GPGETQUERYOBJECTUI64V fnptr, GLuint id, GLenum pname, GLuint64 * params) { -// (*fnptr)(id, pname, params); -// } -// static void glowGetQueryObjectui64vEXT(GPGETQUERYOBJECTUI64VEXT fnptr, GLuint id, GLenum pname, GLuint64 * params) { -// (*fnptr)(id, pname, params); -// } -// static void glowGetQueryObjectuiv(GPGETQUERYOBJECTUIV fnptr, GLuint id, GLenum pname, GLuint * params) { -// (*fnptr)(id, pname, params); -// } -// static void glowGetQueryObjectuivARB(GPGETQUERYOBJECTUIVARB fnptr, GLuint id, GLenum pname, GLuint * params) { -// (*fnptr)(id, pname, params); -// } -// static void glowGetQueryiv(GPGETQUERYIV fnptr, GLenum target, GLenum pname, GLint * params) { -// (*fnptr)(target, pname, params); -// } -// static void glowGetQueryivARB(GPGETQUERYIVARB fnptr, GLenum target, GLenum pname, GLint * params) { -// (*fnptr)(target, pname, params); -// } -// static void glowGetRenderbufferParameteriv(GPGETRENDERBUFFERPARAMETERIV fnptr, GLenum target, GLenum pname, GLint * params) { -// (*fnptr)(target, pname, params); -// } -// static void glowGetRenderbufferParameterivEXT(GPGETRENDERBUFFERPARAMETERIVEXT fnptr, GLenum target, GLenum pname, GLint * params) { -// (*fnptr)(target, pname, params); -// } -// static void glowGetSamplerParameterIiv(GPGETSAMPLERPARAMETERIIV fnptr, GLuint sampler, GLenum pname, GLint * params) { -// (*fnptr)(sampler, pname, params); -// } -// static void glowGetSamplerParameterIuiv(GPGETSAMPLERPARAMETERIUIV fnptr, GLuint sampler, GLenum pname, GLuint * params) { -// (*fnptr)(sampler, pname, params); -// } -// static void glowGetSamplerParameterfv(GPGETSAMPLERPARAMETERFV fnptr, GLuint sampler, GLenum pname, GLfloat * params) { -// (*fnptr)(sampler, pname, params); -// } -// static void glowGetSamplerParameteriv(GPGETSAMPLERPARAMETERIV fnptr, GLuint sampler, GLenum pname, GLint * params) { -// (*fnptr)(sampler, pname, params); -// } -// static void glowGetSemaphoreParameterui64vEXT(GPGETSEMAPHOREPARAMETERUI64VEXT fnptr, GLuint semaphore, GLenum pname, GLuint64 * params) { -// (*fnptr)(semaphore, pname, params); -// } -// static void glowGetSeparableFilterEXT(GPGETSEPARABLEFILTEREXT fnptr, GLenum target, GLenum format, GLenum type, void * row, void * column, void * span) { -// (*fnptr)(target, format, type, row, column, span); -// } // static void glowGetShaderInfoLog(GPGETSHADERINFOLOG fnptr, GLuint shader, GLsizei bufSize, GLsizei * length, GLchar * infoLog) { // (*fnptr)(shader, bufSize, length, infoLog); // } -// static void glowGetShaderPrecisionFormat(GPGETSHADERPRECISIONFORMAT fnptr, GLenum shadertype, GLenum precisiontype, GLint * range, GLint * precision) { -// (*fnptr)(shadertype, precisiontype, range, precision); -// } -// static void glowGetShaderSource(GPGETSHADERSOURCE fnptr, GLuint shader, GLsizei bufSize, GLsizei * length, GLchar * source) { -// (*fnptr)(shader, bufSize, length, source); -// } -// static void glowGetShaderSourceARB(GPGETSHADERSOURCEARB fnptr, GLhandleARB obj, GLsizei maxLength, GLsizei * length, GLcharARB * source) { -// (*fnptr)(obj, maxLength, length, source); -// } // static void glowGetShaderiv(GPGETSHADERIV fnptr, GLuint shader, GLenum pname, GLint * params) { // (*fnptr)(shader, pname, params); // } -// static void glowGetSharpenTexFuncSGIS(GPGETSHARPENTEXFUNCSGIS fnptr, GLenum target, GLfloat * points) { -// (*fnptr)(target, points); -// } -// static GLushort glowGetStageIndexNV(GPGETSTAGEINDEXNV fnptr, GLenum shadertype) { -// return (*fnptr)(shadertype); -// } -// static const GLubyte * glowGetString(GPGETSTRING fnptr, GLenum name) { -// return (*fnptr)(name); -// } -// static GLuint glowGetSubroutineIndex(GPGETSUBROUTINEINDEX fnptr, GLuint program, GLenum shadertype, const GLchar * name) { -// return (*fnptr)(program, shadertype, name); -// } -// static GLint glowGetSubroutineUniformLocation(GPGETSUBROUTINEUNIFORMLOCATION fnptr, GLuint program, GLenum shadertype, const GLchar * name) { -// return (*fnptr)(program, shadertype, name); -// } -// static void glowGetSynciv(GPGETSYNCIV fnptr, GLsync sync, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * values) { -// (*fnptr)(sync, pname, bufSize, length, values); -// } -// static void glowGetTexBumpParameterfvATI(GPGETTEXBUMPPARAMETERFVATI fnptr, GLenum pname, GLfloat * param) { -// (*fnptr)(pname, param); -// } -// static void glowGetTexBumpParameterivATI(GPGETTEXBUMPPARAMETERIVATI fnptr, GLenum pname, GLint * param) { -// (*fnptr)(pname, param); -// } -// static void glowGetTexEnvfv(GPGETTEXENVFV fnptr, GLenum target, GLenum pname, GLfloat * params) { -// (*fnptr)(target, pname, params); -// } -// static void glowGetTexEnviv(GPGETTEXENVIV fnptr, GLenum target, GLenum pname, GLint * params) { -// (*fnptr)(target, pname, params); -// } -// static void glowGetTexEnvxvOES(GPGETTEXENVXVOES fnptr, GLenum target, GLenum pname, GLfixed * params) { -// (*fnptr)(target, pname, params); -// } -// static void glowGetTexFilterFuncSGIS(GPGETTEXFILTERFUNCSGIS fnptr, GLenum target, GLenum filter, GLfloat * weights) { -// (*fnptr)(target, filter, weights); -// } -// static void glowGetTexGendv(GPGETTEXGENDV fnptr, GLenum coord, GLenum pname, GLdouble * params) { -// (*fnptr)(coord, pname, params); -// } -// static void glowGetTexGenfv(GPGETTEXGENFV fnptr, GLenum coord, GLenum pname, GLfloat * params) { -// (*fnptr)(coord, pname, params); -// } -// static void glowGetTexGeniv(GPGETTEXGENIV fnptr, GLenum coord, GLenum pname, GLint * params) { -// (*fnptr)(coord, pname, params); -// } -// static void glowGetTexGenxvOES(GPGETTEXGENXVOES fnptr, GLenum coord, GLenum pname, GLfixed * params) { -// (*fnptr)(coord, pname, params); -// } -// static void glowGetTexImage(GPGETTEXIMAGE fnptr, GLenum target, GLint level, GLenum format, GLenum type, void * pixels) { -// (*fnptr)(target, level, format, type, pixels); -// } -// static void glowGetTexLevelParameterfv(GPGETTEXLEVELPARAMETERFV fnptr, GLenum target, GLint level, GLenum pname, GLfloat * params) { -// (*fnptr)(target, level, pname, params); -// } -// static void glowGetTexLevelParameteriv(GPGETTEXLEVELPARAMETERIV fnptr, GLenum target, GLint level, GLenum pname, GLint * params) { -// (*fnptr)(target, level, pname, params); -// } -// static void glowGetTexLevelParameterxvOES(GPGETTEXLEVELPARAMETERXVOES fnptr, GLenum target, GLint level, GLenum pname, GLfixed * params) { -// (*fnptr)(target, level, pname, params); -// } -// static void glowGetTexParameterIivEXT(GPGETTEXPARAMETERIIVEXT fnptr, GLenum target, GLenum pname, GLint * params) { -// (*fnptr)(target, pname, params); -// } -// static void glowGetTexParameterIuivEXT(GPGETTEXPARAMETERIUIVEXT fnptr, GLenum target, GLenum pname, GLuint * params) { -// (*fnptr)(target, pname, params); -// } -// static void glowGetTexParameterPointervAPPLE(GPGETTEXPARAMETERPOINTERVAPPLE fnptr, GLenum target, GLenum pname, void ** params) { -// (*fnptr)(target, pname, params); -// } -// static void glowGetTexParameterfv(GPGETTEXPARAMETERFV fnptr, GLenum target, GLenum pname, GLfloat * params) { -// (*fnptr)(target, pname, params); -// } -// static void glowGetTexParameteriv(GPGETTEXPARAMETERIV fnptr, GLenum target, GLenum pname, GLint * params) { -// (*fnptr)(target, pname, params); -// } -// static void glowGetTexParameterxvOES(GPGETTEXPARAMETERXVOES fnptr, GLenum target, GLenum pname, GLfixed * params) { -// (*fnptr)(target, pname, params); -// } -// static GLuint64 glowGetTextureHandleARB(GPGETTEXTUREHANDLEARB fnptr, GLuint texture) { -// return (*fnptr)(texture); -// } -// static GLuint64 glowGetTextureHandleNV(GPGETTEXTUREHANDLENV fnptr, GLuint texture) { -// return (*fnptr)(texture); -// } -// static void glowGetTextureImage(GPGETTEXTUREIMAGE fnptr, GLuint texture, GLint level, GLenum format, GLenum type, GLsizei bufSize, void * pixels) { -// (*fnptr)(texture, level, format, type, bufSize, pixels); -// } -// static void glowGetTextureImageEXT(GPGETTEXTUREIMAGEEXT fnptr, GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, void * pixels) { -// (*fnptr)(texture, target, level, format, type, pixels); -// } -// static void glowGetTextureLevelParameterfv(GPGETTEXTURELEVELPARAMETERFV fnptr, GLuint texture, GLint level, GLenum pname, GLfloat * params) { -// (*fnptr)(texture, level, pname, params); -// } -// static void glowGetTextureLevelParameterfvEXT(GPGETTEXTURELEVELPARAMETERFVEXT fnptr, GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat * params) { -// (*fnptr)(texture, target, level, pname, params); -// } -// static void glowGetTextureLevelParameteriv(GPGETTEXTURELEVELPARAMETERIV fnptr, GLuint texture, GLint level, GLenum pname, GLint * params) { -// (*fnptr)(texture, level, pname, params); -// } -// static void glowGetTextureLevelParameterivEXT(GPGETTEXTURELEVELPARAMETERIVEXT fnptr, GLuint texture, GLenum target, GLint level, GLenum pname, GLint * params) { -// (*fnptr)(texture, target, level, pname, params); -// } -// static void glowGetTextureParameterIiv(GPGETTEXTUREPARAMETERIIV fnptr, GLuint texture, GLenum pname, GLint * params) { -// (*fnptr)(texture, pname, params); -// } -// static void glowGetTextureParameterIivEXT(GPGETTEXTUREPARAMETERIIVEXT fnptr, GLuint texture, GLenum target, GLenum pname, GLint * params) { -// (*fnptr)(texture, target, pname, params); -// } -// static void glowGetTextureParameterIuiv(GPGETTEXTUREPARAMETERIUIV fnptr, GLuint texture, GLenum pname, GLuint * params) { -// (*fnptr)(texture, pname, params); -// } -// static void glowGetTextureParameterIuivEXT(GPGETTEXTUREPARAMETERIUIVEXT fnptr, GLuint texture, GLenum target, GLenum pname, GLuint * params) { -// (*fnptr)(texture, target, pname, params); -// } -// static void glowGetTextureParameterfv(GPGETTEXTUREPARAMETERFV fnptr, GLuint texture, GLenum pname, GLfloat * params) { -// (*fnptr)(texture, pname, params); -// } -// static void glowGetTextureParameterfvEXT(GPGETTEXTUREPARAMETERFVEXT fnptr, GLuint texture, GLenum target, GLenum pname, GLfloat * params) { -// (*fnptr)(texture, target, pname, params); -// } -// static void glowGetTextureParameteriv(GPGETTEXTUREPARAMETERIV fnptr, GLuint texture, GLenum pname, GLint * params) { -// (*fnptr)(texture, pname, params); -// } -// static void glowGetTextureParameterivEXT(GPGETTEXTUREPARAMETERIVEXT fnptr, GLuint texture, GLenum target, GLenum pname, GLint * params) { -// (*fnptr)(texture, target, pname, params); -// } -// static GLuint64 glowGetTextureSamplerHandleARB(GPGETTEXTURESAMPLERHANDLEARB fnptr, GLuint texture, GLuint sampler) { -// return (*fnptr)(texture, sampler); -// } -// static GLuint64 glowGetTextureSamplerHandleNV(GPGETTEXTURESAMPLERHANDLENV fnptr, GLuint texture, GLuint sampler) { -// return (*fnptr)(texture, sampler); -// } -// static void glowGetTextureSubImage(GPGETTEXTURESUBIMAGE fnptr, GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei bufSize, void * pixels) { -// (*fnptr)(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, type, bufSize, pixels); -// } -// static void glowGetTrackMatrixivNV(GPGETTRACKMATRIXIVNV fnptr, GLenum target, GLuint address, GLenum pname, GLint * params) { -// (*fnptr)(target, address, pname, params); -// } -// static void glowGetTransformFeedbackVaryingEXT(GPGETTRANSFORMFEEDBACKVARYINGEXT fnptr, GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLsizei * size, GLenum * type, GLchar * name) { -// (*fnptr)(program, index, bufSize, length, size, type, name); -// } -// static void glowGetTransformFeedbackVaryingNV(GPGETTRANSFORMFEEDBACKVARYINGNV fnptr, GLuint program, GLuint index, GLint * location) { -// (*fnptr)(program, index, location); -// } // static void glowGetTransformFeedbacki64_v(GPGETTRANSFORMFEEDBACKI64_V fnptr, GLuint xfb, GLenum pname, GLuint index, GLint64 * param) { // (*fnptr)(xfb, pname, index, param); // } // static void glowGetTransformFeedbacki_v(GPGETTRANSFORMFEEDBACKI_V fnptr, GLuint xfb, GLenum pname, GLuint index, GLint * param) { // (*fnptr)(xfb, pname, index, param); // } -// static void glowGetTransformFeedbackiv(GPGETTRANSFORMFEEDBACKIV fnptr, GLuint xfb, GLenum pname, GLint * param) { -// (*fnptr)(xfb, pname, param); -// } -// static GLuint glowGetUniformBlockIndex(GPGETUNIFORMBLOCKINDEX fnptr, GLuint program, const GLchar * uniformBlockName) { -// return (*fnptr)(program, uniformBlockName); -// } -// static GLint glowGetUniformBufferSizeEXT(GPGETUNIFORMBUFFERSIZEEXT fnptr, GLuint program, GLint location) { -// return (*fnptr)(program, location); -// } -// static void glowGetUniformIndices(GPGETUNIFORMINDICES fnptr, GLuint program, GLsizei uniformCount, const GLchar *const* uniformNames, GLuint * uniformIndices) { -// (*fnptr)(program, uniformCount, uniformNames, uniformIndices); -// } // static GLint glowGetUniformLocation(GPGETUNIFORMLOCATION fnptr, GLuint program, const GLchar * name) { // return (*fnptr)(program, name); // } -// static GLint glowGetUniformLocationARB(GPGETUNIFORMLOCATIONARB fnptr, GLhandleARB programObj, const GLcharARB * name) { -// return (*fnptr)(programObj, name); -// } -// static GLintptr glowGetUniformOffsetEXT(GPGETUNIFORMOFFSETEXT fnptr, GLuint program, GLint location) { -// return (*fnptr)(program, location); -// } -// static void glowGetUniformSubroutineuiv(GPGETUNIFORMSUBROUTINEUIV fnptr, GLenum shadertype, GLint location, GLuint * params) { -// (*fnptr)(shadertype, location, params); -// } -// static void glowGetUniformdv(GPGETUNIFORMDV fnptr, GLuint program, GLint location, GLdouble * params) { -// (*fnptr)(program, location, params); -// } -// static void glowGetUniformfv(GPGETUNIFORMFV fnptr, GLuint program, GLint location, GLfloat * params) { -// (*fnptr)(program, location, params); -// } -// static void glowGetUniformfvARB(GPGETUNIFORMFVARB fnptr, GLhandleARB programObj, GLint location, GLfloat * params) { -// (*fnptr)(programObj, location, params); -// } -// static void glowGetUniformi64vARB(GPGETUNIFORMI64VARB fnptr, GLuint program, GLint location, GLint64 * params) { -// (*fnptr)(program, location, params); -// } -// static void glowGetUniformi64vNV(GPGETUNIFORMI64VNV fnptr, GLuint program, GLint location, GLint64EXT * params) { -// (*fnptr)(program, location, params); -// } -// static void glowGetUniformiv(GPGETUNIFORMIV fnptr, GLuint program, GLint location, GLint * params) { -// (*fnptr)(program, location, params); -// } -// static void glowGetUniformivARB(GPGETUNIFORMIVARB fnptr, GLhandleARB programObj, GLint location, GLint * params) { -// (*fnptr)(programObj, location, params); -// } -// static void glowGetUniformui64vARB(GPGETUNIFORMUI64VARB fnptr, GLuint program, GLint location, GLuint64 * params) { -// (*fnptr)(program, location, params); -// } -// static void glowGetUniformui64vNV(GPGETUNIFORMUI64VNV fnptr, GLuint program, GLint location, GLuint64EXT * params) { -// (*fnptr)(program, location, params); -// } -// static void glowGetUniformuivEXT(GPGETUNIFORMUIVEXT fnptr, GLuint program, GLint location, GLuint * params) { -// (*fnptr)(program, location, params); -// } // static void glowGetUnsignedBytei_vEXT(GPGETUNSIGNEDBYTEI_VEXT fnptr, GLenum target, GLuint index, GLubyte * data) { // (*fnptr)(target, index, data); // } -// static void glowGetUnsignedBytevEXT(GPGETUNSIGNEDBYTEVEXT fnptr, GLenum pname, GLubyte * data) { -// (*fnptr)(pname, data); -// } -// static void glowGetVariantArrayObjectfvATI(GPGETVARIANTARRAYOBJECTFVATI fnptr, GLuint id, GLenum pname, GLfloat * params) { -// (*fnptr)(id, pname, params); -// } -// static void glowGetVariantArrayObjectivATI(GPGETVARIANTARRAYOBJECTIVATI fnptr, GLuint id, GLenum pname, GLint * params) { -// (*fnptr)(id, pname, params); -// } -// static void glowGetVariantBooleanvEXT(GPGETVARIANTBOOLEANVEXT fnptr, GLuint id, GLenum value, GLboolean * data) { -// (*fnptr)(id, value, data); -// } -// static void glowGetVariantFloatvEXT(GPGETVARIANTFLOATVEXT fnptr, GLuint id, GLenum value, GLfloat * data) { -// (*fnptr)(id, value, data); -// } -// static void glowGetVariantIntegervEXT(GPGETVARIANTINTEGERVEXT fnptr, GLuint id, GLenum value, GLint * data) { -// (*fnptr)(id, value, data); -// } -// static void glowGetVariantPointervEXT(GPGETVARIANTPOINTERVEXT fnptr, GLuint id, GLenum value, void ** data) { -// (*fnptr)(id, value, data); -// } -// static GLint glowGetVaryingLocationNV(GPGETVARYINGLOCATIONNV fnptr, GLuint program, const GLchar * name) { -// return (*fnptr)(program, name); -// } -// static void glowGetVertexArrayIndexed64iv(GPGETVERTEXARRAYINDEXED64IV fnptr, GLuint vaobj, GLuint index, GLenum pname, GLint64 * param) { -// (*fnptr)(vaobj, index, pname, param); -// } -// static void glowGetVertexArrayIndexediv(GPGETVERTEXARRAYINDEXEDIV fnptr, GLuint vaobj, GLuint index, GLenum pname, GLint * param) { -// (*fnptr)(vaobj, index, pname, param); -// } // static void glowGetVertexArrayIntegeri_vEXT(GPGETVERTEXARRAYINTEGERI_VEXT fnptr, GLuint vaobj, GLuint index, GLenum pname, GLint * param) { // (*fnptr)(vaobj, index, pname, param); // } -// static void glowGetVertexArrayIntegervEXT(GPGETVERTEXARRAYINTEGERVEXT fnptr, GLuint vaobj, GLenum pname, GLint * param) { -// (*fnptr)(vaobj, pname, param); -// } // static void glowGetVertexArrayPointeri_vEXT(GPGETVERTEXARRAYPOINTERI_VEXT fnptr, GLuint vaobj, GLuint index, GLenum pname, void ** param) { // (*fnptr)(vaobj, index, pname, param); // } -// static void glowGetVertexArrayPointervEXT(GPGETVERTEXARRAYPOINTERVEXT fnptr, GLuint vaobj, GLenum pname, void ** param) { -// (*fnptr)(vaobj, pname, param); -// } -// static void glowGetVertexArrayiv(GPGETVERTEXARRAYIV fnptr, GLuint vaobj, GLenum pname, GLint * param) { -// (*fnptr)(vaobj, pname, param); -// } -// static void glowGetVertexAttribArrayObjectfvATI(GPGETVERTEXATTRIBARRAYOBJECTFVATI fnptr, GLuint index, GLenum pname, GLfloat * params) { -// (*fnptr)(index, pname, params); -// } -// static void glowGetVertexAttribArrayObjectivATI(GPGETVERTEXATTRIBARRAYOBJECTIVATI fnptr, GLuint index, GLenum pname, GLint * params) { -// (*fnptr)(index, pname, params); -// } -// static void glowGetVertexAttribIivEXT(GPGETVERTEXATTRIBIIVEXT fnptr, GLuint index, GLenum pname, GLint * params) { -// (*fnptr)(index, pname, params); -// } -// static void glowGetVertexAttribIuivEXT(GPGETVERTEXATTRIBIUIVEXT fnptr, GLuint index, GLenum pname, GLuint * params) { -// (*fnptr)(index, pname, params); -// } -// static void glowGetVertexAttribLdv(GPGETVERTEXATTRIBLDV fnptr, GLuint index, GLenum pname, GLdouble * params) { -// (*fnptr)(index, pname, params); -// } -// static void glowGetVertexAttribLdvEXT(GPGETVERTEXATTRIBLDVEXT fnptr, GLuint index, GLenum pname, GLdouble * params) { -// (*fnptr)(index, pname, params); -// } -// static void glowGetVertexAttribLi64vNV(GPGETVERTEXATTRIBLI64VNV fnptr, GLuint index, GLenum pname, GLint64EXT * params) { -// (*fnptr)(index, pname, params); -// } -// static void glowGetVertexAttribLui64vARB(GPGETVERTEXATTRIBLUI64VARB fnptr, GLuint index, GLenum pname, GLuint64EXT * params) { -// (*fnptr)(index, pname, params); -// } -// static void glowGetVertexAttribLui64vNV(GPGETVERTEXATTRIBLUI64VNV fnptr, GLuint index, GLenum pname, GLuint64EXT * params) { -// (*fnptr)(index, pname, params); -// } -// static void glowGetVertexAttribPointerv(GPGETVERTEXATTRIBPOINTERV fnptr, GLuint index, GLenum pname, void ** pointer) { -// (*fnptr)(index, pname, pointer); -// } -// static void glowGetVertexAttribPointervARB(GPGETVERTEXATTRIBPOINTERVARB fnptr, GLuint index, GLenum pname, void ** pointer) { -// (*fnptr)(index, pname, pointer); -// } -// static void glowGetVertexAttribPointervNV(GPGETVERTEXATTRIBPOINTERVNV fnptr, GLuint index, GLenum pname, void ** pointer) { -// (*fnptr)(index, pname, pointer); -// } -// static void glowGetVertexAttribdv(GPGETVERTEXATTRIBDV fnptr, GLuint index, GLenum pname, GLdouble * params) { -// (*fnptr)(index, pname, params); -// } -// static void glowGetVertexAttribdvARB(GPGETVERTEXATTRIBDVARB fnptr, GLuint index, GLenum pname, GLdouble * params) { -// (*fnptr)(index, pname, params); -// } -// static void glowGetVertexAttribdvNV(GPGETVERTEXATTRIBDVNV fnptr, GLuint index, GLenum pname, GLdouble * params) { -// (*fnptr)(index, pname, params); -// } -// static void glowGetVertexAttribfv(GPGETVERTEXATTRIBFV fnptr, GLuint index, GLenum pname, GLfloat * params) { -// (*fnptr)(index, pname, params); -// } -// static void glowGetVertexAttribfvARB(GPGETVERTEXATTRIBFVARB fnptr, GLuint index, GLenum pname, GLfloat * params) { -// (*fnptr)(index, pname, params); -// } -// static void glowGetVertexAttribfvNV(GPGETVERTEXATTRIBFVNV fnptr, GLuint index, GLenum pname, GLfloat * params) { -// (*fnptr)(index, pname, params); -// } -// static void glowGetVertexAttribiv(GPGETVERTEXATTRIBIV fnptr, GLuint index, GLenum pname, GLint * params) { -// (*fnptr)(index, pname, params); -// } -// static void glowGetVertexAttribivARB(GPGETVERTEXATTRIBIVARB fnptr, GLuint index, GLenum pname, GLint * params) { -// (*fnptr)(index, pname, params); -// } -// static void glowGetVertexAttribivNV(GPGETVERTEXATTRIBIVNV fnptr, GLuint index, GLenum pname, GLint * params) { -// (*fnptr)(index, pname, params); -// } -// static void glowGetVideoCaptureStreamdvNV(GPGETVIDEOCAPTURESTREAMDVNV fnptr, GLuint video_capture_slot, GLuint stream, GLenum pname, GLdouble * params) { -// (*fnptr)(video_capture_slot, stream, pname, params); -// } -// static void glowGetVideoCaptureStreamfvNV(GPGETVIDEOCAPTURESTREAMFVNV fnptr, GLuint video_capture_slot, GLuint stream, GLenum pname, GLfloat * params) { -// (*fnptr)(video_capture_slot, stream, pname, params); -// } -// static void glowGetVideoCaptureStreamivNV(GPGETVIDEOCAPTURESTREAMIVNV fnptr, GLuint video_capture_slot, GLuint stream, GLenum pname, GLint * params) { -// (*fnptr)(video_capture_slot, stream, pname, params); -// } -// static void glowGetVideoCaptureivNV(GPGETVIDEOCAPTUREIVNV fnptr, GLuint video_capture_slot, GLenum pname, GLint * params) { -// (*fnptr)(video_capture_slot, pname, params); -// } -// static void glowGetVideoi64vNV(GPGETVIDEOI64VNV fnptr, GLuint video_slot, GLenum pname, GLint64EXT * params) { -// (*fnptr)(video_slot, pname, params); -// } -// static void glowGetVideoivNV(GPGETVIDEOIVNV fnptr, GLuint video_slot, GLenum pname, GLint * params) { -// (*fnptr)(video_slot, pname, params); -// } -// static void glowGetVideoui64vNV(GPGETVIDEOUI64VNV fnptr, GLuint video_slot, GLenum pname, GLuint64EXT * params) { -// (*fnptr)(video_slot, pname, params); -// } -// static void glowGetVideouivNV(GPGETVIDEOUIVNV fnptr, GLuint video_slot, GLenum pname, GLuint * params) { -// (*fnptr)(video_slot, pname, params); -// } -// static GLVULKANPROCNV glowGetVkProcAddrNV(GPGETVKPROCADDRNV fnptr, const GLchar * name) { -// return (*fnptr)(name); -// } -// static void glowGetnCompressedTexImageARB(GPGETNCOMPRESSEDTEXIMAGEARB fnptr, GLenum target, GLint lod, GLsizei bufSize, void * img) { -// (*fnptr)(target, lod, bufSize, img); -// } -// static void glowGetnTexImageARB(GPGETNTEXIMAGEARB fnptr, GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void * img) { -// (*fnptr)(target, level, format, type, bufSize, img); -// } -// static void glowGetnUniformdvARB(GPGETNUNIFORMDVARB fnptr, GLuint program, GLint location, GLsizei bufSize, GLdouble * params) { -// (*fnptr)(program, location, bufSize, params); -// } -// static void glowGetnUniformfv(GPGETNUNIFORMFV fnptr, GLuint program, GLint location, GLsizei bufSize, GLfloat * params) { -// (*fnptr)(program, location, bufSize, params); -// } -// static void glowGetnUniformfvARB(GPGETNUNIFORMFVARB fnptr, GLuint program, GLint location, GLsizei bufSize, GLfloat * params) { -// (*fnptr)(program, location, bufSize, params); -// } -// static void glowGetnUniformfvKHR(GPGETNUNIFORMFVKHR fnptr, GLuint program, GLint location, GLsizei bufSize, GLfloat * params) { -// (*fnptr)(program, location, bufSize, params); -// } -// static void glowGetnUniformi64vARB(GPGETNUNIFORMI64VARB fnptr, GLuint program, GLint location, GLsizei bufSize, GLint64 * params) { -// (*fnptr)(program, location, bufSize, params); -// } -// static void glowGetnUniformiv(GPGETNUNIFORMIV fnptr, GLuint program, GLint location, GLsizei bufSize, GLint * params) { -// (*fnptr)(program, location, bufSize, params); -// } -// static void glowGetnUniformivARB(GPGETNUNIFORMIVARB fnptr, GLuint program, GLint location, GLsizei bufSize, GLint * params) { -// (*fnptr)(program, location, bufSize, params); -// } -// static void glowGetnUniformivKHR(GPGETNUNIFORMIVKHR fnptr, GLuint program, GLint location, GLsizei bufSize, GLint * params) { -// (*fnptr)(program, location, bufSize, params); -// } -// static void glowGetnUniformui64vARB(GPGETNUNIFORMUI64VARB fnptr, GLuint program, GLint location, GLsizei bufSize, GLuint64 * params) { -// (*fnptr)(program, location, bufSize, params); -// } -// static void glowGetnUniformuiv(GPGETNUNIFORMUIV fnptr, GLuint program, GLint location, GLsizei bufSize, GLuint * params) { -// (*fnptr)(program, location, bufSize, params); -// } -// static void glowGetnUniformuivARB(GPGETNUNIFORMUIVARB fnptr, GLuint program, GLint location, GLsizei bufSize, GLuint * params) { -// (*fnptr)(program, location, bufSize, params); -// } -// static void glowGetnUniformuivKHR(GPGETNUNIFORMUIVKHR fnptr, GLuint program, GLint location, GLsizei bufSize, GLuint * params) { -// (*fnptr)(program, location, bufSize, params); -// } -// static void glowGlobalAlphaFactorbSUN(GPGLOBALALPHAFACTORBSUN fnptr, GLbyte factor) { -// (*fnptr)(factor); -// } -// static void glowGlobalAlphaFactordSUN(GPGLOBALALPHAFACTORDSUN fnptr, GLdouble factor) { -// (*fnptr)(factor); -// } -// static void glowGlobalAlphaFactorfSUN(GPGLOBALALPHAFACTORFSUN fnptr, GLfloat factor) { -// (*fnptr)(factor); -// } -// static void glowGlobalAlphaFactoriSUN(GPGLOBALALPHAFACTORISUN fnptr, GLint factor) { -// (*fnptr)(factor); -// } -// static void glowGlobalAlphaFactorsSUN(GPGLOBALALPHAFACTORSSUN fnptr, GLshort factor) { -// (*fnptr)(factor); -// } -// static void glowGlobalAlphaFactorubSUN(GPGLOBALALPHAFACTORUBSUN fnptr, GLubyte factor) { -// (*fnptr)(factor); -// } -// static void glowGlobalAlphaFactoruiSUN(GPGLOBALALPHAFACTORUISUN fnptr, GLuint factor) { -// (*fnptr)(factor); -// } -// static void glowGlobalAlphaFactorusSUN(GPGLOBALALPHAFACTORUSSUN fnptr, GLushort factor) { -// (*fnptr)(factor); -// } -// static void glowHint(GPHINT fnptr, GLenum target, GLenum mode) { -// (*fnptr)(target, mode); -// } -// static void glowHintPGI(GPHINTPGI fnptr, GLenum target, GLint mode) { -// (*fnptr)(target, mode); -// } -// static void glowHistogramEXT(GPHISTOGRAMEXT fnptr, GLenum target, GLsizei width, GLenum internalformat, GLboolean sink) { -// (*fnptr)(target, width, internalformat, sink); -// } -// static void glowIglooInterfaceSGIX(GPIGLOOINTERFACESGIX fnptr, GLenum pname, const void * params) { -// (*fnptr)(pname, params); -// } -// static void glowImageTransformParameterfHP(GPIMAGETRANSFORMPARAMETERFHP fnptr, GLenum target, GLenum pname, GLfloat param) { -// (*fnptr)(target, pname, param); -// } -// static void glowImageTransformParameterfvHP(GPIMAGETRANSFORMPARAMETERFVHP fnptr, GLenum target, GLenum pname, const GLfloat * params) { -// (*fnptr)(target, pname, params); -// } -// static void glowImageTransformParameteriHP(GPIMAGETRANSFORMPARAMETERIHP fnptr, GLenum target, GLenum pname, GLint param) { -// (*fnptr)(target, pname, param); -// } -// static void glowImageTransformParameterivHP(GPIMAGETRANSFORMPARAMETERIVHP fnptr, GLenum target, GLenum pname, const GLint * params) { -// (*fnptr)(target, pname, params); -// } -// static void glowImportMemoryFdEXT(GPIMPORTMEMORYFDEXT fnptr, GLuint memory, GLuint64 size, GLenum handleType, GLint fd) { -// (*fnptr)(memory, size, handleType, fd); -// } -// static void glowImportMemoryWin32HandleEXT(GPIMPORTMEMORYWIN32HANDLEEXT fnptr, GLuint memory, GLuint64 size, GLenum handleType, void * handle) { -// (*fnptr)(memory, size, handleType, handle); -// } -// static void glowImportMemoryWin32NameEXT(GPIMPORTMEMORYWIN32NAMEEXT fnptr, GLuint memory, GLuint64 size, GLenum handleType, const void * name) { -// (*fnptr)(memory, size, handleType, name); -// } -// static void glowImportSemaphoreFdEXT(GPIMPORTSEMAPHOREFDEXT fnptr, GLuint semaphore, GLenum handleType, GLint fd) { -// (*fnptr)(semaphore, handleType, fd); -// } -// static void glowImportSemaphoreWin32HandleEXT(GPIMPORTSEMAPHOREWIN32HANDLEEXT fnptr, GLuint semaphore, GLenum handleType, void * handle) { -// (*fnptr)(semaphore, handleType, handle); -// } -// static void glowImportSemaphoreWin32NameEXT(GPIMPORTSEMAPHOREWIN32NAMEEXT fnptr, GLuint semaphore, GLenum handleType, const void * name) { -// (*fnptr)(semaphore, handleType, name); -// } -// static GLsync glowImportSyncEXT(GPIMPORTSYNCEXT fnptr, GLenum external_sync_type, GLintptr external_sync, GLbitfield flags) { -// return (*fnptr)(external_sync_type, external_sync, flags); -// } -// static void glowIndexFormatNV(GPINDEXFORMATNV fnptr, GLenum type, GLsizei stride) { -// (*fnptr)(type, stride); -// } -// static void glowIndexFuncEXT(GPINDEXFUNCEXT fnptr, GLenum func, GLclampf ref) { -// (*fnptr)(func, ref); -// } -// static void glowIndexMask(GPINDEXMASK fnptr, GLuint mask) { -// (*fnptr)(mask); -// } -// static void glowIndexMaterialEXT(GPINDEXMATERIALEXT fnptr, GLenum face, GLenum mode) { -// (*fnptr)(face, mode); -// } -// static void glowIndexPointer(GPINDEXPOINTER fnptr, GLenum type, GLsizei stride, const void * pointer) { -// (*fnptr)(type, stride, pointer); -// } -// static void glowIndexPointerEXT(GPINDEXPOINTEREXT fnptr, GLenum type, GLsizei stride, GLsizei count, const void * pointer) { -// (*fnptr)(type, stride, count, pointer); -// } -// static void glowIndexPointerListIBM(GPINDEXPOINTERLISTIBM fnptr, GLenum type, GLint stride, const void ** pointer, GLint ptrstride) { -// (*fnptr)(type, stride, pointer, ptrstride); -// } -// static void glowIndexd(GPINDEXD fnptr, GLdouble c) { -// (*fnptr)(c); -// } -// static void glowIndexdv(GPINDEXDV fnptr, const GLdouble * c) { -// (*fnptr)(c); -// } -// static void glowIndexf(GPINDEXF fnptr, GLfloat c) { -// (*fnptr)(c); -// } -// static void glowIndexfv(GPINDEXFV fnptr, const GLfloat * c) { -// (*fnptr)(c); -// } -// static void glowIndexi(GPINDEXI fnptr, GLint c) { -// (*fnptr)(c); -// } -// static void glowIndexiv(GPINDEXIV fnptr, const GLint * c) { -// (*fnptr)(c); -// } -// static void glowIndexs(GPINDEXS fnptr, GLshort c) { -// (*fnptr)(c); -// } -// static void glowIndexsv(GPINDEXSV fnptr, const GLshort * c) { -// (*fnptr)(c); -// } -// static void glowIndexub(GPINDEXUB fnptr, GLubyte c) { -// (*fnptr)(c); -// } -// static void glowIndexubv(GPINDEXUBV fnptr, const GLubyte * c) { -// (*fnptr)(c); -// } -// static void glowIndexxOES(GPINDEXXOES fnptr, GLfixed component) { -// (*fnptr)(component); -// } -// static void glowIndexxvOES(GPINDEXXVOES fnptr, const GLfixed * component) { -// (*fnptr)(component); -// } -// static void glowInitNames(GPINITNAMES fnptr) { -// (*fnptr)(); -// } -// static void glowInsertComponentEXT(GPINSERTCOMPONENTEXT fnptr, GLuint res, GLuint src, GLuint num) { -// (*fnptr)(res, src, num); -// } -// static void glowInsertEventMarkerEXT(GPINSERTEVENTMARKEREXT fnptr, GLsizei length, const GLchar * marker) { -// (*fnptr)(length, marker); -// } -// static void glowInstrumentsBufferSGIX(GPINSTRUMENTSBUFFERSGIX fnptr, GLsizei size, GLint * buffer) { -// (*fnptr)(size, buffer); -// } -// static void glowInterleavedArrays(GPINTERLEAVEDARRAYS fnptr, GLenum format, GLsizei stride, const void * pointer) { -// (*fnptr)(format, stride, pointer); -// } -// static void glowInterpolatePathsNV(GPINTERPOLATEPATHSNV fnptr, GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight) { -// (*fnptr)(resultPath, pathA, pathB, weight); -// } -// static void glowInvalidateBufferData(GPINVALIDATEBUFFERDATA fnptr, GLuint buffer) { -// (*fnptr)(buffer); -// } -// static void glowInvalidateBufferSubData(GPINVALIDATEBUFFERSUBDATA fnptr, GLuint buffer, GLintptr offset, GLsizeiptr length) { -// (*fnptr)(buffer, offset, length); -// } -// static void glowInvalidateFramebuffer(GPINVALIDATEFRAMEBUFFER fnptr, GLenum target, GLsizei numAttachments, const GLenum * attachments) { -// (*fnptr)(target, numAttachments, attachments); -// } -// static void glowInvalidateNamedFramebufferData(GPINVALIDATENAMEDFRAMEBUFFERDATA fnptr, GLuint framebuffer, GLsizei numAttachments, const GLenum * attachments) { -// (*fnptr)(framebuffer, numAttachments, attachments); -// } -// static void glowInvalidateNamedFramebufferSubData(GPINVALIDATENAMEDFRAMEBUFFERSUBDATA fnptr, GLuint framebuffer, GLsizei numAttachments, const GLenum * attachments, GLint x, GLint y, GLsizei width, GLsizei height) { -// (*fnptr)(framebuffer, numAttachments, attachments, x, y, width, height); -// } -// static void glowInvalidateSubFramebuffer(GPINVALIDATESUBFRAMEBUFFER fnptr, GLenum target, GLsizei numAttachments, const GLenum * attachments, GLint x, GLint y, GLsizei width, GLsizei height) { -// (*fnptr)(target, numAttachments, attachments, x, y, width, height); -// } -// static void glowInvalidateTexImage(GPINVALIDATETEXIMAGE fnptr, GLuint texture, GLint level) { -// (*fnptr)(texture, level); -// } -// static void glowInvalidateTexSubImage(GPINVALIDATETEXSUBIMAGE fnptr, GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth) { -// (*fnptr)(texture, level, xoffset, yoffset, zoffset, width, height, depth); -// } -// static GLboolean glowIsAsyncMarkerSGIX(GPISASYNCMARKERSGIX fnptr, GLuint marker) { -// return (*fnptr)(marker); -// } -// static GLboolean glowIsBuffer(GPISBUFFER fnptr, GLuint buffer) { -// return (*fnptr)(buffer); -// } -// static GLboolean glowIsBufferARB(GPISBUFFERARB fnptr, GLuint buffer) { -// return (*fnptr)(buffer); -// } -// static GLboolean glowIsBufferResidentNV(GPISBUFFERRESIDENTNV fnptr, GLenum target) { -// return (*fnptr)(target); -// } -// static GLboolean glowIsCommandListNV(GPISCOMMANDLISTNV fnptr, GLuint list) { -// return (*fnptr)(list); -// } -// static GLboolean glowIsEnabled(GPISENABLED fnptr, GLenum cap) { -// return (*fnptr)(cap); -// } -// static GLboolean glowIsEnabledIndexedEXT(GPISENABLEDINDEXEDEXT fnptr, GLenum target, GLuint index) { -// return (*fnptr)(target, index); -// } -// static GLboolean glowIsFenceAPPLE(GPISFENCEAPPLE fnptr, GLuint fence) { -// return (*fnptr)(fence); -// } -// static GLboolean glowIsFenceNV(GPISFENCENV fnptr, GLuint fence) { -// return (*fnptr)(fence); -// } -// static GLboolean glowIsFramebuffer(GPISFRAMEBUFFER fnptr, GLuint framebuffer) { -// return (*fnptr)(framebuffer); -// } // static GLboolean glowIsFramebufferEXT(GPISFRAMEBUFFEREXT fnptr, GLuint framebuffer) { // return (*fnptr)(framebuffer); // } -// static GLboolean glowIsImageHandleResidentARB(GPISIMAGEHANDLERESIDENTARB fnptr, GLuint64 handle) { -// return (*fnptr)(handle); -// } -// static GLboolean glowIsImageHandleResidentNV(GPISIMAGEHANDLERESIDENTNV fnptr, GLuint64 handle) { -// return (*fnptr)(handle); -// } -// static GLboolean glowIsList(GPISLIST fnptr, GLuint list) { -// return (*fnptr)(list); -// } -// static GLboolean glowIsMemoryObjectEXT(GPISMEMORYOBJECTEXT fnptr, GLuint memoryObject) { -// return (*fnptr)(memoryObject); -// } -// static GLboolean glowIsNameAMD(GPISNAMEAMD fnptr, GLenum identifier, GLuint name) { -// return (*fnptr)(identifier, name); -// } -// static GLboolean glowIsNamedBufferResidentNV(GPISNAMEDBUFFERRESIDENTNV fnptr, GLuint buffer) { -// return (*fnptr)(buffer); -// } -// static GLboolean glowIsNamedStringARB(GPISNAMEDSTRINGARB fnptr, GLint namelen, const GLchar * name) { -// return (*fnptr)(namelen, name); -// } -// static GLboolean glowIsObjectBufferATI(GPISOBJECTBUFFERATI fnptr, GLuint buffer) { -// return (*fnptr)(buffer); -// } -// static GLboolean glowIsOcclusionQueryNV(GPISOCCLUSIONQUERYNV fnptr, GLuint id) { -// return (*fnptr)(id); -// } -// static GLboolean glowIsPathNV(GPISPATHNV fnptr, GLuint path) { -// return (*fnptr)(path); -// } -// static GLboolean glowIsPointInFillPathNV(GPISPOINTINFILLPATHNV fnptr, GLuint path, GLuint mask, GLfloat x, GLfloat y) { -// return (*fnptr)(path, mask, x, y); -// } -// static GLboolean glowIsPointInStrokePathNV(GPISPOINTINSTROKEPATHNV fnptr, GLuint path, GLfloat x, GLfloat y) { -// return (*fnptr)(path, x, y); -// } // static GLboolean glowIsProgram(GPISPROGRAM fnptr, GLuint program) { // return (*fnptr)(program); // } -// static GLboolean glowIsProgramARB(GPISPROGRAMARB fnptr, GLuint program) { -// return (*fnptr)(program); -// } -// static GLboolean glowIsProgramNV(GPISPROGRAMNV fnptr, GLuint id) { -// return (*fnptr)(id); -// } -// static GLboolean glowIsProgramPipeline(GPISPROGRAMPIPELINE fnptr, GLuint pipeline) { -// return (*fnptr)(pipeline); -// } -// static GLboolean glowIsProgramPipelineEXT(GPISPROGRAMPIPELINEEXT fnptr, GLuint pipeline) { -// return (*fnptr)(pipeline); -// } -// static GLboolean glowIsQuery(GPISQUERY fnptr, GLuint id) { -// return (*fnptr)(id); -// } -// static GLboolean glowIsQueryARB(GPISQUERYARB fnptr, GLuint id) { -// return (*fnptr)(id); -// } -// static GLboolean glowIsRenderbuffer(GPISRENDERBUFFER fnptr, GLuint renderbuffer) { -// return (*fnptr)(renderbuffer); -// } -// static GLboolean glowIsRenderbufferEXT(GPISRENDERBUFFEREXT fnptr, GLuint renderbuffer) { -// return (*fnptr)(renderbuffer); -// } -// static GLboolean glowIsSampler(GPISSAMPLER fnptr, GLuint sampler) { -// return (*fnptr)(sampler); -// } -// static GLboolean glowIsSemaphoreEXT(GPISSEMAPHOREEXT fnptr, GLuint semaphore) { -// return (*fnptr)(semaphore); -// } -// static GLboolean glowIsShader(GPISSHADER fnptr, GLuint shader) { -// return (*fnptr)(shader); -// } -// static GLboolean glowIsStateNV(GPISSTATENV fnptr, GLuint state) { -// return (*fnptr)(state); -// } -// static GLboolean glowIsSync(GPISSYNC fnptr, GLsync sync) { -// return (*fnptr)(sync); -// } // static GLboolean glowIsTexture(GPISTEXTURE fnptr, GLuint texture) { // return (*fnptr)(texture); // } -// static GLboolean glowIsTextureEXT(GPISTEXTUREEXT fnptr, GLuint texture) { -// return (*fnptr)(texture); -// } -// static GLboolean glowIsTextureHandleResidentARB(GPISTEXTUREHANDLERESIDENTARB fnptr, GLuint64 handle) { -// return (*fnptr)(handle); -// } -// static GLboolean glowIsTextureHandleResidentNV(GPISTEXTUREHANDLERESIDENTNV fnptr, GLuint64 handle) { -// return (*fnptr)(handle); -// } -// static GLboolean glowIsTransformFeedback(GPISTRANSFORMFEEDBACK fnptr, GLuint id) { -// return (*fnptr)(id); -// } -// static GLboolean glowIsTransformFeedbackNV(GPISTRANSFORMFEEDBACKNV fnptr, GLuint id) { -// return (*fnptr)(id); -// } -// static GLboolean glowIsVariantEnabledEXT(GPISVARIANTENABLEDEXT fnptr, GLuint id, GLenum cap) { -// return (*fnptr)(id, cap); -// } -// static GLboolean glowIsVertexArray(GPISVERTEXARRAY fnptr, GLuint array) { -// return (*fnptr)(array); -// } -// static GLboolean glowIsVertexArrayAPPLE(GPISVERTEXARRAYAPPLE fnptr, GLuint array) { -// return (*fnptr)(array); -// } -// static GLboolean glowIsVertexAttribEnabledAPPLE(GPISVERTEXATTRIBENABLEDAPPLE fnptr, GLuint index, GLenum pname) { -// return (*fnptr)(index, pname); -// } -// static void glowLGPUCopyImageSubDataNVX(GPLGPUCOPYIMAGESUBDATANVX fnptr, GLuint sourceGpu, GLbitfield destinationGpuMask, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srxY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth) { -// (*fnptr)(sourceGpu, destinationGpuMask, srcName, srcTarget, srcLevel, srcX, srxY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, width, height, depth); -// } -// static void glowLGPUInterlockNVX(GPLGPUINTERLOCKNVX fnptr) { -// (*fnptr)(); -// } -// static void glowLGPUNamedBufferSubDataNVX(GPLGPUNAMEDBUFFERSUBDATANVX fnptr, GLbitfield gpuMask, GLuint buffer, GLintptr offset, GLsizeiptr size, const void * data) { -// (*fnptr)(gpuMask, buffer, offset, size, data); -// } -// static void glowLabelObjectEXT(GPLABELOBJECTEXT fnptr, GLenum type, GLuint object, GLsizei length, const GLchar * label) { -// (*fnptr)(type, object, length, label); -// } -// static void glowLightEnviSGIX(GPLIGHTENVISGIX fnptr, GLenum pname, GLint param) { -// (*fnptr)(pname, param); -// } -// static void glowLightModelf(GPLIGHTMODELF fnptr, GLenum pname, GLfloat param) { -// (*fnptr)(pname, param); -// } -// static void glowLightModelfv(GPLIGHTMODELFV fnptr, GLenum pname, const GLfloat * params) { -// (*fnptr)(pname, params); -// } -// static void glowLightModeli(GPLIGHTMODELI fnptr, GLenum pname, GLint param) { -// (*fnptr)(pname, param); -// } -// static void glowLightModeliv(GPLIGHTMODELIV fnptr, GLenum pname, const GLint * params) { -// (*fnptr)(pname, params); -// } -// static void glowLightModelxOES(GPLIGHTMODELXOES fnptr, GLenum pname, GLfixed param) { -// (*fnptr)(pname, param); -// } -// static void glowLightModelxvOES(GPLIGHTMODELXVOES fnptr, GLenum pname, const GLfixed * param) { -// (*fnptr)(pname, param); -// } -// static void glowLightf(GPLIGHTF fnptr, GLenum light, GLenum pname, GLfloat param) { -// (*fnptr)(light, pname, param); -// } -// static void glowLightfv(GPLIGHTFV fnptr, GLenum light, GLenum pname, const GLfloat * params) { -// (*fnptr)(light, pname, params); -// } -// static void glowLighti(GPLIGHTI fnptr, GLenum light, GLenum pname, GLint param) { -// (*fnptr)(light, pname, param); -// } -// static void glowLightiv(GPLIGHTIV fnptr, GLenum light, GLenum pname, const GLint * params) { -// (*fnptr)(light, pname, params); -// } -// static void glowLightxOES(GPLIGHTXOES fnptr, GLenum light, GLenum pname, GLfixed param) { -// (*fnptr)(light, pname, param); -// } -// static void glowLightxvOES(GPLIGHTXVOES fnptr, GLenum light, GLenum pname, const GLfixed * params) { -// (*fnptr)(light, pname, params); -// } -// static void glowLineStipple(GPLINESTIPPLE fnptr, GLint factor, GLushort pattern) { -// (*fnptr)(factor, pattern); -// } -// static void glowLineWidth(GPLINEWIDTH fnptr, GLfloat width) { -// (*fnptr)(width); -// } -// static void glowLineWidthxOES(GPLINEWIDTHXOES fnptr, GLfixed width) { -// (*fnptr)(width); -// } // static void glowLinkProgram(GPLINKPROGRAM fnptr, GLuint program) { // (*fnptr)(program); // } -// static void glowLinkProgramARB(GPLINKPROGRAMARB fnptr, GLhandleARB programObj) { -// (*fnptr)(programObj); -// } -// static void glowListBase(GPLISTBASE fnptr, GLuint base) { -// (*fnptr)(base); -// } -// static void glowListDrawCommandsStatesClientNV(GPLISTDRAWCOMMANDSSTATESCLIENTNV fnptr, GLuint list, GLuint segment, const void ** indirects, const GLsizei * sizes, const GLuint * states, const GLuint * fbos, GLuint count) { -// (*fnptr)(list, segment, indirects, sizes, states, fbos, count); -// } -// static void glowListParameterfSGIX(GPLISTPARAMETERFSGIX fnptr, GLuint list, GLenum pname, GLfloat param) { -// (*fnptr)(list, pname, param); -// } -// static void glowListParameterfvSGIX(GPLISTPARAMETERFVSGIX fnptr, GLuint list, GLenum pname, const GLfloat * params) { -// (*fnptr)(list, pname, params); -// } -// static void glowListParameteriSGIX(GPLISTPARAMETERISGIX fnptr, GLuint list, GLenum pname, GLint param) { -// (*fnptr)(list, pname, param); -// } -// static void glowListParameterivSGIX(GPLISTPARAMETERIVSGIX fnptr, GLuint list, GLenum pname, const GLint * params) { -// (*fnptr)(list, pname, params); -// } -// static void glowLoadIdentity(GPLOADIDENTITY fnptr) { -// (*fnptr)(); -// } -// static void glowLoadIdentityDeformationMapSGIX(GPLOADIDENTITYDEFORMATIONMAPSGIX fnptr, GLbitfield mask) { -// (*fnptr)(mask); -// } -// static void glowLoadMatrixd(GPLOADMATRIXD fnptr, const GLdouble * m) { -// (*fnptr)(m); -// } -// static void glowLoadMatrixf(GPLOADMATRIXF fnptr, const GLfloat * m) { -// (*fnptr)(m); -// } -// static void glowLoadMatrixxOES(GPLOADMATRIXXOES fnptr, const GLfixed * m) { -// (*fnptr)(m); -// } -// static void glowLoadName(GPLOADNAME fnptr, GLuint name) { -// (*fnptr)(name); -// } -// static void glowLoadProgramNV(GPLOADPROGRAMNV fnptr, GLenum target, GLuint id, GLsizei len, const GLubyte * program) { -// (*fnptr)(target, id, len, program); -// } -// static void glowLoadTransposeMatrixd(GPLOADTRANSPOSEMATRIXD fnptr, const GLdouble * m) { -// (*fnptr)(m); -// } -// static void glowLoadTransposeMatrixdARB(GPLOADTRANSPOSEMATRIXDARB fnptr, const GLdouble * m) { -// (*fnptr)(m); -// } -// static void glowLoadTransposeMatrixf(GPLOADTRANSPOSEMATRIXF fnptr, const GLfloat * m) { -// (*fnptr)(m); -// } -// static void glowLoadTransposeMatrixfARB(GPLOADTRANSPOSEMATRIXFARB fnptr, const GLfloat * m) { -// (*fnptr)(m); -// } -// static void glowLoadTransposeMatrixxOES(GPLOADTRANSPOSEMATRIXXOES fnptr, const GLfixed * m) { -// (*fnptr)(m); -// } -// static void glowLockArraysEXT(GPLOCKARRAYSEXT fnptr, GLint first, GLsizei count) { -// (*fnptr)(first, count); -// } -// static void glowLogicOp(GPLOGICOP fnptr, GLenum opcode) { -// (*fnptr)(opcode); -// } -// static void glowMakeBufferNonResidentNV(GPMAKEBUFFERNONRESIDENTNV fnptr, GLenum target) { -// (*fnptr)(target); -// } -// static void glowMakeBufferResidentNV(GPMAKEBUFFERRESIDENTNV fnptr, GLenum target, GLenum access) { -// (*fnptr)(target, access); -// } -// static void glowMakeImageHandleNonResidentARB(GPMAKEIMAGEHANDLENONRESIDENTARB fnptr, GLuint64 handle) { -// (*fnptr)(handle); -// } -// static void glowMakeImageHandleNonResidentNV(GPMAKEIMAGEHANDLENONRESIDENTNV fnptr, GLuint64 handle) { -// (*fnptr)(handle); -// } -// static void glowMakeImageHandleResidentARB(GPMAKEIMAGEHANDLERESIDENTARB fnptr, GLuint64 handle, GLenum access) { -// (*fnptr)(handle, access); -// } -// static void glowMakeImageHandleResidentNV(GPMAKEIMAGEHANDLERESIDENTNV fnptr, GLuint64 handle, GLenum access) { -// (*fnptr)(handle, access); -// } -// static void glowMakeNamedBufferNonResidentNV(GPMAKENAMEDBUFFERNONRESIDENTNV fnptr, GLuint buffer) { -// (*fnptr)(buffer); -// } -// static void glowMakeNamedBufferResidentNV(GPMAKENAMEDBUFFERRESIDENTNV fnptr, GLuint buffer, GLenum access) { -// (*fnptr)(buffer, access); -// } -// static void glowMakeTextureHandleNonResidentARB(GPMAKETEXTUREHANDLENONRESIDENTARB fnptr, GLuint64 handle) { -// (*fnptr)(handle); -// } -// static void glowMakeTextureHandleNonResidentNV(GPMAKETEXTUREHANDLENONRESIDENTNV fnptr, GLuint64 handle) { -// (*fnptr)(handle); -// } -// static void glowMakeTextureHandleResidentARB(GPMAKETEXTUREHANDLERESIDENTARB fnptr, GLuint64 handle) { -// (*fnptr)(handle); -// } -// static void glowMakeTextureHandleResidentNV(GPMAKETEXTUREHANDLERESIDENTNV fnptr, GLuint64 handle) { -// (*fnptr)(handle); -// } -// static void glowMap1d(GPMAP1D fnptr, GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble * points) { -// (*fnptr)(target, u1, u2, stride, order, points); -// } -// static void glowMap1f(GPMAP1F fnptr, GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat * points) { -// (*fnptr)(target, u1, u2, stride, order, points); -// } -// static void glowMap1xOES(GPMAP1XOES fnptr, GLenum target, GLfixed u1, GLfixed u2, GLint stride, GLint order, GLfixed points) { -// (*fnptr)(target, u1, u2, stride, order, points); -// } -// static void glowMap2d(GPMAP2D fnptr, GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble * points) { -// (*fnptr)(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points); -// } -// static void glowMap2f(GPMAP2F fnptr, GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat * points) { -// (*fnptr)(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points); -// } -// static void glowMap2xOES(GPMAP2XOES fnptr, GLenum target, GLfixed u1, GLfixed u2, GLint ustride, GLint uorder, GLfixed v1, GLfixed v2, GLint vstride, GLint vorder, GLfixed points) { -// (*fnptr)(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points); -// } -// static void * glowMapBuffer(GPMAPBUFFER fnptr, GLenum target, GLenum access) { -// return (*fnptr)(target, access); -// } -// static void * glowMapBufferARB(GPMAPBUFFERARB fnptr, GLenum target, GLenum access) { -// return (*fnptr)(target, access); -// } -// static void * glowMapBufferRange(GPMAPBUFFERRANGE fnptr, GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access) { -// return (*fnptr)(target, offset, length, access); -// } -// static void glowMapControlPointsNV(GPMAPCONTROLPOINTSNV fnptr, GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const void * points) { -// (*fnptr)(target, index, type, ustride, vstride, uorder, vorder, packed, points); -// } -// static void glowMapGrid1d(GPMAPGRID1D fnptr, GLint un, GLdouble u1, GLdouble u2) { -// (*fnptr)(un, u1, u2); -// } -// static void glowMapGrid1f(GPMAPGRID1F fnptr, GLint un, GLfloat u1, GLfloat u2) { -// (*fnptr)(un, u1, u2); -// } -// static void glowMapGrid1xOES(GPMAPGRID1XOES fnptr, GLint n, GLfixed u1, GLfixed u2) { -// (*fnptr)(n, u1, u2); -// } -// static void glowMapGrid2d(GPMAPGRID2D fnptr, GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2) { -// (*fnptr)(un, u1, u2, vn, v1, v2); -// } -// static void glowMapGrid2f(GPMAPGRID2F fnptr, GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2) { -// (*fnptr)(un, u1, u2, vn, v1, v2); -// } -// static void glowMapGrid2xOES(GPMAPGRID2XOES fnptr, GLint n, GLfixed u1, GLfixed u2, GLfixed v1, GLfixed v2) { -// (*fnptr)(n, u1, u2, v1, v2); -// } -// static void * glowMapNamedBuffer(GPMAPNAMEDBUFFER fnptr, GLuint buffer, GLenum access) { -// return (*fnptr)(buffer, access); -// } -// static void * glowMapNamedBufferEXT(GPMAPNAMEDBUFFEREXT fnptr, GLuint buffer, GLenum access) { -// return (*fnptr)(buffer, access); -// } -// static void * glowMapNamedBufferRange(GPMAPNAMEDBUFFERRANGE fnptr, GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access) { -// return (*fnptr)(buffer, offset, length, access); -// } -// static void * glowMapNamedBufferRangeEXT(GPMAPNAMEDBUFFERRANGEEXT fnptr, GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access) { -// return (*fnptr)(buffer, offset, length, access); -// } -// static void * glowMapObjectBufferATI(GPMAPOBJECTBUFFERATI fnptr, GLuint buffer) { -// return (*fnptr)(buffer); -// } -// static void glowMapParameterfvNV(GPMAPPARAMETERFVNV fnptr, GLenum target, GLenum pname, const GLfloat * params) { -// (*fnptr)(target, pname, params); -// } -// static void glowMapParameterivNV(GPMAPPARAMETERIVNV fnptr, GLenum target, GLenum pname, const GLint * params) { -// (*fnptr)(target, pname, params); -// } -// static void * glowMapTexture2DINTEL(GPMAPTEXTURE2DINTEL fnptr, GLuint texture, GLint level, GLbitfield access, GLint * stride, GLenum * layout) { -// return (*fnptr)(texture, level, access, stride, layout); -// } -// static void glowMapVertexAttrib1dAPPLE(GPMAPVERTEXATTRIB1DAPPLE fnptr, GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble * points) { -// (*fnptr)(index, size, u1, u2, stride, order, points); -// } -// static void glowMapVertexAttrib1fAPPLE(GPMAPVERTEXATTRIB1FAPPLE fnptr, GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat * points) { -// (*fnptr)(index, size, u1, u2, stride, order, points); -// } -// static void glowMapVertexAttrib2dAPPLE(GPMAPVERTEXATTRIB2DAPPLE fnptr, GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble * points) { -// (*fnptr)(index, size, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points); -// } -// static void glowMapVertexAttrib2fAPPLE(GPMAPVERTEXATTRIB2FAPPLE fnptr, GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat * points) { -// (*fnptr)(index, size, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points); -// } -// static void glowMaterialf(GPMATERIALF fnptr, GLenum face, GLenum pname, GLfloat param) { -// (*fnptr)(face, pname, param); -// } -// static void glowMaterialfv(GPMATERIALFV fnptr, GLenum face, GLenum pname, const GLfloat * params) { -// (*fnptr)(face, pname, params); -// } -// static void glowMateriali(GPMATERIALI fnptr, GLenum face, GLenum pname, GLint param) { -// (*fnptr)(face, pname, param); -// } -// static void glowMaterialiv(GPMATERIALIV fnptr, GLenum face, GLenum pname, const GLint * params) { -// (*fnptr)(face, pname, params); -// } -// static void glowMaterialxOES(GPMATERIALXOES fnptr, GLenum face, GLenum pname, GLfixed param) { -// (*fnptr)(face, pname, param); -// } -// static void glowMaterialxvOES(GPMATERIALXVOES fnptr, GLenum face, GLenum pname, const GLfixed * param) { -// (*fnptr)(face, pname, param); -// } -// static void glowMatrixFrustumEXT(GPMATRIXFRUSTUMEXT fnptr, GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar) { -// (*fnptr)(mode, left, right, bottom, top, zNear, zFar); -// } -// static void glowMatrixIndexPointerARB(GPMATRIXINDEXPOINTERARB fnptr, GLint size, GLenum type, GLsizei stride, const void * pointer) { -// (*fnptr)(size, type, stride, pointer); -// } -// static void glowMatrixIndexubvARB(GPMATRIXINDEXUBVARB fnptr, GLint size, const GLubyte * indices) { -// (*fnptr)(size, indices); -// } -// static void glowMatrixIndexuivARB(GPMATRIXINDEXUIVARB fnptr, GLint size, const GLuint * indices) { -// (*fnptr)(size, indices); -// } -// static void glowMatrixIndexusvARB(GPMATRIXINDEXUSVARB fnptr, GLint size, const GLushort * indices) { -// (*fnptr)(size, indices); -// } -// static void glowMatrixLoad3x2fNV(GPMATRIXLOAD3X2FNV fnptr, GLenum matrixMode, const GLfloat * m) { -// (*fnptr)(matrixMode, m); -// } -// static void glowMatrixLoad3x3fNV(GPMATRIXLOAD3X3FNV fnptr, GLenum matrixMode, const GLfloat * m) { -// (*fnptr)(matrixMode, m); -// } -// static void glowMatrixLoadIdentityEXT(GPMATRIXLOADIDENTITYEXT fnptr, GLenum mode) { -// (*fnptr)(mode); -// } -// static void glowMatrixLoadTranspose3x3fNV(GPMATRIXLOADTRANSPOSE3X3FNV fnptr, GLenum matrixMode, const GLfloat * m) { -// (*fnptr)(matrixMode, m); -// } -// static void glowMatrixLoadTransposedEXT(GPMATRIXLOADTRANSPOSEDEXT fnptr, GLenum mode, const GLdouble * m) { -// (*fnptr)(mode, m); -// } -// static void glowMatrixLoadTransposefEXT(GPMATRIXLOADTRANSPOSEFEXT fnptr, GLenum mode, const GLfloat * m) { -// (*fnptr)(mode, m); -// } -// static void glowMatrixLoaddEXT(GPMATRIXLOADDEXT fnptr, GLenum mode, const GLdouble * m) { -// (*fnptr)(mode, m); -// } -// static void glowMatrixLoadfEXT(GPMATRIXLOADFEXT fnptr, GLenum mode, const GLfloat * m) { -// (*fnptr)(mode, m); -// } -// static void glowMatrixMode(GPMATRIXMODE fnptr, GLenum mode) { -// (*fnptr)(mode); -// } -// static void glowMatrixMult3x2fNV(GPMATRIXMULT3X2FNV fnptr, GLenum matrixMode, const GLfloat * m) { -// (*fnptr)(matrixMode, m); -// } -// static void glowMatrixMult3x3fNV(GPMATRIXMULT3X3FNV fnptr, GLenum matrixMode, const GLfloat * m) { -// (*fnptr)(matrixMode, m); -// } -// static void glowMatrixMultTranspose3x3fNV(GPMATRIXMULTTRANSPOSE3X3FNV fnptr, GLenum matrixMode, const GLfloat * m) { -// (*fnptr)(matrixMode, m); -// } -// static void glowMatrixMultTransposedEXT(GPMATRIXMULTTRANSPOSEDEXT fnptr, GLenum mode, const GLdouble * m) { -// (*fnptr)(mode, m); -// } -// static void glowMatrixMultTransposefEXT(GPMATRIXMULTTRANSPOSEFEXT fnptr, GLenum mode, const GLfloat * m) { -// (*fnptr)(mode, m); -// } -// static void glowMatrixMultdEXT(GPMATRIXMULTDEXT fnptr, GLenum mode, const GLdouble * m) { -// (*fnptr)(mode, m); -// } -// static void glowMatrixMultfEXT(GPMATRIXMULTFEXT fnptr, GLenum mode, const GLfloat * m) { -// (*fnptr)(mode, m); -// } -// static void glowMatrixOrthoEXT(GPMATRIXORTHOEXT fnptr, GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar) { -// (*fnptr)(mode, left, right, bottom, top, zNear, zFar); -// } -// static void glowMatrixPopEXT(GPMATRIXPOPEXT fnptr, GLenum mode) { -// (*fnptr)(mode); -// } -// static void glowMatrixPushEXT(GPMATRIXPUSHEXT fnptr, GLenum mode) { -// (*fnptr)(mode); -// } -// static void glowMatrixRotatedEXT(GPMATRIXROTATEDEXT fnptr, GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z) { -// (*fnptr)(mode, angle, x, y, z); -// } -// static void glowMatrixRotatefEXT(GPMATRIXROTATEFEXT fnptr, GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z) { -// (*fnptr)(mode, angle, x, y, z); -// } -// static void glowMatrixScaledEXT(GPMATRIXSCALEDEXT fnptr, GLenum mode, GLdouble x, GLdouble y, GLdouble z) { -// (*fnptr)(mode, x, y, z); -// } -// static void glowMatrixScalefEXT(GPMATRIXSCALEFEXT fnptr, GLenum mode, GLfloat x, GLfloat y, GLfloat z) { -// (*fnptr)(mode, x, y, z); -// } -// static void glowMatrixTranslatedEXT(GPMATRIXTRANSLATEDEXT fnptr, GLenum mode, GLdouble x, GLdouble y, GLdouble z) { -// (*fnptr)(mode, x, y, z); -// } -// static void glowMatrixTranslatefEXT(GPMATRIXTRANSLATEFEXT fnptr, GLenum mode, GLfloat x, GLfloat y, GLfloat z) { -// (*fnptr)(mode, x, y, z); -// } -// static void glowMaxShaderCompilerThreadsARB(GPMAXSHADERCOMPILERTHREADSARB fnptr, GLuint count) { -// (*fnptr)(count); -// } -// static void glowMaxShaderCompilerThreadsKHR(GPMAXSHADERCOMPILERTHREADSKHR fnptr, GLuint count) { -// (*fnptr)(count); -// } -// static void glowMemoryBarrier(GPMEMORYBARRIER fnptr, GLbitfield barriers) { -// (*fnptr)(barriers); -// } -// static void glowMemoryBarrierByRegion(GPMEMORYBARRIERBYREGION fnptr, GLbitfield barriers) { -// (*fnptr)(barriers); -// } -// static void glowMemoryBarrierEXT(GPMEMORYBARRIEREXT fnptr, GLbitfield barriers) { -// (*fnptr)(barriers); -// } -// static void glowMemoryObjectParameterivEXT(GPMEMORYOBJECTPARAMETERIVEXT fnptr, GLuint memoryObject, GLenum pname, const GLint * params) { -// (*fnptr)(memoryObject, pname, params); -// } -// static void glowMinSampleShadingARB(GPMINSAMPLESHADINGARB fnptr, GLfloat value) { -// (*fnptr)(value); -// } -// static void glowMinmaxEXT(GPMINMAXEXT fnptr, GLenum target, GLenum internalformat, GLboolean sink) { -// (*fnptr)(target, internalformat, sink); -// } -// static void glowMultMatrixd(GPMULTMATRIXD fnptr, const GLdouble * m) { -// (*fnptr)(m); -// } -// static void glowMultMatrixf(GPMULTMATRIXF fnptr, const GLfloat * m) { -// (*fnptr)(m); -// } -// static void glowMultMatrixxOES(GPMULTMATRIXXOES fnptr, const GLfixed * m) { -// (*fnptr)(m); -// } -// static void glowMultTransposeMatrixd(GPMULTTRANSPOSEMATRIXD fnptr, const GLdouble * m) { -// (*fnptr)(m); -// } -// static void glowMultTransposeMatrixdARB(GPMULTTRANSPOSEMATRIXDARB fnptr, const GLdouble * m) { -// (*fnptr)(m); -// } -// static void glowMultTransposeMatrixf(GPMULTTRANSPOSEMATRIXF fnptr, const GLfloat * m) { -// (*fnptr)(m); -// } -// static void glowMultTransposeMatrixfARB(GPMULTTRANSPOSEMATRIXFARB fnptr, const GLfloat * m) { -// (*fnptr)(m); -// } -// static void glowMultTransposeMatrixxOES(GPMULTTRANSPOSEMATRIXXOES fnptr, const GLfixed * m) { -// (*fnptr)(m); -// } -// static void glowMultiDrawArrays(GPMULTIDRAWARRAYS fnptr, GLenum mode, const GLint * first, const GLsizei * count, GLsizei drawcount) { -// (*fnptr)(mode, first, count, drawcount); -// } -// static void glowMultiDrawArraysEXT(GPMULTIDRAWARRAYSEXT fnptr, GLenum mode, const GLint * first, const GLsizei * count, GLsizei primcount) { -// (*fnptr)(mode, first, count, primcount); -// } -// static void glowMultiDrawArraysIndirect(GPMULTIDRAWARRAYSINDIRECT fnptr, GLenum mode, const void * indirect, GLsizei drawcount, GLsizei stride) { -// (*fnptr)(mode, indirect, drawcount, stride); -// } -// static void glowMultiDrawArraysIndirectAMD(GPMULTIDRAWARRAYSINDIRECTAMD fnptr, GLenum mode, const void * indirect, GLsizei primcount, GLsizei stride) { -// (*fnptr)(mode, indirect, primcount, stride); -// } -// static void glowMultiDrawArraysIndirectBindlessCountNV(GPMULTIDRAWARRAYSINDIRECTBINDLESSCOUNTNV fnptr, GLenum mode, const void * indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount) { -// (*fnptr)(mode, indirect, drawCount, maxDrawCount, stride, vertexBufferCount); -// } -// static void glowMultiDrawArraysIndirectBindlessNV(GPMULTIDRAWARRAYSINDIRECTBINDLESSNV fnptr, GLenum mode, const void * indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount) { -// (*fnptr)(mode, indirect, drawCount, stride, vertexBufferCount); -// } -// static void glowMultiDrawArraysIndirectCountARB(GPMULTIDRAWARRAYSINDIRECTCOUNTARB fnptr, GLenum mode, const void * indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride) { -// (*fnptr)(mode, indirect, drawcount, maxdrawcount, stride); -// } -// static void glowMultiDrawElementArrayAPPLE(GPMULTIDRAWELEMENTARRAYAPPLE fnptr, GLenum mode, const GLint * first, const GLsizei * count, GLsizei primcount) { -// (*fnptr)(mode, first, count, primcount); -// } -// static void glowMultiDrawElements(GPMULTIDRAWELEMENTS fnptr, GLenum mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei drawcount) { -// (*fnptr)(mode, count, type, indices, drawcount); -// } -// static void glowMultiDrawElementsBaseVertex(GPMULTIDRAWELEMENTSBASEVERTEX fnptr, GLenum mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei drawcount, const GLint * basevertex) { -// (*fnptr)(mode, count, type, indices, drawcount, basevertex); -// } -// static void glowMultiDrawElementsEXT(GPMULTIDRAWELEMENTSEXT fnptr, GLenum mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei primcount) { -// (*fnptr)(mode, count, type, indices, primcount); -// } -// static void glowMultiDrawElementsIndirect(GPMULTIDRAWELEMENTSINDIRECT fnptr, GLenum mode, GLenum type, const void * indirect, GLsizei drawcount, GLsizei stride) { -// (*fnptr)(mode, type, indirect, drawcount, stride); -// } -// static void glowMultiDrawElementsIndirectAMD(GPMULTIDRAWELEMENTSINDIRECTAMD fnptr, GLenum mode, GLenum type, const void * indirect, GLsizei primcount, GLsizei stride) { -// (*fnptr)(mode, type, indirect, primcount, stride); -// } -// static void glowMultiDrawElementsIndirectBindlessCountNV(GPMULTIDRAWELEMENTSINDIRECTBINDLESSCOUNTNV fnptr, GLenum mode, GLenum type, const void * indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount) { -// (*fnptr)(mode, type, indirect, drawCount, maxDrawCount, stride, vertexBufferCount); -// } -// static void glowMultiDrawElementsIndirectBindlessNV(GPMULTIDRAWELEMENTSINDIRECTBINDLESSNV fnptr, GLenum mode, GLenum type, const void * indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount) { -// (*fnptr)(mode, type, indirect, drawCount, stride, vertexBufferCount); -// } -// static void glowMultiDrawElementsIndirectCountARB(GPMULTIDRAWELEMENTSINDIRECTCOUNTARB fnptr, GLenum mode, GLenum type, const void * indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride) { -// (*fnptr)(mode, type, indirect, drawcount, maxdrawcount, stride); -// } -// static void glowMultiDrawRangeElementArrayAPPLE(GPMULTIDRAWRANGEELEMENTARRAYAPPLE fnptr, GLenum mode, GLuint start, GLuint end, const GLint * first, const GLsizei * count, GLsizei primcount) { -// (*fnptr)(mode, start, end, first, count, primcount); -// } -// static void glowMultiModeDrawArraysIBM(GPMULTIMODEDRAWARRAYSIBM fnptr, const GLenum * mode, const GLint * first, const GLsizei * count, GLsizei primcount, GLint modestride) { -// (*fnptr)(mode, first, count, primcount, modestride); -// } -// static void glowMultiModeDrawElementsIBM(GPMULTIMODEDRAWELEMENTSIBM fnptr, const GLenum * mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei primcount, GLint modestride) { -// (*fnptr)(mode, count, type, indices, primcount, modestride); -// } -// static void glowMultiTexBufferEXT(GPMULTITEXBUFFEREXT fnptr, GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer) { -// (*fnptr)(texunit, target, internalformat, buffer); -// } -// static void glowMultiTexCoord1bOES(GPMULTITEXCOORD1BOES fnptr, GLenum texture, GLbyte s) { -// (*fnptr)(texture, s); -// } -// static void glowMultiTexCoord1bvOES(GPMULTITEXCOORD1BVOES fnptr, GLenum texture, const GLbyte * coords) { -// (*fnptr)(texture, coords); -// } -// static void glowMultiTexCoord1d(GPMULTITEXCOORD1D fnptr, GLenum target, GLdouble s) { -// (*fnptr)(target, s); -// } -// static void glowMultiTexCoord1dARB(GPMULTITEXCOORD1DARB fnptr, GLenum target, GLdouble s) { -// (*fnptr)(target, s); -// } -// static void glowMultiTexCoord1dv(GPMULTITEXCOORD1DV fnptr, GLenum target, const GLdouble * v) { -// (*fnptr)(target, v); -// } -// static void glowMultiTexCoord1dvARB(GPMULTITEXCOORD1DVARB fnptr, GLenum target, const GLdouble * v) { -// (*fnptr)(target, v); -// } -// static void glowMultiTexCoord1f(GPMULTITEXCOORD1F fnptr, GLenum target, GLfloat s) { -// (*fnptr)(target, s); -// } -// static void glowMultiTexCoord1fARB(GPMULTITEXCOORD1FARB fnptr, GLenum target, GLfloat s) { -// (*fnptr)(target, s); -// } -// static void glowMultiTexCoord1fv(GPMULTITEXCOORD1FV fnptr, GLenum target, const GLfloat * v) { -// (*fnptr)(target, v); -// } -// static void glowMultiTexCoord1fvARB(GPMULTITEXCOORD1FVARB fnptr, GLenum target, const GLfloat * v) { -// (*fnptr)(target, v); -// } -// static void glowMultiTexCoord1hNV(GPMULTITEXCOORD1HNV fnptr, GLenum target, GLhalfNV s) { -// (*fnptr)(target, s); -// } -// static void glowMultiTexCoord1hvNV(GPMULTITEXCOORD1HVNV fnptr, GLenum target, const GLhalfNV * v) { -// (*fnptr)(target, v); -// } -// static void glowMultiTexCoord1i(GPMULTITEXCOORD1I fnptr, GLenum target, GLint s) { -// (*fnptr)(target, s); -// } -// static void glowMultiTexCoord1iARB(GPMULTITEXCOORD1IARB fnptr, GLenum target, GLint s) { -// (*fnptr)(target, s); -// } -// static void glowMultiTexCoord1iv(GPMULTITEXCOORD1IV fnptr, GLenum target, const GLint * v) { -// (*fnptr)(target, v); -// } -// static void glowMultiTexCoord1ivARB(GPMULTITEXCOORD1IVARB fnptr, GLenum target, const GLint * v) { -// (*fnptr)(target, v); -// } -// static void glowMultiTexCoord1s(GPMULTITEXCOORD1S fnptr, GLenum target, GLshort s) { -// (*fnptr)(target, s); -// } -// static void glowMultiTexCoord1sARB(GPMULTITEXCOORD1SARB fnptr, GLenum target, GLshort s) { -// (*fnptr)(target, s); -// } -// static void glowMultiTexCoord1sv(GPMULTITEXCOORD1SV fnptr, GLenum target, const GLshort * v) { -// (*fnptr)(target, v); -// } -// static void glowMultiTexCoord1svARB(GPMULTITEXCOORD1SVARB fnptr, GLenum target, const GLshort * v) { -// (*fnptr)(target, v); -// } -// static void glowMultiTexCoord1xOES(GPMULTITEXCOORD1XOES fnptr, GLenum texture, GLfixed s) { -// (*fnptr)(texture, s); -// } -// static void glowMultiTexCoord1xvOES(GPMULTITEXCOORD1XVOES fnptr, GLenum texture, const GLfixed * coords) { -// (*fnptr)(texture, coords); -// } -// static void glowMultiTexCoord2bOES(GPMULTITEXCOORD2BOES fnptr, GLenum texture, GLbyte s, GLbyte t) { -// (*fnptr)(texture, s, t); -// } -// static void glowMultiTexCoord2bvOES(GPMULTITEXCOORD2BVOES fnptr, GLenum texture, const GLbyte * coords) { -// (*fnptr)(texture, coords); -// } -// static void glowMultiTexCoord2d(GPMULTITEXCOORD2D fnptr, GLenum target, GLdouble s, GLdouble t) { -// (*fnptr)(target, s, t); -// } -// static void glowMultiTexCoord2dARB(GPMULTITEXCOORD2DARB fnptr, GLenum target, GLdouble s, GLdouble t) { -// (*fnptr)(target, s, t); -// } -// static void glowMultiTexCoord2dv(GPMULTITEXCOORD2DV fnptr, GLenum target, const GLdouble * v) { -// (*fnptr)(target, v); -// } -// static void glowMultiTexCoord2dvARB(GPMULTITEXCOORD2DVARB fnptr, GLenum target, const GLdouble * v) { -// (*fnptr)(target, v); -// } -// static void glowMultiTexCoord2f(GPMULTITEXCOORD2F fnptr, GLenum target, GLfloat s, GLfloat t) { -// (*fnptr)(target, s, t); -// } -// static void glowMultiTexCoord2fARB(GPMULTITEXCOORD2FARB fnptr, GLenum target, GLfloat s, GLfloat t) { -// (*fnptr)(target, s, t); -// } -// static void glowMultiTexCoord2fv(GPMULTITEXCOORD2FV fnptr, GLenum target, const GLfloat * v) { -// (*fnptr)(target, v); -// } -// static void glowMultiTexCoord2fvARB(GPMULTITEXCOORD2FVARB fnptr, GLenum target, const GLfloat * v) { -// (*fnptr)(target, v); -// } -// static void glowMultiTexCoord2hNV(GPMULTITEXCOORD2HNV fnptr, GLenum target, GLhalfNV s, GLhalfNV t) { -// (*fnptr)(target, s, t); -// } -// static void glowMultiTexCoord2hvNV(GPMULTITEXCOORD2HVNV fnptr, GLenum target, const GLhalfNV * v) { -// (*fnptr)(target, v); -// } -// static void glowMultiTexCoord2i(GPMULTITEXCOORD2I fnptr, GLenum target, GLint s, GLint t) { -// (*fnptr)(target, s, t); -// } -// static void glowMultiTexCoord2iARB(GPMULTITEXCOORD2IARB fnptr, GLenum target, GLint s, GLint t) { -// (*fnptr)(target, s, t); -// } -// static void glowMultiTexCoord2iv(GPMULTITEXCOORD2IV fnptr, GLenum target, const GLint * v) { -// (*fnptr)(target, v); -// } -// static void glowMultiTexCoord2ivARB(GPMULTITEXCOORD2IVARB fnptr, GLenum target, const GLint * v) { -// (*fnptr)(target, v); -// } -// static void glowMultiTexCoord2s(GPMULTITEXCOORD2S fnptr, GLenum target, GLshort s, GLshort t) { -// (*fnptr)(target, s, t); -// } -// static void glowMultiTexCoord2sARB(GPMULTITEXCOORD2SARB fnptr, GLenum target, GLshort s, GLshort t) { -// (*fnptr)(target, s, t); -// } -// static void glowMultiTexCoord2sv(GPMULTITEXCOORD2SV fnptr, GLenum target, const GLshort * v) { -// (*fnptr)(target, v); -// } -// static void glowMultiTexCoord2svARB(GPMULTITEXCOORD2SVARB fnptr, GLenum target, const GLshort * v) { -// (*fnptr)(target, v); -// } -// static void glowMultiTexCoord2xOES(GPMULTITEXCOORD2XOES fnptr, GLenum texture, GLfixed s, GLfixed t) { -// (*fnptr)(texture, s, t); -// } -// static void glowMultiTexCoord2xvOES(GPMULTITEXCOORD2XVOES fnptr, GLenum texture, const GLfixed * coords) { -// (*fnptr)(texture, coords); -// } -// static void glowMultiTexCoord3bOES(GPMULTITEXCOORD3BOES fnptr, GLenum texture, GLbyte s, GLbyte t, GLbyte r) { -// (*fnptr)(texture, s, t, r); -// } -// static void glowMultiTexCoord3bvOES(GPMULTITEXCOORD3BVOES fnptr, GLenum texture, const GLbyte * coords) { -// (*fnptr)(texture, coords); -// } -// static void glowMultiTexCoord3d(GPMULTITEXCOORD3D fnptr, GLenum target, GLdouble s, GLdouble t, GLdouble r) { -// (*fnptr)(target, s, t, r); -// } -// static void glowMultiTexCoord3dARB(GPMULTITEXCOORD3DARB fnptr, GLenum target, GLdouble s, GLdouble t, GLdouble r) { -// (*fnptr)(target, s, t, r); -// } -// static void glowMultiTexCoord3dv(GPMULTITEXCOORD3DV fnptr, GLenum target, const GLdouble * v) { -// (*fnptr)(target, v); -// } -// static void glowMultiTexCoord3dvARB(GPMULTITEXCOORD3DVARB fnptr, GLenum target, const GLdouble * v) { -// (*fnptr)(target, v); -// } -// static void glowMultiTexCoord3f(GPMULTITEXCOORD3F fnptr, GLenum target, GLfloat s, GLfloat t, GLfloat r) { -// (*fnptr)(target, s, t, r); -// } -// static void glowMultiTexCoord3fARB(GPMULTITEXCOORD3FARB fnptr, GLenum target, GLfloat s, GLfloat t, GLfloat r) { -// (*fnptr)(target, s, t, r); -// } -// static void glowMultiTexCoord3fv(GPMULTITEXCOORD3FV fnptr, GLenum target, const GLfloat * v) { -// (*fnptr)(target, v); -// } -// static void glowMultiTexCoord3fvARB(GPMULTITEXCOORD3FVARB fnptr, GLenum target, const GLfloat * v) { -// (*fnptr)(target, v); -// } -// static void glowMultiTexCoord3hNV(GPMULTITEXCOORD3HNV fnptr, GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r) { -// (*fnptr)(target, s, t, r); -// } -// static void glowMultiTexCoord3hvNV(GPMULTITEXCOORD3HVNV fnptr, GLenum target, const GLhalfNV * v) { -// (*fnptr)(target, v); -// } -// static void glowMultiTexCoord3i(GPMULTITEXCOORD3I fnptr, GLenum target, GLint s, GLint t, GLint r) { -// (*fnptr)(target, s, t, r); -// } -// static void glowMultiTexCoord3iARB(GPMULTITEXCOORD3IARB fnptr, GLenum target, GLint s, GLint t, GLint r) { -// (*fnptr)(target, s, t, r); -// } -// static void glowMultiTexCoord3iv(GPMULTITEXCOORD3IV fnptr, GLenum target, const GLint * v) { -// (*fnptr)(target, v); -// } -// static void glowMultiTexCoord3ivARB(GPMULTITEXCOORD3IVARB fnptr, GLenum target, const GLint * v) { -// (*fnptr)(target, v); -// } -// static void glowMultiTexCoord3s(GPMULTITEXCOORD3S fnptr, GLenum target, GLshort s, GLshort t, GLshort r) { -// (*fnptr)(target, s, t, r); -// } -// static void glowMultiTexCoord3sARB(GPMULTITEXCOORD3SARB fnptr, GLenum target, GLshort s, GLshort t, GLshort r) { -// (*fnptr)(target, s, t, r); -// } -// static void glowMultiTexCoord3sv(GPMULTITEXCOORD3SV fnptr, GLenum target, const GLshort * v) { -// (*fnptr)(target, v); -// } -// static void glowMultiTexCoord3svARB(GPMULTITEXCOORD3SVARB fnptr, GLenum target, const GLshort * v) { -// (*fnptr)(target, v); -// } -// static void glowMultiTexCoord3xOES(GPMULTITEXCOORD3XOES fnptr, GLenum texture, GLfixed s, GLfixed t, GLfixed r) { -// (*fnptr)(texture, s, t, r); -// } -// static void glowMultiTexCoord3xvOES(GPMULTITEXCOORD3XVOES fnptr, GLenum texture, const GLfixed * coords) { -// (*fnptr)(texture, coords); -// } -// static void glowMultiTexCoord4bOES(GPMULTITEXCOORD4BOES fnptr, GLenum texture, GLbyte s, GLbyte t, GLbyte r, GLbyte q) { -// (*fnptr)(texture, s, t, r, q); -// } -// static void glowMultiTexCoord4bvOES(GPMULTITEXCOORD4BVOES fnptr, GLenum texture, const GLbyte * coords) { -// (*fnptr)(texture, coords); -// } -// static void glowMultiTexCoord4d(GPMULTITEXCOORD4D fnptr, GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q) { -// (*fnptr)(target, s, t, r, q); -// } -// static void glowMultiTexCoord4dARB(GPMULTITEXCOORD4DARB fnptr, GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q) { -// (*fnptr)(target, s, t, r, q); -// } -// static void glowMultiTexCoord4dv(GPMULTITEXCOORD4DV fnptr, GLenum target, const GLdouble * v) { -// (*fnptr)(target, v); -// } -// static void glowMultiTexCoord4dvARB(GPMULTITEXCOORD4DVARB fnptr, GLenum target, const GLdouble * v) { -// (*fnptr)(target, v); -// } -// static void glowMultiTexCoord4f(GPMULTITEXCOORD4F fnptr, GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) { -// (*fnptr)(target, s, t, r, q); -// } -// static void glowMultiTexCoord4fARB(GPMULTITEXCOORD4FARB fnptr, GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) { -// (*fnptr)(target, s, t, r, q); -// } -// static void glowMultiTexCoord4fv(GPMULTITEXCOORD4FV fnptr, GLenum target, const GLfloat * v) { -// (*fnptr)(target, v); -// } -// static void glowMultiTexCoord4fvARB(GPMULTITEXCOORD4FVARB fnptr, GLenum target, const GLfloat * v) { -// (*fnptr)(target, v); -// } -// static void glowMultiTexCoord4hNV(GPMULTITEXCOORD4HNV fnptr, GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q) { -// (*fnptr)(target, s, t, r, q); -// } -// static void glowMultiTexCoord4hvNV(GPMULTITEXCOORD4HVNV fnptr, GLenum target, const GLhalfNV * v) { -// (*fnptr)(target, v); -// } -// static void glowMultiTexCoord4i(GPMULTITEXCOORD4I fnptr, GLenum target, GLint s, GLint t, GLint r, GLint q) { -// (*fnptr)(target, s, t, r, q); -// } -// static void glowMultiTexCoord4iARB(GPMULTITEXCOORD4IARB fnptr, GLenum target, GLint s, GLint t, GLint r, GLint q) { -// (*fnptr)(target, s, t, r, q); -// } -// static void glowMultiTexCoord4iv(GPMULTITEXCOORD4IV fnptr, GLenum target, const GLint * v) { -// (*fnptr)(target, v); -// } -// static void glowMultiTexCoord4ivARB(GPMULTITEXCOORD4IVARB fnptr, GLenum target, const GLint * v) { -// (*fnptr)(target, v); -// } -// static void glowMultiTexCoord4s(GPMULTITEXCOORD4S fnptr, GLenum target, GLshort s, GLshort t, GLshort r, GLshort q) { -// (*fnptr)(target, s, t, r, q); -// } -// static void glowMultiTexCoord4sARB(GPMULTITEXCOORD4SARB fnptr, GLenum target, GLshort s, GLshort t, GLshort r, GLshort q) { -// (*fnptr)(target, s, t, r, q); -// } -// static void glowMultiTexCoord4sv(GPMULTITEXCOORD4SV fnptr, GLenum target, const GLshort * v) { -// (*fnptr)(target, v); -// } -// static void glowMultiTexCoord4svARB(GPMULTITEXCOORD4SVARB fnptr, GLenum target, const GLshort * v) { -// (*fnptr)(target, v); -// } -// static void glowMultiTexCoord4xOES(GPMULTITEXCOORD4XOES fnptr, GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q) { -// (*fnptr)(texture, s, t, r, q); -// } -// static void glowMultiTexCoord4xvOES(GPMULTITEXCOORD4XVOES fnptr, GLenum texture, const GLfixed * coords) { -// (*fnptr)(texture, coords); -// } -// static void glowMultiTexCoordPointerEXT(GPMULTITEXCOORDPOINTEREXT fnptr, GLenum texunit, GLint size, GLenum type, GLsizei stride, const void * pointer) { -// (*fnptr)(texunit, size, type, stride, pointer); -// } -// static void glowMultiTexEnvfEXT(GPMULTITEXENVFEXT fnptr, GLenum texunit, GLenum target, GLenum pname, GLfloat param) { -// (*fnptr)(texunit, target, pname, param); -// } -// static void glowMultiTexEnvfvEXT(GPMULTITEXENVFVEXT fnptr, GLenum texunit, GLenum target, GLenum pname, const GLfloat * params) { -// (*fnptr)(texunit, target, pname, params); -// } -// static void glowMultiTexEnviEXT(GPMULTITEXENVIEXT fnptr, GLenum texunit, GLenum target, GLenum pname, GLint param) { -// (*fnptr)(texunit, target, pname, param); -// } -// static void glowMultiTexEnvivEXT(GPMULTITEXENVIVEXT fnptr, GLenum texunit, GLenum target, GLenum pname, const GLint * params) { -// (*fnptr)(texunit, target, pname, params); -// } -// static void glowMultiTexGendEXT(GPMULTITEXGENDEXT fnptr, GLenum texunit, GLenum coord, GLenum pname, GLdouble param) { -// (*fnptr)(texunit, coord, pname, param); -// } -// static void glowMultiTexGendvEXT(GPMULTITEXGENDVEXT fnptr, GLenum texunit, GLenum coord, GLenum pname, const GLdouble * params) { -// (*fnptr)(texunit, coord, pname, params); -// } -// static void glowMultiTexGenfEXT(GPMULTITEXGENFEXT fnptr, GLenum texunit, GLenum coord, GLenum pname, GLfloat param) { -// (*fnptr)(texunit, coord, pname, param); -// } -// static void glowMultiTexGenfvEXT(GPMULTITEXGENFVEXT fnptr, GLenum texunit, GLenum coord, GLenum pname, const GLfloat * params) { -// (*fnptr)(texunit, coord, pname, params); -// } -// static void glowMultiTexGeniEXT(GPMULTITEXGENIEXT fnptr, GLenum texunit, GLenum coord, GLenum pname, GLint param) { -// (*fnptr)(texunit, coord, pname, param); -// } -// static void glowMultiTexGenivEXT(GPMULTITEXGENIVEXT fnptr, GLenum texunit, GLenum coord, GLenum pname, const GLint * params) { -// (*fnptr)(texunit, coord, pname, params); -// } -// static void glowMultiTexImage1DEXT(GPMULTITEXIMAGE1DEXT fnptr, GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void * pixels) { -// (*fnptr)(texunit, target, level, internalformat, width, border, format, type, pixels); -// } -// static void glowMultiTexImage2DEXT(GPMULTITEXIMAGE2DEXT fnptr, GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void * pixels) { -// (*fnptr)(texunit, target, level, internalformat, width, height, border, format, type, pixels); -// } -// static void glowMultiTexImage3DEXT(GPMULTITEXIMAGE3DEXT fnptr, GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void * pixels) { -// (*fnptr)(texunit, target, level, internalformat, width, height, depth, border, format, type, pixels); -// } -// static void glowMultiTexParameterIivEXT(GPMULTITEXPARAMETERIIVEXT fnptr, GLenum texunit, GLenum target, GLenum pname, const GLint * params) { -// (*fnptr)(texunit, target, pname, params); -// } -// static void glowMultiTexParameterIuivEXT(GPMULTITEXPARAMETERIUIVEXT fnptr, GLenum texunit, GLenum target, GLenum pname, const GLuint * params) { -// (*fnptr)(texunit, target, pname, params); -// } -// static void glowMultiTexParameterfEXT(GPMULTITEXPARAMETERFEXT fnptr, GLenum texunit, GLenum target, GLenum pname, GLfloat param) { -// (*fnptr)(texunit, target, pname, param); -// } -// static void glowMultiTexParameterfvEXT(GPMULTITEXPARAMETERFVEXT fnptr, GLenum texunit, GLenum target, GLenum pname, const GLfloat * params) { -// (*fnptr)(texunit, target, pname, params); -// } -// static void glowMultiTexParameteriEXT(GPMULTITEXPARAMETERIEXT fnptr, GLenum texunit, GLenum target, GLenum pname, GLint param) { -// (*fnptr)(texunit, target, pname, param); -// } -// static void glowMultiTexParameterivEXT(GPMULTITEXPARAMETERIVEXT fnptr, GLenum texunit, GLenum target, GLenum pname, const GLint * params) { -// (*fnptr)(texunit, target, pname, params); -// } -// static void glowMultiTexRenderbufferEXT(GPMULTITEXRENDERBUFFEREXT fnptr, GLenum texunit, GLenum target, GLuint renderbuffer) { -// (*fnptr)(texunit, target, renderbuffer); -// } -// static void glowMultiTexSubImage1DEXT(GPMULTITEXSUBIMAGE1DEXT fnptr, GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void * pixels) { -// (*fnptr)(texunit, target, level, xoffset, width, format, type, pixels); -// } -// static void glowMultiTexSubImage2DEXT(GPMULTITEXSUBIMAGE2DEXT fnptr, GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * pixels) { -// (*fnptr)(texunit, target, level, xoffset, yoffset, width, height, format, type, pixels); -// } -// static void glowMultiTexSubImage3DEXT(GPMULTITEXSUBIMAGE3DEXT fnptr, GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * pixels) { -// (*fnptr)(texunit, target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); -// } -// static void glowMulticastBarrierNV(GPMULTICASTBARRIERNV fnptr) { -// (*fnptr)(); -// } -// static void glowMulticastBlitFramebufferNV(GPMULTICASTBLITFRAMEBUFFERNV fnptr, GLuint srcGpu, GLuint dstGpu, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) { -// (*fnptr)(srcGpu, dstGpu, srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); -// } -// static void glowMulticastBufferSubDataNV(GPMULTICASTBUFFERSUBDATANV fnptr, GLbitfield gpuMask, GLuint buffer, GLintptr offset, GLsizeiptr size, const void * data) { -// (*fnptr)(gpuMask, buffer, offset, size, data); -// } -// static void glowMulticastCopyBufferSubDataNV(GPMULTICASTCOPYBUFFERSUBDATANV fnptr, GLuint readGpu, GLbitfield writeGpuMask, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size) { -// (*fnptr)(readGpu, writeGpuMask, readBuffer, writeBuffer, readOffset, writeOffset, size); -// } -// static void glowMulticastCopyImageSubDataNV(GPMULTICASTCOPYIMAGESUBDATANV fnptr, GLuint srcGpu, GLbitfield dstGpuMask, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth) { -// (*fnptr)(srcGpu, dstGpuMask, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth); -// } -// static void glowMulticastFramebufferSampleLocationsfvNV(GPMULTICASTFRAMEBUFFERSAMPLELOCATIONSFVNV fnptr, GLuint gpu, GLuint framebuffer, GLuint start, GLsizei count, const GLfloat * v) { -// (*fnptr)(gpu, framebuffer, start, count, v); -// } -// static void glowMulticastGetQueryObjecti64vNV(GPMULTICASTGETQUERYOBJECTI64VNV fnptr, GLuint gpu, GLuint id, GLenum pname, GLint64 * params) { -// (*fnptr)(gpu, id, pname, params); -// } -// static void glowMulticastGetQueryObjectivNV(GPMULTICASTGETQUERYOBJECTIVNV fnptr, GLuint gpu, GLuint id, GLenum pname, GLint * params) { -// (*fnptr)(gpu, id, pname, params); -// } -// static void glowMulticastGetQueryObjectui64vNV(GPMULTICASTGETQUERYOBJECTUI64VNV fnptr, GLuint gpu, GLuint id, GLenum pname, GLuint64 * params) { -// (*fnptr)(gpu, id, pname, params); -// } -// static void glowMulticastGetQueryObjectuivNV(GPMULTICASTGETQUERYOBJECTUIVNV fnptr, GLuint gpu, GLuint id, GLenum pname, GLuint * params) { -// (*fnptr)(gpu, id, pname, params); -// } -// static void glowMulticastWaitSyncNV(GPMULTICASTWAITSYNCNV fnptr, GLuint signalGpu, GLbitfield waitGpuMask) { -// (*fnptr)(signalGpu, waitGpuMask); -// } -// static void glowNamedBufferData(GPNAMEDBUFFERDATA fnptr, GLuint buffer, GLsizeiptr size, const void * data, GLenum usage) { -// (*fnptr)(buffer, size, data, usage); -// } -// static void glowNamedBufferDataEXT(GPNAMEDBUFFERDATAEXT fnptr, GLuint buffer, GLsizeiptr size, const void * data, GLenum usage) { -// (*fnptr)(buffer, size, data, usage); -// } -// static void glowNamedBufferPageCommitmentARB(GPNAMEDBUFFERPAGECOMMITMENTARB fnptr, GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit) { -// (*fnptr)(buffer, offset, size, commit); -// } -// static void glowNamedBufferPageCommitmentEXT(GPNAMEDBUFFERPAGECOMMITMENTEXT fnptr, GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit) { -// (*fnptr)(buffer, offset, size, commit); -// } -// static void glowNamedBufferStorage(GPNAMEDBUFFERSTORAGE fnptr, GLuint buffer, GLsizeiptr size, const void * data, GLbitfield flags) { -// (*fnptr)(buffer, size, data, flags); -// } -// static void glowNamedBufferStorageEXT(GPNAMEDBUFFERSTORAGEEXT fnptr, GLuint buffer, GLsizeiptr size, const void * data, GLbitfield flags) { -// (*fnptr)(buffer, size, data, flags); -// } -// static void glowNamedBufferStorageExternalEXT(GPNAMEDBUFFERSTORAGEEXTERNALEXT fnptr, GLuint buffer, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags) { -// (*fnptr)(buffer, offset, size, clientBuffer, flags); -// } -// static void glowNamedBufferStorageMemEXT(GPNAMEDBUFFERSTORAGEMEMEXT fnptr, GLuint buffer, GLsizeiptr size, GLuint memory, GLuint64 offset) { -// (*fnptr)(buffer, size, memory, offset); -// } -// static void glowNamedBufferSubData(GPNAMEDBUFFERSUBDATA fnptr, GLuint buffer, GLintptr offset, GLsizeiptr size, const void * data) { -// (*fnptr)(buffer, offset, size, data); -// } -// static void glowNamedBufferSubDataEXT(GPNAMEDBUFFERSUBDATAEXT fnptr, GLuint buffer, GLintptr offset, GLsizeiptr size, const void * data) { -// (*fnptr)(buffer, offset, size, data); -// } -// static void glowNamedCopyBufferSubDataEXT(GPNAMEDCOPYBUFFERSUBDATAEXT fnptr, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size) { -// (*fnptr)(readBuffer, writeBuffer, readOffset, writeOffset, size); -// } -// static void glowNamedFramebufferDrawBuffer(GPNAMEDFRAMEBUFFERDRAWBUFFER fnptr, GLuint framebuffer, GLenum buf) { -// (*fnptr)(framebuffer, buf); -// } -// static void glowNamedFramebufferDrawBuffers(GPNAMEDFRAMEBUFFERDRAWBUFFERS fnptr, GLuint framebuffer, GLsizei n, const GLenum * bufs) { -// (*fnptr)(framebuffer, n, bufs); -// } -// static void glowNamedFramebufferParameteri(GPNAMEDFRAMEBUFFERPARAMETERI fnptr, GLuint framebuffer, GLenum pname, GLint param) { -// (*fnptr)(framebuffer, pname, param); -// } -// static void glowNamedFramebufferParameteriEXT(GPNAMEDFRAMEBUFFERPARAMETERIEXT fnptr, GLuint framebuffer, GLenum pname, GLint param) { -// (*fnptr)(framebuffer, pname, param); -// } -// static void glowNamedFramebufferReadBuffer(GPNAMEDFRAMEBUFFERREADBUFFER fnptr, GLuint framebuffer, GLenum src) { -// (*fnptr)(framebuffer, src); -// } -// static void glowNamedFramebufferRenderbuffer(GPNAMEDFRAMEBUFFERRENDERBUFFER fnptr, GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) { -// (*fnptr)(framebuffer, attachment, renderbuffertarget, renderbuffer); -// } -// static void glowNamedFramebufferRenderbufferEXT(GPNAMEDFRAMEBUFFERRENDERBUFFEREXT fnptr, GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) { -// (*fnptr)(framebuffer, attachment, renderbuffertarget, renderbuffer); -// } -// static void glowNamedFramebufferSampleLocationsfvARB(GPNAMEDFRAMEBUFFERSAMPLELOCATIONSFVARB fnptr, GLuint framebuffer, GLuint start, GLsizei count, const GLfloat * v) { -// (*fnptr)(framebuffer, start, count, v); -// } -// static void glowNamedFramebufferSampleLocationsfvNV(GPNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNV fnptr, GLuint framebuffer, GLuint start, GLsizei count, const GLfloat * v) { -// (*fnptr)(framebuffer, start, count, v); -// } -// static void glowNamedFramebufferSamplePositionsfvAMD(GPNAMEDFRAMEBUFFERSAMPLEPOSITIONSFVAMD fnptr, GLuint framebuffer, GLuint numsamples, GLuint pixelindex, const GLfloat * values) { -// (*fnptr)(framebuffer, numsamples, pixelindex, values); -// } -// static void glowNamedFramebufferTexture(GPNAMEDFRAMEBUFFERTEXTURE fnptr, GLuint framebuffer, GLenum attachment, GLuint texture, GLint level) { -// (*fnptr)(framebuffer, attachment, texture, level); -// } -// static void glowNamedFramebufferTexture1DEXT(GPNAMEDFRAMEBUFFERTEXTURE1DEXT fnptr, GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level) { -// (*fnptr)(framebuffer, attachment, textarget, texture, level); -// } -// static void glowNamedFramebufferTexture2DEXT(GPNAMEDFRAMEBUFFERTEXTURE2DEXT fnptr, GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level) { -// (*fnptr)(framebuffer, attachment, textarget, texture, level); -// } -// static void glowNamedFramebufferTexture3DEXT(GPNAMEDFRAMEBUFFERTEXTURE3DEXT fnptr, GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset) { -// (*fnptr)(framebuffer, attachment, textarget, texture, level, zoffset); -// } -// static void glowNamedFramebufferTextureEXT(GPNAMEDFRAMEBUFFERTEXTUREEXT fnptr, GLuint framebuffer, GLenum attachment, GLuint texture, GLint level) { -// (*fnptr)(framebuffer, attachment, texture, level); -// } -// static void glowNamedFramebufferTextureFaceEXT(GPNAMEDFRAMEBUFFERTEXTUREFACEEXT fnptr, GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face) { -// (*fnptr)(framebuffer, attachment, texture, level, face); -// } -// static void glowNamedFramebufferTextureLayer(GPNAMEDFRAMEBUFFERTEXTURELAYER fnptr, GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer) { -// (*fnptr)(framebuffer, attachment, texture, level, layer); -// } -// static void glowNamedFramebufferTextureLayerEXT(GPNAMEDFRAMEBUFFERTEXTURELAYEREXT fnptr, GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer) { -// (*fnptr)(framebuffer, attachment, texture, level, layer); -// } -// static void glowNamedProgramLocalParameter4dEXT(GPNAMEDPROGRAMLOCALPARAMETER4DEXT fnptr, GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) { -// (*fnptr)(program, target, index, x, y, z, w); -// } -// static void glowNamedProgramLocalParameter4dvEXT(GPNAMEDPROGRAMLOCALPARAMETER4DVEXT fnptr, GLuint program, GLenum target, GLuint index, const GLdouble * params) { -// (*fnptr)(program, target, index, params); -// } -// static void glowNamedProgramLocalParameter4fEXT(GPNAMEDPROGRAMLOCALPARAMETER4FEXT fnptr, GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) { -// (*fnptr)(program, target, index, x, y, z, w); -// } -// static void glowNamedProgramLocalParameter4fvEXT(GPNAMEDPROGRAMLOCALPARAMETER4FVEXT fnptr, GLuint program, GLenum target, GLuint index, const GLfloat * params) { -// (*fnptr)(program, target, index, params); -// } -// static void glowNamedProgramLocalParameterI4iEXT(GPNAMEDPROGRAMLOCALPARAMETERI4IEXT fnptr, GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w) { -// (*fnptr)(program, target, index, x, y, z, w); -// } -// static void glowNamedProgramLocalParameterI4ivEXT(GPNAMEDPROGRAMLOCALPARAMETERI4IVEXT fnptr, GLuint program, GLenum target, GLuint index, const GLint * params) { -// (*fnptr)(program, target, index, params); -// } -// static void glowNamedProgramLocalParameterI4uiEXT(GPNAMEDPROGRAMLOCALPARAMETERI4UIEXT fnptr, GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w) { -// (*fnptr)(program, target, index, x, y, z, w); -// } -// static void glowNamedProgramLocalParameterI4uivEXT(GPNAMEDPROGRAMLOCALPARAMETERI4UIVEXT fnptr, GLuint program, GLenum target, GLuint index, const GLuint * params) { -// (*fnptr)(program, target, index, params); -// } -// static void glowNamedProgramLocalParameters4fvEXT(GPNAMEDPROGRAMLOCALPARAMETERS4FVEXT fnptr, GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat * params) { -// (*fnptr)(program, target, index, count, params); -// } -// static void glowNamedProgramLocalParametersI4ivEXT(GPNAMEDPROGRAMLOCALPARAMETERSI4IVEXT fnptr, GLuint program, GLenum target, GLuint index, GLsizei count, const GLint * params) { -// (*fnptr)(program, target, index, count, params); -// } -// static void glowNamedProgramLocalParametersI4uivEXT(GPNAMEDPROGRAMLOCALPARAMETERSI4UIVEXT fnptr, GLuint program, GLenum target, GLuint index, GLsizei count, const GLuint * params) { -// (*fnptr)(program, target, index, count, params); -// } -// static void glowNamedProgramStringEXT(GPNAMEDPROGRAMSTRINGEXT fnptr, GLuint program, GLenum target, GLenum format, GLsizei len, const void * string) { -// (*fnptr)(program, target, format, len, string); -// } -// static void glowNamedRenderbufferStorage(GPNAMEDRENDERBUFFERSTORAGE fnptr, GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height) { -// (*fnptr)(renderbuffer, internalformat, width, height); -// } -// static void glowNamedRenderbufferStorageEXT(GPNAMEDRENDERBUFFERSTORAGEEXT fnptr, GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height) { -// (*fnptr)(renderbuffer, internalformat, width, height); -// } -// static void glowNamedRenderbufferStorageMultisample(GPNAMEDRENDERBUFFERSTORAGEMULTISAMPLE fnptr, GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) { -// (*fnptr)(renderbuffer, samples, internalformat, width, height); -// } -// static void glowNamedRenderbufferStorageMultisampleCoverageEXT(GPNAMEDRENDERBUFFERSTORAGEMULTISAMPLECOVERAGEEXT fnptr, GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height) { -// (*fnptr)(renderbuffer, coverageSamples, colorSamples, internalformat, width, height); -// } -// static void glowNamedRenderbufferStorageMultisampleEXT(GPNAMEDRENDERBUFFERSTORAGEMULTISAMPLEEXT fnptr, GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) { -// (*fnptr)(renderbuffer, samples, internalformat, width, height); -// } -// static void glowNamedStringARB(GPNAMEDSTRINGARB fnptr, GLenum type, GLint namelen, const GLchar * name, GLint stringlen, const GLchar * string) { -// (*fnptr)(type, namelen, name, stringlen, string); -// } -// static void glowNewList(GPNEWLIST fnptr, GLuint list, GLenum mode) { -// (*fnptr)(list, mode); -// } -// static GLuint glowNewObjectBufferATI(GPNEWOBJECTBUFFERATI fnptr, GLsizei size, const void * pointer, GLenum usage) { -// return (*fnptr)(size, pointer, usage); -// } -// static void glowNormal3b(GPNORMAL3B fnptr, GLbyte nx, GLbyte ny, GLbyte nz) { -// (*fnptr)(nx, ny, nz); -// } -// static void glowNormal3bv(GPNORMAL3BV fnptr, const GLbyte * v) { -// (*fnptr)(v); -// } -// static void glowNormal3d(GPNORMAL3D fnptr, GLdouble nx, GLdouble ny, GLdouble nz) { -// (*fnptr)(nx, ny, nz); -// } -// static void glowNormal3dv(GPNORMAL3DV fnptr, const GLdouble * v) { -// (*fnptr)(v); -// } -// static void glowNormal3f(GPNORMAL3F fnptr, GLfloat nx, GLfloat ny, GLfloat nz) { -// (*fnptr)(nx, ny, nz); -// } -// static void glowNormal3fVertex3fSUN(GPNORMAL3FVERTEX3FSUN fnptr, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z) { -// (*fnptr)(nx, ny, nz, x, y, z); -// } -// static void glowNormal3fVertex3fvSUN(GPNORMAL3FVERTEX3FVSUN fnptr, const GLfloat * n, const GLfloat * v) { -// (*fnptr)(n, v); -// } -// static void glowNormal3fv(GPNORMAL3FV fnptr, const GLfloat * v) { -// (*fnptr)(v); -// } -// static void glowNormal3hNV(GPNORMAL3HNV fnptr, GLhalfNV nx, GLhalfNV ny, GLhalfNV nz) { -// (*fnptr)(nx, ny, nz); -// } -// static void glowNormal3hvNV(GPNORMAL3HVNV fnptr, const GLhalfNV * v) { -// (*fnptr)(v); -// } -// static void glowNormal3i(GPNORMAL3I fnptr, GLint nx, GLint ny, GLint nz) { -// (*fnptr)(nx, ny, nz); -// } -// static void glowNormal3iv(GPNORMAL3IV fnptr, const GLint * v) { -// (*fnptr)(v); -// } -// static void glowNormal3s(GPNORMAL3S fnptr, GLshort nx, GLshort ny, GLshort nz) { -// (*fnptr)(nx, ny, nz); -// } -// static void glowNormal3sv(GPNORMAL3SV fnptr, const GLshort * v) { -// (*fnptr)(v); -// } -// static void glowNormal3xOES(GPNORMAL3XOES fnptr, GLfixed nx, GLfixed ny, GLfixed nz) { -// (*fnptr)(nx, ny, nz); -// } -// static void glowNormal3xvOES(GPNORMAL3XVOES fnptr, const GLfixed * coords) { -// (*fnptr)(coords); -// } -// static void glowNormalFormatNV(GPNORMALFORMATNV fnptr, GLenum type, GLsizei stride) { -// (*fnptr)(type, stride); -// } -// static void glowNormalPointer(GPNORMALPOINTER fnptr, GLenum type, GLsizei stride, const void * pointer) { -// (*fnptr)(type, stride, pointer); -// } -// static void glowNormalPointerEXT(GPNORMALPOINTEREXT fnptr, GLenum type, GLsizei stride, GLsizei count, const void * pointer) { -// (*fnptr)(type, stride, count, pointer); -// } -// static void glowNormalPointerListIBM(GPNORMALPOINTERLISTIBM fnptr, GLenum type, GLint stride, const void ** pointer, GLint ptrstride) { -// (*fnptr)(type, stride, pointer, ptrstride); -// } -// static void glowNormalPointervINTEL(GPNORMALPOINTERVINTEL fnptr, GLenum type, const void ** pointer) { -// (*fnptr)(type, pointer); -// } -// static void glowNormalStream3bATI(GPNORMALSTREAM3BATI fnptr, GLenum stream, GLbyte nx, GLbyte ny, GLbyte nz) { -// (*fnptr)(stream, nx, ny, nz); -// } -// static void glowNormalStream3bvATI(GPNORMALSTREAM3BVATI fnptr, GLenum stream, const GLbyte * coords) { -// (*fnptr)(stream, coords); -// } -// static void glowNormalStream3dATI(GPNORMALSTREAM3DATI fnptr, GLenum stream, GLdouble nx, GLdouble ny, GLdouble nz) { -// (*fnptr)(stream, nx, ny, nz); -// } -// static void glowNormalStream3dvATI(GPNORMALSTREAM3DVATI fnptr, GLenum stream, const GLdouble * coords) { -// (*fnptr)(stream, coords); -// } -// static void glowNormalStream3fATI(GPNORMALSTREAM3FATI fnptr, GLenum stream, GLfloat nx, GLfloat ny, GLfloat nz) { -// (*fnptr)(stream, nx, ny, nz); -// } -// static void glowNormalStream3fvATI(GPNORMALSTREAM3FVATI fnptr, GLenum stream, const GLfloat * coords) { -// (*fnptr)(stream, coords); -// } -// static void glowNormalStream3iATI(GPNORMALSTREAM3IATI fnptr, GLenum stream, GLint nx, GLint ny, GLint nz) { -// (*fnptr)(stream, nx, ny, nz); -// } -// static void glowNormalStream3ivATI(GPNORMALSTREAM3IVATI fnptr, GLenum stream, const GLint * coords) { -// (*fnptr)(stream, coords); -// } -// static void glowNormalStream3sATI(GPNORMALSTREAM3SATI fnptr, GLenum stream, GLshort nx, GLshort ny, GLshort nz) { -// (*fnptr)(stream, nx, ny, nz); -// } -// static void glowNormalStream3svATI(GPNORMALSTREAM3SVATI fnptr, GLenum stream, const GLshort * coords) { -// (*fnptr)(stream, coords); -// } -// static void glowObjectLabel(GPOBJECTLABEL fnptr, GLenum identifier, GLuint name, GLsizei length, const GLchar * label) { -// (*fnptr)(identifier, name, length, label); -// } -// static void glowObjectLabelKHR(GPOBJECTLABELKHR fnptr, GLenum identifier, GLuint name, GLsizei length, const GLchar * label) { -// (*fnptr)(identifier, name, length, label); -// } -// static void glowObjectPtrLabel(GPOBJECTPTRLABEL fnptr, const void * ptr, GLsizei length, const GLchar * label) { -// (*fnptr)(ptr, length, label); -// } -// static void glowObjectPtrLabelKHR(GPOBJECTPTRLABELKHR fnptr, const void * ptr, GLsizei length, const GLchar * label) { -// (*fnptr)(ptr, length, label); -// } -// static GLenum glowObjectPurgeableAPPLE(GPOBJECTPURGEABLEAPPLE fnptr, GLenum objectType, GLuint name, GLenum option) { -// return (*fnptr)(objectType, name, option); -// } -// static GLenum glowObjectUnpurgeableAPPLE(GPOBJECTUNPURGEABLEAPPLE fnptr, GLenum objectType, GLuint name, GLenum option) { -// return (*fnptr)(objectType, name, option); -// } -// static void glowOrtho(GPORTHO fnptr, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar) { -// (*fnptr)(left, right, bottom, top, zNear, zFar); -// } -// static void glowOrthofOES(GPORTHOFOES fnptr, GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f) { -// (*fnptr)(l, r, b, t, n, f); -// } -// static void glowOrthoxOES(GPORTHOXOES fnptr, GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f) { -// (*fnptr)(l, r, b, t, n, f); -// } -// static void glowPNTrianglesfATI(GPPNTRIANGLESFATI fnptr, GLenum pname, GLfloat param) { -// (*fnptr)(pname, param); -// } -// static void glowPNTrianglesiATI(GPPNTRIANGLESIATI fnptr, GLenum pname, GLint param) { -// (*fnptr)(pname, param); -// } -// static void glowPassTexCoordATI(GPPASSTEXCOORDATI fnptr, GLuint dst, GLuint coord, GLenum swizzle) { -// (*fnptr)(dst, coord, swizzle); -// } -// static void glowPassThrough(GPPASSTHROUGH fnptr, GLfloat token) { -// (*fnptr)(token); -// } -// static void glowPassThroughxOES(GPPASSTHROUGHXOES fnptr, GLfixed token) { -// (*fnptr)(token); -// } -// static void glowPatchParameterfv(GPPATCHPARAMETERFV fnptr, GLenum pname, const GLfloat * values) { -// (*fnptr)(pname, values); -// } -// static void glowPatchParameteri(GPPATCHPARAMETERI fnptr, GLenum pname, GLint value) { -// (*fnptr)(pname, value); -// } -// static void glowPathCommandsNV(GPPATHCOMMANDSNV fnptr, GLuint path, GLsizei numCommands, const GLubyte * commands, GLsizei numCoords, GLenum coordType, const void * coords) { -// (*fnptr)(path, numCommands, commands, numCoords, coordType, coords); -// } -// static void glowPathCoordsNV(GPPATHCOORDSNV fnptr, GLuint path, GLsizei numCoords, GLenum coordType, const void * coords) { -// (*fnptr)(path, numCoords, coordType, coords); -// } -// static void glowPathCoverDepthFuncNV(GPPATHCOVERDEPTHFUNCNV fnptr, GLenum func) { -// (*fnptr)(func); -// } -// static void glowPathDashArrayNV(GPPATHDASHARRAYNV fnptr, GLuint path, GLsizei dashCount, const GLfloat * dashArray) { -// (*fnptr)(path, dashCount, dashArray); -// } -// static GLenum glowPathGlyphIndexArrayNV(GPPATHGLYPHINDEXARRAYNV fnptr, GLuint firstPathName, GLenum fontTarget, const void * fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale) { -// return (*fnptr)(firstPathName, fontTarget, fontName, fontStyle, firstGlyphIndex, numGlyphs, pathParameterTemplate, emScale); -// } -// static GLenum glowPathGlyphIndexRangeNV(GPPATHGLYPHINDEXRANGENV fnptr, GLenum fontTarget, const void * fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint * baseAndCount) { -// return (*fnptr)(fontTarget, fontName, fontStyle, pathParameterTemplate, emScale, baseAndCount); -// } -// static void glowPathGlyphRangeNV(GPPATHGLYPHRANGENV fnptr, GLuint firstPathName, GLenum fontTarget, const void * fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale) { -// (*fnptr)(firstPathName, fontTarget, fontName, fontStyle, firstGlyph, numGlyphs, handleMissingGlyphs, pathParameterTemplate, emScale); -// } -// static void glowPathGlyphsNV(GPPATHGLYPHSNV fnptr, GLuint firstPathName, GLenum fontTarget, const void * fontName, GLbitfield fontStyle, GLsizei numGlyphs, GLenum type, const void * charcodes, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale) { -// (*fnptr)(firstPathName, fontTarget, fontName, fontStyle, numGlyphs, type, charcodes, handleMissingGlyphs, pathParameterTemplate, emScale); -// } -// static GLenum glowPathMemoryGlyphIndexArrayNV(GPPATHMEMORYGLYPHINDEXARRAYNV fnptr, GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void * fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale) { -// return (*fnptr)(firstPathName, fontTarget, fontSize, fontData, faceIndex, firstGlyphIndex, numGlyphs, pathParameterTemplate, emScale); -// } -// static void glowPathParameterfNV(GPPATHPARAMETERFNV fnptr, GLuint path, GLenum pname, GLfloat value) { -// (*fnptr)(path, pname, value); -// } -// static void glowPathParameterfvNV(GPPATHPARAMETERFVNV fnptr, GLuint path, GLenum pname, const GLfloat * value) { -// (*fnptr)(path, pname, value); -// } -// static void glowPathParameteriNV(GPPATHPARAMETERINV fnptr, GLuint path, GLenum pname, GLint value) { -// (*fnptr)(path, pname, value); -// } -// static void glowPathParameterivNV(GPPATHPARAMETERIVNV fnptr, GLuint path, GLenum pname, const GLint * value) { -// (*fnptr)(path, pname, value); -// } -// static void glowPathStencilDepthOffsetNV(GPPATHSTENCILDEPTHOFFSETNV fnptr, GLfloat factor, GLfloat units) { -// (*fnptr)(factor, units); -// } -// static void glowPathStencilFuncNV(GPPATHSTENCILFUNCNV fnptr, GLenum func, GLint ref, GLuint mask) { -// (*fnptr)(func, ref, mask); -// } -// static void glowPathStringNV(GPPATHSTRINGNV fnptr, GLuint path, GLenum format, GLsizei length, const void * pathString) { -// (*fnptr)(path, format, length, pathString); -// } -// static void glowPathSubCommandsNV(GPPATHSUBCOMMANDSNV fnptr, GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte * commands, GLsizei numCoords, GLenum coordType, const void * coords) { -// (*fnptr)(path, commandStart, commandsToDelete, numCommands, commands, numCoords, coordType, coords); -// } -// static void glowPathSubCoordsNV(GPPATHSUBCOORDSNV fnptr, GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void * coords) { -// (*fnptr)(path, coordStart, numCoords, coordType, coords); -// } -// static void glowPauseTransformFeedback(GPPAUSETRANSFORMFEEDBACK fnptr) { -// (*fnptr)(); -// } -// static void glowPauseTransformFeedbackNV(GPPAUSETRANSFORMFEEDBACKNV fnptr) { -// (*fnptr)(); -// } -// static void glowPixelDataRangeNV(GPPIXELDATARANGENV fnptr, GLenum target, GLsizei length, const void * pointer) { -// (*fnptr)(target, length, pointer); -// } -// static void glowPixelMapfv(GPPIXELMAPFV fnptr, GLenum map, GLsizei mapsize, const GLfloat * values) { -// (*fnptr)(map, mapsize, values); -// } -// static void glowPixelMapuiv(GPPIXELMAPUIV fnptr, GLenum map, GLsizei mapsize, const GLuint * values) { -// (*fnptr)(map, mapsize, values); -// } -// static void glowPixelMapusv(GPPIXELMAPUSV fnptr, GLenum map, GLsizei mapsize, const GLushort * values) { -// (*fnptr)(map, mapsize, values); -// } -// static void glowPixelMapx(GPPIXELMAPX fnptr, GLenum map, GLint size, const GLfixed * values) { -// (*fnptr)(map, size, values); -// } -// static void glowPixelStoref(GPPIXELSTOREF fnptr, GLenum pname, GLfloat param) { -// (*fnptr)(pname, param); -// } // static void glowPixelStorei(GPPIXELSTOREI fnptr, GLenum pname, GLint param) { // (*fnptr)(pname, param); // } -// static void glowPixelStorex(GPPIXELSTOREX fnptr, GLenum pname, GLfixed param) { -// (*fnptr)(pname, param); -// } -// static void glowPixelTexGenParameterfSGIS(GPPIXELTEXGENPARAMETERFSGIS fnptr, GLenum pname, GLfloat param) { -// (*fnptr)(pname, param); -// } -// static void glowPixelTexGenParameterfvSGIS(GPPIXELTEXGENPARAMETERFVSGIS fnptr, GLenum pname, const GLfloat * params) { -// (*fnptr)(pname, params); -// } -// static void glowPixelTexGenParameteriSGIS(GPPIXELTEXGENPARAMETERISGIS fnptr, GLenum pname, GLint param) { -// (*fnptr)(pname, param); -// } -// static void glowPixelTexGenParameterivSGIS(GPPIXELTEXGENPARAMETERIVSGIS fnptr, GLenum pname, const GLint * params) { -// (*fnptr)(pname, params); -// } -// static void glowPixelTexGenSGIX(GPPIXELTEXGENSGIX fnptr, GLenum mode) { -// (*fnptr)(mode); -// } -// static void glowPixelTransferf(GPPIXELTRANSFERF fnptr, GLenum pname, GLfloat param) { -// (*fnptr)(pname, param); -// } -// static void glowPixelTransferi(GPPIXELTRANSFERI fnptr, GLenum pname, GLint param) { -// (*fnptr)(pname, param); -// } -// static void glowPixelTransferxOES(GPPIXELTRANSFERXOES fnptr, GLenum pname, GLfixed param) { -// (*fnptr)(pname, param); -// } -// static void glowPixelTransformParameterfEXT(GPPIXELTRANSFORMPARAMETERFEXT fnptr, GLenum target, GLenum pname, GLfloat param) { -// (*fnptr)(target, pname, param); -// } -// static void glowPixelTransformParameterfvEXT(GPPIXELTRANSFORMPARAMETERFVEXT fnptr, GLenum target, GLenum pname, const GLfloat * params) { -// (*fnptr)(target, pname, params); -// } -// static void glowPixelTransformParameteriEXT(GPPIXELTRANSFORMPARAMETERIEXT fnptr, GLenum target, GLenum pname, GLint param) { -// (*fnptr)(target, pname, param); -// } -// static void glowPixelTransformParameterivEXT(GPPIXELTRANSFORMPARAMETERIVEXT fnptr, GLenum target, GLenum pname, const GLint * params) { -// (*fnptr)(target, pname, params); -// } -// static void glowPixelZoom(GPPIXELZOOM fnptr, GLfloat xfactor, GLfloat yfactor) { -// (*fnptr)(xfactor, yfactor); -// } -// static void glowPixelZoomxOES(GPPIXELZOOMXOES fnptr, GLfixed xfactor, GLfixed yfactor) { -// (*fnptr)(xfactor, yfactor); -// } -// static GLboolean glowPointAlongPathNV(GPPOINTALONGPATHNV fnptr, GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat * x, GLfloat * y, GLfloat * tangentX, GLfloat * tangentY) { -// return (*fnptr)(path, startSegment, numSegments, distance, x, y, tangentX, tangentY); -// } -// static void glowPointParameterf(GPPOINTPARAMETERF fnptr, GLenum pname, GLfloat param) { -// (*fnptr)(pname, param); -// } -// static void glowPointParameterfARB(GPPOINTPARAMETERFARB fnptr, GLenum pname, GLfloat param) { -// (*fnptr)(pname, param); -// } -// static void glowPointParameterfEXT(GPPOINTPARAMETERFEXT fnptr, GLenum pname, GLfloat param) { -// (*fnptr)(pname, param); -// } -// static void glowPointParameterfSGIS(GPPOINTPARAMETERFSGIS fnptr, GLenum pname, GLfloat param) { -// (*fnptr)(pname, param); -// } -// static void glowPointParameterfv(GPPOINTPARAMETERFV fnptr, GLenum pname, const GLfloat * params) { -// (*fnptr)(pname, params); -// } -// static void glowPointParameterfvARB(GPPOINTPARAMETERFVARB fnptr, GLenum pname, const GLfloat * params) { -// (*fnptr)(pname, params); -// } -// static void glowPointParameterfvEXT(GPPOINTPARAMETERFVEXT fnptr, GLenum pname, const GLfloat * params) { -// (*fnptr)(pname, params); -// } -// static void glowPointParameterfvSGIS(GPPOINTPARAMETERFVSGIS fnptr, GLenum pname, const GLfloat * params) { -// (*fnptr)(pname, params); -// } -// static void glowPointParameteri(GPPOINTPARAMETERI fnptr, GLenum pname, GLint param) { -// (*fnptr)(pname, param); -// } -// static void glowPointParameteriNV(GPPOINTPARAMETERINV fnptr, GLenum pname, GLint param) { -// (*fnptr)(pname, param); -// } -// static void glowPointParameteriv(GPPOINTPARAMETERIV fnptr, GLenum pname, const GLint * params) { -// (*fnptr)(pname, params); -// } -// static void glowPointParameterivNV(GPPOINTPARAMETERIVNV fnptr, GLenum pname, const GLint * params) { -// (*fnptr)(pname, params); -// } -// static void glowPointParameterxOES(GPPOINTPARAMETERXOES fnptr, GLenum pname, GLfixed param) { -// (*fnptr)(pname, param); -// } -// static void glowPointParameterxvOES(GPPOINTPARAMETERXVOES fnptr, GLenum pname, const GLfixed * params) { -// (*fnptr)(pname, params); -// } -// static void glowPointSize(GPPOINTSIZE fnptr, GLfloat size) { -// (*fnptr)(size); -// } -// static void glowPointSizexOES(GPPOINTSIZEXOES fnptr, GLfixed size) { -// (*fnptr)(size); -// } -// static GLint glowPollAsyncSGIX(GPPOLLASYNCSGIX fnptr, GLuint * markerp) { -// return (*fnptr)(markerp); -// } -// static GLint glowPollInstrumentsSGIX(GPPOLLINSTRUMENTSSGIX fnptr, GLint * marker_p) { -// return (*fnptr)(marker_p); -// } -// static void glowPolygonMode(GPPOLYGONMODE fnptr, GLenum face, GLenum mode) { -// (*fnptr)(face, mode); -// } -// static void glowPolygonOffset(GPPOLYGONOFFSET fnptr, GLfloat factor, GLfloat units) { -// (*fnptr)(factor, units); -// } -// static void glowPolygonOffsetClamp(GPPOLYGONOFFSETCLAMP fnptr, GLfloat factor, GLfloat units, GLfloat clamp) { -// (*fnptr)(factor, units, clamp); -// } -// static void glowPolygonOffsetClampEXT(GPPOLYGONOFFSETCLAMPEXT fnptr, GLfloat factor, GLfloat units, GLfloat clamp) { -// (*fnptr)(factor, units, clamp); -// } -// static void glowPolygonOffsetEXT(GPPOLYGONOFFSETEXT fnptr, GLfloat factor, GLfloat bias) { -// (*fnptr)(factor, bias); -// } -// static void glowPolygonOffsetxOES(GPPOLYGONOFFSETXOES fnptr, GLfixed factor, GLfixed units) { -// (*fnptr)(factor, units); -// } -// static void glowPolygonStipple(GPPOLYGONSTIPPLE fnptr, const GLubyte * mask) { -// (*fnptr)(mask); -// } -// static void glowPopAttrib(GPPOPATTRIB fnptr) { -// (*fnptr)(); -// } -// static void glowPopClientAttrib(GPPOPCLIENTATTRIB fnptr) { -// (*fnptr)(); -// } -// static void glowPopDebugGroup(GPPOPDEBUGGROUP fnptr) { -// (*fnptr)(); -// } -// static void glowPopDebugGroupKHR(GPPOPDEBUGGROUPKHR fnptr) { -// (*fnptr)(); -// } -// static void glowPopGroupMarkerEXT(GPPOPGROUPMARKEREXT fnptr) { -// (*fnptr)(); -// } -// static void glowPopMatrix(GPPOPMATRIX fnptr) { -// (*fnptr)(); -// } -// static void glowPopName(GPPOPNAME fnptr) { -// (*fnptr)(); -// } -// static void glowPresentFrameDualFillNV(GPPRESENTFRAMEDUALFILLNV fnptr, GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLenum target1, GLuint fill1, GLenum target2, GLuint fill2, GLenum target3, GLuint fill3) { -// (*fnptr)(video_slot, minPresentTime, beginPresentTimeId, presentDurationId, type, target0, fill0, target1, fill1, target2, fill2, target3, fill3); -// } -// static void glowPresentFrameKeyedNV(GPPRESENTFRAMEKEYEDNV fnptr, GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLuint key0, GLenum target1, GLuint fill1, GLuint key1) { -// (*fnptr)(video_slot, minPresentTime, beginPresentTimeId, presentDurationId, type, target0, fill0, key0, target1, fill1, key1); -// } -// static void glowPrimitiveBoundingBoxARB(GPPRIMITIVEBOUNDINGBOXARB fnptr, GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW) { -// (*fnptr)(minX, minY, minZ, minW, maxX, maxY, maxZ, maxW); -// } -// static void glowPrimitiveRestartIndexNV(GPPRIMITIVERESTARTINDEXNV fnptr, GLuint index) { -// (*fnptr)(index); -// } -// static void glowPrimitiveRestartNV(GPPRIMITIVERESTARTNV fnptr) { -// (*fnptr)(); -// } -// static void glowPrioritizeTextures(GPPRIORITIZETEXTURES fnptr, GLsizei n, const GLuint * textures, const GLfloat * priorities) { -// (*fnptr)(n, textures, priorities); -// } -// static void glowPrioritizeTexturesEXT(GPPRIORITIZETEXTURESEXT fnptr, GLsizei n, const GLuint * textures, const GLclampf * priorities) { -// (*fnptr)(n, textures, priorities); -// } -// static void glowPrioritizeTexturesxOES(GPPRIORITIZETEXTURESXOES fnptr, GLsizei n, const GLuint * textures, const GLfixed * priorities) { -// (*fnptr)(n, textures, priorities); -// } -// static void glowProgramBinary(GPPROGRAMBINARY fnptr, GLuint program, GLenum binaryFormat, const void * binary, GLsizei length) { -// (*fnptr)(program, binaryFormat, binary, length); -// } -// static void glowProgramBufferParametersIivNV(GPPROGRAMBUFFERPARAMETERSIIVNV fnptr, GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLint * params) { -// (*fnptr)(target, bindingIndex, wordIndex, count, params); -// } -// static void glowProgramBufferParametersIuivNV(GPPROGRAMBUFFERPARAMETERSIUIVNV fnptr, GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLuint * params) { -// (*fnptr)(target, bindingIndex, wordIndex, count, params); -// } -// static void glowProgramBufferParametersfvNV(GPPROGRAMBUFFERPARAMETERSFVNV fnptr, GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLfloat * params) { -// (*fnptr)(target, bindingIndex, wordIndex, count, params); -// } -// static void glowProgramEnvParameter4dARB(GPPROGRAMENVPARAMETER4DARB fnptr, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) { -// (*fnptr)(target, index, x, y, z, w); -// } -// static void glowProgramEnvParameter4dvARB(GPPROGRAMENVPARAMETER4DVARB fnptr, GLenum target, GLuint index, const GLdouble * params) { -// (*fnptr)(target, index, params); -// } -// static void glowProgramEnvParameter4fARB(GPPROGRAMENVPARAMETER4FARB fnptr, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) { -// (*fnptr)(target, index, x, y, z, w); -// } -// static void glowProgramEnvParameter4fvARB(GPPROGRAMENVPARAMETER4FVARB fnptr, GLenum target, GLuint index, const GLfloat * params) { -// (*fnptr)(target, index, params); -// } -// static void glowProgramEnvParameterI4iNV(GPPROGRAMENVPARAMETERI4INV fnptr, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w) { -// (*fnptr)(target, index, x, y, z, w); -// } -// static void glowProgramEnvParameterI4ivNV(GPPROGRAMENVPARAMETERI4IVNV fnptr, GLenum target, GLuint index, const GLint * params) { -// (*fnptr)(target, index, params); -// } -// static void glowProgramEnvParameterI4uiNV(GPPROGRAMENVPARAMETERI4UINV fnptr, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w) { -// (*fnptr)(target, index, x, y, z, w); -// } -// static void glowProgramEnvParameterI4uivNV(GPPROGRAMENVPARAMETERI4UIVNV fnptr, GLenum target, GLuint index, const GLuint * params) { -// (*fnptr)(target, index, params); -// } -// static void glowProgramEnvParameters4fvEXT(GPPROGRAMENVPARAMETERS4FVEXT fnptr, GLenum target, GLuint index, GLsizei count, const GLfloat * params) { -// (*fnptr)(target, index, count, params); -// } -// static void glowProgramEnvParametersI4ivNV(GPPROGRAMENVPARAMETERSI4IVNV fnptr, GLenum target, GLuint index, GLsizei count, const GLint * params) { -// (*fnptr)(target, index, count, params); -// } -// static void glowProgramEnvParametersI4uivNV(GPPROGRAMENVPARAMETERSI4UIVNV fnptr, GLenum target, GLuint index, GLsizei count, const GLuint * params) { -// (*fnptr)(target, index, count, params); -// } -// static void glowProgramLocalParameter4dARB(GPPROGRAMLOCALPARAMETER4DARB fnptr, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) { -// (*fnptr)(target, index, x, y, z, w); -// } -// static void glowProgramLocalParameter4dvARB(GPPROGRAMLOCALPARAMETER4DVARB fnptr, GLenum target, GLuint index, const GLdouble * params) { -// (*fnptr)(target, index, params); -// } -// static void glowProgramLocalParameter4fARB(GPPROGRAMLOCALPARAMETER4FARB fnptr, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) { -// (*fnptr)(target, index, x, y, z, w); -// } -// static void glowProgramLocalParameter4fvARB(GPPROGRAMLOCALPARAMETER4FVARB fnptr, GLenum target, GLuint index, const GLfloat * params) { -// (*fnptr)(target, index, params); -// } -// static void glowProgramLocalParameterI4iNV(GPPROGRAMLOCALPARAMETERI4INV fnptr, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w) { -// (*fnptr)(target, index, x, y, z, w); -// } -// static void glowProgramLocalParameterI4ivNV(GPPROGRAMLOCALPARAMETERI4IVNV fnptr, GLenum target, GLuint index, const GLint * params) { -// (*fnptr)(target, index, params); -// } -// static void glowProgramLocalParameterI4uiNV(GPPROGRAMLOCALPARAMETERI4UINV fnptr, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w) { -// (*fnptr)(target, index, x, y, z, w); -// } -// static void glowProgramLocalParameterI4uivNV(GPPROGRAMLOCALPARAMETERI4UIVNV fnptr, GLenum target, GLuint index, const GLuint * params) { -// (*fnptr)(target, index, params); -// } -// static void glowProgramLocalParameters4fvEXT(GPPROGRAMLOCALPARAMETERS4FVEXT fnptr, GLenum target, GLuint index, GLsizei count, const GLfloat * params) { -// (*fnptr)(target, index, count, params); -// } -// static void glowProgramLocalParametersI4ivNV(GPPROGRAMLOCALPARAMETERSI4IVNV fnptr, GLenum target, GLuint index, GLsizei count, const GLint * params) { -// (*fnptr)(target, index, count, params); -// } -// static void glowProgramLocalParametersI4uivNV(GPPROGRAMLOCALPARAMETERSI4UIVNV fnptr, GLenum target, GLuint index, GLsizei count, const GLuint * params) { -// (*fnptr)(target, index, count, params); -// } -// static void glowProgramNamedParameter4dNV(GPPROGRAMNAMEDPARAMETER4DNV fnptr, GLuint id, GLsizei len, const GLubyte * name, GLdouble x, GLdouble y, GLdouble z, GLdouble w) { -// (*fnptr)(id, len, name, x, y, z, w); -// } -// static void glowProgramNamedParameter4dvNV(GPPROGRAMNAMEDPARAMETER4DVNV fnptr, GLuint id, GLsizei len, const GLubyte * name, const GLdouble * v) { -// (*fnptr)(id, len, name, v); -// } -// static void glowProgramNamedParameter4fNV(GPPROGRAMNAMEDPARAMETER4FNV fnptr, GLuint id, GLsizei len, const GLubyte * name, GLfloat x, GLfloat y, GLfloat z, GLfloat w) { -// (*fnptr)(id, len, name, x, y, z, w); -// } -// static void glowProgramNamedParameter4fvNV(GPPROGRAMNAMEDPARAMETER4FVNV fnptr, GLuint id, GLsizei len, const GLubyte * name, const GLfloat * v) { -// (*fnptr)(id, len, name, v); -// } -// static void glowProgramParameter4dNV(GPPROGRAMPARAMETER4DNV fnptr, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) { -// (*fnptr)(target, index, x, y, z, w); -// } -// static void glowProgramParameter4dvNV(GPPROGRAMPARAMETER4DVNV fnptr, GLenum target, GLuint index, const GLdouble * v) { -// (*fnptr)(target, index, v); -// } -// static void glowProgramParameter4fNV(GPPROGRAMPARAMETER4FNV fnptr, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) { -// (*fnptr)(target, index, x, y, z, w); -// } -// static void glowProgramParameter4fvNV(GPPROGRAMPARAMETER4FVNV fnptr, GLenum target, GLuint index, const GLfloat * v) { -// (*fnptr)(target, index, v); -// } -// static void glowProgramParameteri(GPPROGRAMPARAMETERI fnptr, GLuint program, GLenum pname, GLint value) { -// (*fnptr)(program, pname, value); -// } -// static void glowProgramParameteriARB(GPPROGRAMPARAMETERIARB fnptr, GLuint program, GLenum pname, GLint value) { -// (*fnptr)(program, pname, value); -// } -// static void glowProgramParameteriEXT(GPPROGRAMPARAMETERIEXT fnptr, GLuint program, GLenum pname, GLint value) { -// (*fnptr)(program, pname, value); -// } -// static void glowProgramParameters4dvNV(GPPROGRAMPARAMETERS4DVNV fnptr, GLenum target, GLuint index, GLsizei count, const GLdouble * v) { -// (*fnptr)(target, index, count, v); -// } -// static void glowProgramParameters4fvNV(GPPROGRAMPARAMETERS4FVNV fnptr, GLenum target, GLuint index, GLsizei count, const GLfloat * v) { -// (*fnptr)(target, index, count, v); -// } -// static void glowProgramPathFragmentInputGenNV(GPPROGRAMPATHFRAGMENTINPUTGENNV fnptr, GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat * coeffs) { -// (*fnptr)(program, location, genMode, components, coeffs); -// } -// static void glowProgramStringARB(GPPROGRAMSTRINGARB fnptr, GLenum target, GLenum format, GLsizei len, const void * string) { -// (*fnptr)(target, format, len, string); -// } -// static void glowProgramSubroutineParametersuivNV(GPPROGRAMSUBROUTINEPARAMETERSUIVNV fnptr, GLenum target, GLsizei count, const GLuint * params) { -// (*fnptr)(target, count, params); -// } -// static void glowProgramUniform1d(GPPROGRAMUNIFORM1D fnptr, GLuint program, GLint location, GLdouble v0) { -// (*fnptr)(program, location, v0); -// } -// static void glowProgramUniform1dEXT(GPPROGRAMUNIFORM1DEXT fnptr, GLuint program, GLint location, GLdouble x) { -// (*fnptr)(program, location, x); -// } -// static void glowProgramUniform1dv(GPPROGRAMUNIFORM1DV fnptr, GLuint program, GLint location, GLsizei count, const GLdouble * value) { -// (*fnptr)(program, location, count, value); -// } -// static void glowProgramUniform1dvEXT(GPPROGRAMUNIFORM1DVEXT fnptr, GLuint program, GLint location, GLsizei count, const GLdouble * value) { -// (*fnptr)(program, location, count, value); -// } -// static void glowProgramUniform1f(GPPROGRAMUNIFORM1F fnptr, GLuint program, GLint location, GLfloat v0) { -// (*fnptr)(program, location, v0); -// } -// static void glowProgramUniform1fEXT(GPPROGRAMUNIFORM1FEXT fnptr, GLuint program, GLint location, GLfloat v0) { -// (*fnptr)(program, location, v0); -// } -// static void glowProgramUniform1fv(GPPROGRAMUNIFORM1FV fnptr, GLuint program, GLint location, GLsizei count, const GLfloat * value) { -// (*fnptr)(program, location, count, value); -// } -// static void glowProgramUniform1fvEXT(GPPROGRAMUNIFORM1FVEXT fnptr, GLuint program, GLint location, GLsizei count, const GLfloat * value) { -// (*fnptr)(program, location, count, value); -// } -// static void glowProgramUniform1i(GPPROGRAMUNIFORM1I fnptr, GLuint program, GLint location, GLint v0) { -// (*fnptr)(program, location, v0); -// } -// static void glowProgramUniform1i64ARB(GPPROGRAMUNIFORM1I64ARB fnptr, GLuint program, GLint location, GLint64 x) { -// (*fnptr)(program, location, x); -// } -// static void glowProgramUniform1i64NV(GPPROGRAMUNIFORM1I64NV fnptr, GLuint program, GLint location, GLint64EXT x) { -// (*fnptr)(program, location, x); -// } -// static void glowProgramUniform1i64vARB(GPPROGRAMUNIFORM1I64VARB fnptr, GLuint program, GLint location, GLsizei count, const GLint64 * value) { -// (*fnptr)(program, location, count, value); -// } -// static void glowProgramUniform1i64vNV(GPPROGRAMUNIFORM1I64VNV fnptr, GLuint program, GLint location, GLsizei count, const GLint64EXT * value) { -// (*fnptr)(program, location, count, value); -// } -// static void glowProgramUniform1iEXT(GPPROGRAMUNIFORM1IEXT fnptr, GLuint program, GLint location, GLint v0) { -// (*fnptr)(program, location, v0); -// } -// static void glowProgramUniform1iv(GPPROGRAMUNIFORM1IV fnptr, GLuint program, GLint location, GLsizei count, const GLint * value) { -// (*fnptr)(program, location, count, value); -// } -// static void glowProgramUniform1ivEXT(GPPROGRAMUNIFORM1IVEXT fnptr, GLuint program, GLint location, GLsizei count, const GLint * value) { -// (*fnptr)(program, location, count, value); -// } -// static void glowProgramUniform1ui(GPPROGRAMUNIFORM1UI fnptr, GLuint program, GLint location, GLuint v0) { -// (*fnptr)(program, location, v0); -// } -// static void glowProgramUniform1ui64ARB(GPPROGRAMUNIFORM1UI64ARB fnptr, GLuint program, GLint location, GLuint64 x) { -// (*fnptr)(program, location, x); -// } -// static void glowProgramUniform1ui64NV(GPPROGRAMUNIFORM1UI64NV fnptr, GLuint program, GLint location, GLuint64EXT x) { -// (*fnptr)(program, location, x); -// } -// static void glowProgramUniform1ui64vARB(GPPROGRAMUNIFORM1UI64VARB fnptr, GLuint program, GLint location, GLsizei count, const GLuint64 * value) { -// (*fnptr)(program, location, count, value); -// } -// static void glowProgramUniform1ui64vNV(GPPROGRAMUNIFORM1UI64VNV fnptr, GLuint program, GLint location, GLsizei count, const GLuint64EXT * value) { -// (*fnptr)(program, location, count, value); -// } -// static void glowProgramUniform1uiEXT(GPPROGRAMUNIFORM1UIEXT fnptr, GLuint program, GLint location, GLuint v0) { -// (*fnptr)(program, location, v0); -// } -// static void glowProgramUniform1uiv(GPPROGRAMUNIFORM1UIV fnptr, GLuint program, GLint location, GLsizei count, const GLuint * value) { -// (*fnptr)(program, location, count, value); -// } -// static void glowProgramUniform1uivEXT(GPPROGRAMUNIFORM1UIVEXT fnptr, GLuint program, GLint location, GLsizei count, const GLuint * value) { -// (*fnptr)(program, location, count, value); -// } -// static void glowProgramUniform2d(GPPROGRAMUNIFORM2D fnptr, GLuint program, GLint location, GLdouble v0, GLdouble v1) { -// (*fnptr)(program, location, v0, v1); -// } -// static void glowProgramUniform2dEXT(GPPROGRAMUNIFORM2DEXT fnptr, GLuint program, GLint location, GLdouble x, GLdouble y) { -// (*fnptr)(program, location, x, y); -// } -// static void glowProgramUniform2dv(GPPROGRAMUNIFORM2DV fnptr, GLuint program, GLint location, GLsizei count, const GLdouble * value) { -// (*fnptr)(program, location, count, value); -// } -// static void glowProgramUniform2dvEXT(GPPROGRAMUNIFORM2DVEXT fnptr, GLuint program, GLint location, GLsizei count, const GLdouble * value) { -// (*fnptr)(program, location, count, value); -// } -// static void glowProgramUniform2f(GPPROGRAMUNIFORM2F fnptr, GLuint program, GLint location, GLfloat v0, GLfloat v1) { -// (*fnptr)(program, location, v0, v1); -// } -// static void glowProgramUniform2fEXT(GPPROGRAMUNIFORM2FEXT fnptr, GLuint program, GLint location, GLfloat v0, GLfloat v1) { -// (*fnptr)(program, location, v0, v1); -// } -// static void glowProgramUniform2fv(GPPROGRAMUNIFORM2FV fnptr, GLuint program, GLint location, GLsizei count, const GLfloat * value) { -// (*fnptr)(program, location, count, value); -// } -// static void glowProgramUniform2fvEXT(GPPROGRAMUNIFORM2FVEXT fnptr, GLuint program, GLint location, GLsizei count, const GLfloat * value) { -// (*fnptr)(program, location, count, value); -// } -// static void glowProgramUniform2i(GPPROGRAMUNIFORM2I fnptr, GLuint program, GLint location, GLint v0, GLint v1) { -// (*fnptr)(program, location, v0, v1); -// } -// static void glowProgramUniform2i64ARB(GPPROGRAMUNIFORM2I64ARB fnptr, GLuint program, GLint location, GLint64 x, GLint64 y) { -// (*fnptr)(program, location, x, y); -// } -// static void glowProgramUniform2i64NV(GPPROGRAMUNIFORM2I64NV fnptr, GLuint program, GLint location, GLint64EXT x, GLint64EXT y) { -// (*fnptr)(program, location, x, y); -// } -// static void glowProgramUniform2i64vARB(GPPROGRAMUNIFORM2I64VARB fnptr, GLuint program, GLint location, GLsizei count, const GLint64 * value) { -// (*fnptr)(program, location, count, value); -// } -// static void glowProgramUniform2i64vNV(GPPROGRAMUNIFORM2I64VNV fnptr, GLuint program, GLint location, GLsizei count, const GLint64EXT * value) { -// (*fnptr)(program, location, count, value); -// } -// static void glowProgramUniform2iEXT(GPPROGRAMUNIFORM2IEXT fnptr, GLuint program, GLint location, GLint v0, GLint v1) { -// (*fnptr)(program, location, v0, v1); -// } -// static void glowProgramUniform2iv(GPPROGRAMUNIFORM2IV fnptr, GLuint program, GLint location, GLsizei count, const GLint * value) { -// (*fnptr)(program, location, count, value); -// } -// static void glowProgramUniform2ivEXT(GPPROGRAMUNIFORM2IVEXT fnptr, GLuint program, GLint location, GLsizei count, const GLint * value) { -// (*fnptr)(program, location, count, value); -// } -// static void glowProgramUniform2ui(GPPROGRAMUNIFORM2UI fnptr, GLuint program, GLint location, GLuint v0, GLuint v1) { -// (*fnptr)(program, location, v0, v1); -// } -// static void glowProgramUniform2ui64ARB(GPPROGRAMUNIFORM2UI64ARB fnptr, GLuint program, GLint location, GLuint64 x, GLuint64 y) { -// (*fnptr)(program, location, x, y); -// } -// static void glowProgramUniform2ui64NV(GPPROGRAMUNIFORM2UI64NV fnptr, GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y) { -// (*fnptr)(program, location, x, y); -// } -// static void glowProgramUniform2ui64vARB(GPPROGRAMUNIFORM2UI64VARB fnptr, GLuint program, GLint location, GLsizei count, const GLuint64 * value) { -// (*fnptr)(program, location, count, value); -// } -// static void glowProgramUniform2ui64vNV(GPPROGRAMUNIFORM2UI64VNV fnptr, GLuint program, GLint location, GLsizei count, const GLuint64EXT * value) { -// (*fnptr)(program, location, count, value); -// } -// static void glowProgramUniform2uiEXT(GPPROGRAMUNIFORM2UIEXT fnptr, GLuint program, GLint location, GLuint v0, GLuint v1) { -// (*fnptr)(program, location, v0, v1); -// } -// static void glowProgramUniform2uiv(GPPROGRAMUNIFORM2UIV fnptr, GLuint program, GLint location, GLsizei count, const GLuint * value) { -// (*fnptr)(program, location, count, value); -// } -// static void glowProgramUniform2uivEXT(GPPROGRAMUNIFORM2UIVEXT fnptr, GLuint program, GLint location, GLsizei count, const GLuint * value) { -// (*fnptr)(program, location, count, value); -// } -// static void glowProgramUniform3d(GPPROGRAMUNIFORM3D fnptr, GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2) { -// (*fnptr)(program, location, v0, v1, v2); -// } -// static void glowProgramUniform3dEXT(GPPROGRAMUNIFORM3DEXT fnptr, GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z) { -// (*fnptr)(program, location, x, y, z); -// } -// static void glowProgramUniform3dv(GPPROGRAMUNIFORM3DV fnptr, GLuint program, GLint location, GLsizei count, const GLdouble * value) { -// (*fnptr)(program, location, count, value); -// } -// static void glowProgramUniform3dvEXT(GPPROGRAMUNIFORM3DVEXT fnptr, GLuint program, GLint location, GLsizei count, const GLdouble * value) { -// (*fnptr)(program, location, count, value); -// } -// static void glowProgramUniform3f(GPPROGRAMUNIFORM3F fnptr, GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2) { -// (*fnptr)(program, location, v0, v1, v2); -// } -// static void glowProgramUniform3fEXT(GPPROGRAMUNIFORM3FEXT fnptr, GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2) { -// (*fnptr)(program, location, v0, v1, v2); -// } -// static void glowProgramUniform3fv(GPPROGRAMUNIFORM3FV fnptr, GLuint program, GLint location, GLsizei count, const GLfloat * value) { -// (*fnptr)(program, location, count, value); -// } -// static void glowProgramUniform3fvEXT(GPPROGRAMUNIFORM3FVEXT fnptr, GLuint program, GLint location, GLsizei count, const GLfloat * value) { -// (*fnptr)(program, location, count, value); -// } -// static void glowProgramUniform3i(GPPROGRAMUNIFORM3I fnptr, GLuint program, GLint location, GLint v0, GLint v1, GLint v2) { -// (*fnptr)(program, location, v0, v1, v2); -// } -// static void glowProgramUniform3i64ARB(GPPROGRAMUNIFORM3I64ARB fnptr, GLuint program, GLint location, GLint64 x, GLint64 y, GLint64 z) { -// (*fnptr)(program, location, x, y, z); -// } -// static void glowProgramUniform3i64NV(GPPROGRAMUNIFORM3I64NV fnptr, GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z) { -// (*fnptr)(program, location, x, y, z); -// } -// static void glowProgramUniform3i64vARB(GPPROGRAMUNIFORM3I64VARB fnptr, GLuint program, GLint location, GLsizei count, const GLint64 * value) { -// (*fnptr)(program, location, count, value); -// } -// static void glowProgramUniform3i64vNV(GPPROGRAMUNIFORM3I64VNV fnptr, GLuint program, GLint location, GLsizei count, const GLint64EXT * value) { -// (*fnptr)(program, location, count, value); -// } -// static void glowProgramUniform3iEXT(GPPROGRAMUNIFORM3IEXT fnptr, GLuint program, GLint location, GLint v0, GLint v1, GLint v2) { -// (*fnptr)(program, location, v0, v1, v2); -// } -// static void glowProgramUniform3iv(GPPROGRAMUNIFORM3IV fnptr, GLuint program, GLint location, GLsizei count, const GLint * value) { -// (*fnptr)(program, location, count, value); -// } -// static void glowProgramUniform3ivEXT(GPPROGRAMUNIFORM3IVEXT fnptr, GLuint program, GLint location, GLsizei count, const GLint * value) { -// (*fnptr)(program, location, count, value); -// } -// static void glowProgramUniform3ui(GPPROGRAMUNIFORM3UI fnptr, GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2) { -// (*fnptr)(program, location, v0, v1, v2); -// } -// static void glowProgramUniform3ui64ARB(GPPROGRAMUNIFORM3UI64ARB fnptr, GLuint program, GLint location, GLuint64 x, GLuint64 y, GLuint64 z) { -// (*fnptr)(program, location, x, y, z); -// } -// static void glowProgramUniform3ui64NV(GPPROGRAMUNIFORM3UI64NV fnptr, GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z) { -// (*fnptr)(program, location, x, y, z); -// } -// static void glowProgramUniform3ui64vARB(GPPROGRAMUNIFORM3UI64VARB fnptr, GLuint program, GLint location, GLsizei count, const GLuint64 * value) { -// (*fnptr)(program, location, count, value); -// } -// static void glowProgramUniform3ui64vNV(GPPROGRAMUNIFORM3UI64VNV fnptr, GLuint program, GLint location, GLsizei count, const GLuint64EXT * value) { -// (*fnptr)(program, location, count, value); -// } -// static void glowProgramUniform3uiEXT(GPPROGRAMUNIFORM3UIEXT fnptr, GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2) { -// (*fnptr)(program, location, v0, v1, v2); -// } -// static void glowProgramUniform3uiv(GPPROGRAMUNIFORM3UIV fnptr, GLuint program, GLint location, GLsizei count, const GLuint * value) { -// (*fnptr)(program, location, count, value); -// } -// static void glowProgramUniform3uivEXT(GPPROGRAMUNIFORM3UIVEXT fnptr, GLuint program, GLint location, GLsizei count, const GLuint * value) { -// (*fnptr)(program, location, count, value); -// } -// static void glowProgramUniform4d(GPPROGRAMUNIFORM4D fnptr, GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3) { -// (*fnptr)(program, location, v0, v1, v2, v3); -// } -// static void glowProgramUniform4dEXT(GPPROGRAMUNIFORM4DEXT fnptr, GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w) { -// (*fnptr)(program, location, x, y, z, w); -// } -// static void glowProgramUniform4dv(GPPROGRAMUNIFORM4DV fnptr, GLuint program, GLint location, GLsizei count, const GLdouble * value) { -// (*fnptr)(program, location, count, value); -// } -// static void glowProgramUniform4dvEXT(GPPROGRAMUNIFORM4DVEXT fnptr, GLuint program, GLint location, GLsizei count, const GLdouble * value) { -// (*fnptr)(program, location, count, value); -// } -// static void glowProgramUniform4f(GPPROGRAMUNIFORM4F fnptr, GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) { -// (*fnptr)(program, location, v0, v1, v2, v3); -// } -// static void glowProgramUniform4fEXT(GPPROGRAMUNIFORM4FEXT fnptr, GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) { -// (*fnptr)(program, location, v0, v1, v2, v3); -// } -// static void glowProgramUniform4fv(GPPROGRAMUNIFORM4FV fnptr, GLuint program, GLint location, GLsizei count, const GLfloat * value) { -// (*fnptr)(program, location, count, value); -// } -// static void glowProgramUniform4fvEXT(GPPROGRAMUNIFORM4FVEXT fnptr, GLuint program, GLint location, GLsizei count, const GLfloat * value) { -// (*fnptr)(program, location, count, value); -// } -// static void glowProgramUniform4i(GPPROGRAMUNIFORM4I fnptr, GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3) { -// (*fnptr)(program, location, v0, v1, v2, v3); -// } -// static void glowProgramUniform4i64ARB(GPPROGRAMUNIFORM4I64ARB fnptr, GLuint program, GLint location, GLint64 x, GLint64 y, GLint64 z, GLint64 w) { -// (*fnptr)(program, location, x, y, z, w); -// } -// static void glowProgramUniform4i64NV(GPPROGRAMUNIFORM4I64NV fnptr, GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w) { -// (*fnptr)(program, location, x, y, z, w); -// } -// static void glowProgramUniform4i64vARB(GPPROGRAMUNIFORM4I64VARB fnptr, GLuint program, GLint location, GLsizei count, const GLint64 * value) { -// (*fnptr)(program, location, count, value); -// } -// static void glowProgramUniform4i64vNV(GPPROGRAMUNIFORM4I64VNV fnptr, GLuint program, GLint location, GLsizei count, const GLint64EXT * value) { -// (*fnptr)(program, location, count, value); -// } -// static void glowProgramUniform4iEXT(GPPROGRAMUNIFORM4IEXT fnptr, GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3) { -// (*fnptr)(program, location, v0, v1, v2, v3); -// } -// static void glowProgramUniform4iv(GPPROGRAMUNIFORM4IV fnptr, GLuint program, GLint location, GLsizei count, const GLint * value) { -// (*fnptr)(program, location, count, value); -// } -// static void glowProgramUniform4ivEXT(GPPROGRAMUNIFORM4IVEXT fnptr, GLuint program, GLint location, GLsizei count, const GLint * value) { -// (*fnptr)(program, location, count, value); -// } -// static void glowProgramUniform4ui(GPPROGRAMUNIFORM4UI fnptr, GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3) { -// (*fnptr)(program, location, v0, v1, v2, v3); -// } -// static void glowProgramUniform4ui64ARB(GPPROGRAMUNIFORM4UI64ARB fnptr, GLuint program, GLint location, GLuint64 x, GLuint64 y, GLuint64 z, GLuint64 w) { -// (*fnptr)(program, location, x, y, z, w); -// } -// static void glowProgramUniform4ui64NV(GPPROGRAMUNIFORM4UI64NV fnptr, GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w) { -// (*fnptr)(program, location, x, y, z, w); -// } -// static void glowProgramUniform4ui64vARB(GPPROGRAMUNIFORM4UI64VARB fnptr, GLuint program, GLint location, GLsizei count, const GLuint64 * value) { -// (*fnptr)(program, location, count, value); -// } -// static void glowProgramUniform4ui64vNV(GPPROGRAMUNIFORM4UI64VNV fnptr, GLuint program, GLint location, GLsizei count, const GLuint64EXT * value) { -// (*fnptr)(program, location, count, value); -// } -// static void glowProgramUniform4uiEXT(GPPROGRAMUNIFORM4UIEXT fnptr, GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3) { -// (*fnptr)(program, location, v0, v1, v2, v3); -// } -// static void glowProgramUniform4uiv(GPPROGRAMUNIFORM4UIV fnptr, GLuint program, GLint location, GLsizei count, const GLuint * value) { -// (*fnptr)(program, location, count, value); -// } -// static void glowProgramUniform4uivEXT(GPPROGRAMUNIFORM4UIVEXT fnptr, GLuint program, GLint location, GLsizei count, const GLuint * value) { -// (*fnptr)(program, location, count, value); -// } -// static void glowProgramUniformHandleui64ARB(GPPROGRAMUNIFORMHANDLEUI64ARB fnptr, GLuint program, GLint location, GLuint64 value) { -// (*fnptr)(program, location, value); -// } -// static void glowProgramUniformHandleui64NV(GPPROGRAMUNIFORMHANDLEUI64NV fnptr, GLuint program, GLint location, GLuint64 value) { -// (*fnptr)(program, location, value); -// } -// static void glowProgramUniformHandleui64vARB(GPPROGRAMUNIFORMHANDLEUI64VARB fnptr, GLuint program, GLint location, GLsizei count, const GLuint64 * values) { -// (*fnptr)(program, location, count, values); -// } -// static void glowProgramUniformHandleui64vNV(GPPROGRAMUNIFORMHANDLEUI64VNV fnptr, GLuint program, GLint location, GLsizei count, const GLuint64 * values) { -// (*fnptr)(program, location, count, values); -// } -// static void glowProgramUniformMatrix2dv(GPPROGRAMUNIFORMMATRIX2DV fnptr, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value) { -// (*fnptr)(program, location, count, transpose, value); -// } -// static void glowProgramUniformMatrix2dvEXT(GPPROGRAMUNIFORMMATRIX2DVEXT fnptr, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value) { -// (*fnptr)(program, location, count, transpose, value); -// } -// static void glowProgramUniformMatrix2fv(GPPROGRAMUNIFORMMATRIX2FV fnptr, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { -// (*fnptr)(program, location, count, transpose, value); -// } -// static void glowProgramUniformMatrix2fvEXT(GPPROGRAMUNIFORMMATRIX2FVEXT fnptr, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { -// (*fnptr)(program, location, count, transpose, value); -// } -// static void glowProgramUniformMatrix2x3dv(GPPROGRAMUNIFORMMATRIX2X3DV fnptr, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value) { -// (*fnptr)(program, location, count, transpose, value); -// } -// static void glowProgramUniformMatrix2x3dvEXT(GPPROGRAMUNIFORMMATRIX2X3DVEXT fnptr, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value) { -// (*fnptr)(program, location, count, transpose, value); -// } -// static void glowProgramUniformMatrix2x3fv(GPPROGRAMUNIFORMMATRIX2X3FV fnptr, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { -// (*fnptr)(program, location, count, transpose, value); -// } -// static void glowProgramUniformMatrix2x3fvEXT(GPPROGRAMUNIFORMMATRIX2X3FVEXT fnptr, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { -// (*fnptr)(program, location, count, transpose, value); -// } -// static void glowProgramUniformMatrix2x4dv(GPPROGRAMUNIFORMMATRIX2X4DV fnptr, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value) { -// (*fnptr)(program, location, count, transpose, value); -// } -// static void glowProgramUniformMatrix2x4dvEXT(GPPROGRAMUNIFORMMATRIX2X4DVEXT fnptr, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value) { -// (*fnptr)(program, location, count, transpose, value); -// } -// static void glowProgramUniformMatrix2x4fv(GPPROGRAMUNIFORMMATRIX2X4FV fnptr, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { -// (*fnptr)(program, location, count, transpose, value); -// } -// static void glowProgramUniformMatrix2x4fvEXT(GPPROGRAMUNIFORMMATRIX2X4FVEXT fnptr, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { -// (*fnptr)(program, location, count, transpose, value); -// } -// static void glowProgramUniformMatrix3dv(GPPROGRAMUNIFORMMATRIX3DV fnptr, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value) { -// (*fnptr)(program, location, count, transpose, value); -// } -// static void glowProgramUniformMatrix3dvEXT(GPPROGRAMUNIFORMMATRIX3DVEXT fnptr, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value) { -// (*fnptr)(program, location, count, transpose, value); -// } -// static void glowProgramUniformMatrix3fv(GPPROGRAMUNIFORMMATRIX3FV fnptr, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { -// (*fnptr)(program, location, count, transpose, value); -// } -// static void glowProgramUniformMatrix3fvEXT(GPPROGRAMUNIFORMMATRIX3FVEXT fnptr, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { -// (*fnptr)(program, location, count, transpose, value); -// } -// static void glowProgramUniformMatrix3x2dv(GPPROGRAMUNIFORMMATRIX3X2DV fnptr, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value) { -// (*fnptr)(program, location, count, transpose, value); -// } -// static void glowProgramUniformMatrix3x2dvEXT(GPPROGRAMUNIFORMMATRIX3X2DVEXT fnptr, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value) { -// (*fnptr)(program, location, count, transpose, value); -// } -// static void glowProgramUniformMatrix3x2fv(GPPROGRAMUNIFORMMATRIX3X2FV fnptr, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { -// (*fnptr)(program, location, count, transpose, value); -// } -// static void glowProgramUniformMatrix3x2fvEXT(GPPROGRAMUNIFORMMATRIX3X2FVEXT fnptr, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { -// (*fnptr)(program, location, count, transpose, value); -// } -// static void glowProgramUniformMatrix3x4dv(GPPROGRAMUNIFORMMATRIX3X4DV fnptr, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value) { -// (*fnptr)(program, location, count, transpose, value); -// } -// static void glowProgramUniformMatrix3x4dvEXT(GPPROGRAMUNIFORMMATRIX3X4DVEXT fnptr, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value) { -// (*fnptr)(program, location, count, transpose, value); -// } -// static void glowProgramUniformMatrix3x4fv(GPPROGRAMUNIFORMMATRIX3X4FV fnptr, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { -// (*fnptr)(program, location, count, transpose, value); -// } -// static void glowProgramUniformMatrix3x4fvEXT(GPPROGRAMUNIFORMMATRIX3X4FVEXT fnptr, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { -// (*fnptr)(program, location, count, transpose, value); -// } -// static void glowProgramUniformMatrix4dv(GPPROGRAMUNIFORMMATRIX4DV fnptr, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value) { -// (*fnptr)(program, location, count, transpose, value); -// } -// static void glowProgramUniformMatrix4dvEXT(GPPROGRAMUNIFORMMATRIX4DVEXT fnptr, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value) { -// (*fnptr)(program, location, count, transpose, value); -// } -// static void glowProgramUniformMatrix4fv(GPPROGRAMUNIFORMMATRIX4FV fnptr, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { -// (*fnptr)(program, location, count, transpose, value); -// } -// static void glowProgramUniformMatrix4fvEXT(GPPROGRAMUNIFORMMATRIX4FVEXT fnptr, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { -// (*fnptr)(program, location, count, transpose, value); -// } -// static void glowProgramUniformMatrix4x2dv(GPPROGRAMUNIFORMMATRIX4X2DV fnptr, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value) { -// (*fnptr)(program, location, count, transpose, value); -// } -// static void glowProgramUniformMatrix4x2dvEXT(GPPROGRAMUNIFORMMATRIX4X2DVEXT fnptr, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value) { -// (*fnptr)(program, location, count, transpose, value); -// } -// static void glowProgramUniformMatrix4x2fv(GPPROGRAMUNIFORMMATRIX4X2FV fnptr, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { -// (*fnptr)(program, location, count, transpose, value); -// } -// static void glowProgramUniformMatrix4x2fvEXT(GPPROGRAMUNIFORMMATRIX4X2FVEXT fnptr, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { -// (*fnptr)(program, location, count, transpose, value); -// } -// static void glowProgramUniformMatrix4x3dv(GPPROGRAMUNIFORMMATRIX4X3DV fnptr, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value) { -// (*fnptr)(program, location, count, transpose, value); -// } -// static void glowProgramUniformMatrix4x3dvEXT(GPPROGRAMUNIFORMMATRIX4X3DVEXT fnptr, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value) { -// (*fnptr)(program, location, count, transpose, value); -// } -// static void glowProgramUniformMatrix4x3fv(GPPROGRAMUNIFORMMATRIX4X3FV fnptr, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { -// (*fnptr)(program, location, count, transpose, value); -// } -// static void glowProgramUniformMatrix4x3fvEXT(GPPROGRAMUNIFORMMATRIX4X3FVEXT fnptr, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { -// (*fnptr)(program, location, count, transpose, value); -// } -// static void glowProgramUniformui64NV(GPPROGRAMUNIFORMUI64NV fnptr, GLuint program, GLint location, GLuint64EXT value) { -// (*fnptr)(program, location, value); -// } -// static void glowProgramUniformui64vNV(GPPROGRAMUNIFORMUI64VNV fnptr, GLuint program, GLint location, GLsizei count, const GLuint64EXT * value) { -// (*fnptr)(program, location, count, value); -// } -// static void glowProgramVertexLimitNV(GPPROGRAMVERTEXLIMITNV fnptr, GLenum target, GLint limit) { -// (*fnptr)(target, limit); -// } -// static void glowProvokingVertex(GPPROVOKINGVERTEX fnptr, GLenum mode) { -// (*fnptr)(mode); -// } -// static void glowProvokingVertexEXT(GPPROVOKINGVERTEXEXT fnptr, GLenum mode) { -// (*fnptr)(mode); -// } -// static void glowPushAttrib(GPPUSHATTRIB fnptr, GLbitfield mask) { -// (*fnptr)(mask); -// } -// static void glowPushClientAttrib(GPPUSHCLIENTATTRIB fnptr, GLbitfield mask) { -// (*fnptr)(mask); -// } -// static void glowPushClientAttribDefaultEXT(GPPUSHCLIENTATTRIBDEFAULTEXT fnptr, GLbitfield mask) { -// (*fnptr)(mask); -// } -// static void glowPushDebugGroup(GPPUSHDEBUGGROUP fnptr, GLenum source, GLuint id, GLsizei length, const GLchar * message) { -// (*fnptr)(source, id, length, message); -// } -// static void glowPushDebugGroupKHR(GPPUSHDEBUGGROUPKHR fnptr, GLenum source, GLuint id, GLsizei length, const GLchar * message) { -// (*fnptr)(source, id, length, message); -// } -// static void glowPushGroupMarkerEXT(GPPUSHGROUPMARKEREXT fnptr, GLsizei length, const GLchar * marker) { -// (*fnptr)(length, marker); -// } -// static void glowPushMatrix(GPPUSHMATRIX fnptr) { -// (*fnptr)(); -// } -// static void glowPushName(GPPUSHNAME fnptr, GLuint name) { -// (*fnptr)(name); -// } -// static void glowQueryCounter(GPQUERYCOUNTER fnptr, GLuint id, GLenum target) { -// (*fnptr)(id, target); -// } -// static GLbitfield glowQueryMatrixxOES(GPQUERYMATRIXXOES fnptr, GLfixed * mantissa, GLint * exponent) { -// return (*fnptr)(mantissa, exponent); -// } -// static void glowQueryObjectParameteruiAMD(GPQUERYOBJECTPARAMETERUIAMD fnptr, GLenum target, GLuint id, GLenum pname, GLuint param) { -// (*fnptr)(target, id, pname, param); -// } -// static GLint glowQueryResourceNV(GPQUERYRESOURCENV fnptr, GLenum queryType, GLint tagId, GLuint bufSize, GLint * buffer) { -// return (*fnptr)(queryType, tagId, bufSize, buffer); -// } -// static void glowQueryResourceTagNV(GPQUERYRESOURCETAGNV fnptr, GLint tagId, const GLchar * tagString) { -// (*fnptr)(tagId, tagString); -// } -// static void glowRasterPos2d(GPRASTERPOS2D fnptr, GLdouble x, GLdouble y) { -// (*fnptr)(x, y); -// } -// static void glowRasterPos2dv(GPRASTERPOS2DV fnptr, const GLdouble * v) { -// (*fnptr)(v); -// } -// static void glowRasterPos2f(GPRASTERPOS2F fnptr, GLfloat x, GLfloat y) { -// (*fnptr)(x, y); -// } -// static void glowRasterPos2fv(GPRASTERPOS2FV fnptr, const GLfloat * v) { -// (*fnptr)(v); -// } -// static void glowRasterPos2i(GPRASTERPOS2I fnptr, GLint x, GLint y) { -// (*fnptr)(x, y); -// } -// static void glowRasterPos2iv(GPRASTERPOS2IV fnptr, const GLint * v) { -// (*fnptr)(v); -// } -// static void glowRasterPos2s(GPRASTERPOS2S fnptr, GLshort x, GLshort y) { -// (*fnptr)(x, y); -// } -// static void glowRasterPos2sv(GPRASTERPOS2SV fnptr, const GLshort * v) { -// (*fnptr)(v); -// } -// static void glowRasterPos2xOES(GPRASTERPOS2XOES fnptr, GLfixed x, GLfixed y) { -// (*fnptr)(x, y); -// } -// static void glowRasterPos2xvOES(GPRASTERPOS2XVOES fnptr, const GLfixed * coords) { -// (*fnptr)(coords); -// } -// static void glowRasterPos3d(GPRASTERPOS3D fnptr, GLdouble x, GLdouble y, GLdouble z) { -// (*fnptr)(x, y, z); -// } -// static void glowRasterPos3dv(GPRASTERPOS3DV fnptr, const GLdouble * v) { -// (*fnptr)(v); -// } -// static void glowRasterPos3f(GPRASTERPOS3F fnptr, GLfloat x, GLfloat y, GLfloat z) { -// (*fnptr)(x, y, z); -// } -// static void glowRasterPos3fv(GPRASTERPOS3FV fnptr, const GLfloat * v) { -// (*fnptr)(v); -// } -// static void glowRasterPos3i(GPRASTERPOS3I fnptr, GLint x, GLint y, GLint z) { -// (*fnptr)(x, y, z); -// } -// static void glowRasterPos3iv(GPRASTERPOS3IV fnptr, const GLint * v) { -// (*fnptr)(v); -// } -// static void glowRasterPos3s(GPRASTERPOS3S fnptr, GLshort x, GLshort y, GLshort z) { -// (*fnptr)(x, y, z); -// } -// static void glowRasterPos3sv(GPRASTERPOS3SV fnptr, const GLshort * v) { -// (*fnptr)(v); -// } -// static void glowRasterPos3xOES(GPRASTERPOS3XOES fnptr, GLfixed x, GLfixed y, GLfixed z) { -// (*fnptr)(x, y, z); -// } -// static void glowRasterPos3xvOES(GPRASTERPOS3XVOES fnptr, const GLfixed * coords) { -// (*fnptr)(coords); -// } -// static void glowRasterPos4d(GPRASTERPOS4D fnptr, GLdouble x, GLdouble y, GLdouble z, GLdouble w) { -// (*fnptr)(x, y, z, w); -// } -// static void glowRasterPos4dv(GPRASTERPOS4DV fnptr, const GLdouble * v) { -// (*fnptr)(v); -// } -// static void glowRasterPos4f(GPRASTERPOS4F fnptr, GLfloat x, GLfloat y, GLfloat z, GLfloat w) { -// (*fnptr)(x, y, z, w); -// } -// static void glowRasterPos4fv(GPRASTERPOS4FV fnptr, const GLfloat * v) { -// (*fnptr)(v); -// } -// static void glowRasterPos4i(GPRASTERPOS4I fnptr, GLint x, GLint y, GLint z, GLint w) { -// (*fnptr)(x, y, z, w); -// } -// static void glowRasterPos4iv(GPRASTERPOS4IV fnptr, const GLint * v) { -// (*fnptr)(v); -// } -// static void glowRasterPos4s(GPRASTERPOS4S fnptr, GLshort x, GLshort y, GLshort z, GLshort w) { -// (*fnptr)(x, y, z, w); -// } -// static void glowRasterPos4sv(GPRASTERPOS4SV fnptr, const GLshort * v) { -// (*fnptr)(v); -// } -// static void glowRasterPos4xOES(GPRASTERPOS4XOES fnptr, GLfixed x, GLfixed y, GLfixed z, GLfixed w) { -// (*fnptr)(x, y, z, w); -// } -// static void glowRasterPos4xvOES(GPRASTERPOS4XVOES fnptr, const GLfixed * coords) { -// (*fnptr)(coords); -// } -// static void glowRasterSamplesEXT(GPRASTERSAMPLESEXT fnptr, GLuint samples, GLboolean fixedsamplelocations) { -// (*fnptr)(samples, fixedsamplelocations); -// } -// static void glowReadBuffer(GPREADBUFFER fnptr, GLenum src) { -// (*fnptr)(src); -// } -// static void glowReadInstrumentsSGIX(GPREADINSTRUMENTSSGIX fnptr, GLint marker) { -// (*fnptr)(marker); -// } // static void glowReadPixels(GPREADPIXELS fnptr, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void * pixels) { // (*fnptr)(x, y, width, height, format, type, pixels); // } -// static void glowReadnPixels(GPREADNPIXELS fnptr, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void * data) { -// (*fnptr)(x, y, width, height, format, type, bufSize, data); -// } -// static void glowReadnPixelsARB(GPREADNPIXELSARB fnptr, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void * data) { -// (*fnptr)(x, y, width, height, format, type, bufSize, data); -// } -// static void glowReadnPixelsKHR(GPREADNPIXELSKHR fnptr, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void * data) { -// (*fnptr)(x, y, width, height, format, type, bufSize, data); -// } -// static void glowRectd(GPRECTD fnptr, GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2) { -// (*fnptr)(x1, y1, x2, y2); -// } -// static void glowRectdv(GPRECTDV fnptr, const GLdouble * v1, const GLdouble * v2) { -// (*fnptr)(v1, v2); -// } -// static void glowRectf(GPRECTF fnptr, GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2) { -// (*fnptr)(x1, y1, x2, y2); -// } -// static void glowRectfv(GPRECTFV fnptr, const GLfloat * v1, const GLfloat * v2) { -// (*fnptr)(v1, v2); -// } -// static void glowRecti(GPRECTI fnptr, GLint x1, GLint y1, GLint x2, GLint y2) { -// (*fnptr)(x1, y1, x2, y2); -// } -// static void glowRectiv(GPRECTIV fnptr, const GLint * v1, const GLint * v2) { -// (*fnptr)(v1, v2); -// } -// static void glowRects(GPRECTS fnptr, GLshort x1, GLshort y1, GLshort x2, GLshort y2) { -// (*fnptr)(x1, y1, x2, y2); -// } -// static void glowRectsv(GPRECTSV fnptr, const GLshort * v1, const GLshort * v2) { -// (*fnptr)(v1, v2); -// } -// static void glowRectxOES(GPRECTXOES fnptr, GLfixed x1, GLfixed y1, GLfixed x2, GLfixed y2) { -// (*fnptr)(x1, y1, x2, y2); -// } -// static void glowRectxvOES(GPRECTXVOES fnptr, const GLfixed * v1, const GLfixed * v2) { -// (*fnptr)(v1, v2); -// } -// static void glowReferencePlaneSGIX(GPREFERENCEPLANESGIX fnptr, const GLdouble * equation) { -// (*fnptr)(equation); -// } -// static GLboolean glowReleaseKeyedMutexWin32EXT(GPRELEASEKEYEDMUTEXWIN32EXT fnptr, GLuint memory, GLuint64 key) { -// return (*fnptr)(memory, key); -// } -// static void glowReleaseShaderCompiler(GPRELEASESHADERCOMPILER fnptr) { -// (*fnptr)(); -// } -// static void glowRenderGpuMaskNV(GPRENDERGPUMASKNV fnptr, GLbitfield mask) { -// (*fnptr)(mask); -// } -// static GLint glowRenderMode(GPRENDERMODE fnptr, GLenum mode) { -// return (*fnptr)(mode); -// } -// static void glowRenderbufferStorage(GPRENDERBUFFERSTORAGE fnptr, GLenum target, GLenum internalformat, GLsizei width, GLsizei height) { -// (*fnptr)(target, internalformat, width, height); -// } -// static void glowRenderbufferStorageEXT(GPRENDERBUFFERSTORAGEEXT fnptr, GLenum target, GLenum internalformat, GLsizei width, GLsizei height) { -// (*fnptr)(target, internalformat, width, height); -// } -// static void glowRenderbufferStorageMultisample(GPRENDERBUFFERSTORAGEMULTISAMPLE fnptr, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) { -// (*fnptr)(target, samples, internalformat, width, height); -// } -// static void glowRenderbufferStorageMultisampleCoverageNV(GPRENDERBUFFERSTORAGEMULTISAMPLECOVERAGENV fnptr, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height) { -// (*fnptr)(target, coverageSamples, colorSamples, internalformat, width, height); -// } -// static void glowRenderbufferStorageMultisampleEXT(GPRENDERBUFFERSTORAGEMULTISAMPLEEXT fnptr, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) { -// (*fnptr)(target, samples, internalformat, width, height); -// } -// static void glowReplacementCodePointerSUN(GPREPLACEMENTCODEPOINTERSUN fnptr, GLenum type, GLsizei stride, const void ** pointer) { -// (*fnptr)(type, stride, pointer); -// } -// static void glowReplacementCodeubSUN(GPREPLACEMENTCODEUBSUN fnptr, GLubyte code) { -// (*fnptr)(code); -// } -// static void glowReplacementCodeubvSUN(GPREPLACEMENTCODEUBVSUN fnptr, const GLubyte * code) { -// (*fnptr)(code); -// } -// static void glowReplacementCodeuiColor3fVertex3fSUN(GPREPLACEMENTCODEUICOLOR3FVERTEX3FSUN fnptr, GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z) { -// (*fnptr)(rc, r, g, b, x, y, z); -// } -// static void glowReplacementCodeuiColor3fVertex3fvSUN(GPREPLACEMENTCODEUICOLOR3FVERTEX3FVSUN fnptr, const GLuint * rc, const GLfloat * c, const GLfloat * v) { -// (*fnptr)(rc, c, v); -// } -// static void glowReplacementCodeuiColor4fNormal3fVertex3fSUN(GPREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUN fnptr, GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z) { -// (*fnptr)(rc, r, g, b, a, nx, ny, nz, x, y, z); -// } -// static void glowReplacementCodeuiColor4fNormal3fVertex3fvSUN(GPREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUN fnptr, const GLuint * rc, const GLfloat * c, const GLfloat * n, const GLfloat * v) { -// (*fnptr)(rc, c, n, v); -// } -// static void glowReplacementCodeuiColor4ubVertex3fSUN(GPREPLACEMENTCODEUICOLOR4UBVERTEX3FSUN fnptr, GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z) { -// (*fnptr)(rc, r, g, b, a, x, y, z); -// } -// static void glowReplacementCodeuiColor4ubVertex3fvSUN(GPREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUN fnptr, const GLuint * rc, const GLubyte * c, const GLfloat * v) { -// (*fnptr)(rc, c, v); -// } -// static void glowReplacementCodeuiNormal3fVertex3fSUN(GPREPLACEMENTCODEUINORMAL3FVERTEX3FSUN fnptr, GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z) { -// (*fnptr)(rc, nx, ny, nz, x, y, z); -// } -// static void glowReplacementCodeuiNormal3fVertex3fvSUN(GPREPLACEMENTCODEUINORMAL3FVERTEX3FVSUN fnptr, const GLuint * rc, const GLfloat * n, const GLfloat * v) { -// (*fnptr)(rc, n, v); -// } -// static void glowReplacementCodeuiSUN(GPREPLACEMENTCODEUISUN fnptr, GLuint code) { -// (*fnptr)(code); -// } -// static void glowReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN(GPREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUN fnptr, GLuint rc, GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z) { -// (*fnptr)(rc, s, t, r, g, b, a, nx, ny, nz, x, y, z); -// } -// static void glowReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(GPREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUN fnptr, const GLuint * rc, const GLfloat * tc, const GLfloat * c, const GLfloat * n, const GLfloat * v) { -// (*fnptr)(rc, tc, c, n, v); -// } -// static void glowReplacementCodeuiTexCoord2fNormal3fVertex3fSUN(GPREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUN fnptr, GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z) { -// (*fnptr)(rc, s, t, nx, ny, nz, x, y, z); -// } -// static void glowReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(GPREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUN fnptr, const GLuint * rc, const GLfloat * tc, const GLfloat * n, const GLfloat * v) { -// (*fnptr)(rc, tc, n, v); -// } -// static void glowReplacementCodeuiTexCoord2fVertex3fSUN(GPREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUN fnptr, GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z) { -// (*fnptr)(rc, s, t, x, y, z); -// } -// static void glowReplacementCodeuiTexCoord2fVertex3fvSUN(GPREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUN fnptr, const GLuint * rc, const GLfloat * tc, const GLfloat * v) { -// (*fnptr)(rc, tc, v); -// } -// static void glowReplacementCodeuiVertex3fSUN(GPREPLACEMENTCODEUIVERTEX3FSUN fnptr, GLuint rc, GLfloat x, GLfloat y, GLfloat z) { -// (*fnptr)(rc, x, y, z); -// } -// static void glowReplacementCodeuiVertex3fvSUN(GPREPLACEMENTCODEUIVERTEX3FVSUN fnptr, const GLuint * rc, const GLfloat * v) { -// (*fnptr)(rc, v); -// } -// static void glowReplacementCodeuivSUN(GPREPLACEMENTCODEUIVSUN fnptr, const GLuint * code) { -// (*fnptr)(code); -// } -// static void glowReplacementCodeusSUN(GPREPLACEMENTCODEUSSUN fnptr, GLushort code) { -// (*fnptr)(code); -// } -// static void glowReplacementCodeusvSUN(GPREPLACEMENTCODEUSVSUN fnptr, const GLushort * code) { -// (*fnptr)(code); -// } -// static void glowRequestResidentProgramsNV(GPREQUESTRESIDENTPROGRAMSNV fnptr, GLsizei n, const GLuint * programs) { -// (*fnptr)(n, programs); -// } -// static void glowResetHistogramEXT(GPRESETHISTOGRAMEXT fnptr, GLenum target) { -// (*fnptr)(target); -// } -// static void glowResetMinmaxEXT(GPRESETMINMAXEXT fnptr, GLenum target) { -// (*fnptr)(target); -// } -// static void glowResizeBuffersMESA(GPRESIZEBUFFERSMESA fnptr) { -// (*fnptr)(); -// } -// static void glowResolveDepthValuesNV(GPRESOLVEDEPTHVALUESNV fnptr) { -// (*fnptr)(); -// } -// static void glowResumeTransformFeedback(GPRESUMETRANSFORMFEEDBACK fnptr) { -// (*fnptr)(); -// } -// static void glowResumeTransformFeedbackNV(GPRESUMETRANSFORMFEEDBACKNV fnptr) { -// (*fnptr)(); -// } -// static void glowRotated(GPROTATED fnptr, GLdouble angle, GLdouble x, GLdouble y, GLdouble z) { -// (*fnptr)(angle, x, y, z); -// } -// static void glowRotatef(GPROTATEF fnptr, GLfloat angle, GLfloat x, GLfloat y, GLfloat z) { -// (*fnptr)(angle, x, y, z); -// } -// static void glowRotatexOES(GPROTATEXOES fnptr, GLfixed angle, GLfixed x, GLfixed y, GLfixed z) { -// (*fnptr)(angle, x, y, z); -// } -// static void glowSampleCoverage(GPSAMPLECOVERAGE fnptr, GLfloat value, GLboolean invert) { -// (*fnptr)(value, invert); -// } -// static void glowSampleCoverageARB(GPSAMPLECOVERAGEARB fnptr, GLfloat value, GLboolean invert) { -// (*fnptr)(value, invert); -// } -// static void glowSampleCoveragexOES(GPSAMPLECOVERAGEXOES fnptr, GLclampx value, GLboolean invert) { -// (*fnptr)(value, invert); -// } -// static void glowSampleMapATI(GPSAMPLEMAPATI fnptr, GLuint dst, GLuint interp, GLenum swizzle) { -// (*fnptr)(dst, interp, swizzle); -// } -// static void glowSampleMaskEXT(GPSAMPLEMASKEXT fnptr, GLclampf value, GLboolean invert) { -// (*fnptr)(value, invert); -// } -// static void glowSampleMaskIndexedNV(GPSAMPLEMASKINDEXEDNV fnptr, GLuint index, GLbitfield mask) { -// (*fnptr)(index, mask); -// } -// static void glowSampleMaskSGIS(GPSAMPLEMASKSGIS fnptr, GLclampf value, GLboolean invert) { -// (*fnptr)(value, invert); -// } -// static void glowSampleMaski(GPSAMPLEMASKI fnptr, GLuint maskNumber, GLbitfield mask) { -// (*fnptr)(maskNumber, mask); -// } -// static void glowSamplePatternEXT(GPSAMPLEPATTERNEXT fnptr, GLenum pattern) { -// (*fnptr)(pattern); -// } -// static void glowSamplePatternSGIS(GPSAMPLEPATTERNSGIS fnptr, GLenum pattern) { -// (*fnptr)(pattern); -// } -// static void glowSamplerParameterIiv(GPSAMPLERPARAMETERIIV fnptr, GLuint sampler, GLenum pname, const GLint * param) { -// (*fnptr)(sampler, pname, param); -// } -// static void glowSamplerParameterIuiv(GPSAMPLERPARAMETERIUIV fnptr, GLuint sampler, GLenum pname, const GLuint * param) { -// (*fnptr)(sampler, pname, param); -// } -// static void glowSamplerParameterf(GPSAMPLERPARAMETERF fnptr, GLuint sampler, GLenum pname, GLfloat param) { -// (*fnptr)(sampler, pname, param); -// } -// static void glowSamplerParameterfv(GPSAMPLERPARAMETERFV fnptr, GLuint sampler, GLenum pname, const GLfloat * param) { -// (*fnptr)(sampler, pname, param); -// } -// static void glowSamplerParameteri(GPSAMPLERPARAMETERI fnptr, GLuint sampler, GLenum pname, GLint param) { -// (*fnptr)(sampler, pname, param); -// } -// static void glowSamplerParameteriv(GPSAMPLERPARAMETERIV fnptr, GLuint sampler, GLenum pname, const GLint * param) { -// (*fnptr)(sampler, pname, param); -// } -// static void glowScaled(GPSCALED fnptr, GLdouble x, GLdouble y, GLdouble z) { -// (*fnptr)(x, y, z); -// } -// static void glowScalef(GPSCALEF fnptr, GLfloat x, GLfloat y, GLfloat z) { -// (*fnptr)(x, y, z); -// } -// static void glowScalexOES(GPSCALEXOES fnptr, GLfixed x, GLfixed y, GLfixed z) { -// (*fnptr)(x, y, z); -// } -// static void glowScissor(GPSCISSOR fnptr, GLint x, GLint y, GLsizei width, GLsizei height) { -// (*fnptr)(x, y, width, height); -// } -// static void glowScissorArrayv(GPSCISSORARRAYV fnptr, GLuint first, GLsizei count, const GLint * v) { -// (*fnptr)(first, count, v); -// } -// static void glowScissorIndexed(GPSCISSORINDEXED fnptr, GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height) { -// (*fnptr)(index, left, bottom, width, height); -// } -// static void glowScissorIndexedv(GPSCISSORINDEXEDV fnptr, GLuint index, const GLint * v) { -// (*fnptr)(index, v); -// } -// static void glowSecondaryColor3b(GPSECONDARYCOLOR3B fnptr, GLbyte red, GLbyte green, GLbyte blue) { -// (*fnptr)(red, green, blue); -// } -// static void glowSecondaryColor3bEXT(GPSECONDARYCOLOR3BEXT fnptr, GLbyte red, GLbyte green, GLbyte blue) { -// (*fnptr)(red, green, blue); -// } -// static void glowSecondaryColor3bv(GPSECONDARYCOLOR3BV fnptr, const GLbyte * v) { -// (*fnptr)(v); -// } -// static void glowSecondaryColor3bvEXT(GPSECONDARYCOLOR3BVEXT fnptr, const GLbyte * v) { -// (*fnptr)(v); -// } -// static void glowSecondaryColor3d(GPSECONDARYCOLOR3D fnptr, GLdouble red, GLdouble green, GLdouble blue) { -// (*fnptr)(red, green, blue); -// } -// static void glowSecondaryColor3dEXT(GPSECONDARYCOLOR3DEXT fnptr, GLdouble red, GLdouble green, GLdouble blue) { -// (*fnptr)(red, green, blue); -// } -// static void glowSecondaryColor3dv(GPSECONDARYCOLOR3DV fnptr, const GLdouble * v) { -// (*fnptr)(v); -// } -// static void glowSecondaryColor3dvEXT(GPSECONDARYCOLOR3DVEXT fnptr, const GLdouble * v) { -// (*fnptr)(v); -// } -// static void glowSecondaryColor3f(GPSECONDARYCOLOR3F fnptr, GLfloat red, GLfloat green, GLfloat blue) { -// (*fnptr)(red, green, blue); -// } -// static void glowSecondaryColor3fEXT(GPSECONDARYCOLOR3FEXT fnptr, GLfloat red, GLfloat green, GLfloat blue) { -// (*fnptr)(red, green, blue); -// } -// static void glowSecondaryColor3fv(GPSECONDARYCOLOR3FV fnptr, const GLfloat * v) { -// (*fnptr)(v); -// } -// static void glowSecondaryColor3fvEXT(GPSECONDARYCOLOR3FVEXT fnptr, const GLfloat * v) { -// (*fnptr)(v); -// } -// static void glowSecondaryColor3hNV(GPSECONDARYCOLOR3HNV fnptr, GLhalfNV red, GLhalfNV green, GLhalfNV blue) { -// (*fnptr)(red, green, blue); -// } -// static void glowSecondaryColor3hvNV(GPSECONDARYCOLOR3HVNV fnptr, const GLhalfNV * v) { -// (*fnptr)(v); -// } -// static void glowSecondaryColor3i(GPSECONDARYCOLOR3I fnptr, GLint red, GLint green, GLint blue) { -// (*fnptr)(red, green, blue); -// } -// static void glowSecondaryColor3iEXT(GPSECONDARYCOLOR3IEXT fnptr, GLint red, GLint green, GLint blue) { -// (*fnptr)(red, green, blue); -// } -// static void glowSecondaryColor3iv(GPSECONDARYCOLOR3IV fnptr, const GLint * v) { -// (*fnptr)(v); -// } -// static void glowSecondaryColor3ivEXT(GPSECONDARYCOLOR3IVEXT fnptr, const GLint * v) { -// (*fnptr)(v); -// } -// static void glowSecondaryColor3s(GPSECONDARYCOLOR3S fnptr, GLshort red, GLshort green, GLshort blue) { -// (*fnptr)(red, green, blue); -// } -// static void glowSecondaryColor3sEXT(GPSECONDARYCOLOR3SEXT fnptr, GLshort red, GLshort green, GLshort blue) { -// (*fnptr)(red, green, blue); -// } -// static void glowSecondaryColor3sv(GPSECONDARYCOLOR3SV fnptr, const GLshort * v) { -// (*fnptr)(v); -// } -// static void glowSecondaryColor3svEXT(GPSECONDARYCOLOR3SVEXT fnptr, const GLshort * v) { -// (*fnptr)(v); -// } -// static void glowSecondaryColor3ub(GPSECONDARYCOLOR3UB fnptr, GLubyte red, GLubyte green, GLubyte blue) { -// (*fnptr)(red, green, blue); -// } -// static void glowSecondaryColor3ubEXT(GPSECONDARYCOLOR3UBEXT fnptr, GLubyte red, GLubyte green, GLubyte blue) { -// (*fnptr)(red, green, blue); -// } -// static void glowSecondaryColor3ubv(GPSECONDARYCOLOR3UBV fnptr, const GLubyte * v) { -// (*fnptr)(v); -// } -// static void glowSecondaryColor3ubvEXT(GPSECONDARYCOLOR3UBVEXT fnptr, const GLubyte * v) { -// (*fnptr)(v); -// } -// static void glowSecondaryColor3ui(GPSECONDARYCOLOR3UI fnptr, GLuint red, GLuint green, GLuint blue) { -// (*fnptr)(red, green, blue); -// } -// static void glowSecondaryColor3uiEXT(GPSECONDARYCOLOR3UIEXT fnptr, GLuint red, GLuint green, GLuint blue) { -// (*fnptr)(red, green, blue); -// } -// static void glowSecondaryColor3uiv(GPSECONDARYCOLOR3UIV fnptr, const GLuint * v) { -// (*fnptr)(v); -// } -// static void glowSecondaryColor3uivEXT(GPSECONDARYCOLOR3UIVEXT fnptr, const GLuint * v) { -// (*fnptr)(v); -// } -// static void glowSecondaryColor3us(GPSECONDARYCOLOR3US fnptr, GLushort red, GLushort green, GLushort blue) { -// (*fnptr)(red, green, blue); -// } -// static void glowSecondaryColor3usEXT(GPSECONDARYCOLOR3USEXT fnptr, GLushort red, GLushort green, GLushort blue) { -// (*fnptr)(red, green, blue); -// } -// static void glowSecondaryColor3usv(GPSECONDARYCOLOR3USV fnptr, const GLushort * v) { -// (*fnptr)(v); -// } -// static void glowSecondaryColor3usvEXT(GPSECONDARYCOLOR3USVEXT fnptr, const GLushort * v) { -// (*fnptr)(v); -// } -// static void glowSecondaryColorFormatNV(GPSECONDARYCOLORFORMATNV fnptr, GLint size, GLenum type, GLsizei stride) { -// (*fnptr)(size, type, stride); -// } -// static void glowSecondaryColorPointer(GPSECONDARYCOLORPOINTER fnptr, GLint size, GLenum type, GLsizei stride, const void * pointer) { -// (*fnptr)(size, type, stride, pointer); -// } -// static void glowSecondaryColorPointerEXT(GPSECONDARYCOLORPOINTEREXT fnptr, GLint size, GLenum type, GLsizei stride, const void * pointer) { -// (*fnptr)(size, type, stride, pointer); -// } -// static void glowSecondaryColorPointerListIBM(GPSECONDARYCOLORPOINTERLISTIBM fnptr, GLint size, GLenum type, GLint stride, const void ** pointer, GLint ptrstride) { -// (*fnptr)(size, type, stride, pointer, ptrstride); -// } -// static void glowSelectBuffer(GPSELECTBUFFER fnptr, GLsizei size, GLuint * buffer) { -// (*fnptr)(size, buffer); -// } -// static void glowSelectPerfMonitorCountersAMD(GPSELECTPERFMONITORCOUNTERSAMD fnptr, GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint * counterList) { -// (*fnptr)(monitor, enable, group, numCounters, counterList); -// } -// static void glowSemaphoreParameterui64vEXT(GPSEMAPHOREPARAMETERUI64VEXT fnptr, GLuint semaphore, GLenum pname, const GLuint64 * params) { -// (*fnptr)(semaphore, pname, params); -// } -// static void glowSeparableFilter2DEXT(GPSEPARABLEFILTER2DEXT fnptr, GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * row, const void * column) { -// (*fnptr)(target, internalformat, width, height, format, type, row, column); -// } -// static void glowSetFenceAPPLE(GPSETFENCEAPPLE fnptr, GLuint fence) { -// (*fnptr)(fence); -// } -// static void glowSetFenceNV(GPSETFENCENV fnptr, GLuint fence, GLenum condition) { -// (*fnptr)(fence, condition); -// } -// static void glowSetFragmentShaderConstantATI(GPSETFRAGMENTSHADERCONSTANTATI fnptr, GLuint dst, const GLfloat * value) { -// (*fnptr)(dst, value); -// } -// static void glowSetInvariantEXT(GPSETINVARIANTEXT fnptr, GLuint id, GLenum type, const void * addr) { -// (*fnptr)(id, type, addr); -// } -// static void glowSetLocalConstantEXT(GPSETLOCALCONSTANTEXT fnptr, GLuint id, GLenum type, const void * addr) { -// (*fnptr)(id, type, addr); -// } -// static void glowSetMultisamplefvAMD(GPSETMULTISAMPLEFVAMD fnptr, GLenum pname, GLuint index, const GLfloat * val) { -// (*fnptr)(pname, index, val); -// } -// static void glowShadeModel(GPSHADEMODEL fnptr, GLenum mode) { -// (*fnptr)(mode); -// } -// static void glowShaderBinary(GPSHADERBINARY fnptr, GLsizei count, const GLuint * shaders, GLenum binaryformat, const void * binary, GLsizei length) { -// (*fnptr)(count, shaders, binaryformat, binary, length); -// } -// static void glowShaderOp1EXT(GPSHADEROP1EXT fnptr, GLenum op, GLuint res, GLuint arg1) { -// (*fnptr)(op, res, arg1); -// } -// static void glowShaderOp2EXT(GPSHADEROP2EXT fnptr, GLenum op, GLuint res, GLuint arg1, GLuint arg2) { -// (*fnptr)(op, res, arg1, arg2); -// } -// static void glowShaderOp3EXT(GPSHADEROP3EXT fnptr, GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3) { -// (*fnptr)(op, res, arg1, arg2, arg3); -// } // static void glowShaderSource(GPSHADERSOURCE fnptr, GLuint shader, GLsizei count, const GLchar *const* string, const GLint * length) { // (*fnptr)(shader, count, string, length); // } -// static void glowShaderSourceARB(GPSHADERSOURCEARB fnptr, GLhandleARB shaderObj, GLsizei count, const GLcharARB ** string, const GLint * length) { -// (*fnptr)(shaderObj, count, string, length); -// } -// static void glowShaderStorageBlockBinding(GPSHADERSTORAGEBLOCKBINDING fnptr, GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding) { -// (*fnptr)(program, storageBlockIndex, storageBlockBinding); -// } -// static void glowSharpenTexFuncSGIS(GPSHARPENTEXFUNCSGIS fnptr, GLenum target, GLsizei n, const GLfloat * points) { -// (*fnptr)(target, n, points); -// } -// static void glowSignalSemaphoreEXT(GPSIGNALSEMAPHOREEXT fnptr, GLuint semaphore, GLuint numBufferBarriers, const GLuint * buffers, GLuint numTextureBarriers, const GLuint * textures, const GLenum * dstLayouts) { -// (*fnptr)(semaphore, numBufferBarriers, buffers, numTextureBarriers, textures, dstLayouts); -// } -// static void glowSignalVkFenceNV(GPSIGNALVKFENCENV fnptr, GLuint64 vkFence) { -// (*fnptr)(vkFence); -// } -// static void glowSignalVkSemaphoreNV(GPSIGNALVKSEMAPHORENV fnptr, GLuint64 vkSemaphore) { -// (*fnptr)(vkSemaphore); -// } -// static void glowSpecializeShaderARB(GPSPECIALIZESHADERARB fnptr, GLuint shader, const GLchar * pEntryPoint, GLuint numSpecializationConstants, const GLuint * pConstantIndex, const GLuint * pConstantValue) { -// (*fnptr)(shader, pEntryPoint, numSpecializationConstants, pConstantIndex, pConstantValue); -// } -// static void glowSpriteParameterfSGIX(GPSPRITEPARAMETERFSGIX fnptr, GLenum pname, GLfloat param) { -// (*fnptr)(pname, param); -// } -// static void glowSpriteParameterfvSGIX(GPSPRITEPARAMETERFVSGIX fnptr, GLenum pname, const GLfloat * params) { -// (*fnptr)(pname, params); -// } -// static void glowSpriteParameteriSGIX(GPSPRITEPARAMETERISGIX fnptr, GLenum pname, GLint param) { -// (*fnptr)(pname, param); -// } -// static void glowSpriteParameterivSGIX(GPSPRITEPARAMETERIVSGIX fnptr, GLenum pname, const GLint * params) { -// (*fnptr)(pname, params); -// } -// static void glowStartInstrumentsSGIX(GPSTARTINSTRUMENTSSGIX fnptr) { -// (*fnptr)(); -// } -// static void glowStateCaptureNV(GPSTATECAPTURENV fnptr, GLuint state, GLenum mode) { -// (*fnptr)(state, mode); -// } -// static void glowStencilClearTagEXT(GPSTENCILCLEARTAGEXT fnptr, GLsizei stencilTagBits, GLuint stencilClearTag) { -// (*fnptr)(stencilTagBits, stencilClearTag); -// } -// static void glowStencilFillPathInstancedNV(GPSTENCILFILLPATHINSTANCEDNV fnptr, GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat * transformValues) { -// (*fnptr)(numPaths, pathNameType, paths, pathBase, fillMode, mask, transformType, transformValues); -// } -// static void glowStencilFillPathNV(GPSTENCILFILLPATHNV fnptr, GLuint path, GLenum fillMode, GLuint mask) { -// (*fnptr)(path, fillMode, mask); -// } -// static void glowStencilFunc(GPSTENCILFUNC fnptr, GLenum func, GLint ref, GLuint mask) { -// (*fnptr)(func, ref, mask); -// } -// static void glowStencilFuncSeparate(GPSTENCILFUNCSEPARATE fnptr, GLenum face, GLenum func, GLint ref, GLuint mask) { -// (*fnptr)(face, func, ref, mask); -// } -// static void glowStencilFuncSeparateATI(GPSTENCILFUNCSEPARATEATI fnptr, GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask) { -// (*fnptr)(frontfunc, backfunc, ref, mask); -// } -// static void glowStencilMask(GPSTENCILMASK fnptr, GLuint mask) { -// (*fnptr)(mask); -// } -// static void glowStencilMaskSeparate(GPSTENCILMASKSEPARATE fnptr, GLenum face, GLuint mask) { -// (*fnptr)(face, mask); -// } -// static void glowStencilOp(GPSTENCILOP fnptr, GLenum fail, GLenum zfail, GLenum zpass) { -// (*fnptr)(fail, zfail, zpass); -// } -// static void glowStencilOpSeparate(GPSTENCILOPSEPARATE fnptr, GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass) { -// (*fnptr)(face, sfail, dpfail, dppass); -// } -// static void glowStencilOpSeparateATI(GPSTENCILOPSEPARATEATI fnptr, GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass) { -// (*fnptr)(face, sfail, dpfail, dppass); -// } -// static void glowStencilOpValueAMD(GPSTENCILOPVALUEAMD fnptr, GLenum face, GLuint value) { -// (*fnptr)(face, value); -// } -// static void glowStencilStrokePathInstancedNV(GPSTENCILSTROKEPATHINSTANCEDNV fnptr, GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat * transformValues) { -// (*fnptr)(numPaths, pathNameType, paths, pathBase, reference, mask, transformType, transformValues); -// } -// static void glowStencilStrokePathNV(GPSTENCILSTROKEPATHNV fnptr, GLuint path, GLint reference, GLuint mask) { -// (*fnptr)(path, reference, mask); -// } -// static void glowStencilThenCoverFillPathInstancedNV(GPSTENCILTHENCOVERFILLPATHINSTANCEDNV fnptr, GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat * transformValues) { -// (*fnptr)(numPaths, pathNameType, paths, pathBase, fillMode, mask, coverMode, transformType, transformValues); -// } -// static void glowStencilThenCoverFillPathNV(GPSTENCILTHENCOVERFILLPATHNV fnptr, GLuint path, GLenum fillMode, GLuint mask, GLenum coverMode) { -// (*fnptr)(path, fillMode, mask, coverMode); -// } -// static void glowStencilThenCoverStrokePathInstancedNV(GPSTENCILTHENCOVERSTROKEPATHINSTANCEDNV fnptr, GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat * transformValues) { -// (*fnptr)(numPaths, pathNameType, paths, pathBase, reference, mask, coverMode, transformType, transformValues); -// } -// static void glowStencilThenCoverStrokePathNV(GPSTENCILTHENCOVERSTROKEPATHNV fnptr, GLuint path, GLint reference, GLuint mask, GLenum coverMode) { -// (*fnptr)(path, reference, mask, coverMode); -// } -// static void glowStopInstrumentsSGIX(GPSTOPINSTRUMENTSSGIX fnptr, GLint marker) { -// (*fnptr)(marker); -// } -// static void glowStringMarkerGREMEDY(GPSTRINGMARKERGREMEDY fnptr, GLsizei len, const void * string) { -// (*fnptr)(len, string); -// } -// static void glowSubpixelPrecisionBiasNV(GPSUBPIXELPRECISIONBIASNV fnptr, GLuint xbits, GLuint ybits) { -// (*fnptr)(xbits, ybits); -// } -// static void glowSwizzleEXT(GPSWIZZLEEXT fnptr, GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW) { -// (*fnptr)(res, in, outX, outY, outZ, outW); -// } -// static void glowSyncTextureINTEL(GPSYNCTEXTUREINTEL fnptr, GLuint texture) { -// (*fnptr)(texture); -// } -// static void glowTagSampleBufferSGIX(GPTAGSAMPLEBUFFERSGIX fnptr) { -// (*fnptr)(); -// } -// static void glowTangent3bEXT(GPTANGENT3BEXT fnptr, GLbyte tx, GLbyte ty, GLbyte tz) { -// (*fnptr)(tx, ty, tz); -// } -// static void glowTangent3bvEXT(GPTANGENT3BVEXT fnptr, const GLbyte * v) { -// (*fnptr)(v); -// } -// static void glowTangent3dEXT(GPTANGENT3DEXT fnptr, GLdouble tx, GLdouble ty, GLdouble tz) { -// (*fnptr)(tx, ty, tz); -// } -// static void glowTangent3dvEXT(GPTANGENT3DVEXT fnptr, const GLdouble * v) { -// (*fnptr)(v); -// } -// static void glowTangent3fEXT(GPTANGENT3FEXT fnptr, GLfloat tx, GLfloat ty, GLfloat tz) { -// (*fnptr)(tx, ty, tz); -// } -// static void glowTangent3fvEXT(GPTANGENT3FVEXT fnptr, const GLfloat * v) { -// (*fnptr)(v); -// } -// static void glowTangent3iEXT(GPTANGENT3IEXT fnptr, GLint tx, GLint ty, GLint tz) { -// (*fnptr)(tx, ty, tz); -// } -// static void glowTangent3ivEXT(GPTANGENT3IVEXT fnptr, const GLint * v) { -// (*fnptr)(v); -// } -// static void glowTangent3sEXT(GPTANGENT3SEXT fnptr, GLshort tx, GLshort ty, GLshort tz) { -// (*fnptr)(tx, ty, tz); -// } -// static void glowTangent3svEXT(GPTANGENT3SVEXT fnptr, const GLshort * v) { -// (*fnptr)(v); -// } -// static void glowTangentPointerEXT(GPTANGENTPOINTEREXT fnptr, GLenum type, GLsizei stride, const void * pointer) { -// (*fnptr)(type, stride, pointer); -// } -// static void glowTbufferMask3DFX(GPTBUFFERMASK3DFX fnptr, GLuint mask) { -// (*fnptr)(mask); -// } -// static void glowTessellationFactorAMD(GPTESSELLATIONFACTORAMD fnptr, GLfloat factor) { -// (*fnptr)(factor); -// } -// static void glowTessellationModeAMD(GPTESSELLATIONMODEAMD fnptr, GLenum mode) { -// (*fnptr)(mode); -// } -// static GLboolean glowTestFenceAPPLE(GPTESTFENCEAPPLE fnptr, GLuint fence) { -// return (*fnptr)(fence); -// } -// static GLboolean glowTestFenceNV(GPTESTFENCENV fnptr, GLuint fence) { -// return (*fnptr)(fence); -// } -// static GLboolean glowTestObjectAPPLE(GPTESTOBJECTAPPLE fnptr, GLenum object, GLuint name) { -// return (*fnptr)(object, name); -// } -// static void glowTexBufferARB(GPTEXBUFFERARB fnptr, GLenum target, GLenum internalformat, GLuint buffer) { -// (*fnptr)(target, internalformat, buffer); -// } -// static void glowTexBufferEXT(GPTEXBUFFEREXT fnptr, GLenum target, GLenum internalformat, GLuint buffer) { -// (*fnptr)(target, internalformat, buffer); -// } -// static void glowTexBufferRange(GPTEXBUFFERRANGE fnptr, GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size) { -// (*fnptr)(target, internalformat, buffer, offset, size); -// } -// static void glowTexBumpParameterfvATI(GPTEXBUMPPARAMETERFVATI fnptr, GLenum pname, const GLfloat * param) { -// (*fnptr)(pname, param); -// } -// static void glowTexBumpParameterivATI(GPTEXBUMPPARAMETERIVATI fnptr, GLenum pname, const GLint * param) { -// (*fnptr)(pname, param); -// } -// static void glowTexCoord1bOES(GPTEXCOORD1BOES fnptr, GLbyte s) { -// (*fnptr)(s); -// } -// static void glowTexCoord1bvOES(GPTEXCOORD1BVOES fnptr, const GLbyte * coords) { -// (*fnptr)(coords); -// } -// static void glowTexCoord1d(GPTEXCOORD1D fnptr, GLdouble s) { -// (*fnptr)(s); -// } -// static void glowTexCoord1dv(GPTEXCOORD1DV fnptr, const GLdouble * v) { -// (*fnptr)(v); -// } -// static void glowTexCoord1f(GPTEXCOORD1F fnptr, GLfloat s) { -// (*fnptr)(s); -// } -// static void glowTexCoord1fv(GPTEXCOORD1FV fnptr, const GLfloat * v) { -// (*fnptr)(v); -// } -// static void glowTexCoord1hNV(GPTEXCOORD1HNV fnptr, GLhalfNV s) { -// (*fnptr)(s); -// } -// static void glowTexCoord1hvNV(GPTEXCOORD1HVNV fnptr, const GLhalfNV * v) { -// (*fnptr)(v); -// } -// static void glowTexCoord1i(GPTEXCOORD1I fnptr, GLint s) { -// (*fnptr)(s); -// } -// static void glowTexCoord1iv(GPTEXCOORD1IV fnptr, const GLint * v) { -// (*fnptr)(v); -// } -// static void glowTexCoord1s(GPTEXCOORD1S fnptr, GLshort s) { -// (*fnptr)(s); -// } -// static void glowTexCoord1sv(GPTEXCOORD1SV fnptr, const GLshort * v) { -// (*fnptr)(v); -// } -// static void glowTexCoord1xOES(GPTEXCOORD1XOES fnptr, GLfixed s) { -// (*fnptr)(s); -// } -// static void glowTexCoord1xvOES(GPTEXCOORD1XVOES fnptr, const GLfixed * coords) { -// (*fnptr)(coords); -// } -// static void glowTexCoord2bOES(GPTEXCOORD2BOES fnptr, GLbyte s, GLbyte t) { -// (*fnptr)(s, t); -// } -// static void glowTexCoord2bvOES(GPTEXCOORD2BVOES fnptr, const GLbyte * coords) { -// (*fnptr)(coords); -// } -// static void glowTexCoord2d(GPTEXCOORD2D fnptr, GLdouble s, GLdouble t) { -// (*fnptr)(s, t); -// } -// static void glowTexCoord2dv(GPTEXCOORD2DV fnptr, const GLdouble * v) { -// (*fnptr)(v); -// } -// static void glowTexCoord2f(GPTEXCOORD2F fnptr, GLfloat s, GLfloat t) { -// (*fnptr)(s, t); -// } -// static void glowTexCoord2fColor3fVertex3fSUN(GPTEXCOORD2FCOLOR3FVERTEX3FSUN fnptr, GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z) { -// (*fnptr)(s, t, r, g, b, x, y, z); -// } -// static void glowTexCoord2fColor3fVertex3fvSUN(GPTEXCOORD2FCOLOR3FVERTEX3FVSUN fnptr, const GLfloat * tc, const GLfloat * c, const GLfloat * v) { -// (*fnptr)(tc, c, v); -// } -// static void glowTexCoord2fColor4fNormal3fVertex3fSUN(GPTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUN fnptr, GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z) { -// (*fnptr)(s, t, r, g, b, a, nx, ny, nz, x, y, z); -// } -// static void glowTexCoord2fColor4fNormal3fVertex3fvSUN(GPTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUN fnptr, const GLfloat * tc, const GLfloat * c, const GLfloat * n, const GLfloat * v) { -// (*fnptr)(tc, c, n, v); -// } -// static void glowTexCoord2fColor4ubVertex3fSUN(GPTEXCOORD2FCOLOR4UBVERTEX3FSUN fnptr, GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z) { -// (*fnptr)(s, t, r, g, b, a, x, y, z); -// } -// static void glowTexCoord2fColor4ubVertex3fvSUN(GPTEXCOORD2FCOLOR4UBVERTEX3FVSUN fnptr, const GLfloat * tc, const GLubyte * c, const GLfloat * v) { -// (*fnptr)(tc, c, v); -// } -// static void glowTexCoord2fNormal3fVertex3fSUN(GPTEXCOORD2FNORMAL3FVERTEX3FSUN fnptr, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z) { -// (*fnptr)(s, t, nx, ny, nz, x, y, z); -// } -// static void glowTexCoord2fNormal3fVertex3fvSUN(GPTEXCOORD2FNORMAL3FVERTEX3FVSUN fnptr, const GLfloat * tc, const GLfloat * n, const GLfloat * v) { -// (*fnptr)(tc, n, v); -// } -// static void glowTexCoord2fVertex3fSUN(GPTEXCOORD2FVERTEX3FSUN fnptr, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z) { -// (*fnptr)(s, t, x, y, z); -// } -// static void glowTexCoord2fVertex3fvSUN(GPTEXCOORD2FVERTEX3FVSUN fnptr, const GLfloat * tc, const GLfloat * v) { -// (*fnptr)(tc, v); -// } -// static void glowTexCoord2fv(GPTEXCOORD2FV fnptr, const GLfloat * v) { -// (*fnptr)(v); -// } -// static void glowTexCoord2hNV(GPTEXCOORD2HNV fnptr, GLhalfNV s, GLhalfNV t) { -// (*fnptr)(s, t); -// } -// static void glowTexCoord2hvNV(GPTEXCOORD2HVNV fnptr, const GLhalfNV * v) { -// (*fnptr)(v); -// } -// static void glowTexCoord2i(GPTEXCOORD2I fnptr, GLint s, GLint t) { -// (*fnptr)(s, t); -// } -// static void glowTexCoord2iv(GPTEXCOORD2IV fnptr, const GLint * v) { -// (*fnptr)(v); -// } -// static void glowTexCoord2s(GPTEXCOORD2S fnptr, GLshort s, GLshort t) { -// (*fnptr)(s, t); -// } -// static void glowTexCoord2sv(GPTEXCOORD2SV fnptr, const GLshort * v) { -// (*fnptr)(v); -// } -// static void glowTexCoord2xOES(GPTEXCOORD2XOES fnptr, GLfixed s, GLfixed t) { -// (*fnptr)(s, t); -// } -// static void glowTexCoord2xvOES(GPTEXCOORD2XVOES fnptr, const GLfixed * coords) { -// (*fnptr)(coords); -// } -// static void glowTexCoord3bOES(GPTEXCOORD3BOES fnptr, GLbyte s, GLbyte t, GLbyte r) { -// (*fnptr)(s, t, r); -// } -// static void glowTexCoord3bvOES(GPTEXCOORD3BVOES fnptr, const GLbyte * coords) { -// (*fnptr)(coords); -// } -// static void glowTexCoord3d(GPTEXCOORD3D fnptr, GLdouble s, GLdouble t, GLdouble r) { -// (*fnptr)(s, t, r); -// } -// static void glowTexCoord3dv(GPTEXCOORD3DV fnptr, const GLdouble * v) { -// (*fnptr)(v); -// } -// static void glowTexCoord3f(GPTEXCOORD3F fnptr, GLfloat s, GLfloat t, GLfloat r) { -// (*fnptr)(s, t, r); -// } -// static void glowTexCoord3fv(GPTEXCOORD3FV fnptr, const GLfloat * v) { -// (*fnptr)(v); -// } -// static void glowTexCoord3hNV(GPTEXCOORD3HNV fnptr, GLhalfNV s, GLhalfNV t, GLhalfNV r) { -// (*fnptr)(s, t, r); -// } -// static void glowTexCoord3hvNV(GPTEXCOORD3HVNV fnptr, const GLhalfNV * v) { -// (*fnptr)(v); -// } -// static void glowTexCoord3i(GPTEXCOORD3I fnptr, GLint s, GLint t, GLint r) { -// (*fnptr)(s, t, r); -// } -// static void glowTexCoord3iv(GPTEXCOORD3IV fnptr, const GLint * v) { -// (*fnptr)(v); -// } -// static void glowTexCoord3s(GPTEXCOORD3S fnptr, GLshort s, GLshort t, GLshort r) { -// (*fnptr)(s, t, r); -// } -// static void glowTexCoord3sv(GPTEXCOORD3SV fnptr, const GLshort * v) { -// (*fnptr)(v); -// } -// static void glowTexCoord3xOES(GPTEXCOORD3XOES fnptr, GLfixed s, GLfixed t, GLfixed r) { -// (*fnptr)(s, t, r); -// } -// static void glowTexCoord3xvOES(GPTEXCOORD3XVOES fnptr, const GLfixed * coords) { -// (*fnptr)(coords); -// } -// static void glowTexCoord4bOES(GPTEXCOORD4BOES fnptr, GLbyte s, GLbyte t, GLbyte r, GLbyte q) { -// (*fnptr)(s, t, r, q); -// } -// static void glowTexCoord4bvOES(GPTEXCOORD4BVOES fnptr, const GLbyte * coords) { -// (*fnptr)(coords); -// } -// static void glowTexCoord4d(GPTEXCOORD4D fnptr, GLdouble s, GLdouble t, GLdouble r, GLdouble q) { -// (*fnptr)(s, t, r, q); -// } -// static void glowTexCoord4dv(GPTEXCOORD4DV fnptr, const GLdouble * v) { -// (*fnptr)(v); -// } -// static void glowTexCoord4f(GPTEXCOORD4F fnptr, GLfloat s, GLfloat t, GLfloat r, GLfloat q) { -// (*fnptr)(s, t, r, q); -// } -// static void glowTexCoord4fColor4fNormal3fVertex4fSUN(GPTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUN fnptr, GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z, GLfloat w) { -// (*fnptr)(s, t, p, q, r, g, b, a, nx, ny, nz, x, y, z, w); -// } -// static void glowTexCoord4fColor4fNormal3fVertex4fvSUN(GPTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUN fnptr, const GLfloat * tc, const GLfloat * c, const GLfloat * n, const GLfloat * v) { -// (*fnptr)(tc, c, n, v); -// } -// static void glowTexCoord4fVertex4fSUN(GPTEXCOORD4FVERTEX4FSUN fnptr, GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w) { -// (*fnptr)(s, t, p, q, x, y, z, w); -// } -// static void glowTexCoord4fVertex4fvSUN(GPTEXCOORD4FVERTEX4FVSUN fnptr, const GLfloat * tc, const GLfloat * v) { -// (*fnptr)(tc, v); -// } -// static void glowTexCoord4fv(GPTEXCOORD4FV fnptr, const GLfloat * v) { -// (*fnptr)(v); -// } -// static void glowTexCoord4hNV(GPTEXCOORD4HNV fnptr, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q) { -// (*fnptr)(s, t, r, q); -// } -// static void glowTexCoord4hvNV(GPTEXCOORD4HVNV fnptr, const GLhalfNV * v) { -// (*fnptr)(v); -// } -// static void glowTexCoord4i(GPTEXCOORD4I fnptr, GLint s, GLint t, GLint r, GLint q) { -// (*fnptr)(s, t, r, q); -// } -// static void glowTexCoord4iv(GPTEXCOORD4IV fnptr, const GLint * v) { -// (*fnptr)(v); -// } -// static void glowTexCoord4s(GPTEXCOORD4S fnptr, GLshort s, GLshort t, GLshort r, GLshort q) { -// (*fnptr)(s, t, r, q); -// } -// static void glowTexCoord4sv(GPTEXCOORD4SV fnptr, const GLshort * v) { -// (*fnptr)(v); -// } -// static void glowTexCoord4xOES(GPTEXCOORD4XOES fnptr, GLfixed s, GLfixed t, GLfixed r, GLfixed q) { -// (*fnptr)(s, t, r, q); -// } -// static void glowTexCoord4xvOES(GPTEXCOORD4XVOES fnptr, const GLfixed * coords) { -// (*fnptr)(coords); -// } -// static void glowTexCoordFormatNV(GPTEXCOORDFORMATNV fnptr, GLint size, GLenum type, GLsizei stride) { -// (*fnptr)(size, type, stride); -// } -// static void glowTexCoordPointer(GPTEXCOORDPOINTER fnptr, GLint size, GLenum type, GLsizei stride, const void * pointer) { -// (*fnptr)(size, type, stride, pointer); -// } -// static void glowTexCoordPointerEXT(GPTEXCOORDPOINTEREXT fnptr, GLint size, GLenum type, GLsizei stride, GLsizei count, const void * pointer) { -// (*fnptr)(size, type, stride, count, pointer); -// } -// static void glowTexCoordPointerListIBM(GPTEXCOORDPOINTERLISTIBM fnptr, GLint size, GLenum type, GLint stride, const void ** pointer, GLint ptrstride) { -// (*fnptr)(size, type, stride, pointer, ptrstride); -// } -// static void glowTexCoordPointervINTEL(GPTEXCOORDPOINTERVINTEL fnptr, GLint size, GLenum type, const void ** pointer) { -// (*fnptr)(size, type, pointer); -// } -// static void glowTexEnvf(GPTEXENVF fnptr, GLenum target, GLenum pname, GLfloat param) { -// (*fnptr)(target, pname, param); -// } -// static void glowTexEnvfv(GPTEXENVFV fnptr, GLenum target, GLenum pname, const GLfloat * params) { -// (*fnptr)(target, pname, params); -// } -// static void glowTexEnvi(GPTEXENVI fnptr, GLenum target, GLenum pname, GLint param) { -// (*fnptr)(target, pname, param); -// } -// static void glowTexEnviv(GPTEXENVIV fnptr, GLenum target, GLenum pname, const GLint * params) { -// (*fnptr)(target, pname, params); -// } -// static void glowTexEnvxOES(GPTEXENVXOES fnptr, GLenum target, GLenum pname, GLfixed param) { -// (*fnptr)(target, pname, param); -// } -// static void glowTexEnvxvOES(GPTEXENVXVOES fnptr, GLenum target, GLenum pname, const GLfixed * params) { -// (*fnptr)(target, pname, params); -// } -// static void glowTexFilterFuncSGIS(GPTEXFILTERFUNCSGIS fnptr, GLenum target, GLenum filter, GLsizei n, const GLfloat * weights) { -// (*fnptr)(target, filter, n, weights); -// } -// static void glowTexGend(GPTEXGEND fnptr, GLenum coord, GLenum pname, GLdouble param) { -// (*fnptr)(coord, pname, param); -// } -// static void glowTexGendv(GPTEXGENDV fnptr, GLenum coord, GLenum pname, const GLdouble * params) { -// (*fnptr)(coord, pname, params); -// } -// static void glowTexGenf(GPTEXGENF fnptr, GLenum coord, GLenum pname, GLfloat param) { -// (*fnptr)(coord, pname, param); -// } -// static void glowTexGenfv(GPTEXGENFV fnptr, GLenum coord, GLenum pname, const GLfloat * params) { -// (*fnptr)(coord, pname, params); -// } -// static void glowTexGeni(GPTEXGENI fnptr, GLenum coord, GLenum pname, GLint param) { -// (*fnptr)(coord, pname, param); -// } -// static void glowTexGeniv(GPTEXGENIV fnptr, GLenum coord, GLenum pname, const GLint * params) { -// (*fnptr)(coord, pname, params); -// } -// static void glowTexGenxOES(GPTEXGENXOES fnptr, GLenum coord, GLenum pname, GLfixed param) { -// (*fnptr)(coord, pname, param); -// } -// static void glowTexGenxvOES(GPTEXGENXVOES fnptr, GLenum coord, GLenum pname, const GLfixed * params) { -// (*fnptr)(coord, pname, params); -// } -// static void glowTexImage1D(GPTEXIMAGE1D fnptr, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void * pixels) { -// (*fnptr)(target, level, internalformat, width, border, format, type, pixels); -// } // static void glowTexImage2D(GPTEXIMAGE2D fnptr, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void * pixels) { // (*fnptr)(target, level, internalformat, width, height, border, format, type, pixels); // } -// static void glowTexImage2DMultisample(GPTEXIMAGE2DMULTISAMPLE fnptr, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations) { -// (*fnptr)(target, samples, internalformat, width, height, fixedsamplelocations); -// } -// static void glowTexImage2DMultisampleCoverageNV(GPTEXIMAGE2DMULTISAMPLECOVERAGENV fnptr, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations) { -// (*fnptr)(target, coverageSamples, colorSamples, internalFormat, width, height, fixedSampleLocations); -// } -// static void glowTexImage3D(GPTEXIMAGE3D fnptr, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void * pixels) { -// (*fnptr)(target, level, internalformat, width, height, depth, border, format, type, pixels); -// } -// static void glowTexImage3DEXT(GPTEXIMAGE3DEXT fnptr, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void * pixels) { -// (*fnptr)(target, level, internalformat, width, height, depth, border, format, type, pixels); -// } -// static void glowTexImage3DMultisample(GPTEXIMAGE3DMULTISAMPLE fnptr, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations) { -// (*fnptr)(target, samples, internalformat, width, height, depth, fixedsamplelocations); -// } -// static void glowTexImage3DMultisampleCoverageNV(GPTEXIMAGE3DMULTISAMPLECOVERAGENV fnptr, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations) { -// (*fnptr)(target, coverageSamples, colorSamples, internalFormat, width, height, depth, fixedSampleLocations); -// } -// static void glowTexImage4DSGIS(GPTEXIMAGE4DSGIS fnptr, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLint border, GLenum format, GLenum type, const void * pixels) { -// (*fnptr)(target, level, internalformat, width, height, depth, size4d, border, format, type, pixels); -// } -// static void glowTexPageCommitmentARB(GPTEXPAGECOMMITMENTARB fnptr, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit) { -// (*fnptr)(target, level, xoffset, yoffset, zoffset, width, height, depth, commit); -// } -// static void glowTexParameterIivEXT(GPTEXPARAMETERIIVEXT fnptr, GLenum target, GLenum pname, const GLint * params) { -// (*fnptr)(target, pname, params); -// } -// static void glowTexParameterIuivEXT(GPTEXPARAMETERIUIVEXT fnptr, GLenum target, GLenum pname, const GLuint * params) { -// (*fnptr)(target, pname, params); -// } -// static void glowTexParameterf(GPTEXPARAMETERF fnptr, GLenum target, GLenum pname, GLfloat param) { -// (*fnptr)(target, pname, param); -// } -// static void glowTexParameterfv(GPTEXPARAMETERFV fnptr, GLenum target, GLenum pname, const GLfloat * params) { -// (*fnptr)(target, pname, params); -// } // static void glowTexParameteri(GPTEXPARAMETERI fnptr, GLenum target, GLenum pname, GLint param) { // (*fnptr)(target, pname, param); // } -// static void glowTexParameteriv(GPTEXPARAMETERIV fnptr, GLenum target, GLenum pname, const GLint * params) { -// (*fnptr)(target, pname, params); -// } -// static void glowTexParameterxOES(GPTEXPARAMETERXOES fnptr, GLenum target, GLenum pname, GLfixed param) { -// (*fnptr)(target, pname, param); -// } -// static void glowTexParameterxvOES(GPTEXPARAMETERXVOES fnptr, GLenum target, GLenum pname, const GLfixed * params) { -// (*fnptr)(target, pname, params); -// } -// static void glowTexRenderbufferNV(GPTEXRENDERBUFFERNV fnptr, GLenum target, GLuint renderbuffer) { -// (*fnptr)(target, renderbuffer); -// } -// static void glowTexStorage1D(GPTEXSTORAGE1D fnptr, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width) { -// (*fnptr)(target, levels, internalformat, width); -// } -// static void glowTexStorage2D(GPTEXSTORAGE2D fnptr, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height) { -// (*fnptr)(target, levels, internalformat, width, height); -// } -// static void glowTexStorage2DMultisample(GPTEXSTORAGE2DMULTISAMPLE fnptr, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations) { -// (*fnptr)(target, samples, internalformat, width, height, fixedsamplelocations); -// } -// static void glowTexStorage3D(GPTEXSTORAGE3D fnptr, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth) { -// (*fnptr)(target, levels, internalformat, width, height, depth); -// } -// static void glowTexStorage3DMultisample(GPTEXSTORAGE3DMULTISAMPLE fnptr, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations) { -// (*fnptr)(target, samples, internalformat, width, height, depth, fixedsamplelocations); -// } -// static void glowTexStorageMem1DEXT(GPTEXSTORAGEMEM1DEXT fnptr, GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLuint memory, GLuint64 offset) { -// (*fnptr)(target, levels, internalFormat, width, memory, offset); -// } -// static void glowTexStorageMem2DEXT(GPTEXSTORAGEMEM2DEXT fnptr, GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset) { -// (*fnptr)(target, levels, internalFormat, width, height, memory, offset); -// } -// static void glowTexStorageMem2DMultisampleEXT(GPTEXSTORAGEMEM2DMULTISAMPLEEXT fnptr, GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset) { -// (*fnptr)(target, samples, internalFormat, width, height, fixedSampleLocations, memory, offset); -// } -// static void glowTexStorageMem3DEXT(GPTEXSTORAGEMEM3DEXT fnptr, GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset) { -// (*fnptr)(target, levels, internalFormat, width, height, depth, memory, offset); -// } -// static void glowTexStorageMem3DMultisampleEXT(GPTEXSTORAGEMEM3DMULTISAMPLEEXT fnptr, GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset) { -// (*fnptr)(target, samples, internalFormat, width, height, depth, fixedSampleLocations, memory, offset); -// } -// static void glowTexStorageSparseAMD(GPTEXSTORAGESPARSEAMD fnptr, GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags) { -// (*fnptr)(target, internalFormat, width, height, depth, layers, flags); -// } -// static void glowTexSubImage1D(GPTEXSUBIMAGE1D fnptr, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void * pixels) { -// (*fnptr)(target, level, xoffset, width, format, type, pixels); -// } -// static void glowTexSubImage1DEXT(GPTEXSUBIMAGE1DEXT fnptr, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void * pixels) { -// (*fnptr)(target, level, xoffset, width, format, type, pixels); -// } // static void glowTexSubImage2D(GPTEXSUBIMAGE2D fnptr, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * pixels) { // (*fnptr)(target, level, xoffset, yoffset, width, height, format, type, pixels); // } -// static void glowTexSubImage2DEXT(GPTEXSUBIMAGE2DEXT fnptr, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * pixels) { -// (*fnptr)(target, level, xoffset, yoffset, width, height, format, type, pixels); -// } -// static void glowTexSubImage3D(GPTEXSUBIMAGE3D fnptr, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * pixels) { -// (*fnptr)(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); -// } -// static void glowTexSubImage3DEXT(GPTEXSUBIMAGE3DEXT fnptr, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * pixels) { -// (*fnptr)(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); -// } -// static void glowTexSubImage4DSGIS(GPTEXSUBIMAGE4DSGIS fnptr, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLenum format, GLenum type, const void * pixels) { -// (*fnptr)(target, level, xoffset, yoffset, zoffset, woffset, width, height, depth, size4d, format, type, pixels); -// } -// static void glowTextureBarrier(GPTEXTUREBARRIER fnptr) { -// (*fnptr)(); -// } -// static void glowTextureBarrierNV(GPTEXTUREBARRIERNV fnptr) { -// (*fnptr)(); -// } -// static void glowTextureBuffer(GPTEXTUREBUFFER fnptr, GLuint texture, GLenum internalformat, GLuint buffer) { -// (*fnptr)(texture, internalformat, buffer); -// } -// static void glowTextureBufferEXT(GPTEXTUREBUFFEREXT fnptr, GLuint texture, GLenum target, GLenum internalformat, GLuint buffer) { -// (*fnptr)(texture, target, internalformat, buffer); -// } -// static void glowTextureBufferRange(GPTEXTUREBUFFERRANGE fnptr, GLuint texture, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size) { -// (*fnptr)(texture, internalformat, buffer, offset, size); -// } -// static void glowTextureBufferRangeEXT(GPTEXTUREBUFFERRANGEEXT fnptr, GLuint texture, GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size) { -// (*fnptr)(texture, target, internalformat, buffer, offset, size); -// } -// static void glowTextureColorMaskSGIS(GPTEXTURECOLORMASKSGIS fnptr, GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) { -// (*fnptr)(red, green, blue, alpha); -// } -// static void glowTextureImage1DEXT(GPTEXTUREIMAGE1DEXT fnptr, GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void * pixels) { -// (*fnptr)(texture, target, level, internalformat, width, border, format, type, pixels); -// } -// static void glowTextureImage2DEXT(GPTEXTUREIMAGE2DEXT fnptr, GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void * pixels) { -// (*fnptr)(texture, target, level, internalformat, width, height, border, format, type, pixels); -// } -// static void glowTextureImage2DMultisampleCoverageNV(GPTEXTUREIMAGE2DMULTISAMPLECOVERAGENV fnptr, GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations) { -// (*fnptr)(texture, target, coverageSamples, colorSamples, internalFormat, width, height, fixedSampleLocations); -// } -// static void glowTextureImage2DMultisampleNV(GPTEXTUREIMAGE2DMULTISAMPLENV fnptr, GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations) { -// (*fnptr)(texture, target, samples, internalFormat, width, height, fixedSampleLocations); -// } -// static void glowTextureImage3DEXT(GPTEXTUREIMAGE3DEXT fnptr, GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void * pixels) { -// (*fnptr)(texture, target, level, internalformat, width, height, depth, border, format, type, pixels); -// } -// static void glowTextureImage3DMultisampleCoverageNV(GPTEXTUREIMAGE3DMULTISAMPLECOVERAGENV fnptr, GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations) { -// (*fnptr)(texture, target, coverageSamples, colorSamples, internalFormat, width, height, depth, fixedSampleLocations); -// } -// static void glowTextureImage3DMultisampleNV(GPTEXTUREIMAGE3DMULTISAMPLENV fnptr, GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations) { -// (*fnptr)(texture, target, samples, internalFormat, width, height, depth, fixedSampleLocations); -// } -// static void glowTextureLightEXT(GPTEXTURELIGHTEXT fnptr, GLenum pname) { -// (*fnptr)(pname); -// } -// static void glowTextureMaterialEXT(GPTEXTUREMATERIALEXT fnptr, GLenum face, GLenum mode) { -// (*fnptr)(face, mode); -// } -// static void glowTextureNormalEXT(GPTEXTURENORMALEXT fnptr, GLenum mode) { -// (*fnptr)(mode); -// } -// static void glowTexturePageCommitmentEXT(GPTEXTUREPAGECOMMITMENTEXT fnptr, GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit) { -// (*fnptr)(texture, level, xoffset, yoffset, zoffset, width, height, depth, commit); -// } -// static void glowTextureParameterIiv(GPTEXTUREPARAMETERIIV fnptr, GLuint texture, GLenum pname, const GLint * params) { -// (*fnptr)(texture, pname, params); -// } -// static void glowTextureParameterIivEXT(GPTEXTUREPARAMETERIIVEXT fnptr, GLuint texture, GLenum target, GLenum pname, const GLint * params) { -// (*fnptr)(texture, target, pname, params); -// } -// static void glowTextureParameterIuiv(GPTEXTUREPARAMETERIUIV fnptr, GLuint texture, GLenum pname, const GLuint * params) { -// (*fnptr)(texture, pname, params); -// } -// static void glowTextureParameterIuivEXT(GPTEXTUREPARAMETERIUIVEXT fnptr, GLuint texture, GLenum target, GLenum pname, const GLuint * params) { -// (*fnptr)(texture, target, pname, params); -// } -// static void glowTextureParameterf(GPTEXTUREPARAMETERF fnptr, GLuint texture, GLenum pname, GLfloat param) { -// (*fnptr)(texture, pname, param); -// } -// static void glowTextureParameterfEXT(GPTEXTUREPARAMETERFEXT fnptr, GLuint texture, GLenum target, GLenum pname, GLfloat param) { -// (*fnptr)(texture, target, pname, param); -// } -// static void glowTextureParameterfv(GPTEXTUREPARAMETERFV fnptr, GLuint texture, GLenum pname, const GLfloat * param) { -// (*fnptr)(texture, pname, param); -// } -// static void glowTextureParameterfvEXT(GPTEXTUREPARAMETERFVEXT fnptr, GLuint texture, GLenum target, GLenum pname, const GLfloat * params) { -// (*fnptr)(texture, target, pname, params); -// } -// static void glowTextureParameteri(GPTEXTUREPARAMETERI fnptr, GLuint texture, GLenum pname, GLint param) { -// (*fnptr)(texture, pname, param); -// } -// static void glowTextureParameteriEXT(GPTEXTUREPARAMETERIEXT fnptr, GLuint texture, GLenum target, GLenum pname, GLint param) { -// (*fnptr)(texture, target, pname, param); -// } -// static void glowTextureParameteriv(GPTEXTUREPARAMETERIV fnptr, GLuint texture, GLenum pname, const GLint * param) { -// (*fnptr)(texture, pname, param); -// } -// static void glowTextureParameterivEXT(GPTEXTUREPARAMETERIVEXT fnptr, GLuint texture, GLenum target, GLenum pname, const GLint * params) { -// (*fnptr)(texture, target, pname, params); -// } -// static void glowTextureRangeAPPLE(GPTEXTURERANGEAPPLE fnptr, GLenum target, GLsizei length, const void * pointer) { -// (*fnptr)(target, length, pointer); -// } -// static void glowTextureRenderbufferEXT(GPTEXTURERENDERBUFFEREXT fnptr, GLuint texture, GLenum target, GLuint renderbuffer) { -// (*fnptr)(texture, target, renderbuffer); -// } -// static void glowTextureStorage1D(GPTEXTURESTORAGE1D fnptr, GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width) { -// (*fnptr)(texture, levels, internalformat, width); -// } -// static void glowTextureStorage1DEXT(GPTEXTURESTORAGE1DEXT fnptr, GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width) { -// (*fnptr)(texture, target, levels, internalformat, width); -// } -// static void glowTextureStorage2D(GPTEXTURESTORAGE2D fnptr, GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height) { -// (*fnptr)(texture, levels, internalformat, width, height); -// } -// static void glowTextureStorage2DEXT(GPTEXTURESTORAGE2DEXT fnptr, GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height) { -// (*fnptr)(texture, target, levels, internalformat, width, height); -// } -// static void glowTextureStorage2DMultisample(GPTEXTURESTORAGE2DMULTISAMPLE fnptr, GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations) { -// (*fnptr)(texture, samples, internalformat, width, height, fixedsamplelocations); -// } -// static void glowTextureStorage2DMultisampleEXT(GPTEXTURESTORAGE2DMULTISAMPLEEXT fnptr, GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations) { -// (*fnptr)(texture, target, samples, internalformat, width, height, fixedsamplelocations); -// } -// static void glowTextureStorage3D(GPTEXTURESTORAGE3D fnptr, GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth) { -// (*fnptr)(texture, levels, internalformat, width, height, depth); -// } -// static void glowTextureStorage3DEXT(GPTEXTURESTORAGE3DEXT fnptr, GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth) { -// (*fnptr)(texture, target, levels, internalformat, width, height, depth); -// } -// static void glowTextureStorage3DMultisample(GPTEXTURESTORAGE3DMULTISAMPLE fnptr, GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations) { -// (*fnptr)(texture, samples, internalformat, width, height, depth, fixedsamplelocations); -// } -// static void glowTextureStorage3DMultisampleEXT(GPTEXTURESTORAGE3DMULTISAMPLEEXT fnptr, GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations) { -// (*fnptr)(texture, target, samples, internalformat, width, height, depth, fixedsamplelocations); -// } -// static void glowTextureStorageMem1DEXT(GPTEXTURESTORAGEMEM1DEXT fnptr, GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLuint memory, GLuint64 offset) { -// (*fnptr)(texture, levels, internalFormat, width, memory, offset); -// } -// static void glowTextureStorageMem2DEXT(GPTEXTURESTORAGEMEM2DEXT fnptr, GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset) { -// (*fnptr)(texture, levels, internalFormat, width, height, memory, offset); -// } -// static void glowTextureStorageMem2DMultisampleEXT(GPTEXTURESTORAGEMEM2DMULTISAMPLEEXT fnptr, GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset) { -// (*fnptr)(texture, samples, internalFormat, width, height, fixedSampleLocations, memory, offset); -// } -// static void glowTextureStorageMem3DEXT(GPTEXTURESTORAGEMEM3DEXT fnptr, GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset) { -// (*fnptr)(texture, levels, internalFormat, width, height, depth, memory, offset); -// } -// static void glowTextureStorageMem3DMultisampleEXT(GPTEXTURESTORAGEMEM3DMULTISAMPLEEXT fnptr, GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset) { -// (*fnptr)(texture, samples, internalFormat, width, height, depth, fixedSampleLocations, memory, offset); -// } -// static void glowTextureStorageSparseAMD(GPTEXTURESTORAGESPARSEAMD fnptr, GLuint texture, GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags) { -// (*fnptr)(texture, target, internalFormat, width, height, depth, layers, flags); -// } -// static void glowTextureSubImage1D(GPTEXTURESUBIMAGE1D fnptr, GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void * pixels) { -// (*fnptr)(texture, level, xoffset, width, format, type, pixels); -// } -// static void glowTextureSubImage1DEXT(GPTEXTURESUBIMAGE1DEXT fnptr, GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void * pixels) { -// (*fnptr)(texture, target, level, xoffset, width, format, type, pixels); -// } -// static void glowTextureSubImage2D(GPTEXTURESUBIMAGE2D fnptr, GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * pixels) { -// (*fnptr)(texture, level, xoffset, yoffset, width, height, format, type, pixels); -// } -// static void glowTextureSubImage2DEXT(GPTEXTURESUBIMAGE2DEXT fnptr, GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * pixels) { -// (*fnptr)(texture, target, level, xoffset, yoffset, width, height, format, type, pixels); -// } -// static void glowTextureSubImage3D(GPTEXTURESUBIMAGE3D fnptr, GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * pixels) { -// (*fnptr)(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); -// } -// static void glowTextureSubImage3DEXT(GPTEXTURESUBIMAGE3DEXT fnptr, GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * pixels) { -// (*fnptr)(texture, target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); -// } -// static void glowTextureView(GPTEXTUREVIEW fnptr, GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers) { -// (*fnptr)(texture, target, origtexture, internalformat, minlevel, numlevels, minlayer, numlayers); -// } -// static void glowTrackMatrixNV(GPTRACKMATRIXNV fnptr, GLenum target, GLuint address, GLenum matrix, GLenum transform) { -// (*fnptr)(target, address, matrix, transform); -// } -// static void glowTransformFeedbackAttribsNV(GPTRANSFORMFEEDBACKATTRIBSNV fnptr, GLsizei count, const GLint * attribs, GLenum bufferMode) { -// (*fnptr)(count, attribs, bufferMode); -// } -// static void glowTransformFeedbackBufferBase(GPTRANSFORMFEEDBACKBUFFERBASE fnptr, GLuint xfb, GLuint index, GLuint buffer) { -// (*fnptr)(xfb, index, buffer); -// } -// static void glowTransformFeedbackBufferRange(GPTRANSFORMFEEDBACKBUFFERRANGE fnptr, GLuint xfb, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size) { -// (*fnptr)(xfb, index, buffer, offset, size); -// } -// static void glowTransformFeedbackStreamAttribsNV(GPTRANSFORMFEEDBACKSTREAMATTRIBSNV fnptr, GLsizei count, const GLint * attribs, GLsizei nbuffers, const GLint * bufstreams, GLenum bufferMode) { -// (*fnptr)(count, attribs, nbuffers, bufstreams, bufferMode); -// } -// static void glowTransformFeedbackVaryingsEXT(GPTRANSFORMFEEDBACKVARYINGSEXT fnptr, GLuint program, GLsizei count, const GLchar *const* varyings, GLenum bufferMode) { -// (*fnptr)(program, count, varyings, bufferMode); -// } -// static void glowTransformFeedbackVaryingsNV(GPTRANSFORMFEEDBACKVARYINGSNV fnptr, GLuint program, GLsizei count, const GLint * locations, GLenum bufferMode) { -// (*fnptr)(program, count, locations, bufferMode); -// } -// static void glowTransformPathNV(GPTRANSFORMPATHNV fnptr, GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat * transformValues) { -// (*fnptr)(resultPath, srcPath, transformType, transformValues); -// } -// static void glowTranslated(GPTRANSLATED fnptr, GLdouble x, GLdouble y, GLdouble z) { -// (*fnptr)(x, y, z); -// } -// static void glowTranslatef(GPTRANSLATEF fnptr, GLfloat x, GLfloat y, GLfloat z) { -// (*fnptr)(x, y, z); -// } -// static void glowTranslatexOES(GPTRANSLATEXOES fnptr, GLfixed x, GLfixed y, GLfixed z) { -// (*fnptr)(x, y, z); -// } -// static void glowUniform1d(GPUNIFORM1D fnptr, GLint location, GLdouble x) { -// (*fnptr)(location, x); -// } -// static void glowUniform1dv(GPUNIFORM1DV fnptr, GLint location, GLsizei count, const GLdouble * value) { -// (*fnptr)(location, count, value); -// } // static void glowUniform1f(GPUNIFORM1F fnptr, GLint location, GLfloat v0) { // (*fnptr)(location, v0); // } -// static void glowUniform1fARB(GPUNIFORM1FARB fnptr, GLint location, GLfloat v0) { -// (*fnptr)(location, v0); -// } -// static void glowUniform1fv(GPUNIFORM1FV fnptr, GLint location, GLsizei count, const GLfloat * value) { -// (*fnptr)(location, count, value); -// } -// static void glowUniform1fvARB(GPUNIFORM1FVARB fnptr, GLint location, GLsizei count, const GLfloat * value) { -// (*fnptr)(location, count, value); -// } // static void glowUniform1i(GPUNIFORM1I fnptr, GLint location, GLint v0) { // (*fnptr)(location, v0); // } -// static void glowUniform1i64ARB(GPUNIFORM1I64ARB fnptr, GLint location, GLint64 x) { -// (*fnptr)(location, x); -// } -// static void glowUniform1i64NV(GPUNIFORM1I64NV fnptr, GLint location, GLint64EXT x) { -// (*fnptr)(location, x); -// } -// static void glowUniform1i64vARB(GPUNIFORM1I64VARB fnptr, GLint location, GLsizei count, const GLint64 * value) { -// (*fnptr)(location, count, value); -// } -// static void glowUniform1i64vNV(GPUNIFORM1I64VNV fnptr, GLint location, GLsizei count, const GLint64EXT * value) { -// (*fnptr)(location, count, value); -// } -// static void glowUniform1iARB(GPUNIFORM1IARB fnptr, GLint location, GLint v0) { -// (*fnptr)(location, v0); -// } -// static void glowUniform1iv(GPUNIFORM1IV fnptr, GLint location, GLsizei count, const GLint * value) { -// (*fnptr)(location, count, value); -// } -// static void glowUniform1ivARB(GPUNIFORM1IVARB fnptr, GLint location, GLsizei count, const GLint * value) { -// (*fnptr)(location, count, value); -// } -// static void glowUniform1ui64ARB(GPUNIFORM1UI64ARB fnptr, GLint location, GLuint64 x) { -// (*fnptr)(location, x); -// } -// static void glowUniform1ui64NV(GPUNIFORM1UI64NV fnptr, GLint location, GLuint64EXT x) { -// (*fnptr)(location, x); -// } -// static void glowUniform1ui64vARB(GPUNIFORM1UI64VARB fnptr, GLint location, GLsizei count, const GLuint64 * value) { -// (*fnptr)(location, count, value); -// } -// static void glowUniform1ui64vNV(GPUNIFORM1UI64VNV fnptr, GLint location, GLsizei count, const GLuint64EXT * value) { -// (*fnptr)(location, count, value); -// } -// static void glowUniform1uiEXT(GPUNIFORM1UIEXT fnptr, GLint location, GLuint v0) { -// (*fnptr)(location, v0); -// } -// static void glowUniform1uivEXT(GPUNIFORM1UIVEXT fnptr, GLint location, GLsizei count, const GLuint * value) { -// (*fnptr)(location, count, value); -// } -// static void glowUniform2d(GPUNIFORM2D fnptr, GLint location, GLdouble x, GLdouble y) { -// (*fnptr)(location, x, y); -// } -// static void glowUniform2dv(GPUNIFORM2DV fnptr, GLint location, GLsizei count, const GLdouble * value) { -// (*fnptr)(location, count, value); -// } -// static void glowUniform2f(GPUNIFORM2F fnptr, GLint location, GLfloat v0, GLfloat v1) { -// (*fnptr)(location, v0, v1); -// } -// static void glowUniform2fARB(GPUNIFORM2FARB fnptr, GLint location, GLfloat v0, GLfloat v1) { -// (*fnptr)(location, v0, v1); -// } // static void glowUniform2fv(GPUNIFORM2FV fnptr, GLint location, GLsizei count, const GLfloat * value) { // (*fnptr)(location, count, value); // } -// static void glowUniform2fvARB(GPUNIFORM2FVARB fnptr, GLint location, GLsizei count, const GLfloat * value) { -// (*fnptr)(location, count, value); -// } -// static void glowUniform2i(GPUNIFORM2I fnptr, GLint location, GLint v0, GLint v1) { -// (*fnptr)(location, v0, v1); -// } -// static void glowUniform2i64ARB(GPUNIFORM2I64ARB fnptr, GLint location, GLint64 x, GLint64 y) { -// (*fnptr)(location, x, y); -// } -// static void glowUniform2i64NV(GPUNIFORM2I64NV fnptr, GLint location, GLint64EXT x, GLint64EXT y) { -// (*fnptr)(location, x, y); -// } -// static void glowUniform2i64vARB(GPUNIFORM2I64VARB fnptr, GLint location, GLsizei count, const GLint64 * value) { -// (*fnptr)(location, count, value); -// } -// static void glowUniform2i64vNV(GPUNIFORM2I64VNV fnptr, GLint location, GLsizei count, const GLint64EXT * value) { -// (*fnptr)(location, count, value); -// } -// static void glowUniform2iARB(GPUNIFORM2IARB fnptr, GLint location, GLint v0, GLint v1) { -// (*fnptr)(location, v0, v1); -// } -// static void glowUniform2iv(GPUNIFORM2IV fnptr, GLint location, GLsizei count, const GLint * value) { -// (*fnptr)(location, count, value); -// } -// static void glowUniform2ivARB(GPUNIFORM2IVARB fnptr, GLint location, GLsizei count, const GLint * value) { -// (*fnptr)(location, count, value); -// } -// static void glowUniform2ui64ARB(GPUNIFORM2UI64ARB fnptr, GLint location, GLuint64 x, GLuint64 y) { -// (*fnptr)(location, x, y); -// } -// static void glowUniform2ui64NV(GPUNIFORM2UI64NV fnptr, GLint location, GLuint64EXT x, GLuint64EXT y) { -// (*fnptr)(location, x, y); -// } -// static void glowUniform2ui64vARB(GPUNIFORM2UI64VARB fnptr, GLint location, GLsizei count, const GLuint64 * value) { -// (*fnptr)(location, count, value); -// } -// static void glowUniform2ui64vNV(GPUNIFORM2UI64VNV fnptr, GLint location, GLsizei count, const GLuint64EXT * value) { -// (*fnptr)(location, count, value); -// } -// static void glowUniform2uiEXT(GPUNIFORM2UIEXT fnptr, GLint location, GLuint v0, GLuint v1) { -// (*fnptr)(location, v0, v1); -// } -// static void glowUniform2uivEXT(GPUNIFORM2UIVEXT fnptr, GLint location, GLsizei count, const GLuint * value) { -// (*fnptr)(location, count, value); -// } -// static void glowUniform3d(GPUNIFORM3D fnptr, GLint location, GLdouble x, GLdouble y, GLdouble z) { -// (*fnptr)(location, x, y, z); -// } -// static void glowUniform3dv(GPUNIFORM3DV fnptr, GLint location, GLsizei count, const GLdouble * value) { -// (*fnptr)(location, count, value); -// } -// static void glowUniform3f(GPUNIFORM3F fnptr, GLint location, GLfloat v0, GLfloat v1, GLfloat v2) { -// (*fnptr)(location, v0, v1, v2); -// } -// static void glowUniform3fARB(GPUNIFORM3FARB fnptr, GLint location, GLfloat v0, GLfloat v1, GLfloat v2) { -// (*fnptr)(location, v0, v1, v2); -// } -// static void glowUniform3fv(GPUNIFORM3FV fnptr, GLint location, GLsizei count, const GLfloat * value) { -// (*fnptr)(location, count, value); -// } -// static void glowUniform3fvARB(GPUNIFORM3FVARB fnptr, GLint location, GLsizei count, const GLfloat * value) { -// (*fnptr)(location, count, value); -// } -// static void glowUniform3i(GPUNIFORM3I fnptr, GLint location, GLint v0, GLint v1, GLint v2) { -// (*fnptr)(location, v0, v1, v2); -// } -// static void glowUniform3i64ARB(GPUNIFORM3I64ARB fnptr, GLint location, GLint64 x, GLint64 y, GLint64 z) { -// (*fnptr)(location, x, y, z); -// } -// static void glowUniform3i64NV(GPUNIFORM3I64NV fnptr, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z) { -// (*fnptr)(location, x, y, z); -// } -// static void glowUniform3i64vARB(GPUNIFORM3I64VARB fnptr, GLint location, GLsizei count, const GLint64 * value) { -// (*fnptr)(location, count, value); -// } -// static void glowUniform3i64vNV(GPUNIFORM3I64VNV fnptr, GLint location, GLsizei count, const GLint64EXT * value) { -// (*fnptr)(location, count, value); -// } -// static void glowUniform3iARB(GPUNIFORM3IARB fnptr, GLint location, GLint v0, GLint v1, GLint v2) { -// (*fnptr)(location, v0, v1, v2); -// } -// static void glowUniform3iv(GPUNIFORM3IV fnptr, GLint location, GLsizei count, const GLint * value) { -// (*fnptr)(location, count, value); -// } -// static void glowUniform3ivARB(GPUNIFORM3IVARB fnptr, GLint location, GLsizei count, const GLint * value) { -// (*fnptr)(location, count, value); -// } -// static void glowUniform3ui64ARB(GPUNIFORM3UI64ARB fnptr, GLint location, GLuint64 x, GLuint64 y, GLuint64 z) { -// (*fnptr)(location, x, y, z); -// } -// static void glowUniform3ui64NV(GPUNIFORM3UI64NV fnptr, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z) { -// (*fnptr)(location, x, y, z); -// } -// static void glowUniform3ui64vARB(GPUNIFORM3UI64VARB fnptr, GLint location, GLsizei count, const GLuint64 * value) { -// (*fnptr)(location, count, value); -// } -// static void glowUniform3ui64vNV(GPUNIFORM3UI64VNV fnptr, GLint location, GLsizei count, const GLuint64EXT * value) { -// (*fnptr)(location, count, value); -// } -// static void glowUniform3uiEXT(GPUNIFORM3UIEXT fnptr, GLint location, GLuint v0, GLuint v1, GLuint v2) { -// (*fnptr)(location, v0, v1, v2); -// } -// static void glowUniform3uivEXT(GPUNIFORM3UIVEXT fnptr, GLint location, GLsizei count, const GLuint * value) { -// (*fnptr)(location, count, value); -// } -// static void glowUniform4d(GPUNIFORM4D fnptr, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w) { -// (*fnptr)(location, x, y, z, w); -// } -// static void glowUniform4dv(GPUNIFORM4DV fnptr, GLint location, GLsizei count, const GLdouble * value) { -// (*fnptr)(location, count, value); -// } -// static void glowUniform4f(GPUNIFORM4F fnptr, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) { -// (*fnptr)(location, v0, v1, v2, v3); -// } -// static void glowUniform4fARB(GPUNIFORM4FARB fnptr, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) { -// (*fnptr)(location, v0, v1, v2, v3); -// } // static void glowUniform4fv(GPUNIFORM4FV fnptr, GLint location, GLsizei count, const GLfloat * value) { // (*fnptr)(location, count, value); // } -// static void glowUniform4fvARB(GPUNIFORM4FVARB fnptr, GLint location, GLsizei count, const GLfloat * value) { -// (*fnptr)(location, count, value); -// } -// static void glowUniform4i(GPUNIFORM4I fnptr, GLint location, GLint v0, GLint v1, GLint v2, GLint v3) { -// (*fnptr)(location, v0, v1, v2, v3); -// } -// static void glowUniform4i64ARB(GPUNIFORM4I64ARB fnptr, GLint location, GLint64 x, GLint64 y, GLint64 z, GLint64 w) { -// (*fnptr)(location, x, y, z, w); -// } -// static void glowUniform4i64NV(GPUNIFORM4I64NV fnptr, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w) { -// (*fnptr)(location, x, y, z, w); -// } -// static void glowUniform4i64vARB(GPUNIFORM4I64VARB fnptr, GLint location, GLsizei count, const GLint64 * value) { -// (*fnptr)(location, count, value); -// } -// static void glowUniform4i64vNV(GPUNIFORM4I64VNV fnptr, GLint location, GLsizei count, const GLint64EXT * value) { -// (*fnptr)(location, count, value); -// } -// static void glowUniform4iARB(GPUNIFORM4IARB fnptr, GLint location, GLint v0, GLint v1, GLint v2, GLint v3) { -// (*fnptr)(location, v0, v1, v2, v3); -// } -// static void glowUniform4iv(GPUNIFORM4IV fnptr, GLint location, GLsizei count, const GLint * value) { -// (*fnptr)(location, count, value); -// } -// static void glowUniform4ivARB(GPUNIFORM4IVARB fnptr, GLint location, GLsizei count, const GLint * value) { -// (*fnptr)(location, count, value); -// } -// static void glowUniform4ui64ARB(GPUNIFORM4UI64ARB fnptr, GLint location, GLuint64 x, GLuint64 y, GLuint64 z, GLuint64 w) { -// (*fnptr)(location, x, y, z, w); -// } -// static void glowUniform4ui64NV(GPUNIFORM4UI64NV fnptr, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w) { -// (*fnptr)(location, x, y, z, w); -// } -// static void glowUniform4ui64vARB(GPUNIFORM4UI64VARB fnptr, GLint location, GLsizei count, const GLuint64 * value) { -// (*fnptr)(location, count, value); -// } -// static void glowUniform4ui64vNV(GPUNIFORM4UI64VNV fnptr, GLint location, GLsizei count, const GLuint64EXT * value) { -// (*fnptr)(location, count, value); -// } -// static void glowUniform4uiEXT(GPUNIFORM4UIEXT fnptr, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3) { -// (*fnptr)(location, v0, v1, v2, v3); -// } -// static void glowUniform4uivEXT(GPUNIFORM4UIVEXT fnptr, GLint location, GLsizei count, const GLuint * value) { -// (*fnptr)(location, count, value); -// } -// static void glowUniformBlockBinding(GPUNIFORMBLOCKBINDING fnptr, GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding) { -// (*fnptr)(program, uniformBlockIndex, uniformBlockBinding); -// } -// static void glowUniformBufferEXT(GPUNIFORMBUFFEREXT fnptr, GLuint program, GLint location, GLuint buffer) { -// (*fnptr)(program, location, buffer); -// } -// static void glowUniformHandleui64ARB(GPUNIFORMHANDLEUI64ARB fnptr, GLint location, GLuint64 value) { -// (*fnptr)(location, value); -// } -// static void glowUniformHandleui64NV(GPUNIFORMHANDLEUI64NV fnptr, GLint location, GLuint64 value) { -// (*fnptr)(location, value); -// } -// static void glowUniformHandleui64vARB(GPUNIFORMHANDLEUI64VARB fnptr, GLint location, GLsizei count, const GLuint64 * value) { -// (*fnptr)(location, count, value); -// } -// static void glowUniformHandleui64vNV(GPUNIFORMHANDLEUI64VNV fnptr, GLint location, GLsizei count, const GLuint64 * value) { -// (*fnptr)(location, count, value); -// } -// static void glowUniformMatrix2dv(GPUNIFORMMATRIX2DV fnptr, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value) { -// (*fnptr)(location, count, transpose, value); -// } -// static void glowUniformMatrix2fv(GPUNIFORMMATRIX2FV fnptr, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { -// (*fnptr)(location, count, transpose, value); -// } -// static void glowUniformMatrix2fvARB(GPUNIFORMMATRIX2FVARB fnptr, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { -// (*fnptr)(location, count, transpose, value); -// } -// static void glowUniformMatrix2x3dv(GPUNIFORMMATRIX2X3DV fnptr, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value) { -// (*fnptr)(location, count, transpose, value); -// } -// static void glowUniformMatrix2x3fv(GPUNIFORMMATRIX2X3FV fnptr, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { -// (*fnptr)(location, count, transpose, value); -// } -// static void glowUniformMatrix2x4dv(GPUNIFORMMATRIX2X4DV fnptr, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value) { -// (*fnptr)(location, count, transpose, value); -// } -// static void glowUniformMatrix2x4fv(GPUNIFORMMATRIX2X4FV fnptr, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { -// (*fnptr)(location, count, transpose, value); -// } -// static void glowUniformMatrix3dv(GPUNIFORMMATRIX3DV fnptr, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value) { -// (*fnptr)(location, count, transpose, value); -// } -// static void glowUniformMatrix3fv(GPUNIFORMMATRIX3FV fnptr, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { -// (*fnptr)(location, count, transpose, value); -// } -// static void glowUniformMatrix3fvARB(GPUNIFORMMATRIX3FVARB fnptr, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { -// (*fnptr)(location, count, transpose, value); -// } -// static void glowUniformMatrix3x2dv(GPUNIFORMMATRIX3X2DV fnptr, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value) { -// (*fnptr)(location, count, transpose, value); -// } -// static void glowUniformMatrix3x2fv(GPUNIFORMMATRIX3X2FV fnptr, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { -// (*fnptr)(location, count, transpose, value); -// } -// static void glowUniformMatrix3x4dv(GPUNIFORMMATRIX3X4DV fnptr, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value) { -// (*fnptr)(location, count, transpose, value); -// } -// static void glowUniformMatrix3x4fv(GPUNIFORMMATRIX3X4FV fnptr, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { -// (*fnptr)(location, count, transpose, value); -// } -// static void glowUniformMatrix4dv(GPUNIFORMMATRIX4DV fnptr, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value) { -// (*fnptr)(location, count, transpose, value); -// } // static void glowUniformMatrix4fv(GPUNIFORMMATRIX4FV fnptr, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { // (*fnptr)(location, count, transpose, value); // } -// static void glowUniformMatrix4fvARB(GPUNIFORMMATRIX4FVARB fnptr, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { -// (*fnptr)(location, count, transpose, value); -// } -// static void glowUniformMatrix4x2dv(GPUNIFORMMATRIX4X2DV fnptr, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value) { -// (*fnptr)(location, count, transpose, value); -// } -// static void glowUniformMatrix4x2fv(GPUNIFORMMATRIX4X2FV fnptr, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { -// (*fnptr)(location, count, transpose, value); -// } -// static void glowUniformMatrix4x3dv(GPUNIFORMMATRIX4X3DV fnptr, GLint location, GLsizei count, GLboolean transpose, const GLdouble * value) { -// (*fnptr)(location, count, transpose, value); -// } -// static void glowUniformMatrix4x3fv(GPUNIFORMMATRIX4X3FV fnptr, GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { -// (*fnptr)(location, count, transpose, value); -// } -// static void glowUniformSubroutinesuiv(GPUNIFORMSUBROUTINESUIV fnptr, GLenum shadertype, GLsizei count, const GLuint * indices) { -// (*fnptr)(shadertype, count, indices); -// } -// static void glowUniformui64NV(GPUNIFORMUI64NV fnptr, GLint location, GLuint64EXT value) { -// (*fnptr)(location, value); -// } -// static void glowUniformui64vNV(GPUNIFORMUI64VNV fnptr, GLint location, GLsizei count, const GLuint64EXT * value) { -// (*fnptr)(location, count, value); -// } -// static void glowUnlockArraysEXT(GPUNLOCKARRAYSEXT fnptr) { -// (*fnptr)(); -// } -// static GLboolean glowUnmapBuffer(GPUNMAPBUFFER fnptr, GLenum target) { -// return (*fnptr)(target); -// } -// static GLboolean glowUnmapBufferARB(GPUNMAPBUFFERARB fnptr, GLenum target) { -// return (*fnptr)(target); -// } -// static GLboolean glowUnmapNamedBuffer(GPUNMAPNAMEDBUFFER fnptr, GLuint buffer) { -// return (*fnptr)(buffer); -// } -// static GLboolean glowUnmapNamedBufferEXT(GPUNMAPNAMEDBUFFEREXT fnptr, GLuint buffer) { -// return (*fnptr)(buffer); -// } -// static void glowUnmapObjectBufferATI(GPUNMAPOBJECTBUFFERATI fnptr, GLuint buffer) { -// (*fnptr)(buffer); -// } -// static void glowUnmapTexture2DINTEL(GPUNMAPTEXTURE2DINTEL fnptr, GLuint texture, GLint level) { -// (*fnptr)(texture, level); -// } -// static void glowUpdateObjectBufferATI(GPUPDATEOBJECTBUFFERATI fnptr, GLuint buffer, GLuint offset, GLsizei size, const void * pointer, GLenum preserve) { -// (*fnptr)(buffer, offset, size, pointer, preserve); -// } // static void glowUseProgram(GPUSEPROGRAM fnptr, GLuint program) { // (*fnptr)(program); // } -// static void glowUseProgramObjectARB(GPUSEPROGRAMOBJECTARB fnptr, GLhandleARB programObj) { -// (*fnptr)(programObj); -// } -// static void glowUseProgramStages(GPUSEPROGRAMSTAGES fnptr, GLuint pipeline, GLbitfield stages, GLuint program) { -// (*fnptr)(pipeline, stages, program); -// } -// static void glowUseProgramStagesEXT(GPUSEPROGRAMSTAGESEXT fnptr, GLuint pipeline, GLbitfield stages, GLuint program) { -// (*fnptr)(pipeline, stages, program); -// } -// static void glowUseShaderProgramEXT(GPUSESHADERPROGRAMEXT fnptr, GLenum type, GLuint program) { -// (*fnptr)(type, program); -// } -// static void glowVDPAUFiniNV(GPVDPAUFININV fnptr) { -// (*fnptr)(); -// } -// static void glowVDPAUGetSurfaceivNV(GPVDPAUGETSURFACEIVNV fnptr, GLvdpauSurfaceNV surface, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * values) { -// (*fnptr)(surface, pname, bufSize, length, values); -// } -// static void glowVDPAUInitNV(GPVDPAUINITNV fnptr, const void * vdpDevice, const void * getProcAddress) { -// (*fnptr)(vdpDevice, getProcAddress); -// } -// static GLboolean glowVDPAUIsSurfaceNV(GPVDPAUISSURFACENV fnptr, GLvdpauSurfaceNV surface) { -// return (*fnptr)(surface); -// } -// static void glowVDPAUMapSurfacesNV(GPVDPAUMAPSURFACESNV fnptr, GLsizei numSurfaces, const GLvdpauSurfaceNV * surfaces) { -// (*fnptr)(numSurfaces, surfaces); -// } -// static GLvdpauSurfaceNV glowVDPAURegisterOutputSurfaceNV(GPVDPAUREGISTEROUTPUTSURFACENV fnptr, const void * vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint * textureNames) { -// return (*fnptr)(vdpSurface, target, numTextureNames, textureNames); -// } -// static GLvdpauSurfaceNV glowVDPAURegisterVideoSurfaceNV(GPVDPAUREGISTERVIDEOSURFACENV fnptr, const void * vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint * textureNames) { -// return (*fnptr)(vdpSurface, target, numTextureNames, textureNames); -// } -// static void glowVDPAUSurfaceAccessNV(GPVDPAUSURFACEACCESSNV fnptr, GLvdpauSurfaceNV surface, GLenum access) { -// (*fnptr)(surface, access); -// } -// static void glowVDPAUUnmapSurfacesNV(GPVDPAUUNMAPSURFACESNV fnptr, GLsizei numSurface, const GLvdpauSurfaceNV * surfaces) { -// (*fnptr)(numSurface, surfaces); -// } -// static void glowVDPAUUnregisterSurfaceNV(GPVDPAUUNREGISTERSURFACENV fnptr, GLvdpauSurfaceNV surface) { -// (*fnptr)(surface); -// } -// static void glowValidateProgram(GPVALIDATEPROGRAM fnptr, GLuint program) { -// (*fnptr)(program); -// } -// static void glowValidateProgramARB(GPVALIDATEPROGRAMARB fnptr, GLhandleARB programObj) { -// (*fnptr)(programObj); -// } -// static void glowValidateProgramPipeline(GPVALIDATEPROGRAMPIPELINE fnptr, GLuint pipeline) { -// (*fnptr)(pipeline); -// } -// static void glowValidateProgramPipelineEXT(GPVALIDATEPROGRAMPIPELINEEXT fnptr, GLuint pipeline) { -// (*fnptr)(pipeline); -// } -// static void glowVariantArrayObjectATI(GPVARIANTARRAYOBJECTATI fnptr, GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset) { -// (*fnptr)(id, type, stride, buffer, offset); -// } -// static void glowVariantPointerEXT(GPVARIANTPOINTEREXT fnptr, GLuint id, GLenum type, GLuint stride, const void * addr) { -// (*fnptr)(id, type, stride, addr); -// } -// static void glowVariantbvEXT(GPVARIANTBVEXT fnptr, GLuint id, const GLbyte * addr) { -// (*fnptr)(id, addr); -// } -// static void glowVariantdvEXT(GPVARIANTDVEXT fnptr, GLuint id, const GLdouble * addr) { -// (*fnptr)(id, addr); -// } -// static void glowVariantfvEXT(GPVARIANTFVEXT fnptr, GLuint id, const GLfloat * addr) { -// (*fnptr)(id, addr); -// } -// static void glowVariantivEXT(GPVARIANTIVEXT fnptr, GLuint id, const GLint * addr) { -// (*fnptr)(id, addr); -// } -// static void glowVariantsvEXT(GPVARIANTSVEXT fnptr, GLuint id, const GLshort * addr) { -// (*fnptr)(id, addr); -// } -// static void glowVariantubvEXT(GPVARIANTUBVEXT fnptr, GLuint id, const GLubyte * addr) { -// (*fnptr)(id, addr); -// } -// static void glowVariantuivEXT(GPVARIANTUIVEXT fnptr, GLuint id, const GLuint * addr) { -// (*fnptr)(id, addr); -// } -// static void glowVariantusvEXT(GPVARIANTUSVEXT fnptr, GLuint id, const GLushort * addr) { -// (*fnptr)(id, addr); -// } -// static void glowVertex2bOES(GPVERTEX2BOES fnptr, GLbyte x, GLbyte y) { -// (*fnptr)(x, y); -// } -// static void glowVertex2bvOES(GPVERTEX2BVOES fnptr, const GLbyte * coords) { -// (*fnptr)(coords); -// } -// static void glowVertex2d(GPVERTEX2D fnptr, GLdouble x, GLdouble y) { -// (*fnptr)(x, y); -// } -// static void glowVertex2dv(GPVERTEX2DV fnptr, const GLdouble * v) { -// (*fnptr)(v); -// } -// static void glowVertex2f(GPVERTEX2F fnptr, GLfloat x, GLfloat y) { -// (*fnptr)(x, y); -// } -// static void glowVertex2fv(GPVERTEX2FV fnptr, const GLfloat * v) { -// (*fnptr)(v); -// } -// static void glowVertex2hNV(GPVERTEX2HNV fnptr, GLhalfNV x, GLhalfNV y) { -// (*fnptr)(x, y); -// } -// static void glowVertex2hvNV(GPVERTEX2HVNV fnptr, const GLhalfNV * v) { -// (*fnptr)(v); -// } -// static void glowVertex2i(GPVERTEX2I fnptr, GLint x, GLint y) { -// (*fnptr)(x, y); -// } -// static void glowVertex2iv(GPVERTEX2IV fnptr, const GLint * v) { -// (*fnptr)(v); -// } -// static void glowVertex2s(GPVERTEX2S fnptr, GLshort x, GLshort y) { -// (*fnptr)(x, y); -// } -// static void glowVertex2sv(GPVERTEX2SV fnptr, const GLshort * v) { -// (*fnptr)(v); -// } -// static void glowVertex2xOES(GPVERTEX2XOES fnptr, GLfixed x) { -// (*fnptr)(x); -// } -// static void glowVertex2xvOES(GPVERTEX2XVOES fnptr, const GLfixed * coords) { -// (*fnptr)(coords); -// } -// static void glowVertex3bOES(GPVERTEX3BOES fnptr, GLbyte x, GLbyte y, GLbyte z) { -// (*fnptr)(x, y, z); -// } -// static void glowVertex3bvOES(GPVERTEX3BVOES fnptr, const GLbyte * coords) { -// (*fnptr)(coords); -// } -// static void glowVertex3d(GPVERTEX3D fnptr, GLdouble x, GLdouble y, GLdouble z) { -// (*fnptr)(x, y, z); -// } -// static void glowVertex3dv(GPVERTEX3DV fnptr, const GLdouble * v) { -// (*fnptr)(v); -// } -// static void glowVertex3f(GPVERTEX3F fnptr, GLfloat x, GLfloat y, GLfloat z) { -// (*fnptr)(x, y, z); -// } -// static void glowVertex3fv(GPVERTEX3FV fnptr, const GLfloat * v) { -// (*fnptr)(v); -// } -// static void glowVertex3hNV(GPVERTEX3HNV fnptr, GLhalfNV x, GLhalfNV y, GLhalfNV z) { -// (*fnptr)(x, y, z); -// } -// static void glowVertex3hvNV(GPVERTEX3HVNV fnptr, const GLhalfNV * v) { -// (*fnptr)(v); -// } -// static void glowVertex3i(GPVERTEX3I fnptr, GLint x, GLint y, GLint z) { -// (*fnptr)(x, y, z); -// } -// static void glowVertex3iv(GPVERTEX3IV fnptr, const GLint * v) { -// (*fnptr)(v); -// } -// static void glowVertex3s(GPVERTEX3S fnptr, GLshort x, GLshort y, GLshort z) { -// (*fnptr)(x, y, z); -// } -// static void glowVertex3sv(GPVERTEX3SV fnptr, const GLshort * v) { -// (*fnptr)(v); -// } -// static void glowVertex3xOES(GPVERTEX3XOES fnptr, GLfixed x, GLfixed y) { -// (*fnptr)(x, y); -// } -// static void glowVertex3xvOES(GPVERTEX3XVOES fnptr, const GLfixed * coords) { -// (*fnptr)(coords); -// } -// static void glowVertex4bOES(GPVERTEX4BOES fnptr, GLbyte x, GLbyte y, GLbyte z, GLbyte w) { -// (*fnptr)(x, y, z, w); -// } -// static void glowVertex4bvOES(GPVERTEX4BVOES fnptr, const GLbyte * coords) { -// (*fnptr)(coords); -// } -// static void glowVertex4d(GPVERTEX4D fnptr, GLdouble x, GLdouble y, GLdouble z, GLdouble w) { -// (*fnptr)(x, y, z, w); -// } -// static void glowVertex4dv(GPVERTEX4DV fnptr, const GLdouble * v) { -// (*fnptr)(v); -// } -// static void glowVertex4f(GPVERTEX4F fnptr, GLfloat x, GLfloat y, GLfloat z, GLfloat w) { -// (*fnptr)(x, y, z, w); -// } -// static void glowVertex4fv(GPVERTEX4FV fnptr, const GLfloat * v) { -// (*fnptr)(v); -// } -// static void glowVertex4hNV(GPVERTEX4HNV fnptr, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w) { -// (*fnptr)(x, y, z, w); -// } -// static void glowVertex4hvNV(GPVERTEX4HVNV fnptr, const GLhalfNV * v) { -// (*fnptr)(v); -// } -// static void glowVertex4i(GPVERTEX4I fnptr, GLint x, GLint y, GLint z, GLint w) { -// (*fnptr)(x, y, z, w); -// } -// static void glowVertex4iv(GPVERTEX4IV fnptr, const GLint * v) { -// (*fnptr)(v); -// } -// static void glowVertex4s(GPVERTEX4S fnptr, GLshort x, GLshort y, GLshort z, GLshort w) { -// (*fnptr)(x, y, z, w); -// } -// static void glowVertex4sv(GPVERTEX4SV fnptr, const GLshort * v) { -// (*fnptr)(v); -// } -// static void glowVertex4xOES(GPVERTEX4XOES fnptr, GLfixed x, GLfixed y, GLfixed z) { -// (*fnptr)(x, y, z); -// } -// static void glowVertex4xvOES(GPVERTEX4XVOES fnptr, const GLfixed * coords) { -// (*fnptr)(coords); -// } -// static void glowVertexArrayAttribBinding(GPVERTEXARRAYATTRIBBINDING fnptr, GLuint vaobj, GLuint attribindex, GLuint bindingindex) { -// (*fnptr)(vaobj, attribindex, bindingindex); -// } -// static void glowVertexArrayAttribFormat(GPVERTEXARRAYATTRIBFORMAT fnptr, GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset) { -// (*fnptr)(vaobj, attribindex, size, type, normalized, relativeoffset); -// } -// static void glowVertexArrayAttribIFormat(GPVERTEXARRAYATTRIBIFORMAT fnptr, GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset) { -// (*fnptr)(vaobj, attribindex, size, type, relativeoffset); -// } -// static void glowVertexArrayAttribLFormat(GPVERTEXARRAYATTRIBLFORMAT fnptr, GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset) { -// (*fnptr)(vaobj, attribindex, size, type, relativeoffset); -// } -// static void glowVertexArrayBindVertexBufferEXT(GPVERTEXARRAYBINDVERTEXBUFFEREXT fnptr, GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride) { -// (*fnptr)(vaobj, bindingindex, buffer, offset, stride); -// } -// static void glowVertexArrayBindingDivisor(GPVERTEXARRAYBINDINGDIVISOR fnptr, GLuint vaobj, GLuint bindingindex, GLuint divisor) { -// (*fnptr)(vaobj, bindingindex, divisor); -// } -// static void glowVertexArrayColorOffsetEXT(GPVERTEXARRAYCOLOROFFSETEXT fnptr, GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset) { -// (*fnptr)(vaobj, buffer, size, type, stride, offset); -// } -// static void glowVertexArrayEdgeFlagOffsetEXT(GPVERTEXARRAYEDGEFLAGOFFSETEXT fnptr, GLuint vaobj, GLuint buffer, GLsizei stride, GLintptr offset) { -// (*fnptr)(vaobj, buffer, stride, offset); -// } -// static void glowVertexArrayElementBuffer(GPVERTEXARRAYELEMENTBUFFER fnptr, GLuint vaobj, GLuint buffer) { -// (*fnptr)(vaobj, buffer); -// } -// static void glowVertexArrayFogCoordOffsetEXT(GPVERTEXARRAYFOGCOORDOFFSETEXT fnptr, GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset) { -// (*fnptr)(vaobj, buffer, type, stride, offset); -// } -// static void glowVertexArrayIndexOffsetEXT(GPVERTEXARRAYINDEXOFFSETEXT fnptr, GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset) { -// (*fnptr)(vaobj, buffer, type, stride, offset); -// } -// static void glowVertexArrayMultiTexCoordOffsetEXT(GPVERTEXARRAYMULTITEXCOORDOFFSETEXT fnptr, GLuint vaobj, GLuint buffer, GLenum texunit, GLint size, GLenum type, GLsizei stride, GLintptr offset) { -// (*fnptr)(vaobj, buffer, texunit, size, type, stride, offset); -// } -// static void glowVertexArrayNormalOffsetEXT(GPVERTEXARRAYNORMALOFFSETEXT fnptr, GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset) { -// (*fnptr)(vaobj, buffer, type, stride, offset); -// } -// static void glowVertexArrayParameteriAPPLE(GPVERTEXARRAYPARAMETERIAPPLE fnptr, GLenum pname, GLint param) { -// (*fnptr)(pname, param); -// } -// static void glowVertexArrayRangeAPPLE(GPVERTEXARRAYRANGEAPPLE fnptr, GLsizei length, void * pointer) { -// (*fnptr)(length, pointer); -// } -// static void glowVertexArrayRangeNV(GPVERTEXARRAYRANGENV fnptr, GLsizei length, const void * pointer) { -// (*fnptr)(length, pointer); -// } -// static void glowVertexArraySecondaryColorOffsetEXT(GPVERTEXARRAYSECONDARYCOLOROFFSETEXT fnptr, GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset) { -// (*fnptr)(vaobj, buffer, size, type, stride, offset); -// } -// static void glowVertexArrayTexCoordOffsetEXT(GPVERTEXARRAYTEXCOORDOFFSETEXT fnptr, GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset) { -// (*fnptr)(vaobj, buffer, size, type, stride, offset); -// } -// static void glowVertexArrayVertexAttribBindingEXT(GPVERTEXARRAYVERTEXATTRIBBINDINGEXT fnptr, GLuint vaobj, GLuint attribindex, GLuint bindingindex) { -// (*fnptr)(vaobj, attribindex, bindingindex); -// } -// static void glowVertexArrayVertexAttribDivisorEXT(GPVERTEXARRAYVERTEXATTRIBDIVISOREXT fnptr, GLuint vaobj, GLuint index, GLuint divisor) { -// (*fnptr)(vaobj, index, divisor); -// } -// static void glowVertexArrayVertexAttribFormatEXT(GPVERTEXARRAYVERTEXATTRIBFORMATEXT fnptr, GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset) { -// (*fnptr)(vaobj, attribindex, size, type, normalized, relativeoffset); -// } -// static void glowVertexArrayVertexAttribIFormatEXT(GPVERTEXARRAYVERTEXATTRIBIFORMATEXT fnptr, GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset) { -// (*fnptr)(vaobj, attribindex, size, type, relativeoffset); -// } -// static void glowVertexArrayVertexAttribIOffsetEXT(GPVERTEXARRAYVERTEXATTRIBIOFFSETEXT fnptr, GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset) { -// (*fnptr)(vaobj, buffer, index, size, type, stride, offset); -// } -// static void glowVertexArrayVertexAttribLFormatEXT(GPVERTEXARRAYVERTEXATTRIBLFORMATEXT fnptr, GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset) { -// (*fnptr)(vaobj, attribindex, size, type, relativeoffset); -// } -// static void glowVertexArrayVertexAttribLOffsetEXT(GPVERTEXARRAYVERTEXATTRIBLOFFSETEXT fnptr, GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset) { -// (*fnptr)(vaobj, buffer, index, size, type, stride, offset); -// } -// static void glowVertexArrayVertexAttribOffsetEXT(GPVERTEXARRAYVERTEXATTRIBOFFSETEXT fnptr, GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLintptr offset) { -// (*fnptr)(vaobj, buffer, index, size, type, normalized, stride, offset); -// } -// static void glowVertexArrayVertexBindingDivisorEXT(GPVERTEXARRAYVERTEXBINDINGDIVISOREXT fnptr, GLuint vaobj, GLuint bindingindex, GLuint divisor) { -// (*fnptr)(vaobj, bindingindex, divisor); -// } -// static void glowVertexArrayVertexBuffer(GPVERTEXARRAYVERTEXBUFFER fnptr, GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride) { -// (*fnptr)(vaobj, bindingindex, buffer, offset, stride); -// } -// static void glowVertexArrayVertexBuffers(GPVERTEXARRAYVERTEXBUFFERS fnptr, GLuint vaobj, GLuint first, GLsizei count, const GLuint * buffers, const GLintptr * offsets, const GLsizei * strides) { -// (*fnptr)(vaobj, first, count, buffers, offsets, strides); -// } -// static void glowVertexArrayVertexOffsetEXT(GPVERTEXARRAYVERTEXOFFSETEXT fnptr, GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset) { -// (*fnptr)(vaobj, buffer, size, type, stride, offset); -// } -// static void glowVertexAttrib1d(GPVERTEXATTRIB1D fnptr, GLuint index, GLdouble x) { -// (*fnptr)(index, x); -// } -// static void glowVertexAttrib1dARB(GPVERTEXATTRIB1DARB fnptr, GLuint index, GLdouble x) { -// (*fnptr)(index, x); -// } -// static void glowVertexAttrib1dNV(GPVERTEXATTRIB1DNV fnptr, GLuint index, GLdouble x) { -// (*fnptr)(index, x); -// } -// static void glowVertexAttrib1dv(GPVERTEXATTRIB1DV fnptr, GLuint index, const GLdouble * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib1dvARB(GPVERTEXATTRIB1DVARB fnptr, GLuint index, const GLdouble * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib1dvNV(GPVERTEXATTRIB1DVNV fnptr, GLuint index, const GLdouble * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib1f(GPVERTEXATTRIB1F fnptr, GLuint index, GLfloat x) { -// (*fnptr)(index, x); -// } -// static void glowVertexAttrib1fARB(GPVERTEXATTRIB1FARB fnptr, GLuint index, GLfloat x) { -// (*fnptr)(index, x); -// } -// static void glowVertexAttrib1fNV(GPVERTEXATTRIB1FNV fnptr, GLuint index, GLfloat x) { -// (*fnptr)(index, x); -// } -// static void glowVertexAttrib1fv(GPVERTEXATTRIB1FV fnptr, GLuint index, const GLfloat * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib1fvARB(GPVERTEXATTRIB1FVARB fnptr, GLuint index, const GLfloat * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib1fvNV(GPVERTEXATTRIB1FVNV fnptr, GLuint index, const GLfloat * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib1hNV(GPVERTEXATTRIB1HNV fnptr, GLuint index, GLhalfNV x) { -// (*fnptr)(index, x); -// } -// static void glowVertexAttrib1hvNV(GPVERTEXATTRIB1HVNV fnptr, GLuint index, const GLhalfNV * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib1s(GPVERTEXATTRIB1S fnptr, GLuint index, GLshort x) { -// (*fnptr)(index, x); -// } -// static void glowVertexAttrib1sARB(GPVERTEXATTRIB1SARB fnptr, GLuint index, GLshort x) { -// (*fnptr)(index, x); -// } -// static void glowVertexAttrib1sNV(GPVERTEXATTRIB1SNV fnptr, GLuint index, GLshort x) { -// (*fnptr)(index, x); -// } -// static void glowVertexAttrib1sv(GPVERTEXATTRIB1SV fnptr, GLuint index, const GLshort * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib1svARB(GPVERTEXATTRIB1SVARB fnptr, GLuint index, const GLshort * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib1svNV(GPVERTEXATTRIB1SVNV fnptr, GLuint index, const GLshort * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib2d(GPVERTEXATTRIB2D fnptr, GLuint index, GLdouble x, GLdouble y) { -// (*fnptr)(index, x, y); -// } -// static void glowVertexAttrib2dARB(GPVERTEXATTRIB2DARB fnptr, GLuint index, GLdouble x, GLdouble y) { -// (*fnptr)(index, x, y); -// } -// static void glowVertexAttrib2dNV(GPVERTEXATTRIB2DNV fnptr, GLuint index, GLdouble x, GLdouble y) { -// (*fnptr)(index, x, y); -// } -// static void glowVertexAttrib2dv(GPVERTEXATTRIB2DV fnptr, GLuint index, const GLdouble * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib2dvARB(GPVERTEXATTRIB2DVARB fnptr, GLuint index, const GLdouble * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib2dvNV(GPVERTEXATTRIB2DVNV fnptr, GLuint index, const GLdouble * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib2f(GPVERTEXATTRIB2F fnptr, GLuint index, GLfloat x, GLfloat y) { -// (*fnptr)(index, x, y); -// } -// static void glowVertexAttrib2fARB(GPVERTEXATTRIB2FARB fnptr, GLuint index, GLfloat x, GLfloat y) { -// (*fnptr)(index, x, y); -// } -// static void glowVertexAttrib2fNV(GPVERTEXATTRIB2FNV fnptr, GLuint index, GLfloat x, GLfloat y) { -// (*fnptr)(index, x, y); -// } -// static void glowVertexAttrib2fv(GPVERTEXATTRIB2FV fnptr, GLuint index, const GLfloat * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib2fvARB(GPVERTEXATTRIB2FVARB fnptr, GLuint index, const GLfloat * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib2fvNV(GPVERTEXATTRIB2FVNV fnptr, GLuint index, const GLfloat * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib2hNV(GPVERTEXATTRIB2HNV fnptr, GLuint index, GLhalfNV x, GLhalfNV y) { -// (*fnptr)(index, x, y); -// } -// static void glowVertexAttrib2hvNV(GPVERTEXATTRIB2HVNV fnptr, GLuint index, const GLhalfNV * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib2s(GPVERTEXATTRIB2S fnptr, GLuint index, GLshort x, GLshort y) { -// (*fnptr)(index, x, y); -// } -// static void glowVertexAttrib2sARB(GPVERTEXATTRIB2SARB fnptr, GLuint index, GLshort x, GLshort y) { -// (*fnptr)(index, x, y); -// } -// static void glowVertexAttrib2sNV(GPVERTEXATTRIB2SNV fnptr, GLuint index, GLshort x, GLshort y) { -// (*fnptr)(index, x, y); -// } -// static void glowVertexAttrib2sv(GPVERTEXATTRIB2SV fnptr, GLuint index, const GLshort * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib2svARB(GPVERTEXATTRIB2SVARB fnptr, GLuint index, const GLshort * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib2svNV(GPVERTEXATTRIB2SVNV fnptr, GLuint index, const GLshort * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib3d(GPVERTEXATTRIB3D fnptr, GLuint index, GLdouble x, GLdouble y, GLdouble z) { -// (*fnptr)(index, x, y, z); -// } -// static void glowVertexAttrib3dARB(GPVERTEXATTRIB3DARB fnptr, GLuint index, GLdouble x, GLdouble y, GLdouble z) { -// (*fnptr)(index, x, y, z); -// } -// static void glowVertexAttrib3dNV(GPVERTEXATTRIB3DNV fnptr, GLuint index, GLdouble x, GLdouble y, GLdouble z) { -// (*fnptr)(index, x, y, z); -// } -// static void glowVertexAttrib3dv(GPVERTEXATTRIB3DV fnptr, GLuint index, const GLdouble * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib3dvARB(GPVERTEXATTRIB3DVARB fnptr, GLuint index, const GLdouble * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib3dvNV(GPVERTEXATTRIB3DVNV fnptr, GLuint index, const GLdouble * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib3f(GPVERTEXATTRIB3F fnptr, GLuint index, GLfloat x, GLfloat y, GLfloat z) { -// (*fnptr)(index, x, y, z); -// } -// static void glowVertexAttrib3fARB(GPVERTEXATTRIB3FARB fnptr, GLuint index, GLfloat x, GLfloat y, GLfloat z) { -// (*fnptr)(index, x, y, z); -// } -// static void glowVertexAttrib3fNV(GPVERTEXATTRIB3FNV fnptr, GLuint index, GLfloat x, GLfloat y, GLfloat z) { -// (*fnptr)(index, x, y, z); -// } -// static void glowVertexAttrib3fv(GPVERTEXATTRIB3FV fnptr, GLuint index, const GLfloat * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib3fvARB(GPVERTEXATTRIB3FVARB fnptr, GLuint index, const GLfloat * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib3fvNV(GPVERTEXATTRIB3FVNV fnptr, GLuint index, const GLfloat * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib3hNV(GPVERTEXATTRIB3HNV fnptr, GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z) { -// (*fnptr)(index, x, y, z); -// } -// static void glowVertexAttrib3hvNV(GPVERTEXATTRIB3HVNV fnptr, GLuint index, const GLhalfNV * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib3s(GPVERTEXATTRIB3S fnptr, GLuint index, GLshort x, GLshort y, GLshort z) { -// (*fnptr)(index, x, y, z); -// } -// static void glowVertexAttrib3sARB(GPVERTEXATTRIB3SARB fnptr, GLuint index, GLshort x, GLshort y, GLshort z) { -// (*fnptr)(index, x, y, z); -// } -// static void glowVertexAttrib3sNV(GPVERTEXATTRIB3SNV fnptr, GLuint index, GLshort x, GLshort y, GLshort z) { -// (*fnptr)(index, x, y, z); -// } -// static void glowVertexAttrib3sv(GPVERTEXATTRIB3SV fnptr, GLuint index, const GLshort * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib3svARB(GPVERTEXATTRIB3SVARB fnptr, GLuint index, const GLshort * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib3svNV(GPVERTEXATTRIB3SVNV fnptr, GLuint index, const GLshort * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib4Nbv(GPVERTEXATTRIB4NBV fnptr, GLuint index, const GLbyte * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib4NbvARB(GPVERTEXATTRIB4NBVARB fnptr, GLuint index, const GLbyte * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib4Niv(GPVERTEXATTRIB4NIV fnptr, GLuint index, const GLint * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib4NivARB(GPVERTEXATTRIB4NIVARB fnptr, GLuint index, const GLint * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib4Nsv(GPVERTEXATTRIB4NSV fnptr, GLuint index, const GLshort * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib4NsvARB(GPVERTEXATTRIB4NSVARB fnptr, GLuint index, const GLshort * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib4Nub(GPVERTEXATTRIB4NUB fnptr, GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w) { -// (*fnptr)(index, x, y, z, w); -// } -// static void glowVertexAttrib4NubARB(GPVERTEXATTRIB4NUBARB fnptr, GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w) { -// (*fnptr)(index, x, y, z, w); -// } -// static void glowVertexAttrib4Nubv(GPVERTEXATTRIB4NUBV fnptr, GLuint index, const GLubyte * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib4NubvARB(GPVERTEXATTRIB4NUBVARB fnptr, GLuint index, const GLubyte * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib4Nuiv(GPVERTEXATTRIB4NUIV fnptr, GLuint index, const GLuint * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib4NuivARB(GPVERTEXATTRIB4NUIVARB fnptr, GLuint index, const GLuint * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib4Nusv(GPVERTEXATTRIB4NUSV fnptr, GLuint index, const GLushort * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib4NusvARB(GPVERTEXATTRIB4NUSVARB fnptr, GLuint index, const GLushort * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib4bv(GPVERTEXATTRIB4BV fnptr, GLuint index, const GLbyte * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib4bvARB(GPVERTEXATTRIB4BVARB fnptr, GLuint index, const GLbyte * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib4d(GPVERTEXATTRIB4D fnptr, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) { -// (*fnptr)(index, x, y, z, w); -// } -// static void glowVertexAttrib4dARB(GPVERTEXATTRIB4DARB fnptr, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) { -// (*fnptr)(index, x, y, z, w); -// } -// static void glowVertexAttrib4dNV(GPVERTEXATTRIB4DNV fnptr, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) { -// (*fnptr)(index, x, y, z, w); -// } -// static void glowVertexAttrib4dv(GPVERTEXATTRIB4DV fnptr, GLuint index, const GLdouble * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib4dvARB(GPVERTEXATTRIB4DVARB fnptr, GLuint index, const GLdouble * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib4dvNV(GPVERTEXATTRIB4DVNV fnptr, GLuint index, const GLdouble * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib4f(GPVERTEXATTRIB4F fnptr, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) { -// (*fnptr)(index, x, y, z, w); -// } -// static void glowVertexAttrib4fARB(GPVERTEXATTRIB4FARB fnptr, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) { -// (*fnptr)(index, x, y, z, w); -// } -// static void glowVertexAttrib4fNV(GPVERTEXATTRIB4FNV fnptr, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) { -// (*fnptr)(index, x, y, z, w); -// } -// static void glowVertexAttrib4fv(GPVERTEXATTRIB4FV fnptr, GLuint index, const GLfloat * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib4fvARB(GPVERTEXATTRIB4FVARB fnptr, GLuint index, const GLfloat * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib4fvNV(GPVERTEXATTRIB4FVNV fnptr, GLuint index, const GLfloat * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib4hNV(GPVERTEXATTRIB4HNV fnptr, GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w) { -// (*fnptr)(index, x, y, z, w); -// } -// static void glowVertexAttrib4hvNV(GPVERTEXATTRIB4HVNV fnptr, GLuint index, const GLhalfNV * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib4iv(GPVERTEXATTRIB4IV fnptr, GLuint index, const GLint * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib4ivARB(GPVERTEXATTRIB4IVARB fnptr, GLuint index, const GLint * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib4s(GPVERTEXATTRIB4S fnptr, GLuint index, GLshort x, GLshort y, GLshort z, GLshort w) { -// (*fnptr)(index, x, y, z, w); -// } -// static void glowVertexAttrib4sARB(GPVERTEXATTRIB4SARB fnptr, GLuint index, GLshort x, GLshort y, GLshort z, GLshort w) { -// (*fnptr)(index, x, y, z, w); -// } -// static void glowVertexAttrib4sNV(GPVERTEXATTRIB4SNV fnptr, GLuint index, GLshort x, GLshort y, GLshort z, GLshort w) { -// (*fnptr)(index, x, y, z, w); -// } -// static void glowVertexAttrib4sv(GPVERTEXATTRIB4SV fnptr, GLuint index, const GLshort * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib4svARB(GPVERTEXATTRIB4SVARB fnptr, GLuint index, const GLshort * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib4svNV(GPVERTEXATTRIB4SVNV fnptr, GLuint index, const GLshort * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib4ubNV(GPVERTEXATTRIB4UBNV fnptr, GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w) { -// (*fnptr)(index, x, y, z, w); -// } -// static void glowVertexAttrib4ubv(GPVERTEXATTRIB4UBV fnptr, GLuint index, const GLubyte * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib4ubvARB(GPVERTEXATTRIB4UBVARB fnptr, GLuint index, const GLubyte * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib4ubvNV(GPVERTEXATTRIB4UBVNV fnptr, GLuint index, const GLubyte * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib4uiv(GPVERTEXATTRIB4UIV fnptr, GLuint index, const GLuint * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib4uivARB(GPVERTEXATTRIB4UIVARB fnptr, GLuint index, const GLuint * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib4usv(GPVERTEXATTRIB4USV fnptr, GLuint index, const GLushort * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttrib4usvARB(GPVERTEXATTRIB4USVARB fnptr, GLuint index, const GLushort * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttribArrayObjectATI(GPVERTEXATTRIBARRAYOBJECTATI fnptr, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset) { -// (*fnptr)(index, size, type, normalized, stride, buffer, offset); -// } -// static void glowVertexAttribBinding(GPVERTEXATTRIBBINDING fnptr, GLuint attribindex, GLuint bindingindex) { -// (*fnptr)(attribindex, bindingindex); -// } -// static void glowVertexAttribDivisorARB(GPVERTEXATTRIBDIVISORARB fnptr, GLuint index, GLuint divisor) { -// (*fnptr)(index, divisor); -// } -// static void glowVertexAttribFormat(GPVERTEXATTRIBFORMAT fnptr, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset) { -// (*fnptr)(attribindex, size, type, normalized, relativeoffset); -// } -// static void glowVertexAttribFormatNV(GPVERTEXATTRIBFORMATNV fnptr, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride) { -// (*fnptr)(index, size, type, normalized, stride); -// } -// static void glowVertexAttribI1iEXT(GPVERTEXATTRIBI1IEXT fnptr, GLuint index, GLint x) { -// (*fnptr)(index, x); -// } -// static void glowVertexAttribI1ivEXT(GPVERTEXATTRIBI1IVEXT fnptr, GLuint index, const GLint * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttribI1uiEXT(GPVERTEXATTRIBI1UIEXT fnptr, GLuint index, GLuint x) { -// (*fnptr)(index, x); -// } -// static void glowVertexAttribI1uivEXT(GPVERTEXATTRIBI1UIVEXT fnptr, GLuint index, const GLuint * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttribI2iEXT(GPVERTEXATTRIBI2IEXT fnptr, GLuint index, GLint x, GLint y) { -// (*fnptr)(index, x, y); -// } -// static void glowVertexAttribI2ivEXT(GPVERTEXATTRIBI2IVEXT fnptr, GLuint index, const GLint * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttribI2uiEXT(GPVERTEXATTRIBI2UIEXT fnptr, GLuint index, GLuint x, GLuint y) { -// (*fnptr)(index, x, y); -// } -// static void glowVertexAttribI2uivEXT(GPVERTEXATTRIBI2UIVEXT fnptr, GLuint index, const GLuint * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttribI3iEXT(GPVERTEXATTRIBI3IEXT fnptr, GLuint index, GLint x, GLint y, GLint z) { -// (*fnptr)(index, x, y, z); -// } -// static void glowVertexAttribI3ivEXT(GPVERTEXATTRIBI3IVEXT fnptr, GLuint index, const GLint * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttribI3uiEXT(GPVERTEXATTRIBI3UIEXT fnptr, GLuint index, GLuint x, GLuint y, GLuint z) { -// (*fnptr)(index, x, y, z); -// } -// static void glowVertexAttribI3uivEXT(GPVERTEXATTRIBI3UIVEXT fnptr, GLuint index, const GLuint * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttribI4bvEXT(GPVERTEXATTRIBI4BVEXT fnptr, GLuint index, const GLbyte * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttribI4iEXT(GPVERTEXATTRIBI4IEXT fnptr, GLuint index, GLint x, GLint y, GLint z, GLint w) { -// (*fnptr)(index, x, y, z, w); -// } -// static void glowVertexAttribI4ivEXT(GPVERTEXATTRIBI4IVEXT fnptr, GLuint index, const GLint * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttribI4svEXT(GPVERTEXATTRIBI4SVEXT fnptr, GLuint index, const GLshort * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttribI4ubvEXT(GPVERTEXATTRIBI4UBVEXT fnptr, GLuint index, const GLubyte * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttribI4uiEXT(GPVERTEXATTRIBI4UIEXT fnptr, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w) { -// (*fnptr)(index, x, y, z, w); -// } -// static void glowVertexAttribI4uivEXT(GPVERTEXATTRIBI4UIVEXT fnptr, GLuint index, const GLuint * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttribI4usvEXT(GPVERTEXATTRIBI4USVEXT fnptr, GLuint index, const GLushort * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttribIFormat(GPVERTEXATTRIBIFORMAT fnptr, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset) { -// (*fnptr)(attribindex, size, type, relativeoffset); -// } -// static void glowVertexAttribIFormatNV(GPVERTEXATTRIBIFORMATNV fnptr, GLuint index, GLint size, GLenum type, GLsizei stride) { -// (*fnptr)(index, size, type, stride); -// } -// static void glowVertexAttribIPointerEXT(GPVERTEXATTRIBIPOINTEREXT fnptr, GLuint index, GLint size, GLenum type, GLsizei stride, const void * pointer) { -// (*fnptr)(index, size, type, stride, pointer); -// } -// static void glowVertexAttribL1d(GPVERTEXATTRIBL1D fnptr, GLuint index, GLdouble x) { -// (*fnptr)(index, x); -// } -// static void glowVertexAttribL1dEXT(GPVERTEXATTRIBL1DEXT fnptr, GLuint index, GLdouble x) { -// (*fnptr)(index, x); -// } -// static void glowVertexAttribL1dv(GPVERTEXATTRIBL1DV fnptr, GLuint index, const GLdouble * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttribL1dvEXT(GPVERTEXATTRIBL1DVEXT fnptr, GLuint index, const GLdouble * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttribL1i64NV(GPVERTEXATTRIBL1I64NV fnptr, GLuint index, GLint64EXT x) { -// (*fnptr)(index, x); -// } -// static void glowVertexAttribL1i64vNV(GPVERTEXATTRIBL1I64VNV fnptr, GLuint index, const GLint64EXT * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttribL1ui64ARB(GPVERTEXATTRIBL1UI64ARB fnptr, GLuint index, GLuint64EXT x) { -// (*fnptr)(index, x); -// } -// static void glowVertexAttribL1ui64NV(GPVERTEXATTRIBL1UI64NV fnptr, GLuint index, GLuint64EXT x) { -// (*fnptr)(index, x); -// } -// static void glowVertexAttribL1ui64vARB(GPVERTEXATTRIBL1UI64VARB fnptr, GLuint index, const GLuint64EXT * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttribL1ui64vNV(GPVERTEXATTRIBL1UI64VNV fnptr, GLuint index, const GLuint64EXT * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttribL2d(GPVERTEXATTRIBL2D fnptr, GLuint index, GLdouble x, GLdouble y) { -// (*fnptr)(index, x, y); -// } -// static void glowVertexAttribL2dEXT(GPVERTEXATTRIBL2DEXT fnptr, GLuint index, GLdouble x, GLdouble y) { -// (*fnptr)(index, x, y); -// } -// static void glowVertexAttribL2dv(GPVERTEXATTRIBL2DV fnptr, GLuint index, const GLdouble * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttribL2dvEXT(GPVERTEXATTRIBL2DVEXT fnptr, GLuint index, const GLdouble * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttribL2i64NV(GPVERTEXATTRIBL2I64NV fnptr, GLuint index, GLint64EXT x, GLint64EXT y) { -// (*fnptr)(index, x, y); -// } -// static void glowVertexAttribL2i64vNV(GPVERTEXATTRIBL2I64VNV fnptr, GLuint index, const GLint64EXT * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttribL2ui64NV(GPVERTEXATTRIBL2UI64NV fnptr, GLuint index, GLuint64EXT x, GLuint64EXT y) { -// (*fnptr)(index, x, y); -// } -// static void glowVertexAttribL2ui64vNV(GPVERTEXATTRIBL2UI64VNV fnptr, GLuint index, const GLuint64EXT * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttribL3d(GPVERTEXATTRIBL3D fnptr, GLuint index, GLdouble x, GLdouble y, GLdouble z) { -// (*fnptr)(index, x, y, z); -// } -// static void glowVertexAttribL3dEXT(GPVERTEXATTRIBL3DEXT fnptr, GLuint index, GLdouble x, GLdouble y, GLdouble z) { -// (*fnptr)(index, x, y, z); -// } -// static void glowVertexAttribL3dv(GPVERTEXATTRIBL3DV fnptr, GLuint index, const GLdouble * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttribL3dvEXT(GPVERTEXATTRIBL3DVEXT fnptr, GLuint index, const GLdouble * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttribL3i64NV(GPVERTEXATTRIBL3I64NV fnptr, GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z) { -// (*fnptr)(index, x, y, z); -// } -// static void glowVertexAttribL3i64vNV(GPVERTEXATTRIBL3I64VNV fnptr, GLuint index, const GLint64EXT * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttribL3ui64NV(GPVERTEXATTRIBL3UI64NV fnptr, GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z) { -// (*fnptr)(index, x, y, z); -// } -// static void glowVertexAttribL3ui64vNV(GPVERTEXATTRIBL3UI64VNV fnptr, GLuint index, const GLuint64EXT * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttribL4d(GPVERTEXATTRIBL4D fnptr, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) { -// (*fnptr)(index, x, y, z, w); -// } -// static void glowVertexAttribL4dEXT(GPVERTEXATTRIBL4DEXT fnptr, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) { -// (*fnptr)(index, x, y, z, w); -// } -// static void glowVertexAttribL4dv(GPVERTEXATTRIBL4DV fnptr, GLuint index, const GLdouble * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttribL4dvEXT(GPVERTEXATTRIBL4DVEXT fnptr, GLuint index, const GLdouble * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttribL4i64NV(GPVERTEXATTRIBL4I64NV fnptr, GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w) { -// (*fnptr)(index, x, y, z, w); -// } -// static void glowVertexAttribL4i64vNV(GPVERTEXATTRIBL4I64VNV fnptr, GLuint index, const GLint64EXT * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttribL4ui64NV(GPVERTEXATTRIBL4UI64NV fnptr, GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w) { -// (*fnptr)(index, x, y, z, w); -// } -// static void glowVertexAttribL4ui64vNV(GPVERTEXATTRIBL4UI64VNV fnptr, GLuint index, const GLuint64EXT * v) { -// (*fnptr)(index, v); -// } -// static void glowVertexAttribLFormat(GPVERTEXATTRIBLFORMAT fnptr, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset) { -// (*fnptr)(attribindex, size, type, relativeoffset); -// } -// static void glowVertexAttribLFormatNV(GPVERTEXATTRIBLFORMATNV fnptr, GLuint index, GLint size, GLenum type, GLsizei stride) { -// (*fnptr)(index, size, type, stride); -// } -// static void glowVertexAttribLPointer(GPVERTEXATTRIBLPOINTER fnptr, GLuint index, GLint size, GLenum type, GLsizei stride, const void * pointer) { -// (*fnptr)(index, size, type, stride, pointer); -// } -// static void glowVertexAttribLPointerEXT(GPVERTEXATTRIBLPOINTEREXT fnptr, GLuint index, GLint size, GLenum type, GLsizei stride, const void * pointer) { -// (*fnptr)(index, size, type, stride, pointer); -// } -// static void glowVertexAttribP1ui(GPVERTEXATTRIBP1UI fnptr, GLuint index, GLenum type, GLboolean normalized, GLuint value) { -// (*fnptr)(index, type, normalized, value); -// } -// static void glowVertexAttribP1uiv(GPVERTEXATTRIBP1UIV fnptr, GLuint index, GLenum type, GLboolean normalized, const GLuint * value) { -// (*fnptr)(index, type, normalized, value); -// } -// static void glowVertexAttribP2ui(GPVERTEXATTRIBP2UI fnptr, GLuint index, GLenum type, GLboolean normalized, GLuint value) { -// (*fnptr)(index, type, normalized, value); -// } -// static void glowVertexAttribP2uiv(GPVERTEXATTRIBP2UIV fnptr, GLuint index, GLenum type, GLboolean normalized, const GLuint * value) { -// (*fnptr)(index, type, normalized, value); -// } -// static void glowVertexAttribP3ui(GPVERTEXATTRIBP3UI fnptr, GLuint index, GLenum type, GLboolean normalized, GLuint value) { -// (*fnptr)(index, type, normalized, value); -// } -// static void glowVertexAttribP3uiv(GPVERTEXATTRIBP3UIV fnptr, GLuint index, GLenum type, GLboolean normalized, const GLuint * value) { -// (*fnptr)(index, type, normalized, value); -// } -// static void glowVertexAttribP4ui(GPVERTEXATTRIBP4UI fnptr, GLuint index, GLenum type, GLboolean normalized, GLuint value) { -// (*fnptr)(index, type, normalized, value); -// } -// static void glowVertexAttribP4uiv(GPVERTEXATTRIBP4UIV fnptr, GLuint index, GLenum type, GLboolean normalized, const GLuint * value) { -// (*fnptr)(index, type, normalized, value); -// } -// static void glowVertexAttribParameteriAMD(GPVERTEXATTRIBPARAMETERIAMD fnptr, GLuint index, GLenum pname, GLint param) { -// (*fnptr)(index, pname, param); -// } // static void glowVertexAttribPointer(GPVERTEXATTRIBPOINTER fnptr, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const uintptr_t pointer) { // (*fnptr)(index, size, type, normalized, stride, pointer); // } -// static void glowVertexAttribPointerARB(GPVERTEXATTRIBPOINTERARB fnptr, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void * pointer) { -// (*fnptr)(index, size, type, normalized, stride, pointer); -// } -// static void glowVertexAttribPointerNV(GPVERTEXATTRIBPOINTERNV fnptr, GLuint index, GLint fsize, GLenum type, GLsizei stride, const void * pointer) { -// (*fnptr)(index, fsize, type, stride, pointer); -// } -// static void glowVertexAttribs1dvNV(GPVERTEXATTRIBS1DVNV fnptr, GLuint index, GLsizei count, const GLdouble * v) { -// (*fnptr)(index, count, v); -// } -// static void glowVertexAttribs1fvNV(GPVERTEXATTRIBS1FVNV fnptr, GLuint index, GLsizei count, const GLfloat * v) { -// (*fnptr)(index, count, v); -// } -// static void glowVertexAttribs1hvNV(GPVERTEXATTRIBS1HVNV fnptr, GLuint index, GLsizei n, const GLhalfNV * v) { -// (*fnptr)(index, n, v); -// } -// static void glowVertexAttribs1svNV(GPVERTEXATTRIBS1SVNV fnptr, GLuint index, GLsizei count, const GLshort * v) { -// (*fnptr)(index, count, v); -// } -// static void glowVertexAttribs2dvNV(GPVERTEXATTRIBS2DVNV fnptr, GLuint index, GLsizei count, const GLdouble * v) { -// (*fnptr)(index, count, v); -// } -// static void glowVertexAttribs2fvNV(GPVERTEXATTRIBS2FVNV fnptr, GLuint index, GLsizei count, const GLfloat * v) { -// (*fnptr)(index, count, v); -// } -// static void glowVertexAttribs2hvNV(GPVERTEXATTRIBS2HVNV fnptr, GLuint index, GLsizei n, const GLhalfNV * v) { -// (*fnptr)(index, n, v); -// } -// static void glowVertexAttribs2svNV(GPVERTEXATTRIBS2SVNV fnptr, GLuint index, GLsizei count, const GLshort * v) { -// (*fnptr)(index, count, v); -// } -// static void glowVertexAttribs3dvNV(GPVERTEXATTRIBS3DVNV fnptr, GLuint index, GLsizei count, const GLdouble * v) { -// (*fnptr)(index, count, v); -// } -// static void glowVertexAttribs3fvNV(GPVERTEXATTRIBS3FVNV fnptr, GLuint index, GLsizei count, const GLfloat * v) { -// (*fnptr)(index, count, v); -// } -// static void glowVertexAttribs3hvNV(GPVERTEXATTRIBS3HVNV fnptr, GLuint index, GLsizei n, const GLhalfNV * v) { -// (*fnptr)(index, n, v); -// } -// static void glowVertexAttribs3svNV(GPVERTEXATTRIBS3SVNV fnptr, GLuint index, GLsizei count, const GLshort * v) { -// (*fnptr)(index, count, v); -// } -// static void glowVertexAttribs4dvNV(GPVERTEXATTRIBS4DVNV fnptr, GLuint index, GLsizei count, const GLdouble * v) { -// (*fnptr)(index, count, v); -// } -// static void glowVertexAttribs4fvNV(GPVERTEXATTRIBS4FVNV fnptr, GLuint index, GLsizei count, const GLfloat * v) { -// (*fnptr)(index, count, v); -// } -// static void glowVertexAttribs4hvNV(GPVERTEXATTRIBS4HVNV fnptr, GLuint index, GLsizei n, const GLhalfNV * v) { -// (*fnptr)(index, n, v); -// } -// static void glowVertexAttribs4svNV(GPVERTEXATTRIBS4SVNV fnptr, GLuint index, GLsizei count, const GLshort * v) { -// (*fnptr)(index, count, v); -// } -// static void glowVertexAttribs4ubvNV(GPVERTEXATTRIBS4UBVNV fnptr, GLuint index, GLsizei count, const GLubyte * v) { -// (*fnptr)(index, count, v); -// } -// static void glowVertexBindingDivisor(GPVERTEXBINDINGDIVISOR fnptr, GLuint bindingindex, GLuint divisor) { -// (*fnptr)(bindingindex, divisor); -// } -// static void glowVertexBlendARB(GPVERTEXBLENDARB fnptr, GLint count) { -// (*fnptr)(count); -// } -// static void glowVertexBlendEnvfATI(GPVERTEXBLENDENVFATI fnptr, GLenum pname, GLfloat param) { -// (*fnptr)(pname, param); -// } -// static void glowVertexBlendEnviATI(GPVERTEXBLENDENVIATI fnptr, GLenum pname, GLint param) { -// (*fnptr)(pname, param); -// } -// static void glowVertexFormatNV(GPVERTEXFORMATNV fnptr, GLint size, GLenum type, GLsizei stride) { -// (*fnptr)(size, type, stride); -// } -// static void glowVertexPointer(GPVERTEXPOINTER fnptr, GLint size, GLenum type, GLsizei stride, const void * pointer) { -// (*fnptr)(size, type, stride, pointer); -// } -// static void glowVertexPointerEXT(GPVERTEXPOINTEREXT fnptr, GLint size, GLenum type, GLsizei stride, GLsizei count, const void * pointer) { -// (*fnptr)(size, type, stride, count, pointer); -// } -// static void glowVertexPointerListIBM(GPVERTEXPOINTERLISTIBM fnptr, GLint size, GLenum type, GLint stride, const void ** pointer, GLint ptrstride) { -// (*fnptr)(size, type, stride, pointer, ptrstride); -// } -// static void glowVertexPointervINTEL(GPVERTEXPOINTERVINTEL fnptr, GLint size, GLenum type, const void ** pointer) { -// (*fnptr)(size, type, pointer); -// } -// static void glowVertexStream1dATI(GPVERTEXSTREAM1DATI fnptr, GLenum stream, GLdouble x) { -// (*fnptr)(stream, x); -// } -// static void glowVertexStream1dvATI(GPVERTEXSTREAM1DVATI fnptr, GLenum stream, const GLdouble * coords) { -// (*fnptr)(stream, coords); -// } -// static void glowVertexStream1fATI(GPVERTEXSTREAM1FATI fnptr, GLenum stream, GLfloat x) { -// (*fnptr)(stream, x); -// } -// static void glowVertexStream1fvATI(GPVERTEXSTREAM1FVATI fnptr, GLenum stream, const GLfloat * coords) { -// (*fnptr)(stream, coords); -// } -// static void glowVertexStream1iATI(GPVERTEXSTREAM1IATI fnptr, GLenum stream, GLint x) { -// (*fnptr)(stream, x); -// } -// static void glowVertexStream1ivATI(GPVERTEXSTREAM1IVATI fnptr, GLenum stream, const GLint * coords) { -// (*fnptr)(stream, coords); -// } -// static void glowVertexStream1sATI(GPVERTEXSTREAM1SATI fnptr, GLenum stream, GLshort x) { -// (*fnptr)(stream, x); -// } -// static void glowVertexStream1svATI(GPVERTEXSTREAM1SVATI fnptr, GLenum stream, const GLshort * coords) { -// (*fnptr)(stream, coords); -// } -// static void glowVertexStream2dATI(GPVERTEXSTREAM2DATI fnptr, GLenum stream, GLdouble x, GLdouble y) { -// (*fnptr)(stream, x, y); -// } -// static void glowVertexStream2dvATI(GPVERTEXSTREAM2DVATI fnptr, GLenum stream, const GLdouble * coords) { -// (*fnptr)(stream, coords); -// } -// static void glowVertexStream2fATI(GPVERTEXSTREAM2FATI fnptr, GLenum stream, GLfloat x, GLfloat y) { -// (*fnptr)(stream, x, y); -// } -// static void glowVertexStream2fvATI(GPVERTEXSTREAM2FVATI fnptr, GLenum stream, const GLfloat * coords) { -// (*fnptr)(stream, coords); -// } -// static void glowVertexStream2iATI(GPVERTEXSTREAM2IATI fnptr, GLenum stream, GLint x, GLint y) { -// (*fnptr)(stream, x, y); -// } -// static void glowVertexStream2ivATI(GPVERTEXSTREAM2IVATI fnptr, GLenum stream, const GLint * coords) { -// (*fnptr)(stream, coords); -// } -// static void glowVertexStream2sATI(GPVERTEXSTREAM2SATI fnptr, GLenum stream, GLshort x, GLshort y) { -// (*fnptr)(stream, x, y); -// } -// static void glowVertexStream2svATI(GPVERTEXSTREAM2SVATI fnptr, GLenum stream, const GLshort * coords) { -// (*fnptr)(stream, coords); -// } -// static void glowVertexStream3dATI(GPVERTEXSTREAM3DATI fnptr, GLenum stream, GLdouble x, GLdouble y, GLdouble z) { -// (*fnptr)(stream, x, y, z); -// } -// static void glowVertexStream3dvATI(GPVERTEXSTREAM3DVATI fnptr, GLenum stream, const GLdouble * coords) { -// (*fnptr)(stream, coords); -// } -// static void glowVertexStream3fATI(GPVERTEXSTREAM3FATI fnptr, GLenum stream, GLfloat x, GLfloat y, GLfloat z) { -// (*fnptr)(stream, x, y, z); -// } -// static void glowVertexStream3fvATI(GPVERTEXSTREAM3FVATI fnptr, GLenum stream, const GLfloat * coords) { -// (*fnptr)(stream, coords); -// } -// static void glowVertexStream3iATI(GPVERTEXSTREAM3IATI fnptr, GLenum stream, GLint x, GLint y, GLint z) { -// (*fnptr)(stream, x, y, z); -// } -// static void glowVertexStream3ivATI(GPVERTEXSTREAM3IVATI fnptr, GLenum stream, const GLint * coords) { -// (*fnptr)(stream, coords); -// } -// static void glowVertexStream3sATI(GPVERTEXSTREAM3SATI fnptr, GLenum stream, GLshort x, GLshort y, GLshort z) { -// (*fnptr)(stream, x, y, z); -// } -// static void glowVertexStream3svATI(GPVERTEXSTREAM3SVATI fnptr, GLenum stream, const GLshort * coords) { -// (*fnptr)(stream, coords); -// } -// static void glowVertexStream4dATI(GPVERTEXSTREAM4DATI fnptr, GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w) { -// (*fnptr)(stream, x, y, z, w); -// } -// static void glowVertexStream4dvATI(GPVERTEXSTREAM4DVATI fnptr, GLenum stream, const GLdouble * coords) { -// (*fnptr)(stream, coords); -// } -// static void glowVertexStream4fATI(GPVERTEXSTREAM4FATI fnptr, GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w) { -// (*fnptr)(stream, x, y, z, w); -// } -// static void glowVertexStream4fvATI(GPVERTEXSTREAM4FVATI fnptr, GLenum stream, const GLfloat * coords) { -// (*fnptr)(stream, coords); -// } -// static void glowVertexStream4iATI(GPVERTEXSTREAM4IATI fnptr, GLenum stream, GLint x, GLint y, GLint z, GLint w) { -// (*fnptr)(stream, x, y, z, w); -// } -// static void glowVertexStream4ivATI(GPVERTEXSTREAM4IVATI fnptr, GLenum stream, const GLint * coords) { -// (*fnptr)(stream, coords); -// } -// static void glowVertexStream4sATI(GPVERTEXSTREAM4SATI fnptr, GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w) { -// (*fnptr)(stream, x, y, z, w); -// } -// static void glowVertexStream4svATI(GPVERTEXSTREAM4SVATI fnptr, GLenum stream, const GLshort * coords) { -// (*fnptr)(stream, coords); -// } -// static void glowVertexWeightPointerEXT(GPVERTEXWEIGHTPOINTEREXT fnptr, GLint size, GLenum type, GLsizei stride, const void * pointer) { -// (*fnptr)(size, type, stride, pointer); -// } -// static void glowVertexWeightfEXT(GPVERTEXWEIGHTFEXT fnptr, GLfloat weight) { -// (*fnptr)(weight); -// } -// static void glowVertexWeightfvEXT(GPVERTEXWEIGHTFVEXT fnptr, const GLfloat * weight) { -// (*fnptr)(weight); -// } -// static void glowVertexWeighthNV(GPVERTEXWEIGHTHNV fnptr, GLhalfNV weight) { -// (*fnptr)(weight); -// } -// static void glowVertexWeighthvNV(GPVERTEXWEIGHTHVNV fnptr, const GLhalfNV * weight) { -// (*fnptr)(weight); -// } -// static GLenum glowVideoCaptureNV(GPVIDEOCAPTURENV fnptr, GLuint video_capture_slot, GLuint * sequence_num, GLuint64EXT * capture_time) { -// return (*fnptr)(video_capture_slot, sequence_num, capture_time); -// } -// static void glowVideoCaptureStreamParameterdvNV(GPVIDEOCAPTURESTREAMPARAMETERDVNV fnptr, GLuint video_capture_slot, GLuint stream, GLenum pname, const GLdouble * params) { -// (*fnptr)(video_capture_slot, stream, pname, params); -// } -// static void glowVideoCaptureStreamParameterfvNV(GPVIDEOCAPTURESTREAMPARAMETERFVNV fnptr, GLuint video_capture_slot, GLuint stream, GLenum pname, const GLfloat * params) { -// (*fnptr)(video_capture_slot, stream, pname, params); -// } -// static void glowVideoCaptureStreamParameterivNV(GPVIDEOCAPTURESTREAMPARAMETERIVNV fnptr, GLuint video_capture_slot, GLuint stream, GLenum pname, const GLint * params) { -// (*fnptr)(video_capture_slot, stream, pname, params); -// } // static void glowViewport(GPVIEWPORT fnptr, GLint x, GLint y, GLsizei width, GLsizei height) { // (*fnptr)(x, y, width, height); // } -// static void glowViewportArrayv(GPVIEWPORTARRAYV fnptr, GLuint first, GLsizei count, const GLfloat * v) { -// (*fnptr)(first, count, v); -// } -// static void glowViewportIndexedf(GPVIEWPORTINDEXEDF fnptr, GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h) { -// (*fnptr)(index, x, y, w, h); -// } -// static void glowViewportIndexedfv(GPVIEWPORTINDEXEDFV fnptr, GLuint index, const GLfloat * v) { -// (*fnptr)(index, v); -// } -// static void glowViewportPositionWScaleNV(GPVIEWPORTPOSITIONWSCALENV fnptr, GLuint index, GLfloat xcoeff, GLfloat ycoeff) { -// (*fnptr)(index, xcoeff, ycoeff); -// } -// static void glowViewportSwizzleNV(GPVIEWPORTSWIZZLENV fnptr, GLuint index, GLenum swizzlex, GLenum swizzley, GLenum swizzlez, GLenum swizzlew) { -// (*fnptr)(index, swizzlex, swizzley, swizzlez, swizzlew); -// } -// static void glowWaitSemaphoreEXT(GPWAITSEMAPHOREEXT fnptr, GLuint semaphore, GLuint numBufferBarriers, const GLuint * buffers, GLuint numTextureBarriers, const GLuint * textures, const GLenum * srcLayouts) { -// (*fnptr)(semaphore, numBufferBarriers, buffers, numTextureBarriers, textures, srcLayouts); -// } -// static void glowWaitSync(GPWAITSYNC fnptr, GLsync sync, GLbitfield flags, GLuint64 timeout) { -// (*fnptr)(sync, flags, timeout); -// } -// static void glowWaitVkSemaphoreNV(GPWAITVKSEMAPHORENV fnptr, GLuint64 vkSemaphore) { -// (*fnptr)(vkSemaphore); -// } -// static void glowWeightPathsNV(GPWEIGHTPATHSNV fnptr, GLuint resultPath, GLsizei numPaths, const GLuint * paths, const GLfloat * weights) { -// (*fnptr)(resultPath, numPaths, paths, weights); -// } -// static void glowWeightPointerARB(GPWEIGHTPOINTERARB fnptr, GLint size, GLenum type, GLsizei stride, const void * pointer) { -// (*fnptr)(size, type, stride, pointer); -// } -// static void glowWeightbvARB(GPWEIGHTBVARB fnptr, GLint size, const GLbyte * weights) { -// (*fnptr)(size, weights); -// } -// static void glowWeightdvARB(GPWEIGHTDVARB fnptr, GLint size, const GLdouble * weights) { -// (*fnptr)(size, weights); -// } -// static void glowWeightfvARB(GPWEIGHTFVARB fnptr, GLint size, const GLfloat * weights) { -// (*fnptr)(size, weights); -// } -// static void glowWeightivARB(GPWEIGHTIVARB fnptr, GLint size, const GLint * weights) { -// (*fnptr)(size, weights); -// } -// static void glowWeightsvARB(GPWEIGHTSVARB fnptr, GLint size, const GLshort * weights) { -// (*fnptr)(size, weights); -// } -// static void glowWeightubvARB(GPWEIGHTUBVARB fnptr, GLint size, const GLubyte * weights) { -// (*fnptr)(size, weights); -// } -// static void glowWeightuivARB(GPWEIGHTUIVARB fnptr, GLint size, const GLuint * weights) { -// (*fnptr)(size, weights); -// } -// static void glowWeightusvARB(GPWEIGHTUSVARB fnptr, GLint size, const GLushort * weights) { -// (*fnptr)(size, weights); -// } -// static void glowWindowPos2d(GPWINDOWPOS2D fnptr, GLdouble x, GLdouble y) { -// (*fnptr)(x, y); -// } -// static void glowWindowPos2dARB(GPWINDOWPOS2DARB fnptr, GLdouble x, GLdouble y) { -// (*fnptr)(x, y); -// } -// static void glowWindowPos2dMESA(GPWINDOWPOS2DMESA fnptr, GLdouble x, GLdouble y) { -// (*fnptr)(x, y); -// } -// static void glowWindowPos2dv(GPWINDOWPOS2DV fnptr, const GLdouble * v) { -// (*fnptr)(v); -// } -// static void glowWindowPos2dvARB(GPWINDOWPOS2DVARB fnptr, const GLdouble * v) { -// (*fnptr)(v); -// } -// static void glowWindowPos2dvMESA(GPWINDOWPOS2DVMESA fnptr, const GLdouble * v) { -// (*fnptr)(v); -// } -// static void glowWindowPos2f(GPWINDOWPOS2F fnptr, GLfloat x, GLfloat y) { -// (*fnptr)(x, y); -// } -// static void glowWindowPos2fARB(GPWINDOWPOS2FARB fnptr, GLfloat x, GLfloat y) { -// (*fnptr)(x, y); -// } -// static void glowWindowPos2fMESA(GPWINDOWPOS2FMESA fnptr, GLfloat x, GLfloat y) { -// (*fnptr)(x, y); -// } -// static void glowWindowPos2fv(GPWINDOWPOS2FV fnptr, const GLfloat * v) { -// (*fnptr)(v); -// } -// static void glowWindowPos2fvARB(GPWINDOWPOS2FVARB fnptr, const GLfloat * v) { -// (*fnptr)(v); -// } -// static void glowWindowPos2fvMESA(GPWINDOWPOS2FVMESA fnptr, const GLfloat * v) { -// (*fnptr)(v); -// } -// static void glowWindowPos2i(GPWINDOWPOS2I fnptr, GLint x, GLint y) { -// (*fnptr)(x, y); -// } -// static void glowWindowPos2iARB(GPWINDOWPOS2IARB fnptr, GLint x, GLint y) { -// (*fnptr)(x, y); -// } -// static void glowWindowPos2iMESA(GPWINDOWPOS2IMESA fnptr, GLint x, GLint y) { -// (*fnptr)(x, y); -// } -// static void glowWindowPos2iv(GPWINDOWPOS2IV fnptr, const GLint * v) { -// (*fnptr)(v); -// } -// static void glowWindowPos2ivARB(GPWINDOWPOS2IVARB fnptr, const GLint * v) { -// (*fnptr)(v); -// } -// static void glowWindowPos2ivMESA(GPWINDOWPOS2IVMESA fnptr, const GLint * v) { -// (*fnptr)(v); -// } -// static void glowWindowPos2s(GPWINDOWPOS2S fnptr, GLshort x, GLshort y) { -// (*fnptr)(x, y); -// } -// static void glowWindowPos2sARB(GPWINDOWPOS2SARB fnptr, GLshort x, GLshort y) { -// (*fnptr)(x, y); -// } -// static void glowWindowPos2sMESA(GPWINDOWPOS2SMESA fnptr, GLshort x, GLshort y) { -// (*fnptr)(x, y); -// } -// static void glowWindowPos2sv(GPWINDOWPOS2SV fnptr, const GLshort * v) { -// (*fnptr)(v); -// } -// static void glowWindowPos2svARB(GPWINDOWPOS2SVARB fnptr, const GLshort * v) { -// (*fnptr)(v); -// } -// static void glowWindowPos2svMESA(GPWINDOWPOS2SVMESA fnptr, const GLshort * v) { -// (*fnptr)(v); -// } -// static void glowWindowPos3d(GPWINDOWPOS3D fnptr, GLdouble x, GLdouble y, GLdouble z) { -// (*fnptr)(x, y, z); -// } -// static void glowWindowPos3dARB(GPWINDOWPOS3DARB fnptr, GLdouble x, GLdouble y, GLdouble z) { -// (*fnptr)(x, y, z); -// } -// static void glowWindowPos3dMESA(GPWINDOWPOS3DMESA fnptr, GLdouble x, GLdouble y, GLdouble z) { -// (*fnptr)(x, y, z); -// } -// static void glowWindowPos3dv(GPWINDOWPOS3DV fnptr, const GLdouble * v) { -// (*fnptr)(v); -// } -// static void glowWindowPos3dvARB(GPWINDOWPOS3DVARB fnptr, const GLdouble * v) { -// (*fnptr)(v); -// } -// static void glowWindowPos3dvMESA(GPWINDOWPOS3DVMESA fnptr, const GLdouble * v) { -// (*fnptr)(v); -// } -// static void glowWindowPos3f(GPWINDOWPOS3F fnptr, GLfloat x, GLfloat y, GLfloat z) { -// (*fnptr)(x, y, z); -// } -// static void glowWindowPos3fARB(GPWINDOWPOS3FARB fnptr, GLfloat x, GLfloat y, GLfloat z) { -// (*fnptr)(x, y, z); -// } -// static void glowWindowPos3fMESA(GPWINDOWPOS3FMESA fnptr, GLfloat x, GLfloat y, GLfloat z) { -// (*fnptr)(x, y, z); -// } -// static void glowWindowPos3fv(GPWINDOWPOS3FV fnptr, const GLfloat * v) { -// (*fnptr)(v); -// } -// static void glowWindowPos3fvARB(GPWINDOWPOS3FVARB fnptr, const GLfloat * v) { -// (*fnptr)(v); -// } -// static void glowWindowPos3fvMESA(GPWINDOWPOS3FVMESA fnptr, const GLfloat * v) { -// (*fnptr)(v); -// } -// static void glowWindowPos3i(GPWINDOWPOS3I fnptr, GLint x, GLint y, GLint z) { -// (*fnptr)(x, y, z); -// } -// static void glowWindowPos3iARB(GPWINDOWPOS3IARB fnptr, GLint x, GLint y, GLint z) { -// (*fnptr)(x, y, z); -// } -// static void glowWindowPos3iMESA(GPWINDOWPOS3IMESA fnptr, GLint x, GLint y, GLint z) { -// (*fnptr)(x, y, z); -// } -// static void glowWindowPos3iv(GPWINDOWPOS3IV fnptr, const GLint * v) { -// (*fnptr)(v); -// } -// static void glowWindowPos3ivARB(GPWINDOWPOS3IVARB fnptr, const GLint * v) { -// (*fnptr)(v); -// } -// static void glowWindowPos3ivMESA(GPWINDOWPOS3IVMESA fnptr, const GLint * v) { -// (*fnptr)(v); -// } -// static void glowWindowPos3s(GPWINDOWPOS3S fnptr, GLshort x, GLshort y, GLshort z) { -// (*fnptr)(x, y, z); -// } -// static void glowWindowPos3sARB(GPWINDOWPOS3SARB fnptr, GLshort x, GLshort y, GLshort z) { -// (*fnptr)(x, y, z); -// } -// static void glowWindowPos3sMESA(GPWINDOWPOS3SMESA fnptr, GLshort x, GLshort y, GLshort z) { -// (*fnptr)(x, y, z); -// } -// static void glowWindowPos3sv(GPWINDOWPOS3SV fnptr, const GLshort * v) { -// (*fnptr)(v); -// } -// static void glowWindowPos3svARB(GPWINDOWPOS3SVARB fnptr, const GLshort * v) { -// (*fnptr)(v); -// } -// static void glowWindowPos3svMESA(GPWINDOWPOS3SVMESA fnptr, const GLshort * v) { -// (*fnptr)(v); -// } -// static void glowWindowPos4dMESA(GPWINDOWPOS4DMESA fnptr, GLdouble x, GLdouble y, GLdouble z, GLdouble w) { -// (*fnptr)(x, y, z, w); -// } -// static void glowWindowPos4dvMESA(GPWINDOWPOS4DVMESA fnptr, const GLdouble * v) { -// (*fnptr)(v); -// } -// static void glowWindowPos4fMESA(GPWINDOWPOS4FMESA fnptr, GLfloat x, GLfloat y, GLfloat z, GLfloat w) { -// (*fnptr)(x, y, z, w); -// } -// static void glowWindowPos4fvMESA(GPWINDOWPOS4FVMESA fnptr, const GLfloat * v) { -// (*fnptr)(v); -// } -// static void glowWindowPos4iMESA(GPWINDOWPOS4IMESA fnptr, GLint x, GLint y, GLint z, GLint w) { -// (*fnptr)(x, y, z, w); -// } -// static void glowWindowPos4ivMESA(GPWINDOWPOS4IVMESA fnptr, const GLint * v) { -// (*fnptr)(v); -// } -// static void glowWindowPos4sMESA(GPWINDOWPOS4SMESA fnptr, GLshort x, GLshort y, GLshort z, GLshort w) { -// (*fnptr)(x, y, z, w); -// } -// static void glowWindowPos4svMESA(GPWINDOWPOS4SVMESA fnptr, const GLshort * v) { -// (*fnptr)(v); -// } -// static void glowWindowRectanglesEXT(GPWINDOWRECTANGLESEXT fnptr, GLenum mode, GLsizei count, const GLint * box) { -// (*fnptr)(mode, count, box); -// } -// static void glowWriteMaskEXT(GPWRITEMASKEXT fnptr, GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW) { -// (*fnptr)(res, in, outX, outY, outZ, outW); -// } import "C" import ( "errors" @@ -11267,2798 +359,70 @@ import ( ) var ( - gpAccum C.GPACCUM - gpAccumxOES C.GPACCUMXOES - gpAcquireKeyedMutexWin32EXT C.GPACQUIREKEYEDMUTEXWIN32EXT - gpActiveProgramEXT C.GPACTIVEPROGRAMEXT - gpActiveShaderProgram C.GPACTIVESHADERPROGRAM - gpActiveShaderProgramEXT C.GPACTIVESHADERPROGRAMEXT - gpActiveStencilFaceEXT C.GPACTIVESTENCILFACEEXT - gpActiveTexture C.GPACTIVETEXTURE - gpActiveTextureARB C.GPACTIVETEXTUREARB - gpActiveVaryingNV C.GPACTIVEVARYINGNV - gpAlphaFragmentOp1ATI C.GPALPHAFRAGMENTOP1ATI - gpAlphaFragmentOp2ATI C.GPALPHAFRAGMENTOP2ATI - gpAlphaFragmentOp3ATI C.GPALPHAFRAGMENTOP3ATI - gpAlphaFunc C.GPALPHAFUNC - gpAlphaFuncxOES C.GPALPHAFUNCXOES - gpAlphaToCoverageDitherControlNV C.GPALPHATOCOVERAGEDITHERCONTROLNV - gpApplyFramebufferAttachmentCMAAINTEL C.GPAPPLYFRAMEBUFFERATTACHMENTCMAAINTEL - gpApplyTextureEXT C.GPAPPLYTEXTUREEXT - gpAreProgramsResidentNV C.GPAREPROGRAMSRESIDENTNV - gpAreTexturesResident C.GPARETEXTURESRESIDENT - gpAreTexturesResidentEXT C.GPARETEXTURESRESIDENTEXT - gpArrayElement C.GPARRAYELEMENT - gpArrayElementEXT C.GPARRAYELEMENTEXT - gpArrayObjectATI C.GPARRAYOBJECTATI - gpAsyncMarkerSGIX C.GPASYNCMARKERSGIX - gpAttachObjectARB C.GPATTACHOBJECTARB - gpAttachShader C.GPATTACHSHADER - gpBegin C.GPBEGIN - gpBeginConditionalRenderNV C.GPBEGINCONDITIONALRENDERNV - gpBeginConditionalRenderNVX C.GPBEGINCONDITIONALRENDERNVX - gpBeginFragmentShaderATI C.GPBEGINFRAGMENTSHADERATI - gpBeginOcclusionQueryNV C.GPBEGINOCCLUSIONQUERYNV - gpBeginPerfMonitorAMD C.GPBEGINPERFMONITORAMD - gpBeginPerfQueryINTEL C.GPBEGINPERFQUERYINTEL - gpBeginQuery C.GPBEGINQUERY - gpBeginQueryARB C.GPBEGINQUERYARB - gpBeginQueryIndexed C.GPBEGINQUERYINDEXED - gpBeginTransformFeedbackEXT C.GPBEGINTRANSFORMFEEDBACKEXT - gpBeginTransformFeedbackNV C.GPBEGINTRANSFORMFEEDBACKNV - gpBeginVertexShaderEXT C.GPBEGINVERTEXSHADEREXT - gpBeginVideoCaptureNV C.GPBEGINVIDEOCAPTURENV - gpBindAttribLocation C.GPBINDATTRIBLOCATION - gpBindAttribLocationARB C.GPBINDATTRIBLOCATIONARB - gpBindBuffer C.GPBINDBUFFER - gpBindBufferARB C.GPBINDBUFFERARB - gpBindBufferBase C.GPBINDBUFFERBASE - gpBindBufferBaseEXT C.GPBINDBUFFERBASEEXT - gpBindBufferBaseNV C.GPBINDBUFFERBASENV - gpBindBufferOffsetEXT C.GPBINDBUFFEROFFSETEXT - gpBindBufferOffsetNV C.GPBINDBUFFEROFFSETNV - gpBindBufferRange C.GPBINDBUFFERRANGE - gpBindBufferRangeEXT C.GPBINDBUFFERRANGEEXT - gpBindBufferRangeNV C.GPBINDBUFFERRANGENV - gpBindBuffersBase C.GPBINDBUFFERSBASE - gpBindBuffersRange C.GPBINDBUFFERSRANGE - gpBindFragDataLocationEXT C.GPBINDFRAGDATALOCATIONEXT - gpBindFragDataLocationIndexed C.GPBINDFRAGDATALOCATIONINDEXED - gpBindFragmentShaderATI C.GPBINDFRAGMENTSHADERATI - gpBindFramebuffer C.GPBINDFRAMEBUFFER - gpBindFramebufferEXT C.GPBINDFRAMEBUFFEREXT - gpBindImageTexture C.GPBINDIMAGETEXTURE - gpBindImageTextureEXT C.GPBINDIMAGETEXTUREEXT - gpBindImageTextures C.GPBINDIMAGETEXTURES - gpBindLightParameterEXT C.GPBINDLIGHTPARAMETEREXT - gpBindMaterialParameterEXT C.GPBINDMATERIALPARAMETEREXT - gpBindMultiTextureEXT C.GPBINDMULTITEXTUREEXT - gpBindParameterEXT C.GPBINDPARAMETEREXT - gpBindProgramARB C.GPBINDPROGRAMARB - gpBindProgramNV C.GPBINDPROGRAMNV - gpBindProgramPipeline C.GPBINDPROGRAMPIPELINE - gpBindProgramPipelineEXT C.GPBINDPROGRAMPIPELINEEXT - gpBindRenderbuffer C.GPBINDRENDERBUFFER - gpBindRenderbufferEXT C.GPBINDRENDERBUFFEREXT - gpBindSampler C.GPBINDSAMPLER - gpBindSamplers C.GPBINDSAMPLERS - gpBindTexGenParameterEXT C.GPBINDTEXGENPARAMETEREXT - gpBindTexture C.GPBINDTEXTURE - gpBindTextureEXT C.GPBINDTEXTUREEXT - gpBindTextureUnit C.GPBINDTEXTUREUNIT - gpBindTextureUnitParameterEXT C.GPBINDTEXTUREUNITPARAMETEREXT - gpBindTextures C.GPBINDTEXTURES - gpBindTransformFeedback C.GPBINDTRANSFORMFEEDBACK - gpBindTransformFeedbackNV C.GPBINDTRANSFORMFEEDBACKNV - gpBindVertexArray C.GPBINDVERTEXARRAY - gpBindVertexArrayAPPLE C.GPBINDVERTEXARRAYAPPLE - gpBindVertexBuffer C.GPBINDVERTEXBUFFER - gpBindVertexBuffers C.GPBINDVERTEXBUFFERS - gpBindVertexShaderEXT C.GPBINDVERTEXSHADEREXT - gpBindVideoCaptureStreamBufferNV C.GPBINDVIDEOCAPTURESTREAMBUFFERNV - gpBindVideoCaptureStreamTextureNV C.GPBINDVIDEOCAPTURESTREAMTEXTURENV - gpBinormal3bEXT C.GPBINORMAL3BEXT - gpBinormal3bvEXT C.GPBINORMAL3BVEXT - gpBinormal3dEXT C.GPBINORMAL3DEXT - gpBinormal3dvEXT C.GPBINORMAL3DVEXT - gpBinormal3fEXT C.GPBINORMAL3FEXT - gpBinormal3fvEXT C.GPBINORMAL3FVEXT - gpBinormal3iEXT C.GPBINORMAL3IEXT - gpBinormal3ivEXT C.GPBINORMAL3IVEXT - gpBinormal3sEXT C.GPBINORMAL3SEXT - gpBinormal3svEXT C.GPBINORMAL3SVEXT - gpBinormalPointerEXT C.GPBINORMALPOINTEREXT - gpBitmap C.GPBITMAP - gpBitmapxOES C.GPBITMAPXOES - gpBlendBarrierKHR C.GPBLENDBARRIERKHR - gpBlendBarrierNV C.GPBLENDBARRIERNV - gpBlendColor C.GPBLENDCOLOR - gpBlendColorEXT C.GPBLENDCOLOREXT - gpBlendColorxOES C.GPBLENDCOLORXOES - gpBlendEquation C.GPBLENDEQUATION - gpBlendEquationEXT C.GPBLENDEQUATIONEXT - gpBlendEquationIndexedAMD C.GPBLENDEQUATIONINDEXEDAMD - gpBlendEquationSeparate C.GPBLENDEQUATIONSEPARATE - gpBlendEquationSeparateEXT C.GPBLENDEQUATIONSEPARATEEXT - gpBlendEquationSeparateIndexedAMD C.GPBLENDEQUATIONSEPARATEINDEXEDAMD - gpBlendEquationSeparateiARB C.GPBLENDEQUATIONSEPARATEIARB - gpBlendEquationiARB C.GPBLENDEQUATIONIARB - gpBlendFunc C.GPBLENDFUNC - gpBlendFuncIndexedAMD C.GPBLENDFUNCINDEXEDAMD - gpBlendFuncSeparate C.GPBLENDFUNCSEPARATE - gpBlendFuncSeparateEXT C.GPBLENDFUNCSEPARATEEXT - gpBlendFuncSeparateINGR C.GPBLENDFUNCSEPARATEINGR - gpBlendFuncSeparateIndexedAMD C.GPBLENDFUNCSEPARATEINDEXEDAMD - gpBlendFuncSeparateiARB C.GPBLENDFUNCSEPARATEIARB - gpBlendFunciARB C.GPBLENDFUNCIARB - gpBlendParameteriNV C.GPBLENDPARAMETERINV - gpBlitFramebuffer C.GPBLITFRAMEBUFFER - gpBlitFramebufferEXT C.GPBLITFRAMEBUFFEREXT - gpBlitNamedFramebuffer C.GPBLITNAMEDFRAMEBUFFER - gpBufferAddressRangeNV C.GPBUFFERADDRESSRANGENV - gpBufferData C.GPBUFFERDATA - gpBufferDataARB C.GPBUFFERDATAARB - gpBufferPageCommitmentARB C.GPBUFFERPAGECOMMITMENTARB - gpBufferParameteriAPPLE C.GPBUFFERPARAMETERIAPPLE - gpBufferStorage C.GPBUFFERSTORAGE - gpBufferStorageExternalEXT C.GPBUFFERSTORAGEEXTERNALEXT - gpBufferStorageMemEXT C.GPBUFFERSTORAGEMEMEXT - gpBufferSubData C.GPBUFFERSUBDATA - gpBufferSubDataARB C.GPBUFFERSUBDATAARB - gpCallCommandListNV C.GPCALLCOMMANDLISTNV - gpCallList C.GPCALLLIST - gpCallLists C.GPCALLLISTS - gpCheckFramebufferStatus C.GPCHECKFRAMEBUFFERSTATUS - gpCheckFramebufferStatusEXT C.GPCHECKFRAMEBUFFERSTATUSEXT - gpCheckNamedFramebufferStatus C.GPCHECKNAMEDFRAMEBUFFERSTATUS - gpCheckNamedFramebufferStatusEXT C.GPCHECKNAMEDFRAMEBUFFERSTATUSEXT - gpClampColorARB C.GPCLAMPCOLORARB - gpClear C.GPCLEAR - gpClearAccum C.GPCLEARACCUM - gpClearAccumxOES C.GPCLEARACCUMXOES - gpClearBufferData C.GPCLEARBUFFERDATA - gpClearBufferSubData C.GPCLEARBUFFERSUBDATA - gpClearColor C.GPCLEARCOLOR - gpClearColorIiEXT C.GPCLEARCOLORIIEXT - gpClearColorIuiEXT C.GPCLEARCOLORIUIEXT - gpClearColorxOES C.GPCLEARCOLORXOES - gpClearDepth C.GPCLEARDEPTH - gpClearDepthdNV C.GPCLEARDEPTHDNV - gpClearDepthf C.GPCLEARDEPTHF - gpClearDepthfOES C.GPCLEARDEPTHFOES - gpClearDepthxOES C.GPCLEARDEPTHXOES - gpClearIndex C.GPCLEARINDEX - gpClearNamedBufferData C.GPCLEARNAMEDBUFFERDATA - gpClearNamedBufferDataEXT C.GPCLEARNAMEDBUFFERDATAEXT - gpClearNamedBufferSubData C.GPCLEARNAMEDBUFFERSUBDATA - gpClearNamedBufferSubDataEXT C.GPCLEARNAMEDBUFFERSUBDATAEXT - gpClearNamedFramebufferfi C.GPCLEARNAMEDFRAMEBUFFERFI - gpClearNamedFramebufferfv C.GPCLEARNAMEDFRAMEBUFFERFV - gpClearNamedFramebufferiv C.GPCLEARNAMEDFRAMEBUFFERIV - gpClearNamedFramebufferuiv C.GPCLEARNAMEDFRAMEBUFFERUIV - gpClearStencil C.GPCLEARSTENCIL - gpClearTexImage C.GPCLEARTEXIMAGE - gpClearTexSubImage C.GPCLEARTEXSUBIMAGE - gpClientActiveTexture C.GPCLIENTACTIVETEXTURE - gpClientActiveTextureARB C.GPCLIENTACTIVETEXTUREARB - gpClientActiveVertexStreamATI C.GPCLIENTACTIVEVERTEXSTREAMATI - gpClientAttribDefaultEXT C.GPCLIENTATTRIBDEFAULTEXT - gpClientWaitSync C.GPCLIENTWAITSYNC - gpClipControl C.GPCLIPCONTROL - gpClipPlane C.GPCLIPPLANE - gpClipPlanefOES C.GPCLIPPLANEFOES - gpClipPlanexOES C.GPCLIPPLANEXOES - gpColor3b C.GPCOLOR3B - gpColor3bv C.GPCOLOR3BV - gpColor3d C.GPCOLOR3D - gpColor3dv C.GPCOLOR3DV - gpColor3f C.GPCOLOR3F - gpColor3fVertex3fSUN C.GPCOLOR3FVERTEX3FSUN - gpColor3fVertex3fvSUN C.GPCOLOR3FVERTEX3FVSUN - gpColor3fv C.GPCOLOR3FV - gpColor3hNV C.GPCOLOR3HNV - gpColor3hvNV C.GPCOLOR3HVNV - gpColor3i C.GPCOLOR3I - gpColor3iv C.GPCOLOR3IV - gpColor3s C.GPCOLOR3S - gpColor3sv C.GPCOLOR3SV - gpColor3ub C.GPCOLOR3UB - gpColor3ubv C.GPCOLOR3UBV - gpColor3ui C.GPCOLOR3UI - gpColor3uiv C.GPCOLOR3UIV - gpColor3us C.GPCOLOR3US - gpColor3usv C.GPCOLOR3USV - gpColor3xOES C.GPCOLOR3XOES - gpColor3xvOES C.GPCOLOR3XVOES - gpColor4b C.GPCOLOR4B - gpColor4bv C.GPCOLOR4BV - gpColor4d C.GPCOLOR4D - gpColor4dv C.GPCOLOR4DV - gpColor4f C.GPCOLOR4F - gpColor4fNormal3fVertex3fSUN C.GPCOLOR4FNORMAL3FVERTEX3FSUN - gpColor4fNormal3fVertex3fvSUN C.GPCOLOR4FNORMAL3FVERTEX3FVSUN - gpColor4fv C.GPCOLOR4FV - gpColor4hNV C.GPCOLOR4HNV - gpColor4hvNV C.GPCOLOR4HVNV - gpColor4i C.GPCOLOR4I - gpColor4iv C.GPCOLOR4IV - gpColor4s C.GPCOLOR4S - gpColor4sv C.GPCOLOR4SV - gpColor4ub C.GPCOLOR4UB - gpColor4ubVertex2fSUN C.GPCOLOR4UBVERTEX2FSUN - gpColor4ubVertex2fvSUN C.GPCOLOR4UBVERTEX2FVSUN - gpColor4ubVertex3fSUN C.GPCOLOR4UBVERTEX3FSUN - gpColor4ubVertex3fvSUN C.GPCOLOR4UBVERTEX3FVSUN - gpColor4ubv C.GPCOLOR4UBV - gpColor4ui C.GPCOLOR4UI - gpColor4uiv C.GPCOLOR4UIV - gpColor4us C.GPCOLOR4US - gpColor4usv C.GPCOLOR4USV - gpColor4xOES C.GPCOLOR4XOES - gpColor4xvOES C.GPCOLOR4XVOES - gpColorFormatNV C.GPCOLORFORMATNV - gpColorFragmentOp1ATI C.GPCOLORFRAGMENTOP1ATI - gpColorFragmentOp2ATI C.GPCOLORFRAGMENTOP2ATI - gpColorFragmentOp3ATI C.GPCOLORFRAGMENTOP3ATI - gpColorMask C.GPCOLORMASK - gpColorMaskIndexedEXT C.GPCOLORMASKINDEXEDEXT - gpColorMaterial C.GPCOLORMATERIAL - gpColorPointer C.GPCOLORPOINTER - gpColorPointerEXT C.GPCOLORPOINTEREXT - gpColorPointerListIBM C.GPCOLORPOINTERLISTIBM - gpColorPointervINTEL C.GPCOLORPOINTERVINTEL - gpColorSubTableEXT C.GPCOLORSUBTABLEEXT - gpColorTableEXT C.GPCOLORTABLEEXT - gpColorTableParameterfvSGI C.GPCOLORTABLEPARAMETERFVSGI - gpColorTableParameterivSGI C.GPCOLORTABLEPARAMETERIVSGI - gpColorTableSGI C.GPCOLORTABLESGI - gpCombinerInputNV C.GPCOMBINERINPUTNV - gpCombinerOutputNV C.GPCOMBINEROUTPUTNV - gpCombinerParameterfNV C.GPCOMBINERPARAMETERFNV - gpCombinerParameterfvNV C.GPCOMBINERPARAMETERFVNV - gpCombinerParameteriNV C.GPCOMBINERPARAMETERINV - gpCombinerParameterivNV C.GPCOMBINERPARAMETERIVNV - gpCombinerStageParameterfvNV C.GPCOMBINERSTAGEPARAMETERFVNV - gpCommandListSegmentsNV C.GPCOMMANDLISTSEGMENTSNV - gpCompileCommandListNV C.GPCOMPILECOMMANDLISTNV - gpCompileShader C.GPCOMPILESHADER - gpCompileShaderARB C.GPCOMPILESHADERARB - gpCompileShaderIncludeARB C.GPCOMPILESHADERINCLUDEARB - gpCompressedMultiTexImage1DEXT C.GPCOMPRESSEDMULTITEXIMAGE1DEXT - gpCompressedMultiTexImage2DEXT C.GPCOMPRESSEDMULTITEXIMAGE2DEXT - gpCompressedMultiTexImage3DEXT C.GPCOMPRESSEDMULTITEXIMAGE3DEXT - gpCompressedMultiTexSubImage1DEXT C.GPCOMPRESSEDMULTITEXSUBIMAGE1DEXT - gpCompressedMultiTexSubImage2DEXT C.GPCOMPRESSEDMULTITEXSUBIMAGE2DEXT - gpCompressedMultiTexSubImage3DEXT C.GPCOMPRESSEDMULTITEXSUBIMAGE3DEXT - gpCompressedTexImage1D C.GPCOMPRESSEDTEXIMAGE1D - gpCompressedTexImage1DARB C.GPCOMPRESSEDTEXIMAGE1DARB - gpCompressedTexImage2D C.GPCOMPRESSEDTEXIMAGE2D - gpCompressedTexImage2DARB C.GPCOMPRESSEDTEXIMAGE2DARB - gpCompressedTexImage3D C.GPCOMPRESSEDTEXIMAGE3D - gpCompressedTexImage3DARB C.GPCOMPRESSEDTEXIMAGE3DARB - gpCompressedTexSubImage1D C.GPCOMPRESSEDTEXSUBIMAGE1D - gpCompressedTexSubImage1DARB C.GPCOMPRESSEDTEXSUBIMAGE1DARB - gpCompressedTexSubImage2D C.GPCOMPRESSEDTEXSUBIMAGE2D - gpCompressedTexSubImage2DARB C.GPCOMPRESSEDTEXSUBIMAGE2DARB - gpCompressedTexSubImage3D C.GPCOMPRESSEDTEXSUBIMAGE3D - gpCompressedTexSubImage3DARB C.GPCOMPRESSEDTEXSUBIMAGE3DARB - gpCompressedTextureImage1DEXT C.GPCOMPRESSEDTEXTUREIMAGE1DEXT - gpCompressedTextureImage2DEXT C.GPCOMPRESSEDTEXTUREIMAGE2DEXT - gpCompressedTextureImage3DEXT C.GPCOMPRESSEDTEXTUREIMAGE3DEXT - gpCompressedTextureSubImage1D C.GPCOMPRESSEDTEXTURESUBIMAGE1D - gpCompressedTextureSubImage1DEXT C.GPCOMPRESSEDTEXTURESUBIMAGE1DEXT - gpCompressedTextureSubImage2D C.GPCOMPRESSEDTEXTURESUBIMAGE2D - gpCompressedTextureSubImage2DEXT C.GPCOMPRESSEDTEXTURESUBIMAGE2DEXT - gpCompressedTextureSubImage3D C.GPCOMPRESSEDTEXTURESUBIMAGE3D - gpCompressedTextureSubImage3DEXT C.GPCOMPRESSEDTEXTURESUBIMAGE3DEXT - gpConservativeRasterParameterfNV C.GPCONSERVATIVERASTERPARAMETERFNV - gpConservativeRasterParameteriNV C.GPCONSERVATIVERASTERPARAMETERINV - gpConvolutionFilter1DEXT C.GPCONVOLUTIONFILTER1DEXT - gpConvolutionFilter2DEXT C.GPCONVOLUTIONFILTER2DEXT - gpConvolutionParameterfEXT C.GPCONVOLUTIONPARAMETERFEXT - gpConvolutionParameterfvEXT C.GPCONVOLUTIONPARAMETERFVEXT - gpConvolutionParameteriEXT C.GPCONVOLUTIONPARAMETERIEXT - gpConvolutionParameterivEXT C.GPCONVOLUTIONPARAMETERIVEXT - gpConvolutionParameterxOES C.GPCONVOLUTIONPARAMETERXOES - gpConvolutionParameterxvOES C.GPCONVOLUTIONPARAMETERXVOES - gpCopyBufferSubData C.GPCOPYBUFFERSUBDATA - gpCopyColorSubTableEXT C.GPCOPYCOLORSUBTABLEEXT - gpCopyColorTableSGI C.GPCOPYCOLORTABLESGI - gpCopyConvolutionFilter1DEXT C.GPCOPYCONVOLUTIONFILTER1DEXT - gpCopyConvolutionFilter2DEXT C.GPCOPYCONVOLUTIONFILTER2DEXT - gpCopyImageSubData C.GPCOPYIMAGESUBDATA - gpCopyImageSubDataNV C.GPCOPYIMAGESUBDATANV - gpCopyMultiTexImage1DEXT C.GPCOPYMULTITEXIMAGE1DEXT - gpCopyMultiTexImage2DEXT C.GPCOPYMULTITEXIMAGE2DEXT - gpCopyMultiTexSubImage1DEXT C.GPCOPYMULTITEXSUBIMAGE1DEXT - gpCopyMultiTexSubImage2DEXT C.GPCOPYMULTITEXSUBIMAGE2DEXT - gpCopyMultiTexSubImage3DEXT C.GPCOPYMULTITEXSUBIMAGE3DEXT - gpCopyNamedBufferSubData C.GPCOPYNAMEDBUFFERSUBDATA - gpCopyPathNV C.GPCOPYPATHNV - gpCopyPixels C.GPCOPYPIXELS - gpCopyTexImage1D C.GPCOPYTEXIMAGE1D - gpCopyTexImage1DEXT C.GPCOPYTEXIMAGE1DEXT - gpCopyTexImage2D C.GPCOPYTEXIMAGE2D - gpCopyTexImage2DEXT C.GPCOPYTEXIMAGE2DEXT - gpCopyTexSubImage1D C.GPCOPYTEXSUBIMAGE1D - gpCopyTexSubImage1DEXT C.GPCOPYTEXSUBIMAGE1DEXT - gpCopyTexSubImage2D C.GPCOPYTEXSUBIMAGE2D - gpCopyTexSubImage2DEXT C.GPCOPYTEXSUBIMAGE2DEXT - gpCopyTexSubImage3D C.GPCOPYTEXSUBIMAGE3D - gpCopyTexSubImage3DEXT C.GPCOPYTEXSUBIMAGE3DEXT - gpCopyTextureImage1DEXT C.GPCOPYTEXTUREIMAGE1DEXT - gpCopyTextureImage2DEXT C.GPCOPYTEXTUREIMAGE2DEXT - gpCopyTextureSubImage1D C.GPCOPYTEXTURESUBIMAGE1D - gpCopyTextureSubImage1DEXT C.GPCOPYTEXTURESUBIMAGE1DEXT - gpCopyTextureSubImage2D C.GPCOPYTEXTURESUBIMAGE2D - gpCopyTextureSubImage2DEXT C.GPCOPYTEXTURESUBIMAGE2DEXT - gpCopyTextureSubImage3D C.GPCOPYTEXTURESUBIMAGE3D - gpCopyTextureSubImage3DEXT C.GPCOPYTEXTURESUBIMAGE3DEXT - gpCoverFillPathInstancedNV C.GPCOVERFILLPATHINSTANCEDNV - gpCoverFillPathNV C.GPCOVERFILLPATHNV - gpCoverStrokePathInstancedNV C.GPCOVERSTROKEPATHINSTANCEDNV - gpCoverStrokePathNV C.GPCOVERSTROKEPATHNV - gpCoverageModulationNV C.GPCOVERAGEMODULATIONNV - gpCoverageModulationTableNV C.GPCOVERAGEMODULATIONTABLENV - gpCreateBuffers C.GPCREATEBUFFERS - gpCreateCommandListsNV C.GPCREATECOMMANDLISTSNV - gpCreateFramebuffers C.GPCREATEFRAMEBUFFERS - gpCreateMemoryObjectsEXT C.GPCREATEMEMORYOBJECTSEXT - gpCreatePerfQueryINTEL C.GPCREATEPERFQUERYINTEL - gpCreateProgram C.GPCREATEPROGRAM - gpCreateProgramObjectARB C.GPCREATEPROGRAMOBJECTARB - gpCreateProgramPipelines C.GPCREATEPROGRAMPIPELINES - gpCreateQueries C.GPCREATEQUERIES - gpCreateRenderbuffers C.GPCREATERENDERBUFFERS - gpCreateSamplers C.GPCREATESAMPLERS - gpCreateShader C.GPCREATESHADER - gpCreateShaderObjectARB C.GPCREATESHADEROBJECTARB - gpCreateShaderProgramEXT C.GPCREATESHADERPROGRAMEXT - gpCreateShaderProgramv C.GPCREATESHADERPROGRAMV - gpCreateShaderProgramvEXT C.GPCREATESHADERPROGRAMVEXT - gpCreateStatesNV C.GPCREATESTATESNV - gpCreateSyncFromCLeventARB C.GPCREATESYNCFROMCLEVENTARB - gpCreateTextures C.GPCREATETEXTURES - gpCreateTransformFeedbacks C.GPCREATETRANSFORMFEEDBACKS - gpCreateVertexArrays C.GPCREATEVERTEXARRAYS - gpCullFace C.GPCULLFACE - gpCullParameterdvEXT C.GPCULLPARAMETERDVEXT - gpCullParameterfvEXT C.GPCULLPARAMETERFVEXT - gpCurrentPaletteMatrixARB C.GPCURRENTPALETTEMATRIXARB - gpDebugMessageCallback C.GPDEBUGMESSAGECALLBACK - gpDebugMessageCallbackAMD C.GPDEBUGMESSAGECALLBACKAMD - gpDebugMessageCallbackARB C.GPDEBUGMESSAGECALLBACKARB - gpDebugMessageCallbackKHR C.GPDEBUGMESSAGECALLBACKKHR - gpDebugMessageControl C.GPDEBUGMESSAGECONTROL - gpDebugMessageControlARB C.GPDEBUGMESSAGECONTROLARB - gpDebugMessageControlKHR C.GPDEBUGMESSAGECONTROLKHR - gpDebugMessageEnableAMD C.GPDEBUGMESSAGEENABLEAMD - gpDebugMessageInsert C.GPDEBUGMESSAGEINSERT - gpDebugMessageInsertAMD C.GPDEBUGMESSAGEINSERTAMD - gpDebugMessageInsertARB C.GPDEBUGMESSAGEINSERTARB - gpDebugMessageInsertKHR C.GPDEBUGMESSAGEINSERTKHR - gpDeformSGIX C.GPDEFORMSGIX - gpDeformationMap3dSGIX C.GPDEFORMATIONMAP3DSGIX - gpDeformationMap3fSGIX C.GPDEFORMATIONMAP3FSGIX - gpDeleteAsyncMarkersSGIX C.GPDELETEASYNCMARKERSSGIX - gpDeleteBuffers C.GPDELETEBUFFERS - gpDeleteBuffersARB C.GPDELETEBUFFERSARB - gpDeleteCommandListsNV C.GPDELETECOMMANDLISTSNV - gpDeleteFencesAPPLE C.GPDELETEFENCESAPPLE - gpDeleteFencesNV C.GPDELETEFENCESNV - gpDeleteFragmentShaderATI C.GPDELETEFRAGMENTSHADERATI - gpDeleteFramebuffers C.GPDELETEFRAMEBUFFERS - gpDeleteFramebuffersEXT C.GPDELETEFRAMEBUFFERSEXT - gpDeleteLists C.GPDELETELISTS - gpDeleteMemoryObjectsEXT C.GPDELETEMEMORYOBJECTSEXT - gpDeleteNamedStringARB C.GPDELETENAMEDSTRINGARB - gpDeleteNamesAMD C.GPDELETENAMESAMD - gpDeleteObjectARB C.GPDELETEOBJECTARB - gpDeleteOcclusionQueriesNV C.GPDELETEOCCLUSIONQUERIESNV - gpDeletePathsNV C.GPDELETEPATHSNV - gpDeletePerfMonitorsAMD C.GPDELETEPERFMONITORSAMD - gpDeletePerfQueryINTEL C.GPDELETEPERFQUERYINTEL - gpDeleteProgram C.GPDELETEPROGRAM - gpDeleteProgramPipelines C.GPDELETEPROGRAMPIPELINES - gpDeleteProgramPipelinesEXT C.GPDELETEPROGRAMPIPELINESEXT - gpDeleteProgramsARB C.GPDELETEPROGRAMSARB - gpDeleteProgramsNV C.GPDELETEPROGRAMSNV - gpDeleteQueries C.GPDELETEQUERIES - gpDeleteQueriesARB C.GPDELETEQUERIESARB - gpDeleteQueryResourceTagNV C.GPDELETEQUERYRESOURCETAGNV - gpDeleteRenderbuffers C.GPDELETERENDERBUFFERS - gpDeleteRenderbuffersEXT C.GPDELETERENDERBUFFERSEXT - gpDeleteSamplers C.GPDELETESAMPLERS - gpDeleteSemaphoresEXT C.GPDELETESEMAPHORESEXT - gpDeleteShader C.GPDELETESHADER - gpDeleteStatesNV C.GPDELETESTATESNV - gpDeleteSync C.GPDELETESYNC - gpDeleteTextures C.GPDELETETEXTURES - gpDeleteTexturesEXT C.GPDELETETEXTURESEXT - gpDeleteTransformFeedbacks C.GPDELETETRANSFORMFEEDBACKS - gpDeleteTransformFeedbacksNV C.GPDELETETRANSFORMFEEDBACKSNV - gpDeleteVertexArrays C.GPDELETEVERTEXARRAYS - gpDeleteVertexArraysAPPLE C.GPDELETEVERTEXARRAYSAPPLE - gpDeleteVertexShaderEXT C.GPDELETEVERTEXSHADEREXT - gpDepthBoundsEXT C.GPDEPTHBOUNDSEXT - gpDepthBoundsdNV C.GPDEPTHBOUNDSDNV - gpDepthFunc C.GPDEPTHFUNC - gpDepthMask C.GPDEPTHMASK - gpDepthRange C.GPDEPTHRANGE - gpDepthRangeArrayv C.GPDEPTHRANGEARRAYV - gpDepthRangeIndexed C.GPDEPTHRANGEINDEXED - gpDepthRangedNV C.GPDEPTHRANGEDNV - gpDepthRangef C.GPDEPTHRANGEF - gpDepthRangefOES C.GPDEPTHRANGEFOES - gpDepthRangexOES C.GPDEPTHRANGEXOES - gpDetachObjectARB C.GPDETACHOBJECTARB - gpDetachShader C.GPDETACHSHADER - gpDetailTexFuncSGIS C.GPDETAILTEXFUNCSGIS - gpDisable C.GPDISABLE - gpDisableClientState C.GPDISABLECLIENTSTATE - gpDisableClientStateIndexedEXT C.GPDISABLECLIENTSTATEINDEXEDEXT - gpDisableClientStateiEXT C.GPDISABLECLIENTSTATEIEXT - gpDisableIndexedEXT C.GPDISABLEINDEXEDEXT - gpDisableVariantClientStateEXT C.GPDISABLEVARIANTCLIENTSTATEEXT - gpDisableVertexArrayAttrib C.GPDISABLEVERTEXARRAYATTRIB - gpDisableVertexArrayAttribEXT C.GPDISABLEVERTEXARRAYATTRIBEXT - gpDisableVertexArrayEXT C.GPDISABLEVERTEXARRAYEXT - gpDisableVertexAttribAPPLE C.GPDISABLEVERTEXATTRIBAPPLE - gpDisableVertexAttribArray C.GPDISABLEVERTEXATTRIBARRAY - gpDisableVertexAttribArrayARB C.GPDISABLEVERTEXATTRIBARRAYARB - gpDispatchCompute C.GPDISPATCHCOMPUTE - gpDispatchComputeGroupSizeARB C.GPDISPATCHCOMPUTEGROUPSIZEARB - gpDispatchComputeIndirect C.GPDISPATCHCOMPUTEINDIRECT - gpDrawArrays C.GPDRAWARRAYS - gpDrawArraysEXT C.GPDRAWARRAYSEXT - gpDrawArraysIndirect C.GPDRAWARRAYSINDIRECT - gpDrawArraysInstancedARB C.GPDRAWARRAYSINSTANCEDARB - gpDrawArraysInstancedBaseInstance C.GPDRAWARRAYSINSTANCEDBASEINSTANCE - gpDrawArraysInstancedEXT C.GPDRAWARRAYSINSTANCEDEXT - gpDrawBuffer C.GPDRAWBUFFER - gpDrawBuffers C.GPDRAWBUFFERS - gpDrawBuffersARB C.GPDRAWBUFFERSARB - gpDrawBuffersATI C.GPDRAWBUFFERSATI - gpDrawCommandsAddressNV C.GPDRAWCOMMANDSADDRESSNV - gpDrawCommandsNV C.GPDRAWCOMMANDSNV - gpDrawCommandsStatesAddressNV C.GPDRAWCOMMANDSSTATESADDRESSNV - gpDrawCommandsStatesNV C.GPDRAWCOMMANDSSTATESNV - gpDrawElementArrayAPPLE C.GPDRAWELEMENTARRAYAPPLE - gpDrawElementArrayATI C.GPDRAWELEMENTARRAYATI - gpDrawElements C.GPDRAWELEMENTS - gpDrawElementsBaseVertex C.GPDRAWELEMENTSBASEVERTEX - gpDrawElementsIndirect C.GPDRAWELEMENTSINDIRECT - gpDrawElementsInstancedARB C.GPDRAWELEMENTSINSTANCEDARB - gpDrawElementsInstancedBaseInstance C.GPDRAWELEMENTSINSTANCEDBASEINSTANCE - gpDrawElementsInstancedBaseVertex C.GPDRAWELEMENTSINSTANCEDBASEVERTEX - gpDrawElementsInstancedBaseVertexBaseInstance C.GPDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCE - gpDrawElementsInstancedEXT C.GPDRAWELEMENTSINSTANCEDEXT - gpDrawMeshArraysSUN C.GPDRAWMESHARRAYSSUN - gpDrawPixels C.GPDRAWPIXELS - gpDrawRangeElementArrayAPPLE C.GPDRAWRANGEELEMENTARRAYAPPLE - gpDrawRangeElementArrayATI C.GPDRAWRANGEELEMENTARRAYATI - gpDrawRangeElements C.GPDRAWRANGEELEMENTS - gpDrawRangeElementsBaseVertex C.GPDRAWRANGEELEMENTSBASEVERTEX - gpDrawRangeElementsEXT C.GPDRAWRANGEELEMENTSEXT - gpDrawTextureNV C.GPDRAWTEXTURENV - gpDrawTransformFeedback C.GPDRAWTRANSFORMFEEDBACK - gpDrawTransformFeedbackInstanced C.GPDRAWTRANSFORMFEEDBACKINSTANCED - gpDrawTransformFeedbackNV C.GPDRAWTRANSFORMFEEDBACKNV - gpDrawTransformFeedbackStream C.GPDRAWTRANSFORMFEEDBACKSTREAM - gpDrawTransformFeedbackStreamInstanced C.GPDRAWTRANSFORMFEEDBACKSTREAMINSTANCED - gpDrawVkImageNV C.GPDRAWVKIMAGENV - gpEGLImageTargetTexStorageEXT C.GPEGLIMAGETARGETTEXSTORAGEEXT - gpEGLImageTargetTextureStorageEXT C.GPEGLIMAGETARGETTEXTURESTORAGEEXT - gpEdgeFlag C.GPEDGEFLAG - gpEdgeFlagFormatNV C.GPEDGEFLAGFORMATNV - gpEdgeFlagPointer C.GPEDGEFLAGPOINTER - gpEdgeFlagPointerEXT C.GPEDGEFLAGPOINTEREXT - gpEdgeFlagPointerListIBM C.GPEDGEFLAGPOINTERLISTIBM - gpEdgeFlagv C.GPEDGEFLAGV - gpElementPointerAPPLE C.GPELEMENTPOINTERAPPLE - gpElementPointerATI C.GPELEMENTPOINTERATI - gpEnable C.GPENABLE - gpEnableClientState C.GPENABLECLIENTSTATE - gpEnableClientStateIndexedEXT C.GPENABLECLIENTSTATEINDEXEDEXT - gpEnableClientStateiEXT C.GPENABLECLIENTSTATEIEXT - gpEnableIndexedEXT C.GPENABLEINDEXEDEXT - gpEnableVariantClientStateEXT C.GPENABLEVARIANTCLIENTSTATEEXT - gpEnableVertexArrayAttrib C.GPENABLEVERTEXARRAYATTRIB - gpEnableVertexArrayAttribEXT C.GPENABLEVERTEXARRAYATTRIBEXT - gpEnableVertexArrayEXT C.GPENABLEVERTEXARRAYEXT - gpEnableVertexAttribAPPLE C.GPENABLEVERTEXATTRIBAPPLE - gpEnableVertexAttribArray C.GPENABLEVERTEXATTRIBARRAY - gpEnableVertexAttribArrayARB C.GPENABLEVERTEXATTRIBARRAYARB - gpEnd C.GPEND - gpEndConditionalRenderNV C.GPENDCONDITIONALRENDERNV - gpEndConditionalRenderNVX C.GPENDCONDITIONALRENDERNVX - gpEndFragmentShaderATI C.GPENDFRAGMENTSHADERATI - gpEndList C.GPENDLIST - gpEndOcclusionQueryNV C.GPENDOCCLUSIONQUERYNV - gpEndPerfMonitorAMD C.GPENDPERFMONITORAMD - gpEndPerfQueryINTEL C.GPENDPERFQUERYINTEL - gpEndQuery C.GPENDQUERY - gpEndQueryARB C.GPENDQUERYARB - gpEndQueryIndexed C.GPENDQUERYINDEXED - gpEndTransformFeedbackEXT C.GPENDTRANSFORMFEEDBACKEXT - gpEndTransformFeedbackNV C.GPENDTRANSFORMFEEDBACKNV - gpEndVertexShaderEXT C.GPENDVERTEXSHADEREXT - gpEndVideoCaptureNV C.GPENDVIDEOCAPTURENV - gpEvalCoord1d C.GPEVALCOORD1D - gpEvalCoord1dv C.GPEVALCOORD1DV - gpEvalCoord1f C.GPEVALCOORD1F - gpEvalCoord1fv C.GPEVALCOORD1FV - gpEvalCoord1xOES C.GPEVALCOORD1XOES - gpEvalCoord1xvOES C.GPEVALCOORD1XVOES - gpEvalCoord2d C.GPEVALCOORD2D - gpEvalCoord2dv C.GPEVALCOORD2DV - gpEvalCoord2f C.GPEVALCOORD2F - gpEvalCoord2fv C.GPEVALCOORD2FV - gpEvalCoord2xOES C.GPEVALCOORD2XOES - gpEvalCoord2xvOES C.GPEVALCOORD2XVOES - gpEvalMapsNV C.GPEVALMAPSNV - gpEvalMesh1 C.GPEVALMESH1 - gpEvalMesh2 C.GPEVALMESH2 - gpEvalPoint1 C.GPEVALPOINT1 - gpEvalPoint2 C.GPEVALPOINT2 - gpEvaluateDepthValuesARB C.GPEVALUATEDEPTHVALUESARB - gpExecuteProgramNV C.GPEXECUTEPROGRAMNV - gpExtractComponentEXT C.GPEXTRACTCOMPONENTEXT - gpFeedbackBuffer C.GPFEEDBACKBUFFER - gpFeedbackBufferxOES C.GPFEEDBACKBUFFERXOES - gpFenceSync C.GPFENCESYNC - gpFinalCombinerInputNV C.GPFINALCOMBINERINPUTNV - gpFinish C.GPFINISH - gpFinishAsyncSGIX C.GPFINISHASYNCSGIX - gpFinishFenceAPPLE C.GPFINISHFENCEAPPLE - gpFinishFenceNV C.GPFINISHFENCENV - gpFinishObjectAPPLE C.GPFINISHOBJECTAPPLE - gpFinishTextureSUNX C.GPFINISHTEXTURESUNX - gpFlush C.GPFLUSH - gpFlushMappedBufferRange C.GPFLUSHMAPPEDBUFFERRANGE - gpFlushMappedBufferRangeAPPLE C.GPFLUSHMAPPEDBUFFERRANGEAPPLE - gpFlushMappedNamedBufferRange C.GPFLUSHMAPPEDNAMEDBUFFERRANGE - gpFlushMappedNamedBufferRangeEXT C.GPFLUSHMAPPEDNAMEDBUFFERRANGEEXT - gpFlushPixelDataRangeNV C.GPFLUSHPIXELDATARANGENV - gpFlushRasterSGIX C.GPFLUSHRASTERSGIX - gpFlushStaticDataIBM C.GPFLUSHSTATICDATAIBM - gpFlushVertexArrayRangeAPPLE C.GPFLUSHVERTEXARRAYRANGEAPPLE - gpFlushVertexArrayRangeNV C.GPFLUSHVERTEXARRAYRANGENV - gpFogCoordFormatNV C.GPFOGCOORDFORMATNV - gpFogCoordPointer C.GPFOGCOORDPOINTER - gpFogCoordPointerEXT C.GPFOGCOORDPOINTEREXT - gpFogCoordPointerListIBM C.GPFOGCOORDPOINTERLISTIBM - gpFogCoordd C.GPFOGCOORDD - gpFogCoorddEXT C.GPFOGCOORDDEXT - gpFogCoorddv C.GPFOGCOORDDV - gpFogCoorddvEXT C.GPFOGCOORDDVEXT - gpFogCoordf C.GPFOGCOORDF - gpFogCoordfEXT C.GPFOGCOORDFEXT - gpFogCoordfv C.GPFOGCOORDFV - gpFogCoordfvEXT C.GPFOGCOORDFVEXT - gpFogCoordhNV C.GPFOGCOORDHNV - gpFogCoordhvNV C.GPFOGCOORDHVNV - gpFogFuncSGIS C.GPFOGFUNCSGIS - gpFogf C.GPFOGF - gpFogfv C.GPFOGFV - gpFogi C.GPFOGI - gpFogiv C.GPFOGIV - gpFogxOES C.GPFOGXOES - gpFogxvOES C.GPFOGXVOES - gpFragmentColorMaterialSGIX C.GPFRAGMENTCOLORMATERIALSGIX - gpFragmentCoverageColorNV C.GPFRAGMENTCOVERAGECOLORNV - gpFragmentLightModelfSGIX C.GPFRAGMENTLIGHTMODELFSGIX - gpFragmentLightModelfvSGIX C.GPFRAGMENTLIGHTMODELFVSGIX - gpFragmentLightModeliSGIX C.GPFRAGMENTLIGHTMODELISGIX - gpFragmentLightModelivSGIX C.GPFRAGMENTLIGHTMODELIVSGIX - gpFragmentLightfSGIX C.GPFRAGMENTLIGHTFSGIX - gpFragmentLightfvSGIX C.GPFRAGMENTLIGHTFVSGIX - gpFragmentLightiSGIX C.GPFRAGMENTLIGHTISGIX - gpFragmentLightivSGIX C.GPFRAGMENTLIGHTIVSGIX - gpFragmentMaterialfSGIX C.GPFRAGMENTMATERIALFSGIX - gpFragmentMaterialfvSGIX C.GPFRAGMENTMATERIALFVSGIX - gpFragmentMaterialiSGIX C.GPFRAGMENTMATERIALISGIX - gpFragmentMaterialivSGIX C.GPFRAGMENTMATERIALIVSGIX - gpFrameTerminatorGREMEDY C.GPFRAMETERMINATORGREMEDY - gpFrameZoomSGIX C.GPFRAMEZOOMSGIX - gpFramebufferDrawBufferEXT C.GPFRAMEBUFFERDRAWBUFFEREXT - gpFramebufferDrawBuffersEXT C.GPFRAMEBUFFERDRAWBUFFERSEXT - gpFramebufferFetchBarrierEXT C.GPFRAMEBUFFERFETCHBARRIEREXT - gpFramebufferParameteri C.GPFRAMEBUFFERPARAMETERI - gpFramebufferReadBufferEXT C.GPFRAMEBUFFERREADBUFFEREXT - gpFramebufferRenderbuffer C.GPFRAMEBUFFERRENDERBUFFER - gpFramebufferRenderbufferEXT C.GPFRAMEBUFFERRENDERBUFFEREXT - gpFramebufferSampleLocationsfvARB C.GPFRAMEBUFFERSAMPLELOCATIONSFVARB - gpFramebufferSampleLocationsfvNV C.GPFRAMEBUFFERSAMPLELOCATIONSFVNV - gpFramebufferSamplePositionsfvAMD C.GPFRAMEBUFFERSAMPLEPOSITIONSFVAMD - gpFramebufferTexture1D C.GPFRAMEBUFFERTEXTURE1D - gpFramebufferTexture1DEXT C.GPFRAMEBUFFERTEXTURE1DEXT - gpFramebufferTexture2D C.GPFRAMEBUFFERTEXTURE2D - gpFramebufferTexture2DEXT C.GPFRAMEBUFFERTEXTURE2DEXT - gpFramebufferTexture3D C.GPFRAMEBUFFERTEXTURE3D - gpFramebufferTexture3DEXT C.GPFRAMEBUFFERTEXTURE3DEXT - gpFramebufferTextureARB C.GPFRAMEBUFFERTEXTUREARB - gpFramebufferTextureEXT C.GPFRAMEBUFFERTEXTUREEXT - gpFramebufferTextureFaceARB C.GPFRAMEBUFFERTEXTUREFACEARB - gpFramebufferTextureFaceEXT C.GPFRAMEBUFFERTEXTUREFACEEXT - gpFramebufferTextureLayer C.GPFRAMEBUFFERTEXTURELAYER - gpFramebufferTextureLayerARB C.GPFRAMEBUFFERTEXTURELAYERARB - gpFramebufferTextureLayerEXT C.GPFRAMEBUFFERTEXTURELAYEREXT - gpFramebufferTextureMultiviewOVR C.GPFRAMEBUFFERTEXTUREMULTIVIEWOVR - gpFreeObjectBufferATI C.GPFREEOBJECTBUFFERATI - gpFrontFace C.GPFRONTFACE - gpFrustum C.GPFRUSTUM - gpFrustumfOES C.GPFRUSTUMFOES - gpFrustumxOES C.GPFRUSTUMXOES - gpGenAsyncMarkersSGIX C.GPGENASYNCMARKERSSGIX - gpGenBuffers C.GPGENBUFFERS - gpGenBuffersARB C.GPGENBUFFERSARB - gpGenFencesAPPLE C.GPGENFENCESAPPLE - gpGenFencesNV C.GPGENFENCESNV - gpGenFragmentShadersATI C.GPGENFRAGMENTSHADERSATI - gpGenFramebuffers C.GPGENFRAMEBUFFERS - gpGenFramebuffersEXT C.GPGENFRAMEBUFFERSEXT - gpGenLists C.GPGENLISTS - gpGenNamesAMD C.GPGENNAMESAMD - gpGenOcclusionQueriesNV C.GPGENOCCLUSIONQUERIESNV - gpGenPathsNV C.GPGENPATHSNV - gpGenPerfMonitorsAMD C.GPGENPERFMONITORSAMD - gpGenProgramPipelines C.GPGENPROGRAMPIPELINES - gpGenProgramPipelinesEXT C.GPGENPROGRAMPIPELINESEXT - gpGenProgramsARB C.GPGENPROGRAMSARB - gpGenProgramsNV C.GPGENPROGRAMSNV - gpGenQueries C.GPGENQUERIES - gpGenQueriesARB C.GPGENQUERIESARB - gpGenQueryResourceTagNV C.GPGENQUERYRESOURCETAGNV - gpGenRenderbuffers C.GPGENRENDERBUFFERS - gpGenRenderbuffersEXT C.GPGENRENDERBUFFERSEXT - gpGenSamplers C.GPGENSAMPLERS - gpGenSemaphoresEXT C.GPGENSEMAPHORESEXT - gpGenSymbolsEXT C.GPGENSYMBOLSEXT - gpGenTextures C.GPGENTEXTURES - gpGenTexturesEXT C.GPGENTEXTURESEXT - gpGenTransformFeedbacks C.GPGENTRANSFORMFEEDBACKS - gpGenTransformFeedbacksNV C.GPGENTRANSFORMFEEDBACKSNV - gpGenVertexArrays C.GPGENVERTEXARRAYS - gpGenVertexArraysAPPLE C.GPGENVERTEXARRAYSAPPLE - gpGenVertexShadersEXT C.GPGENVERTEXSHADERSEXT - gpGenerateMipmap C.GPGENERATEMIPMAP - gpGenerateMipmapEXT C.GPGENERATEMIPMAPEXT - gpGenerateMultiTexMipmapEXT C.GPGENERATEMULTITEXMIPMAPEXT - gpGenerateTextureMipmap C.GPGENERATETEXTUREMIPMAP - gpGenerateTextureMipmapEXT C.GPGENERATETEXTUREMIPMAPEXT - gpGetActiveAtomicCounterBufferiv C.GPGETACTIVEATOMICCOUNTERBUFFERIV - gpGetActiveAttrib C.GPGETACTIVEATTRIB - gpGetActiveAttribARB C.GPGETACTIVEATTRIBARB - gpGetActiveSubroutineName C.GPGETACTIVESUBROUTINENAME - gpGetActiveSubroutineUniformName C.GPGETACTIVESUBROUTINEUNIFORMNAME - gpGetActiveSubroutineUniformiv C.GPGETACTIVESUBROUTINEUNIFORMIV - gpGetActiveUniform C.GPGETACTIVEUNIFORM - gpGetActiveUniformARB C.GPGETACTIVEUNIFORMARB - gpGetActiveUniformBlockName C.GPGETACTIVEUNIFORMBLOCKNAME - gpGetActiveUniformBlockiv C.GPGETACTIVEUNIFORMBLOCKIV - gpGetActiveUniformName C.GPGETACTIVEUNIFORMNAME - gpGetActiveUniformsiv C.GPGETACTIVEUNIFORMSIV - gpGetActiveVaryingNV C.GPGETACTIVEVARYINGNV - gpGetArrayObjectfvATI C.GPGETARRAYOBJECTFVATI - gpGetArrayObjectivATI C.GPGETARRAYOBJECTIVATI - gpGetAttachedObjectsARB C.GPGETATTACHEDOBJECTSARB - gpGetAttachedShaders C.GPGETATTACHEDSHADERS - gpGetAttribLocation C.GPGETATTRIBLOCATION - gpGetAttribLocationARB C.GPGETATTRIBLOCATIONARB - gpGetBooleanIndexedvEXT C.GPGETBOOLEANINDEXEDVEXT - gpGetBooleanv C.GPGETBOOLEANV - gpGetBufferParameteriv C.GPGETBUFFERPARAMETERIV - gpGetBufferParameterivARB C.GPGETBUFFERPARAMETERIVARB - gpGetBufferParameterui64vNV C.GPGETBUFFERPARAMETERUI64VNV - gpGetBufferPointerv C.GPGETBUFFERPOINTERV - gpGetBufferPointervARB C.GPGETBUFFERPOINTERVARB - gpGetBufferSubData C.GPGETBUFFERSUBDATA - gpGetBufferSubDataARB C.GPGETBUFFERSUBDATAARB - gpGetClipPlane C.GPGETCLIPPLANE - gpGetClipPlanefOES C.GPGETCLIPPLANEFOES - gpGetClipPlanexOES C.GPGETCLIPPLANEXOES - gpGetColorTableEXT C.GPGETCOLORTABLEEXT - gpGetColorTableParameterfvEXT C.GPGETCOLORTABLEPARAMETERFVEXT - gpGetColorTableParameterfvSGI C.GPGETCOLORTABLEPARAMETERFVSGI - gpGetColorTableParameterivEXT C.GPGETCOLORTABLEPARAMETERIVEXT - gpGetColorTableParameterivSGI C.GPGETCOLORTABLEPARAMETERIVSGI - gpGetColorTableSGI C.GPGETCOLORTABLESGI - gpGetCombinerInputParameterfvNV C.GPGETCOMBINERINPUTPARAMETERFVNV - gpGetCombinerInputParameterivNV C.GPGETCOMBINERINPUTPARAMETERIVNV - gpGetCombinerOutputParameterfvNV C.GPGETCOMBINEROUTPUTPARAMETERFVNV - gpGetCombinerOutputParameterivNV C.GPGETCOMBINEROUTPUTPARAMETERIVNV - gpGetCombinerStageParameterfvNV C.GPGETCOMBINERSTAGEPARAMETERFVNV - gpGetCommandHeaderNV C.GPGETCOMMANDHEADERNV - gpGetCompressedMultiTexImageEXT C.GPGETCOMPRESSEDMULTITEXIMAGEEXT - gpGetCompressedTexImage C.GPGETCOMPRESSEDTEXIMAGE - gpGetCompressedTexImageARB C.GPGETCOMPRESSEDTEXIMAGEARB - gpGetCompressedTextureImage C.GPGETCOMPRESSEDTEXTUREIMAGE - gpGetCompressedTextureImageEXT C.GPGETCOMPRESSEDTEXTUREIMAGEEXT - gpGetCompressedTextureSubImage C.GPGETCOMPRESSEDTEXTURESUBIMAGE - gpGetConvolutionFilterEXT C.GPGETCONVOLUTIONFILTEREXT - gpGetConvolutionParameterfvEXT C.GPGETCONVOLUTIONPARAMETERFVEXT - gpGetConvolutionParameterivEXT C.GPGETCONVOLUTIONPARAMETERIVEXT - gpGetConvolutionParameterxvOES C.GPGETCONVOLUTIONPARAMETERXVOES - gpGetCoverageModulationTableNV C.GPGETCOVERAGEMODULATIONTABLENV - gpGetDebugMessageLog C.GPGETDEBUGMESSAGELOG - gpGetDebugMessageLogAMD C.GPGETDEBUGMESSAGELOGAMD - gpGetDebugMessageLogARB C.GPGETDEBUGMESSAGELOGARB - gpGetDebugMessageLogKHR C.GPGETDEBUGMESSAGELOGKHR - gpGetDetailTexFuncSGIS C.GPGETDETAILTEXFUNCSGIS - gpGetDoubleIndexedvEXT C.GPGETDOUBLEINDEXEDVEXT - gpGetDoublei_v C.GPGETDOUBLEI_V - gpGetDoublei_vEXT C.GPGETDOUBLEI_VEXT - gpGetDoublev C.GPGETDOUBLEV - gpGetError C.GPGETERROR - gpGetFenceivNV C.GPGETFENCEIVNV - gpGetFinalCombinerInputParameterfvNV C.GPGETFINALCOMBINERINPUTPARAMETERFVNV - gpGetFinalCombinerInputParameterivNV C.GPGETFINALCOMBINERINPUTPARAMETERIVNV - gpGetFirstPerfQueryIdINTEL C.GPGETFIRSTPERFQUERYIDINTEL - gpGetFixedvOES C.GPGETFIXEDVOES - gpGetFloatIndexedvEXT C.GPGETFLOATINDEXEDVEXT - gpGetFloati_v C.GPGETFLOATI_V - gpGetFloati_vEXT C.GPGETFLOATI_VEXT - gpGetFloatv C.GPGETFLOATV - gpGetFogFuncSGIS C.GPGETFOGFUNCSGIS - gpGetFragDataIndex C.GPGETFRAGDATAINDEX - gpGetFragDataLocationEXT C.GPGETFRAGDATALOCATIONEXT - gpGetFragmentLightfvSGIX C.GPGETFRAGMENTLIGHTFVSGIX - gpGetFragmentLightivSGIX C.GPGETFRAGMENTLIGHTIVSGIX - gpGetFragmentMaterialfvSGIX C.GPGETFRAGMENTMATERIALFVSGIX - gpGetFragmentMaterialivSGIX C.GPGETFRAGMENTMATERIALIVSGIX - gpGetFramebufferAttachmentParameteriv C.GPGETFRAMEBUFFERATTACHMENTPARAMETERIV - gpGetFramebufferAttachmentParameterivEXT C.GPGETFRAMEBUFFERATTACHMENTPARAMETERIVEXT - gpGetFramebufferParameterfvAMD C.GPGETFRAMEBUFFERPARAMETERFVAMD - gpGetFramebufferParameteriv C.GPGETFRAMEBUFFERPARAMETERIV - gpGetFramebufferParameterivEXT C.GPGETFRAMEBUFFERPARAMETERIVEXT - gpGetGraphicsResetStatus C.GPGETGRAPHICSRESETSTATUS - gpGetGraphicsResetStatusARB C.GPGETGRAPHICSRESETSTATUSARB - gpGetGraphicsResetStatusKHR C.GPGETGRAPHICSRESETSTATUSKHR - gpGetHandleARB C.GPGETHANDLEARB - gpGetHistogramEXT C.GPGETHISTOGRAMEXT - gpGetHistogramParameterfvEXT C.GPGETHISTOGRAMPARAMETERFVEXT - gpGetHistogramParameterivEXT C.GPGETHISTOGRAMPARAMETERIVEXT - gpGetHistogramParameterxvOES C.GPGETHISTOGRAMPARAMETERXVOES - gpGetImageHandleARB C.GPGETIMAGEHANDLEARB - gpGetImageHandleNV C.GPGETIMAGEHANDLENV - gpGetImageTransformParameterfvHP C.GPGETIMAGETRANSFORMPARAMETERFVHP - gpGetImageTransformParameterivHP C.GPGETIMAGETRANSFORMPARAMETERIVHP - gpGetInfoLogARB C.GPGETINFOLOGARB - gpGetInstrumentsSGIX C.GPGETINSTRUMENTSSGIX - gpGetInteger64v C.GPGETINTEGER64V - gpGetIntegerIndexedvEXT C.GPGETINTEGERINDEXEDVEXT - gpGetIntegeri_v C.GPGETINTEGERI_V - gpGetIntegerui64i_vNV C.GPGETINTEGERUI64I_VNV - gpGetIntegerui64vNV C.GPGETINTEGERUI64VNV - gpGetIntegerv C.GPGETINTEGERV - gpGetInternalformatSampleivNV C.GPGETINTERNALFORMATSAMPLEIVNV - gpGetInternalformati64v C.GPGETINTERNALFORMATI64V - gpGetInternalformativ C.GPGETINTERNALFORMATIV - gpGetInvariantBooleanvEXT C.GPGETINVARIANTBOOLEANVEXT - gpGetInvariantFloatvEXT C.GPGETINVARIANTFLOATVEXT - gpGetInvariantIntegervEXT C.GPGETINVARIANTINTEGERVEXT - gpGetLightfv C.GPGETLIGHTFV - gpGetLightiv C.GPGETLIGHTIV - gpGetLightxOES C.GPGETLIGHTXOES - gpGetLightxvOES C.GPGETLIGHTXVOES - gpGetListParameterfvSGIX C.GPGETLISTPARAMETERFVSGIX - gpGetListParameterivSGIX C.GPGETLISTPARAMETERIVSGIX - gpGetLocalConstantBooleanvEXT C.GPGETLOCALCONSTANTBOOLEANVEXT - gpGetLocalConstantFloatvEXT C.GPGETLOCALCONSTANTFLOATVEXT - gpGetLocalConstantIntegervEXT C.GPGETLOCALCONSTANTINTEGERVEXT - gpGetMapAttribParameterfvNV C.GPGETMAPATTRIBPARAMETERFVNV - gpGetMapAttribParameterivNV C.GPGETMAPATTRIBPARAMETERIVNV - gpGetMapControlPointsNV C.GPGETMAPCONTROLPOINTSNV - gpGetMapParameterfvNV C.GPGETMAPPARAMETERFVNV - gpGetMapParameterivNV C.GPGETMAPPARAMETERIVNV - gpGetMapdv C.GPGETMAPDV - gpGetMapfv C.GPGETMAPFV - gpGetMapiv C.GPGETMAPIV - gpGetMapxvOES C.GPGETMAPXVOES - gpGetMaterialfv C.GPGETMATERIALFV - gpGetMaterialiv C.GPGETMATERIALIV - gpGetMaterialxOES C.GPGETMATERIALXOES - gpGetMaterialxvOES C.GPGETMATERIALXVOES - gpGetMemoryObjectParameterivEXT C.GPGETMEMORYOBJECTPARAMETERIVEXT - gpGetMinmaxEXT C.GPGETMINMAXEXT - gpGetMinmaxParameterfvEXT C.GPGETMINMAXPARAMETERFVEXT - gpGetMinmaxParameterivEXT C.GPGETMINMAXPARAMETERIVEXT - gpGetMultiTexEnvfvEXT C.GPGETMULTITEXENVFVEXT - gpGetMultiTexEnvivEXT C.GPGETMULTITEXENVIVEXT - gpGetMultiTexGendvEXT C.GPGETMULTITEXGENDVEXT - gpGetMultiTexGenfvEXT C.GPGETMULTITEXGENFVEXT - gpGetMultiTexGenivEXT C.GPGETMULTITEXGENIVEXT - gpGetMultiTexImageEXT C.GPGETMULTITEXIMAGEEXT - gpGetMultiTexLevelParameterfvEXT C.GPGETMULTITEXLEVELPARAMETERFVEXT - gpGetMultiTexLevelParameterivEXT C.GPGETMULTITEXLEVELPARAMETERIVEXT - gpGetMultiTexParameterIivEXT C.GPGETMULTITEXPARAMETERIIVEXT - gpGetMultiTexParameterIuivEXT C.GPGETMULTITEXPARAMETERIUIVEXT - gpGetMultiTexParameterfvEXT C.GPGETMULTITEXPARAMETERFVEXT - gpGetMultiTexParameterivEXT C.GPGETMULTITEXPARAMETERIVEXT - gpGetMultisamplefv C.GPGETMULTISAMPLEFV - gpGetMultisamplefvNV C.GPGETMULTISAMPLEFVNV - gpGetNamedBufferParameteri64v C.GPGETNAMEDBUFFERPARAMETERI64V - gpGetNamedBufferParameteriv C.GPGETNAMEDBUFFERPARAMETERIV - gpGetNamedBufferParameterivEXT C.GPGETNAMEDBUFFERPARAMETERIVEXT - gpGetNamedBufferParameterui64vNV C.GPGETNAMEDBUFFERPARAMETERUI64VNV - gpGetNamedBufferPointerv C.GPGETNAMEDBUFFERPOINTERV - gpGetNamedBufferPointervEXT C.GPGETNAMEDBUFFERPOINTERVEXT - gpGetNamedBufferSubData C.GPGETNAMEDBUFFERSUBDATA - gpGetNamedBufferSubDataEXT C.GPGETNAMEDBUFFERSUBDATAEXT - gpGetNamedFramebufferAttachmentParameteriv C.GPGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIV - gpGetNamedFramebufferAttachmentParameterivEXT C.GPGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVEXT - gpGetNamedFramebufferParameterfvAMD C.GPGETNAMEDFRAMEBUFFERPARAMETERFVAMD - gpGetNamedFramebufferParameteriv C.GPGETNAMEDFRAMEBUFFERPARAMETERIV - gpGetNamedFramebufferParameterivEXT C.GPGETNAMEDFRAMEBUFFERPARAMETERIVEXT - gpGetNamedProgramLocalParameterIivEXT C.GPGETNAMEDPROGRAMLOCALPARAMETERIIVEXT - gpGetNamedProgramLocalParameterIuivEXT C.GPGETNAMEDPROGRAMLOCALPARAMETERIUIVEXT - gpGetNamedProgramLocalParameterdvEXT C.GPGETNAMEDPROGRAMLOCALPARAMETERDVEXT - gpGetNamedProgramLocalParameterfvEXT C.GPGETNAMEDPROGRAMLOCALPARAMETERFVEXT - gpGetNamedProgramStringEXT C.GPGETNAMEDPROGRAMSTRINGEXT - gpGetNamedProgramivEXT C.GPGETNAMEDPROGRAMIVEXT - gpGetNamedRenderbufferParameteriv C.GPGETNAMEDRENDERBUFFERPARAMETERIV - gpGetNamedRenderbufferParameterivEXT C.GPGETNAMEDRENDERBUFFERPARAMETERIVEXT - gpGetNamedStringARB C.GPGETNAMEDSTRINGARB - gpGetNamedStringivARB C.GPGETNAMEDSTRINGIVARB - gpGetNextPerfQueryIdINTEL C.GPGETNEXTPERFQUERYIDINTEL - gpGetObjectBufferfvATI C.GPGETOBJECTBUFFERFVATI - gpGetObjectBufferivATI C.GPGETOBJECTBUFFERIVATI - gpGetObjectLabel C.GPGETOBJECTLABEL - gpGetObjectLabelEXT C.GPGETOBJECTLABELEXT - gpGetObjectLabelKHR C.GPGETOBJECTLABELKHR - gpGetObjectParameterfvARB C.GPGETOBJECTPARAMETERFVARB - gpGetObjectParameterivAPPLE C.GPGETOBJECTPARAMETERIVAPPLE - gpGetObjectParameterivARB C.GPGETOBJECTPARAMETERIVARB - gpGetObjectPtrLabel C.GPGETOBJECTPTRLABEL - gpGetObjectPtrLabelKHR C.GPGETOBJECTPTRLABELKHR - gpGetOcclusionQueryivNV C.GPGETOCCLUSIONQUERYIVNV - gpGetOcclusionQueryuivNV C.GPGETOCCLUSIONQUERYUIVNV - gpGetPathCommandsNV C.GPGETPATHCOMMANDSNV - gpGetPathCoordsNV C.GPGETPATHCOORDSNV - gpGetPathDashArrayNV C.GPGETPATHDASHARRAYNV - gpGetPathLengthNV C.GPGETPATHLENGTHNV - gpGetPathMetricRangeNV C.GPGETPATHMETRICRANGENV - gpGetPathMetricsNV C.GPGETPATHMETRICSNV - gpGetPathParameterfvNV C.GPGETPATHPARAMETERFVNV - gpGetPathParameterivNV C.GPGETPATHPARAMETERIVNV - gpGetPathSpacingNV C.GPGETPATHSPACINGNV - gpGetPerfCounterInfoINTEL C.GPGETPERFCOUNTERINFOINTEL - gpGetPerfMonitorCounterDataAMD C.GPGETPERFMONITORCOUNTERDATAAMD - gpGetPerfMonitorCounterInfoAMD C.GPGETPERFMONITORCOUNTERINFOAMD - gpGetPerfMonitorCounterStringAMD C.GPGETPERFMONITORCOUNTERSTRINGAMD - gpGetPerfMonitorCountersAMD C.GPGETPERFMONITORCOUNTERSAMD - gpGetPerfMonitorGroupStringAMD C.GPGETPERFMONITORGROUPSTRINGAMD - gpGetPerfMonitorGroupsAMD C.GPGETPERFMONITORGROUPSAMD - gpGetPerfQueryDataINTEL C.GPGETPERFQUERYDATAINTEL - gpGetPerfQueryIdByNameINTEL C.GPGETPERFQUERYIDBYNAMEINTEL - gpGetPerfQueryInfoINTEL C.GPGETPERFQUERYINFOINTEL - gpGetPixelMapfv C.GPGETPIXELMAPFV - gpGetPixelMapuiv C.GPGETPIXELMAPUIV - gpGetPixelMapusv C.GPGETPIXELMAPUSV - gpGetPixelMapxv C.GPGETPIXELMAPXV - gpGetPixelTexGenParameterfvSGIS C.GPGETPIXELTEXGENPARAMETERFVSGIS - gpGetPixelTexGenParameterivSGIS C.GPGETPIXELTEXGENPARAMETERIVSGIS - gpGetPixelTransformParameterfvEXT C.GPGETPIXELTRANSFORMPARAMETERFVEXT - gpGetPixelTransformParameterivEXT C.GPGETPIXELTRANSFORMPARAMETERIVEXT - gpGetPointerIndexedvEXT C.GPGETPOINTERINDEXEDVEXT - gpGetPointeri_vEXT C.GPGETPOINTERI_VEXT - gpGetPointerv C.GPGETPOINTERV - gpGetPointervEXT C.GPGETPOINTERVEXT - gpGetPointervKHR C.GPGETPOINTERVKHR - gpGetPolygonStipple C.GPGETPOLYGONSTIPPLE - gpGetProgramBinary C.GPGETPROGRAMBINARY - gpGetProgramEnvParameterIivNV C.GPGETPROGRAMENVPARAMETERIIVNV - gpGetProgramEnvParameterIuivNV C.GPGETPROGRAMENVPARAMETERIUIVNV - gpGetProgramEnvParameterdvARB C.GPGETPROGRAMENVPARAMETERDVARB - gpGetProgramEnvParameterfvARB C.GPGETPROGRAMENVPARAMETERFVARB - gpGetProgramInfoLog C.GPGETPROGRAMINFOLOG - gpGetProgramInterfaceiv C.GPGETPROGRAMINTERFACEIV - gpGetProgramLocalParameterIivNV C.GPGETPROGRAMLOCALPARAMETERIIVNV - gpGetProgramLocalParameterIuivNV C.GPGETPROGRAMLOCALPARAMETERIUIVNV - gpGetProgramLocalParameterdvARB C.GPGETPROGRAMLOCALPARAMETERDVARB - gpGetProgramLocalParameterfvARB C.GPGETPROGRAMLOCALPARAMETERFVARB - gpGetProgramNamedParameterdvNV C.GPGETPROGRAMNAMEDPARAMETERDVNV - gpGetProgramNamedParameterfvNV C.GPGETPROGRAMNAMEDPARAMETERFVNV - gpGetProgramParameterdvNV C.GPGETPROGRAMPARAMETERDVNV - gpGetProgramParameterfvNV C.GPGETPROGRAMPARAMETERFVNV - gpGetProgramPipelineInfoLog C.GPGETPROGRAMPIPELINEINFOLOG - gpGetProgramPipelineInfoLogEXT C.GPGETPROGRAMPIPELINEINFOLOGEXT - gpGetProgramPipelineiv C.GPGETPROGRAMPIPELINEIV - gpGetProgramPipelineivEXT C.GPGETPROGRAMPIPELINEIVEXT - gpGetProgramResourceIndex C.GPGETPROGRAMRESOURCEINDEX - gpGetProgramResourceLocation C.GPGETPROGRAMRESOURCELOCATION - gpGetProgramResourceLocationIndex C.GPGETPROGRAMRESOURCELOCATIONINDEX - gpGetProgramResourceName C.GPGETPROGRAMRESOURCENAME - gpGetProgramResourcefvNV C.GPGETPROGRAMRESOURCEFVNV - gpGetProgramResourceiv C.GPGETPROGRAMRESOURCEIV - gpGetProgramStageiv C.GPGETPROGRAMSTAGEIV - gpGetProgramStringARB C.GPGETPROGRAMSTRINGARB - gpGetProgramStringNV C.GPGETPROGRAMSTRINGNV - gpGetProgramSubroutineParameteruivNV C.GPGETPROGRAMSUBROUTINEPARAMETERUIVNV - gpGetProgramiv C.GPGETPROGRAMIV - gpGetProgramivARB C.GPGETPROGRAMIVARB - gpGetProgramivNV C.GPGETPROGRAMIVNV - gpGetQueryBufferObjecti64v C.GPGETQUERYBUFFEROBJECTI64V - gpGetQueryBufferObjectiv C.GPGETQUERYBUFFEROBJECTIV - gpGetQueryBufferObjectui64v C.GPGETQUERYBUFFEROBJECTUI64V - gpGetQueryBufferObjectuiv C.GPGETQUERYBUFFEROBJECTUIV - gpGetQueryIndexediv C.GPGETQUERYINDEXEDIV - gpGetQueryObjecti64v C.GPGETQUERYOBJECTI64V - gpGetQueryObjecti64vEXT C.GPGETQUERYOBJECTI64VEXT - gpGetQueryObjectiv C.GPGETQUERYOBJECTIV - gpGetQueryObjectivARB C.GPGETQUERYOBJECTIVARB - gpGetQueryObjectui64v C.GPGETQUERYOBJECTUI64V - gpGetQueryObjectui64vEXT C.GPGETQUERYOBJECTUI64VEXT - gpGetQueryObjectuiv C.GPGETQUERYOBJECTUIV - gpGetQueryObjectuivARB C.GPGETQUERYOBJECTUIVARB - gpGetQueryiv C.GPGETQUERYIV - gpGetQueryivARB C.GPGETQUERYIVARB - gpGetRenderbufferParameteriv C.GPGETRENDERBUFFERPARAMETERIV - gpGetRenderbufferParameterivEXT C.GPGETRENDERBUFFERPARAMETERIVEXT - gpGetSamplerParameterIiv C.GPGETSAMPLERPARAMETERIIV - gpGetSamplerParameterIuiv C.GPGETSAMPLERPARAMETERIUIV - gpGetSamplerParameterfv C.GPGETSAMPLERPARAMETERFV - gpGetSamplerParameteriv C.GPGETSAMPLERPARAMETERIV - gpGetSemaphoreParameterui64vEXT C.GPGETSEMAPHOREPARAMETERUI64VEXT - gpGetSeparableFilterEXT C.GPGETSEPARABLEFILTEREXT - gpGetShaderInfoLog C.GPGETSHADERINFOLOG - gpGetShaderPrecisionFormat C.GPGETSHADERPRECISIONFORMAT - gpGetShaderSource C.GPGETSHADERSOURCE - gpGetShaderSourceARB C.GPGETSHADERSOURCEARB - gpGetShaderiv C.GPGETSHADERIV - gpGetSharpenTexFuncSGIS C.GPGETSHARPENTEXFUNCSGIS - gpGetStageIndexNV C.GPGETSTAGEINDEXNV - gpGetString C.GPGETSTRING - gpGetSubroutineIndex C.GPGETSUBROUTINEINDEX - gpGetSubroutineUniformLocation C.GPGETSUBROUTINEUNIFORMLOCATION - gpGetSynciv C.GPGETSYNCIV - gpGetTexBumpParameterfvATI C.GPGETTEXBUMPPARAMETERFVATI - gpGetTexBumpParameterivATI C.GPGETTEXBUMPPARAMETERIVATI - gpGetTexEnvfv C.GPGETTEXENVFV - gpGetTexEnviv C.GPGETTEXENVIV - gpGetTexEnvxvOES C.GPGETTEXENVXVOES - gpGetTexFilterFuncSGIS C.GPGETTEXFILTERFUNCSGIS - gpGetTexGendv C.GPGETTEXGENDV - gpGetTexGenfv C.GPGETTEXGENFV - gpGetTexGeniv C.GPGETTEXGENIV - gpGetTexGenxvOES C.GPGETTEXGENXVOES - gpGetTexImage C.GPGETTEXIMAGE - gpGetTexLevelParameterfv C.GPGETTEXLEVELPARAMETERFV - gpGetTexLevelParameteriv C.GPGETTEXLEVELPARAMETERIV - gpGetTexLevelParameterxvOES C.GPGETTEXLEVELPARAMETERXVOES - gpGetTexParameterIivEXT C.GPGETTEXPARAMETERIIVEXT - gpGetTexParameterIuivEXT C.GPGETTEXPARAMETERIUIVEXT - gpGetTexParameterPointervAPPLE C.GPGETTEXPARAMETERPOINTERVAPPLE - gpGetTexParameterfv C.GPGETTEXPARAMETERFV - gpGetTexParameteriv C.GPGETTEXPARAMETERIV - gpGetTexParameterxvOES C.GPGETTEXPARAMETERXVOES - gpGetTextureHandleARB C.GPGETTEXTUREHANDLEARB - gpGetTextureHandleNV C.GPGETTEXTUREHANDLENV - gpGetTextureImage C.GPGETTEXTUREIMAGE - gpGetTextureImageEXT C.GPGETTEXTUREIMAGEEXT - gpGetTextureLevelParameterfv C.GPGETTEXTURELEVELPARAMETERFV - gpGetTextureLevelParameterfvEXT C.GPGETTEXTURELEVELPARAMETERFVEXT - gpGetTextureLevelParameteriv C.GPGETTEXTURELEVELPARAMETERIV - gpGetTextureLevelParameterivEXT C.GPGETTEXTURELEVELPARAMETERIVEXT - gpGetTextureParameterIiv C.GPGETTEXTUREPARAMETERIIV - gpGetTextureParameterIivEXT C.GPGETTEXTUREPARAMETERIIVEXT - gpGetTextureParameterIuiv C.GPGETTEXTUREPARAMETERIUIV - gpGetTextureParameterIuivEXT C.GPGETTEXTUREPARAMETERIUIVEXT - gpGetTextureParameterfv C.GPGETTEXTUREPARAMETERFV - gpGetTextureParameterfvEXT C.GPGETTEXTUREPARAMETERFVEXT - gpGetTextureParameteriv C.GPGETTEXTUREPARAMETERIV - gpGetTextureParameterivEXT C.GPGETTEXTUREPARAMETERIVEXT - gpGetTextureSamplerHandleARB C.GPGETTEXTURESAMPLERHANDLEARB - gpGetTextureSamplerHandleNV C.GPGETTEXTURESAMPLERHANDLENV - gpGetTextureSubImage C.GPGETTEXTURESUBIMAGE - gpGetTrackMatrixivNV C.GPGETTRACKMATRIXIVNV - gpGetTransformFeedbackVaryingEXT C.GPGETTRANSFORMFEEDBACKVARYINGEXT - gpGetTransformFeedbackVaryingNV C.GPGETTRANSFORMFEEDBACKVARYINGNV - gpGetTransformFeedbacki64_v C.GPGETTRANSFORMFEEDBACKI64_V - gpGetTransformFeedbacki_v C.GPGETTRANSFORMFEEDBACKI_V - gpGetTransformFeedbackiv C.GPGETTRANSFORMFEEDBACKIV - gpGetUniformBlockIndex C.GPGETUNIFORMBLOCKINDEX - gpGetUniformBufferSizeEXT C.GPGETUNIFORMBUFFERSIZEEXT - gpGetUniformIndices C.GPGETUNIFORMINDICES - gpGetUniformLocation C.GPGETUNIFORMLOCATION - gpGetUniformLocationARB C.GPGETUNIFORMLOCATIONARB - gpGetUniformOffsetEXT C.GPGETUNIFORMOFFSETEXT - gpGetUniformSubroutineuiv C.GPGETUNIFORMSUBROUTINEUIV - gpGetUniformdv C.GPGETUNIFORMDV - gpGetUniformfv C.GPGETUNIFORMFV - gpGetUniformfvARB C.GPGETUNIFORMFVARB - gpGetUniformi64vARB C.GPGETUNIFORMI64VARB - gpGetUniformi64vNV C.GPGETUNIFORMI64VNV - gpGetUniformiv C.GPGETUNIFORMIV - gpGetUniformivARB C.GPGETUNIFORMIVARB - gpGetUniformui64vARB C.GPGETUNIFORMUI64VARB - gpGetUniformui64vNV C.GPGETUNIFORMUI64VNV - gpGetUniformuivEXT C.GPGETUNIFORMUIVEXT - gpGetUnsignedBytei_vEXT C.GPGETUNSIGNEDBYTEI_VEXT - gpGetUnsignedBytevEXT C.GPGETUNSIGNEDBYTEVEXT - gpGetVariantArrayObjectfvATI C.GPGETVARIANTARRAYOBJECTFVATI - gpGetVariantArrayObjectivATI C.GPGETVARIANTARRAYOBJECTIVATI - gpGetVariantBooleanvEXT C.GPGETVARIANTBOOLEANVEXT - gpGetVariantFloatvEXT C.GPGETVARIANTFLOATVEXT - gpGetVariantIntegervEXT C.GPGETVARIANTINTEGERVEXT - gpGetVariantPointervEXT C.GPGETVARIANTPOINTERVEXT - gpGetVaryingLocationNV C.GPGETVARYINGLOCATIONNV - gpGetVertexArrayIndexed64iv C.GPGETVERTEXARRAYINDEXED64IV - gpGetVertexArrayIndexediv C.GPGETVERTEXARRAYINDEXEDIV - gpGetVertexArrayIntegeri_vEXT C.GPGETVERTEXARRAYINTEGERI_VEXT - gpGetVertexArrayIntegervEXT C.GPGETVERTEXARRAYINTEGERVEXT - gpGetVertexArrayPointeri_vEXT C.GPGETVERTEXARRAYPOINTERI_VEXT - gpGetVertexArrayPointervEXT C.GPGETVERTEXARRAYPOINTERVEXT - gpGetVertexArrayiv C.GPGETVERTEXARRAYIV - gpGetVertexAttribArrayObjectfvATI C.GPGETVERTEXATTRIBARRAYOBJECTFVATI - gpGetVertexAttribArrayObjectivATI C.GPGETVERTEXATTRIBARRAYOBJECTIVATI - gpGetVertexAttribIivEXT C.GPGETVERTEXATTRIBIIVEXT - gpGetVertexAttribIuivEXT C.GPGETVERTEXATTRIBIUIVEXT - gpGetVertexAttribLdv C.GPGETVERTEXATTRIBLDV - gpGetVertexAttribLdvEXT C.GPGETVERTEXATTRIBLDVEXT - gpGetVertexAttribLi64vNV C.GPGETVERTEXATTRIBLI64VNV - gpGetVertexAttribLui64vARB C.GPGETVERTEXATTRIBLUI64VARB - gpGetVertexAttribLui64vNV C.GPGETVERTEXATTRIBLUI64VNV - gpGetVertexAttribPointerv C.GPGETVERTEXATTRIBPOINTERV - gpGetVertexAttribPointervARB C.GPGETVERTEXATTRIBPOINTERVARB - gpGetVertexAttribPointervNV C.GPGETVERTEXATTRIBPOINTERVNV - gpGetVertexAttribdv C.GPGETVERTEXATTRIBDV - gpGetVertexAttribdvARB C.GPGETVERTEXATTRIBDVARB - gpGetVertexAttribdvNV C.GPGETVERTEXATTRIBDVNV - gpGetVertexAttribfv C.GPGETVERTEXATTRIBFV - gpGetVertexAttribfvARB C.GPGETVERTEXATTRIBFVARB - gpGetVertexAttribfvNV C.GPGETVERTEXATTRIBFVNV - gpGetVertexAttribiv C.GPGETVERTEXATTRIBIV - gpGetVertexAttribivARB C.GPGETVERTEXATTRIBIVARB - gpGetVertexAttribivNV C.GPGETVERTEXATTRIBIVNV - gpGetVideoCaptureStreamdvNV C.GPGETVIDEOCAPTURESTREAMDVNV - gpGetVideoCaptureStreamfvNV C.GPGETVIDEOCAPTURESTREAMFVNV - gpGetVideoCaptureStreamivNV C.GPGETVIDEOCAPTURESTREAMIVNV - gpGetVideoCaptureivNV C.GPGETVIDEOCAPTUREIVNV - gpGetVideoi64vNV C.GPGETVIDEOI64VNV - gpGetVideoivNV C.GPGETVIDEOIVNV - gpGetVideoui64vNV C.GPGETVIDEOUI64VNV - gpGetVideouivNV C.GPGETVIDEOUIVNV - gpGetVkProcAddrNV C.GPGETVKPROCADDRNV - gpGetnCompressedTexImageARB C.GPGETNCOMPRESSEDTEXIMAGEARB - gpGetnTexImageARB C.GPGETNTEXIMAGEARB - gpGetnUniformdvARB C.GPGETNUNIFORMDVARB - gpGetnUniformfv C.GPGETNUNIFORMFV - gpGetnUniformfvARB C.GPGETNUNIFORMFVARB - gpGetnUniformfvKHR C.GPGETNUNIFORMFVKHR - gpGetnUniformi64vARB C.GPGETNUNIFORMI64VARB - gpGetnUniformiv C.GPGETNUNIFORMIV - gpGetnUniformivARB C.GPGETNUNIFORMIVARB - gpGetnUniformivKHR C.GPGETNUNIFORMIVKHR - gpGetnUniformui64vARB C.GPGETNUNIFORMUI64VARB - gpGetnUniformuiv C.GPGETNUNIFORMUIV - gpGetnUniformuivARB C.GPGETNUNIFORMUIVARB - gpGetnUniformuivKHR C.GPGETNUNIFORMUIVKHR - gpGlobalAlphaFactorbSUN C.GPGLOBALALPHAFACTORBSUN - gpGlobalAlphaFactordSUN C.GPGLOBALALPHAFACTORDSUN - gpGlobalAlphaFactorfSUN C.GPGLOBALALPHAFACTORFSUN - gpGlobalAlphaFactoriSUN C.GPGLOBALALPHAFACTORISUN - gpGlobalAlphaFactorsSUN C.GPGLOBALALPHAFACTORSSUN - gpGlobalAlphaFactorubSUN C.GPGLOBALALPHAFACTORUBSUN - gpGlobalAlphaFactoruiSUN C.GPGLOBALALPHAFACTORUISUN - gpGlobalAlphaFactorusSUN C.GPGLOBALALPHAFACTORUSSUN - gpHint C.GPHINT - gpHintPGI C.GPHINTPGI - gpHistogramEXT C.GPHISTOGRAMEXT - gpIglooInterfaceSGIX C.GPIGLOOINTERFACESGIX - gpImageTransformParameterfHP C.GPIMAGETRANSFORMPARAMETERFHP - gpImageTransformParameterfvHP C.GPIMAGETRANSFORMPARAMETERFVHP - gpImageTransformParameteriHP C.GPIMAGETRANSFORMPARAMETERIHP - gpImageTransformParameterivHP C.GPIMAGETRANSFORMPARAMETERIVHP - gpImportMemoryFdEXT C.GPIMPORTMEMORYFDEXT - gpImportMemoryWin32HandleEXT C.GPIMPORTMEMORYWIN32HANDLEEXT - gpImportMemoryWin32NameEXT C.GPIMPORTMEMORYWIN32NAMEEXT - gpImportSemaphoreFdEXT C.GPIMPORTSEMAPHOREFDEXT - gpImportSemaphoreWin32HandleEXT C.GPIMPORTSEMAPHOREWIN32HANDLEEXT - gpImportSemaphoreWin32NameEXT C.GPIMPORTSEMAPHOREWIN32NAMEEXT - gpImportSyncEXT C.GPIMPORTSYNCEXT - gpIndexFormatNV C.GPINDEXFORMATNV - gpIndexFuncEXT C.GPINDEXFUNCEXT - gpIndexMask C.GPINDEXMASK - gpIndexMaterialEXT C.GPINDEXMATERIALEXT - gpIndexPointer C.GPINDEXPOINTER - gpIndexPointerEXT C.GPINDEXPOINTEREXT - gpIndexPointerListIBM C.GPINDEXPOINTERLISTIBM - gpIndexd C.GPINDEXD - gpIndexdv C.GPINDEXDV - gpIndexf C.GPINDEXF - gpIndexfv C.GPINDEXFV - gpIndexi C.GPINDEXI - gpIndexiv C.GPINDEXIV - gpIndexs C.GPINDEXS - gpIndexsv C.GPINDEXSV - gpIndexub C.GPINDEXUB - gpIndexubv C.GPINDEXUBV - gpIndexxOES C.GPINDEXXOES - gpIndexxvOES C.GPINDEXXVOES - gpInitNames C.GPINITNAMES - gpInsertComponentEXT C.GPINSERTCOMPONENTEXT - gpInsertEventMarkerEXT C.GPINSERTEVENTMARKEREXT - gpInstrumentsBufferSGIX C.GPINSTRUMENTSBUFFERSGIX - gpInterleavedArrays C.GPINTERLEAVEDARRAYS - gpInterpolatePathsNV C.GPINTERPOLATEPATHSNV - gpInvalidateBufferData C.GPINVALIDATEBUFFERDATA - gpInvalidateBufferSubData C.GPINVALIDATEBUFFERSUBDATA - gpInvalidateFramebuffer C.GPINVALIDATEFRAMEBUFFER - gpInvalidateNamedFramebufferData C.GPINVALIDATENAMEDFRAMEBUFFERDATA - gpInvalidateNamedFramebufferSubData C.GPINVALIDATENAMEDFRAMEBUFFERSUBDATA - gpInvalidateSubFramebuffer C.GPINVALIDATESUBFRAMEBUFFER - gpInvalidateTexImage C.GPINVALIDATETEXIMAGE - gpInvalidateTexSubImage C.GPINVALIDATETEXSUBIMAGE - gpIsAsyncMarkerSGIX C.GPISASYNCMARKERSGIX - gpIsBuffer C.GPISBUFFER - gpIsBufferARB C.GPISBUFFERARB - gpIsBufferResidentNV C.GPISBUFFERRESIDENTNV - gpIsCommandListNV C.GPISCOMMANDLISTNV - gpIsEnabled C.GPISENABLED - gpIsEnabledIndexedEXT C.GPISENABLEDINDEXEDEXT - gpIsFenceAPPLE C.GPISFENCEAPPLE - gpIsFenceNV C.GPISFENCENV - gpIsFramebuffer C.GPISFRAMEBUFFER - gpIsFramebufferEXT C.GPISFRAMEBUFFEREXT - gpIsImageHandleResidentARB C.GPISIMAGEHANDLERESIDENTARB - gpIsImageHandleResidentNV C.GPISIMAGEHANDLERESIDENTNV - gpIsList C.GPISLIST - gpIsMemoryObjectEXT C.GPISMEMORYOBJECTEXT - gpIsNameAMD C.GPISNAMEAMD - gpIsNamedBufferResidentNV C.GPISNAMEDBUFFERRESIDENTNV - gpIsNamedStringARB C.GPISNAMEDSTRINGARB - gpIsObjectBufferATI C.GPISOBJECTBUFFERATI - gpIsOcclusionQueryNV C.GPISOCCLUSIONQUERYNV - gpIsPathNV C.GPISPATHNV - gpIsPointInFillPathNV C.GPISPOINTINFILLPATHNV - gpIsPointInStrokePathNV C.GPISPOINTINSTROKEPATHNV - gpIsProgram C.GPISPROGRAM - gpIsProgramARB C.GPISPROGRAMARB - gpIsProgramNV C.GPISPROGRAMNV - gpIsProgramPipeline C.GPISPROGRAMPIPELINE - gpIsProgramPipelineEXT C.GPISPROGRAMPIPELINEEXT - gpIsQuery C.GPISQUERY - gpIsQueryARB C.GPISQUERYARB - gpIsRenderbuffer C.GPISRENDERBUFFER - gpIsRenderbufferEXT C.GPISRENDERBUFFEREXT - gpIsSampler C.GPISSAMPLER - gpIsSemaphoreEXT C.GPISSEMAPHOREEXT - gpIsShader C.GPISSHADER - gpIsStateNV C.GPISSTATENV - gpIsSync C.GPISSYNC - gpIsTexture C.GPISTEXTURE - gpIsTextureEXT C.GPISTEXTUREEXT - gpIsTextureHandleResidentARB C.GPISTEXTUREHANDLERESIDENTARB - gpIsTextureHandleResidentNV C.GPISTEXTUREHANDLERESIDENTNV - gpIsTransformFeedback C.GPISTRANSFORMFEEDBACK - gpIsTransformFeedbackNV C.GPISTRANSFORMFEEDBACKNV - gpIsVariantEnabledEXT C.GPISVARIANTENABLEDEXT - gpIsVertexArray C.GPISVERTEXARRAY - gpIsVertexArrayAPPLE C.GPISVERTEXARRAYAPPLE - gpIsVertexAttribEnabledAPPLE C.GPISVERTEXATTRIBENABLEDAPPLE - gpLGPUCopyImageSubDataNVX C.GPLGPUCOPYIMAGESUBDATANVX - gpLGPUInterlockNVX C.GPLGPUINTERLOCKNVX - gpLGPUNamedBufferSubDataNVX C.GPLGPUNAMEDBUFFERSUBDATANVX - gpLabelObjectEXT C.GPLABELOBJECTEXT - gpLightEnviSGIX C.GPLIGHTENVISGIX - gpLightModelf C.GPLIGHTMODELF - gpLightModelfv C.GPLIGHTMODELFV - gpLightModeli C.GPLIGHTMODELI - gpLightModeliv C.GPLIGHTMODELIV - gpLightModelxOES C.GPLIGHTMODELXOES - gpLightModelxvOES C.GPLIGHTMODELXVOES - gpLightf C.GPLIGHTF - gpLightfv C.GPLIGHTFV - gpLighti C.GPLIGHTI - gpLightiv C.GPLIGHTIV - gpLightxOES C.GPLIGHTXOES - gpLightxvOES C.GPLIGHTXVOES - gpLineStipple C.GPLINESTIPPLE - gpLineWidth C.GPLINEWIDTH - gpLineWidthxOES C.GPLINEWIDTHXOES - gpLinkProgram C.GPLINKPROGRAM - gpLinkProgramARB C.GPLINKPROGRAMARB - gpListBase C.GPLISTBASE - gpListDrawCommandsStatesClientNV C.GPLISTDRAWCOMMANDSSTATESCLIENTNV - gpListParameterfSGIX C.GPLISTPARAMETERFSGIX - gpListParameterfvSGIX C.GPLISTPARAMETERFVSGIX - gpListParameteriSGIX C.GPLISTPARAMETERISGIX - gpListParameterivSGIX C.GPLISTPARAMETERIVSGIX - gpLoadIdentity C.GPLOADIDENTITY - gpLoadIdentityDeformationMapSGIX C.GPLOADIDENTITYDEFORMATIONMAPSGIX - gpLoadMatrixd C.GPLOADMATRIXD - gpLoadMatrixf C.GPLOADMATRIXF - gpLoadMatrixxOES C.GPLOADMATRIXXOES - gpLoadName C.GPLOADNAME - gpLoadProgramNV C.GPLOADPROGRAMNV - gpLoadTransposeMatrixd C.GPLOADTRANSPOSEMATRIXD - gpLoadTransposeMatrixdARB C.GPLOADTRANSPOSEMATRIXDARB - gpLoadTransposeMatrixf C.GPLOADTRANSPOSEMATRIXF - gpLoadTransposeMatrixfARB C.GPLOADTRANSPOSEMATRIXFARB - gpLoadTransposeMatrixxOES C.GPLOADTRANSPOSEMATRIXXOES - gpLockArraysEXT C.GPLOCKARRAYSEXT - gpLogicOp C.GPLOGICOP - gpMakeBufferNonResidentNV C.GPMAKEBUFFERNONRESIDENTNV - gpMakeBufferResidentNV C.GPMAKEBUFFERRESIDENTNV - gpMakeImageHandleNonResidentARB C.GPMAKEIMAGEHANDLENONRESIDENTARB - gpMakeImageHandleNonResidentNV C.GPMAKEIMAGEHANDLENONRESIDENTNV - gpMakeImageHandleResidentARB C.GPMAKEIMAGEHANDLERESIDENTARB - gpMakeImageHandleResidentNV C.GPMAKEIMAGEHANDLERESIDENTNV - gpMakeNamedBufferNonResidentNV C.GPMAKENAMEDBUFFERNONRESIDENTNV - gpMakeNamedBufferResidentNV C.GPMAKENAMEDBUFFERRESIDENTNV - gpMakeTextureHandleNonResidentARB C.GPMAKETEXTUREHANDLENONRESIDENTARB - gpMakeTextureHandleNonResidentNV C.GPMAKETEXTUREHANDLENONRESIDENTNV - gpMakeTextureHandleResidentARB C.GPMAKETEXTUREHANDLERESIDENTARB - gpMakeTextureHandleResidentNV C.GPMAKETEXTUREHANDLERESIDENTNV - gpMap1d C.GPMAP1D - gpMap1f C.GPMAP1F - gpMap1xOES C.GPMAP1XOES - gpMap2d C.GPMAP2D - gpMap2f C.GPMAP2F - gpMap2xOES C.GPMAP2XOES - gpMapBuffer C.GPMAPBUFFER - gpMapBufferARB C.GPMAPBUFFERARB - gpMapBufferRange C.GPMAPBUFFERRANGE - gpMapControlPointsNV C.GPMAPCONTROLPOINTSNV - gpMapGrid1d C.GPMAPGRID1D - gpMapGrid1f C.GPMAPGRID1F - gpMapGrid1xOES C.GPMAPGRID1XOES - gpMapGrid2d C.GPMAPGRID2D - gpMapGrid2f C.GPMAPGRID2F - gpMapGrid2xOES C.GPMAPGRID2XOES - gpMapNamedBuffer C.GPMAPNAMEDBUFFER - gpMapNamedBufferEXT C.GPMAPNAMEDBUFFEREXT - gpMapNamedBufferRange C.GPMAPNAMEDBUFFERRANGE - gpMapNamedBufferRangeEXT C.GPMAPNAMEDBUFFERRANGEEXT - gpMapObjectBufferATI C.GPMAPOBJECTBUFFERATI - gpMapParameterfvNV C.GPMAPPARAMETERFVNV - gpMapParameterivNV C.GPMAPPARAMETERIVNV - gpMapTexture2DINTEL C.GPMAPTEXTURE2DINTEL - gpMapVertexAttrib1dAPPLE C.GPMAPVERTEXATTRIB1DAPPLE - gpMapVertexAttrib1fAPPLE C.GPMAPVERTEXATTRIB1FAPPLE - gpMapVertexAttrib2dAPPLE C.GPMAPVERTEXATTRIB2DAPPLE - gpMapVertexAttrib2fAPPLE C.GPMAPVERTEXATTRIB2FAPPLE - gpMaterialf C.GPMATERIALF - gpMaterialfv C.GPMATERIALFV - gpMateriali C.GPMATERIALI - gpMaterialiv C.GPMATERIALIV - gpMaterialxOES C.GPMATERIALXOES - gpMaterialxvOES C.GPMATERIALXVOES - gpMatrixFrustumEXT C.GPMATRIXFRUSTUMEXT - gpMatrixIndexPointerARB C.GPMATRIXINDEXPOINTERARB - gpMatrixIndexubvARB C.GPMATRIXINDEXUBVARB - gpMatrixIndexuivARB C.GPMATRIXINDEXUIVARB - gpMatrixIndexusvARB C.GPMATRIXINDEXUSVARB - gpMatrixLoad3x2fNV C.GPMATRIXLOAD3X2FNV - gpMatrixLoad3x3fNV C.GPMATRIXLOAD3X3FNV - gpMatrixLoadIdentityEXT C.GPMATRIXLOADIDENTITYEXT - gpMatrixLoadTranspose3x3fNV C.GPMATRIXLOADTRANSPOSE3X3FNV - gpMatrixLoadTransposedEXT C.GPMATRIXLOADTRANSPOSEDEXT - gpMatrixLoadTransposefEXT C.GPMATRIXLOADTRANSPOSEFEXT - gpMatrixLoaddEXT C.GPMATRIXLOADDEXT - gpMatrixLoadfEXT C.GPMATRIXLOADFEXT - gpMatrixMode C.GPMATRIXMODE - gpMatrixMult3x2fNV C.GPMATRIXMULT3X2FNV - gpMatrixMult3x3fNV C.GPMATRIXMULT3X3FNV - gpMatrixMultTranspose3x3fNV C.GPMATRIXMULTTRANSPOSE3X3FNV - gpMatrixMultTransposedEXT C.GPMATRIXMULTTRANSPOSEDEXT - gpMatrixMultTransposefEXT C.GPMATRIXMULTTRANSPOSEFEXT - gpMatrixMultdEXT C.GPMATRIXMULTDEXT - gpMatrixMultfEXT C.GPMATRIXMULTFEXT - gpMatrixOrthoEXT C.GPMATRIXORTHOEXT - gpMatrixPopEXT C.GPMATRIXPOPEXT - gpMatrixPushEXT C.GPMATRIXPUSHEXT - gpMatrixRotatedEXT C.GPMATRIXROTATEDEXT - gpMatrixRotatefEXT C.GPMATRIXROTATEFEXT - gpMatrixScaledEXT C.GPMATRIXSCALEDEXT - gpMatrixScalefEXT C.GPMATRIXSCALEFEXT - gpMatrixTranslatedEXT C.GPMATRIXTRANSLATEDEXT - gpMatrixTranslatefEXT C.GPMATRIXTRANSLATEFEXT - gpMaxShaderCompilerThreadsARB C.GPMAXSHADERCOMPILERTHREADSARB - gpMaxShaderCompilerThreadsKHR C.GPMAXSHADERCOMPILERTHREADSKHR - gpMemoryBarrier C.GPMEMORYBARRIER - gpMemoryBarrierByRegion C.GPMEMORYBARRIERBYREGION - gpMemoryBarrierEXT C.GPMEMORYBARRIEREXT - gpMemoryObjectParameterivEXT C.GPMEMORYOBJECTPARAMETERIVEXT - gpMinSampleShadingARB C.GPMINSAMPLESHADINGARB - gpMinmaxEXT C.GPMINMAXEXT - gpMultMatrixd C.GPMULTMATRIXD - gpMultMatrixf C.GPMULTMATRIXF - gpMultMatrixxOES C.GPMULTMATRIXXOES - gpMultTransposeMatrixd C.GPMULTTRANSPOSEMATRIXD - gpMultTransposeMatrixdARB C.GPMULTTRANSPOSEMATRIXDARB - gpMultTransposeMatrixf C.GPMULTTRANSPOSEMATRIXF - gpMultTransposeMatrixfARB C.GPMULTTRANSPOSEMATRIXFARB - gpMultTransposeMatrixxOES C.GPMULTTRANSPOSEMATRIXXOES - gpMultiDrawArrays C.GPMULTIDRAWARRAYS - gpMultiDrawArraysEXT C.GPMULTIDRAWARRAYSEXT - gpMultiDrawArraysIndirect C.GPMULTIDRAWARRAYSINDIRECT - gpMultiDrawArraysIndirectAMD C.GPMULTIDRAWARRAYSINDIRECTAMD - gpMultiDrawArraysIndirectBindlessCountNV C.GPMULTIDRAWARRAYSINDIRECTBINDLESSCOUNTNV - gpMultiDrawArraysIndirectBindlessNV C.GPMULTIDRAWARRAYSINDIRECTBINDLESSNV - gpMultiDrawArraysIndirectCountARB C.GPMULTIDRAWARRAYSINDIRECTCOUNTARB - gpMultiDrawElementArrayAPPLE C.GPMULTIDRAWELEMENTARRAYAPPLE - gpMultiDrawElements C.GPMULTIDRAWELEMENTS - gpMultiDrawElementsBaseVertex C.GPMULTIDRAWELEMENTSBASEVERTEX - gpMultiDrawElementsEXT C.GPMULTIDRAWELEMENTSEXT - gpMultiDrawElementsIndirect C.GPMULTIDRAWELEMENTSINDIRECT - gpMultiDrawElementsIndirectAMD C.GPMULTIDRAWELEMENTSINDIRECTAMD - gpMultiDrawElementsIndirectBindlessCountNV C.GPMULTIDRAWELEMENTSINDIRECTBINDLESSCOUNTNV - gpMultiDrawElementsIndirectBindlessNV C.GPMULTIDRAWELEMENTSINDIRECTBINDLESSNV - gpMultiDrawElementsIndirectCountARB C.GPMULTIDRAWELEMENTSINDIRECTCOUNTARB - gpMultiDrawRangeElementArrayAPPLE C.GPMULTIDRAWRANGEELEMENTARRAYAPPLE - gpMultiModeDrawArraysIBM C.GPMULTIMODEDRAWARRAYSIBM - gpMultiModeDrawElementsIBM C.GPMULTIMODEDRAWELEMENTSIBM - gpMultiTexBufferEXT C.GPMULTITEXBUFFEREXT - gpMultiTexCoord1bOES C.GPMULTITEXCOORD1BOES - gpMultiTexCoord1bvOES C.GPMULTITEXCOORD1BVOES - gpMultiTexCoord1d C.GPMULTITEXCOORD1D - gpMultiTexCoord1dARB C.GPMULTITEXCOORD1DARB - gpMultiTexCoord1dv C.GPMULTITEXCOORD1DV - gpMultiTexCoord1dvARB C.GPMULTITEXCOORD1DVARB - gpMultiTexCoord1f C.GPMULTITEXCOORD1F - gpMultiTexCoord1fARB C.GPMULTITEXCOORD1FARB - gpMultiTexCoord1fv C.GPMULTITEXCOORD1FV - gpMultiTexCoord1fvARB C.GPMULTITEXCOORD1FVARB - gpMultiTexCoord1hNV C.GPMULTITEXCOORD1HNV - gpMultiTexCoord1hvNV C.GPMULTITEXCOORD1HVNV - gpMultiTexCoord1i C.GPMULTITEXCOORD1I - gpMultiTexCoord1iARB C.GPMULTITEXCOORD1IARB - gpMultiTexCoord1iv C.GPMULTITEXCOORD1IV - gpMultiTexCoord1ivARB C.GPMULTITEXCOORD1IVARB - gpMultiTexCoord1s C.GPMULTITEXCOORD1S - gpMultiTexCoord1sARB C.GPMULTITEXCOORD1SARB - gpMultiTexCoord1sv C.GPMULTITEXCOORD1SV - gpMultiTexCoord1svARB C.GPMULTITEXCOORD1SVARB - gpMultiTexCoord1xOES C.GPMULTITEXCOORD1XOES - gpMultiTexCoord1xvOES C.GPMULTITEXCOORD1XVOES - gpMultiTexCoord2bOES C.GPMULTITEXCOORD2BOES - gpMultiTexCoord2bvOES C.GPMULTITEXCOORD2BVOES - gpMultiTexCoord2d C.GPMULTITEXCOORD2D - gpMultiTexCoord2dARB C.GPMULTITEXCOORD2DARB - gpMultiTexCoord2dv C.GPMULTITEXCOORD2DV - gpMultiTexCoord2dvARB C.GPMULTITEXCOORD2DVARB - gpMultiTexCoord2f C.GPMULTITEXCOORD2F - gpMultiTexCoord2fARB C.GPMULTITEXCOORD2FARB - gpMultiTexCoord2fv C.GPMULTITEXCOORD2FV - gpMultiTexCoord2fvARB C.GPMULTITEXCOORD2FVARB - gpMultiTexCoord2hNV C.GPMULTITEXCOORD2HNV - gpMultiTexCoord2hvNV C.GPMULTITEXCOORD2HVNV - gpMultiTexCoord2i C.GPMULTITEXCOORD2I - gpMultiTexCoord2iARB C.GPMULTITEXCOORD2IARB - gpMultiTexCoord2iv C.GPMULTITEXCOORD2IV - gpMultiTexCoord2ivARB C.GPMULTITEXCOORD2IVARB - gpMultiTexCoord2s C.GPMULTITEXCOORD2S - gpMultiTexCoord2sARB C.GPMULTITEXCOORD2SARB - gpMultiTexCoord2sv C.GPMULTITEXCOORD2SV - gpMultiTexCoord2svARB C.GPMULTITEXCOORD2SVARB - gpMultiTexCoord2xOES C.GPMULTITEXCOORD2XOES - gpMultiTexCoord2xvOES C.GPMULTITEXCOORD2XVOES - gpMultiTexCoord3bOES C.GPMULTITEXCOORD3BOES - gpMultiTexCoord3bvOES C.GPMULTITEXCOORD3BVOES - gpMultiTexCoord3d C.GPMULTITEXCOORD3D - gpMultiTexCoord3dARB C.GPMULTITEXCOORD3DARB - gpMultiTexCoord3dv C.GPMULTITEXCOORD3DV - gpMultiTexCoord3dvARB C.GPMULTITEXCOORD3DVARB - gpMultiTexCoord3f C.GPMULTITEXCOORD3F - gpMultiTexCoord3fARB C.GPMULTITEXCOORD3FARB - gpMultiTexCoord3fv C.GPMULTITEXCOORD3FV - gpMultiTexCoord3fvARB C.GPMULTITEXCOORD3FVARB - gpMultiTexCoord3hNV C.GPMULTITEXCOORD3HNV - gpMultiTexCoord3hvNV C.GPMULTITEXCOORD3HVNV - gpMultiTexCoord3i C.GPMULTITEXCOORD3I - gpMultiTexCoord3iARB C.GPMULTITEXCOORD3IARB - gpMultiTexCoord3iv C.GPMULTITEXCOORD3IV - gpMultiTexCoord3ivARB C.GPMULTITEXCOORD3IVARB - gpMultiTexCoord3s C.GPMULTITEXCOORD3S - gpMultiTexCoord3sARB C.GPMULTITEXCOORD3SARB - gpMultiTexCoord3sv C.GPMULTITEXCOORD3SV - gpMultiTexCoord3svARB C.GPMULTITEXCOORD3SVARB - gpMultiTexCoord3xOES C.GPMULTITEXCOORD3XOES - gpMultiTexCoord3xvOES C.GPMULTITEXCOORD3XVOES - gpMultiTexCoord4bOES C.GPMULTITEXCOORD4BOES - gpMultiTexCoord4bvOES C.GPMULTITEXCOORD4BVOES - gpMultiTexCoord4d C.GPMULTITEXCOORD4D - gpMultiTexCoord4dARB C.GPMULTITEXCOORD4DARB - gpMultiTexCoord4dv C.GPMULTITEXCOORD4DV - gpMultiTexCoord4dvARB C.GPMULTITEXCOORD4DVARB - gpMultiTexCoord4f C.GPMULTITEXCOORD4F - gpMultiTexCoord4fARB C.GPMULTITEXCOORD4FARB - gpMultiTexCoord4fv C.GPMULTITEXCOORD4FV - gpMultiTexCoord4fvARB C.GPMULTITEXCOORD4FVARB - gpMultiTexCoord4hNV C.GPMULTITEXCOORD4HNV - gpMultiTexCoord4hvNV C.GPMULTITEXCOORD4HVNV - gpMultiTexCoord4i C.GPMULTITEXCOORD4I - gpMultiTexCoord4iARB C.GPMULTITEXCOORD4IARB - gpMultiTexCoord4iv C.GPMULTITEXCOORD4IV - gpMultiTexCoord4ivARB C.GPMULTITEXCOORD4IVARB - gpMultiTexCoord4s C.GPMULTITEXCOORD4S - gpMultiTexCoord4sARB C.GPMULTITEXCOORD4SARB - gpMultiTexCoord4sv C.GPMULTITEXCOORD4SV - gpMultiTexCoord4svARB C.GPMULTITEXCOORD4SVARB - gpMultiTexCoord4xOES C.GPMULTITEXCOORD4XOES - gpMultiTexCoord4xvOES C.GPMULTITEXCOORD4XVOES - gpMultiTexCoordPointerEXT C.GPMULTITEXCOORDPOINTEREXT - gpMultiTexEnvfEXT C.GPMULTITEXENVFEXT - gpMultiTexEnvfvEXT C.GPMULTITEXENVFVEXT - gpMultiTexEnviEXT C.GPMULTITEXENVIEXT - gpMultiTexEnvivEXT C.GPMULTITEXENVIVEXT - gpMultiTexGendEXT C.GPMULTITEXGENDEXT - gpMultiTexGendvEXT C.GPMULTITEXGENDVEXT - gpMultiTexGenfEXT C.GPMULTITEXGENFEXT - gpMultiTexGenfvEXT C.GPMULTITEXGENFVEXT - gpMultiTexGeniEXT C.GPMULTITEXGENIEXT - gpMultiTexGenivEXT C.GPMULTITEXGENIVEXT - gpMultiTexImage1DEXT C.GPMULTITEXIMAGE1DEXT - gpMultiTexImage2DEXT C.GPMULTITEXIMAGE2DEXT - gpMultiTexImage3DEXT C.GPMULTITEXIMAGE3DEXT - gpMultiTexParameterIivEXT C.GPMULTITEXPARAMETERIIVEXT - gpMultiTexParameterIuivEXT C.GPMULTITEXPARAMETERIUIVEXT - gpMultiTexParameterfEXT C.GPMULTITEXPARAMETERFEXT - gpMultiTexParameterfvEXT C.GPMULTITEXPARAMETERFVEXT - gpMultiTexParameteriEXT C.GPMULTITEXPARAMETERIEXT - gpMultiTexParameterivEXT C.GPMULTITEXPARAMETERIVEXT - gpMultiTexRenderbufferEXT C.GPMULTITEXRENDERBUFFEREXT - gpMultiTexSubImage1DEXT C.GPMULTITEXSUBIMAGE1DEXT - gpMultiTexSubImage2DEXT C.GPMULTITEXSUBIMAGE2DEXT - gpMultiTexSubImage3DEXT C.GPMULTITEXSUBIMAGE3DEXT - gpMulticastBarrierNV C.GPMULTICASTBARRIERNV - gpMulticastBlitFramebufferNV C.GPMULTICASTBLITFRAMEBUFFERNV - gpMulticastBufferSubDataNV C.GPMULTICASTBUFFERSUBDATANV - gpMulticastCopyBufferSubDataNV C.GPMULTICASTCOPYBUFFERSUBDATANV - gpMulticastCopyImageSubDataNV C.GPMULTICASTCOPYIMAGESUBDATANV - gpMulticastFramebufferSampleLocationsfvNV C.GPMULTICASTFRAMEBUFFERSAMPLELOCATIONSFVNV - gpMulticastGetQueryObjecti64vNV C.GPMULTICASTGETQUERYOBJECTI64VNV - gpMulticastGetQueryObjectivNV C.GPMULTICASTGETQUERYOBJECTIVNV - gpMulticastGetQueryObjectui64vNV C.GPMULTICASTGETQUERYOBJECTUI64VNV - gpMulticastGetQueryObjectuivNV C.GPMULTICASTGETQUERYOBJECTUIVNV - gpMulticastWaitSyncNV C.GPMULTICASTWAITSYNCNV - gpNamedBufferData C.GPNAMEDBUFFERDATA - gpNamedBufferDataEXT C.GPNAMEDBUFFERDATAEXT - gpNamedBufferPageCommitmentARB C.GPNAMEDBUFFERPAGECOMMITMENTARB - gpNamedBufferPageCommitmentEXT C.GPNAMEDBUFFERPAGECOMMITMENTEXT - gpNamedBufferStorage C.GPNAMEDBUFFERSTORAGE - gpNamedBufferStorageEXT C.GPNAMEDBUFFERSTORAGEEXT - gpNamedBufferStorageExternalEXT C.GPNAMEDBUFFERSTORAGEEXTERNALEXT - gpNamedBufferStorageMemEXT C.GPNAMEDBUFFERSTORAGEMEMEXT - gpNamedBufferSubData C.GPNAMEDBUFFERSUBDATA - gpNamedBufferSubDataEXT C.GPNAMEDBUFFERSUBDATAEXT - gpNamedCopyBufferSubDataEXT C.GPNAMEDCOPYBUFFERSUBDATAEXT - gpNamedFramebufferDrawBuffer C.GPNAMEDFRAMEBUFFERDRAWBUFFER - gpNamedFramebufferDrawBuffers C.GPNAMEDFRAMEBUFFERDRAWBUFFERS - gpNamedFramebufferParameteri C.GPNAMEDFRAMEBUFFERPARAMETERI - gpNamedFramebufferParameteriEXT C.GPNAMEDFRAMEBUFFERPARAMETERIEXT - gpNamedFramebufferReadBuffer C.GPNAMEDFRAMEBUFFERREADBUFFER - gpNamedFramebufferRenderbuffer C.GPNAMEDFRAMEBUFFERRENDERBUFFER - gpNamedFramebufferRenderbufferEXT C.GPNAMEDFRAMEBUFFERRENDERBUFFEREXT - gpNamedFramebufferSampleLocationsfvARB C.GPNAMEDFRAMEBUFFERSAMPLELOCATIONSFVARB - gpNamedFramebufferSampleLocationsfvNV C.GPNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNV - gpNamedFramebufferSamplePositionsfvAMD C.GPNAMEDFRAMEBUFFERSAMPLEPOSITIONSFVAMD - gpNamedFramebufferTexture C.GPNAMEDFRAMEBUFFERTEXTURE - gpNamedFramebufferTexture1DEXT C.GPNAMEDFRAMEBUFFERTEXTURE1DEXT - gpNamedFramebufferTexture2DEXT C.GPNAMEDFRAMEBUFFERTEXTURE2DEXT - gpNamedFramebufferTexture3DEXT C.GPNAMEDFRAMEBUFFERTEXTURE3DEXT - gpNamedFramebufferTextureEXT C.GPNAMEDFRAMEBUFFERTEXTUREEXT - gpNamedFramebufferTextureFaceEXT C.GPNAMEDFRAMEBUFFERTEXTUREFACEEXT - gpNamedFramebufferTextureLayer C.GPNAMEDFRAMEBUFFERTEXTURELAYER - gpNamedFramebufferTextureLayerEXT C.GPNAMEDFRAMEBUFFERTEXTURELAYEREXT - gpNamedProgramLocalParameter4dEXT C.GPNAMEDPROGRAMLOCALPARAMETER4DEXT - gpNamedProgramLocalParameter4dvEXT C.GPNAMEDPROGRAMLOCALPARAMETER4DVEXT - gpNamedProgramLocalParameter4fEXT C.GPNAMEDPROGRAMLOCALPARAMETER4FEXT - gpNamedProgramLocalParameter4fvEXT C.GPNAMEDPROGRAMLOCALPARAMETER4FVEXT - gpNamedProgramLocalParameterI4iEXT C.GPNAMEDPROGRAMLOCALPARAMETERI4IEXT - gpNamedProgramLocalParameterI4ivEXT C.GPNAMEDPROGRAMLOCALPARAMETERI4IVEXT - gpNamedProgramLocalParameterI4uiEXT C.GPNAMEDPROGRAMLOCALPARAMETERI4UIEXT - gpNamedProgramLocalParameterI4uivEXT C.GPNAMEDPROGRAMLOCALPARAMETERI4UIVEXT - gpNamedProgramLocalParameters4fvEXT C.GPNAMEDPROGRAMLOCALPARAMETERS4FVEXT - gpNamedProgramLocalParametersI4ivEXT C.GPNAMEDPROGRAMLOCALPARAMETERSI4IVEXT - gpNamedProgramLocalParametersI4uivEXT C.GPNAMEDPROGRAMLOCALPARAMETERSI4UIVEXT - gpNamedProgramStringEXT C.GPNAMEDPROGRAMSTRINGEXT - gpNamedRenderbufferStorage C.GPNAMEDRENDERBUFFERSTORAGE - gpNamedRenderbufferStorageEXT C.GPNAMEDRENDERBUFFERSTORAGEEXT - gpNamedRenderbufferStorageMultisample C.GPNAMEDRENDERBUFFERSTORAGEMULTISAMPLE - gpNamedRenderbufferStorageMultisampleCoverageEXT C.GPNAMEDRENDERBUFFERSTORAGEMULTISAMPLECOVERAGEEXT - gpNamedRenderbufferStorageMultisampleEXT C.GPNAMEDRENDERBUFFERSTORAGEMULTISAMPLEEXT - gpNamedStringARB C.GPNAMEDSTRINGARB - gpNewList C.GPNEWLIST - gpNewObjectBufferATI C.GPNEWOBJECTBUFFERATI - gpNormal3b C.GPNORMAL3B - gpNormal3bv C.GPNORMAL3BV - gpNormal3d C.GPNORMAL3D - gpNormal3dv C.GPNORMAL3DV - gpNormal3f C.GPNORMAL3F - gpNormal3fVertex3fSUN C.GPNORMAL3FVERTEX3FSUN - gpNormal3fVertex3fvSUN C.GPNORMAL3FVERTEX3FVSUN - gpNormal3fv C.GPNORMAL3FV - gpNormal3hNV C.GPNORMAL3HNV - gpNormal3hvNV C.GPNORMAL3HVNV - gpNormal3i C.GPNORMAL3I - gpNormal3iv C.GPNORMAL3IV - gpNormal3s C.GPNORMAL3S - gpNormal3sv C.GPNORMAL3SV - gpNormal3xOES C.GPNORMAL3XOES - gpNormal3xvOES C.GPNORMAL3XVOES - gpNormalFormatNV C.GPNORMALFORMATNV - gpNormalPointer C.GPNORMALPOINTER - gpNormalPointerEXT C.GPNORMALPOINTEREXT - gpNormalPointerListIBM C.GPNORMALPOINTERLISTIBM - gpNormalPointervINTEL C.GPNORMALPOINTERVINTEL - gpNormalStream3bATI C.GPNORMALSTREAM3BATI - gpNormalStream3bvATI C.GPNORMALSTREAM3BVATI - gpNormalStream3dATI C.GPNORMALSTREAM3DATI - gpNormalStream3dvATI C.GPNORMALSTREAM3DVATI - gpNormalStream3fATI C.GPNORMALSTREAM3FATI - gpNormalStream3fvATI C.GPNORMALSTREAM3FVATI - gpNormalStream3iATI C.GPNORMALSTREAM3IATI - gpNormalStream3ivATI C.GPNORMALSTREAM3IVATI - gpNormalStream3sATI C.GPNORMALSTREAM3SATI - gpNormalStream3svATI C.GPNORMALSTREAM3SVATI - gpObjectLabel C.GPOBJECTLABEL - gpObjectLabelKHR C.GPOBJECTLABELKHR - gpObjectPtrLabel C.GPOBJECTPTRLABEL - gpObjectPtrLabelKHR C.GPOBJECTPTRLABELKHR - gpObjectPurgeableAPPLE C.GPOBJECTPURGEABLEAPPLE - gpObjectUnpurgeableAPPLE C.GPOBJECTUNPURGEABLEAPPLE - gpOrtho C.GPORTHO - gpOrthofOES C.GPORTHOFOES - gpOrthoxOES C.GPORTHOXOES - gpPNTrianglesfATI C.GPPNTRIANGLESFATI - gpPNTrianglesiATI C.GPPNTRIANGLESIATI - gpPassTexCoordATI C.GPPASSTEXCOORDATI - gpPassThrough C.GPPASSTHROUGH - gpPassThroughxOES C.GPPASSTHROUGHXOES - gpPatchParameterfv C.GPPATCHPARAMETERFV - gpPatchParameteri C.GPPATCHPARAMETERI - gpPathCommandsNV C.GPPATHCOMMANDSNV - gpPathCoordsNV C.GPPATHCOORDSNV - gpPathCoverDepthFuncNV C.GPPATHCOVERDEPTHFUNCNV - gpPathDashArrayNV C.GPPATHDASHARRAYNV - gpPathGlyphIndexArrayNV C.GPPATHGLYPHINDEXARRAYNV - gpPathGlyphIndexRangeNV C.GPPATHGLYPHINDEXRANGENV - gpPathGlyphRangeNV C.GPPATHGLYPHRANGENV - gpPathGlyphsNV C.GPPATHGLYPHSNV - gpPathMemoryGlyphIndexArrayNV C.GPPATHMEMORYGLYPHINDEXARRAYNV - gpPathParameterfNV C.GPPATHPARAMETERFNV - gpPathParameterfvNV C.GPPATHPARAMETERFVNV - gpPathParameteriNV C.GPPATHPARAMETERINV - gpPathParameterivNV C.GPPATHPARAMETERIVNV - gpPathStencilDepthOffsetNV C.GPPATHSTENCILDEPTHOFFSETNV - gpPathStencilFuncNV C.GPPATHSTENCILFUNCNV - gpPathStringNV C.GPPATHSTRINGNV - gpPathSubCommandsNV C.GPPATHSUBCOMMANDSNV - gpPathSubCoordsNV C.GPPATHSUBCOORDSNV - gpPauseTransformFeedback C.GPPAUSETRANSFORMFEEDBACK - gpPauseTransformFeedbackNV C.GPPAUSETRANSFORMFEEDBACKNV - gpPixelDataRangeNV C.GPPIXELDATARANGENV - gpPixelMapfv C.GPPIXELMAPFV - gpPixelMapuiv C.GPPIXELMAPUIV - gpPixelMapusv C.GPPIXELMAPUSV - gpPixelMapx C.GPPIXELMAPX - gpPixelStoref C.GPPIXELSTOREF - gpPixelStorei C.GPPIXELSTOREI - gpPixelStorex C.GPPIXELSTOREX - gpPixelTexGenParameterfSGIS C.GPPIXELTEXGENPARAMETERFSGIS - gpPixelTexGenParameterfvSGIS C.GPPIXELTEXGENPARAMETERFVSGIS - gpPixelTexGenParameteriSGIS C.GPPIXELTEXGENPARAMETERISGIS - gpPixelTexGenParameterivSGIS C.GPPIXELTEXGENPARAMETERIVSGIS - gpPixelTexGenSGIX C.GPPIXELTEXGENSGIX - gpPixelTransferf C.GPPIXELTRANSFERF - gpPixelTransferi C.GPPIXELTRANSFERI - gpPixelTransferxOES C.GPPIXELTRANSFERXOES - gpPixelTransformParameterfEXT C.GPPIXELTRANSFORMPARAMETERFEXT - gpPixelTransformParameterfvEXT C.GPPIXELTRANSFORMPARAMETERFVEXT - gpPixelTransformParameteriEXT C.GPPIXELTRANSFORMPARAMETERIEXT - gpPixelTransformParameterivEXT C.GPPIXELTRANSFORMPARAMETERIVEXT - gpPixelZoom C.GPPIXELZOOM - gpPixelZoomxOES C.GPPIXELZOOMXOES - gpPointAlongPathNV C.GPPOINTALONGPATHNV - gpPointParameterf C.GPPOINTPARAMETERF - gpPointParameterfARB C.GPPOINTPARAMETERFARB - gpPointParameterfEXT C.GPPOINTPARAMETERFEXT - gpPointParameterfSGIS C.GPPOINTPARAMETERFSGIS - gpPointParameterfv C.GPPOINTPARAMETERFV - gpPointParameterfvARB C.GPPOINTPARAMETERFVARB - gpPointParameterfvEXT C.GPPOINTPARAMETERFVEXT - gpPointParameterfvSGIS C.GPPOINTPARAMETERFVSGIS - gpPointParameteri C.GPPOINTPARAMETERI - gpPointParameteriNV C.GPPOINTPARAMETERINV - gpPointParameteriv C.GPPOINTPARAMETERIV - gpPointParameterivNV C.GPPOINTPARAMETERIVNV - gpPointParameterxOES C.GPPOINTPARAMETERXOES - gpPointParameterxvOES C.GPPOINTPARAMETERXVOES - gpPointSize C.GPPOINTSIZE - gpPointSizexOES C.GPPOINTSIZEXOES - gpPollAsyncSGIX C.GPPOLLASYNCSGIX - gpPollInstrumentsSGIX C.GPPOLLINSTRUMENTSSGIX - gpPolygonMode C.GPPOLYGONMODE - gpPolygonOffset C.GPPOLYGONOFFSET - gpPolygonOffsetClamp C.GPPOLYGONOFFSETCLAMP - gpPolygonOffsetClampEXT C.GPPOLYGONOFFSETCLAMPEXT - gpPolygonOffsetEXT C.GPPOLYGONOFFSETEXT - gpPolygonOffsetxOES C.GPPOLYGONOFFSETXOES - gpPolygonStipple C.GPPOLYGONSTIPPLE - gpPopAttrib C.GPPOPATTRIB - gpPopClientAttrib C.GPPOPCLIENTATTRIB - gpPopDebugGroup C.GPPOPDEBUGGROUP - gpPopDebugGroupKHR C.GPPOPDEBUGGROUPKHR - gpPopGroupMarkerEXT C.GPPOPGROUPMARKEREXT - gpPopMatrix C.GPPOPMATRIX - gpPopName C.GPPOPNAME - gpPresentFrameDualFillNV C.GPPRESENTFRAMEDUALFILLNV - gpPresentFrameKeyedNV C.GPPRESENTFRAMEKEYEDNV - gpPrimitiveBoundingBoxARB C.GPPRIMITIVEBOUNDINGBOXARB - gpPrimitiveRestartIndexNV C.GPPRIMITIVERESTARTINDEXNV - gpPrimitiveRestartNV C.GPPRIMITIVERESTARTNV - gpPrioritizeTextures C.GPPRIORITIZETEXTURES - gpPrioritizeTexturesEXT C.GPPRIORITIZETEXTURESEXT - gpPrioritizeTexturesxOES C.GPPRIORITIZETEXTURESXOES - gpProgramBinary C.GPPROGRAMBINARY - gpProgramBufferParametersIivNV C.GPPROGRAMBUFFERPARAMETERSIIVNV - gpProgramBufferParametersIuivNV C.GPPROGRAMBUFFERPARAMETERSIUIVNV - gpProgramBufferParametersfvNV C.GPPROGRAMBUFFERPARAMETERSFVNV - gpProgramEnvParameter4dARB C.GPPROGRAMENVPARAMETER4DARB - gpProgramEnvParameter4dvARB C.GPPROGRAMENVPARAMETER4DVARB - gpProgramEnvParameter4fARB C.GPPROGRAMENVPARAMETER4FARB - gpProgramEnvParameter4fvARB C.GPPROGRAMENVPARAMETER4FVARB - gpProgramEnvParameterI4iNV C.GPPROGRAMENVPARAMETERI4INV - gpProgramEnvParameterI4ivNV C.GPPROGRAMENVPARAMETERI4IVNV - gpProgramEnvParameterI4uiNV C.GPPROGRAMENVPARAMETERI4UINV - gpProgramEnvParameterI4uivNV C.GPPROGRAMENVPARAMETERI4UIVNV - gpProgramEnvParameters4fvEXT C.GPPROGRAMENVPARAMETERS4FVEXT - gpProgramEnvParametersI4ivNV C.GPPROGRAMENVPARAMETERSI4IVNV - gpProgramEnvParametersI4uivNV C.GPPROGRAMENVPARAMETERSI4UIVNV - gpProgramLocalParameter4dARB C.GPPROGRAMLOCALPARAMETER4DARB - gpProgramLocalParameter4dvARB C.GPPROGRAMLOCALPARAMETER4DVARB - gpProgramLocalParameter4fARB C.GPPROGRAMLOCALPARAMETER4FARB - gpProgramLocalParameter4fvARB C.GPPROGRAMLOCALPARAMETER4FVARB - gpProgramLocalParameterI4iNV C.GPPROGRAMLOCALPARAMETERI4INV - gpProgramLocalParameterI4ivNV C.GPPROGRAMLOCALPARAMETERI4IVNV - gpProgramLocalParameterI4uiNV C.GPPROGRAMLOCALPARAMETERI4UINV - gpProgramLocalParameterI4uivNV C.GPPROGRAMLOCALPARAMETERI4UIVNV - gpProgramLocalParameters4fvEXT C.GPPROGRAMLOCALPARAMETERS4FVEXT - gpProgramLocalParametersI4ivNV C.GPPROGRAMLOCALPARAMETERSI4IVNV - gpProgramLocalParametersI4uivNV C.GPPROGRAMLOCALPARAMETERSI4UIVNV - gpProgramNamedParameter4dNV C.GPPROGRAMNAMEDPARAMETER4DNV - gpProgramNamedParameter4dvNV C.GPPROGRAMNAMEDPARAMETER4DVNV - gpProgramNamedParameter4fNV C.GPPROGRAMNAMEDPARAMETER4FNV - gpProgramNamedParameter4fvNV C.GPPROGRAMNAMEDPARAMETER4FVNV - gpProgramParameter4dNV C.GPPROGRAMPARAMETER4DNV - gpProgramParameter4dvNV C.GPPROGRAMPARAMETER4DVNV - gpProgramParameter4fNV C.GPPROGRAMPARAMETER4FNV - gpProgramParameter4fvNV C.GPPROGRAMPARAMETER4FVNV - gpProgramParameteri C.GPPROGRAMPARAMETERI - gpProgramParameteriARB C.GPPROGRAMPARAMETERIARB - gpProgramParameteriEXT C.GPPROGRAMPARAMETERIEXT - gpProgramParameters4dvNV C.GPPROGRAMPARAMETERS4DVNV - gpProgramParameters4fvNV C.GPPROGRAMPARAMETERS4FVNV - gpProgramPathFragmentInputGenNV C.GPPROGRAMPATHFRAGMENTINPUTGENNV - gpProgramStringARB C.GPPROGRAMSTRINGARB - gpProgramSubroutineParametersuivNV C.GPPROGRAMSUBROUTINEPARAMETERSUIVNV - gpProgramUniform1d C.GPPROGRAMUNIFORM1D - gpProgramUniform1dEXT C.GPPROGRAMUNIFORM1DEXT - gpProgramUniform1dv C.GPPROGRAMUNIFORM1DV - gpProgramUniform1dvEXT C.GPPROGRAMUNIFORM1DVEXT - gpProgramUniform1f C.GPPROGRAMUNIFORM1F - gpProgramUniform1fEXT C.GPPROGRAMUNIFORM1FEXT - gpProgramUniform1fv C.GPPROGRAMUNIFORM1FV - gpProgramUniform1fvEXT C.GPPROGRAMUNIFORM1FVEXT - gpProgramUniform1i C.GPPROGRAMUNIFORM1I - gpProgramUniform1i64ARB C.GPPROGRAMUNIFORM1I64ARB - gpProgramUniform1i64NV C.GPPROGRAMUNIFORM1I64NV - gpProgramUniform1i64vARB C.GPPROGRAMUNIFORM1I64VARB - gpProgramUniform1i64vNV C.GPPROGRAMUNIFORM1I64VNV - gpProgramUniform1iEXT C.GPPROGRAMUNIFORM1IEXT - gpProgramUniform1iv C.GPPROGRAMUNIFORM1IV - gpProgramUniform1ivEXT C.GPPROGRAMUNIFORM1IVEXT - gpProgramUniform1ui C.GPPROGRAMUNIFORM1UI - gpProgramUniform1ui64ARB C.GPPROGRAMUNIFORM1UI64ARB - gpProgramUniform1ui64NV C.GPPROGRAMUNIFORM1UI64NV - gpProgramUniform1ui64vARB C.GPPROGRAMUNIFORM1UI64VARB - gpProgramUniform1ui64vNV C.GPPROGRAMUNIFORM1UI64VNV - gpProgramUniform1uiEXT C.GPPROGRAMUNIFORM1UIEXT - gpProgramUniform1uiv C.GPPROGRAMUNIFORM1UIV - gpProgramUniform1uivEXT C.GPPROGRAMUNIFORM1UIVEXT - gpProgramUniform2d C.GPPROGRAMUNIFORM2D - gpProgramUniform2dEXT C.GPPROGRAMUNIFORM2DEXT - gpProgramUniform2dv C.GPPROGRAMUNIFORM2DV - gpProgramUniform2dvEXT C.GPPROGRAMUNIFORM2DVEXT - gpProgramUniform2f C.GPPROGRAMUNIFORM2F - gpProgramUniform2fEXT C.GPPROGRAMUNIFORM2FEXT - gpProgramUniform2fv C.GPPROGRAMUNIFORM2FV - gpProgramUniform2fvEXT C.GPPROGRAMUNIFORM2FVEXT - gpProgramUniform2i C.GPPROGRAMUNIFORM2I - gpProgramUniform2i64ARB C.GPPROGRAMUNIFORM2I64ARB - gpProgramUniform2i64NV C.GPPROGRAMUNIFORM2I64NV - gpProgramUniform2i64vARB C.GPPROGRAMUNIFORM2I64VARB - gpProgramUniform2i64vNV C.GPPROGRAMUNIFORM2I64VNV - gpProgramUniform2iEXT C.GPPROGRAMUNIFORM2IEXT - gpProgramUniform2iv C.GPPROGRAMUNIFORM2IV - gpProgramUniform2ivEXT C.GPPROGRAMUNIFORM2IVEXT - gpProgramUniform2ui C.GPPROGRAMUNIFORM2UI - gpProgramUniform2ui64ARB C.GPPROGRAMUNIFORM2UI64ARB - gpProgramUniform2ui64NV C.GPPROGRAMUNIFORM2UI64NV - gpProgramUniform2ui64vARB C.GPPROGRAMUNIFORM2UI64VARB - gpProgramUniform2ui64vNV C.GPPROGRAMUNIFORM2UI64VNV - gpProgramUniform2uiEXT C.GPPROGRAMUNIFORM2UIEXT - gpProgramUniform2uiv C.GPPROGRAMUNIFORM2UIV - gpProgramUniform2uivEXT C.GPPROGRAMUNIFORM2UIVEXT - gpProgramUniform3d C.GPPROGRAMUNIFORM3D - gpProgramUniform3dEXT C.GPPROGRAMUNIFORM3DEXT - gpProgramUniform3dv C.GPPROGRAMUNIFORM3DV - gpProgramUniform3dvEXT C.GPPROGRAMUNIFORM3DVEXT - gpProgramUniform3f C.GPPROGRAMUNIFORM3F - gpProgramUniform3fEXT C.GPPROGRAMUNIFORM3FEXT - gpProgramUniform3fv C.GPPROGRAMUNIFORM3FV - gpProgramUniform3fvEXT C.GPPROGRAMUNIFORM3FVEXT - gpProgramUniform3i C.GPPROGRAMUNIFORM3I - gpProgramUniform3i64ARB C.GPPROGRAMUNIFORM3I64ARB - gpProgramUniform3i64NV C.GPPROGRAMUNIFORM3I64NV - gpProgramUniform3i64vARB C.GPPROGRAMUNIFORM3I64VARB - gpProgramUniform3i64vNV C.GPPROGRAMUNIFORM3I64VNV - gpProgramUniform3iEXT C.GPPROGRAMUNIFORM3IEXT - gpProgramUniform3iv C.GPPROGRAMUNIFORM3IV - gpProgramUniform3ivEXT C.GPPROGRAMUNIFORM3IVEXT - gpProgramUniform3ui C.GPPROGRAMUNIFORM3UI - gpProgramUniform3ui64ARB C.GPPROGRAMUNIFORM3UI64ARB - gpProgramUniform3ui64NV C.GPPROGRAMUNIFORM3UI64NV - gpProgramUniform3ui64vARB C.GPPROGRAMUNIFORM3UI64VARB - gpProgramUniform3ui64vNV C.GPPROGRAMUNIFORM3UI64VNV - gpProgramUniform3uiEXT C.GPPROGRAMUNIFORM3UIEXT - gpProgramUniform3uiv C.GPPROGRAMUNIFORM3UIV - gpProgramUniform3uivEXT C.GPPROGRAMUNIFORM3UIVEXT - gpProgramUniform4d C.GPPROGRAMUNIFORM4D - gpProgramUniform4dEXT C.GPPROGRAMUNIFORM4DEXT - gpProgramUniform4dv C.GPPROGRAMUNIFORM4DV - gpProgramUniform4dvEXT C.GPPROGRAMUNIFORM4DVEXT - gpProgramUniform4f C.GPPROGRAMUNIFORM4F - gpProgramUniform4fEXT C.GPPROGRAMUNIFORM4FEXT - gpProgramUniform4fv C.GPPROGRAMUNIFORM4FV - gpProgramUniform4fvEXT C.GPPROGRAMUNIFORM4FVEXT - gpProgramUniform4i C.GPPROGRAMUNIFORM4I - gpProgramUniform4i64ARB C.GPPROGRAMUNIFORM4I64ARB - gpProgramUniform4i64NV C.GPPROGRAMUNIFORM4I64NV - gpProgramUniform4i64vARB C.GPPROGRAMUNIFORM4I64VARB - gpProgramUniform4i64vNV C.GPPROGRAMUNIFORM4I64VNV - gpProgramUniform4iEXT C.GPPROGRAMUNIFORM4IEXT - gpProgramUniform4iv C.GPPROGRAMUNIFORM4IV - gpProgramUniform4ivEXT C.GPPROGRAMUNIFORM4IVEXT - gpProgramUniform4ui C.GPPROGRAMUNIFORM4UI - gpProgramUniform4ui64ARB C.GPPROGRAMUNIFORM4UI64ARB - gpProgramUniform4ui64NV C.GPPROGRAMUNIFORM4UI64NV - gpProgramUniform4ui64vARB C.GPPROGRAMUNIFORM4UI64VARB - gpProgramUniform4ui64vNV C.GPPROGRAMUNIFORM4UI64VNV - gpProgramUniform4uiEXT C.GPPROGRAMUNIFORM4UIEXT - gpProgramUniform4uiv C.GPPROGRAMUNIFORM4UIV - gpProgramUniform4uivEXT C.GPPROGRAMUNIFORM4UIVEXT - gpProgramUniformHandleui64ARB C.GPPROGRAMUNIFORMHANDLEUI64ARB - gpProgramUniformHandleui64NV C.GPPROGRAMUNIFORMHANDLEUI64NV - gpProgramUniformHandleui64vARB C.GPPROGRAMUNIFORMHANDLEUI64VARB - gpProgramUniformHandleui64vNV C.GPPROGRAMUNIFORMHANDLEUI64VNV - gpProgramUniformMatrix2dv C.GPPROGRAMUNIFORMMATRIX2DV - gpProgramUniformMatrix2dvEXT C.GPPROGRAMUNIFORMMATRIX2DVEXT - gpProgramUniformMatrix2fv C.GPPROGRAMUNIFORMMATRIX2FV - gpProgramUniformMatrix2fvEXT C.GPPROGRAMUNIFORMMATRIX2FVEXT - gpProgramUniformMatrix2x3dv C.GPPROGRAMUNIFORMMATRIX2X3DV - gpProgramUniformMatrix2x3dvEXT C.GPPROGRAMUNIFORMMATRIX2X3DVEXT - gpProgramUniformMatrix2x3fv C.GPPROGRAMUNIFORMMATRIX2X3FV - gpProgramUniformMatrix2x3fvEXT C.GPPROGRAMUNIFORMMATRIX2X3FVEXT - gpProgramUniformMatrix2x4dv C.GPPROGRAMUNIFORMMATRIX2X4DV - gpProgramUniformMatrix2x4dvEXT C.GPPROGRAMUNIFORMMATRIX2X4DVEXT - gpProgramUniformMatrix2x4fv C.GPPROGRAMUNIFORMMATRIX2X4FV - gpProgramUniformMatrix2x4fvEXT C.GPPROGRAMUNIFORMMATRIX2X4FVEXT - gpProgramUniformMatrix3dv C.GPPROGRAMUNIFORMMATRIX3DV - gpProgramUniformMatrix3dvEXT C.GPPROGRAMUNIFORMMATRIX3DVEXT - gpProgramUniformMatrix3fv C.GPPROGRAMUNIFORMMATRIX3FV - gpProgramUniformMatrix3fvEXT C.GPPROGRAMUNIFORMMATRIX3FVEXT - gpProgramUniformMatrix3x2dv C.GPPROGRAMUNIFORMMATRIX3X2DV - gpProgramUniformMatrix3x2dvEXT C.GPPROGRAMUNIFORMMATRIX3X2DVEXT - gpProgramUniformMatrix3x2fv C.GPPROGRAMUNIFORMMATRIX3X2FV - gpProgramUniformMatrix3x2fvEXT C.GPPROGRAMUNIFORMMATRIX3X2FVEXT - gpProgramUniformMatrix3x4dv C.GPPROGRAMUNIFORMMATRIX3X4DV - gpProgramUniformMatrix3x4dvEXT C.GPPROGRAMUNIFORMMATRIX3X4DVEXT - gpProgramUniformMatrix3x4fv C.GPPROGRAMUNIFORMMATRIX3X4FV - gpProgramUniformMatrix3x4fvEXT C.GPPROGRAMUNIFORMMATRIX3X4FVEXT - gpProgramUniformMatrix4dv C.GPPROGRAMUNIFORMMATRIX4DV - gpProgramUniformMatrix4dvEXT C.GPPROGRAMUNIFORMMATRIX4DVEXT - gpProgramUniformMatrix4fv C.GPPROGRAMUNIFORMMATRIX4FV - gpProgramUniformMatrix4fvEXT C.GPPROGRAMUNIFORMMATRIX4FVEXT - gpProgramUniformMatrix4x2dv C.GPPROGRAMUNIFORMMATRIX4X2DV - gpProgramUniformMatrix4x2dvEXT C.GPPROGRAMUNIFORMMATRIX4X2DVEXT - gpProgramUniformMatrix4x2fv C.GPPROGRAMUNIFORMMATRIX4X2FV - gpProgramUniformMatrix4x2fvEXT C.GPPROGRAMUNIFORMMATRIX4X2FVEXT - gpProgramUniformMatrix4x3dv C.GPPROGRAMUNIFORMMATRIX4X3DV - gpProgramUniformMatrix4x3dvEXT C.GPPROGRAMUNIFORMMATRIX4X3DVEXT - gpProgramUniformMatrix4x3fv C.GPPROGRAMUNIFORMMATRIX4X3FV - gpProgramUniformMatrix4x3fvEXT C.GPPROGRAMUNIFORMMATRIX4X3FVEXT - gpProgramUniformui64NV C.GPPROGRAMUNIFORMUI64NV - gpProgramUniformui64vNV C.GPPROGRAMUNIFORMUI64VNV - gpProgramVertexLimitNV C.GPPROGRAMVERTEXLIMITNV - gpProvokingVertex C.GPPROVOKINGVERTEX - gpProvokingVertexEXT C.GPPROVOKINGVERTEXEXT - gpPushAttrib C.GPPUSHATTRIB - gpPushClientAttrib C.GPPUSHCLIENTATTRIB - gpPushClientAttribDefaultEXT C.GPPUSHCLIENTATTRIBDEFAULTEXT - gpPushDebugGroup C.GPPUSHDEBUGGROUP - gpPushDebugGroupKHR C.GPPUSHDEBUGGROUPKHR - gpPushGroupMarkerEXT C.GPPUSHGROUPMARKEREXT - gpPushMatrix C.GPPUSHMATRIX - gpPushName C.GPPUSHNAME - gpQueryCounter C.GPQUERYCOUNTER - gpQueryMatrixxOES C.GPQUERYMATRIXXOES - gpQueryObjectParameteruiAMD C.GPQUERYOBJECTPARAMETERUIAMD - gpQueryResourceNV C.GPQUERYRESOURCENV - gpQueryResourceTagNV C.GPQUERYRESOURCETAGNV - gpRasterPos2d C.GPRASTERPOS2D - gpRasterPos2dv C.GPRASTERPOS2DV - gpRasterPos2f C.GPRASTERPOS2F - gpRasterPos2fv C.GPRASTERPOS2FV - gpRasterPos2i C.GPRASTERPOS2I - gpRasterPos2iv C.GPRASTERPOS2IV - gpRasterPos2s C.GPRASTERPOS2S - gpRasterPos2sv C.GPRASTERPOS2SV - gpRasterPos2xOES C.GPRASTERPOS2XOES - gpRasterPos2xvOES C.GPRASTERPOS2XVOES - gpRasterPos3d C.GPRASTERPOS3D - gpRasterPos3dv C.GPRASTERPOS3DV - gpRasterPos3f C.GPRASTERPOS3F - gpRasterPos3fv C.GPRASTERPOS3FV - gpRasterPos3i C.GPRASTERPOS3I - gpRasterPos3iv C.GPRASTERPOS3IV - gpRasterPos3s C.GPRASTERPOS3S - gpRasterPos3sv C.GPRASTERPOS3SV - gpRasterPos3xOES C.GPRASTERPOS3XOES - gpRasterPos3xvOES C.GPRASTERPOS3XVOES - gpRasterPos4d C.GPRASTERPOS4D - gpRasterPos4dv C.GPRASTERPOS4DV - gpRasterPos4f C.GPRASTERPOS4F - gpRasterPos4fv C.GPRASTERPOS4FV - gpRasterPos4i C.GPRASTERPOS4I - gpRasterPos4iv C.GPRASTERPOS4IV - gpRasterPos4s C.GPRASTERPOS4S - gpRasterPos4sv C.GPRASTERPOS4SV - gpRasterPos4xOES C.GPRASTERPOS4XOES - gpRasterPos4xvOES C.GPRASTERPOS4XVOES - gpRasterSamplesEXT C.GPRASTERSAMPLESEXT - gpReadBuffer C.GPREADBUFFER - gpReadInstrumentsSGIX C.GPREADINSTRUMENTSSGIX - gpReadPixels C.GPREADPIXELS - gpReadnPixels C.GPREADNPIXELS - gpReadnPixelsARB C.GPREADNPIXELSARB - gpReadnPixelsKHR C.GPREADNPIXELSKHR - gpRectd C.GPRECTD - gpRectdv C.GPRECTDV - gpRectf C.GPRECTF - gpRectfv C.GPRECTFV - gpRecti C.GPRECTI - gpRectiv C.GPRECTIV - gpRects C.GPRECTS - gpRectsv C.GPRECTSV - gpRectxOES C.GPRECTXOES - gpRectxvOES C.GPRECTXVOES - gpReferencePlaneSGIX C.GPREFERENCEPLANESGIX - gpReleaseKeyedMutexWin32EXT C.GPRELEASEKEYEDMUTEXWIN32EXT - gpReleaseShaderCompiler C.GPRELEASESHADERCOMPILER - gpRenderGpuMaskNV C.GPRENDERGPUMASKNV - gpRenderMode C.GPRENDERMODE - gpRenderbufferStorage C.GPRENDERBUFFERSTORAGE - gpRenderbufferStorageEXT C.GPRENDERBUFFERSTORAGEEXT - gpRenderbufferStorageMultisample C.GPRENDERBUFFERSTORAGEMULTISAMPLE - gpRenderbufferStorageMultisampleCoverageNV C.GPRENDERBUFFERSTORAGEMULTISAMPLECOVERAGENV - gpRenderbufferStorageMultisampleEXT C.GPRENDERBUFFERSTORAGEMULTISAMPLEEXT - gpReplacementCodePointerSUN C.GPREPLACEMENTCODEPOINTERSUN - gpReplacementCodeubSUN C.GPREPLACEMENTCODEUBSUN - gpReplacementCodeubvSUN C.GPREPLACEMENTCODEUBVSUN - gpReplacementCodeuiColor3fVertex3fSUN C.GPREPLACEMENTCODEUICOLOR3FVERTEX3FSUN - gpReplacementCodeuiColor3fVertex3fvSUN C.GPREPLACEMENTCODEUICOLOR3FVERTEX3FVSUN - gpReplacementCodeuiColor4fNormal3fVertex3fSUN C.GPREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUN - gpReplacementCodeuiColor4fNormal3fVertex3fvSUN C.GPREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUN - gpReplacementCodeuiColor4ubVertex3fSUN C.GPREPLACEMENTCODEUICOLOR4UBVERTEX3FSUN - gpReplacementCodeuiColor4ubVertex3fvSUN C.GPREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUN - gpReplacementCodeuiNormal3fVertex3fSUN C.GPREPLACEMENTCODEUINORMAL3FVERTEX3FSUN - gpReplacementCodeuiNormal3fVertex3fvSUN C.GPREPLACEMENTCODEUINORMAL3FVERTEX3FVSUN - gpReplacementCodeuiSUN C.GPREPLACEMENTCODEUISUN - gpReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN C.GPREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUN - gpReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN C.GPREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUN - gpReplacementCodeuiTexCoord2fNormal3fVertex3fSUN C.GPREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUN - gpReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN C.GPREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUN - gpReplacementCodeuiTexCoord2fVertex3fSUN C.GPREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUN - gpReplacementCodeuiTexCoord2fVertex3fvSUN C.GPREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUN - gpReplacementCodeuiVertex3fSUN C.GPREPLACEMENTCODEUIVERTEX3FSUN - gpReplacementCodeuiVertex3fvSUN C.GPREPLACEMENTCODEUIVERTEX3FVSUN - gpReplacementCodeuivSUN C.GPREPLACEMENTCODEUIVSUN - gpReplacementCodeusSUN C.GPREPLACEMENTCODEUSSUN - gpReplacementCodeusvSUN C.GPREPLACEMENTCODEUSVSUN - gpRequestResidentProgramsNV C.GPREQUESTRESIDENTPROGRAMSNV - gpResetHistogramEXT C.GPRESETHISTOGRAMEXT - gpResetMinmaxEXT C.GPRESETMINMAXEXT - gpResizeBuffersMESA C.GPRESIZEBUFFERSMESA - gpResolveDepthValuesNV C.GPRESOLVEDEPTHVALUESNV - gpResumeTransformFeedback C.GPRESUMETRANSFORMFEEDBACK - gpResumeTransformFeedbackNV C.GPRESUMETRANSFORMFEEDBACKNV - gpRotated C.GPROTATED - gpRotatef C.GPROTATEF - gpRotatexOES C.GPROTATEXOES - gpSampleCoverage C.GPSAMPLECOVERAGE - gpSampleCoverageARB C.GPSAMPLECOVERAGEARB - gpSampleCoveragexOES C.GPSAMPLECOVERAGEXOES - gpSampleMapATI C.GPSAMPLEMAPATI - gpSampleMaskEXT C.GPSAMPLEMASKEXT - gpSampleMaskIndexedNV C.GPSAMPLEMASKINDEXEDNV - gpSampleMaskSGIS C.GPSAMPLEMASKSGIS - gpSampleMaski C.GPSAMPLEMASKI - gpSamplePatternEXT C.GPSAMPLEPATTERNEXT - gpSamplePatternSGIS C.GPSAMPLEPATTERNSGIS - gpSamplerParameterIiv C.GPSAMPLERPARAMETERIIV - gpSamplerParameterIuiv C.GPSAMPLERPARAMETERIUIV - gpSamplerParameterf C.GPSAMPLERPARAMETERF - gpSamplerParameterfv C.GPSAMPLERPARAMETERFV - gpSamplerParameteri C.GPSAMPLERPARAMETERI - gpSamplerParameteriv C.GPSAMPLERPARAMETERIV - gpScaled C.GPSCALED - gpScalef C.GPSCALEF - gpScalexOES C.GPSCALEXOES - gpScissor C.GPSCISSOR - gpScissorArrayv C.GPSCISSORARRAYV - gpScissorIndexed C.GPSCISSORINDEXED - gpScissorIndexedv C.GPSCISSORINDEXEDV - gpSecondaryColor3b C.GPSECONDARYCOLOR3B - gpSecondaryColor3bEXT C.GPSECONDARYCOLOR3BEXT - gpSecondaryColor3bv C.GPSECONDARYCOLOR3BV - gpSecondaryColor3bvEXT C.GPSECONDARYCOLOR3BVEXT - gpSecondaryColor3d C.GPSECONDARYCOLOR3D - gpSecondaryColor3dEXT C.GPSECONDARYCOLOR3DEXT - gpSecondaryColor3dv C.GPSECONDARYCOLOR3DV - gpSecondaryColor3dvEXT C.GPSECONDARYCOLOR3DVEXT - gpSecondaryColor3f C.GPSECONDARYCOLOR3F - gpSecondaryColor3fEXT C.GPSECONDARYCOLOR3FEXT - gpSecondaryColor3fv C.GPSECONDARYCOLOR3FV - gpSecondaryColor3fvEXT C.GPSECONDARYCOLOR3FVEXT - gpSecondaryColor3hNV C.GPSECONDARYCOLOR3HNV - gpSecondaryColor3hvNV C.GPSECONDARYCOLOR3HVNV - gpSecondaryColor3i C.GPSECONDARYCOLOR3I - gpSecondaryColor3iEXT C.GPSECONDARYCOLOR3IEXT - gpSecondaryColor3iv C.GPSECONDARYCOLOR3IV - gpSecondaryColor3ivEXT C.GPSECONDARYCOLOR3IVEXT - gpSecondaryColor3s C.GPSECONDARYCOLOR3S - gpSecondaryColor3sEXT C.GPSECONDARYCOLOR3SEXT - gpSecondaryColor3sv C.GPSECONDARYCOLOR3SV - gpSecondaryColor3svEXT C.GPSECONDARYCOLOR3SVEXT - gpSecondaryColor3ub C.GPSECONDARYCOLOR3UB - gpSecondaryColor3ubEXT C.GPSECONDARYCOLOR3UBEXT - gpSecondaryColor3ubv C.GPSECONDARYCOLOR3UBV - gpSecondaryColor3ubvEXT C.GPSECONDARYCOLOR3UBVEXT - gpSecondaryColor3ui C.GPSECONDARYCOLOR3UI - gpSecondaryColor3uiEXT C.GPSECONDARYCOLOR3UIEXT - gpSecondaryColor3uiv C.GPSECONDARYCOLOR3UIV - gpSecondaryColor3uivEXT C.GPSECONDARYCOLOR3UIVEXT - gpSecondaryColor3us C.GPSECONDARYCOLOR3US - gpSecondaryColor3usEXT C.GPSECONDARYCOLOR3USEXT - gpSecondaryColor3usv C.GPSECONDARYCOLOR3USV - gpSecondaryColor3usvEXT C.GPSECONDARYCOLOR3USVEXT - gpSecondaryColorFormatNV C.GPSECONDARYCOLORFORMATNV - gpSecondaryColorPointer C.GPSECONDARYCOLORPOINTER - gpSecondaryColorPointerEXT C.GPSECONDARYCOLORPOINTEREXT - gpSecondaryColorPointerListIBM C.GPSECONDARYCOLORPOINTERLISTIBM - gpSelectBuffer C.GPSELECTBUFFER - gpSelectPerfMonitorCountersAMD C.GPSELECTPERFMONITORCOUNTERSAMD - gpSemaphoreParameterui64vEXT C.GPSEMAPHOREPARAMETERUI64VEXT - gpSeparableFilter2DEXT C.GPSEPARABLEFILTER2DEXT - gpSetFenceAPPLE C.GPSETFENCEAPPLE - gpSetFenceNV C.GPSETFENCENV - gpSetFragmentShaderConstantATI C.GPSETFRAGMENTSHADERCONSTANTATI - gpSetInvariantEXT C.GPSETINVARIANTEXT - gpSetLocalConstantEXT C.GPSETLOCALCONSTANTEXT - gpSetMultisamplefvAMD C.GPSETMULTISAMPLEFVAMD - gpShadeModel C.GPSHADEMODEL - gpShaderBinary C.GPSHADERBINARY - gpShaderOp1EXT C.GPSHADEROP1EXT - gpShaderOp2EXT C.GPSHADEROP2EXT - gpShaderOp3EXT C.GPSHADEROP3EXT - gpShaderSource C.GPSHADERSOURCE - gpShaderSourceARB C.GPSHADERSOURCEARB - gpShaderStorageBlockBinding C.GPSHADERSTORAGEBLOCKBINDING - gpSharpenTexFuncSGIS C.GPSHARPENTEXFUNCSGIS - gpSignalSemaphoreEXT C.GPSIGNALSEMAPHOREEXT - gpSignalVkFenceNV C.GPSIGNALVKFENCENV - gpSignalVkSemaphoreNV C.GPSIGNALVKSEMAPHORENV - gpSpecializeShaderARB C.GPSPECIALIZESHADERARB - gpSpriteParameterfSGIX C.GPSPRITEPARAMETERFSGIX - gpSpriteParameterfvSGIX C.GPSPRITEPARAMETERFVSGIX - gpSpriteParameteriSGIX C.GPSPRITEPARAMETERISGIX - gpSpriteParameterivSGIX C.GPSPRITEPARAMETERIVSGIX - gpStartInstrumentsSGIX C.GPSTARTINSTRUMENTSSGIX - gpStateCaptureNV C.GPSTATECAPTURENV - gpStencilClearTagEXT C.GPSTENCILCLEARTAGEXT - gpStencilFillPathInstancedNV C.GPSTENCILFILLPATHINSTANCEDNV - gpStencilFillPathNV C.GPSTENCILFILLPATHNV - gpStencilFunc C.GPSTENCILFUNC - gpStencilFuncSeparate C.GPSTENCILFUNCSEPARATE - gpStencilFuncSeparateATI C.GPSTENCILFUNCSEPARATEATI - gpStencilMask C.GPSTENCILMASK - gpStencilMaskSeparate C.GPSTENCILMASKSEPARATE - gpStencilOp C.GPSTENCILOP - gpStencilOpSeparate C.GPSTENCILOPSEPARATE - gpStencilOpSeparateATI C.GPSTENCILOPSEPARATEATI - gpStencilOpValueAMD C.GPSTENCILOPVALUEAMD - gpStencilStrokePathInstancedNV C.GPSTENCILSTROKEPATHINSTANCEDNV - gpStencilStrokePathNV C.GPSTENCILSTROKEPATHNV - gpStencilThenCoverFillPathInstancedNV C.GPSTENCILTHENCOVERFILLPATHINSTANCEDNV - gpStencilThenCoverFillPathNV C.GPSTENCILTHENCOVERFILLPATHNV - gpStencilThenCoverStrokePathInstancedNV C.GPSTENCILTHENCOVERSTROKEPATHINSTANCEDNV - gpStencilThenCoverStrokePathNV C.GPSTENCILTHENCOVERSTROKEPATHNV - gpStopInstrumentsSGIX C.GPSTOPINSTRUMENTSSGIX - gpStringMarkerGREMEDY C.GPSTRINGMARKERGREMEDY - gpSubpixelPrecisionBiasNV C.GPSUBPIXELPRECISIONBIASNV - gpSwizzleEXT C.GPSWIZZLEEXT - gpSyncTextureINTEL C.GPSYNCTEXTUREINTEL - gpTagSampleBufferSGIX C.GPTAGSAMPLEBUFFERSGIX - gpTangent3bEXT C.GPTANGENT3BEXT - gpTangent3bvEXT C.GPTANGENT3BVEXT - gpTangent3dEXT C.GPTANGENT3DEXT - gpTangent3dvEXT C.GPTANGENT3DVEXT - gpTangent3fEXT C.GPTANGENT3FEXT - gpTangent3fvEXT C.GPTANGENT3FVEXT - gpTangent3iEXT C.GPTANGENT3IEXT - gpTangent3ivEXT C.GPTANGENT3IVEXT - gpTangent3sEXT C.GPTANGENT3SEXT - gpTangent3svEXT C.GPTANGENT3SVEXT - gpTangentPointerEXT C.GPTANGENTPOINTEREXT - gpTbufferMask3DFX C.GPTBUFFERMASK3DFX - gpTessellationFactorAMD C.GPTESSELLATIONFACTORAMD - gpTessellationModeAMD C.GPTESSELLATIONMODEAMD - gpTestFenceAPPLE C.GPTESTFENCEAPPLE - gpTestFenceNV C.GPTESTFENCENV - gpTestObjectAPPLE C.GPTESTOBJECTAPPLE - gpTexBufferARB C.GPTEXBUFFERARB - gpTexBufferEXT C.GPTEXBUFFEREXT - gpTexBufferRange C.GPTEXBUFFERRANGE - gpTexBumpParameterfvATI C.GPTEXBUMPPARAMETERFVATI - gpTexBumpParameterivATI C.GPTEXBUMPPARAMETERIVATI - gpTexCoord1bOES C.GPTEXCOORD1BOES - gpTexCoord1bvOES C.GPTEXCOORD1BVOES - gpTexCoord1d C.GPTEXCOORD1D - gpTexCoord1dv C.GPTEXCOORD1DV - gpTexCoord1f C.GPTEXCOORD1F - gpTexCoord1fv C.GPTEXCOORD1FV - gpTexCoord1hNV C.GPTEXCOORD1HNV - gpTexCoord1hvNV C.GPTEXCOORD1HVNV - gpTexCoord1i C.GPTEXCOORD1I - gpTexCoord1iv C.GPTEXCOORD1IV - gpTexCoord1s C.GPTEXCOORD1S - gpTexCoord1sv C.GPTEXCOORD1SV - gpTexCoord1xOES C.GPTEXCOORD1XOES - gpTexCoord1xvOES C.GPTEXCOORD1XVOES - gpTexCoord2bOES C.GPTEXCOORD2BOES - gpTexCoord2bvOES C.GPTEXCOORD2BVOES - gpTexCoord2d C.GPTEXCOORD2D - gpTexCoord2dv C.GPTEXCOORD2DV - gpTexCoord2f C.GPTEXCOORD2F - gpTexCoord2fColor3fVertex3fSUN C.GPTEXCOORD2FCOLOR3FVERTEX3FSUN - gpTexCoord2fColor3fVertex3fvSUN C.GPTEXCOORD2FCOLOR3FVERTEX3FVSUN - gpTexCoord2fColor4fNormal3fVertex3fSUN C.GPTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUN - gpTexCoord2fColor4fNormal3fVertex3fvSUN C.GPTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUN - gpTexCoord2fColor4ubVertex3fSUN C.GPTEXCOORD2FCOLOR4UBVERTEX3FSUN - gpTexCoord2fColor4ubVertex3fvSUN C.GPTEXCOORD2FCOLOR4UBVERTEX3FVSUN - gpTexCoord2fNormal3fVertex3fSUN C.GPTEXCOORD2FNORMAL3FVERTEX3FSUN - gpTexCoord2fNormal3fVertex3fvSUN C.GPTEXCOORD2FNORMAL3FVERTEX3FVSUN - gpTexCoord2fVertex3fSUN C.GPTEXCOORD2FVERTEX3FSUN - gpTexCoord2fVertex3fvSUN C.GPTEXCOORD2FVERTEX3FVSUN - gpTexCoord2fv C.GPTEXCOORD2FV - gpTexCoord2hNV C.GPTEXCOORD2HNV - gpTexCoord2hvNV C.GPTEXCOORD2HVNV - gpTexCoord2i C.GPTEXCOORD2I - gpTexCoord2iv C.GPTEXCOORD2IV - gpTexCoord2s C.GPTEXCOORD2S - gpTexCoord2sv C.GPTEXCOORD2SV - gpTexCoord2xOES C.GPTEXCOORD2XOES - gpTexCoord2xvOES C.GPTEXCOORD2XVOES - gpTexCoord3bOES C.GPTEXCOORD3BOES - gpTexCoord3bvOES C.GPTEXCOORD3BVOES - gpTexCoord3d C.GPTEXCOORD3D - gpTexCoord3dv C.GPTEXCOORD3DV - gpTexCoord3f C.GPTEXCOORD3F - gpTexCoord3fv C.GPTEXCOORD3FV - gpTexCoord3hNV C.GPTEXCOORD3HNV - gpTexCoord3hvNV C.GPTEXCOORD3HVNV - gpTexCoord3i C.GPTEXCOORD3I - gpTexCoord3iv C.GPTEXCOORD3IV - gpTexCoord3s C.GPTEXCOORD3S - gpTexCoord3sv C.GPTEXCOORD3SV - gpTexCoord3xOES C.GPTEXCOORD3XOES - gpTexCoord3xvOES C.GPTEXCOORD3XVOES - gpTexCoord4bOES C.GPTEXCOORD4BOES - gpTexCoord4bvOES C.GPTEXCOORD4BVOES - gpTexCoord4d C.GPTEXCOORD4D - gpTexCoord4dv C.GPTEXCOORD4DV - gpTexCoord4f C.GPTEXCOORD4F - gpTexCoord4fColor4fNormal3fVertex4fSUN C.GPTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUN - gpTexCoord4fColor4fNormal3fVertex4fvSUN C.GPTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUN - gpTexCoord4fVertex4fSUN C.GPTEXCOORD4FVERTEX4FSUN - gpTexCoord4fVertex4fvSUN C.GPTEXCOORD4FVERTEX4FVSUN - gpTexCoord4fv C.GPTEXCOORD4FV - gpTexCoord4hNV C.GPTEXCOORD4HNV - gpTexCoord4hvNV C.GPTEXCOORD4HVNV - gpTexCoord4i C.GPTEXCOORD4I - gpTexCoord4iv C.GPTEXCOORD4IV - gpTexCoord4s C.GPTEXCOORD4S - gpTexCoord4sv C.GPTEXCOORD4SV - gpTexCoord4xOES C.GPTEXCOORD4XOES - gpTexCoord4xvOES C.GPTEXCOORD4XVOES - gpTexCoordFormatNV C.GPTEXCOORDFORMATNV - gpTexCoordPointer C.GPTEXCOORDPOINTER - gpTexCoordPointerEXT C.GPTEXCOORDPOINTEREXT - gpTexCoordPointerListIBM C.GPTEXCOORDPOINTERLISTIBM - gpTexCoordPointervINTEL C.GPTEXCOORDPOINTERVINTEL - gpTexEnvf C.GPTEXENVF - gpTexEnvfv C.GPTEXENVFV - gpTexEnvi C.GPTEXENVI - gpTexEnviv C.GPTEXENVIV - gpTexEnvxOES C.GPTEXENVXOES - gpTexEnvxvOES C.GPTEXENVXVOES - gpTexFilterFuncSGIS C.GPTEXFILTERFUNCSGIS - gpTexGend C.GPTEXGEND - gpTexGendv C.GPTEXGENDV - gpTexGenf C.GPTEXGENF - gpTexGenfv C.GPTEXGENFV - gpTexGeni C.GPTEXGENI - gpTexGeniv C.GPTEXGENIV - gpTexGenxOES C.GPTEXGENXOES - gpTexGenxvOES C.GPTEXGENXVOES - gpTexImage1D C.GPTEXIMAGE1D - gpTexImage2D C.GPTEXIMAGE2D - gpTexImage2DMultisample C.GPTEXIMAGE2DMULTISAMPLE - gpTexImage2DMultisampleCoverageNV C.GPTEXIMAGE2DMULTISAMPLECOVERAGENV - gpTexImage3D C.GPTEXIMAGE3D - gpTexImage3DEXT C.GPTEXIMAGE3DEXT - gpTexImage3DMultisample C.GPTEXIMAGE3DMULTISAMPLE - gpTexImage3DMultisampleCoverageNV C.GPTEXIMAGE3DMULTISAMPLECOVERAGENV - gpTexImage4DSGIS C.GPTEXIMAGE4DSGIS - gpTexPageCommitmentARB C.GPTEXPAGECOMMITMENTARB - gpTexParameterIivEXT C.GPTEXPARAMETERIIVEXT - gpTexParameterIuivEXT C.GPTEXPARAMETERIUIVEXT - gpTexParameterf C.GPTEXPARAMETERF - gpTexParameterfv C.GPTEXPARAMETERFV - gpTexParameteri C.GPTEXPARAMETERI - gpTexParameteriv C.GPTEXPARAMETERIV - gpTexParameterxOES C.GPTEXPARAMETERXOES - gpTexParameterxvOES C.GPTEXPARAMETERXVOES - gpTexRenderbufferNV C.GPTEXRENDERBUFFERNV - gpTexStorage1D C.GPTEXSTORAGE1D - gpTexStorage2D C.GPTEXSTORAGE2D - gpTexStorage2DMultisample C.GPTEXSTORAGE2DMULTISAMPLE - gpTexStorage3D C.GPTEXSTORAGE3D - gpTexStorage3DMultisample C.GPTEXSTORAGE3DMULTISAMPLE - gpTexStorageMem1DEXT C.GPTEXSTORAGEMEM1DEXT - gpTexStorageMem2DEXT C.GPTEXSTORAGEMEM2DEXT - gpTexStorageMem2DMultisampleEXT C.GPTEXSTORAGEMEM2DMULTISAMPLEEXT - gpTexStorageMem3DEXT C.GPTEXSTORAGEMEM3DEXT - gpTexStorageMem3DMultisampleEXT C.GPTEXSTORAGEMEM3DMULTISAMPLEEXT - gpTexStorageSparseAMD C.GPTEXSTORAGESPARSEAMD - gpTexSubImage1D C.GPTEXSUBIMAGE1D - gpTexSubImage1DEXT C.GPTEXSUBIMAGE1DEXT - gpTexSubImage2D C.GPTEXSUBIMAGE2D - gpTexSubImage2DEXT C.GPTEXSUBIMAGE2DEXT - gpTexSubImage3D C.GPTEXSUBIMAGE3D - gpTexSubImage3DEXT C.GPTEXSUBIMAGE3DEXT - gpTexSubImage4DSGIS C.GPTEXSUBIMAGE4DSGIS - gpTextureBarrier C.GPTEXTUREBARRIER - gpTextureBarrierNV C.GPTEXTUREBARRIERNV - gpTextureBuffer C.GPTEXTUREBUFFER - gpTextureBufferEXT C.GPTEXTUREBUFFEREXT - gpTextureBufferRange C.GPTEXTUREBUFFERRANGE - gpTextureBufferRangeEXT C.GPTEXTUREBUFFERRANGEEXT - gpTextureColorMaskSGIS C.GPTEXTURECOLORMASKSGIS - gpTextureImage1DEXT C.GPTEXTUREIMAGE1DEXT - gpTextureImage2DEXT C.GPTEXTUREIMAGE2DEXT - gpTextureImage2DMultisampleCoverageNV C.GPTEXTUREIMAGE2DMULTISAMPLECOVERAGENV - gpTextureImage2DMultisampleNV C.GPTEXTUREIMAGE2DMULTISAMPLENV - gpTextureImage3DEXT C.GPTEXTUREIMAGE3DEXT - gpTextureImage3DMultisampleCoverageNV C.GPTEXTUREIMAGE3DMULTISAMPLECOVERAGENV - gpTextureImage3DMultisampleNV C.GPTEXTUREIMAGE3DMULTISAMPLENV - gpTextureLightEXT C.GPTEXTURELIGHTEXT - gpTextureMaterialEXT C.GPTEXTUREMATERIALEXT - gpTextureNormalEXT C.GPTEXTURENORMALEXT - gpTexturePageCommitmentEXT C.GPTEXTUREPAGECOMMITMENTEXT - gpTextureParameterIiv C.GPTEXTUREPARAMETERIIV - gpTextureParameterIivEXT C.GPTEXTUREPARAMETERIIVEXT - gpTextureParameterIuiv C.GPTEXTUREPARAMETERIUIV - gpTextureParameterIuivEXT C.GPTEXTUREPARAMETERIUIVEXT - gpTextureParameterf C.GPTEXTUREPARAMETERF - gpTextureParameterfEXT C.GPTEXTUREPARAMETERFEXT - gpTextureParameterfv C.GPTEXTUREPARAMETERFV - gpTextureParameterfvEXT C.GPTEXTUREPARAMETERFVEXT - gpTextureParameteri C.GPTEXTUREPARAMETERI - gpTextureParameteriEXT C.GPTEXTUREPARAMETERIEXT - gpTextureParameteriv C.GPTEXTUREPARAMETERIV - gpTextureParameterivEXT C.GPTEXTUREPARAMETERIVEXT - gpTextureRangeAPPLE C.GPTEXTURERANGEAPPLE - gpTextureRenderbufferEXT C.GPTEXTURERENDERBUFFEREXT - gpTextureStorage1D C.GPTEXTURESTORAGE1D - gpTextureStorage1DEXT C.GPTEXTURESTORAGE1DEXT - gpTextureStorage2D C.GPTEXTURESTORAGE2D - gpTextureStorage2DEXT C.GPTEXTURESTORAGE2DEXT - gpTextureStorage2DMultisample C.GPTEXTURESTORAGE2DMULTISAMPLE - gpTextureStorage2DMultisampleEXT C.GPTEXTURESTORAGE2DMULTISAMPLEEXT - gpTextureStorage3D C.GPTEXTURESTORAGE3D - gpTextureStorage3DEXT C.GPTEXTURESTORAGE3DEXT - gpTextureStorage3DMultisample C.GPTEXTURESTORAGE3DMULTISAMPLE - gpTextureStorage3DMultisampleEXT C.GPTEXTURESTORAGE3DMULTISAMPLEEXT - gpTextureStorageMem1DEXT C.GPTEXTURESTORAGEMEM1DEXT - gpTextureStorageMem2DEXT C.GPTEXTURESTORAGEMEM2DEXT - gpTextureStorageMem2DMultisampleEXT C.GPTEXTURESTORAGEMEM2DMULTISAMPLEEXT - gpTextureStorageMem3DEXT C.GPTEXTURESTORAGEMEM3DEXT - gpTextureStorageMem3DMultisampleEXT C.GPTEXTURESTORAGEMEM3DMULTISAMPLEEXT - gpTextureStorageSparseAMD C.GPTEXTURESTORAGESPARSEAMD - gpTextureSubImage1D C.GPTEXTURESUBIMAGE1D - gpTextureSubImage1DEXT C.GPTEXTURESUBIMAGE1DEXT - gpTextureSubImage2D C.GPTEXTURESUBIMAGE2D - gpTextureSubImage2DEXT C.GPTEXTURESUBIMAGE2DEXT - gpTextureSubImage3D C.GPTEXTURESUBIMAGE3D - gpTextureSubImage3DEXT C.GPTEXTURESUBIMAGE3DEXT - gpTextureView C.GPTEXTUREVIEW - gpTrackMatrixNV C.GPTRACKMATRIXNV - gpTransformFeedbackAttribsNV C.GPTRANSFORMFEEDBACKATTRIBSNV - gpTransformFeedbackBufferBase C.GPTRANSFORMFEEDBACKBUFFERBASE - gpTransformFeedbackBufferRange C.GPTRANSFORMFEEDBACKBUFFERRANGE - gpTransformFeedbackStreamAttribsNV C.GPTRANSFORMFEEDBACKSTREAMATTRIBSNV - gpTransformFeedbackVaryingsEXT C.GPTRANSFORMFEEDBACKVARYINGSEXT - gpTransformFeedbackVaryingsNV C.GPTRANSFORMFEEDBACKVARYINGSNV - gpTransformPathNV C.GPTRANSFORMPATHNV - gpTranslated C.GPTRANSLATED - gpTranslatef C.GPTRANSLATEF - gpTranslatexOES C.GPTRANSLATEXOES - gpUniform1d C.GPUNIFORM1D - gpUniform1dv C.GPUNIFORM1DV - gpUniform1f C.GPUNIFORM1F - gpUniform1fARB C.GPUNIFORM1FARB - gpUniform1fv C.GPUNIFORM1FV - gpUniform1fvARB C.GPUNIFORM1FVARB - gpUniform1i C.GPUNIFORM1I - gpUniform1i64ARB C.GPUNIFORM1I64ARB - gpUniform1i64NV C.GPUNIFORM1I64NV - gpUniform1i64vARB C.GPUNIFORM1I64VARB - gpUniform1i64vNV C.GPUNIFORM1I64VNV - gpUniform1iARB C.GPUNIFORM1IARB - gpUniform1iv C.GPUNIFORM1IV - gpUniform1ivARB C.GPUNIFORM1IVARB - gpUniform1ui64ARB C.GPUNIFORM1UI64ARB - gpUniform1ui64NV C.GPUNIFORM1UI64NV - gpUniform1ui64vARB C.GPUNIFORM1UI64VARB - gpUniform1ui64vNV C.GPUNIFORM1UI64VNV - gpUniform1uiEXT C.GPUNIFORM1UIEXT - gpUniform1uivEXT C.GPUNIFORM1UIVEXT - gpUniform2d C.GPUNIFORM2D - gpUniform2dv C.GPUNIFORM2DV - gpUniform2f C.GPUNIFORM2F - gpUniform2fARB C.GPUNIFORM2FARB - gpUniform2fv C.GPUNIFORM2FV - gpUniform2fvARB C.GPUNIFORM2FVARB - gpUniform2i C.GPUNIFORM2I - gpUniform2i64ARB C.GPUNIFORM2I64ARB - gpUniform2i64NV C.GPUNIFORM2I64NV - gpUniform2i64vARB C.GPUNIFORM2I64VARB - gpUniform2i64vNV C.GPUNIFORM2I64VNV - gpUniform2iARB C.GPUNIFORM2IARB - gpUniform2iv C.GPUNIFORM2IV - gpUniform2ivARB C.GPUNIFORM2IVARB - gpUniform2ui64ARB C.GPUNIFORM2UI64ARB - gpUniform2ui64NV C.GPUNIFORM2UI64NV - gpUniform2ui64vARB C.GPUNIFORM2UI64VARB - gpUniform2ui64vNV C.GPUNIFORM2UI64VNV - gpUniform2uiEXT C.GPUNIFORM2UIEXT - gpUniform2uivEXT C.GPUNIFORM2UIVEXT - gpUniform3d C.GPUNIFORM3D - gpUniform3dv C.GPUNIFORM3DV - gpUniform3f C.GPUNIFORM3F - gpUniform3fARB C.GPUNIFORM3FARB - gpUniform3fv C.GPUNIFORM3FV - gpUniform3fvARB C.GPUNIFORM3FVARB - gpUniform3i C.GPUNIFORM3I - gpUniform3i64ARB C.GPUNIFORM3I64ARB - gpUniform3i64NV C.GPUNIFORM3I64NV - gpUniform3i64vARB C.GPUNIFORM3I64VARB - gpUniform3i64vNV C.GPUNIFORM3I64VNV - gpUniform3iARB C.GPUNIFORM3IARB - gpUniform3iv C.GPUNIFORM3IV - gpUniform3ivARB C.GPUNIFORM3IVARB - gpUniform3ui64ARB C.GPUNIFORM3UI64ARB - gpUniform3ui64NV C.GPUNIFORM3UI64NV - gpUniform3ui64vARB C.GPUNIFORM3UI64VARB - gpUniform3ui64vNV C.GPUNIFORM3UI64VNV - gpUniform3uiEXT C.GPUNIFORM3UIEXT - gpUniform3uivEXT C.GPUNIFORM3UIVEXT - gpUniform4d C.GPUNIFORM4D - gpUniform4dv C.GPUNIFORM4DV - gpUniform4f C.GPUNIFORM4F - gpUniform4fARB C.GPUNIFORM4FARB - gpUniform4fv C.GPUNIFORM4FV - gpUniform4fvARB C.GPUNIFORM4FVARB - gpUniform4i C.GPUNIFORM4I - gpUniform4i64ARB C.GPUNIFORM4I64ARB - gpUniform4i64NV C.GPUNIFORM4I64NV - gpUniform4i64vARB C.GPUNIFORM4I64VARB - gpUniform4i64vNV C.GPUNIFORM4I64VNV - gpUniform4iARB C.GPUNIFORM4IARB - gpUniform4iv C.GPUNIFORM4IV - gpUniform4ivARB C.GPUNIFORM4IVARB - gpUniform4ui64ARB C.GPUNIFORM4UI64ARB - gpUniform4ui64NV C.GPUNIFORM4UI64NV - gpUniform4ui64vARB C.GPUNIFORM4UI64VARB - gpUniform4ui64vNV C.GPUNIFORM4UI64VNV - gpUniform4uiEXT C.GPUNIFORM4UIEXT - gpUniform4uivEXT C.GPUNIFORM4UIVEXT - gpUniformBlockBinding C.GPUNIFORMBLOCKBINDING - gpUniformBufferEXT C.GPUNIFORMBUFFEREXT - gpUniformHandleui64ARB C.GPUNIFORMHANDLEUI64ARB - gpUniformHandleui64NV C.GPUNIFORMHANDLEUI64NV - gpUniformHandleui64vARB C.GPUNIFORMHANDLEUI64VARB - gpUniformHandleui64vNV C.GPUNIFORMHANDLEUI64VNV - gpUniformMatrix2dv C.GPUNIFORMMATRIX2DV - gpUniformMatrix2fv C.GPUNIFORMMATRIX2FV - gpUniformMatrix2fvARB C.GPUNIFORMMATRIX2FVARB - gpUniformMatrix2x3dv C.GPUNIFORMMATRIX2X3DV - gpUniformMatrix2x3fv C.GPUNIFORMMATRIX2X3FV - gpUniformMatrix2x4dv C.GPUNIFORMMATRIX2X4DV - gpUniformMatrix2x4fv C.GPUNIFORMMATRIX2X4FV - gpUniformMatrix3dv C.GPUNIFORMMATRIX3DV - gpUniformMatrix3fv C.GPUNIFORMMATRIX3FV - gpUniformMatrix3fvARB C.GPUNIFORMMATRIX3FVARB - gpUniformMatrix3x2dv C.GPUNIFORMMATRIX3X2DV - gpUniformMatrix3x2fv C.GPUNIFORMMATRIX3X2FV - gpUniformMatrix3x4dv C.GPUNIFORMMATRIX3X4DV - gpUniformMatrix3x4fv C.GPUNIFORMMATRIX3X4FV - gpUniformMatrix4dv C.GPUNIFORMMATRIX4DV - gpUniformMatrix4fv C.GPUNIFORMMATRIX4FV - gpUniformMatrix4fvARB C.GPUNIFORMMATRIX4FVARB - gpUniformMatrix4x2dv C.GPUNIFORMMATRIX4X2DV - gpUniformMatrix4x2fv C.GPUNIFORMMATRIX4X2FV - gpUniformMatrix4x3dv C.GPUNIFORMMATRIX4X3DV - gpUniformMatrix4x3fv C.GPUNIFORMMATRIX4X3FV - gpUniformSubroutinesuiv C.GPUNIFORMSUBROUTINESUIV - gpUniformui64NV C.GPUNIFORMUI64NV - gpUniformui64vNV C.GPUNIFORMUI64VNV - gpUnlockArraysEXT C.GPUNLOCKARRAYSEXT - gpUnmapBuffer C.GPUNMAPBUFFER - gpUnmapBufferARB C.GPUNMAPBUFFERARB - gpUnmapNamedBuffer C.GPUNMAPNAMEDBUFFER - gpUnmapNamedBufferEXT C.GPUNMAPNAMEDBUFFEREXT - gpUnmapObjectBufferATI C.GPUNMAPOBJECTBUFFERATI - gpUnmapTexture2DINTEL C.GPUNMAPTEXTURE2DINTEL - gpUpdateObjectBufferATI C.GPUPDATEOBJECTBUFFERATI - gpUseProgram C.GPUSEPROGRAM - gpUseProgramObjectARB C.GPUSEPROGRAMOBJECTARB - gpUseProgramStages C.GPUSEPROGRAMSTAGES - gpUseProgramStagesEXT C.GPUSEPROGRAMSTAGESEXT - gpUseShaderProgramEXT C.GPUSESHADERPROGRAMEXT - gpVDPAUFiniNV C.GPVDPAUFININV - gpVDPAUGetSurfaceivNV C.GPVDPAUGETSURFACEIVNV - gpVDPAUInitNV C.GPVDPAUINITNV - gpVDPAUIsSurfaceNV C.GPVDPAUISSURFACENV - gpVDPAUMapSurfacesNV C.GPVDPAUMAPSURFACESNV - gpVDPAURegisterOutputSurfaceNV C.GPVDPAUREGISTEROUTPUTSURFACENV - gpVDPAURegisterVideoSurfaceNV C.GPVDPAUREGISTERVIDEOSURFACENV - gpVDPAUSurfaceAccessNV C.GPVDPAUSURFACEACCESSNV - gpVDPAUUnmapSurfacesNV C.GPVDPAUUNMAPSURFACESNV - gpVDPAUUnregisterSurfaceNV C.GPVDPAUUNREGISTERSURFACENV - gpValidateProgram C.GPVALIDATEPROGRAM - gpValidateProgramARB C.GPVALIDATEPROGRAMARB - gpValidateProgramPipeline C.GPVALIDATEPROGRAMPIPELINE - gpValidateProgramPipelineEXT C.GPVALIDATEPROGRAMPIPELINEEXT - gpVariantArrayObjectATI C.GPVARIANTARRAYOBJECTATI - gpVariantPointerEXT C.GPVARIANTPOINTEREXT - gpVariantbvEXT C.GPVARIANTBVEXT - gpVariantdvEXT C.GPVARIANTDVEXT - gpVariantfvEXT C.GPVARIANTFVEXT - gpVariantivEXT C.GPVARIANTIVEXT - gpVariantsvEXT C.GPVARIANTSVEXT - gpVariantubvEXT C.GPVARIANTUBVEXT - gpVariantuivEXT C.GPVARIANTUIVEXT - gpVariantusvEXT C.GPVARIANTUSVEXT - gpVertex2bOES C.GPVERTEX2BOES - gpVertex2bvOES C.GPVERTEX2BVOES - gpVertex2d C.GPVERTEX2D - gpVertex2dv C.GPVERTEX2DV - gpVertex2f C.GPVERTEX2F - gpVertex2fv C.GPVERTEX2FV - gpVertex2hNV C.GPVERTEX2HNV - gpVertex2hvNV C.GPVERTEX2HVNV - gpVertex2i C.GPVERTEX2I - gpVertex2iv C.GPVERTEX2IV - gpVertex2s C.GPVERTEX2S - gpVertex2sv C.GPVERTEX2SV - gpVertex2xOES C.GPVERTEX2XOES - gpVertex2xvOES C.GPVERTEX2XVOES - gpVertex3bOES C.GPVERTEX3BOES - gpVertex3bvOES C.GPVERTEX3BVOES - gpVertex3d C.GPVERTEX3D - gpVertex3dv C.GPVERTEX3DV - gpVertex3f C.GPVERTEX3F - gpVertex3fv C.GPVERTEX3FV - gpVertex3hNV C.GPVERTEX3HNV - gpVertex3hvNV C.GPVERTEX3HVNV - gpVertex3i C.GPVERTEX3I - gpVertex3iv C.GPVERTEX3IV - gpVertex3s C.GPVERTEX3S - gpVertex3sv C.GPVERTEX3SV - gpVertex3xOES C.GPVERTEX3XOES - gpVertex3xvOES C.GPVERTEX3XVOES - gpVertex4bOES C.GPVERTEX4BOES - gpVertex4bvOES C.GPVERTEX4BVOES - gpVertex4d C.GPVERTEX4D - gpVertex4dv C.GPVERTEX4DV - gpVertex4f C.GPVERTEX4F - gpVertex4fv C.GPVERTEX4FV - gpVertex4hNV C.GPVERTEX4HNV - gpVertex4hvNV C.GPVERTEX4HVNV - gpVertex4i C.GPVERTEX4I - gpVertex4iv C.GPVERTEX4IV - gpVertex4s C.GPVERTEX4S - gpVertex4sv C.GPVERTEX4SV - gpVertex4xOES C.GPVERTEX4XOES - gpVertex4xvOES C.GPVERTEX4XVOES - gpVertexArrayAttribBinding C.GPVERTEXARRAYATTRIBBINDING - gpVertexArrayAttribFormat C.GPVERTEXARRAYATTRIBFORMAT - gpVertexArrayAttribIFormat C.GPVERTEXARRAYATTRIBIFORMAT - gpVertexArrayAttribLFormat C.GPVERTEXARRAYATTRIBLFORMAT - gpVertexArrayBindVertexBufferEXT C.GPVERTEXARRAYBINDVERTEXBUFFEREXT - gpVertexArrayBindingDivisor C.GPVERTEXARRAYBINDINGDIVISOR - gpVertexArrayColorOffsetEXT C.GPVERTEXARRAYCOLOROFFSETEXT - gpVertexArrayEdgeFlagOffsetEXT C.GPVERTEXARRAYEDGEFLAGOFFSETEXT - gpVertexArrayElementBuffer C.GPVERTEXARRAYELEMENTBUFFER - gpVertexArrayFogCoordOffsetEXT C.GPVERTEXARRAYFOGCOORDOFFSETEXT - gpVertexArrayIndexOffsetEXT C.GPVERTEXARRAYINDEXOFFSETEXT - gpVertexArrayMultiTexCoordOffsetEXT C.GPVERTEXARRAYMULTITEXCOORDOFFSETEXT - gpVertexArrayNormalOffsetEXT C.GPVERTEXARRAYNORMALOFFSETEXT - gpVertexArrayParameteriAPPLE C.GPVERTEXARRAYPARAMETERIAPPLE - gpVertexArrayRangeAPPLE C.GPVERTEXARRAYRANGEAPPLE - gpVertexArrayRangeNV C.GPVERTEXARRAYRANGENV - gpVertexArraySecondaryColorOffsetEXT C.GPVERTEXARRAYSECONDARYCOLOROFFSETEXT - gpVertexArrayTexCoordOffsetEXT C.GPVERTEXARRAYTEXCOORDOFFSETEXT - gpVertexArrayVertexAttribBindingEXT C.GPVERTEXARRAYVERTEXATTRIBBINDINGEXT - gpVertexArrayVertexAttribDivisorEXT C.GPVERTEXARRAYVERTEXATTRIBDIVISOREXT - gpVertexArrayVertexAttribFormatEXT C.GPVERTEXARRAYVERTEXATTRIBFORMATEXT - gpVertexArrayVertexAttribIFormatEXT C.GPVERTEXARRAYVERTEXATTRIBIFORMATEXT - gpVertexArrayVertexAttribIOffsetEXT C.GPVERTEXARRAYVERTEXATTRIBIOFFSETEXT - gpVertexArrayVertexAttribLFormatEXT C.GPVERTEXARRAYVERTEXATTRIBLFORMATEXT - gpVertexArrayVertexAttribLOffsetEXT C.GPVERTEXARRAYVERTEXATTRIBLOFFSETEXT - gpVertexArrayVertexAttribOffsetEXT C.GPVERTEXARRAYVERTEXATTRIBOFFSETEXT - gpVertexArrayVertexBindingDivisorEXT C.GPVERTEXARRAYVERTEXBINDINGDIVISOREXT - gpVertexArrayVertexBuffer C.GPVERTEXARRAYVERTEXBUFFER - gpVertexArrayVertexBuffers C.GPVERTEXARRAYVERTEXBUFFERS - gpVertexArrayVertexOffsetEXT C.GPVERTEXARRAYVERTEXOFFSETEXT - gpVertexAttrib1d C.GPVERTEXATTRIB1D - gpVertexAttrib1dARB C.GPVERTEXATTRIB1DARB - gpVertexAttrib1dNV C.GPVERTEXATTRIB1DNV - gpVertexAttrib1dv C.GPVERTEXATTRIB1DV - gpVertexAttrib1dvARB C.GPVERTEXATTRIB1DVARB - gpVertexAttrib1dvNV C.GPVERTEXATTRIB1DVNV - gpVertexAttrib1f C.GPVERTEXATTRIB1F - gpVertexAttrib1fARB C.GPVERTEXATTRIB1FARB - gpVertexAttrib1fNV C.GPVERTEXATTRIB1FNV - gpVertexAttrib1fv C.GPVERTEXATTRIB1FV - gpVertexAttrib1fvARB C.GPVERTEXATTRIB1FVARB - gpVertexAttrib1fvNV C.GPVERTEXATTRIB1FVNV - gpVertexAttrib1hNV C.GPVERTEXATTRIB1HNV - gpVertexAttrib1hvNV C.GPVERTEXATTRIB1HVNV - gpVertexAttrib1s C.GPVERTEXATTRIB1S - gpVertexAttrib1sARB C.GPVERTEXATTRIB1SARB - gpVertexAttrib1sNV C.GPVERTEXATTRIB1SNV - gpVertexAttrib1sv C.GPVERTEXATTRIB1SV - gpVertexAttrib1svARB C.GPVERTEXATTRIB1SVARB - gpVertexAttrib1svNV C.GPVERTEXATTRIB1SVNV - gpVertexAttrib2d C.GPVERTEXATTRIB2D - gpVertexAttrib2dARB C.GPVERTEXATTRIB2DARB - gpVertexAttrib2dNV C.GPVERTEXATTRIB2DNV - gpVertexAttrib2dv C.GPVERTEXATTRIB2DV - gpVertexAttrib2dvARB C.GPVERTEXATTRIB2DVARB - gpVertexAttrib2dvNV C.GPVERTEXATTRIB2DVNV - gpVertexAttrib2f C.GPVERTEXATTRIB2F - gpVertexAttrib2fARB C.GPVERTEXATTRIB2FARB - gpVertexAttrib2fNV C.GPVERTEXATTRIB2FNV - gpVertexAttrib2fv C.GPVERTEXATTRIB2FV - gpVertexAttrib2fvARB C.GPVERTEXATTRIB2FVARB - gpVertexAttrib2fvNV C.GPVERTEXATTRIB2FVNV - gpVertexAttrib2hNV C.GPVERTEXATTRIB2HNV - gpVertexAttrib2hvNV C.GPVERTEXATTRIB2HVNV - gpVertexAttrib2s C.GPVERTEXATTRIB2S - gpVertexAttrib2sARB C.GPVERTEXATTRIB2SARB - gpVertexAttrib2sNV C.GPVERTEXATTRIB2SNV - gpVertexAttrib2sv C.GPVERTEXATTRIB2SV - gpVertexAttrib2svARB C.GPVERTEXATTRIB2SVARB - gpVertexAttrib2svNV C.GPVERTEXATTRIB2SVNV - gpVertexAttrib3d C.GPVERTEXATTRIB3D - gpVertexAttrib3dARB C.GPVERTEXATTRIB3DARB - gpVertexAttrib3dNV C.GPVERTEXATTRIB3DNV - gpVertexAttrib3dv C.GPVERTEXATTRIB3DV - gpVertexAttrib3dvARB C.GPVERTEXATTRIB3DVARB - gpVertexAttrib3dvNV C.GPVERTEXATTRIB3DVNV - gpVertexAttrib3f C.GPVERTEXATTRIB3F - gpVertexAttrib3fARB C.GPVERTEXATTRIB3FARB - gpVertexAttrib3fNV C.GPVERTEXATTRIB3FNV - gpVertexAttrib3fv C.GPVERTEXATTRIB3FV - gpVertexAttrib3fvARB C.GPVERTEXATTRIB3FVARB - gpVertexAttrib3fvNV C.GPVERTEXATTRIB3FVNV - gpVertexAttrib3hNV C.GPVERTEXATTRIB3HNV - gpVertexAttrib3hvNV C.GPVERTEXATTRIB3HVNV - gpVertexAttrib3s C.GPVERTEXATTRIB3S - gpVertexAttrib3sARB C.GPVERTEXATTRIB3SARB - gpVertexAttrib3sNV C.GPVERTEXATTRIB3SNV - gpVertexAttrib3sv C.GPVERTEXATTRIB3SV - gpVertexAttrib3svARB C.GPVERTEXATTRIB3SVARB - gpVertexAttrib3svNV C.GPVERTEXATTRIB3SVNV - gpVertexAttrib4Nbv C.GPVERTEXATTRIB4NBV - gpVertexAttrib4NbvARB C.GPVERTEXATTRIB4NBVARB - gpVertexAttrib4Niv C.GPVERTEXATTRIB4NIV - gpVertexAttrib4NivARB C.GPVERTEXATTRIB4NIVARB - gpVertexAttrib4Nsv C.GPVERTEXATTRIB4NSV - gpVertexAttrib4NsvARB C.GPVERTEXATTRIB4NSVARB - gpVertexAttrib4Nub C.GPVERTEXATTRIB4NUB - gpVertexAttrib4NubARB C.GPVERTEXATTRIB4NUBARB - gpVertexAttrib4Nubv C.GPVERTEXATTRIB4NUBV - gpVertexAttrib4NubvARB C.GPVERTEXATTRIB4NUBVARB - gpVertexAttrib4Nuiv C.GPVERTEXATTRIB4NUIV - gpVertexAttrib4NuivARB C.GPVERTEXATTRIB4NUIVARB - gpVertexAttrib4Nusv C.GPVERTEXATTRIB4NUSV - gpVertexAttrib4NusvARB C.GPVERTEXATTRIB4NUSVARB - gpVertexAttrib4bv C.GPVERTEXATTRIB4BV - gpVertexAttrib4bvARB C.GPVERTEXATTRIB4BVARB - gpVertexAttrib4d C.GPVERTEXATTRIB4D - gpVertexAttrib4dARB C.GPVERTEXATTRIB4DARB - gpVertexAttrib4dNV C.GPVERTEXATTRIB4DNV - gpVertexAttrib4dv C.GPVERTEXATTRIB4DV - gpVertexAttrib4dvARB C.GPVERTEXATTRIB4DVARB - gpVertexAttrib4dvNV C.GPVERTEXATTRIB4DVNV - gpVertexAttrib4f C.GPVERTEXATTRIB4F - gpVertexAttrib4fARB C.GPVERTEXATTRIB4FARB - gpVertexAttrib4fNV C.GPVERTEXATTRIB4FNV - gpVertexAttrib4fv C.GPVERTEXATTRIB4FV - gpVertexAttrib4fvARB C.GPVERTEXATTRIB4FVARB - gpVertexAttrib4fvNV C.GPVERTEXATTRIB4FVNV - gpVertexAttrib4hNV C.GPVERTEXATTRIB4HNV - gpVertexAttrib4hvNV C.GPVERTEXATTRIB4HVNV - gpVertexAttrib4iv C.GPVERTEXATTRIB4IV - gpVertexAttrib4ivARB C.GPVERTEXATTRIB4IVARB - gpVertexAttrib4s C.GPVERTEXATTRIB4S - gpVertexAttrib4sARB C.GPVERTEXATTRIB4SARB - gpVertexAttrib4sNV C.GPVERTEXATTRIB4SNV - gpVertexAttrib4sv C.GPVERTEXATTRIB4SV - gpVertexAttrib4svARB C.GPVERTEXATTRIB4SVARB - gpVertexAttrib4svNV C.GPVERTEXATTRIB4SVNV - gpVertexAttrib4ubNV C.GPVERTEXATTRIB4UBNV - gpVertexAttrib4ubv C.GPVERTEXATTRIB4UBV - gpVertexAttrib4ubvARB C.GPVERTEXATTRIB4UBVARB - gpVertexAttrib4ubvNV C.GPVERTEXATTRIB4UBVNV - gpVertexAttrib4uiv C.GPVERTEXATTRIB4UIV - gpVertexAttrib4uivARB C.GPVERTEXATTRIB4UIVARB - gpVertexAttrib4usv C.GPVERTEXATTRIB4USV - gpVertexAttrib4usvARB C.GPVERTEXATTRIB4USVARB - gpVertexAttribArrayObjectATI C.GPVERTEXATTRIBARRAYOBJECTATI - gpVertexAttribBinding C.GPVERTEXATTRIBBINDING - gpVertexAttribDivisorARB C.GPVERTEXATTRIBDIVISORARB - gpVertexAttribFormat C.GPVERTEXATTRIBFORMAT - gpVertexAttribFormatNV C.GPVERTEXATTRIBFORMATNV - gpVertexAttribI1iEXT C.GPVERTEXATTRIBI1IEXT - gpVertexAttribI1ivEXT C.GPVERTEXATTRIBI1IVEXT - gpVertexAttribI1uiEXT C.GPVERTEXATTRIBI1UIEXT - gpVertexAttribI1uivEXT C.GPVERTEXATTRIBI1UIVEXT - gpVertexAttribI2iEXT C.GPVERTEXATTRIBI2IEXT - gpVertexAttribI2ivEXT C.GPVERTEXATTRIBI2IVEXT - gpVertexAttribI2uiEXT C.GPVERTEXATTRIBI2UIEXT - gpVertexAttribI2uivEXT C.GPVERTEXATTRIBI2UIVEXT - gpVertexAttribI3iEXT C.GPVERTEXATTRIBI3IEXT - gpVertexAttribI3ivEXT C.GPVERTEXATTRIBI3IVEXT - gpVertexAttribI3uiEXT C.GPVERTEXATTRIBI3UIEXT - gpVertexAttribI3uivEXT C.GPVERTEXATTRIBI3UIVEXT - gpVertexAttribI4bvEXT C.GPVERTEXATTRIBI4BVEXT - gpVertexAttribI4iEXT C.GPVERTEXATTRIBI4IEXT - gpVertexAttribI4ivEXT C.GPVERTEXATTRIBI4IVEXT - gpVertexAttribI4svEXT C.GPVERTEXATTRIBI4SVEXT - gpVertexAttribI4ubvEXT C.GPVERTEXATTRIBI4UBVEXT - gpVertexAttribI4uiEXT C.GPVERTEXATTRIBI4UIEXT - gpVertexAttribI4uivEXT C.GPVERTEXATTRIBI4UIVEXT - gpVertexAttribI4usvEXT C.GPVERTEXATTRIBI4USVEXT - gpVertexAttribIFormat C.GPVERTEXATTRIBIFORMAT - gpVertexAttribIFormatNV C.GPVERTEXATTRIBIFORMATNV - gpVertexAttribIPointerEXT C.GPVERTEXATTRIBIPOINTEREXT - gpVertexAttribL1d C.GPVERTEXATTRIBL1D - gpVertexAttribL1dEXT C.GPVERTEXATTRIBL1DEXT - gpVertexAttribL1dv C.GPVERTEXATTRIBL1DV - gpVertexAttribL1dvEXT C.GPVERTEXATTRIBL1DVEXT - gpVertexAttribL1i64NV C.GPVERTEXATTRIBL1I64NV - gpVertexAttribL1i64vNV C.GPVERTEXATTRIBL1I64VNV - gpVertexAttribL1ui64ARB C.GPVERTEXATTRIBL1UI64ARB - gpVertexAttribL1ui64NV C.GPVERTEXATTRIBL1UI64NV - gpVertexAttribL1ui64vARB C.GPVERTEXATTRIBL1UI64VARB - gpVertexAttribL1ui64vNV C.GPVERTEXATTRIBL1UI64VNV - gpVertexAttribL2d C.GPVERTEXATTRIBL2D - gpVertexAttribL2dEXT C.GPVERTEXATTRIBL2DEXT - gpVertexAttribL2dv C.GPVERTEXATTRIBL2DV - gpVertexAttribL2dvEXT C.GPVERTEXATTRIBL2DVEXT - gpVertexAttribL2i64NV C.GPVERTEXATTRIBL2I64NV - gpVertexAttribL2i64vNV C.GPVERTEXATTRIBL2I64VNV - gpVertexAttribL2ui64NV C.GPVERTEXATTRIBL2UI64NV - gpVertexAttribL2ui64vNV C.GPVERTEXATTRIBL2UI64VNV - gpVertexAttribL3d C.GPVERTEXATTRIBL3D - gpVertexAttribL3dEXT C.GPVERTEXATTRIBL3DEXT - gpVertexAttribL3dv C.GPVERTEXATTRIBL3DV - gpVertexAttribL3dvEXT C.GPVERTEXATTRIBL3DVEXT - gpVertexAttribL3i64NV C.GPVERTEXATTRIBL3I64NV - gpVertexAttribL3i64vNV C.GPVERTEXATTRIBL3I64VNV - gpVertexAttribL3ui64NV C.GPVERTEXATTRIBL3UI64NV - gpVertexAttribL3ui64vNV C.GPVERTEXATTRIBL3UI64VNV - gpVertexAttribL4d C.GPVERTEXATTRIBL4D - gpVertexAttribL4dEXT C.GPVERTEXATTRIBL4DEXT - gpVertexAttribL4dv C.GPVERTEXATTRIBL4DV - gpVertexAttribL4dvEXT C.GPVERTEXATTRIBL4DVEXT - gpVertexAttribL4i64NV C.GPVERTEXATTRIBL4I64NV - gpVertexAttribL4i64vNV C.GPVERTEXATTRIBL4I64VNV - gpVertexAttribL4ui64NV C.GPVERTEXATTRIBL4UI64NV - gpVertexAttribL4ui64vNV C.GPVERTEXATTRIBL4UI64VNV - gpVertexAttribLFormat C.GPVERTEXATTRIBLFORMAT - gpVertexAttribLFormatNV C.GPVERTEXATTRIBLFORMATNV - gpVertexAttribLPointer C.GPVERTEXATTRIBLPOINTER - gpVertexAttribLPointerEXT C.GPVERTEXATTRIBLPOINTEREXT - gpVertexAttribP1ui C.GPVERTEXATTRIBP1UI - gpVertexAttribP1uiv C.GPVERTEXATTRIBP1UIV - gpVertexAttribP2ui C.GPVERTEXATTRIBP2UI - gpVertexAttribP2uiv C.GPVERTEXATTRIBP2UIV - gpVertexAttribP3ui C.GPVERTEXATTRIBP3UI - gpVertexAttribP3uiv C.GPVERTEXATTRIBP3UIV - gpVertexAttribP4ui C.GPVERTEXATTRIBP4UI - gpVertexAttribP4uiv C.GPVERTEXATTRIBP4UIV - gpVertexAttribParameteriAMD C.GPVERTEXATTRIBPARAMETERIAMD - gpVertexAttribPointer C.GPVERTEXATTRIBPOINTER - gpVertexAttribPointerARB C.GPVERTEXATTRIBPOINTERARB - gpVertexAttribPointerNV C.GPVERTEXATTRIBPOINTERNV - gpVertexAttribs1dvNV C.GPVERTEXATTRIBS1DVNV - gpVertexAttribs1fvNV C.GPVERTEXATTRIBS1FVNV - gpVertexAttribs1hvNV C.GPVERTEXATTRIBS1HVNV - gpVertexAttribs1svNV C.GPVERTEXATTRIBS1SVNV - gpVertexAttribs2dvNV C.GPVERTEXATTRIBS2DVNV - gpVertexAttribs2fvNV C.GPVERTEXATTRIBS2FVNV - gpVertexAttribs2hvNV C.GPVERTEXATTRIBS2HVNV - gpVertexAttribs2svNV C.GPVERTEXATTRIBS2SVNV - gpVertexAttribs3dvNV C.GPVERTEXATTRIBS3DVNV - gpVertexAttribs3fvNV C.GPVERTEXATTRIBS3FVNV - gpVertexAttribs3hvNV C.GPVERTEXATTRIBS3HVNV - gpVertexAttribs3svNV C.GPVERTEXATTRIBS3SVNV - gpVertexAttribs4dvNV C.GPVERTEXATTRIBS4DVNV - gpVertexAttribs4fvNV C.GPVERTEXATTRIBS4FVNV - gpVertexAttribs4hvNV C.GPVERTEXATTRIBS4HVNV - gpVertexAttribs4svNV C.GPVERTEXATTRIBS4SVNV - gpVertexAttribs4ubvNV C.GPVERTEXATTRIBS4UBVNV - gpVertexBindingDivisor C.GPVERTEXBINDINGDIVISOR - gpVertexBlendARB C.GPVERTEXBLENDARB - gpVertexBlendEnvfATI C.GPVERTEXBLENDENVFATI - gpVertexBlendEnviATI C.GPVERTEXBLENDENVIATI - gpVertexFormatNV C.GPVERTEXFORMATNV - gpVertexPointer C.GPVERTEXPOINTER - gpVertexPointerEXT C.GPVERTEXPOINTEREXT - gpVertexPointerListIBM C.GPVERTEXPOINTERLISTIBM - gpVertexPointervINTEL C.GPVERTEXPOINTERVINTEL - gpVertexStream1dATI C.GPVERTEXSTREAM1DATI - gpVertexStream1dvATI C.GPVERTEXSTREAM1DVATI - gpVertexStream1fATI C.GPVERTEXSTREAM1FATI - gpVertexStream1fvATI C.GPVERTEXSTREAM1FVATI - gpVertexStream1iATI C.GPVERTEXSTREAM1IATI - gpVertexStream1ivATI C.GPVERTEXSTREAM1IVATI - gpVertexStream1sATI C.GPVERTEXSTREAM1SATI - gpVertexStream1svATI C.GPVERTEXSTREAM1SVATI - gpVertexStream2dATI C.GPVERTEXSTREAM2DATI - gpVertexStream2dvATI C.GPVERTEXSTREAM2DVATI - gpVertexStream2fATI C.GPVERTEXSTREAM2FATI - gpVertexStream2fvATI C.GPVERTEXSTREAM2FVATI - gpVertexStream2iATI C.GPVERTEXSTREAM2IATI - gpVertexStream2ivATI C.GPVERTEXSTREAM2IVATI - gpVertexStream2sATI C.GPVERTEXSTREAM2SATI - gpVertexStream2svATI C.GPVERTEXSTREAM2SVATI - gpVertexStream3dATI C.GPVERTEXSTREAM3DATI - gpVertexStream3dvATI C.GPVERTEXSTREAM3DVATI - gpVertexStream3fATI C.GPVERTEXSTREAM3FATI - gpVertexStream3fvATI C.GPVERTEXSTREAM3FVATI - gpVertexStream3iATI C.GPVERTEXSTREAM3IATI - gpVertexStream3ivATI C.GPVERTEXSTREAM3IVATI - gpVertexStream3sATI C.GPVERTEXSTREAM3SATI - gpVertexStream3svATI C.GPVERTEXSTREAM3SVATI - gpVertexStream4dATI C.GPVERTEXSTREAM4DATI - gpVertexStream4dvATI C.GPVERTEXSTREAM4DVATI - gpVertexStream4fATI C.GPVERTEXSTREAM4FATI - gpVertexStream4fvATI C.GPVERTEXSTREAM4FVATI - gpVertexStream4iATI C.GPVERTEXSTREAM4IATI - gpVertexStream4ivATI C.GPVERTEXSTREAM4IVATI - gpVertexStream4sATI C.GPVERTEXSTREAM4SATI - gpVertexStream4svATI C.GPVERTEXSTREAM4SVATI - gpVertexWeightPointerEXT C.GPVERTEXWEIGHTPOINTEREXT - gpVertexWeightfEXT C.GPVERTEXWEIGHTFEXT - gpVertexWeightfvEXT C.GPVERTEXWEIGHTFVEXT - gpVertexWeighthNV C.GPVERTEXWEIGHTHNV - gpVertexWeighthvNV C.GPVERTEXWEIGHTHVNV - gpVideoCaptureNV C.GPVIDEOCAPTURENV - gpVideoCaptureStreamParameterdvNV C.GPVIDEOCAPTURESTREAMPARAMETERDVNV - gpVideoCaptureStreamParameterfvNV C.GPVIDEOCAPTURESTREAMPARAMETERFVNV - gpVideoCaptureStreamParameterivNV C.GPVIDEOCAPTURESTREAMPARAMETERIVNV - gpViewport C.GPVIEWPORT - gpViewportArrayv C.GPVIEWPORTARRAYV - gpViewportIndexedf C.GPVIEWPORTINDEXEDF - gpViewportIndexedfv C.GPVIEWPORTINDEXEDFV - gpViewportPositionWScaleNV C.GPVIEWPORTPOSITIONWSCALENV - gpViewportSwizzleNV C.GPVIEWPORTSWIZZLENV - gpWaitSemaphoreEXT C.GPWAITSEMAPHOREEXT - gpWaitSync C.GPWAITSYNC - gpWaitVkSemaphoreNV C.GPWAITVKSEMAPHORENV - gpWeightPathsNV C.GPWEIGHTPATHSNV - gpWeightPointerARB C.GPWEIGHTPOINTERARB - gpWeightbvARB C.GPWEIGHTBVARB - gpWeightdvARB C.GPWEIGHTDVARB - gpWeightfvARB C.GPWEIGHTFVARB - gpWeightivARB C.GPWEIGHTIVARB - gpWeightsvARB C.GPWEIGHTSVARB - gpWeightubvARB C.GPWEIGHTUBVARB - gpWeightuivARB C.GPWEIGHTUIVARB - gpWeightusvARB C.GPWEIGHTUSVARB - gpWindowPos2d C.GPWINDOWPOS2D - gpWindowPos2dARB C.GPWINDOWPOS2DARB - gpWindowPos2dMESA C.GPWINDOWPOS2DMESA - gpWindowPos2dv C.GPWINDOWPOS2DV - gpWindowPos2dvARB C.GPWINDOWPOS2DVARB - gpWindowPos2dvMESA C.GPWINDOWPOS2DVMESA - gpWindowPos2f C.GPWINDOWPOS2F - gpWindowPos2fARB C.GPWINDOWPOS2FARB - gpWindowPos2fMESA C.GPWINDOWPOS2FMESA - gpWindowPos2fv C.GPWINDOWPOS2FV - gpWindowPos2fvARB C.GPWINDOWPOS2FVARB - gpWindowPos2fvMESA C.GPWINDOWPOS2FVMESA - gpWindowPos2i C.GPWINDOWPOS2I - gpWindowPos2iARB C.GPWINDOWPOS2IARB - gpWindowPos2iMESA C.GPWINDOWPOS2IMESA - gpWindowPos2iv C.GPWINDOWPOS2IV - gpWindowPos2ivARB C.GPWINDOWPOS2IVARB - gpWindowPos2ivMESA C.GPWINDOWPOS2IVMESA - gpWindowPos2s C.GPWINDOWPOS2S - gpWindowPos2sARB C.GPWINDOWPOS2SARB - gpWindowPos2sMESA C.GPWINDOWPOS2SMESA - gpWindowPos2sv C.GPWINDOWPOS2SV - gpWindowPos2svARB C.GPWINDOWPOS2SVARB - gpWindowPos2svMESA C.GPWINDOWPOS2SVMESA - gpWindowPos3d C.GPWINDOWPOS3D - gpWindowPos3dARB C.GPWINDOWPOS3DARB - gpWindowPos3dMESA C.GPWINDOWPOS3DMESA - gpWindowPos3dv C.GPWINDOWPOS3DV - gpWindowPos3dvARB C.GPWINDOWPOS3DVARB - gpWindowPos3dvMESA C.GPWINDOWPOS3DVMESA - gpWindowPos3f C.GPWINDOWPOS3F - gpWindowPos3fARB C.GPWINDOWPOS3FARB - gpWindowPos3fMESA C.GPWINDOWPOS3FMESA - gpWindowPos3fv C.GPWINDOWPOS3FV - gpWindowPos3fvARB C.GPWINDOWPOS3FVARB - gpWindowPos3fvMESA C.GPWINDOWPOS3FVMESA - gpWindowPos3i C.GPWINDOWPOS3I - gpWindowPos3iARB C.GPWINDOWPOS3IARB - gpWindowPos3iMESA C.GPWINDOWPOS3IMESA - gpWindowPos3iv C.GPWINDOWPOS3IV - gpWindowPos3ivARB C.GPWINDOWPOS3IVARB - gpWindowPos3ivMESA C.GPWINDOWPOS3IVMESA - gpWindowPos3s C.GPWINDOWPOS3S - gpWindowPos3sARB C.GPWINDOWPOS3SARB - gpWindowPos3sMESA C.GPWINDOWPOS3SMESA - gpWindowPos3sv C.GPWINDOWPOS3SV - gpWindowPos3svARB C.GPWINDOWPOS3SVARB - gpWindowPos3svMESA C.GPWINDOWPOS3SVMESA - gpWindowPos4dMESA C.GPWINDOWPOS4DMESA - gpWindowPos4dvMESA C.GPWINDOWPOS4DVMESA - gpWindowPos4fMESA C.GPWINDOWPOS4FMESA - gpWindowPos4fvMESA C.GPWINDOWPOS4FVMESA - gpWindowPos4iMESA C.GPWINDOWPOS4IMESA - gpWindowPos4ivMESA C.GPWINDOWPOS4IVMESA - gpWindowPos4sMESA C.GPWINDOWPOS4SMESA - gpWindowPos4svMESA C.GPWINDOWPOS4SVMESA - gpWindowRectanglesEXT C.GPWINDOWRECTANGLESEXT - gpWriteMaskEXT C.GPWRITEMASKEXT + gpAttachShader C.GPATTACHSHADER + gpBindAttribLocation C.GPBINDATTRIBLOCATION + gpBindBuffer C.GPBINDBUFFER + gpBindFramebufferEXT C.GPBINDFRAMEBUFFEREXT + gpBindTexture C.GPBINDTEXTURE + gpBlendFunc C.GPBLENDFUNC + gpBufferData C.GPBUFFERDATA + gpBufferSubData C.GPBUFFERSUBDATA + gpCheckFramebufferStatusEXT C.GPCHECKFRAMEBUFFERSTATUSEXT + gpCompileShader C.GPCOMPILESHADER + gpCreateProgram C.GPCREATEPROGRAM + gpCreateShader C.GPCREATESHADER + gpDeleteBuffers C.GPDELETEBUFFERS + gpDeleteFramebuffersEXT C.GPDELETEFRAMEBUFFERSEXT + gpDeleteProgram C.GPDELETEPROGRAM + gpDeleteShader C.GPDELETESHADER + gpDeleteTextures C.GPDELETETEXTURES + gpDisableVertexAttribArray C.GPDISABLEVERTEXATTRIBARRAY + gpDrawElements C.GPDRAWELEMENTS + gpEnable C.GPENABLE + gpEnableVertexAttribArray C.GPENABLEVERTEXATTRIBARRAY + gpFlush C.GPFLUSH + gpFramebufferTexture2DEXT C.GPFRAMEBUFFERTEXTURE2DEXT + gpGenBuffers C.GPGENBUFFERS + gpGenFramebuffersEXT C.GPGENFRAMEBUFFERSEXT + gpGenTextures C.GPGENTEXTURES + gpGetDoublei_v C.GPGETDOUBLEI_V + gpGetDoublei_vEXT C.GPGETDOUBLEI_VEXT + gpGetError C.GPGETERROR + gpGetFloati_v C.GPGETFLOATI_V + gpGetFloati_vEXT C.GPGETFLOATI_VEXT + gpGetIntegeri_v C.GPGETINTEGERI_V + gpGetIntegerui64i_vNV C.GPGETINTEGERUI64I_VNV + gpGetIntegerv C.GPGETINTEGERV + gpGetPointeri_vEXT C.GPGETPOINTERI_VEXT + gpGetProgramiv C.GPGETPROGRAMIV + gpGetShaderInfoLog C.GPGETSHADERINFOLOG + gpGetShaderiv C.GPGETSHADERIV + gpGetTransformFeedbacki64_v C.GPGETTRANSFORMFEEDBACKI64_V + gpGetTransformFeedbacki_v C.GPGETTRANSFORMFEEDBACKI_V + gpGetUniformLocation C.GPGETUNIFORMLOCATION + gpGetUnsignedBytei_vEXT C.GPGETUNSIGNEDBYTEI_VEXT + gpGetVertexArrayIntegeri_vEXT C.GPGETVERTEXARRAYINTEGERI_VEXT + gpGetVertexArrayPointeri_vEXT C.GPGETVERTEXARRAYPOINTERI_VEXT + gpIsFramebufferEXT C.GPISFRAMEBUFFEREXT + gpIsProgram C.GPISPROGRAM + gpIsTexture C.GPISTEXTURE + gpLinkProgram C.GPLINKPROGRAM + gpPixelStorei C.GPPIXELSTOREI + gpReadPixels C.GPREADPIXELS + gpShaderSource C.GPSHADERSOURCE + gpTexImage2D C.GPTEXIMAGE2D + gpTexParameteri C.GPTEXPARAMETERI + gpTexSubImage2D C.GPTEXSUBIMAGE2D + gpUniform1f C.GPUNIFORM1F + gpUniform1i C.GPUNIFORM1I + gpUniform2fv C.GPUNIFORM2FV + gpUniform4fv C.GPUNIFORM4FV + gpUniformMatrix4fv C.GPUNIFORMMATRIX4FV + gpUseProgram C.GPUSEPROGRAM + gpVertexAttribPointer C.GPVERTEXATTRIBPOINTER + gpViewport C.GPVIEWPORT ) -// Helper functions func boolToInt(b bool) int { if b { return 1 @@ -14066,3512 +430,157 @@ func boolToInt(b bool) int { return 0 } -// operate on the accumulation buffer -func Accum(op uint32, value float32) { - C.glowAccum(gpAccum, (C.GLenum)(op), (C.GLfloat)(value)) -} -func AccumxOES(op uint32, value int32) { - C.glowAccumxOES(gpAccumxOES, (C.GLenum)(op), (C.GLfixed)(value)) -} -func AcquireKeyedMutexWin32EXT(memory uint32, key uint64, timeout uint32) bool { - ret := C.glowAcquireKeyedMutexWin32EXT(gpAcquireKeyedMutexWin32EXT, (C.GLuint)(memory), (C.GLuint64)(key), (C.GLuint)(timeout)) - return ret == TRUE -} -func ActiveProgramEXT(program uint32) { - C.glowActiveProgramEXT(gpActiveProgramEXT, (C.GLuint)(program)) -} - -// set the active program object for a program pipeline object -func ActiveShaderProgram(pipeline uint32, program uint32) { - C.glowActiveShaderProgram(gpActiveShaderProgram, (C.GLuint)(pipeline), (C.GLuint)(program)) -} -func ActiveShaderProgramEXT(pipeline uint32, program uint32) { - C.glowActiveShaderProgramEXT(gpActiveShaderProgramEXT, (C.GLuint)(pipeline), (C.GLuint)(program)) -} -func ActiveStencilFaceEXT(face uint32) { - C.glowActiveStencilFaceEXT(gpActiveStencilFaceEXT, (C.GLenum)(face)) -} - -// select active texture unit -func ActiveTexture(texture uint32) { - C.glowActiveTexture(gpActiveTexture, (C.GLenum)(texture)) -} -func ActiveTextureARB(texture uint32) { - C.glowActiveTextureARB(gpActiveTextureARB, (C.GLenum)(texture)) -} -func ActiveVaryingNV(program uint32, name *uint8) { - C.glowActiveVaryingNV(gpActiveVaryingNV, (C.GLuint)(program), (*C.GLchar)(unsafe.Pointer(name))) -} -func AlphaFragmentOp1ATI(op uint32, dst uint32, dstMod uint32, arg1 uint32, arg1Rep uint32, arg1Mod uint32) { - C.glowAlphaFragmentOp1ATI(gpAlphaFragmentOp1ATI, (C.GLenum)(op), (C.GLuint)(dst), (C.GLuint)(dstMod), (C.GLuint)(arg1), (C.GLuint)(arg1Rep), (C.GLuint)(arg1Mod)) -} -func AlphaFragmentOp2ATI(op uint32, dst uint32, dstMod uint32, arg1 uint32, arg1Rep uint32, arg1Mod uint32, arg2 uint32, arg2Rep uint32, arg2Mod uint32) { - C.glowAlphaFragmentOp2ATI(gpAlphaFragmentOp2ATI, (C.GLenum)(op), (C.GLuint)(dst), (C.GLuint)(dstMod), (C.GLuint)(arg1), (C.GLuint)(arg1Rep), (C.GLuint)(arg1Mod), (C.GLuint)(arg2), (C.GLuint)(arg2Rep), (C.GLuint)(arg2Mod)) -} -func AlphaFragmentOp3ATI(op uint32, dst uint32, dstMod uint32, arg1 uint32, arg1Rep uint32, arg1Mod uint32, arg2 uint32, arg2Rep uint32, arg2Mod uint32, arg3 uint32, arg3Rep uint32, arg3Mod uint32) { - C.glowAlphaFragmentOp3ATI(gpAlphaFragmentOp3ATI, (C.GLenum)(op), (C.GLuint)(dst), (C.GLuint)(dstMod), (C.GLuint)(arg1), (C.GLuint)(arg1Rep), (C.GLuint)(arg1Mod), (C.GLuint)(arg2), (C.GLuint)(arg2Rep), (C.GLuint)(arg2Mod), (C.GLuint)(arg3), (C.GLuint)(arg3Rep), (C.GLuint)(arg3Mod)) -} - -// specify the alpha test function -func AlphaFunc(xfunc uint32, ref float32) { - C.glowAlphaFunc(gpAlphaFunc, (C.GLenum)(xfunc), (C.GLfloat)(ref)) -} -func AlphaFuncxOES(xfunc uint32, ref int32) { - C.glowAlphaFuncxOES(gpAlphaFuncxOES, (C.GLenum)(xfunc), (C.GLfixed)(ref)) -} -func AlphaToCoverageDitherControlNV(mode uint32) { - C.glowAlphaToCoverageDitherControlNV(gpAlphaToCoverageDitherControlNV, (C.GLenum)(mode)) -} -func ApplyFramebufferAttachmentCMAAINTEL() { - C.glowApplyFramebufferAttachmentCMAAINTEL(gpApplyFramebufferAttachmentCMAAINTEL) -} -func ApplyTextureEXT(mode uint32) { - C.glowApplyTextureEXT(gpApplyTextureEXT, (C.GLenum)(mode)) -} -func AreProgramsResidentNV(n int32, programs *uint32, residences *bool) bool { - ret := C.glowAreProgramsResidentNV(gpAreProgramsResidentNV, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(programs)), (*C.GLboolean)(unsafe.Pointer(residences))) - return ret == TRUE -} - -// determine if textures are loaded in texture memory -func AreTexturesResident(n int32, textures *uint32, residences *bool) bool { - ret := C.glowAreTexturesResident(gpAreTexturesResident, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(textures)), (*C.GLboolean)(unsafe.Pointer(residences))) - return ret == TRUE -} -func AreTexturesResidentEXT(n int32, textures *uint32, residences *bool) bool { - ret := C.glowAreTexturesResidentEXT(gpAreTexturesResidentEXT, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(textures)), (*C.GLboolean)(unsafe.Pointer(residences))) - return ret == TRUE -} - -// render a vertex using the specified vertex array element -func ArrayElement(i int32) { - C.glowArrayElement(gpArrayElement, (C.GLint)(i)) -} -func ArrayElementEXT(i int32) { - C.glowArrayElementEXT(gpArrayElementEXT, (C.GLint)(i)) -} -func ArrayObjectATI(array uint32, size int32, xtype uint32, stride int32, buffer uint32, offset uint32) { - C.glowArrayObjectATI(gpArrayObjectATI, (C.GLenum)(array), (C.GLint)(size), (C.GLenum)(xtype), (C.GLsizei)(stride), (C.GLuint)(buffer), (C.GLuint)(offset)) -} -func AsyncMarkerSGIX(marker uint32) { - C.glowAsyncMarkerSGIX(gpAsyncMarkerSGIX, (C.GLuint)(marker)) -} -func AttachObjectARB(containerObj uintptr, obj uintptr) { - C.glowAttachObjectARB(gpAttachObjectARB, (C.GLhandleARB)(containerObj), (C.GLhandleARB)(obj)) -} - -// Attaches a shader object to a program object func AttachShader(program uint32, shader uint32) { C.glowAttachShader(gpAttachShader, (C.GLuint)(program), (C.GLuint)(shader)) } -// delimit the vertices of a primitive or a group of like primitives -func Begin(mode uint32) { - C.glowBegin(gpBegin, (C.GLenum)(mode)) -} -func BeginConditionalRenderNV(id uint32, mode uint32) { - C.glowBeginConditionalRenderNV(gpBeginConditionalRenderNV, (C.GLuint)(id), (C.GLenum)(mode)) -} -func BeginConditionalRenderNVX(id uint32) { - C.glowBeginConditionalRenderNVX(gpBeginConditionalRenderNVX, (C.GLuint)(id)) -} -func BeginFragmentShaderATI() { - C.glowBeginFragmentShaderATI(gpBeginFragmentShaderATI) -} -func BeginOcclusionQueryNV(id uint32) { - C.glowBeginOcclusionQueryNV(gpBeginOcclusionQueryNV, (C.GLuint)(id)) -} -func BeginPerfMonitorAMD(monitor uint32) { - C.glowBeginPerfMonitorAMD(gpBeginPerfMonitorAMD, (C.GLuint)(monitor)) -} -func BeginPerfQueryINTEL(queryHandle uint32) { - C.glowBeginPerfQueryINTEL(gpBeginPerfQueryINTEL, (C.GLuint)(queryHandle)) -} - -// delimit the boundaries of a query object -func BeginQuery(target uint32, id uint32) { - C.glowBeginQuery(gpBeginQuery, (C.GLenum)(target), (C.GLuint)(id)) -} -func BeginQueryARB(target uint32, id uint32) { - C.glowBeginQueryARB(gpBeginQueryARB, (C.GLenum)(target), (C.GLuint)(id)) -} -func BeginQueryIndexed(target uint32, index uint32, id uint32) { - C.glowBeginQueryIndexed(gpBeginQueryIndexed, (C.GLenum)(target), (C.GLuint)(index), (C.GLuint)(id)) -} -func BeginTransformFeedbackEXT(primitiveMode uint32) { - C.glowBeginTransformFeedbackEXT(gpBeginTransformFeedbackEXT, (C.GLenum)(primitiveMode)) -} -func BeginTransformFeedbackNV(primitiveMode uint32) { - C.glowBeginTransformFeedbackNV(gpBeginTransformFeedbackNV, (C.GLenum)(primitiveMode)) -} -func BeginVertexShaderEXT() { - C.glowBeginVertexShaderEXT(gpBeginVertexShaderEXT) -} -func BeginVideoCaptureNV(video_capture_slot uint32) { - C.glowBeginVideoCaptureNV(gpBeginVideoCaptureNV, (C.GLuint)(video_capture_slot)) -} - -// Associates a generic vertex attribute index with a named attribute variable func BindAttribLocation(program uint32, index uint32, name *uint8) { C.glowBindAttribLocation(gpBindAttribLocation, (C.GLuint)(program), (C.GLuint)(index), (*C.GLchar)(unsafe.Pointer(name))) } -func BindAttribLocationARB(programObj uintptr, index uint32, name *uint8) { - C.glowBindAttribLocationARB(gpBindAttribLocationARB, (C.GLhandleARB)(programObj), (C.GLuint)(index), (*C.GLcharARB)(unsafe.Pointer(name))) -} -// bind a named buffer object func BindBuffer(target uint32, buffer uint32) { C.glowBindBuffer(gpBindBuffer, (C.GLenum)(target), (C.GLuint)(buffer)) } -func BindBufferARB(target uint32, buffer uint32) { - C.glowBindBufferARB(gpBindBufferARB, (C.GLenum)(target), (C.GLuint)(buffer)) -} -// bind a buffer object to an indexed buffer target -func BindBufferBase(target uint32, index uint32, buffer uint32) { - C.glowBindBufferBase(gpBindBufferBase, (C.GLenum)(target), (C.GLuint)(index), (C.GLuint)(buffer)) -} -func BindBufferBaseEXT(target uint32, index uint32, buffer uint32) { - C.glowBindBufferBaseEXT(gpBindBufferBaseEXT, (C.GLenum)(target), (C.GLuint)(index), (C.GLuint)(buffer)) -} -func BindBufferBaseNV(target uint32, index uint32, buffer uint32) { - C.glowBindBufferBaseNV(gpBindBufferBaseNV, (C.GLenum)(target), (C.GLuint)(index), (C.GLuint)(buffer)) -} -func BindBufferOffsetEXT(target uint32, index uint32, buffer uint32, offset int) { - C.glowBindBufferOffsetEXT(gpBindBufferOffsetEXT, (C.GLenum)(target), (C.GLuint)(index), (C.GLuint)(buffer), (C.GLintptr)(offset)) -} -func BindBufferOffsetNV(target uint32, index uint32, buffer uint32, offset int) { - C.glowBindBufferOffsetNV(gpBindBufferOffsetNV, (C.GLenum)(target), (C.GLuint)(index), (C.GLuint)(buffer), (C.GLintptr)(offset)) -} - -// bind a range within a buffer object to an indexed buffer target -func BindBufferRange(target uint32, index uint32, buffer uint32, offset int, size int) { - C.glowBindBufferRange(gpBindBufferRange, (C.GLenum)(target), (C.GLuint)(index), (C.GLuint)(buffer), (C.GLintptr)(offset), (C.GLsizeiptr)(size)) -} -func BindBufferRangeEXT(target uint32, index uint32, buffer uint32, offset int, size int) { - C.glowBindBufferRangeEXT(gpBindBufferRangeEXT, (C.GLenum)(target), (C.GLuint)(index), (C.GLuint)(buffer), (C.GLintptr)(offset), (C.GLsizeiptr)(size)) -} -func BindBufferRangeNV(target uint32, index uint32, buffer uint32, offset int, size int) { - C.glowBindBufferRangeNV(gpBindBufferRangeNV, (C.GLenum)(target), (C.GLuint)(index), (C.GLuint)(buffer), (C.GLintptr)(offset), (C.GLsizeiptr)(size)) -} - -// bind one or more buffer objects to a sequence of indexed buffer targets -func BindBuffersBase(target uint32, first uint32, count int32, buffers *uint32) { - C.glowBindBuffersBase(gpBindBuffersBase, (C.GLenum)(target), (C.GLuint)(first), (C.GLsizei)(count), (*C.GLuint)(unsafe.Pointer(buffers))) -} - -// bind ranges of one or more buffer objects to a sequence of indexed buffer targets -func BindBuffersRange(target uint32, first uint32, count int32, buffers *uint32, offsets *int, sizes *int) { - C.glowBindBuffersRange(gpBindBuffersRange, (C.GLenum)(target), (C.GLuint)(first), (C.GLsizei)(count), (*C.GLuint)(unsafe.Pointer(buffers)), (*C.GLintptr)(unsafe.Pointer(offsets)), (*C.GLsizeiptr)(unsafe.Pointer(sizes))) -} -func BindFragDataLocationEXT(program uint32, color uint32, name *uint8) { - C.glowBindFragDataLocationEXT(gpBindFragDataLocationEXT, (C.GLuint)(program), (C.GLuint)(color), (*C.GLchar)(unsafe.Pointer(name))) -} - -// bind a user-defined varying out variable to a fragment shader color number and index -func BindFragDataLocationIndexed(program uint32, colorNumber uint32, index uint32, name *uint8) { - C.glowBindFragDataLocationIndexed(gpBindFragDataLocationIndexed, (C.GLuint)(program), (C.GLuint)(colorNumber), (C.GLuint)(index), (*C.GLchar)(unsafe.Pointer(name))) -} -func BindFragmentShaderATI(id uint32) { - C.glowBindFragmentShaderATI(gpBindFragmentShaderATI, (C.GLuint)(id)) -} - -// bind a framebuffer to a framebuffer target -func BindFramebuffer(target uint32, framebuffer uint32) { - C.glowBindFramebuffer(gpBindFramebuffer, (C.GLenum)(target), (C.GLuint)(framebuffer)) -} func BindFramebufferEXT(target uint32, framebuffer uint32) { C.glowBindFramebufferEXT(gpBindFramebufferEXT, (C.GLenum)(target), (C.GLuint)(framebuffer)) } -// bind a level of a texture to an image unit -func BindImageTexture(unit uint32, texture uint32, level int32, layered bool, layer int32, access uint32, format uint32) { - C.glowBindImageTexture(gpBindImageTexture, (C.GLuint)(unit), (C.GLuint)(texture), (C.GLint)(level), (C.GLboolean)(boolToInt(layered)), (C.GLint)(layer), (C.GLenum)(access), (C.GLenum)(format)) -} -func BindImageTextureEXT(index uint32, texture uint32, level int32, layered bool, layer int32, access uint32, format int32) { - C.glowBindImageTextureEXT(gpBindImageTextureEXT, (C.GLuint)(index), (C.GLuint)(texture), (C.GLint)(level), (C.GLboolean)(boolToInt(layered)), (C.GLint)(layer), (C.GLenum)(access), (C.GLint)(format)) -} - -// bind one or more named texture images to a sequence of consecutive image units -func BindImageTextures(first uint32, count int32, textures *uint32) { - C.glowBindImageTextures(gpBindImageTextures, (C.GLuint)(first), (C.GLsizei)(count), (*C.GLuint)(unsafe.Pointer(textures))) -} -func BindLightParameterEXT(light uint32, value uint32) uint32 { - ret := C.glowBindLightParameterEXT(gpBindLightParameterEXT, (C.GLenum)(light), (C.GLenum)(value)) - return (uint32)(ret) -} -func BindMaterialParameterEXT(face uint32, value uint32) uint32 { - ret := C.glowBindMaterialParameterEXT(gpBindMaterialParameterEXT, (C.GLenum)(face), (C.GLenum)(value)) - return (uint32)(ret) -} -func BindMultiTextureEXT(texunit uint32, target uint32, texture uint32) { - C.glowBindMultiTextureEXT(gpBindMultiTextureEXT, (C.GLenum)(texunit), (C.GLenum)(target), (C.GLuint)(texture)) -} -func BindParameterEXT(value uint32) uint32 { - ret := C.glowBindParameterEXT(gpBindParameterEXT, (C.GLenum)(value)) - return (uint32)(ret) -} -func BindProgramARB(target uint32, program uint32) { - C.glowBindProgramARB(gpBindProgramARB, (C.GLenum)(target), (C.GLuint)(program)) -} -func BindProgramNV(target uint32, id uint32) { - C.glowBindProgramNV(gpBindProgramNV, (C.GLenum)(target), (C.GLuint)(id)) -} - -// bind a program pipeline to the current context -func BindProgramPipeline(pipeline uint32) { - C.glowBindProgramPipeline(gpBindProgramPipeline, (C.GLuint)(pipeline)) -} -func BindProgramPipelineEXT(pipeline uint32) { - C.glowBindProgramPipelineEXT(gpBindProgramPipelineEXT, (C.GLuint)(pipeline)) -} - -// bind a renderbuffer to a renderbuffer target -func BindRenderbuffer(target uint32, renderbuffer uint32) { - C.glowBindRenderbuffer(gpBindRenderbuffer, (C.GLenum)(target), (C.GLuint)(renderbuffer)) -} -func BindRenderbufferEXT(target uint32, renderbuffer uint32) { - C.glowBindRenderbufferEXT(gpBindRenderbufferEXT, (C.GLenum)(target), (C.GLuint)(renderbuffer)) -} - -// bind a named sampler to a texturing target -func BindSampler(unit uint32, sampler uint32) { - C.glowBindSampler(gpBindSampler, (C.GLuint)(unit), (C.GLuint)(sampler)) -} - -// bind one or more named sampler objects to a sequence of consecutive sampler units -func BindSamplers(first uint32, count int32, samplers *uint32) { - C.glowBindSamplers(gpBindSamplers, (C.GLuint)(first), (C.GLsizei)(count), (*C.GLuint)(unsafe.Pointer(samplers))) -} -func BindTexGenParameterEXT(unit uint32, coord uint32, value uint32) uint32 { - ret := C.glowBindTexGenParameterEXT(gpBindTexGenParameterEXT, (C.GLenum)(unit), (C.GLenum)(coord), (C.GLenum)(value)) - return (uint32)(ret) -} - -// bind a named texture to a texturing target func BindTexture(target uint32, texture uint32) { C.glowBindTexture(gpBindTexture, (C.GLenum)(target), (C.GLuint)(texture)) } -func BindTextureEXT(target uint32, texture uint32) { - C.glowBindTextureEXT(gpBindTextureEXT, (C.GLenum)(target), (C.GLuint)(texture)) -} -// bind an existing texture object to the specified texture unit -func BindTextureUnit(unit uint32, texture uint32) { - C.glowBindTextureUnit(gpBindTextureUnit, (C.GLuint)(unit), (C.GLuint)(texture)) -} -func BindTextureUnitParameterEXT(unit uint32, value uint32) uint32 { - ret := C.glowBindTextureUnitParameterEXT(gpBindTextureUnitParameterEXT, (C.GLenum)(unit), (C.GLenum)(value)) - return (uint32)(ret) -} - -// bind one or more named textures to a sequence of consecutive texture units -func BindTextures(first uint32, count int32, textures *uint32) { - C.glowBindTextures(gpBindTextures, (C.GLuint)(first), (C.GLsizei)(count), (*C.GLuint)(unsafe.Pointer(textures))) -} - -// bind a transform feedback object -func BindTransformFeedback(target uint32, id uint32) { - C.glowBindTransformFeedback(gpBindTransformFeedback, (C.GLenum)(target), (C.GLuint)(id)) -} -func BindTransformFeedbackNV(target uint32, id uint32) { - C.glowBindTransformFeedbackNV(gpBindTransformFeedbackNV, (C.GLenum)(target), (C.GLuint)(id)) -} - -// bind a vertex array object -func BindVertexArray(array uint32) { - C.glowBindVertexArray(gpBindVertexArray, (C.GLuint)(array)) -} -func BindVertexArrayAPPLE(array uint32) { - C.glowBindVertexArrayAPPLE(gpBindVertexArrayAPPLE, (C.GLuint)(array)) -} - -// bind a buffer to a vertex buffer bind point -func BindVertexBuffer(bindingindex uint32, buffer uint32, offset int, stride int32) { - C.glowBindVertexBuffer(gpBindVertexBuffer, (C.GLuint)(bindingindex), (C.GLuint)(buffer), (C.GLintptr)(offset), (C.GLsizei)(stride)) -} - -// attach multiple buffer objects to a vertex array object -func BindVertexBuffers(first uint32, count int32, buffers *uint32, offsets *int, strides *int32) { - C.glowBindVertexBuffers(gpBindVertexBuffers, (C.GLuint)(first), (C.GLsizei)(count), (*C.GLuint)(unsafe.Pointer(buffers)), (*C.GLintptr)(unsafe.Pointer(offsets)), (*C.GLsizei)(unsafe.Pointer(strides))) -} -func BindVertexShaderEXT(id uint32) { - C.glowBindVertexShaderEXT(gpBindVertexShaderEXT, (C.GLuint)(id)) -} -func BindVideoCaptureStreamBufferNV(video_capture_slot uint32, stream uint32, frame_region uint32, offset int) { - C.glowBindVideoCaptureStreamBufferNV(gpBindVideoCaptureStreamBufferNV, (C.GLuint)(video_capture_slot), (C.GLuint)(stream), (C.GLenum)(frame_region), (C.GLintptrARB)(offset)) -} -func BindVideoCaptureStreamTextureNV(video_capture_slot uint32, stream uint32, frame_region uint32, target uint32, texture uint32) { - C.glowBindVideoCaptureStreamTextureNV(gpBindVideoCaptureStreamTextureNV, (C.GLuint)(video_capture_slot), (C.GLuint)(stream), (C.GLenum)(frame_region), (C.GLenum)(target), (C.GLuint)(texture)) -} -func Binormal3bEXT(bx int8, by int8, bz int8) { - C.glowBinormal3bEXT(gpBinormal3bEXT, (C.GLbyte)(bx), (C.GLbyte)(by), (C.GLbyte)(bz)) -} -func Binormal3bvEXT(v *int8) { - C.glowBinormal3bvEXT(gpBinormal3bvEXT, (*C.GLbyte)(unsafe.Pointer(v))) -} -func Binormal3dEXT(bx float64, by float64, bz float64) { - C.glowBinormal3dEXT(gpBinormal3dEXT, (C.GLdouble)(bx), (C.GLdouble)(by), (C.GLdouble)(bz)) -} -func Binormal3dvEXT(v *float64) { - C.glowBinormal3dvEXT(gpBinormal3dvEXT, (*C.GLdouble)(unsafe.Pointer(v))) -} -func Binormal3fEXT(bx float32, by float32, bz float32) { - C.glowBinormal3fEXT(gpBinormal3fEXT, (C.GLfloat)(bx), (C.GLfloat)(by), (C.GLfloat)(bz)) -} -func Binormal3fvEXT(v *float32) { - C.glowBinormal3fvEXT(gpBinormal3fvEXT, (*C.GLfloat)(unsafe.Pointer(v))) -} -func Binormal3iEXT(bx int32, by int32, bz int32) { - C.glowBinormal3iEXT(gpBinormal3iEXT, (C.GLint)(bx), (C.GLint)(by), (C.GLint)(bz)) -} -func Binormal3ivEXT(v *int32) { - C.glowBinormal3ivEXT(gpBinormal3ivEXT, (*C.GLint)(unsafe.Pointer(v))) -} -func Binormal3sEXT(bx int16, by int16, bz int16) { - C.glowBinormal3sEXT(gpBinormal3sEXT, (C.GLshort)(bx), (C.GLshort)(by), (C.GLshort)(bz)) -} -func Binormal3svEXT(v *int16) { - C.glowBinormal3svEXT(gpBinormal3svEXT, (*C.GLshort)(unsafe.Pointer(v))) -} -func BinormalPointerEXT(xtype uint32, stride int32, pointer unsafe.Pointer) { - C.glowBinormalPointerEXT(gpBinormalPointerEXT, (C.GLenum)(xtype), (C.GLsizei)(stride), pointer) -} - -// draw a bitmap -func Bitmap(width int32, height int32, xorig float32, yorig float32, xmove float32, ymove float32, bitmap *uint8) { - C.glowBitmap(gpBitmap, (C.GLsizei)(width), (C.GLsizei)(height), (C.GLfloat)(xorig), (C.GLfloat)(yorig), (C.GLfloat)(xmove), (C.GLfloat)(ymove), (*C.GLubyte)(unsafe.Pointer(bitmap))) -} -func BitmapxOES(width int32, height int32, xorig int32, yorig int32, xmove int32, ymove int32, bitmap *uint8) { - C.glowBitmapxOES(gpBitmapxOES, (C.GLsizei)(width), (C.GLsizei)(height), (C.GLfixed)(xorig), (C.GLfixed)(yorig), (C.GLfixed)(xmove), (C.GLfixed)(ymove), (*C.GLubyte)(unsafe.Pointer(bitmap))) -} -func BlendBarrierKHR() { - C.glowBlendBarrierKHR(gpBlendBarrierKHR) -} -func BlendBarrierNV() { - C.glowBlendBarrierNV(gpBlendBarrierNV) -} - -// set the blend color -func BlendColor(red float32, green float32, blue float32, alpha float32) { - C.glowBlendColor(gpBlendColor, (C.GLfloat)(red), (C.GLfloat)(green), (C.GLfloat)(blue), (C.GLfloat)(alpha)) -} -func BlendColorEXT(red float32, green float32, blue float32, alpha float32) { - C.glowBlendColorEXT(gpBlendColorEXT, (C.GLfloat)(red), (C.GLfloat)(green), (C.GLfloat)(blue), (C.GLfloat)(alpha)) -} -func BlendColorxOES(red int32, green int32, blue int32, alpha int32) { - C.glowBlendColorxOES(gpBlendColorxOES, (C.GLfixed)(red), (C.GLfixed)(green), (C.GLfixed)(blue), (C.GLfixed)(alpha)) -} - -// specify the equation used for both the RGB blend equation and the Alpha blend equation -func BlendEquation(mode uint32) { - C.glowBlendEquation(gpBlendEquation, (C.GLenum)(mode)) -} -func BlendEquationEXT(mode uint32) { - C.glowBlendEquationEXT(gpBlendEquationEXT, (C.GLenum)(mode)) -} -func BlendEquationIndexedAMD(buf uint32, mode uint32) { - C.glowBlendEquationIndexedAMD(gpBlendEquationIndexedAMD, (C.GLuint)(buf), (C.GLenum)(mode)) -} - -// set the RGB blend equation and the alpha blend equation separately -func BlendEquationSeparate(modeRGB uint32, modeAlpha uint32) { - C.glowBlendEquationSeparate(gpBlendEquationSeparate, (C.GLenum)(modeRGB), (C.GLenum)(modeAlpha)) -} -func BlendEquationSeparateEXT(modeRGB uint32, modeAlpha uint32) { - C.glowBlendEquationSeparateEXT(gpBlendEquationSeparateEXT, (C.GLenum)(modeRGB), (C.GLenum)(modeAlpha)) -} -func BlendEquationSeparateIndexedAMD(buf uint32, modeRGB uint32, modeAlpha uint32) { - C.glowBlendEquationSeparateIndexedAMD(gpBlendEquationSeparateIndexedAMD, (C.GLuint)(buf), (C.GLenum)(modeRGB), (C.GLenum)(modeAlpha)) -} -func BlendEquationSeparateiARB(buf uint32, modeRGB uint32, modeAlpha uint32) { - C.glowBlendEquationSeparateiARB(gpBlendEquationSeparateiARB, (C.GLuint)(buf), (C.GLenum)(modeRGB), (C.GLenum)(modeAlpha)) -} -func BlendEquationiARB(buf uint32, mode uint32) { - C.glowBlendEquationiARB(gpBlendEquationiARB, (C.GLuint)(buf), (C.GLenum)(mode)) -} - -// specify pixel arithmetic func BlendFunc(sfactor uint32, dfactor uint32) { C.glowBlendFunc(gpBlendFunc, (C.GLenum)(sfactor), (C.GLenum)(dfactor)) } -func BlendFuncIndexedAMD(buf uint32, src uint32, dst uint32) { - C.glowBlendFuncIndexedAMD(gpBlendFuncIndexedAMD, (C.GLuint)(buf), (C.GLenum)(src), (C.GLenum)(dst)) -} -// specify pixel arithmetic for RGB and alpha components separately -func BlendFuncSeparate(sfactorRGB uint32, dfactorRGB uint32, sfactorAlpha uint32, dfactorAlpha uint32) { - C.glowBlendFuncSeparate(gpBlendFuncSeparate, (C.GLenum)(sfactorRGB), (C.GLenum)(dfactorRGB), (C.GLenum)(sfactorAlpha), (C.GLenum)(dfactorAlpha)) -} -func BlendFuncSeparateEXT(sfactorRGB uint32, dfactorRGB uint32, sfactorAlpha uint32, dfactorAlpha uint32) { - C.glowBlendFuncSeparateEXT(gpBlendFuncSeparateEXT, (C.GLenum)(sfactorRGB), (C.GLenum)(dfactorRGB), (C.GLenum)(sfactorAlpha), (C.GLenum)(dfactorAlpha)) -} -func BlendFuncSeparateINGR(sfactorRGB uint32, dfactorRGB uint32, sfactorAlpha uint32, dfactorAlpha uint32) { - C.glowBlendFuncSeparateINGR(gpBlendFuncSeparateINGR, (C.GLenum)(sfactorRGB), (C.GLenum)(dfactorRGB), (C.GLenum)(sfactorAlpha), (C.GLenum)(dfactorAlpha)) -} -func BlendFuncSeparateIndexedAMD(buf uint32, srcRGB uint32, dstRGB uint32, srcAlpha uint32, dstAlpha uint32) { - C.glowBlendFuncSeparateIndexedAMD(gpBlendFuncSeparateIndexedAMD, (C.GLuint)(buf), (C.GLenum)(srcRGB), (C.GLenum)(dstRGB), (C.GLenum)(srcAlpha), (C.GLenum)(dstAlpha)) -} -func BlendFuncSeparateiARB(buf uint32, srcRGB uint32, dstRGB uint32, srcAlpha uint32, dstAlpha uint32) { - C.glowBlendFuncSeparateiARB(gpBlendFuncSeparateiARB, (C.GLuint)(buf), (C.GLenum)(srcRGB), (C.GLenum)(dstRGB), (C.GLenum)(srcAlpha), (C.GLenum)(dstAlpha)) -} -func BlendFunciARB(buf uint32, src uint32, dst uint32) { - C.glowBlendFunciARB(gpBlendFunciARB, (C.GLuint)(buf), (C.GLenum)(src), (C.GLenum)(dst)) -} -func BlendParameteriNV(pname uint32, value int32) { - C.glowBlendParameteriNV(gpBlendParameteriNV, (C.GLenum)(pname), (C.GLint)(value)) -} - -// copy a block of pixels from one framebuffer object to another -func BlitFramebuffer(srcX0 int32, srcY0 int32, srcX1 int32, srcY1 int32, dstX0 int32, dstY0 int32, dstX1 int32, dstY1 int32, mask uint32, filter uint32) { - C.glowBlitFramebuffer(gpBlitFramebuffer, (C.GLint)(srcX0), (C.GLint)(srcY0), (C.GLint)(srcX1), (C.GLint)(srcY1), (C.GLint)(dstX0), (C.GLint)(dstY0), (C.GLint)(dstX1), (C.GLint)(dstY1), (C.GLbitfield)(mask), (C.GLenum)(filter)) -} -func BlitFramebufferEXT(srcX0 int32, srcY0 int32, srcX1 int32, srcY1 int32, dstX0 int32, dstY0 int32, dstX1 int32, dstY1 int32, mask uint32, filter uint32) { - C.glowBlitFramebufferEXT(gpBlitFramebufferEXT, (C.GLint)(srcX0), (C.GLint)(srcY0), (C.GLint)(srcX1), (C.GLint)(srcY1), (C.GLint)(dstX0), (C.GLint)(dstY0), (C.GLint)(dstX1), (C.GLint)(dstY1), (C.GLbitfield)(mask), (C.GLenum)(filter)) -} - -// copy a block of pixels from one framebuffer object to another -func BlitNamedFramebuffer(readFramebuffer uint32, drawFramebuffer uint32, srcX0 int32, srcY0 int32, srcX1 int32, srcY1 int32, dstX0 int32, dstY0 int32, dstX1 int32, dstY1 int32, mask uint32, filter uint32) { - C.glowBlitNamedFramebuffer(gpBlitNamedFramebuffer, (C.GLuint)(readFramebuffer), (C.GLuint)(drawFramebuffer), (C.GLint)(srcX0), (C.GLint)(srcY0), (C.GLint)(srcX1), (C.GLint)(srcY1), (C.GLint)(dstX0), (C.GLint)(dstY0), (C.GLint)(dstX1), (C.GLint)(dstY1), (C.GLbitfield)(mask), (C.GLenum)(filter)) -} -func BufferAddressRangeNV(pname uint32, index uint32, address uint64, length int) { - C.glowBufferAddressRangeNV(gpBufferAddressRangeNV, (C.GLenum)(pname), (C.GLuint)(index), (C.GLuint64EXT)(address), (C.GLsizeiptr)(length)) -} - -// creates and initializes a buffer object's data store func BufferData(target uint32, size int, data unsafe.Pointer, usage uint32) { C.glowBufferData(gpBufferData, (C.GLenum)(target), (C.GLsizeiptr)(size), data, (C.GLenum)(usage)) } -func BufferDataARB(target uint32, size int, data unsafe.Pointer, usage uint32) { - C.glowBufferDataARB(gpBufferDataARB, (C.GLenum)(target), (C.GLsizeiptrARB)(size), data, (C.GLenum)(usage)) -} -func BufferPageCommitmentARB(target uint32, offset int, size int, commit bool) { - C.glowBufferPageCommitmentARB(gpBufferPageCommitmentARB, (C.GLenum)(target), (C.GLintptr)(offset), (C.GLsizeiptr)(size), (C.GLboolean)(boolToInt(commit))) -} -func BufferParameteriAPPLE(target uint32, pname uint32, param int32) { - C.glowBufferParameteriAPPLE(gpBufferParameteriAPPLE, (C.GLenum)(target), (C.GLenum)(pname), (C.GLint)(param)) -} -// creates and initializes a buffer object's immutable data store -func BufferStorage(target uint32, size int, data unsafe.Pointer, flags uint32) { - C.glowBufferStorage(gpBufferStorage, (C.GLenum)(target), (C.GLsizeiptr)(size), data, (C.GLbitfield)(flags)) -} - -// Parameter clientBuffer has type C.GLeglClientBufferEXT. -func BufferStorageExternalEXT(target uint32, offset int, size int, clientBuffer unsafe.Pointer, flags uint32) { - C.glowBufferStorageExternalEXT(gpBufferStorageExternalEXT, (C.GLenum)(target), (C.GLintptr)(offset), (C.GLsizeiptr)(size), (C.GLeglClientBufferEXT)(clientBuffer), (C.GLbitfield)(flags)) -} -func BufferStorageMemEXT(target uint32, size int, memory uint32, offset uint64) { - C.glowBufferStorageMemEXT(gpBufferStorageMemEXT, (C.GLenum)(target), (C.GLsizeiptr)(size), (C.GLuint)(memory), (C.GLuint64)(offset)) -} - -// updates a subset of a buffer object's data store func BufferSubData(target uint32, offset int, size int, data unsafe.Pointer) { C.glowBufferSubData(gpBufferSubData, (C.GLenum)(target), (C.GLintptr)(offset), (C.GLsizeiptr)(size), data) } -func BufferSubDataARB(target uint32, offset int, size int, data unsafe.Pointer) { - C.glowBufferSubDataARB(gpBufferSubDataARB, (C.GLenum)(target), (C.GLintptrARB)(offset), (C.GLsizeiptrARB)(size), data) -} -func CallCommandListNV(list uint32) { - C.glowCallCommandListNV(gpCallCommandListNV, (C.GLuint)(list)) -} -// execute a display list -func CallList(list uint32) { - C.glowCallList(gpCallList, (C.GLuint)(list)) -} - -// execute a list of display lists -func CallLists(n int32, xtype uint32, lists unsafe.Pointer) { - C.glowCallLists(gpCallLists, (C.GLsizei)(n), (C.GLenum)(xtype), lists) -} - -// check the completeness status of a framebuffer -func CheckFramebufferStatus(target uint32) uint32 { - ret := C.glowCheckFramebufferStatus(gpCheckFramebufferStatus, (C.GLenum)(target)) - return (uint32)(ret) -} func CheckFramebufferStatusEXT(target uint32) uint32 { ret := C.glowCheckFramebufferStatusEXT(gpCheckFramebufferStatusEXT, (C.GLenum)(target)) return (uint32)(ret) } -// check the completeness status of a framebuffer -func CheckNamedFramebufferStatus(framebuffer uint32, target uint32) uint32 { - ret := C.glowCheckNamedFramebufferStatus(gpCheckNamedFramebufferStatus, (C.GLuint)(framebuffer), (C.GLenum)(target)) - return (uint32)(ret) -} -func CheckNamedFramebufferStatusEXT(framebuffer uint32, target uint32) uint32 { - ret := C.glowCheckNamedFramebufferStatusEXT(gpCheckNamedFramebufferStatusEXT, (C.GLuint)(framebuffer), (C.GLenum)(target)) - return (uint32)(ret) -} -func ClampColorARB(target uint32, clamp uint32) { - C.glowClampColorARB(gpClampColorARB, (C.GLenum)(target), (C.GLenum)(clamp)) -} - -// clear buffers to preset values -func Clear(mask uint32) { - C.glowClear(gpClear, (C.GLbitfield)(mask)) -} - -// specify clear values for the accumulation buffer -func ClearAccum(red float32, green float32, blue float32, alpha float32) { - C.glowClearAccum(gpClearAccum, (C.GLfloat)(red), (C.GLfloat)(green), (C.GLfloat)(blue), (C.GLfloat)(alpha)) -} -func ClearAccumxOES(red int32, green int32, blue int32, alpha int32) { - C.glowClearAccumxOES(gpClearAccumxOES, (C.GLfixed)(red), (C.GLfixed)(green), (C.GLfixed)(blue), (C.GLfixed)(alpha)) -} - -// fill a buffer object's data store with a fixed value -func ClearBufferData(target uint32, internalformat uint32, format uint32, xtype uint32, data unsafe.Pointer) { - C.glowClearBufferData(gpClearBufferData, (C.GLenum)(target), (C.GLenum)(internalformat), (C.GLenum)(format), (C.GLenum)(xtype), data) -} - -// fill all or part of buffer object's data store with a fixed value -func ClearBufferSubData(target uint32, internalformat uint32, offset int, size int, format uint32, xtype uint32, data unsafe.Pointer) { - C.glowClearBufferSubData(gpClearBufferSubData, (C.GLenum)(target), (C.GLenum)(internalformat), (C.GLintptr)(offset), (C.GLsizeiptr)(size), (C.GLenum)(format), (C.GLenum)(xtype), data) -} - -// specify clear values for the color buffers -func ClearColor(red float32, green float32, blue float32, alpha float32) { - C.glowClearColor(gpClearColor, (C.GLfloat)(red), (C.GLfloat)(green), (C.GLfloat)(blue), (C.GLfloat)(alpha)) -} -func ClearColorIiEXT(red int32, green int32, blue int32, alpha int32) { - C.glowClearColorIiEXT(gpClearColorIiEXT, (C.GLint)(red), (C.GLint)(green), (C.GLint)(blue), (C.GLint)(alpha)) -} -func ClearColorIuiEXT(red uint32, green uint32, blue uint32, alpha uint32) { - C.glowClearColorIuiEXT(gpClearColorIuiEXT, (C.GLuint)(red), (C.GLuint)(green), (C.GLuint)(blue), (C.GLuint)(alpha)) -} -func ClearColorxOES(red int32, green int32, blue int32, alpha int32) { - C.glowClearColorxOES(gpClearColorxOES, (C.GLfixed)(red), (C.GLfixed)(green), (C.GLfixed)(blue), (C.GLfixed)(alpha)) -} - -// specify the clear value for the depth buffer -func ClearDepth(depth float64) { - C.glowClearDepth(gpClearDepth, (C.GLdouble)(depth)) -} -func ClearDepthdNV(depth float64) { - C.glowClearDepthdNV(gpClearDepthdNV, (C.GLdouble)(depth)) -} - -// specify the clear value for the depth buffer -func ClearDepthf(d float32) { - C.glowClearDepthf(gpClearDepthf, (C.GLfloat)(d)) -} -func ClearDepthfOES(depth float32) { - C.glowClearDepthfOES(gpClearDepthfOES, (C.GLclampf)(depth)) -} -func ClearDepthxOES(depth int32) { - C.glowClearDepthxOES(gpClearDepthxOES, (C.GLfixed)(depth)) -} - -// specify the clear value for the color index buffers -func ClearIndex(c float32) { - C.glowClearIndex(gpClearIndex, (C.GLfloat)(c)) -} - -// fill a buffer object's data store with a fixed value -func ClearNamedBufferData(buffer uint32, internalformat uint32, format uint32, xtype uint32, data unsafe.Pointer) { - C.glowClearNamedBufferData(gpClearNamedBufferData, (C.GLuint)(buffer), (C.GLenum)(internalformat), (C.GLenum)(format), (C.GLenum)(xtype), data) -} -func ClearNamedBufferDataEXT(buffer uint32, internalformat uint32, format uint32, xtype uint32, data unsafe.Pointer) { - C.glowClearNamedBufferDataEXT(gpClearNamedBufferDataEXT, (C.GLuint)(buffer), (C.GLenum)(internalformat), (C.GLenum)(format), (C.GLenum)(xtype), data) -} - -// fill all or part of buffer object's data store with a fixed value -func ClearNamedBufferSubData(buffer uint32, internalformat uint32, offset int, size int, format uint32, xtype uint32, data unsafe.Pointer) { - C.glowClearNamedBufferSubData(gpClearNamedBufferSubData, (C.GLuint)(buffer), (C.GLenum)(internalformat), (C.GLintptr)(offset), (C.GLsizeiptr)(size), (C.GLenum)(format), (C.GLenum)(xtype), data) -} -func ClearNamedBufferSubDataEXT(buffer uint32, internalformat uint32, offset int, size int, format uint32, xtype uint32, data unsafe.Pointer) { - C.glowClearNamedBufferSubDataEXT(gpClearNamedBufferSubDataEXT, (C.GLuint)(buffer), (C.GLenum)(internalformat), (C.GLsizeiptr)(offset), (C.GLsizeiptr)(size), (C.GLenum)(format), (C.GLenum)(xtype), data) -} -func ClearNamedFramebufferfi(framebuffer uint32, buffer uint32, drawbuffer int32, depth float32, stencil int32) { - C.glowClearNamedFramebufferfi(gpClearNamedFramebufferfi, (C.GLuint)(framebuffer), (C.GLenum)(buffer), (C.GLint)(drawbuffer), (C.GLfloat)(depth), (C.GLint)(stencil)) -} -func ClearNamedFramebufferfv(framebuffer uint32, buffer uint32, drawbuffer int32, value *float32) { - C.glowClearNamedFramebufferfv(gpClearNamedFramebufferfv, (C.GLuint)(framebuffer), (C.GLenum)(buffer), (C.GLint)(drawbuffer), (*C.GLfloat)(unsafe.Pointer(value))) -} -func ClearNamedFramebufferiv(framebuffer uint32, buffer uint32, drawbuffer int32, value *int32) { - C.glowClearNamedFramebufferiv(gpClearNamedFramebufferiv, (C.GLuint)(framebuffer), (C.GLenum)(buffer), (C.GLint)(drawbuffer), (*C.GLint)(unsafe.Pointer(value))) -} -func ClearNamedFramebufferuiv(framebuffer uint32, buffer uint32, drawbuffer int32, value *uint32) { - C.glowClearNamedFramebufferuiv(gpClearNamedFramebufferuiv, (C.GLuint)(framebuffer), (C.GLenum)(buffer), (C.GLint)(drawbuffer), (*C.GLuint)(unsafe.Pointer(value))) -} - -// specify the clear value for the stencil buffer -func ClearStencil(s int32) { - C.glowClearStencil(gpClearStencil, (C.GLint)(s)) -} - -// fills all a texture image with a constant value -func ClearTexImage(texture uint32, level int32, format uint32, xtype uint32, data unsafe.Pointer) { - C.glowClearTexImage(gpClearTexImage, (C.GLuint)(texture), (C.GLint)(level), (C.GLenum)(format), (C.GLenum)(xtype), data) -} - -// fills all or part of a texture image with a constant value -func ClearTexSubImage(texture uint32, level int32, xoffset int32, yoffset int32, zoffset int32, width int32, height int32, depth int32, format uint32, xtype uint32, data unsafe.Pointer) { - C.glowClearTexSubImage(gpClearTexSubImage, (C.GLuint)(texture), (C.GLint)(level), (C.GLint)(xoffset), (C.GLint)(yoffset), (C.GLint)(zoffset), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLsizei)(depth), (C.GLenum)(format), (C.GLenum)(xtype), data) -} - -// select active texture unit -func ClientActiveTexture(texture uint32) { - C.glowClientActiveTexture(gpClientActiveTexture, (C.GLenum)(texture)) -} -func ClientActiveTextureARB(texture uint32) { - C.glowClientActiveTextureARB(gpClientActiveTextureARB, (C.GLenum)(texture)) -} -func ClientActiveVertexStreamATI(stream uint32) { - C.glowClientActiveVertexStreamATI(gpClientActiveVertexStreamATI, (C.GLenum)(stream)) -} -func ClientAttribDefaultEXT(mask uint32) { - C.glowClientAttribDefaultEXT(gpClientAttribDefaultEXT, (C.GLbitfield)(mask)) -} - -// block and wait for a sync object to become signaled -func ClientWaitSync(sync uintptr, flags uint32, timeout uint64) uint32 { - ret := C.glowClientWaitSync(gpClientWaitSync, (C.GLsync)(sync), (C.GLbitfield)(flags), (C.GLuint64)(timeout)) - return (uint32)(ret) -} - -// control clip coordinate to window coordinate behavior -func ClipControl(origin uint32, depth uint32) { - C.glowClipControl(gpClipControl, (C.GLenum)(origin), (C.GLenum)(depth)) -} - -// specify a plane against which all geometry is clipped -func ClipPlane(plane uint32, equation *float64) { - C.glowClipPlane(gpClipPlane, (C.GLenum)(plane), (*C.GLdouble)(unsafe.Pointer(equation))) -} -func ClipPlanefOES(plane uint32, equation *float32) { - C.glowClipPlanefOES(gpClipPlanefOES, (C.GLenum)(plane), (*C.GLfloat)(unsafe.Pointer(equation))) -} -func ClipPlanexOES(plane uint32, equation *int32) { - C.glowClipPlanexOES(gpClipPlanexOES, (C.GLenum)(plane), (*C.GLfixed)(unsafe.Pointer(equation))) -} -func Color3b(red int8, green int8, blue int8) { - C.glowColor3b(gpColor3b, (C.GLbyte)(red), (C.GLbyte)(green), (C.GLbyte)(blue)) -} -func Color3bv(v *int8) { - C.glowColor3bv(gpColor3bv, (*C.GLbyte)(unsafe.Pointer(v))) -} -func Color3d(red float64, green float64, blue float64) { - C.glowColor3d(gpColor3d, (C.GLdouble)(red), (C.GLdouble)(green), (C.GLdouble)(blue)) -} -func Color3dv(v *float64) { - C.glowColor3dv(gpColor3dv, (*C.GLdouble)(unsafe.Pointer(v))) -} -func Color3f(red float32, green float32, blue float32) { - C.glowColor3f(gpColor3f, (C.GLfloat)(red), (C.GLfloat)(green), (C.GLfloat)(blue)) -} -func Color3fVertex3fSUN(r float32, g float32, b float32, x float32, y float32, z float32) { - C.glowColor3fVertex3fSUN(gpColor3fVertex3fSUN, (C.GLfloat)(r), (C.GLfloat)(g), (C.GLfloat)(b), (C.GLfloat)(x), (C.GLfloat)(y), (C.GLfloat)(z)) -} -func Color3fVertex3fvSUN(c *float32, v *float32) { - C.glowColor3fVertex3fvSUN(gpColor3fVertex3fvSUN, (*C.GLfloat)(unsafe.Pointer(c)), (*C.GLfloat)(unsafe.Pointer(v))) -} -func Color3fv(v *float32) { - C.glowColor3fv(gpColor3fv, (*C.GLfloat)(unsafe.Pointer(v))) -} -func Color3hNV(red uint16, green uint16, blue uint16) { - C.glowColor3hNV(gpColor3hNV, (C.GLhalfNV)(red), (C.GLhalfNV)(green), (C.GLhalfNV)(blue)) -} -func Color3hvNV(v *uint16) { - C.glowColor3hvNV(gpColor3hvNV, (*C.GLhalfNV)(unsafe.Pointer(v))) -} -func Color3i(red int32, green int32, blue int32) { - C.glowColor3i(gpColor3i, (C.GLint)(red), (C.GLint)(green), (C.GLint)(blue)) -} -func Color3iv(v *int32) { - C.glowColor3iv(gpColor3iv, (*C.GLint)(unsafe.Pointer(v))) -} -func Color3s(red int16, green int16, blue int16) { - C.glowColor3s(gpColor3s, (C.GLshort)(red), (C.GLshort)(green), (C.GLshort)(blue)) -} -func Color3sv(v *int16) { - C.glowColor3sv(gpColor3sv, (*C.GLshort)(unsafe.Pointer(v))) -} -func Color3ub(red uint8, green uint8, blue uint8) { - C.glowColor3ub(gpColor3ub, (C.GLubyte)(red), (C.GLubyte)(green), (C.GLubyte)(blue)) -} -func Color3ubv(v *uint8) { - C.glowColor3ubv(gpColor3ubv, (*C.GLubyte)(unsafe.Pointer(v))) -} -func Color3ui(red uint32, green uint32, blue uint32) { - C.glowColor3ui(gpColor3ui, (C.GLuint)(red), (C.GLuint)(green), (C.GLuint)(blue)) -} -func Color3uiv(v *uint32) { - C.glowColor3uiv(gpColor3uiv, (*C.GLuint)(unsafe.Pointer(v))) -} -func Color3us(red uint16, green uint16, blue uint16) { - C.glowColor3us(gpColor3us, (C.GLushort)(red), (C.GLushort)(green), (C.GLushort)(blue)) -} -func Color3usv(v *uint16) { - C.glowColor3usv(gpColor3usv, (*C.GLushort)(unsafe.Pointer(v))) -} -func Color3xOES(red int32, green int32, blue int32) { - C.glowColor3xOES(gpColor3xOES, (C.GLfixed)(red), (C.GLfixed)(green), (C.GLfixed)(blue)) -} -func Color3xvOES(components *int32) { - C.glowColor3xvOES(gpColor3xvOES, (*C.GLfixed)(unsafe.Pointer(components))) -} -func Color4b(red int8, green int8, blue int8, alpha int8) { - C.glowColor4b(gpColor4b, (C.GLbyte)(red), (C.GLbyte)(green), (C.GLbyte)(blue), (C.GLbyte)(alpha)) -} -func Color4bv(v *int8) { - C.glowColor4bv(gpColor4bv, (*C.GLbyte)(unsafe.Pointer(v))) -} -func Color4d(red float64, green float64, blue float64, alpha float64) { - C.glowColor4d(gpColor4d, (C.GLdouble)(red), (C.GLdouble)(green), (C.GLdouble)(blue), (C.GLdouble)(alpha)) -} -func Color4dv(v *float64) { - C.glowColor4dv(gpColor4dv, (*C.GLdouble)(unsafe.Pointer(v))) -} -func Color4f(red float32, green float32, blue float32, alpha float32) { - C.glowColor4f(gpColor4f, (C.GLfloat)(red), (C.GLfloat)(green), (C.GLfloat)(blue), (C.GLfloat)(alpha)) -} -func Color4fNormal3fVertex3fSUN(r float32, g float32, b float32, a float32, nx float32, ny float32, nz float32, x float32, y float32, z float32) { - C.glowColor4fNormal3fVertex3fSUN(gpColor4fNormal3fVertex3fSUN, (C.GLfloat)(r), (C.GLfloat)(g), (C.GLfloat)(b), (C.GLfloat)(a), (C.GLfloat)(nx), (C.GLfloat)(ny), (C.GLfloat)(nz), (C.GLfloat)(x), (C.GLfloat)(y), (C.GLfloat)(z)) -} -func Color4fNormal3fVertex3fvSUN(c *float32, n *float32, v *float32) { - C.glowColor4fNormal3fVertex3fvSUN(gpColor4fNormal3fVertex3fvSUN, (*C.GLfloat)(unsafe.Pointer(c)), (*C.GLfloat)(unsafe.Pointer(n)), (*C.GLfloat)(unsafe.Pointer(v))) -} -func Color4fv(v *float32) { - C.glowColor4fv(gpColor4fv, (*C.GLfloat)(unsafe.Pointer(v))) -} -func Color4hNV(red uint16, green uint16, blue uint16, alpha uint16) { - C.glowColor4hNV(gpColor4hNV, (C.GLhalfNV)(red), (C.GLhalfNV)(green), (C.GLhalfNV)(blue), (C.GLhalfNV)(alpha)) -} -func Color4hvNV(v *uint16) { - C.glowColor4hvNV(gpColor4hvNV, (*C.GLhalfNV)(unsafe.Pointer(v))) -} -func Color4i(red int32, green int32, blue int32, alpha int32) { - C.glowColor4i(gpColor4i, (C.GLint)(red), (C.GLint)(green), (C.GLint)(blue), (C.GLint)(alpha)) -} -func Color4iv(v *int32) { - C.glowColor4iv(gpColor4iv, (*C.GLint)(unsafe.Pointer(v))) -} -func Color4s(red int16, green int16, blue int16, alpha int16) { - C.glowColor4s(gpColor4s, (C.GLshort)(red), (C.GLshort)(green), (C.GLshort)(blue), (C.GLshort)(alpha)) -} -func Color4sv(v *int16) { - C.glowColor4sv(gpColor4sv, (*C.GLshort)(unsafe.Pointer(v))) -} -func Color4ub(red uint8, green uint8, blue uint8, alpha uint8) { - C.glowColor4ub(gpColor4ub, (C.GLubyte)(red), (C.GLubyte)(green), (C.GLubyte)(blue), (C.GLubyte)(alpha)) -} -func Color4ubVertex2fSUN(r uint8, g uint8, b uint8, a uint8, x float32, y float32) { - C.glowColor4ubVertex2fSUN(gpColor4ubVertex2fSUN, (C.GLubyte)(r), (C.GLubyte)(g), (C.GLubyte)(b), (C.GLubyte)(a), (C.GLfloat)(x), (C.GLfloat)(y)) -} -func Color4ubVertex2fvSUN(c *uint8, v *float32) { - C.glowColor4ubVertex2fvSUN(gpColor4ubVertex2fvSUN, (*C.GLubyte)(unsafe.Pointer(c)), (*C.GLfloat)(unsafe.Pointer(v))) -} -func Color4ubVertex3fSUN(r uint8, g uint8, b uint8, a uint8, x float32, y float32, z float32) { - C.glowColor4ubVertex3fSUN(gpColor4ubVertex3fSUN, (C.GLubyte)(r), (C.GLubyte)(g), (C.GLubyte)(b), (C.GLubyte)(a), (C.GLfloat)(x), (C.GLfloat)(y), (C.GLfloat)(z)) -} -func Color4ubVertex3fvSUN(c *uint8, v *float32) { - C.glowColor4ubVertex3fvSUN(gpColor4ubVertex3fvSUN, (*C.GLubyte)(unsafe.Pointer(c)), (*C.GLfloat)(unsafe.Pointer(v))) -} -func Color4ubv(v *uint8) { - C.glowColor4ubv(gpColor4ubv, (*C.GLubyte)(unsafe.Pointer(v))) -} -func Color4ui(red uint32, green uint32, blue uint32, alpha uint32) { - C.glowColor4ui(gpColor4ui, (C.GLuint)(red), (C.GLuint)(green), (C.GLuint)(blue), (C.GLuint)(alpha)) -} -func Color4uiv(v *uint32) { - C.glowColor4uiv(gpColor4uiv, (*C.GLuint)(unsafe.Pointer(v))) -} -func Color4us(red uint16, green uint16, blue uint16, alpha uint16) { - C.glowColor4us(gpColor4us, (C.GLushort)(red), (C.GLushort)(green), (C.GLushort)(blue), (C.GLushort)(alpha)) -} -func Color4usv(v *uint16) { - C.glowColor4usv(gpColor4usv, (*C.GLushort)(unsafe.Pointer(v))) -} -func Color4xOES(red int32, green int32, blue int32, alpha int32) { - C.glowColor4xOES(gpColor4xOES, (C.GLfixed)(red), (C.GLfixed)(green), (C.GLfixed)(blue), (C.GLfixed)(alpha)) -} -func Color4xvOES(components *int32) { - C.glowColor4xvOES(gpColor4xvOES, (*C.GLfixed)(unsafe.Pointer(components))) -} -func ColorFormatNV(size int32, xtype uint32, stride int32) { - C.glowColorFormatNV(gpColorFormatNV, (C.GLint)(size), (C.GLenum)(xtype), (C.GLsizei)(stride)) -} -func ColorFragmentOp1ATI(op uint32, dst uint32, dstMask uint32, dstMod uint32, arg1 uint32, arg1Rep uint32, arg1Mod uint32) { - C.glowColorFragmentOp1ATI(gpColorFragmentOp1ATI, (C.GLenum)(op), (C.GLuint)(dst), (C.GLuint)(dstMask), (C.GLuint)(dstMod), (C.GLuint)(arg1), (C.GLuint)(arg1Rep), (C.GLuint)(arg1Mod)) -} -func ColorFragmentOp2ATI(op uint32, dst uint32, dstMask uint32, dstMod uint32, arg1 uint32, arg1Rep uint32, arg1Mod uint32, arg2 uint32, arg2Rep uint32, arg2Mod uint32) { - C.glowColorFragmentOp2ATI(gpColorFragmentOp2ATI, (C.GLenum)(op), (C.GLuint)(dst), (C.GLuint)(dstMask), (C.GLuint)(dstMod), (C.GLuint)(arg1), (C.GLuint)(arg1Rep), (C.GLuint)(arg1Mod), (C.GLuint)(arg2), (C.GLuint)(arg2Rep), (C.GLuint)(arg2Mod)) -} -func ColorFragmentOp3ATI(op uint32, dst uint32, dstMask uint32, dstMod uint32, arg1 uint32, arg1Rep uint32, arg1Mod uint32, arg2 uint32, arg2Rep uint32, arg2Mod uint32, arg3 uint32, arg3Rep uint32, arg3Mod uint32) { - C.glowColorFragmentOp3ATI(gpColorFragmentOp3ATI, (C.GLenum)(op), (C.GLuint)(dst), (C.GLuint)(dstMask), (C.GLuint)(dstMod), (C.GLuint)(arg1), (C.GLuint)(arg1Rep), (C.GLuint)(arg1Mod), (C.GLuint)(arg2), (C.GLuint)(arg2Rep), (C.GLuint)(arg2Mod), (C.GLuint)(arg3), (C.GLuint)(arg3Rep), (C.GLuint)(arg3Mod)) -} -func ColorMask(red bool, green bool, blue bool, alpha bool) { - C.glowColorMask(gpColorMask, (C.GLboolean)(boolToInt(red)), (C.GLboolean)(boolToInt(green)), (C.GLboolean)(boolToInt(blue)), (C.GLboolean)(boolToInt(alpha))) -} -func ColorMaskIndexedEXT(index uint32, r bool, g bool, b bool, a bool) { - C.glowColorMaskIndexedEXT(gpColorMaskIndexedEXT, (C.GLuint)(index), (C.GLboolean)(boolToInt(r)), (C.GLboolean)(boolToInt(g)), (C.GLboolean)(boolToInt(b)), (C.GLboolean)(boolToInt(a))) -} - -// cause a material color to track the current color -func ColorMaterial(face uint32, mode uint32) { - C.glowColorMaterial(gpColorMaterial, (C.GLenum)(face), (C.GLenum)(mode)) -} - -// define an array of colors -func ColorPointer(size int32, xtype uint32, stride int32, pointer unsafe.Pointer) { - C.glowColorPointer(gpColorPointer, (C.GLint)(size), (C.GLenum)(xtype), (C.GLsizei)(stride), pointer) -} -func ColorPointerEXT(size int32, xtype uint32, stride int32, count int32, pointer unsafe.Pointer) { - C.glowColorPointerEXT(gpColorPointerEXT, (C.GLint)(size), (C.GLenum)(xtype), (C.GLsizei)(stride), (C.GLsizei)(count), pointer) -} -func ColorPointerListIBM(size int32, xtype uint32, stride int32, pointer *unsafe.Pointer, ptrstride int32) { - C.glowColorPointerListIBM(gpColorPointerListIBM, (C.GLint)(size), (C.GLenum)(xtype), (C.GLint)(stride), pointer, (C.GLint)(ptrstride)) -} -func ColorPointervINTEL(size int32, xtype uint32, pointer *unsafe.Pointer) { - C.glowColorPointervINTEL(gpColorPointervINTEL, (C.GLint)(size), (C.GLenum)(xtype), pointer) -} -func ColorSubTableEXT(target uint32, start int32, count int32, format uint32, xtype uint32, data unsafe.Pointer) { - C.glowColorSubTableEXT(gpColorSubTableEXT, (C.GLenum)(target), (C.GLsizei)(start), (C.GLsizei)(count), (C.GLenum)(format), (C.GLenum)(xtype), data) -} -func ColorTableEXT(target uint32, internalFormat uint32, width int32, format uint32, xtype uint32, table unsafe.Pointer) { - C.glowColorTableEXT(gpColorTableEXT, (C.GLenum)(target), (C.GLenum)(internalFormat), (C.GLsizei)(width), (C.GLenum)(format), (C.GLenum)(xtype), table) -} -func ColorTableParameterfvSGI(target uint32, pname uint32, params *float32) { - C.glowColorTableParameterfvSGI(gpColorTableParameterfvSGI, (C.GLenum)(target), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func ColorTableParameterivSGI(target uint32, pname uint32, params *int32) { - C.glowColorTableParameterivSGI(gpColorTableParameterivSGI, (C.GLenum)(target), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func ColorTableSGI(target uint32, internalformat uint32, width int32, format uint32, xtype uint32, table unsafe.Pointer) { - C.glowColorTableSGI(gpColorTableSGI, (C.GLenum)(target), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLenum)(format), (C.GLenum)(xtype), table) -} -func CombinerInputNV(stage uint32, portion uint32, variable uint32, input uint32, mapping uint32, componentUsage uint32) { - C.glowCombinerInputNV(gpCombinerInputNV, (C.GLenum)(stage), (C.GLenum)(portion), (C.GLenum)(variable), (C.GLenum)(input), (C.GLenum)(mapping), (C.GLenum)(componentUsage)) -} -func CombinerOutputNV(stage uint32, portion uint32, abOutput uint32, cdOutput uint32, sumOutput uint32, scale uint32, bias uint32, abDotProduct bool, cdDotProduct bool, muxSum bool) { - C.glowCombinerOutputNV(gpCombinerOutputNV, (C.GLenum)(stage), (C.GLenum)(portion), (C.GLenum)(abOutput), (C.GLenum)(cdOutput), (C.GLenum)(sumOutput), (C.GLenum)(scale), (C.GLenum)(bias), (C.GLboolean)(boolToInt(abDotProduct)), (C.GLboolean)(boolToInt(cdDotProduct)), (C.GLboolean)(boolToInt(muxSum))) -} -func CombinerParameterfNV(pname uint32, param float32) { - C.glowCombinerParameterfNV(gpCombinerParameterfNV, (C.GLenum)(pname), (C.GLfloat)(param)) -} -func CombinerParameterfvNV(pname uint32, params *float32) { - C.glowCombinerParameterfvNV(gpCombinerParameterfvNV, (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func CombinerParameteriNV(pname uint32, param int32) { - C.glowCombinerParameteriNV(gpCombinerParameteriNV, (C.GLenum)(pname), (C.GLint)(param)) -} -func CombinerParameterivNV(pname uint32, params *int32) { - C.glowCombinerParameterivNV(gpCombinerParameterivNV, (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func CombinerStageParameterfvNV(stage uint32, pname uint32, params *float32) { - C.glowCombinerStageParameterfvNV(gpCombinerStageParameterfvNV, (C.GLenum)(stage), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func CommandListSegmentsNV(list uint32, segments uint32) { - C.glowCommandListSegmentsNV(gpCommandListSegmentsNV, (C.GLuint)(list), (C.GLuint)(segments)) -} -func CompileCommandListNV(list uint32) { - C.glowCompileCommandListNV(gpCompileCommandListNV, (C.GLuint)(list)) -} - -// Compiles a shader object func CompileShader(shader uint32) { C.glowCompileShader(gpCompileShader, (C.GLuint)(shader)) } -func CompileShaderARB(shaderObj uintptr) { - C.glowCompileShaderARB(gpCompileShaderARB, (C.GLhandleARB)(shaderObj)) -} -func CompileShaderIncludeARB(shader uint32, count int32, path **uint8, length *int32) { - C.glowCompileShaderIncludeARB(gpCompileShaderIncludeARB, (C.GLuint)(shader), (C.GLsizei)(count), (**C.GLchar)(unsafe.Pointer(path)), (*C.GLint)(unsafe.Pointer(length))) -} -func CompressedMultiTexImage1DEXT(texunit uint32, target uint32, level int32, internalformat uint32, width int32, border int32, imageSize int32, bits unsafe.Pointer) { - C.glowCompressedMultiTexImage1DEXT(gpCompressedMultiTexImage1DEXT, (C.GLenum)(texunit), (C.GLenum)(target), (C.GLint)(level), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLint)(border), (C.GLsizei)(imageSize), bits) -} -func CompressedMultiTexImage2DEXT(texunit uint32, target uint32, level int32, internalformat uint32, width int32, height int32, border int32, imageSize int32, bits unsafe.Pointer) { - C.glowCompressedMultiTexImage2DEXT(gpCompressedMultiTexImage2DEXT, (C.GLenum)(texunit), (C.GLenum)(target), (C.GLint)(level), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLint)(border), (C.GLsizei)(imageSize), bits) -} -func CompressedMultiTexImage3DEXT(texunit uint32, target uint32, level int32, internalformat uint32, width int32, height int32, depth int32, border int32, imageSize int32, bits unsafe.Pointer) { - C.glowCompressedMultiTexImage3DEXT(gpCompressedMultiTexImage3DEXT, (C.GLenum)(texunit), (C.GLenum)(target), (C.GLint)(level), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLsizei)(depth), (C.GLint)(border), (C.GLsizei)(imageSize), bits) -} -func CompressedMultiTexSubImage1DEXT(texunit uint32, target uint32, level int32, xoffset int32, width int32, format uint32, imageSize int32, bits unsafe.Pointer) { - C.glowCompressedMultiTexSubImage1DEXT(gpCompressedMultiTexSubImage1DEXT, (C.GLenum)(texunit), (C.GLenum)(target), (C.GLint)(level), (C.GLint)(xoffset), (C.GLsizei)(width), (C.GLenum)(format), (C.GLsizei)(imageSize), bits) -} -func CompressedMultiTexSubImage2DEXT(texunit uint32, target uint32, level int32, xoffset int32, yoffset int32, width int32, height int32, format uint32, imageSize int32, bits unsafe.Pointer) { - C.glowCompressedMultiTexSubImage2DEXT(gpCompressedMultiTexSubImage2DEXT, (C.GLenum)(texunit), (C.GLenum)(target), (C.GLint)(level), (C.GLint)(xoffset), (C.GLint)(yoffset), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLenum)(format), (C.GLsizei)(imageSize), bits) -} -func CompressedMultiTexSubImage3DEXT(texunit uint32, target uint32, level int32, xoffset int32, yoffset int32, zoffset int32, width int32, height int32, depth int32, format uint32, imageSize int32, bits unsafe.Pointer) { - C.glowCompressedMultiTexSubImage3DEXT(gpCompressedMultiTexSubImage3DEXT, (C.GLenum)(texunit), (C.GLenum)(target), (C.GLint)(level), (C.GLint)(xoffset), (C.GLint)(yoffset), (C.GLint)(zoffset), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLsizei)(depth), (C.GLenum)(format), (C.GLsizei)(imageSize), bits) -} -// specify a one-dimensional texture image in a compressed format -func CompressedTexImage1D(target uint32, level int32, internalformat uint32, width int32, border int32, imageSize int32, data unsafe.Pointer) { - C.glowCompressedTexImage1D(gpCompressedTexImage1D, (C.GLenum)(target), (C.GLint)(level), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLint)(border), (C.GLsizei)(imageSize), data) -} -func CompressedTexImage1DARB(target uint32, level int32, internalformat uint32, width int32, border int32, imageSize int32, data unsafe.Pointer) { - C.glowCompressedTexImage1DARB(gpCompressedTexImage1DARB, (C.GLenum)(target), (C.GLint)(level), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLint)(border), (C.GLsizei)(imageSize), data) -} - -// specify a two-dimensional texture image in a compressed format -func CompressedTexImage2D(target uint32, level int32, internalformat uint32, width int32, height int32, border int32, imageSize int32, data unsafe.Pointer) { - C.glowCompressedTexImage2D(gpCompressedTexImage2D, (C.GLenum)(target), (C.GLint)(level), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLint)(border), (C.GLsizei)(imageSize), data) -} -func CompressedTexImage2DARB(target uint32, level int32, internalformat uint32, width int32, height int32, border int32, imageSize int32, data unsafe.Pointer) { - C.glowCompressedTexImage2DARB(gpCompressedTexImage2DARB, (C.GLenum)(target), (C.GLint)(level), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLint)(border), (C.GLsizei)(imageSize), data) -} - -// specify a three-dimensional texture image in a compressed format -func CompressedTexImage3D(target uint32, level int32, internalformat uint32, width int32, height int32, depth int32, border int32, imageSize int32, data unsafe.Pointer) { - C.glowCompressedTexImage3D(gpCompressedTexImage3D, (C.GLenum)(target), (C.GLint)(level), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLsizei)(depth), (C.GLint)(border), (C.GLsizei)(imageSize), data) -} -func CompressedTexImage3DARB(target uint32, level int32, internalformat uint32, width int32, height int32, depth int32, border int32, imageSize int32, data unsafe.Pointer) { - C.glowCompressedTexImage3DARB(gpCompressedTexImage3DARB, (C.GLenum)(target), (C.GLint)(level), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLsizei)(depth), (C.GLint)(border), (C.GLsizei)(imageSize), data) -} - -// specify a one-dimensional texture subimage in a compressed format -func CompressedTexSubImage1D(target uint32, level int32, xoffset int32, width int32, format uint32, imageSize int32, data unsafe.Pointer) { - C.glowCompressedTexSubImage1D(gpCompressedTexSubImage1D, (C.GLenum)(target), (C.GLint)(level), (C.GLint)(xoffset), (C.GLsizei)(width), (C.GLenum)(format), (C.GLsizei)(imageSize), data) -} -func CompressedTexSubImage1DARB(target uint32, level int32, xoffset int32, width int32, format uint32, imageSize int32, data unsafe.Pointer) { - C.glowCompressedTexSubImage1DARB(gpCompressedTexSubImage1DARB, (C.GLenum)(target), (C.GLint)(level), (C.GLint)(xoffset), (C.GLsizei)(width), (C.GLenum)(format), (C.GLsizei)(imageSize), data) -} - -// specify a two-dimensional texture subimage in a compressed format -func CompressedTexSubImage2D(target uint32, level int32, xoffset int32, yoffset int32, width int32, height int32, format uint32, imageSize int32, data unsafe.Pointer) { - C.glowCompressedTexSubImage2D(gpCompressedTexSubImage2D, (C.GLenum)(target), (C.GLint)(level), (C.GLint)(xoffset), (C.GLint)(yoffset), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLenum)(format), (C.GLsizei)(imageSize), data) -} -func CompressedTexSubImage2DARB(target uint32, level int32, xoffset int32, yoffset int32, width int32, height int32, format uint32, imageSize int32, data unsafe.Pointer) { - C.glowCompressedTexSubImage2DARB(gpCompressedTexSubImage2DARB, (C.GLenum)(target), (C.GLint)(level), (C.GLint)(xoffset), (C.GLint)(yoffset), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLenum)(format), (C.GLsizei)(imageSize), data) -} - -// specify a three-dimensional texture subimage in a compressed format -func CompressedTexSubImage3D(target uint32, level int32, xoffset int32, yoffset int32, zoffset int32, width int32, height int32, depth int32, format uint32, imageSize int32, data unsafe.Pointer) { - C.glowCompressedTexSubImage3D(gpCompressedTexSubImage3D, (C.GLenum)(target), (C.GLint)(level), (C.GLint)(xoffset), (C.GLint)(yoffset), (C.GLint)(zoffset), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLsizei)(depth), (C.GLenum)(format), (C.GLsizei)(imageSize), data) -} -func CompressedTexSubImage3DARB(target uint32, level int32, xoffset int32, yoffset int32, zoffset int32, width int32, height int32, depth int32, format uint32, imageSize int32, data unsafe.Pointer) { - C.glowCompressedTexSubImage3DARB(gpCompressedTexSubImage3DARB, (C.GLenum)(target), (C.GLint)(level), (C.GLint)(xoffset), (C.GLint)(yoffset), (C.GLint)(zoffset), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLsizei)(depth), (C.GLenum)(format), (C.GLsizei)(imageSize), data) -} -func CompressedTextureImage1DEXT(texture uint32, target uint32, level int32, internalformat uint32, width int32, border int32, imageSize int32, bits unsafe.Pointer) { - C.glowCompressedTextureImage1DEXT(gpCompressedTextureImage1DEXT, (C.GLuint)(texture), (C.GLenum)(target), (C.GLint)(level), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLint)(border), (C.GLsizei)(imageSize), bits) -} -func CompressedTextureImage2DEXT(texture uint32, target uint32, level int32, internalformat uint32, width int32, height int32, border int32, imageSize int32, bits unsafe.Pointer) { - C.glowCompressedTextureImage2DEXT(gpCompressedTextureImage2DEXT, (C.GLuint)(texture), (C.GLenum)(target), (C.GLint)(level), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLint)(border), (C.GLsizei)(imageSize), bits) -} -func CompressedTextureImage3DEXT(texture uint32, target uint32, level int32, internalformat uint32, width int32, height int32, depth int32, border int32, imageSize int32, bits unsafe.Pointer) { - C.glowCompressedTextureImage3DEXT(gpCompressedTextureImage3DEXT, (C.GLuint)(texture), (C.GLenum)(target), (C.GLint)(level), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLsizei)(depth), (C.GLint)(border), (C.GLsizei)(imageSize), bits) -} - -// specify a one-dimensional texture subimage in a compressed format -func CompressedTextureSubImage1D(texture uint32, level int32, xoffset int32, width int32, format uint32, imageSize int32, data unsafe.Pointer) { - C.glowCompressedTextureSubImage1D(gpCompressedTextureSubImage1D, (C.GLuint)(texture), (C.GLint)(level), (C.GLint)(xoffset), (C.GLsizei)(width), (C.GLenum)(format), (C.GLsizei)(imageSize), data) -} -func CompressedTextureSubImage1DEXT(texture uint32, target uint32, level int32, xoffset int32, width int32, format uint32, imageSize int32, bits unsafe.Pointer) { - C.glowCompressedTextureSubImage1DEXT(gpCompressedTextureSubImage1DEXT, (C.GLuint)(texture), (C.GLenum)(target), (C.GLint)(level), (C.GLint)(xoffset), (C.GLsizei)(width), (C.GLenum)(format), (C.GLsizei)(imageSize), bits) -} - -// specify a two-dimensional texture subimage in a compressed format -func CompressedTextureSubImage2D(texture uint32, level int32, xoffset int32, yoffset int32, width int32, height int32, format uint32, imageSize int32, data unsafe.Pointer) { - C.glowCompressedTextureSubImage2D(gpCompressedTextureSubImage2D, (C.GLuint)(texture), (C.GLint)(level), (C.GLint)(xoffset), (C.GLint)(yoffset), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLenum)(format), (C.GLsizei)(imageSize), data) -} -func CompressedTextureSubImage2DEXT(texture uint32, target uint32, level int32, xoffset int32, yoffset int32, width int32, height int32, format uint32, imageSize int32, bits unsafe.Pointer) { - C.glowCompressedTextureSubImage2DEXT(gpCompressedTextureSubImage2DEXT, (C.GLuint)(texture), (C.GLenum)(target), (C.GLint)(level), (C.GLint)(xoffset), (C.GLint)(yoffset), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLenum)(format), (C.GLsizei)(imageSize), bits) -} - -// specify a three-dimensional texture subimage in a compressed format -func CompressedTextureSubImage3D(texture uint32, level int32, xoffset int32, yoffset int32, zoffset int32, width int32, height int32, depth int32, format uint32, imageSize int32, data unsafe.Pointer) { - C.glowCompressedTextureSubImage3D(gpCompressedTextureSubImage3D, (C.GLuint)(texture), (C.GLint)(level), (C.GLint)(xoffset), (C.GLint)(yoffset), (C.GLint)(zoffset), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLsizei)(depth), (C.GLenum)(format), (C.GLsizei)(imageSize), data) -} -func CompressedTextureSubImage3DEXT(texture uint32, target uint32, level int32, xoffset int32, yoffset int32, zoffset int32, width int32, height int32, depth int32, format uint32, imageSize int32, bits unsafe.Pointer) { - C.glowCompressedTextureSubImage3DEXT(gpCompressedTextureSubImage3DEXT, (C.GLuint)(texture), (C.GLenum)(target), (C.GLint)(level), (C.GLint)(xoffset), (C.GLint)(yoffset), (C.GLint)(zoffset), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLsizei)(depth), (C.GLenum)(format), (C.GLsizei)(imageSize), bits) -} -func ConservativeRasterParameterfNV(pname uint32, value float32) { - C.glowConservativeRasterParameterfNV(gpConservativeRasterParameterfNV, (C.GLenum)(pname), (C.GLfloat)(value)) -} -func ConservativeRasterParameteriNV(pname uint32, param int32) { - C.glowConservativeRasterParameteriNV(gpConservativeRasterParameteriNV, (C.GLenum)(pname), (C.GLint)(param)) -} -func ConvolutionFilter1DEXT(target uint32, internalformat uint32, width int32, format uint32, xtype uint32, image unsafe.Pointer) { - C.glowConvolutionFilter1DEXT(gpConvolutionFilter1DEXT, (C.GLenum)(target), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLenum)(format), (C.GLenum)(xtype), image) -} -func ConvolutionFilter2DEXT(target uint32, internalformat uint32, width int32, height int32, format uint32, xtype uint32, image unsafe.Pointer) { - C.glowConvolutionFilter2DEXT(gpConvolutionFilter2DEXT, (C.GLenum)(target), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLenum)(format), (C.GLenum)(xtype), image) -} -func ConvolutionParameterfEXT(target uint32, pname uint32, params float32) { - C.glowConvolutionParameterfEXT(gpConvolutionParameterfEXT, (C.GLenum)(target), (C.GLenum)(pname), (C.GLfloat)(params)) -} -func ConvolutionParameterfvEXT(target uint32, pname uint32, params *float32) { - C.glowConvolutionParameterfvEXT(gpConvolutionParameterfvEXT, (C.GLenum)(target), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func ConvolutionParameteriEXT(target uint32, pname uint32, params int32) { - C.glowConvolutionParameteriEXT(gpConvolutionParameteriEXT, (C.GLenum)(target), (C.GLenum)(pname), (C.GLint)(params)) -} -func ConvolutionParameterivEXT(target uint32, pname uint32, params *int32) { - C.glowConvolutionParameterivEXT(gpConvolutionParameterivEXT, (C.GLenum)(target), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func ConvolutionParameterxOES(target uint32, pname uint32, param int32) { - C.glowConvolutionParameterxOES(gpConvolutionParameterxOES, (C.GLenum)(target), (C.GLenum)(pname), (C.GLfixed)(param)) -} -func ConvolutionParameterxvOES(target uint32, pname uint32, params *int32) { - C.glowConvolutionParameterxvOES(gpConvolutionParameterxvOES, (C.GLenum)(target), (C.GLenum)(pname), (*C.GLfixed)(unsafe.Pointer(params))) -} - -// copy all or part of the data store of a buffer object to the data store of another buffer object -func CopyBufferSubData(readTarget uint32, writeTarget uint32, readOffset int, writeOffset int, size int) { - C.glowCopyBufferSubData(gpCopyBufferSubData, (C.GLenum)(readTarget), (C.GLenum)(writeTarget), (C.GLintptr)(readOffset), (C.GLintptr)(writeOffset), (C.GLsizeiptr)(size)) -} -func CopyColorSubTableEXT(target uint32, start int32, x int32, y int32, width int32) { - C.glowCopyColorSubTableEXT(gpCopyColorSubTableEXT, (C.GLenum)(target), (C.GLsizei)(start), (C.GLint)(x), (C.GLint)(y), (C.GLsizei)(width)) -} -func CopyColorTableSGI(target uint32, internalformat uint32, x int32, y int32, width int32) { - C.glowCopyColorTableSGI(gpCopyColorTableSGI, (C.GLenum)(target), (C.GLenum)(internalformat), (C.GLint)(x), (C.GLint)(y), (C.GLsizei)(width)) -} -func CopyConvolutionFilter1DEXT(target uint32, internalformat uint32, x int32, y int32, width int32) { - C.glowCopyConvolutionFilter1DEXT(gpCopyConvolutionFilter1DEXT, (C.GLenum)(target), (C.GLenum)(internalformat), (C.GLint)(x), (C.GLint)(y), (C.GLsizei)(width)) -} -func CopyConvolutionFilter2DEXT(target uint32, internalformat uint32, x int32, y int32, width int32, height int32) { - C.glowCopyConvolutionFilter2DEXT(gpCopyConvolutionFilter2DEXT, (C.GLenum)(target), (C.GLenum)(internalformat), (C.GLint)(x), (C.GLint)(y), (C.GLsizei)(width), (C.GLsizei)(height)) -} - -// perform a raw data copy between two images -func CopyImageSubData(srcName uint32, srcTarget uint32, srcLevel int32, srcX int32, srcY int32, srcZ int32, dstName uint32, dstTarget uint32, dstLevel int32, dstX int32, dstY int32, dstZ int32, srcWidth int32, srcHeight int32, srcDepth int32) { - C.glowCopyImageSubData(gpCopyImageSubData, (C.GLuint)(srcName), (C.GLenum)(srcTarget), (C.GLint)(srcLevel), (C.GLint)(srcX), (C.GLint)(srcY), (C.GLint)(srcZ), (C.GLuint)(dstName), (C.GLenum)(dstTarget), (C.GLint)(dstLevel), (C.GLint)(dstX), (C.GLint)(dstY), (C.GLint)(dstZ), (C.GLsizei)(srcWidth), (C.GLsizei)(srcHeight), (C.GLsizei)(srcDepth)) -} -func CopyImageSubDataNV(srcName uint32, srcTarget uint32, srcLevel int32, srcX int32, srcY int32, srcZ int32, dstName uint32, dstTarget uint32, dstLevel int32, dstX int32, dstY int32, dstZ int32, width int32, height int32, depth int32) { - C.glowCopyImageSubDataNV(gpCopyImageSubDataNV, (C.GLuint)(srcName), (C.GLenum)(srcTarget), (C.GLint)(srcLevel), (C.GLint)(srcX), (C.GLint)(srcY), (C.GLint)(srcZ), (C.GLuint)(dstName), (C.GLenum)(dstTarget), (C.GLint)(dstLevel), (C.GLint)(dstX), (C.GLint)(dstY), (C.GLint)(dstZ), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLsizei)(depth)) -} -func CopyMultiTexImage1DEXT(texunit uint32, target uint32, level int32, internalformat uint32, x int32, y int32, width int32, border int32) { - C.glowCopyMultiTexImage1DEXT(gpCopyMultiTexImage1DEXT, (C.GLenum)(texunit), (C.GLenum)(target), (C.GLint)(level), (C.GLenum)(internalformat), (C.GLint)(x), (C.GLint)(y), (C.GLsizei)(width), (C.GLint)(border)) -} -func CopyMultiTexImage2DEXT(texunit uint32, target uint32, level int32, internalformat uint32, x int32, y int32, width int32, height int32, border int32) { - C.glowCopyMultiTexImage2DEXT(gpCopyMultiTexImage2DEXT, (C.GLenum)(texunit), (C.GLenum)(target), (C.GLint)(level), (C.GLenum)(internalformat), (C.GLint)(x), (C.GLint)(y), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLint)(border)) -} -func CopyMultiTexSubImage1DEXT(texunit uint32, target uint32, level int32, xoffset int32, x int32, y int32, width int32) { - C.glowCopyMultiTexSubImage1DEXT(gpCopyMultiTexSubImage1DEXT, (C.GLenum)(texunit), (C.GLenum)(target), (C.GLint)(level), (C.GLint)(xoffset), (C.GLint)(x), (C.GLint)(y), (C.GLsizei)(width)) -} -func CopyMultiTexSubImage2DEXT(texunit uint32, target uint32, level int32, xoffset int32, yoffset int32, x int32, y int32, width int32, height int32) { - C.glowCopyMultiTexSubImage2DEXT(gpCopyMultiTexSubImage2DEXT, (C.GLenum)(texunit), (C.GLenum)(target), (C.GLint)(level), (C.GLint)(xoffset), (C.GLint)(yoffset), (C.GLint)(x), (C.GLint)(y), (C.GLsizei)(width), (C.GLsizei)(height)) -} -func CopyMultiTexSubImage3DEXT(texunit uint32, target uint32, level int32, xoffset int32, yoffset int32, zoffset int32, x int32, y int32, width int32, height int32) { - C.glowCopyMultiTexSubImage3DEXT(gpCopyMultiTexSubImage3DEXT, (C.GLenum)(texunit), (C.GLenum)(target), (C.GLint)(level), (C.GLint)(xoffset), (C.GLint)(yoffset), (C.GLint)(zoffset), (C.GLint)(x), (C.GLint)(y), (C.GLsizei)(width), (C.GLsizei)(height)) -} - -// copy all or part of the data store of a buffer object to the data store of another buffer object -func CopyNamedBufferSubData(readBuffer uint32, writeBuffer uint32, readOffset int, writeOffset int, size int) { - C.glowCopyNamedBufferSubData(gpCopyNamedBufferSubData, (C.GLuint)(readBuffer), (C.GLuint)(writeBuffer), (C.GLintptr)(readOffset), (C.GLintptr)(writeOffset), (C.GLsizeiptr)(size)) -} -func CopyPathNV(resultPath uint32, srcPath uint32) { - C.glowCopyPathNV(gpCopyPathNV, (C.GLuint)(resultPath), (C.GLuint)(srcPath)) -} - -// copy pixels in the frame buffer -func CopyPixels(x int32, y int32, width int32, height int32, xtype uint32) { - C.glowCopyPixels(gpCopyPixels, (C.GLint)(x), (C.GLint)(y), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLenum)(xtype)) -} - -// copy pixels into a 1D texture image -func CopyTexImage1D(target uint32, level int32, internalformat uint32, x int32, y int32, width int32, border int32) { - C.glowCopyTexImage1D(gpCopyTexImage1D, (C.GLenum)(target), (C.GLint)(level), (C.GLenum)(internalformat), (C.GLint)(x), (C.GLint)(y), (C.GLsizei)(width), (C.GLint)(border)) -} -func CopyTexImage1DEXT(target uint32, level int32, internalformat uint32, x int32, y int32, width int32, border int32) { - C.glowCopyTexImage1DEXT(gpCopyTexImage1DEXT, (C.GLenum)(target), (C.GLint)(level), (C.GLenum)(internalformat), (C.GLint)(x), (C.GLint)(y), (C.GLsizei)(width), (C.GLint)(border)) -} - -// copy pixels into a 2D texture image -func CopyTexImage2D(target uint32, level int32, internalformat uint32, x int32, y int32, width int32, height int32, border int32) { - C.glowCopyTexImage2D(gpCopyTexImage2D, (C.GLenum)(target), (C.GLint)(level), (C.GLenum)(internalformat), (C.GLint)(x), (C.GLint)(y), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLint)(border)) -} -func CopyTexImage2DEXT(target uint32, level int32, internalformat uint32, x int32, y int32, width int32, height int32, border int32) { - C.glowCopyTexImage2DEXT(gpCopyTexImage2DEXT, (C.GLenum)(target), (C.GLint)(level), (C.GLenum)(internalformat), (C.GLint)(x), (C.GLint)(y), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLint)(border)) -} - -// copy a one-dimensional texture subimage -func CopyTexSubImage1D(target uint32, level int32, xoffset int32, x int32, y int32, width int32) { - C.glowCopyTexSubImage1D(gpCopyTexSubImage1D, (C.GLenum)(target), (C.GLint)(level), (C.GLint)(xoffset), (C.GLint)(x), (C.GLint)(y), (C.GLsizei)(width)) -} -func CopyTexSubImage1DEXT(target uint32, level int32, xoffset int32, x int32, y int32, width int32) { - C.glowCopyTexSubImage1DEXT(gpCopyTexSubImage1DEXT, (C.GLenum)(target), (C.GLint)(level), (C.GLint)(xoffset), (C.GLint)(x), (C.GLint)(y), (C.GLsizei)(width)) -} - -// copy a two-dimensional texture subimage -func CopyTexSubImage2D(target uint32, level int32, xoffset int32, yoffset int32, x int32, y int32, width int32, height int32) { - C.glowCopyTexSubImage2D(gpCopyTexSubImage2D, (C.GLenum)(target), (C.GLint)(level), (C.GLint)(xoffset), (C.GLint)(yoffset), (C.GLint)(x), (C.GLint)(y), (C.GLsizei)(width), (C.GLsizei)(height)) -} -func CopyTexSubImage2DEXT(target uint32, level int32, xoffset int32, yoffset int32, x int32, y int32, width int32, height int32) { - C.glowCopyTexSubImage2DEXT(gpCopyTexSubImage2DEXT, (C.GLenum)(target), (C.GLint)(level), (C.GLint)(xoffset), (C.GLint)(yoffset), (C.GLint)(x), (C.GLint)(y), (C.GLsizei)(width), (C.GLsizei)(height)) -} - -// copy a three-dimensional texture subimage -func CopyTexSubImage3D(target uint32, level int32, xoffset int32, yoffset int32, zoffset int32, x int32, y int32, width int32, height int32) { - C.glowCopyTexSubImage3D(gpCopyTexSubImage3D, (C.GLenum)(target), (C.GLint)(level), (C.GLint)(xoffset), (C.GLint)(yoffset), (C.GLint)(zoffset), (C.GLint)(x), (C.GLint)(y), (C.GLsizei)(width), (C.GLsizei)(height)) -} -func CopyTexSubImage3DEXT(target uint32, level int32, xoffset int32, yoffset int32, zoffset int32, x int32, y int32, width int32, height int32) { - C.glowCopyTexSubImage3DEXT(gpCopyTexSubImage3DEXT, (C.GLenum)(target), (C.GLint)(level), (C.GLint)(xoffset), (C.GLint)(yoffset), (C.GLint)(zoffset), (C.GLint)(x), (C.GLint)(y), (C.GLsizei)(width), (C.GLsizei)(height)) -} -func CopyTextureImage1DEXT(texture uint32, target uint32, level int32, internalformat uint32, x int32, y int32, width int32, border int32) { - C.glowCopyTextureImage1DEXT(gpCopyTextureImage1DEXT, (C.GLuint)(texture), (C.GLenum)(target), (C.GLint)(level), (C.GLenum)(internalformat), (C.GLint)(x), (C.GLint)(y), (C.GLsizei)(width), (C.GLint)(border)) -} -func CopyTextureImage2DEXT(texture uint32, target uint32, level int32, internalformat uint32, x int32, y int32, width int32, height int32, border int32) { - C.glowCopyTextureImage2DEXT(gpCopyTextureImage2DEXT, (C.GLuint)(texture), (C.GLenum)(target), (C.GLint)(level), (C.GLenum)(internalformat), (C.GLint)(x), (C.GLint)(y), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLint)(border)) -} - -// copy a one-dimensional texture subimage -func CopyTextureSubImage1D(texture uint32, level int32, xoffset int32, x int32, y int32, width int32) { - C.glowCopyTextureSubImage1D(gpCopyTextureSubImage1D, (C.GLuint)(texture), (C.GLint)(level), (C.GLint)(xoffset), (C.GLint)(x), (C.GLint)(y), (C.GLsizei)(width)) -} -func CopyTextureSubImage1DEXT(texture uint32, target uint32, level int32, xoffset int32, x int32, y int32, width int32) { - C.glowCopyTextureSubImage1DEXT(gpCopyTextureSubImage1DEXT, (C.GLuint)(texture), (C.GLenum)(target), (C.GLint)(level), (C.GLint)(xoffset), (C.GLint)(x), (C.GLint)(y), (C.GLsizei)(width)) -} - -// copy a two-dimensional texture subimage -func CopyTextureSubImage2D(texture uint32, level int32, xoffset int32, yoffset int32, x int32, y int32, width int32, height int32) { - C.glowCopyTextureSubImage2D(gpCopyTextureSubImage2D, (C.GLuint)(texture), (C.GLint)(level), (C.GLint)(xoffset), (C.GLint)(yoffset), (C.GLint)(x), (C.GLint)(y), (C.GLsizei)(width), (C.GLsizei)(height)) -} -func CopyTextureSubImage2DEXT(texture uint32, target uint32, level int32, xoffset int32, yoffset int32, x int32, y int32, width int32, height int32) { - C.glowCopyTextureSubImage2DEXT(gpCopyTextureSubImage2DEXT, (C.GLuint)(texture), (C.GLenum)(target), (C.GLint)(level), (C.GLint)(xoffset), (C.GLint)(yoffset), (C.GLint)(x), (C.GLint)(y), (C.GLsizei)(width), (C.GLsizei)(height)) -} - -// copy a three-dimensional texture subimage -func CopyTextureSubImage3D(texture uint32, level int32, xoffset int32, yoffset int32, zoffset int32, x int32, y int32, width int32, height int32) { - C.glowCopyTextureSubImage3D(gpCopyTextureSubImage3D, (C.GLuint)(texture), (C.GLint)(level), (C.GLint)(xoffset), (C.GLint)(yoffset), (C.GLint)(zoffset), (C.GLint)(x), (C.GLint)(y), (C.GLsizei)(width), (C.GLsizei)(height)) -} -func CopyTextureSubImage3DEXT(texture uint32, target uint32, level int32, xoffset int32, yoffset int32, zoffset int32, x int32, y int32, width int32, height int32) { - C.glowCopyTextureSubImage3DEXT(gpCopyTextureSubImage3DEXT, (C.GLuint)(texture), (C.GLenum)(target), (C.GLint)(level), (C.GLint)(xoffset), (C.GLint)(yoffset), (C.GLint)(zoffset), (C.GLint)(x), (C.GLint)(y), (C.GLsizei)(width), (C.GLsizei)(height)) -} -func CoverFillPathInstancedNV(numPaths int32, pathNameType uint32, paths unsafe.Pointer, pathBase uint32, coverMode uint32, transformType uint32, transformValues *float32) { - C.glowCoverFillPathInstancedNV(gpCoverFillPathInstancedNV, (C.GLsizei)(numPaths), (C.GLenum)(pathNameType), paths, (C.GLuint)(pathBase), (C.GLenum)(coverMode), (C.GLenum)(transformType), (*C.GLfloat)(unsafe.Pointer(transformValues))) -} -func CoverFillPathNV(path uint32, coverMode uint32) { - C.glowCoverFillPathNV(gpCoverFillPathNV, (C.GLuint)(path), (C.GLenum)(coverMode)) -} -func CoverStrokePathInstancedNV(numPaths int32, pathNameType uint32, paths unsafe.Pointer, pathBase uint32, coverMode uint32, transformType uint32, transformValues *float32) { - C.glowCoverStrokePathInstancedNV(gpCoverStrokePathInstancedNV, (C.GLsizei)(numPaths), (C.GLenum)(pathNameType), paths, (C.GLuint)(pathBase), (C.GLenum)(coverMode), (C.GLenum)(transformType), (*C.GLfloat)(unsafe.Pointer(transformValues))) -} -func CoverStrokePathNV(path uint32, coverMode uint32) { - C.glowCoverStrokePathNV(gpCoverStrokePathNV, (C.GLuint)(path), (C.GLenum)(coverMode)) -} -func CoverageModulationNV(components uint32) { - C.glowCoverageModulationNV(gpCoverageModulationNV, (C.GLenum)(components)) -} -func CoverageModulationTableNV(n int32, v *float32) { - C.glowCoverageModulationTableNV(gpCoverageModulationTableNV, (C.GLsizei)(n), (*C.GLfloat)(unsafe.Pointer(v))) -} - -// create buffer objects -func CreateBuffers(n int32, buffers *uint32) { - C.glowCreateBuffers(gpCreateBuffers, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(buffers))) -} -func CreateCommandListsNV(n int32, lists *uint32) { - C.glowCreateCommandListsNV(gpCreateCommandListsNV, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(lists))) -} - -// create framebuffer objects -func CreateFramebuffers(n int32, framebuffers *uint32) { - C.glowCreateFramebuffers(gpCreateFramebuffers, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(framebuffers))) -} -func CreateMemoryObjectsEXT(n int32, memoryObjects *uint32) { - C.glowCreateMemoryObjectsEXT(gpCreateMemoryObjectsEXT, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(memoryObjects))) -} -func CreatePerfQueryINTEL(queryId uint32, queryHandle *uint32) { - C.glowCreatePerfQueryINTEL(gpCreatePerfQueryINTEL, (C.GLuint)(queryId), (*C.GLuint)(unsafe.Pointer(queryHandle))) -} - -// Creates a program object func CreateProgram() uint32 { ret := C.glowCreateProgram(gpCreateProgram) return (uint32)(ret) } -func CreateProgramObjectARB() uintptr { - ret := C.glowCreateProgramObjectARB(gpCreateProgramObjectARB) - return (uintptr)(ret) -} -// create program pipeline objects -func CreateProgramPipelines(n int32, pipelines *uint32) { - C.glowCreateProgramPipelines(gpCreateProgramPipelines, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(pipelines))) -} - -// create query objects -func CreateQueries(target uint32, n int32, ids *uint32) { - C.glowCreateQueries(gpCreateQueries, (C.GLenum)(target), (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(ids))) -} - -// create renderbuffer objects -func CreateRenderbuffers(n int32, renderbuffers *uint32) { - C.glowCreateRenderbuffers(gpCreateRenderbuffers, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(renderbuffers))) -} - -// create sampler objects -func CreateSamplers(n int32, samplers *uint32) { - C.glowCreateSamplers(gpCreateSamplers, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(samplers))) -} - -// Creates a shader object func CreateShader(xtype uint32) uint32 { ret := C.glowCreateShader(gpCreateShader, (C.GLenum)(xtype)) return (uint32)(ret) } -func CreateShaderObjectARB(shaderType uint32) uintptr { - ret := C.glowCreateShaderObjectARB(gpCreateShaderObjectARB, (C.GLenum)(shaderType)) - return (uintptr)(ret) -} -func CreateShaderProgramEXT(xtype uint32, xstring *uint8) uint32 { - ret := C.glowCreateShaderProgramEXT(gpCreateShaderProgramEXT, (C.GLenum)(xtype), (*C.GLchar)(unsafe.Pointer(xstring))) - return (uint32)(ret) -} -// create a stand-alone program from an array of null-terminated source code strings -func CreateShaderProgramv(xtype uint32, count int32, strings **uint8) uint32 { - ret := C.glowCreateShaderProgramv(gpCreateShaderProgramv, (C.GLenum)(xtype), (C.GLsizei)(count), (**C.GLchar)(unsafe.Pointer(strings))) - return (uint32)(ret) -} -func CreateShaderProgramvEXT(xtype uint32, count int32, strings **uint8) uint32 { - ret := C.glowCreateShaderProgramvEXT(gpCreateShaderProgramvEXT, (C.GLenum)(xtype), (C.GLsizei)(count), (**C.GLchar)(unsafe.Pointer(strings))) - return (uint32)(ret) -} -func CreateStatesNV(n int32, states *uint32) { - C.glowCreateStatesNV(gpCreateStatesNV, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(states))) -} - -// Parameter context has type *C.struct__cl_context. -// Parameter event has type *C.struct__cl_event. -func CreateSyncFromCLeventARB(context unsafe.Pointer, event unsafe.Pointer, flags uint32) uintptr { - ret := C.glowCreateSyncFromCLeventARB(gpCreateSyncFromCLeventARB, (*C.struct__cl_context)(context), (*C.struct__cl_event)(event), (C.GLbitfield)(flags)) - return (uintptr)(ret) -} - -// create texture objects -func CreateTextures(target uint32, n int32, textures *uint32) { - C.glowCreateTextures(gpCreateTextures, (C.GLenum)(target), (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(textures))) -} - -// create transform feedback objects -func CreateTransformFeedbacks(n int32, ids *uint32) { - C.glowCreateTransformFeedbacks(gpCreateTransformFeedbacks, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(ids))) -} - -// create vertex array objects -func CreateVertexArrays(n int32, arrays *uint32) { - C.glowCreateVertexArrays(gpCreateVertexArrays, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(arrays))) -} - -// specify whether front- or back-facing facets can be culled -func CullFace(mode uint32) { - C.glowCullFace(gpCullFace, (C.GLenum)(mode)) -} -func CullParameterdvEXT(pname uint32, params *float64) { - C.glowCullParameterdvEXT(gpCullParameterdvEXT, (C.GLenum)(pname), (*C.GLdouble)(unsafe.Pointer(params))) -} -func CullParameterfvEXT(pname uint32, params *float32) { - C.glowCullParameterfvEXT(gpCullParameterfvEXT, (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func CurrentPaletteMatrixARB(index int32) { - C.glowCurrentPaletteMatrixARB(gpCurrentPaletteMatrixARB, (C.GLint)(index)) -} - -// specify a callback to receive debugging messages from the GL -// Parameter callback has type C.GLDEBUGPROC. -func DebugMessageCallback(callback unsafe.Pointer, userParam unsafe.Pointer) { - C.glowDebugMessageCallback(gpDebugMessageCallback, (C.GLDEBUGPROC)(unsafe.Pointer(&callback)), userParam) -} - -// Parameter callback has type C.GLDEBUGPROCAMD. -func DebugMessageCallbackAMD(callback unsafe.Pointer, userParam unsafe.Pointer) { - C.glowDebugMessageCallbackAMD(gpDebugMessageCallbackAMD, (C.GLDEBUGPROCAMD)(callback), userParam) -} - -// Parameter callback has type C.GLDEBUGPROCARB. -func DebugMessageCallbackARB(callback unsafe.Pointer, userParam unsafe.Pointer) { - C.glowDebugMessageCallbackARB(gpDebugMessageCallbackARB, (C.GLDEBUGPROCARB)(unsafe.Pointer(&callback)), userParam) -} - -// Parameter callback has type C.GLDEBUGPROCKHR. -func DebugMessageCallbackKHR(callback unsafe.Pointer, userParam unsafe.Pointer) { - C.glowDebugMessageCallbackKHR(gpDebugMessageCallbackKHR, (C.GLDEBUGPROCKHR)(unsafe.Pointer(&callback)), userParam) -} - -// control the reporting of debug messages in a debug context -func DebugMessageControl(source uint32, xtype uint32, severity uint32, count int32, ids *uint32, enabled bool) { - C.glowDebugMessageControl(gpDebugMessageControl, (C.GLenum)(source), (C.GLenum)(xtype), (C.GLenum)(severity), (C.GLsizei)(count), (*C.GLuint)(unsafe.Pointer(ids)), (C.GLboolean)(boolToInt(enabled))) -} -func DebugMessageControlARB(source uint32, xtype uint32, severity uint32, count int32, ids *uint32, enabled bool) { - C.glowDebugMessageControlARB(gpDebugMessageControlARB, (C.GLenum)(source), (C.GLenum)(xtype), (C.GLenum)(severity), (C.GLsizei)(count), (*C.GLuint)(unsafe.Pointer(ids)), (C.GLboolean)(boolToInt(enabled))) -} -func DebugMessageControlKHR(source uint32, xtype uint32, severity uint32, count int32, ids *uint32, enabled bool) { - C.glowDebugMessageControlKHR(gpDebugMessageControlKHR, (C.GLenum)(source), (C.GLenum)(xtype), (C.GLenum)(severity), (C.GLsizei)(count), (*C.GLuint)(unsafe.Pointer(ids)), (C.GLboolean)(boolToInt(enabled))) -} -func DebugMessageEnableAMD(category uint32, severity uint32, count int32, ids *uint32, enabled bool) { - C.glowDebugMessageEnableAMD(gpDebugMessageEnableAMD, (C.GLenum)(category), (C.GLenum)(severity), (C.GLsizei)(count), (*C.GLuint)(unsafe.Pointer(ids)), (C.GLboolean)(boolToInt(enabled))) -} - -// inject an application-supplied message into the debug message queue -func DebugMessageInsert(source uint32, xtype uint32, id uint32, severity uint32, length int32, buf *uint8) { - C.glowDebugMessageInsert(gpDebugMessageInsert, (C.GLenum)(source), (C.GLenum)(xtype), (C.GLuint)(id), (C.GLenum)(severity), (C.GLsizei)(length), (*C.GLchar)(unsafe.Pointer(buf))) -} -func DebugMessageInsertAMD(category uint32, severity uint32, id uint32, length int32, buf *uint8) { - C.glowDebugMessageInsertAMD(gpDebugMessageInsertAMD, (C.GLenum)(category), (C.GLenum)(severity), (C.GLuint)(id), (C.GLsizei)(length), (*C.GLchar)(unsafe.Pointer(buf))) -} -func DebugMessageInsertARB(source uint32, xtype uint32, id uint32, severity uint32, length int32, buf *uint8) { - C.glowDebugMessageInsertARB(gpDebugMessageInsertARB, (C.GLenum)(source), (C.GLenum)(xtype), (C.GLuint)(id), (C.GLenum)(severity), (C.GLsizei)(length), (*C.GLchar)(unsafe.Pointer(buf))) -} -func DebugMessageInsertKHR(source uint32, xtype uint32, id uint32, severity uint32, length int32, buf *uint8) { - C.glowDebugMessageInsertKHR(gpDebugMessageInsertKHR, (C.GLenum)(source), (C.GLenum)(xtype), (C.GLuint)(id), (C.GLenum)(severity), (C.GLsizei)(length), (*C.GLchar)(unsafe.Pointer(buf))) -} -func DeformSGIX(mask uint32) { - C.glowDeformSGIX(gpDeformSGIX, (C.GLbitfield)(mask)) -} -func DeformationMap3dSGIX(target uint32, u1 float64, u2 float64, ustride int32, uorder int32, v1 float64, v2 float64, vstride int32, vorder int32, w1 float64, w2 float64, wstride int32, worder int32, points *float64) { - C.glowDeformationMap3dSGIX(gpDeformationMap3dSGIX, (C.GLenum)(target), (C.GLdouble)(u1), (C.GLdouble)(u2), (C.GLint)(ustride), (C.GLint)(uorder), (C.GLdouble)(v1), (C.GLdouble)(v2), (C.GLint)(vstride), (C.GLint)(vorder), (C.GLdouble)(w1), (C.GLdouble)(w2), (C.GLint)(wstride), (C.GLint)(worder), (*C.GLdouble)(unsafe.Pointer(points))) -} -func DeformationMap3fSGIX(target uint32, u1 float32, u2 float32, ustride int32, uorder int32, v1 float32, v2 float32, vstride int32, vorder int32, w1 float32, w2 float32, wstride int32, worder int32, points *float32) { - C.glowDeformationMap3fSGIX(gpDeformationMap3fSGIX, (C.GLenum)(target), (C.GLfloat)(u1), (C.GLfloat)(u2), (C.GLint)(ustride), (C.GLint)(uorder), (C.GLfloat)(v1), (C.GLfloat)(v2), (C.GLint)(vstride), (C.GLint)(vorder), (C.GLfloat)(w1), (C.GLfloat)(w2), (C.GLint)(wstride), (C.GLint)(worder), (*C.GLfloat)(unsafe.Pointer(points))) -} -func DeleteAsyncMarkersSGIX(marker uint32, xrange int32) { - C.glowDeleteAsyncMarkersSGIX(gpDeleteAsyncMarkersSGIX, (C.GLuint)(marker), (C.GLsizei)(xrange)) -} - -// delete named buffer objects func DeleteBuffers(n int32, buffers *uint32) { C.glowDeleteBuffers(gpDeleteBuffers, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(buffers))) } -func DeleteBuffersARB(n int32, buffers *uint32) { - C.glowDeleteBuffersARB(gpDeleteBuffersARB, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(buffers))) -} -func DeleteCommandListsNV(n int32, lists *uint32) { - C.glowDeleteCommandListsNV(gpDeleteCommandListsNV, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(lists))) -} -func DeleteFencesAPPLE(n int32, fences *uint32) { - C.glowDeleteFencesAPPLE(gpDeleteFencesAPPLE, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(fences))) -} -func DeleteFencesNV(n int32, fences *uint32) { - C.glowDeleteFencesNV(gpDeleteFencesNV, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(fences))) -} -func DeleteFragmentShaderATI(id uint32) { - C.glowDeleteFragmentShaderATI(gpDeleteFragmentShaderATI, (C.GLuint)(id)) -} -// delete framebuffer objects -func DeleteFramebuffers(n int32, framebuffers *uint32) { - C.glowDeleteFramebuffers(gpDeleteFramebuffers, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(framebuffers))) -} func DeleteFramebuffersEXT(n int32, framebuffers *uint32) { C.glowDeleteFramebuffersEXT(gpDeleteFramebuffersEXT, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(framebuffers))) } -// delete a contiguous group of display lists -func DeleteLists(list uint32, xrange int32) { - C.glowDeleteLists(gpDeleteLists, (C.GLuint)(list), (C.GLsizei)(xrange)) -} -func DeleteMemoryObjectsEXT(n int32, memoryObjects *uint32) { - C.glowDeleteMemoryObjectsEXT(gpDeleteMemoryObjectsEXT, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(memoryObjects))) -} -func DeleteNamedStringARB(namelen int32, name *uint8) { - C.glowDeleteNamedStringARB(gpDeleteNamedStringARB, (C.GLint)(namelen), (*C.GLchar)(unsafe.Pointer(name))) -} -func DeleteNamesAMD(identifier uint32, num uint32, names *uint32) { - C.glowDeleteNamesAMD(gpDeleteNamesAMD, (C.GLenum)(identifier), (C.GLuint)(num), (*C.GLuint)(unsafe.Pointer(names))) -} -func DeleteObjectARB(obj uintptr) { - C.glowDeleteObjectARB(gpDeleteObjectARB, (C.GLhandleARB)(obj)) -} -func DeleteOcclusionQueriesNV(n int32, ids *uint32) { - C.glowDeleteOcclusionQueriesNV(gpDeleteOcclusionQueriesNV, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(ids))) -} -func DeletePathsNV(path uint32, xrange int32) { - C.glowDeletePathsNV(gpDeletePathsNV, (C.GLuint)(path), (C.GLsizei)(xrange)) -} -func DeletePerfMonitorsAMD(n int32, monitors *uint32) { - C.glowDeletePerfMonitorsAMD(gpDeletePerfMonitorsAMD, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(monitors))) -} -func DeletePerfQueryINTEL(queryHandle uint32) { - C.glowDeletePerfQueryINTEL(gpDeletePerfQueryINTEL, (C.GLuint)(queryHandle)) -} - -// Deletes a program object func DeleteProgram(program uint32) { C.glowDeleteProgram(gpDeleteProgram, (C.GLuint)(program)) } -// delete program pipeline objects -func DeleteProgramPipelines(n int32, pipelines *uint32) { - C.glowDeleteProgramPipelines(gpDeleteProgramPipelines, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(pipelines))) -} -func DeleteProgramPipelinesEXT(n int32, pipelines *uint32) { - C.glowDeleteProgramPipelinesEXT(gpDeleteProgramPipelinesEXT, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(pipelines))) -} -func DeleteProgramsARB(n int32, programs *uint32) { - C.glowDeleteProgramsARB(gpDeleteProgramsARB, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(programs))) -} -func DeleteProgramsNV(n int32, programs *uint32) { - C.glowDeleteProgramsNV(gpDeleteProgramsNV, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(programs))) -} - -// delete named query objects -func DeleteQueries(n int32, ids *uint32) { - C.glowDeleteQueries(gpDeleteQueries, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(ids))) -} -func DeleteQueriesARB(n int32, ids *uint32) { - C.glowDeleteQueriesARB(gpDeleteQueriesARB, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(ids))) -} -func DeleteQueryResourceTagNV(n int32, tagIds *int32) { - C.glowDeleteQueryResourceTagNV(gpDeleteQueryResourceTagNV, (C.GLsizei)(n), (*C.GLint)(unsafe.Pointer(tagIds))) -} - -// delete renderbuffer objects -func DeleteRenderbuffers(n int32, renderbuffers *uint32) { - C.glowDeleteRenderbuffers(gpDeleteRenderbuffers, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(renderbuffers))) -} -func DeleteRenderbuffersEXT(n int32, renderbuffers *uint32) { - C.glowDeleteRenderbuffersEXT(gpDeleteRenderbuffersEXT, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(renderbuffers))) -} - -// delete named sampler objects -func DeleteSamplers(count int32, samplers *uint32) { - C.glowDeleteSamplers(gpDeleteSamplers, (C.GLsizei)(count), (*C.GLuint)(unsafe.Pointer(samplers))) -} -func DeleteSemaphoresEXT(n int32, semaphores *uint32) { - C.glowDeleteSemaphoresEXT(gpDeleteSemaphoresEXT, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(semaphores))) -} - -// Deletes a shader object func DeleteShader(shader uint32) { C.glowDeleteShader(gpDeleteShader, (C.GLuint)(shader)) } -func DeleteStatesNV(n int32, states *uint32) { - C.glowDeleteStatesNV(gpDeleteStatesNV, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(states))) -} -// delete a sync object -func DeleteSync(sync uintptr) { - C.glowDeleteSync(gpDeleteSync, (C.GLsync)(sync)) -} - -// delete named textures func DeleteTextures(n int32, textures *uint32) { C.glowDeleteTextures(gpDeleteTextures, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(textures))) } -func DeleteTexturesEXT(n int32, textures *uint32) { - C.glowDeleteTexturesEXT(gpDeleteTexturesEXT, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(textures))) -} -// delete transform feedback objects -func DeleteTransformFeedbacks(n int32, ids *uint32) { - C.glowDeleteTransformFeedbacks(gpDeleteTransformFeedbacks, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(ids))) -} -func DeleteTransformFeedbacksNV(n int32, ids *uint32) { - C.glowDeleteTransformFeedbacksNV(gpDeleteTransformFeedbacksNV, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(ids))) -} - -// delete vertex array objects -func DeleteVertexArrays(n int32, arrays *uint32) { - C.glowDeleteVertexArrays(gpDeleteVertexArrays, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(arrays))) -} -func DeleteVertexArraysAPPLE(n int32, arrays *uint32) { - C.glowDeleteVertexArraysAPPLE(gpDeleteVertexArraysAPPLE, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(arrays))) -} -func DeleteVertexShaderEXT(id uint32) { - C.glowDeleteVertexShaderEXT(gpDeleteVertexShaderEXT, (C.GLuint)(id)) -} -func DepthBoundsEXT(zmin float64, zmax float64) { - C.glowDepthBoundsEXT(gpDepthBoundsEXT, (C.GLclampd)(zmin), (C.GLclampd)(zmax)) -} -func DepthBoundsdNV(zmin float64, zmax float64) { - C.glowDepthBoundsdNV(gpDepthBoundsdNV, (C.GLdouble)(zmin), (C.GLdouble)(zmax)) -} - -// specify the value used for depth buffer comparisons -func DepthFunc(xfunc uint32) { - C.glowDepthFunc(gpDepthFunc, (C.GLenum)(xfunc)) -} - -// enable or disable writing into the depth buffer -func DepthMask(flag bool) { - C.glowDepthMask(gpDepthMask, (C.GLboolean)(boolToInt(flag))) -} - -// specify mapping of depth values from normalized device coordinates to window coordinates -func DepthRange(n float64, f float64) { - C.glowDepthRange(gpDepthRange, (C.GLdouble)(n), (C.GLdouble)(f)) -} -func DepthRangeArrayv(first uint32, count int32, v *float64) { - C.glowDepthRangeArrayv(gpDepthRangeArrayv, (C.GLuint)(first), (C.GLsizei)(count), (*C.GLdouble)(unsafe.Pointer(v))) -} - -// specify mapping of depth values from normalized device coordinates to window coordinates for a specified viewport -func DepthRangeIndexed(index uint32, n float64, f float64) { - C.glowDepthRangeIndexed(gpDepthRangeIndexed, (C.GLuint)(index), (C.GLdouble)(n), (C.GLdouble)(f)) -} -func DepthRangedNV(zNear float64, zFar float64) { - C.glowDepthRangedNV(gpDepthRangedNV, (C.GLdouble)(zNear), (C.GLdouble)(zFar)) -} - -// specify mapping of depth values from normalized device coordinates to window coordinates -func DepthRangef(n float32, f float32) { - C.glowDepthRangef(gpDepthRangef, (C.GLfloat)(n), (C.GLfloat)(f)) -} -func DepthRangefOES(n float32, f float32) { - C.glowDepthRangefOES(gpDepthRangefOES, (C.GLclampf)(n), (C.GLclampf)(f)) -} -func DepthRangexOES(n int32, f int32) { - C.glowDepthRangexOES(gpDepthRangexOES, (C.GLfixed)(n), (C.GLfixed)(f)) -} -func DetachObjectARB(containerObj uintptr, attachedObj uintptr) { - C.glowDetachObjectARB(gpDetachObjectARB, (C.GLhandleARB)(containerObj), (C.GLhandleARB)(attachedObj)) -} - -// Detaches a shader object from a program object to which it is attached -func DetachShader(program uint32, shader uint32) { - C.glowDetachShader(gpDetachShader, (C.GLuint)(program), (C.GLuint)(shader)) -} -func DetailTexFuncSGIS(target uint32, n int32, points *float32) { - C.glowDetailTexFuncSGIS(gpDetailTexFuncSGIS, (C.GLenum)(target), (C.GLsizei)(n), (*C.GLfloat)(unsafe.Pointer(points))) -} -func Disable(cap uint32) { - C.glowDisable(gpDisable, (C.GLenum)(cap)) -} -func DisableClientState(array uint32) { - C.glowDisableClientState(gpDisableClientState, (C.GLenum)(array)) -} -func DisableClientStateIndexedEXT(array uint32, index uint32) { - C.glowDisableClientStateIndexedEXT(gpDisableClientStateIndexedEXT, (C.GLenum)(array), (C.GLuint)(index)) -} -func DisableClientStateiEXT(array uint32, index uint32) { - C.glowDisableClientStateiEXT(gpDisableClientStateiEXT, (C.GLenum)(array), (C.GLuint)(index)) -} -func DisableIndexedEXT(target uint32, index uint32) { - C.glowDisableIndexedEXT(gpDisableIndexedEXT, (C.GLenum)(target), (C.GLuint)(index)) -} -func DisableVariantClientStateEXT(id uint32) { - C.glowDisableVariantClientStateEXT(gpDisableVariantClientStateEXT, (C.GLuint)(id)) -} - -// Enable or disable a generic vertex attribute array -func DisableVertexArrayAttrib(vaobj uint32, index uint32) { - C.glowDisableVertexArrayAttrib(gpDisableVertexArrayAttrib, (C.GLuint)(vaobj), (C.GLuint)(index)) -} -func DisableVertexArrayAttribEXT(vaobj uint32, index uint32) { - C.glowDisableVertexArrayAttribEXT(gpDisableVertexArrayAttribEXT, (C.GLuint)(vaobj), (C.GLuint)(index)) -} -func DisableVertexArrayEXT(vaobj uint32, array uint32) { - C.glowDisableVertexArrayEXT(gpDisableVertexArrayEXT, (C.GLuint)(vaobj), (C.GLenum)(array)) -} -func DisableVertexAttribAPPLE(index uint32, pname uint32) { - C.glowDisableVertexAttribAPPLE(gpDisableVertexAttribAPPLE, (C.GLuint)(index), (C.GLenum)(pname)) -} - -// Enable or disable a generic vertex attribute array func DisableVertexAttribArray(index uint32) { C.glowDisableVertexAttribArray(gpDisableVertexAttribArray, (C.GLuint)(index)) } -func DisableVertexAttribArrayARB(index uint32) { - C.glowDisableVertexAttribArrayARB(gpDisableVertexAttribArrayARB, (C.GLuint)(index)) -} -// launch one or more compute work groups -func DispatchCompute(num_groups_x uint32, num_groups_y uint32, num_groups_z uint32) { - C.glowDispatchCompute(gpDispatchCompute, (C.GLuint)(num_groups_x), (C.GLuint)(num_groups_y), (C.GLuint)(num_groups_z)) -} -func DispatchComputeGroupSizeARB(num_groups_x uint32, num_groups_y uint32, num_groups_z uint32, group_size_x uint32, group_size_y uint32, group_size_z uint32) { - C.glowDispatchComputeGroupSizeARB(gpDispatchComputeGroupSizeARB, (C.GLuint)(num_groups_x), (C.GLuint)(num_groups_y), (C.GLuint)(num_groups_z), (C.GLuint)(group_size_x), (C.GLuint)(group_size_y), (C.GLuint)(group_size_z)) -} - -// launch one or more compute work groups using parameters stored in a buffer -func DispatchComputeIndirect(indirect int) { - C.glowDispatchComputeIndirect(gpDispatchComputeIndirect, (C.GLintptr)(indirect)) -} - -// render primitives from array data -func DrawArrays(mode uint32, first int32, count int32) { - C.glowDrawArrays(gpDrawArrays, (C.GLenum)(mode), (C.GLint)(first), (C.GLsizei)(count)) -} -func DrawArraysEXT(mode uint32, first int32, count int32) { - C.glowDrawArraysEXT(gpDrawArraysEXT, (C.GLenum)(mode), (C.GLint)(first), (C.GLsizei)(count)) -} - -// render primitives from array data, taking parameters from memory -func DrawArraysIndirect(mode uint32, indirect unsafe.Pointer) { - C.glowDrawArraysIndirect(gpDrawArraysIndirect, (C.GLenum)(mode), indirect) -} -func DrawArraysInstancedARB(mode uint32, first int32, count int32, primcount int32) { - C.glowDrawArraysInstancedARB(gpDrawArraysInstancedARB, (C.GLenum)(mode), (C.GLint)(first), (C.GLsizei)(count), (C.GLsizei)(primcount)) -} - -// draw multiple instances of a range of elements with offset applied to instanced attributes -func DrawArraysInstancedBaseInstance(mode uint32, first int32, count int32, instancecount int32, baseinstance uint32) { - C.glowDrawArraysInstancedBaseInstance(gpDrawArraysInstancedBaseInstance, (C.GLenum)(mode), (C.GLint)(first), (C.GLsizei)(count), (C.GLsizei)(instancecount), (C.GLuint)(baseinstance)) -} -func DrawArraysInstancedEXT(mode uint32, start int32, count int32, primcount int32) { - C.glowDrawArraysInstancedEXT(gpDrawArraysInstancedEXT, (C.GLenum)(mode), (C.GLint)(start), (C.GLsizei)(count), (C.GLsizei)(primcount)) -} - -// specify which color buffers are to be drawn into -func DrawBuffer(buf uint32) { - C.glowDrawBuffer(gpDrawBuffer, (C.GLenum)(buf)) -} - -// Specifies a list of color buffers to be drawn into -func DrawBuffers(n int32, bufs *uint32) { - C.glowDrawBuffers(gpDrawBuffers, (C.GLsizei)(n), (*C.GLenum)(unsafe.Pointer(bufs))) -} -func DrawBuffersARB(n int32, bufs *uint32) { - C.glowDrawBuffersARB(gpDrawBuffersARB, (C.GLsizei)(n), (*C.GLenum)(unsafe.Pointer(bufs))) -} -func DrawBuffersATI(n int32, bufs *uint32) { - C.glowDrawBuffersATI(gpDrawBuffersATI, (C.GLsizei)(n), (*C.GLenum)(unsafe.Pointer(bufs))) -} -func DrawCommandsAddressNV(primitiveMode uint32, indirects *uint64, sizes *int32, count uint32) { - C.glowDrawCommandsAddressNV(gpDrawCommandsAddressNV, (C.GLenum)(primitiveMode), (*C.GLuint64)(unsafe.Pointer(indirects)), (*C.GLsizei)(unsafe.Pointer(sizes)), (C.GLuint)(count)) -} -func DrawCommandsNV(primitiveMode uint32, buffer uint32, indirects *int, sizes *int32, count uint32) { - C.glowDrawCommandsNV(gpDrawCommandsNV, (C.GLenum)(primitiveMode), (C.GLuint)(buffer), (*C.GLintptr)(unsafe.Pointer(indirects)), (*C.GLsizei)(unsafe.Pointer(sizes)), (C.GLuint)(count)) -} -func DrawCommandsStatesAddressNV(indirects *uint64, sizes *int32, states *uint32, fbos *uint32, count uint32) { - C.glowDrawCommandsStatesAddressNV(gpDrawCommandsStatesAddressNV, (*C.GLuint64)(unsafe.Pointer(indirects)), (*C.GLsizei)(unsafe.Pointer(sizes)), (*C.GLuint)(unsafe.Pointer(states)), (*C.GLuint)(unsafe.Pointer(fbos)), (C.GLuint)(count)) -} -func DrawCommandsStatesNV(buffer uint32, indirects *int, sizes *int32, states *uint32, fbos *uint32, count uint32) { - C.glowDrawCommandsStatesNV(gpDrawCommandsStatesNV, (C.GLuint)(buffer), (*C.GLintptr)(unsafe.Pointer(indirects)), (*C.GLsizei)(unsafe.Pointer(sizes)), (*C.GLuint)(unsafe.Pointer(states)), (*C.GLuint)(unsafe.Pointer(fbos)), (C.GLuint)(count)) -} -func DrawElementArrayAPPLE(mode uint32, first int32, count int32) { - C.glowDrawElementArrayAPPLE(gpDrawElementArrayAPPLE, (C.GLenum)(mode), (C.GLint)(first), (C.GLsizei)(count)) -} -func DrawElementArrayATI(mode uint32, count int32) { - C.glowDrawElementArrayATI(gpDrawElementArrayATI, (C.GLenum)(mode), (C.GLsizei)(count)) -} - -// render primitives from array data func DrawElements(mode uint32, count int32, xtype uint32, indices uintptr) { C.glowDrawElements(gpDrawElements, (C.GLenum)(mode), (C.GLsizei)(count), (C.GLenum)(xtype), C.uintptr_t(indices)) } -// render primitives from array data with a per-element offset -func DrawElementsBaseVertex(mode uint32, count int32, xtype uint32, indices unsafe.Pointer, basevertex int32) { - C.glowDrawElementsBaseVertex(gpDrawElementsBaseVertex, (C.GLenum)(mode), (C.GLsizei)(count), (C.GLenum)(xtype), indices, (C.GLint)(basevertex)) -} - -// render indexed primitives from array data, taking parameters from memory -func DrawElementsIndirect(mode uint32, xtype uint32, indirect unsafe.Pointer) { - C.glowDrawElementsIndirect(gpDrawElementsIndirect, (C.GLenum)(mode), (C.GLenum)(xtype), indirect) -} -func DrawElementsInstancedARB(mode uint32, count int32, xtype uint32, indices unsafe.Pointer, primcount int32) { - C.glowDrawElementsInstancedARB(gpDrawElementsInstancedARB, (C.GLenum)(mode), (C.GLsizei)(count), (C.GLenum)(xtype), indices, (C.GLsizei)(primcount)) -} - -// draw multiple instances of a set of elements with offset applied to instanced attributes -func DrawElementsInstancedBaseInstance(mode uint32, count int32, xtype uint32, indices unsafe.Pointer, instancecount int32, baseinstance uint32) { - C.glowDrawElementsInstancedBaseInstance(gpDrawElementsInstancedBaseInstance, (C.GLenum)(mode), (C.GLsizei)(count), (C.GLenum)(xtype), indices, (C.GLsizei)(instancecount), (C.GLuint)(baseinstance)) -} - -// render multiple instances of a set of primitives from array data with a per-element offset -func DrawElementsInstancedBaseVertex(mode uint32, count int32, xtype uint32, indices unsafe.Pointer, instancecount int32, basevertex int32) { - C.glowDrawElementsInstancedBaseVertex(gpDrawElementsInstancedBaseVertex, (C.GLenum)(mode), (C.GLsizei)(count), (C.GLenum)(xtype), indices, (C.GLsizei)(instancecount), (C.GLint)(basevertex)) -} - -// render multiple instances of a set of primitives from array data with a per-element offset -func DrawElementsInstancedBaseVertexBaseInstance(mode uint32, count int32, xtype uint32, indices unsafe.Pointer, instancecount int32, basevertex int32, baseinstance uint32) { - C.glowDrawElementsInstancedBaseVertexBaseInstance(gpDrawElementsInstancedBaseVertexBaseInstance, (C.GLenum)(mode), (C.GLsizei)(count), (C.GLenum)(xtype), indices, (C.GLsizei)(instancecount), (C.GLint)(basevertex), (C.GLuint)(baseinstance)) -} -func DrawElementsInstancedEXT(mode uint32, count int32, xtype uint32, indices unsafe.Pointer, primcount int32) { - C.glowDrawElementsInstancedEXT(gpDrawElementsInstancedEXT, (C.GLenum)(mode), (C.GLsizei)(count), (C.GLenum)(xtype), indices, (C.GLsizei)(primcount)) -} -func DrawMeshArraysSUN(mode uint32, first int32, count int32, width int32) { - C.glowDrawMeshArraysSUN(gpDrawMeshArraysSUN, (C.GLenum)(mode), (C.GLint)(first), (C.GLsizei)(count), (C.GLsizei)(width)) -} - -// write a block of pixels to the frame buffer -func DrawPixels(width int32, height int32, format uint32, xtype uint32, pixels unsafe.Pointer) { - C.glowDrawPixels(gpDrawPixels, (C.GLsizei)(width), (C.GLsizei)(height), (C.GLenum)(format), (C.GLenum)(xtype), pixels) -} -func DrawRangeElementArrayAPPLE(mode uint32, start uint32, end uint32, first int32, count int32) { - C.glowDrawRangeElementArrayAPPLE(gpDrawRangeElementArrayAPPLE, (C.GLenum)(mode), (C.GLuint)(start), (C.GLuint)(end), (C.GLint)(first), (C.GLsizei)(count)) -} -func DrawRangeElementArrayATI(mode uint32, start uint32, end uint32, count int32) { - C.glowDrawRangeElementArrayATI(gpDrawRangeElementArrayATI, (C.GLenum)(mode), (C.GLuint)(start), (C.GLuint)(end), (C.GLsizei)(count)) -} - -// render primitives from array data -func DrawRangeElements(mode uint32, start uint32, end uint32, count int32, xtype uint32, indices unsafe.Pointer) { - C.glowDrawRangeElements(gpDrawRangeElements, (C.GLenum)(mode), (C.GLuint)(start), (C.GLuint)(end), (C.GLsizei)(count), (C.GLenum)(xtype), indices) -} - -// render primitives from array data with a per-element offset -func DrawRangeElementsBaseVertex(mode uint32, start uint32, end uint32, count int32, xtype uint32, indices unsafe.Pointer, basevertex int32) { - C.glowDrawRangeElementsBaseVertex(gpDrawRangeElementsBaseVertex, (C.GLenum)(mode), (C.GLuint)(start), (C.GLuint)(end), (C.GLsizei)(count), (C.GLenum)(xtype), indices, (C.GLint)(basevertex)) -} -func DrawRangeElementsEXT(mode uint32, start uint32, end uint32, count int32, xtype uint32, indices unsafe.Pointer) { - C.glowDrawRangeElementsEXT(gpDrawRangeElementsEXT, (C.GLenum)(mode), (C.GLuint)(start), (C.GLuint)(end), (C.GLsizei)(count), (C.GLenum)(xtype), indices) -} -func DrawTextureNV(texture uint32, sampler uint32, x0 float32, y0 float32, x1 float32, y1 float32, z float32, s0 float32, t0 float32, s1 float32, t1 float32) { - C.glowDrawTextureNV(gpDrawTextureNV, (C.GLuint)(texture), (C.GLuint)(sampler), (C.GLfloat)(x0), (C.GLfloat)(y0), (C.GLfloat)(x1), (C.GLfloat)(y1), (C.GLfloat)(z), (C.GLfloat)(s0), (C.GLfloat)(t0), (C.GLfloat)(s1), (C.GLfloat)(t1)) -} - -// render primitives using a count derived from a transform feedback object -func DrawTransformFeedback(mode uint32, id uint32) { - C.glowDrawTransformFeedback(gpDrawTransformFeedback, (C.GLenum)(mode), (C.GLuint)(id)) -} - -// render multiple instances of primitives using a count derived from a transform feedback object -func DrawTransformFeedbackInstanced(mode uint32, id uint32, instancecount int32) { - C.glowDrawTransformFeedbackInstanced(gpDrawTransformFeedbackInstanced, (C.GLenum)(mode), (C.GLuint)(id), (C.GLsizei)(instancecount)) -} -func DrawTransformFeedbackNV(mode uint32, id uint32) { - C.glowDrawTransformFeedbackNV(gpDrawTransformFeedbackNV, (C.GLenum)(mode), (C.GLuint)(id)) -} - -// render primitives using a count derived from a specifed stream of a transform feedback object -func DrawTransformFeedbackStream(mode uint32, id uint32, stream uint32) { - C.glowDrawTransformFeedbackStream(gpDrawTransformFeedbackStream, (C.GLenum)(mode), (C.GLuint)(id), (C.GLuint)(stream)) -} - -// render multiple instances of primitives using a count derived from a specifed stream of a transform feedback object -func DrawTransformFeedbackStreamInstanced(mode uint32, id uint32, stream uint32, instancecount int32) { - C.glowDrawTransformFeedbackStreamInstanced(gpDrawTransformFeedbackStreamInstanced, (C.GLenum)(mode), (C.GLuint)(id), (C.GLuint)(stream), (C.GLsizei)(instancecount)) -} -func DrawVkImageNV(vkImage uint64, sampler uint32, x0 float32, y0 float32, x1 float32, y1 float32, z float32, s0 float32, t0 float32, s1 float32, t1 float32) { - C.glowDrawVkImageNV(gpDrawVkImageNV, (C.GLuint64)(vkImage), (C.GLuint)(sampler), (C.GLfloat)(x0), (C.GLfloat)(y0), (C.GLfloat)(x1), (C.GLfloat)(y1), (C.GLfloat)(z), (C.GLfloat)(s0), (C.GLfloat)(t0), (C.GLfloat)(s1), (C.GLfloat)(t1)) -} - -// Parameter image has type C.GLeglImageOES. -func EGLImageTargetTexStorageEXT(target uint32, image unsafe.Pointer, attrib_list *int32) { - C.glowEGLImageTargetTexStorageEXT(gpEGLImageTargetTexStorageEXT, (C.GLenum)(target), (C.GLeglImageOES)(image), (*C.GLint)(unsafe.Pointer(attrib_list))) -} - -// Parameter image has type C.GLeglImageOES. -func EGLImageTargetTextureStorageEXT(texture uint32, image unsafe.Pointer, attrib_list *int32) { - C.glowEGLImageTargetTextureStorageEXT(gpEGLImageTargetTextureStorageEXT, (C.GLuint)(texture), (C.GLeglImageOES)(image), (*C.GLint)(unsafe.Pointer(attrib_list))) -} - -// flag edges as either boundary or nonboundary -func EdgeFlag(flag bool) { - C.glowEdgeFlag(gpEdgeFlag, (C.GLboolean)(boolToInt(flag))) -} -func EdgeFlagFormatNV(stride int32) { - C.glowEdgeFlagFormatNV(gpEdgeFlagFormatNV, (C.GLsizei)(stride)) -} - -// define an array of edge flags -func EdgeFlagPointer(stride int32, pointer unsafe.Pointer) { - C.glowEdgeFlagPointer(gpEdgeFlagPointer, (C.GLsizei)(stride), pointer) -} -func EdgeFlagPointerEXT(stride int32, count int32, pointer *bool) { - C.glowEdgeFlagPointerEXT(gpEdgeFlagPointerEXT, (C.GLsizei)(stride), (C.GLsizei)(count), (*C.GLboolean)(unsafe.Pointer(pointer))) -} -func EdgeFlagPointerListIBM(stride int32, pointer **bool, ptrstride int32) { - C.glowEdgeFlagPointerListIBM(gpEdgeFlagPointerListIBM, (C.GLint)(stride), (**C.GLboolean)(unsafe.Pointer(pointer)), (C.GLint)(ptrstride)) -} -func EdgeFlagv(flag *bool) { - C.glowEdgeFlagv(gpEdgeFlagv, (*C.GLboolean)(unsafe.Pointer(flag))) -} -func ElementPointerAPPLE(xtype uint32, pointer unsafe.Pointer) { - C.glowElementPointerAPPLE(gpElementPointerAPPLE, (C.GLenum)(xtype), pointer) -} -func ElementPointerATI(xtype uint32, pointer unsafe.Pointer) { - C.glowElementPointerATI(gpElementPointerATI, (C.GLenum)(xtype), pointer) -} - -// enable or disable server-side GL capabilities func Enable(cap uint32) { C.glowEnable(gpEnable, (C.GLenum)(cap)) } -// enable or disable client-side capability -func EnableClientState(array uint32) { - C.glowEnableClientState(gpEnableClientState, (C.GLenum)(array)) -} -func EnableClientStateIndexedEXT(array uint32, index uint32) { - C.glowEnableClientStateIndexedEXT(gpEnableClientStateIndexedEXT, (C.GLenum)(array), (C.GLuint)(index)) -} -func EnableClientStateiEXT(array uint32, index uint32) { - C.glowEnableClientStateiEXT(gpEnableClientStateiEXT, (C.GLenum)(array), (C.GLuint)(index)) -} -func EnableIndexedEXT(target uint32, index uint32) { - C.glowEnableIndexedEXT(gpEnableIndexedEXT, (C.GLenum)(target), (C.GLuint)(index)) -} -func EnableVariantClientStateEXT(id uint32) { - C.glowEnableVariantClientStateEXT(gpEnableVariantClientStateEXT, (C.GLuint)(id)) -} - -// Enable or disable a generic vertex attribute array -func EnableVertexArrayAttrib(vaobj uint32, index uint32) { - C.glowEnableVertexArrayAttrib(gpEnableVertexArrayAttrib, (C.GLuint)(vaobj), (C.GLuint)(index)) -} -func EnableVertexArrayAttribEXT(vaobj uint32, index uint32) { - C.glowEnableVertexArrayAttribEXT(gpEnableVertexArrayAttribEXT, (C.GLuint)(vaobj), (C.GLuint)(index)) -} -func EnableVertexArrayEXT(vaobj uint32, array uint32) { - C.glowEnableVertexArrayEXT(gpEnableVertexArrayEXT, (C.GLuint)(vaobj), (C.GLenum)(array)) -} -func EnableVertexAttribAPPLE(index uint32, pname uint32) { - C.glowEnableVertexAttribAPPLE(gpEnableVertexAttribAPPLE, (C.GLuint)(index), (C.GLenum)(pname)) -} - -// Enable or disable a generic vertex attribute array func EnableVertexAttribArray(index uint32) { C.glowEnableVertexAttribArray(gpEnableVertexAttribArray, (C.GLuint)(index)) } -func EnableVertexAttribArrayARB(index uint32) { - C.glowEnableVertexAttribArrayARB(gpEnableVertexAttribArrayARB, (C.GLuint)(index)) -} -func End() { - C.glowEnd(gpEnd) -} -func EndConditionalRenderNV() { - C.glowEndConditionalRenderNV(gpEndConditionalRenderNV) -} -func EndConditionalRenderNVX() { - C.glowEndConditionalRenderNVX(gpEndConditionalRenderNVX) -} -func EndFragmentShaderATI() { - C.glowEndFragmentShaderATI(gpEndFragmentShaderATI) -} -func EndList() { - C.glowEndList(gpEndList) -} -func EndOcclusionQueryNV() { - C.glowEndOcclusionQueryNV(gpEndOcclusionQueryNV) -} -func EndPerfMonitorAMD(monitor uint32) { - C.glowEndPerfMonitorAMD(gpEndPerfMonitorAMD, (C.GLuint)(monitor)) -} -func EndPerfQueryINTEL(queryHandle uint32) { - C.glowEndPerfQueryINTEL(gpEndPerfQueryINTEL, (C.GLuint)(queryHandle)) -} -func EndQuery(target uint32) { - C.glowEndQuery(gpEndQuery, (C.GLenum)(target)) -} -func EndQueryARB(target uint32) { - C.glowEndQueryARB(gpEndQueryARB, (C.GLenum)(target)) -} -func EndQueryIndexed(target uint32, index uint32) { - C.glowEndQueryIndexed(gpEndQueryIndexed, (C.GLenum)(target), (C.GLuint)(index)) -} -func EndTransformFeedbackEXT() { - C.glowEndTransformFeedbackEXT(gpEndTransformFeedbackEXT) -} -func EndTransformFeedbackNV() { - C.glowEndTransformFeedbackNV(gpEndTransformFeedbackNV) -} -func EndVertexShaderEXT() { - C.glowEndVertexShaderEXT(gpEndVertexShaderEXT) -} -func EndVideoCaptureNV(video_capture_slot uint32) { - C.glowEndVideoCaptureNV(gpEndVideoCaptureNV, (C.GLuint)(video_capture_slot)) -} -func EvalCoord1d(u float64) { - C.glowEvalCoord1d(gpEvalCoord1d, (C.GLdouble)(u)) -} -func EvalCoord1dv(u *float64) { - C.glowEvalCoord1dv(gpEvalCoord1dv, (*C.GLdouble)(unsafe.Pointer(u))) -} -func EvalCoord1f(u float32) { - C.glowEvalCoord1f(gpEvalCoord1f, (C.GLfloat)(u)) -} -func EvalCoord1fv(u *float32) { - C.glowEvalCoord1fv(gpEvalCoord1fv, (*C.GLfloat)(unsafe.Pointer(u))) -} -func EvalCoord1xOES(u int32) { - C.glowEvalCoord1xOES(gpEvalCoord1xOES, (C.GLfixed)(u)) -} -func EvalCoord1xvOES(coords *int32) { - C.glowEvalCoord1xvOES(gpEvalCoord1xvOES, (*C.GLfixed)(unsafe.Pointer(coords))) -} -func EvalCoord2d(u float64, v float64) { - C.glowEvalCoord2d(gpEvalCoord2d, (C.GLdouble)(u), (C.GLdouble)(v)) -} -func EvalCoord2dv(u *float64) { - C.glowEvalCoord2dv(gpEvalCoord2dv, (*C.GLdouble)(unsafe.Pointer(u))) -} -func EvalCoord2f(u float32, v float32) { - C.glowEvalCoord2f(gpEvalCoord2f, (C.GLfloat)(u), (C.GLfloat)(v)) -} -func EvalCoord2fv(u *float32) { - C.glowEvalCoord2fv(gpEvalCoord2fv, (*C.GLfloat)(unsafe.Pointer(u))) -} -func EvalCoord2xOES(u int32, v int32) { - C.glowEvalCoord2xOES(gpEvalCoord2xOES, (C.GLfixed)(u), (C.GLfixed)(v)) -} -func EvalCoord2xvOES(coords *int32) { - C.glowEvalCoord2xvOES(gpEvalCoord2xvOES, (*C.GLfixed)(unsafe.Pointer(coords))) -} -func EvalMapsNV(target uint32, mode uint32) { - C.glowEvalMapsNV(gpEvalMapsNV, (C.GLenum)(target), (C.GLenum)(mode)) -} -func EvalMesh1(mode uint32, i1 int32, i2 int32) { - C.glowEvalMesh1(gpEvalMesh1, (C.GLenum)(mode), (C.GLint)(i1), (C.GLint)(i2)) -} -func EvalMesh2(mode uint32, i1 int32, i2 int32, j1 int32, j2 int32) { - C.glowEvalMesh2(gpEvalMesh2, (C.GLenum)(mode), (C.GLint)(i1), (C.GLint)(i2), (C.GLint)(j1), (C.GLint)(j2)) -} -func EvalPoint1(i int32) { - C.glowEvalPoint1(gpEvalPoint1, (C.GLint)(i)) -} -func EvalPoint2(i int32, j int32) { - C.glowEvalPoint2(gpEvalPoint2, (C.GLint)(i), (C.GLint)(j)) -} -func EvaluateDepthValuesARB() { - C.glowEvaluateDepthValuesARB(gpEvaluateDepthValuesARB) -} -func ExecuteProgramNV(target uint32, id uint32, params *float32) { - C.glowExecuteProgramNV(gpExecuteProgramNV, (C.GLenum)(target), (C.GLuint)(id), (*C.GLfloat)(unsafe.Pointer(params))) -} -func ExtractComponentEXT(res uint32, src uint32, num uint32) { - C.glowExtractComponentEXT(gpExtractComponentEXT, (C.GLuint)(res), (C.GLuint)(src), (C.GLuint)(num)) -} -// controls feedback mode -func FeedbackBuffer(size int32, xtype uint32, buffer *float32) { - C.glowFeedbackBuffer(gpFeedbackBuffer, (C.GLsizei)(size), (C.GLenum)(xtype), (*C.GLfloat)(unsafe.Pointer(buffer))) -} -func FeedbackBufferxOES(n int32, xtype uint32, buffer *int32) { - C.glowFeedbackBufferxOES(gpFeedbackBufferxOES, (C.GLsizei)(n), (C.GLenum)(xtype), (*C.GLfixed)(unsafe.Pointer(buffer))) -} - -// create a new sync object and insert it into the GL command stream -func FenceSync(condition uint32, flags uint32) uintptr { - ret := C.glowFenceSync(gpFenceSync, (C.GLenum)(condition), (C.GLbitfield)(flags)) - return (uintptr)(ret) -} -func FinalCombinerInputNV(variable uint32, input uint32, mapping uint32, componentUsage uint32) { - C.glowFinalCombinerInputNV(gpFinalCombinerInputNV, (C.GLenum)(variable), (C.GLenum)(input), (C.GLenum)(mapping), (C.GLenum)(componentUsage)) -} - -// block until all GL execution is complete -func Finish() { - C.glowFinish(gpFinish) -} -func FinishAsyncSGIX(markerp *uint32) int32 { - ret := C.glowFinishAsyncSGIX(gpFinishAsyncSGIX, (*C.GLuint)(unsafe.Pointer(markerp))) - return (int32)(ret) -} -func FinishFenceAPPLE(fence uint32) { - C.glowFinishFenceAPPLE(gpFinishFenceAPPLE, (C.GLuint)(fence)) -} -func FinishFenceNV(fence uint32) { - C.glowFinishFenceNV(gpFinishFenceNV, (C.GLuint)(fence)) -} -func FinishObjectAPPLE(object uint32, name int32) { - C.glowFinishObjectAPPLE(gpFinishObjectAPPLE, (C.GLenum)(object), (C.GLint)(name)) -} -func FinishTextureSUNX() { - C.glowFinishTextureSUNX(gpFinishTextureSUNX) -} - -// force execution of GL commands in finite time func Flush() { C.glowFlush(gpFlush) } -// indicate modifications to a range of a mapped buffer -func FlushMappedBufferRange(target uint32, offset int, length int) { - C.glowFlushMappedBufferRange(gpFlushMappedBufferRange, (C.GLenum)(target), (C.GLintptr)(offset), (C.GLsizeiptr)(length)) -} -func FlushMappedBufferRangeAPPLE(target uint32, offset int, size int) { - C.glowFlushMappedBufferRangeAPPLE(gpFlushMappedBufferRangeAPPLE, (C.GLenum)(target), (C.GLintptr)(offset), (C.GLsizeiptr)(size)) -} - -// indicate modifications to a range of a mapped buffer -func FlushMappedNamedBufferRange(buffer uint32, offset int, length int) { - C.glowFlushMappedNamedBufferRange(gpFlushMappedNamedBufferRange, (C.GLuint)(buffer), (C.GLintptr)(offset), (C.GLsizeiptr)(length)) -} -func FlushMappedNamedBufferRangeEXT(buffer uint32, offset int, length int) { - C.glowFlushMappedNamedBufferRangeEXT(gpFlushMappedNamedBufferRangeEXT, (C.GLuint)(buffer), (C.GLintptr)(offset), (C.GLsizeiptr)(length)) -} -func FlushPixelDataRangeNV(target uint32) { - C.glowFlushPixelDataRangeNV(gpFlushPixelDataRangeNV, (C.GLenum)(target)) -} -func FlushRasterSGIX() { - C.glowFlushRasterSGIX(gpFlushRasterSGIX) -} -func FlushStaticDataIBM(target uint32) { - C.glowFlushStaticDataIBM(gpFlushStaticDataIBM, (C.GLenum)(target)) -} -func FlushVertexArrayRangeAPPLE(length int32, pointer unsafe.Pointer) { - C.glowFlushVertexArrayRangeAPPLE(gpFlushVertexArrayRangeAPPLE, (C.GLsizei)(length), pointer) -} -func FlushVertexArrayRangeNV() { - C.glowFlushVertexArrayRangeNV(gpFlushVertexArrayRangeNV) -} -func FogCoordFormatNV(xtype uint32, stride int32) { - C.glowFogCoordFormatNV(gpFogCoordFormatNV, (C.GLenum)(xtype), (C.GLsizei)(stride)) -} - -// define an array of fog coordinates -func FogCoordPointer(xtype uint32, stride int32, pointer unsafe.Pointer) { - C.glowFogCoordPointer(gpFogCoordPointer, (C.GLenum)(xtype), (C.GLsizei)(stride), pointer) -} -func FogCoordPointerEXT(xtype uint32, stride int32, pointer unsafe.Pointer) { - C.glowFogCoordPointerEXT(gpFogCoordPointerEXT, (C.GLenum)(xtype), (C.GLsizei)(stride), pointer) -} -func FogCoordPointerListIBM(xtype uint32, stride int32, pointer *unsafe.Pointer, ptrstride int32) { - C.glowFogCoordPointerListIBM(gpFogCoordPointerListIBM, (C.GLenum)(xtype), (C.GLint)(stride), pointer, (C.GLint)(ptrstride)) -} -func FogCoordd(coord float64) { - C.glowFogCoordd(gpFogCoordd, (C.GLdouble)(coord)) -} -func FogCoorddEXT(coord float64) { - C.glowFogCoorddEXT(gpFogCoorddEXT, (C.GLdouble)(coord)) -} -func FogCoorddv(coord *float64) { - C.glowFogCoorddv(gpFogCoorddv, (*C.GLdouble)(unsafe.Pointer(coord))) -} -func FogCoorddvEXT(coord *float64) { - C.glowFogCoorddvEXT(gpFogCoorddvEXT, (*C.GLdouble)(unsafe.Pointer(coord))) -} -func FogCoordf(coord float32) { - C.glowFogCoordf(gpFogCoordf, (C.GLfloat)(coord)) -} -func FogCoordfEXT(coord float32) { - C.glowFogCoordfEXT(gpFogCoordfEXT, (C.GLfloat)(coord)) -} -func FogCoordfv(coord *float32) { - C.glowFogCoordfv(gpFogCoordfv, (*C.GLfloat)(unsafe.Pointer(coord))) -} -func FogCoordfvEXT(coord *float32) { - C.glowFogCoordfvEXT(gpFogCoordfvEXT, (*C.GLfloat)(unsafe.Pointer(coord))) -} -func FogCoordhNV(fog uint16) { - C.glowFogCoordhNV(gpFogCoordhNV, (C.GLhalfNV)(fog)) -} -func FogCoordhvNV(fog *uint16) { - C.glowFogCoordhvNV(gpFogCoordhvNV, (*C.GLhalfNV)(unsafe.Pointer(fog))) -} -func FogFuncSGIS(n int32, points *float32) { - C.glowFogFuncSGIS(gpFogFuncSGIS, (C.GLsizei)(n), (*C.GLfloat)(unsafe.Pointer(points))) -} -func Fogf(pname uint32, param float32) { - C.glowFogf(gpFogf, (C.GLenum)(pname), (C.GLfloat)(param)) -} -func Fogfv(pname uint32, params *float32) { - C.glowFogfv(gpFogfv, (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func Fogi(pname uint32, param int32) { - C.glowFogi(gpFogi, (C.GLenum)(pname), (C.GLint)(param)) -} -func Fogiv(pname uint32, params *int32) { - C.glowFogiv(gpFogiv, (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func FogxOES(pname uint32, param int32) { - C.glowFogxOES(gpFogxOES, (C.GLenum)(pname), (C.GLfixed)(param)) -} -func FogxvOES(pname uint32, param *int32) { - C.glowFogxvOES(gpFogxvOES, (C.GLenum)(pname), (*C.GLfixed)(unsafe.Pointer(param))) -} -func FragmentColorMaterialSGIX(face uint32, mode uint32) { - C.glowFragmentColorMaterialSGIX(gpFragmentColorMaterialSGIX, (C.GLenum)(face), (C.GLenum)(mode)) -} -func FragmentCoverageColorNV(color uint32) { - C.glowFragmentCoverageColorNV(gpFragmentCoverageColorNV, (C.GLuint)(color)) -} -func FragmentLightModelfSGIX(pname uint32, param float32) { - C.glowFragmentLightModelfSGIX(gpFragmentLightModelfSGIX, (C.GLenum)(pname), (C.GLfloat)(param)) -} -func FragmentLightModelfvSGIX(pname uint32, params *float32) { - C.glowFragmentLightModelfvSGIX(gpFragmentLightModelfvSGIX, (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func FragmentLightModeliSGIX(pname uint32, param int32) { - C.glowFragmentLightModeliSGIX(gpFragmentLightModeliSGIX, (C.GLenum)(pname), (C.GLint)(param)) -} -func FragmentLightModelivSGIX(pname uint32, params *int32) { - C.glowFragmentLightModelivSGIX(gpFragmentLightModelivSGIX, (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func FragmentLightfSGIX(light uint32, pname uint32, param float32) { - C.glowFragmentLightfSGIX(gpFragmentLightfSGIX, (C.GLenum)(light), (C.GLenum)(pname), (C.GLfloat)(param)) -} -func FragmentLightfvSGIX(light uint32, pname uint32, params *float32) { - C.glowFragmentLightfvSGIX(gpFragmentLightfvSGIX, (C.GLenum)(light), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func FragmentLightiSGIX(light uint32, pname uint32, param int32) { - C.glowFragmentLightiSGIX(gpFragmentLightiSGIX, (C.GLenum)(light), (C.GLenum)(pname), (C.GLint)(param)) -} -func FragmentLightivSGIX(light uint32, pname uint32, params *int32) { - C.glowFragmentLightivSGIX(gpFragmentLightivSGIX, (C.GLenum)(light), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func FragmentMaterialfSGIX(face uint32, pname uint32, param float32) { - C.glowFragmentMaterialfSGIX(gpFragmentMaterialfSGIX, (C.GLenum)(face), (C.GLenum)(pname), (C.GLfloat)(param)) -} -func FragmentMaterialfvSGIX(face uint32, pname uint32, params *float32) { - C.glowFragmentMaterialfvSGIX(gpFragmentMaterialfvSGIX, (C.GLenum)(face), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func FragmentMaterialiSGIX(face uint32, pname uint32, param int32) { - C.glowFragmentMaterialiSGIX(gpFragmentMaterialiSGIX, (C.GLenum)(face), (C.GLenum)(pname), (C.GLint)(param)) -} -func FragmentMaterialivSGIX(face uint32, pname uint32, params *int32) { - C.glowFragmentMaterialivSGIX(gpFragmentMaterialivSGIX, (C.GLenum)(face), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func FrameTerminatorGREMEDY() { - C.glowFrameTerminatorGREMEDY(gpFrameTerminatorGREMEDY) -} -func FrameZoomSGIX(factor int32) { - C.glowFrameZoomSGIX(gpFrameZoomSGIX, (C.GLint)(factor)) -} -func FramebufferDrawBufferEXT(framebuffer uint32, mode uint32) { - C.glowFramebufferDrawBufferEXT(gpFramebufferDrawBufferEXT, (C.GLuint)(framebuffer), (C.GLenum)(mode)) -} -func FramebufferDrawBuffersEXT(framebuffer uint32, n int32, bufs *uint32) { - C.glowFramebufferDrawBuffersEXT(gpFramebufferDrawBuffersEXT, (C.GLuint)(framebuffer), (C.GLsizei)(n), (*C.GLenum)(unsafe.Pointer(bufs))) -} -func FramebufferFetchBarrierEXT() { - C.glowFramebufferFetchBarrierEXT(gpFramebufferFetchBarrierEXT) -} - -// set a named parameter of a framebuffer object -func FramebufferParameteri(target uint32, pname uint32, param int32) { - C.glowFramebufferParameteri(gpFramebufferParameteri, (C.GLenum)(target), (C.GLenum)(pname), (C.GLint)(param)) -} -func FramebufferReadBufferEXT(framebuffer uint32, mode uint32) { - C.glowFramebufferReadBufferEXT(gpFramebufferReadBufferEXT, (C.GLuint)(framebuffer), (C.GLenum)(mode)) -} - -// attach a renderbuffer as a logical buffer of a framebuffer object -func FramebufferRenderbuffer(target uint32, attachment uint32, renderbuffertarget uint32, renderbuffer uint32) { - C.glowFramebufferRenderbuffer(gpFramebufferRenderbuffer, (C.GLenum)(target), (C.GLenum)(attachment), (C.GLenum)(renderbuffertarget), (C.GLuint)(renderbuffer)) -} -func FramebufferRenderbufferEXT(target uint32, attachment uint32, renderbuffertarget uint32, renderbuffer uint32) { - C.glowFramebufferRenderbufferEXT(gpFramebufferRenderbufferEXT, (C.GLenum)(target), (C.GLenum)(attachment), (C.GLenum)(renderbuffertarget), (C.GLuint)(renderbuffer)) -} -func FramebufferSampleLocationsfvARB(target uint32, start uint32, count int32, v *float32) { - C.glowFramebufferSampleLocationsfvARB(gpFramebufferSampleLocationsfvARB, (C.GLenum)(target), (C.GLuint)(start), (C.GLsizei)(count), (*C.GLfloat)(unsafe.Pointer(v))) -} -func FramebufferSampleLocationsfvNV(target uint32, start uint32, count int32, v *float32) { - C.glowFramebufferSampleLocationsfvNV(gpFramebufferSampleLocationsfvNV, (C.GLenum)(target), (C.GLuint)(start), (C.GLsizei)(count), (*C.GLfloat)(unsafe.Pointer(v))) -} -func FramebufferSamplePositionsfvAMD(target uint32, numsamples uint32, pixelindex uint32, values *float32) { - C.glowFramebufferSamplePositionsfvAMD(gpFramebufferSamplePositionsfvAMD, (C.GLenum)(target), (C.GLuint)(numsamples), (C.GLuint)(pixelindex), (*C.GLfloat)(unsafe.Pointer(values))) -} -func FramebufferTexture1D(target uint32, attachment uint32, textarget uint32, texture uint32, level int32) { - C.glowFramebufferTexture1D(gpFramebufferTexture1D, (C.GLenum)(target), (C.GLenum)(attachment), (C.GLenum)(textarget), (C.GLuint)(texture), (C.GLint)(level)) -} -func FramebufferTexture1DEXT(target uint32, attachment uint32, textarget uint32, texture uint32, level int32) { - C.glowFramebufferTexture1DEXT(gpFramebufferTexture1DEXT, (C.GLenum)(target), (C.GLenum)(attachment), (C.GLenum)(textarget), (C.GLuint)(texture), (C.GLint)(level)) -} - -// attach a level of a texture object as a logical buffer to the currently bound framebuffer object -func FramebufferTexture2D(target uint32, attachment uint32, textarget uint32, texture uint32, level int32) { - C.glowFramebufferTexture2D(gpFramebufferTexture2D, (C.GLenum)(target), (C.GLenum)(attachment), (C.GLenum)(textarget), (C.GLuint)(texture), (C.GLint)(level)) -} func FramebufferTexture2DEXT(target uint32, attachment uint32, textarget uint32, texture uint32, level int32) { C.glowFramebufferTexture2DEXT(gpFramebufferTexture2DEXT, (C.GLenum)(target), (C.GLenum)(attachment), (C.GLenum)(textarget), (C.GLuint)(texture), (C.GLint)(level)) } -func FramebufferTexture3D(target uint32, attachment uint32, textarget uint32, texture uint32, level int32, zoffset int32) { - C.glowFramebufferTexture3D(gpFramebufferTexture3D, (C.GLenum)(target), (C.GLenum)(attachment), (C.GLenum)(textarget), (C.GLuint)(texture), (C.GLint)(level), (C.GLint)(zoffset)) -} -func FramebufferTexture3DEXT(target uint32, attachment uint32, textarget uint32, texture uint32, level int32, zoffset int32) { - C.glowFramebufferTexture3DEXT(gpFramebufferTexture3DEXT, (C.GLenum)(target), (C.GLenum)(attachment), (C.GLenum)(textarget), (C.GLuint)(texture), (C.GLint)(level), (C.GLint)(zoffset)) -} -func FramebufferTextureARB(target uint32, attachment uint32, texture uint32, level int32) { - C.glowFramebufferTextureARB(gpFramebufferTextureARB, (C.GLenum)(target), (C.GLenum)(attachment), (C.GLuint)(texture), (C.GLint)(level)) -} -func FramebufferTextureEXT(target uint32, attachment uint32, texture uint32, level int32) { - C.glowFramebufferTextureEXT(gpFramebufferTextureEXT, (C.GLenum)(target), (C.GLenum)(attachment), (C.GLuint)(texture), (C.GLint)(level)) -} -func FramebufferTextureFaceARB(target uint32, attachment uint32, texture uint32, level int32, face uint32) { - C.glowFramebufferTextureFaceARB(gpFramebufferTextureFaceARB, (C.GLenum)(target), (C.GLenum)(attachment), (C.GLuint)(texture), (C.GLint)(level), (C.GLenum)(face)) -} -func FramebufferTextureFaceEXT(target uint32, attachment uint32, texture uint32, level int32, face uint32) { - C.glowFramebufferTextureFaceEXT(gpFramebufferTextureFaceEXT, (C.GLenum)(target), (C.GLenum)(attachment), (C.GLuint)(texture), (C.GLint)(level), (C.GLenum)(face)) -} -// attach a single layer of a texture object as a logical buffer of a framebuffer object -func FramebufferTextureLayer(target uint32, attachment uint32, texture uint32, level int32, layer int32) { - C.glowFramebufferTextureLayer(gpFramebufferTextureLayer, (C.GLenum)(target), (C.GLenum)(attachment), (C.GLuint)(texture), (C.GLint)(level), (C.GLint)(layer)) -} -func FramebufferTextureLayerARB(target uint32, attachment uint32, texture uint32, level int32, layer int32) { - C.glowFramebufferTextureLayerARB(gpFramebufferTextureLayerARB, (C.GLenum)(target), (C.GLenum)(attachment), (C.GLuint)(texture), (C.GLint)(level), (C.GLint)(layer)) -} -func FramebufferTextureLayerEXT(target uint32, attachment uint32, texture uint32, level int32, layer int32) { - C.glowFramebufferTextureLayerEXT(gpFramebufferTextureLayerEXT, (C.GLenum)(target), (C.GLenum)(attachment), (C.GLuint)(texture), (C.GLint)(level), (C.GLint)(layer)) -} -func FramebufferTextureMultiviewOVR(target uint32, attachment uint32, texture uint32, level int32, baseViewIndex int32, numViews int32) { - C.glowFramebufferTextureMultiviewOVR(gpFramebufferTextureMultiviewOVR, (C.GLenum)(target), (C.GLenum)(attachment), (C.GLuint)(texture), (C.GLint)(level), (C.GLint)(baseViewIndex), (C.GLsizei)(numViews)) -} -func FreeObjectBufferATI(buffer uint32) { - C.glowFreeObjectBufferATI(gpFreeObjectBufferATI, (C.GLuint)(buffer)) -} - -// define front- and back-facing polygons -func FrontFace(mode uint32) { - C.glowFrontFace(gpFrontFace, (C.GLenum)(mode)) -} - -// multiply the current matrix by a perspective matrix -func Frustum(left float64, right float64, bottom float64, top float64, zNear float64, zFar float64) { - C.glowFrustum(gpFrustum, (C.GLdouble)(left), (C.GLdouble)(right), (C.GLdouble)(bottom), (C.GLdouble)(top), (C.GLdouble)(zNear), (C.GLdouble)(zFar)) -} -func FrustumfOES(l float32, r float32, b float32, t float32, n float32, f float32) { - C.glowFrustumfOES(gpFrustumfOES, (C.GLfloat)(l), (C.GLfloat)(r), (C.GLfloat)(b), (C.GLfloat)(t), (C.GLfloat)(n), (C.GLfloat)(f)) -} -func FrustumxOES(l int32, r int32, b int32, t int32, n int32, f int32) { - C.glowFrustumxOES(gpFrustumxOES, (C.GLfixed)(l), (C.GLfixed)(r), (C.GLfixed)(b), (C.GLfixed)(t), (C.GLfixed)(n), (C.GLfixed)(f)) -} -func GenAsyncMarkersSGIX(xrange int32) uint32 { - ret := C.glowGenAsyncMarkersSGIX(gpGenAsyncMarkersSGIX, (C.GLsizei)(xrange)) - return (uint32)(ret) -} - -// generate buffer object names func GenBuffers(n int32, buffers *uint32) { C.glowGenBuffers(gpGenBuffers, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(buffers))) } -func GenBuffersARB(n int32, buffers *uint32) { - C.glowGenBuffersARB(gpGenBuffersARB, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(buffers))) -} -func GenFencesAPPLE(n int32, fences *uint32) { - C.glowGenFencesAPPLE(gpGenFencesAPPLE, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(fences))) -} -func GenFencesNV(n int32, fences *uint32) { - C.glowGenFencesNV(gpGenFencesNV, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(fences))) -} -func GenFragmentShadersATI(xrange uint32) uint32 { - ret := C.glowGenFragmentShadersATI(gpGenFragmentShadersATI, (C.GLuint)(xrange)) - return (uint32)(ret) -} -// generate framebuffer object names -func GenFramebuffers(n int32, framebuffers *uint32) { - C.glowGenFramebuffers(gpGenFramebuffers, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(framebuffers))) -} func GenFramebuffersEXT(n int32, framebuffers *uint32) { C.glowGenFramebuffersEXT(gpGenFramebuffersEXT, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(framebuffers))) } -// generate a contiguous set of empty display lists -func GenLists(xrange int32) uint32 { - ret := C.glowGenLists(gpGenLists, (C.GLsizei)(xrange)) - return (uint32)(ret) -} -func GenNamesAMD(identifier uint32, num uint32, names *uint32) { - C.glowGenNamesAMD(gpGenNamesAMD, (C.GLenum)(identifier), (C.GLuint)(num), (*C.GLuint)(unsafe.Pointer(names))) -} -func GenOcclusionQueriesNV(n int32, ids *uint32) { - C.glowGenOcclusionQueriesNV(gpGenOcclusionQueriesNV, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(ids))) -} -func GenPathsNV(xrange int32) uint32 { - ret := C.glowGenPathsNV(gpGenPathsNV, (C.GLsizei)(xrange)) - return (uint32)(ret) -} -func GenPerfMonitorsAMD(n int32, monitors *uint32) { - C.glowGenPerfMonitorsAMD(gpGenPerfMonitorsAMD, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(monitors))) -} - -// reserve program pipeline object names -func GenProgramPipelines(n int32, pipelines *uint32) { - C.glowGenProgramPipelines(gpGenProgramPipelines, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(pipelines))) -} -func GenProgramPipelinesEXT(n int32, pipelines *uint32) { - C.glowGenProgramPipelinesEXT(gpGenProgramPipelinesEXT, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(pipelines))) -} -func GenProgramsARB(n int32, programs *uint32) { - C.glowGenProgramsARB(gpGenProgramsARB, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(programs))) -} -func GenProgramsNV(n int32, programs *uint32) { - C.glowGenProgramsNV(gpGenProgramsNV, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(programs))) -} - -// generate query object names -func GenQueries(n int32, ids *uint32) { - C.glowGenQueries(gpGenQueries, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(ids))) -} -func GenQueriesARB(n int32, ids *uint32) { - C.glowGenQueriesARB(gpGenQueriesARB, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(ids))) -} -func GenQueryResourceTagNV(n int32, tagIds *int32) { - C.glowGenQueryResourceTagNV(gpGenQueryResourceTagNV, (C.GLsizei)(n), (*C.GLint)(unsafe.Pointer(tagIds))) -} - -// generate renderbuffer object names -func GenRenderbuffers(n int32, renderbuffers *uint32) { - C.glowGenRenderbuffers(gpGenRenderbuffers, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(renderbuffers))) -} -func GenRenderbuffersEXT(n int32, renderbuffers *uint32) { - C.glowGenRenderbuffersEXT(gpGenRenderbuffersEXT, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(renderbuffers))) -} - -// generate sampler object names -func GenSamplers(count int32, samplers *uint32) { - C.glowGenSamplers(gpGenSamplers, (C.GLsizei)(count), (*C.GLuint)(unsafe.Pointer(samplers))) -} -func GenSemaphoresEXT(n int32, semaphores *uint32) { - C.glowGenSemaphoresEXT(gpGenSemaphoresEXT, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(semaphores))) -} -func GenSymbolsEXT(datatype uint32, storagetype uint32, xrange uint32, components uint32) uint32 { - ret := C.glowGenSymbolsEXT(gpGenSymbolsEXT, (C.GLenum)(datatype), (C.GLenum)(storagetype), (C.GLenum)(xrange), (C.GLuint)(components)) - return (uint32)(ret) -} - -// generate texture names func GenTextures(n int32, textures *uint32) { C.glowGenTextures(gpGenTextures, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(textures))) } -func GenTexturesEXT(n int32, textures *uint32) { - C.glowGenTexturesEXT(gpGenTexturesEXT, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(textures))) -} -// reserve transform feedback object names -func GenTransformFeedbacks(n int32, ids *uint32) { - C.glowGenTransformFeedbacks(gpGenTransformFeedbacks, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(ids))) -} -func GenTransformFeedbacksNV(n int32, ids *uint32) { - C.glowGenTransformFeedbacksNV(gpGenTransformFeedbacksNV, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(ids))) -} - -// generate vertex array object names -func GenVertexArrays(n int32, arrays *uint32) { - C.glowGenVertexArrays(gpGenVertexArrays, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(arrays))) -} -func GenVertexArraysAPPLE(n int32, arrays *uint32) { - C.glowGenVertexArraysAPPLE(gpGenVertexArraysAPPLE, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(arrays))) -} -func GenVertexShadersEXT(xrange uint32) uint32 { - ret := C.glowGenVertexShadersEXT(gpGenVertexShadersEXT, (C.GLuint)(xrange)) - return (uint32)(ret) -} - -// generate mipmaps for a specified texture object -func GenerateMipmap(target uint32) { - C.glowGenerateMipmap(gpGenerateMipmap, (C.GLenum)(target)) -} -func GenerateMipmapEXT(target uint32) { - C.glowGenerateMipmapEXT(gpGenerateMipmapEXT, (C.GLenum)(target)) -} -func GenerateMultiTexMipmapEXT(texunit uint32, target uint32) { - C.glowGenerateMultiTexMipmapEXT(gpGenerateMultiTexMipmapEXT, (C.GLenum)(texunit), (C.GLenum)(target)) -} - -// generate mipmaps for a specified texture object -func GenerateTextureMipmap(texture uint32) { - C.glowGenerateTextureMipmap(gpGenerateTextureMipmap, (C.GLuint)(texture)) -} -func GenerateTextureMipmapEXT(texture uint32, target uint32) { - C.glowGenerateTextureMipmapEXT(gpGenerateTextureMipmapEXT, (C.GLuint)(texture), (C.GLenum)(target)) -} - -// retrieve information about the set of active atomic counter buffers for a program -func GetActiveAtomicCounterBufferiv(program uint32, bufferIndex uint32, pname uint32, params *int32) { - C.glowGetActiveAtomicCounterBufferiv(gpGetActiveAtomicCounterBufferiv, (C.GLuint)(program), (C.GLuint)(bufferIndex), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} - -// Returns information about an active attribute variable for the specified program object -func GetActiveAttrib(program uint32, index uint32, bufSize int32, length *int32, size *int32, xtype *uint32, name *uint8) { - C.glowGetActiveAttrib(gpGetActiveAttrib, (C.GLuint)(program), (C.GLuint)(index), (C.GLsizei)(bufSize), (*C.GLsizei)(unsafe.Pointer(length)), (*C.GLint)(unsafe.Pointer(size)), (*C.GLenum)(unsafe.Pointer(xtype)), (*C.GLchar)(unsafe.Pointer(name))) -} -func GetActiveAttribARB(programObj uintptr, index uint32, maxLength int32, length *int32, size *int32, xtype *uint32, name *uint8) { - C.glowGetActiveAttribARB(gpGetActiveAttribARB, (C.GLhandleARB)(programObj), (C.GLuint)(index), (C.GLsizei)(maxLength), (*C.GLsizei)(unsafe.Pointer(length)), (*C.GLint)(unsafe.Pointer(size)), (*C.GLenum)(unsafe.Pointer(xtype)), (*C.GLcharARB)(unsafe.Pointer(name))) -} - -// query the name of an active shader subroutine -func GetActiveSubroutineName(program uint32, shadertype uint32, index uint32, bufsize int32, length *int32, name *uint8) { - C.glowGetActiveSubroutineName(gpGetActiveSubroutineName, (C.GLuint)(program), (C.GLenum)(shadertype), (C.GLuint)(index), (C.GLsizei)(bufsize), (*C.GLsizei)(unsafe.Pointer(length)), (*C.GLchar)(unsafe.Pointer(name))) -} - -// query the name of an active shader subroutine uniform -func GetActiveSubroutineUniformName(program uint32, shadertype uint32, index uint32, bufsize int32, length *int32, name *uint8) { - C.glowGetActiveSubroutineUniformName(gpGetActiveSubroutineUniformName, (C.GLuint)(program), (C.GLenum)(shadertype), (C.GLuint)(index), (C.GLsizei)(bufsize), (*C.GLsizei)(unsafe.Pointer(length)), (*C.GLchar)(unsafe.Pointer(name))) -} -func GetActiveSubroutineUniformiv(program uint32, shadertype uint32, index uint32, pname uint32, values *int32) { - C.glowGetActiveSubroutineUniformiv(gpGetActiveSubroutineUniformiv, (C.GLuint)(program), (C.GLenum)(shadertype), (C.GLuint)(index), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(values))) -} - -// Returns information about an active uniform variable for the specified program object -func GetActiveUniform(program uint32, index uint32, bufSize int32, length *int32, size *int32, xtype *uint32, name *uint8) { - C.glowGetActiveUniform(gpGetActiveUniform, (C.GLuint)(program), (C.GLuint)(index), (C.GLsizei)(bufSize), (*C.GLsizei)(unsafe.Pointer(length)), (*C.GLint)(unsafe.Pointer(size)), (*C.GLenum)(unsafe.Pointer(xtype)), (*C.GLchar)(unsafe.Pointer(name))) -} -func GetActiveUniformARB(programObj uintptr, index uint32, maxLength int32, length *int32, size *int32, xtype *uint32, name *uint8) { - C.glowGetActiveUniformARB(gpGetActiveUniformARB, (C.GLhandleARB)(programObj), (C.GLuint)(index), (C.GLsizei)(maxLength), (*C.GLsizei)(unsafe.Pointer(length)), (*C.GLint)(unsafe.Pointer(size)), (*C.GLenum)(unsafe.Pointer(xtype)), (*C.GLcharARB)(unsafe.Pointer(name))) -} - -// retrieve the name of an active uniform block -func GetActiveUniformBlockName(program uint32, uniformBlockIndex uint32, bufSize int32, length *int32, uniformBlockName *uint8) { - C.glowGetActiveUniformBlockName(gpGetActiveUniformBlockName, (C.GLuint)(program), (C.GLuint)(uniformBlockIndex), (C.GLsizei)(bufSize), (*C.GLsizei)(unsafe.Pointer(length)), (*C.GLchar)(unsafe.Pointer(uniformBlockName))) -} - -// query information about an active uniform block -func GetActiveUniformBlockiv(program uint32, uniformBlockIndex uint32, pname uint32, params *int32) { - C.glowGetActiveUniformBlockiv(gpGetActiveUniformBlockiv, (C.GLuint)(program), (C.GLuint)(uniformBlockIndex), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} - -// query the name of an active uniform -func GetActiveUniformName(program uint32, uniformIndex uint32, bufSize int32, length *int32, uniformName *uint8) { - C.glowGetActiveUniformName(gpGetActiveUniformName, (C.GLuint)(program), (C.GLuint)(uniformIndex), (C.GLsizei)(bufSize), (*C.GLsizei)(unsafe.Pointer(length)), (*C.GLchar)(unsafe.Pointer(uniformName))) -} - -// Returns information about several active uniform variables for the specified program object -func GetActiveUniformsiv(program uint32, uniformCount int32, uniformIndices *uint32, pname uint32, params *int32) { - C.glowGetActiveUniformsiv(gpGetActiveUniformsiv, (C.GLuint)(program), (C.GLsizei)(uniformCount), (*C.GLuint)(unsafe.Pointer(uniformIndices)), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetActiveVaryingNV(program uint32, index uint32, bufSize int32, length *int32, size *int32, xtype *uint32, name *uint8) { - C.glowGetActiveVaryingNV(gpGetActiveVaryingNV, (C.GLuint)(program), (C.GLuint)(index), (C.GLsizei)(bufSize), (*C.GLsizei)(unsafe.Pointer(length)), (*C.GLsizei)(unsafe.Pointer(size)), (*C.GLenum)(unsafe.Pointer(xtype)), (*C.GLchar)(unsafe.Pointer(name))) -} -func GetArrayObjectfvATI(array uint32, pname uint32, params *float32) { - C.glowGetArrayObjectfvATI(gpGetArrayObjectfvATI, (C.GLenum)(array), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func GetArrayObjectivATI(array uint32, pname uint32, params *int32) { - C.glowGetArrayObjectivATI(gpGetArrayObjectivATI, (C.GLenum)(array), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetAttachedObjectsARB(containerObj uintptr, maxCount int32, count *int32, obj *uintptr) { - C.glowGetAttachedObjectsARB(gpGetAttachedObjectsARB, (C.GLhandleARB)(containerObj), (C.GLsizei)(maxCount), (*C.GLsizei)(unsafe.Pointer(count)), (*C.GLhandleARB)(unsafe.Pointer(obj))) -} - -// Returns the handles of the shader objects attached to a program object -func GetAttachedShaders(program uint32, maxCount int32, count *int32, shaders *uint32) { - C.glowGetAttachedShaders(gpGetAttachedShaders, (C.GLuint)(program), (C.GLsizei)(maxCount), (*C.GLsizei)(unsafe.Pointer(count)), (*C.GLuint)(unsafe.Pointer(shaders))) -} - -// Returns the location of an attribute variable -func GetAttribLocation(program uint32, name *uint8) int32 { - ret := C.glowGetAttribLocation(gpGetAttribLocation, (C.GLuint)(program), (*C.GLchar)(unsafe.Pointer(name))) - return (int32)(ret) -} -func GetAttribLocationARB(programObj uintptr, name *uint8) int32 { - ret := C.glowGetAttribLocationARB(gpGetAttribLocationARB, (C.GLhandleARB)(programObj), (*C.GLcharARB)(unsafe.Pointer(name))) - return (int32)(ret) -} -func GetBooleanIndexedvEXT(target uint32, index uint32, data *bool) { - C.glowGetBooleanIndexedvEXT(gpGetBooleanIndexedvEXT, (C.GLenum)(target), (C.GLuint)(index), (*C.GLboolean)(unsafe.Pointer(data))) -} -func GetBooleanv(pname uint32, data *bool) { - C.glowGetBooleanv(gpGetBooleanv, (C.GLenum)(pname), (*C.GLboolean)(unsafe.Pointer(data))) -} - -// return parameters of a buffer object -func GetBufferParameteriv(target uint32, pname uint32, params *int32) { - C.glowGetBufferParameteriv(gpGetBufferParameteriv, (C.GLenum)(target), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetBufferParameterivARB(target uint32, pname uint32, params *int32) { - C.glowGetBufferParameterivARB(gpGetBufferParameterivARB, (C.GLenum)(target), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetBufferParameterui64vNV(target uint32, pname uint32, params *uint64) { - C.glowGetBufferParameterui64vNV(gpGetBufferParameterui64vNV, (C.GLenum)(target), (C.GLenum)(pname), (*C.GLuint64EXT)(unsafe.Pointer(params))) -} - -// return the pointer to a mapped buffer object's data store -func GetBufferPointerv(target uint32, pname uint32, params *unsafe.Pointer) { - C.glowGetBufferPointerv(gpGetBufferPointerv, (C.GLenum)(target), (C.GLenum)(pname), params) -} -func GetBufferPointervARB(target uint32, pname uint32, params *unsafe.Pointer) { - C.glowGetBufferPointervARB(gpGetBufferPointervARB, (C.GLenum)(target), (C.GLenum)(pname), params) -} - -// returns a subset of a buffer object's data store -func GetBufferSubData(target uint32, offset int, size int, data unsafe.Pointer) { - C.glowGetBufferSubData(gpGetBufferSubData, (C.GLenum)(target), (C.GLintptr)(offset), (C.GLsizeiptr)(size), data) -} -func GetBufferSubDataARB(target uint32, offset int, size int, data unsafe.Pointer) { - C.glowGetBufferSubDataARB(gpGetBufferSubDataARB, (C.GLenum)(target), (C.GLintptrARB)(offset), (C.GLsizeiptrARB)(size), data) -} - -// return the coefficients of the specified clipping plane -func GetClipPlane(plane uint32, equation *float64) { - C.glowGetClipPlane(gpGetClipPlane, (C.GLenum)(plane), (*C.GLdouble)(unsafe.Pointer(equation))) -} -func GetClipPlanefOES(plane uint32, equation *float32) { - C.glowGetClipPlanefOES(gpGetClipPlanefOES, (C.GLenum)(plane), (*C.GLfloat)(unsafe.Pointer(equation))) -} -func GetClipPlanexOES(plane uint32, equation *int32) { - C.glowGetClipPlanexOES(gpGetClipPlanexOES, (C.GLenum)(plane), (*C.GLfixed)(unsafe.Pointer(equation))) -} -func GetColorTableEXT(target uint32, format uint32, xtype uint32, data unsafe.Pointer) { - C.glowGetColorTableEXT(gpGetColorTableEXT, (C.GLenum)(target), (C.GLenum)(format), (C.GLenum)(xtype), data) -} -func GetColorTableParameterfvEXT(target uint32, pname uint32, params *float32) { - C.glowGetColorTableParameterfvEXT(gpGetColorTableParameterfvEXT, (C.GLenum)(target), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func GetColorTableParameterfvSGI(target uint32, pname uint32, params *float32) { - C.glowGetColorTableParameterfvSGI(gpGetColorTableParameterfvSGI, (C.GLenum)(target), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func GetColorTableParameterivEXT(target uint32, pname uint32, params *int32) { - C.glowGetColorTableParameterivEXT(gpGetColorTableParameterivEXT, (C.GLenum)(target), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetColorTableParameterivSGI(target uint32, pname uint32, params *int32) { - C.glowGetColorTableParameterivSGI(gpGetColorTableParameterivSGI, (C.GLenum)(target), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetColorTableSGI(target uint32, format uint32, xtype uint32, table unsafe.Pointer) { - C.glowGetColorTableSGI(gpGetColorTableSGI, (C.GLenum)(target), (C.GLenum)(format), (C.GLenum)(xtype), table) -} -func GetCombinerInputParameterfvNV(stage uint32, portion uint32, variable uint32, pname uint32, params *float32) { - C.glowGetCombinerInputParameterfvNV(gpGetCombinerInputParameterfvNV, (C.GLenum)(stage), (C.GLenum)(portion), (C.GLenum)(variable), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func GetCombinerInputParameterivNV(stage uint32, portion uint32, variable uint32, pname uint32, params *int32) { - C.glowGetCombinerInputParameterivNV(gpGetCombinerInputParameterivNV, (C.GLenum)(stage), (C.GLenum)(portion), (C.GLenum)(variable), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetCombinerOutputParameterfvNV(stage uint32, portion uint32, pname uint32, params *float32) { - C.glowGetCombinerOutputParameterfvNV(gpGetCombinerOutputParameterfvNV, (C.GLenum)(stage), (C.GLenum)(portion), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func GetCombinerOutputParameterivNV(stage uint32, portion uint32, pname uint32, params *int32) { - C.glowGetCombinerOutputParameterivNV(gpGetCombinerOutputParameterivNV, (C.GLenum)(stage), (C.GLenum)(portion), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetCombinerStageParameterfvNV(stage uint32, pname uint32, params *float32) { - C.glowGetCombinerStageParameterfvNV(gpGetCombinerStageParameterfvNV, (C.GLenum)(stage), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func GetCommandHeaderNV(tokenID uint32, size uint32) uint32 { - ret := C.glowGetCommandHeaderNV(gpGetCommandHeaderNV, (C.GLenum)(tokenID), (C.GLuint)(size)) - return (uint32)(ret) -} -func GetCompressedMultiTexImageEXT(texunit uint32, target uint32, lod int32, img unsafe.Pointer) { - C.glowGetCompressedMultiTexImageEXT(gpGetCompressedMultiTexImageEXT, (C.GLenum)(texunit), (C.GLenum)(target), (C.GLint)(lod), img) -} - -// return a compressed texture image -func GetCompressedTexImage(target uint32, level int32, img unsafe.Pointer) { - C.glowGetCompressedTexImage(gpGetCompressedTexImage, (C.GLenum)(target), (C.GLint)(level), img) -} -func GetCompressedTexImageARB(target uint32, level int32, img unsafe.Pointer) { - C.glowGetCompressedTexImageARB(gpGetCompressedTexImageARB, (C.GLenum)(target), (C.GLint)(level), img) -} - -// return a compressed texture image -func GetCompressedTextureImage(texture uint32, level int32, bufSize int32, pixels unsafe.Pointer) { - C.glowGetCompressedTextureImage(gpGetCompressedTextureImage, (C.GLuint)(texture), (C.GLint)(level), (C.GLsizei)(bufSize), pixels) -} -func GetCompressedTextureImageEXT(texture uint32, target uint32, lod int32, img unsafe.Pointer) { - C.glowGetCompressedTextureImageEXT(gpGetCompressedTextureImageEXT, (C.GLuint)(texture), (C.GLenum)(target), (C.GLint)(lod), img) -} - -// retrieve a sub-region of a compressed texture image from a compressed texture object -func GetCompressedTextureSubImage(texture uint32, level int32, xoffset int32, yoffset int32, zoffset int32, width int32, height int32, depth int32, bufSize int32, pixels unsafe.Pointer) { - C.glowGetCompressedTextureSubImage(gpGetCompressedTextureSubImage, (C.GLuint)(texture), (C.GLint)(level), (C.GLint)(xoffset), (C.GLint)(yoffset), (C.GLint)(zoffset), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLsizei)(depth), (C.GLsizei)(bufSize), pixels) -} -func GetConvolutionFilterEXT(target uint32, format uint32, xtype uint32, image unsafe.Pointer) { - C.glowGetConvolutionFilterEXT(gpGetConvolutionFilterEXT, (C.GLenum)(target), (C.GLenum)(format), (C.GLenum)(xtype), image) -} -func GetConvolutionParameterfvEXT(target uint32, pname uint32, params *float32) { - C.glowGetConvolutionParameterfvEXT(gpGetConvolutionParameterfvEXT, (C.GLenum)(target), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func GetConvolutionParameterivEXT(target uint32, pname uint32, params *int32) { - C.glowGetConvolutionParameterivEXT(gpGetConvolutionParameterivEXT, (C.GLenum)(target), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetConvolutionParameterxvOES(target uint32, pname uint32, params *int32) { - C.glowGetConvolutionParameterxvOES(gpGetConvolutionParameterxvOES, (C.GLenum)(target), (C.GLenum)(pname), (*C.GLfixed)(unsafe.Pointer(params))) -} -func GetCoverageModulationTableNV(bufsize int32, v *float32) { - C.glowGetCoverageModulationTableNV(gpGetCoverageModulationTableNV, (C.GLsizei)(bufsize), (*C.GLfloat)(unsafe.Pointer(v))) -} - -// retrieve messages from the debug message log -func GetDebugMessageLog(count uint32, bufSize int32, sources *uint32, types *uint32, ids *uint32, severities *uint32, lengths *int32, messageLog *uint8) uint32 { - ret := C.glowGetDebugMessageLog(gpGetDebugMessageLog, (C.GLuint)(count), (C.GLsizei)(bufSize), (*C.GLenum)(unsafe.Pointer(sources)), (*C.GLenum)(unsafe.Pointer(types)), (*C.GLuint)(unsafe.Pointer(ids)), (*C.GLenum)(unsafe.Pointer(severities)), (*C.GLsizei)(unsafe.Pointer(lengths)), (*C.GLchar)(unsafe.Pointer(messageLog))) - return (uint32)(ret) -} -func GetDebugMessageLogAMD(count uint32, bufsize int32, categories *uint32, severities *uint32, ids *uint32, lengths *int32, message *uint8) uint32 { - ret := C.glowGetDebugMessageLogAMD(gpGetDebugMessageLogAMD, (C.GLuint)(count), (C.GLsizei)(bufsize), (*C.GLenum)(unsafe.Pointer(categories)), (*C.GLuint)(unsafe.Pointer(severities)), (*C.GLuint)(unsafe.Pointer(ids)), (*C.GLsizei)(unsafe.Pointer(lengths)), (*C.GLchar)(unsafe.Pointer(message))) - return (uint32)(ret) -} -func GetDebugMessageLogARB(count uint32, bufSize int32, sources *uint32, types *uint32, ids *uint32, severities *uint32, lengths *int32, messageLog *uint8) uint32 { - ret := C.glowGetDebugMessageLogARB(gpGetDebugMessageLogARB, (C.GLuint)(count), (C.GLsizei)(bufSize), (*C.GLenum)(unsafe.Pointer(sources)), (*C.GLenum)(unsafe.Pointer(types)), (*C.GLuint)(unsafe.Pointer(ids)), (*C.GLenum)(unsafe.Pointer(severities)), (*C.GLsizei)(unsafe.Pointer(lengths)), (*C.GLchar)(unsafe.Pointer(messageLog))) - return (uint32)(ret) -} -func GetDebugMessageLogKHR(count uint32, bufSize int32, sources *uint32, types *uint32, ids *uint32, severities *uint32, lengths *int32, messageLog *uint8) uint32 { - ret := C.glowGetDebugMessageLogKHR(gpGetDebugMessageLogKHR, (C.GLuint)(count), (C.GLsizei)(bufSize), (*C.GLenum)(unsafe.Pointer(sources)), (*C.GLenum)(unsafe.Pointer(types)), (*C.GLuint)(unsafe.Pointer(ids)), (*C.GLenum)(unsafe.Pointer(severities)), (*C.GLsizei)(unsafe.Pointer(lengths)), (*C.GLchar)(unsafe.Pointer(messageLog))) - return (uint32)(ret) -} -func GetDetailTexFuncSGIS(target uint32, points *float32) { - C.glowGetDetailTexFuncSGIS(gpGetDetailTexFuncSGIS, (C.GLenum)(target), (*C.GLfloat)(unsafe.Pointer(points))) -} -func GetDoubleIndexedvEXT(target uint32, index uint32, data *float64) { - C.glowGetDoubleIndexedvEXT(gpGetDoubleIndexedvEXT, (C.GLenum)(target), (C.GLuint)(index), (*C.GLdouble)(unsafe.Pointer(data))) -} func GetDoublei_v(target uint32, index uint32, data *float64) { C.glowGetDoublei_v(gpGetDoublei_v, (C.GLenum)(target), (C.GLuint)(index), (*C.GLdouble)(unsafe.Pointer(data))) } func GetDoublei_vEXT(pname uint32, index uint32, params *float64) { C.glowGetDoublei_vEXT(gpGetDoublei_vEXT, (C.GLenum)(pname), (C.GLuint)(index), (*C.GLdouble)(unsafe.Pointer(params))) } -func GetDoublev(pname uint32, data *float64) { - C.glowGetDoublev(gpGetDoublev, (C.GLenum)(pname), (*C.GLdouble)(unsafe.Pointer(data))) -} -// return error information func GetError() uint32 { ret := C.glowGetError(gpGetError) return (uint32)(ret) } -func GetFenceivNV(fence uint32, pname uint32, params *int32) { - C.glowGetFenceivNV(gpGetFenceivNV, (C.GLuint)(fence), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetFinalCombinerInputParameterfvNV(variable uint32, pname uint32, params *float32) { - C.glowGetFinalCombinerInputParameterfvNV(gpGetFinalCombinerInputParameterfvNV, (C.GLenum)(variable), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func GetFinalCombinerInputParameterivNV(variable uint32, pname uint32, params *int32) { - C.glowGetFinalCombinerInputParameterivNV(gpGetFinalCombinerInputParameterivNV, (C.GLenum)(variable), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetFirstPerfQueryIdINTEL(queryId *uint32) { - C.glowGetFirstPerfQueryIdINTEL(gpGetFirstPerfQueryIdINTEL, (*C.GLuint)(unsafe.Pointer(queryId))) -} -func GetFixedvOES(pname uint32, params *int32) { - C.glowGetFixedvOES(gpGetFixedvOES, (C.GLenum)(pname), (*C.GLfixed)(unsafe.Pointer(params))) -} -func GetFloatIndexedvEXT(target uint32, index uint32, data *float32) { - C.glowGetFloatIndexedvEXT(gpGetFloatIndexedvEXT, (C.GLenum)(target), (C.GLuint)(index), (*C.GLfloat)(unsafe.Pointer(data))) -} func GetFloati_v(target uint32, index uint32, data *float32) { C.glowGetFloati_v(gpGetFloati_v, (C.GLenum)(target), (C.GLuint)(index), (*C.GLfloat)(unsafe.Pointer(data))) } func GetFloati_vEXT(pname uint32, index uint32, params *float32) { C.glowGetFloati_vEXT(gpGetFloati_vEXT, (C.GLenum)(pname), (C.GLuint)(index), (*C.GLfloat)(unsafe.Pointer(params))) } -func GetFloatv(pname uint32, data *float32) { - C.glowGetFloatv(gpGetFloatv, (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(data))) -} -func GetFogFuncSGIS(points *float32) { - C.glowGetFogFuncSGIS(gpGetFogFuncSGIS, (*C.GLfloat)(unsafe.Pointer(points))) -} -// query the bindings of color indices to user-defined varying out variables -func GetFragDataIndex(program uint32, name *uint8) int32 { - ret := C.glowGetFragDataIndex(gpGetFragDataIndex, (C.GLuint)(program), (*C.GLchar)(unsafe.Pointer(name))) - return (int32)(ret) -} -func GetFragDataLocationEXT(program uint32, name *uint8) int32 { - ret := C.glowGetFragDataLocationEXT(gpGetFragDataLocationEXT, (C.GLuint)(program), (*C.GLchar)(unsafe.Pointer(name))) - return (int32)(ret) -} -func GetFragmentLightfvSGIX(light uint32, pname uint32, params *float32) { - C.glowGetFragmentLightfvSGIX(gpGetFragmentLightfvSGIX, (C.GLenum)(light), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func GetFragmentLightivSGIX(light uint32, pname uint32, params *int32) { - C.glowGetFragmentLightivSGIX(gpGetFragmentLightivSGIX, (C.GLenum)(light), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetFragmentMaterialfvSGIX(face uint32, pname uint32, params *float32) { - C.glowGetFragmentMaterialfvSGIX(gpGetFragmentMaterialfvSGIX, (C.GLenum)(face), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func GetFragmentMaterialivSGIX(face uint32, pname uint32, params *int32) { - C.glowGetFragmentMaterialivSGIX(gpGetFragmentMaterialivSGIX, (C.GLenum)(face), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} - -// retrieve information about attachments of a bound framebuffer object -func GetFramebufferAttachmentParameteriv(target uint32, attachment uint32, pname uint32, params *int32) { - C.glowGetFramebufferAttachmentParameteriv(gpGetFramebufferAttachmentParameteriv, (C.GLenum)(target), (C.GLenum)(attachment), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetFramebufferAttachmentParameterivEXT(target uint32, attachment uint32, pname uint32, params *int32) { - C.glowGetFramebufferAttachmentParameterivEXT(gpGetFramebufferAttachmentParameterivEXT, (C.GLenum)(target), (C.GLenum)(attachment), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetFramebufferParameterfvAMD(target uint32, pname uint32, numsamples uint32, pixelindex uint32, size int32, values *float32) { - C.glowGetFramebufferParameterfvAMD(gpGetFramebufferParameterfvAMD, (C.GLenum)(target), (C.GLenum)(pname), (C.GLuint)(numsamples), (C.GLuint)(pixelindex), (C.GLsizei)(size), (*C.GLfloat)(unsafe.Pointer(values))) -} - -// retrieve a named parameter from a framebuffer -func GetFramebufferParameteriv(target uint32, pname uint32, params *int32) { - C.glowGetFramebufferParameteriv(gpGetFramebufferParameteriv, (C.GLenum)(target), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetFramebufferParameterivEXT(framebuffer uint32, pname uint32, params *int32) { - C.glowGetFramebufferParameterivEXT(gpGetFramebufferParameterivEXT, (C.GLuint)(framebuffer), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} - -// check if the rendering context has not been lost due to software or hardware issues -func GetGraphicsResetStatus() uint32 { - ret := C.glowGetGraphicsResetStatus(gpGetGraphicsResetStatus) - return (uint32)(ret) -} -func GetGraphicsResetStatusARB() uint32 { - ret := C.glowGetGraphicsResetStatusARB(gpGetGraphicsResetStatusARB) - return (uint32)(ret) -} -func GetGraphicsResetStatusKHR() uint32 { - ret := C.glowGetGraphicsResetStatusKHR(gpGetGraphicsResetStatusKHR) - return (uint32)(ret) -} -func GetHandleARB(pname uint32) uintptr { - ret := C.glowGetHandleARB(gpGetHandleARB, (C.GLenum)(pname)) - return (uintptr)(ret) -} -func GetHistogramEXT(target uint32, reset bool, format uint32, xtype uint32, values unsafe.Pointer) { - C.glowGetHistogramEXT(gpGetHistogramEXT, (C.GLenum)(target), (C.GLboolean)(boolToInt(reset)), (C.GLenum)(format), (C.GLenum)(xtype), values) -} -func GetHistogramParameterfvEXT(target uint32, pname uint32, params *float32) { - C.glowGetHistogramParameterfvEXT(gpGetHistogramParameterfvEXT, (C.GLenum)(target), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func GetHistogramParameterivEXT(target uint32, pname uint32, params *int32) { - C.glowGetHistogramParameterivEXT(gpGetHistogramParameterivEXT, (C.GLenum)(target), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetHistogramParameterxvOES(target uint32, pname uint32, params *int32) { - C.glowGetHistogramParameterxvOES(gpGetHistogramParameterxvOES, (C.GLenum)(target), (C.GLenum)(pname), (*C.GLfixed)(unsafe.Pointer(params))) -} -func GetImageHandleARB(texture uint32, level int32, layered bool, layer int32, format uint32) uint64 { - ret := C.glowGetImageHandleARB(gpGetImageHandleARB, (C.GLuint)(texture), (C.GLint)(level), (C.GLboolean)(boolToInt(layered)), (C.GLint)(layer), (C.GLenum)(format)) - return (uint64)(ret) -} -func GetImageHandleNV(texture uint32, level int32, layered bool, layer int32, format uint32) uint64 { - ret := C.glowGetImageHandleNV(gpGetImageHandleNV, (C.GLuint)(texture), (C.GLint)(level), (C.GLboolean)(boolToInt(layered)), (C.GLint)(layer), (C.GLenum)(format)) - return (uint64)(ret) -} -func GetImageTransformParameterfvHP(target uint32, pname uint32, params *float32) { - C.glowGetImageTransformParameterfvHP(gpGetImageTransformParameterfvHP, (C.GLenum)(target), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func GetImageTransformParameterivHP(target uint32, pname uint32, params *int32) { - C.glowGetImageTransformParameterivHP(gpGetImageTransformParameterivHP, (C.GLenum)(target), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetInfoLogARB(obj uintptr, maxLength int32, length *int32, infoLog *uint8) { - C.glowGetInfoLogARB(gpGetInfoLogARB, (C.GLhandleARB)(obj), (C.GLsizei)(maxLength), (*C.GLsizei)(unsafe.Pointer(length)), (*C.GLcharARB)(unsafe.Pointer(infoLog))) -} -func GetInstrumentsSGIX() int32 { - ret := C.glowGetInstrumentsSGIX(gpGetInstrumentsSGIX) - return (int32)(ret) -} -func GetInteger64v(pname uint32, data *int64) { - C.glowGetInteger64v(gpGetInteger64v, (C.GLenum)(pname), (*C.GLint64)(unsafe.Pointer(data))) -} -func GetIntegerIndexedvEXT(target uint32, index uint32, data *int32) { - C.glowGetIntegerIndexedvEXT(gpGetIntegerIndexedvEXT, (C.GLenum)(target), (C.GLuint)(index), (*C.GLint)(unsafe.Pointer(data))) -} func GetIntegeri_v(target uint32, index uint32, data *int32) { C.glowGetIntegeri_v(gpGetIntegeri_v, (C.GLenum)(target), (C.GLuint)(index), (*C.GLint)(unsafe.Pointer(data))) } func GetIntegerui64i_vNV(value uint32, index uint32, result *uint64) { C.glowGetIntegerui64i_vNV(gpGetIntegerui64i_vNV, (C.GLenum)(value), (C.GLuint)(index), (*C.GLuint64EXT)(unsafe.Pointer(result))) } -func GetIntegerui64vNV(value uint32, result *uint64) { - C.glowGetIntegerui64vNV(gpGetIntegerui64vNV, (C.GLenum)(value), (*C.GLuint64EXT)(unsafe.Pointer(result))) -} func GetIntegerv(pname uint32, data *int32) { C.glowGetIntegerv(gpGetIntegerv, (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(data))) } -func GetInternalformatSampleivNV(target uint32, internalformat uint32, samples int32, pname uint32, bufSize int32, params *int32) { - C.glowGetInternalformatSampleivNV(gpGetInternalformatSampleivNV, (C.GLenum)(target), (C.GLenum)(internalformat), (C.GLsizei)(samples), (C.GLenum)(pname), (C.GLsizei)(bufSize), (*C.GLint)(unsafe.Pointer(params))) -} -func GetInternalformati64v(target uint32, internalformat uint32, pname uint32, bufSize int32, params *int64) { - C.glowGetInternalformati64v(gpGetInternalformati64v, (C.GLenum)(target), (C.GLenum)(internalformat), (C.GLenum)(pname), (C.GLsizei)(bufSize), (*C.GLint64)(unsafe.Pointer(params))) -} -// retrieve information about implementation-dependent support for internal formats -func GetInternalformativ(target uint32, internalformat uint32, pname uint32, bufSize int32, params *int32) { - C.glowGetInternalformativ(gpGetInternalformativ, (C.GLenum)(target), (C.GLenum)(internalformat), (C.GLenum)(pname), (C.GLsizei)(bufSize), (*C.GLint)(unsafe.Pointer(params))) -} -func GetInvariantBooleanvEXT(id uint32, value uint32, data *bool) { - C.glowGetInvariantBooleanvEXT(gpGetInvariantBooleanvEXT, (C.GLuint)(id), (C.GLenum)(value), (*C.GLboolean)(unsafe.Pointer(data))) -} -func GetInvariantFloatvEXT(id uint32, value uint32, data *float32) { - C.glowGetInvariantFloatvEXT(gpGetInvariantFloatvEXT, (C.GLuint)(id), (C.GLenum)(value), (*C.GLfloat)(unsafe.Pointer(data))) -} -func GetInvariantIntegervEXT(id uint32, value uint32, data *int32) { - C.glowGetInvariantIntegervEXT(gpGetInvariantIntegervEXT, (C.GLuint)(id), (C.GLenum)(value), (*C.GLint)(unsafe.Pointer(data))) -} -func GetLightfv(light uint32, pname uint32, params *float32) { - C.glowGetLightfv(gpGetLightfv, (C.GLenum)(light), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func GetLightiv(light uint32, pname uint32, params *int32) { - C.glowGetLightiv(gpGetLightiv, (C.GLenum)(light), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetLightxOES(light uint32, pname uint32, params *int32) { - C.glowGetLightxOES(gpGetLightxOES, (C.GLenum)(light), (C.GLenum)(pname), (*C.GLfixed)(unsafe.Pointer(params))) -} -func GetLightxvOES(light uint32, pname uint32, params *int32) { - C.glowGetLightxvOES(gpGetLightxvOES, (C.GLenum)(light), (C.GLenum)(pname), (*C.GLfixed)(unsafe.Pointer(params))) -} -func GetListParameterfvSGIX(list uint32, pname uint32, params *float32) { - C.glowGetListParameterfvSGIX(gpGetListParameterfvSGIX, (C.GLuint)(list), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func GetListParameterivSGIX(list uint32, pname uint32, params *int32) { - C.glowGetListParameterivSGIX(gpGetListParameterivSGIX, (C.GLuint)(list), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetLocalConstantBooleanvEXT(id uint32, value uint32, data *bool) { - C.glowGetLocalConstantBooleanvEXT(gpGetLocalConstantBooleanvEXT, (C.GLuint)(id), (C.GLenum)(value), (*C.GLboolean)(unsafe.Pointer(data))) -} -func GetLocalConstantFloatvEXT(id uint32, value uint32, data *float32) { - C.glowGetLocalConstantFloatvEXT(gpGetLocalConstantFloatvEXT, (C.GLuint)(id), (C.GLenum)(value), (*C.GLfloat)(unsafe.Pointer(data))) -} -func GetLocalConstantIntegervEXT(id uint32, value uint32, data *int32) { - C.glowGetLocalConstantIntegervEXT(gpGetLocalConstantIntegervEXT, (C.GLuint)(id), (C.GLenum)(value), (*C.GLint)(unsafe.Pointer(data))) -} -func GetMapAttribParameterfvNV(target uint32, index uint32, pname uint32, params *float32) { - C.glowGetMapAttribParameterfvNV(gpGetMapAttribParameterfvNV, (C.GLenum)(target), (C.GLuint)(index), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func GetMapAttribParameterivNV(target uint32, index uint32, pname uint32, params *int32) { - C.glowGetMapAttribParameterivNV(gpGetMapAttribParameterivNV, (C.GLenum)(target), (C.GLuint)(index), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetMapControlPointsNV(target uint32, index uint32, xtype uint32, ustride int32, vstride int32, packed bool, points unsafe.Pointer) { - C.glowGetMapControlPointsNV(gpGetMapControlPointsNV, (C.GLenum)(target), (C.GLuint)(index), (C.GLenum)(xtype), (C.GLsizei)(ustride), (C.GLsizei)(vstride), (C.GLboolean)(boolToInt(packed)), points) -} -func GetMapParameterfvNV(target uint32, pname uint32, params *float32) { - C.glowGetMapParameterfvNV(gpGetMapParameterfvNV, (C.GLenum)(target), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func GetMapParameterivNV(target uint32, pname uint32, params *int32) { - C.glowGetMapParameterivNV(gpGetMapParameterivNV, (C.GLenum)(target), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetMapdv(target uint32, query uint32, v *float64) { - C.glowGetMapdv(gpGetMapdv, (C.GLenum)(target), (C.GLenum)(query), (*C.GLdouble)(unsafe.Pointer(v))) -} -func GetMapfv(target uint32, query uint32, v *float32) { - C.glowGetMapfv(gpGetMapfv, (C.GLenum)(target), (C.GLenum)(query), (*C.GLfloat)(unsafe.Pointer(v))) -} -func GetMapiv(target uint32, query uint32, v *int32) { - C.glowGetMapiv(gpGetMapiv, (C.GLenum)(target), (C.GLenum)(query), (*C.GLint)(unsafe.Pointer(v))) -} -func GetMapxvOES(target uint32, query uint32, v *int32) { - C.glowGetMapxvOES(gpGetMapxvOES, (C.GLenum)(target), (C.GLenum)(query), (*C.GLfixed)(unsafe.Pointer(v))) -} -func GetMaterialfv(face uint32, pname uint32, params *float32) { - C.glowGetMaterialfv(gpGetMaterialfv, (C.GLenum)(face), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func GetMaterialiv(face uint32, pname uint32, params *int32) { - C.glowGetMaterialiv(gpGetMaterialiv, (C.GLenum)(face), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetMaterialxOES(face uint32, pname uint32, param int32) { - C.glowGetMaterialxOES(gpGetMaterialxOES, (C.GLenum)(face), (C.GLenum)(pname), (C.GLfixed)(param)) -} -func GetMaterialxvOES(face uint32, pname uint32, params *int32) { - C.glowGetMaterialxvOES(gpGetMaterialxvOES, (C.GLenum)(face), (C.GLenum)(pname), (*C.GLfixed)(unsafe.Pointer(params))) -} -func GetMemoryObjectParameterivEXT(memoryObject uint32, pname uint32, params *int32) { - C.glowGetMemoryObjectParameterivEXT(gpGetMemoryObjectParameterivEXT, (C.GLuint)(memoryObject), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetMinmaxEXT(target uint32, reset bool, format uint32, xtype uint32, values unsafe.Pointer) { - C.glowGetMinmaxEXT(gpGetMinmaxEXT, (C.GLenum)(target), (C.GLboolean)(boolToInt(reset)), (C.GLenum)(format), (C.GLenum)(xtype), values) -} -func GetMinmaxParameterfvEXT(target uint32, pname uint32, params *float32) { - C.glowGetMinmaxParameterfvEXT(gpGetMinmaxParameterfvEXT, (C.GLenum)(target), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func GetMinmaxParameterivEXT(target uint32, pname uint32, params *int32) { - C.glowGetMinmaxParameterivEXT(gpGetMinmaxParameterivEXT, (C.GLenum)(target), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetMultiTexEnvfvEXT(texunit uint32, target uint32, pname uint32, params *float32) { - C.glowGetMultiTexEnvfvEXT(gpGetMultiTexEnvfvEXT, (C.GLenum)(texunit), (C.GLenum)(target), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func GetMultiTexEnvivEXT(texunit uint32, target uint32, pname uint32, params *int32) { - C.glowGetMultiTexEnvivEXT(gpGetMultiTexEnvivEXT, (C.GLenum)(texunit), (C.GLenum)(target), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetMultiTexGendvEXT(texunit uint32, coord uint32, pname uint32, params *float64) { - C.glowGetMultiTexGendvEXT(gpGetMultiTexGendvEXT, (C.GLenum)(texunit), (C.GLenum)(coord), (C.GLenum)(pname), (*C.GLdouble)(unsafe.Pointer(params))) -} -func GetMultiTexGenfvEXT(texunit uint32, coord uint32, pname uint32, params *float32) { - C.glowGetMultiTexGenfvEXT(gpGetMultiTexGenfvEXT, (C.GLenum)(texunit), (C.GLenum)(coord), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func GetMultiTexGenivEXT(texunit uint32, coord uint32, pname uint32, params *int32) { - C.glowGetMultiTexGenivEXT(gpGetMultiTexGenivEXT, (C.GLenum)(texunit), (C.GLenum)(coord), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetMultiTexImageEXT(texunit uint32, target uint32, level int32, format uint32, xtype uint32, pixels unsafe.Pointer) { - C.glowGetMultiTexImageEXT(gpGetMultiTexImageEXT, (C.GLenum)(texunit), (C.GLenum)(target), (C.GLint)(level), (C.GLenum)(format), (C.GLenum)(xtype), pixels) -} -func GetMultiTexLevelParameterfvEXT(texunit uint32, target uint32, level int32, pname uint32, params *float32) { - C.glowGetMultiTexLevelParameterfvEXT(gpGetMultiTexLevelParameterfvEXT, (C.GLenum)(texunit), (C.GLenum)(target), (C.GLint)(level), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func GetMultiTexLevelParameterivEXT(texunit uint32, target uint32, level int32, pname uint32, params *int32) { - C.glowGetMultiTexLevelParameterivEXT(gpGetMultiTexLevelParameterivEXT, (C.GLenum)(texunit), (C.GLenum)(target), (C.GLint)(level), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetMultiTexParameterIivEXT(texunit uint32, target uint32, pname uint32, params *int32) { - C.glowGetMultiTexParameterIivEXT(gpGetMultiTexParameterIivEXT, (C.GLenum)(texunit), (C.GLenum)(target), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetMultiTexParameterIuivEXT(texunit uint32, target uint32, pname uint32, params *uint32) { - C.glowGetMultiTexParameterIuivEXT(gpGetMultiTexParameterIuivEXT, (C.GLenum)(texunit), (C.GLenum)(target), (C.GLenum)(pname), (*C.GLuint)(unsafe.Pointer(params))) -} -func GetMultiTexParameterfvEXT(texunit uint32, target uint32, pname uint32, params *float32) { - C.glowGetMultiTexParameterfvEXT(gpGetMultiTexParameterfvEXT, (C.GLenum)(texunit), (C.GLenum)(target), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func GetMultiTexParameterivEXT(texunit uint32, target uint32, pname uint32, params *int32) { - C.glowGetMultiTexParameterivEXT(gpGetMultiTexParameterivEXT, (C.GLenum)(texunit), (C.GLenum)(target), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} - -// retrieve the location of a sample -func GetMultisamplefv(pname uint32, index uint32, val *float32) { - C.glowGetMultisamplefv(gpGetMultisamplefv, (C.GLenum)(pname), (C.GLuint)(index), (*C.GLfloat)(unsafe.Pointer(val))) -} -func GetMultisamplefvNV(pname uint32, index uint32, val *float32) { - C.glowGetMultisamplefvNV(gpGetMultisamplefvNV, (C.GLenum)(pname), (C.GLuint)(index), (*C.GLfloat)(unsafe.Pointer(val))) -} - -// return parameters of a buffer object -func GetNamedBufferParameteri64v(buffer uint32, pname uint32, params *int64) { - C.glowGetNamedBufferParameteri64v(gpGetNamedBufferParameteri64v, (C.GLuint)(buffer), (C.GLenum)(pname), (*C.GLint64)(unsafe.Pointer(params))) -} - -// return parameters of a buffer object -func GetNamedBufferParameteriv(buffer uint32, pname uint32, params *int32) { - C.glowGetNamedBufferParameteriv(gpGetNamedBufferParameteriv, (C.GLuint)(buffer), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetNamedBufferParameterivEXT(buffer uint32, pname uint32, params *int32) { - C.glowGetNamedBufferParameterivEXT(gpGetNamedBufferParameterivEXT, (C.GLuint)(buffer), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetNamedBufferParameterui64vNV(buffer uint32, pname uint32, params *uint64) { - C.glowGetNamedBufferParameterui64vNV(gpGetNamedBufferParameterui64vNV, (C.GLuint)(buffer), (C.GLenum)(pname), (*C.GLuint64EXT)(unsafe.Pointer(params))) -} - -// return the pointer to a mapped buffer object's data store -func GetNamedBufferPointerv(buffer uint32, pname uint32, params *unsafe.Pointer) { - C.glowGetNamedBufferPointerv(gpGetNamedBufferPointerv, (C.GLuint)(buffer), (C.GLenum)(pname), params) -} -func GetNamedBufferPointervEXT(buffer uint32, pname uint32, params *unsafe.Pointer) { - C.glowGetNamedBufferPointervEXT(gpGetNamedBufferPointervEXT, (C.GLuint)(buffer), (C.GLenum)(pname), params) -} - -// returns a subset of a buffer object's data store -func GetNamedBufferSubData(buffer uint32, offset int, size int, data unsafe.Pointer) { - C.glowGetNamedBufferSubData(gpGetNamedBufferSubData, (C.GLuint)(buffer), (C.GLintptr)(offset), (C.GLsizeiptr)(size), data) -} -func GetNamedBufferSubDataEXT(buffer uint32, offset int, size int, data unsafe.Pointer) { - C.glowGetNamedBufferSubDataEXT(gpGetNamedBufferSubDataEXT, (C.GLuint)(buffer), (C.GLintptr)(offset), (C.GLsizeiptr)(size), data) -} - -// retrieve information about attachments of a framebuffer object -func GetNamedFramebufferAttachmentParameteriv(framebuffer uint32, attachment uint32, pname uint32, params *int32) { - C.glowGetNamedFramebufferAttachmentParameteriv(gpGetNamedFramebufferAttachmentParameteriv, (C.GLuint)(framebuffer), (C.GLenum)(attachment), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetNamedFramebufferAttachmentParameterivEXT(framebuffer uint32, attachment uint32, pname uint32, params *int32) { - C.glowGetNamedFramebufferAttachmentParameterivEXT(gpGetNamedFramebufferAttachmentParameterivEXT, (C.GLuint)(framebuffer), (C.GLenum)(attachment), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetNamedFramebufferParameterfvAMD(framebuffer uint32, pname uint32, numsamples uint32, pixelindex uint32, size int32, values *float32) { - C.glowGetNamedFramebufferParameterfvAMD(gpGetNamedFramebufferParameterfvAMD, (C.GLuint)(framebuffer), (C.GLenum)(pname), (C.GLuint)(numsamples), (C.GLuint)(pixelindex), (C.GLsizei)(size), (*C.GLfloat)(unsafe.Pointer(values))) -} - -// query a named parameter of a framebuffer object -func GetNamedFramebufferParameteriv(framebuffer uint32, pname uint32, param *int32) { - C.glowGetNamedFramebufferParameteriv(gpGetNamedFramebufferParameteriv, (C.GLuint)(framebuffer), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(param))) -} -func GetNamedFramebufferParameterivEXT(framebuffer uint32, pname uint32, params *int32) { - C.glowGetNamedFramebufferParameterivEXT(gpGetNamedFramebufferParameterivEXT, (C.GLuint)(framebuffer), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetNamedProgramLocalParameterIivEXT(program uint32, target uint32, index uint32, params *int32) { - C.glowGetNamedProgramLocalParameterIivEXT(gpGetNamedProgramLocalParameterIivEXT, (C.GLuint)(program), (C.GLenum)(target), (C.GLuint)(index), (*C.GLint)(unsafe.Pointer(params))) -} -func GetNamedProgramLocalParameterIuivEXT(program uint32, target uint32, index uint32, params *uint32) { - C.glowGetNamedProgramLocalParameterIuivEXT(gpGetNamedProgramLocalParameterIuivEXT, (C.GLuint)(program), (C.GLenum)(target), (C.GLuint)(index), (*C.GLuint)(unsafe.Pointer(params))) -} -func GetNamedProgramLocalParameterdvEXT(program uint32, target uint32, index uint32, params *float64) { - C.glowGetNamedProgramLocalParameterdvEXT(gpGetNamedProgramLocalParameterdvEXT, (C.GLuint)(program), (C.GLenum)(target), (C.GLuint)(index), (*C.GLdouble)(unsafe.Pointer(params))) -} -func GetNamedProgramLocalParameterfvEXT(program uint32, target uint32, index uint32, params *float32) { - C.glowGetNamedProgramLocalParameterfvEXT(gpGetNamedProgramLocalParameterfvEXT, (C.GLuint)(program), (C.GLenum)(target), (C.GLuint)(index), (*C.GLfloat)(unsafe.Pointer(params))) -} -func GetNamedProgramStringEXT(program uint32, target uint32, pname uint32, xstring unsafe.Pointer) { - C.glowGetNamedProgramStringEXT(gpGetNamedProgramStringEXT, (C.GLuint)(program), (C.GLenum)(target), (C.GLenum)(pname), xstring) -} -func GetNamedProgramivEXT(program uint32, target uint32, pname uint32, params *int32) { - C.glowGetNamedProgramivEXT(gpGetNamedProgramivEXT, (C.GLuint)(program), (C.GLenum)(target), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} - -// query a named parameter of a renderbuffer object -func GetNamedRenderbufferParameteriv(renderbuffer uint32, pname uint32, params *int32) { - C.glowGetNamedRenderbufferParameteriv(gpGetNamedRenderbufferParameteriv, (C.GLuint)(renderbuffer), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetNamedRenderbufferParameterivEXT(renderbuffer uint32, pname uint32, params *int32) { - C.glowGetNamedRenderbufferParameterivEXT(gpGetNamedRenderbufferParameterivEXT, (C.GLuint)(renderbuffer), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetNamedStringARB(namelen int32, name *uint8, bufSize int32, stringlen *int32, xstring *uint8) { - C.glowGetNamedStringARB(gpGetNamedStringARB, (C.GLint)(namelen), (*C.GLchar)(unsafe.Pointer(name)), (C.GLsizei)(bufSize), (*C.GLint)(unsafe.Pointer(stringlen)), (*C.GLchar)(unsafe.Pointer(xstring))) -} -func GetNamedStringivARB(namelen int32, name *uint8, pname uint32, params *int32) { - C.glowGetNamedStringivARB(gpGetNamedStringivARB, (C.GLint)(namelen), (*C.GLchar)(unsafe.Pointer(name)), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetNextPerfQueryIdINTEL(queryId uint32, nextQueryId *uint32) { - C.glowGetNextPerfQueryIdINTEL(gpGetNextPerfQueryIdINTEL, (C.GLuint)(queryId), (*C.GLuint)(unsafe.Pointer(nextQueryId))) -} -func GetObjectBufferfvATI(buffer uint32, pname uint32, params *float32) { - C.glowGetObjectBufferfvATI(gpGetObjectBufferfvATI, (C.GLuint)(buffer), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func GetObjectBufferivATI(buffer uint32, pname uint32, params *int32) { - C.glowGetObjectBufferivATI(gpGetObjectBufferivATI, (C.GLuint)(buffer), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} - -// retrieve the label of a named object identified within a namespace -func GetObjectLabel(identifier uint32, name uint32, bufSize int32, length *int32, label *uint8) { - C.glowGetObjectLabel(gpGetObjectLabel, (C.GLenum)(identifier), (C.GLuint)(name), (C.GLsizei)(bufSize), (*C.GLsizei)(unsafe.Pointer(length)), (*C.GLchar)(unsafe.Pointer(label))) -} -func GetObjectLabelEXT(xtype uint32, object uint32, bufSize int32, length *int32, label *uint8) { - C.glowGetObjectLabelEXT(gpGetObjectLabelEXT, (C.GLenum)(xtype), (C.GLuint)(object), (C.GLsizei)(bufSize), (*C.GLsizei)(unsafe.Pointer(length)), (*C.GLchar)(unsafe.Pointer(label))) -} -func GetObjectLabelKHR(identifier uint32, name uint32, bufSize int32, length *int32, label *uint8) { - C.glowGetObjectLabelKHR(gpGetObjectLabelKHR, (C.GLenum)(identifier), (C.GLuint)(name), (C.GLsizei)(bufSize), (*C.GLsizei)(unsafe.Pointer(length)), (*C.GLchar)(unsafe.Pointer(label))) -} -func GetObjectParameterfvARB(obj uintptr, pname uint32, params *float32) { - C.glowGetObjectParameterfvARB(gpGetObjectParameterfvARB, (C.GLhandleARB)(obj), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func GetObjectParameterivAPPLE(objectType uint32, name uint32, pname uint32, params *int32) { - C.glowGetObjectParameterivAPPLE(gpGetObjectParameterivAPPLE, (C.GLenum)(objectType), (C.GLuint)(name), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetObjectParameterivARB(obj uintptr, pname uint32, params *int32) { - C.glowGetObjectParameterivARB(gpGetObjectParameterivARB, (C.GLhandleARB)(obj), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} - -// retrieve the label of a sync object identified by a pointer -func GetObjectPtrLabel(ptr unsafe.Pointer, bufSize int32, length *int32, label *uint8) { - C.glowGetObjectPtrLabel(gpGetObjectPtrLabel, ptr, (C.GLsizei)(bufSize), (*C.GLsizei)(unsafe.Pointer(length)), (*C.GLchar)(unsafe.Pointer(label))) -} -func GetObjectPtrLabelKHR(ptr unsafe.Pointer, bufSize int32, length *int32, label *uint8) { - C.glowGetObjectPtrLabelKHR(gpGetObjectPtrLabelKHR, ptr, (C.GLsizei)(bufSize), (*C.GLsizei)(unsafe.Pointer(length)), (*C.GLchar)(unsafe.Pointer(label))) -} -func GetOcclusionQueryivNV(id uint32, pname uint32, params *int32) { - C.glowGetOcclusionQueryivNV(gpGetOcclusionQueryivNV, (C.GLuint)(id), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetOcclusionQueryuivNV(id uint32, pname uint32, params *uint32) { - C.glowGetOcclusionQueryuivNV(gpGetOcclusionQueryuivNV, (C.GLuint)(id), (C.GLenum)(pname), (*C.GLuint)(unsafe.Pointer(params))) -} -func GetPathCommandsNV(path uint32, commands *uint8) { - C.glowGetPathCommandsNV(gpGetPathCommandsNV, (C.GLuint)(path), (*C.GLubyte)(unsafe.Pointer(commands))) -} -func GetPathCoordsNV(path uint32, coords *float32) { - C.glowGetPathCoordsNV(gpGetPathCoordsNV, (C.GLuint)(path), (*C.GLfloat)(unsafe.Pointer(coords))) -} -func GetPathDashArrayNV(path uint32, dashArray *float32) { - C.glowGetPathDashArrayNV(gpGetPathDashArrayNV, (C.GLuint)(path), (*C.GLfloat)(unsafe.Pointer(dashArray))) -} -func GetPathLengthNV(path uint32, startSegment int32, numSegments int32) float32 { - ret := C.glowGetPathLengthNV(gpGetPathLengthNV, (C.GLuint)(path), (C.GLsizei)(startSegment), (C.GLsizei)(numSegments)) - return (float32)(ret) -} -func GetPathMetricRangeNV(metricQueryMask uint32, firstPathName uint32, numPaths int32, stride int32, metrics *float32) { - C.glowGetPathMetricRangeNV(gpGetPathMetricRangeNV, (C.GLbitfield)(metricQueryMask), (C.GLuint)(firstPathName), (C.GLsizei)(numPaths), (C.GLsizei)(stride), (*C.GLfloat)(unsafe.Pointer(metrics))) -} -func GetPathMetricsNV(metricQueryMask uint32, numPaths int32, pathNameType uint32, paths unsafe.Pointer, pathBase uint32, stride int32, metrics *float32) { - C.glowGetPathMetricsNV(gpGetPathMetricsNV, (C.GLbitfield)(metricQueryMask), (C.GLsizei)(numPaths), (C.GLenum)(pathNameType), paths, (C.GLuint)(pathBase), (C.GLsizei)(stride), (*C.GLfloat)(unsafe.Pointer(metrics))) -} -func GetPathParameterfvNV(path uint32, pname uint32, value *float32) { - C.glowGetPathParameterfvNV(gpGetPathParameterfvNV, (C.GLuint)(path), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(value))) -} -func GetPathParameterivNV(path uint32, pname uint32, value *int32) { - C.glowGetPathParameterivNV(gpGetPathParameterivNV, (C.GLuint)(path), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(value))) -} -func GetPathSpacingNV(pathListMode uint32, numPaths int32, pathNameType uint32, paths unsafe.Pointer, pathBase uint32, advanceScale float32, kerningScale float32, transformType uint32, returnedSpacing *float32) { - C.glowGetPathSpacingNV(gpGetPathSpacingNV, (C.GLenum)(pathListMode), (C.GLsizei)(numPaths), (C.GLenum)(pathNameType), paths, (C.GLuint)(pathBase), (C.GLfloat)(advanceScale), (C.GLfloat)(kerningScale), (C.GLenum)(transformType), (*C.GLfloat)(unsafe.Pointer(returnedSpacing))) -} -func GetPerfCounterInfoINTEL(queryId uint32, counterId uint32, counterNameLength uint32, counterName *uint8, counterDescLength uint32, counterDesc *uint8, counterOffset *uint32, counterDataSize *uint32, counterTypeEnum *uint32, counterDataTypeEnum *uint32, rawCounterMaxValue *uint64) { - C.glowGetPerfCounterInfoINTEL(gpGetPerfCounterInfoINTEL, (C.GLuint)(queryId), (C.GLuint)(counterId), (C.GLuint)(counterNameLength), (*C.GLchar)(unsafe.Pointer(counterName)), (C.GLuint)(counterDescLength), (*C.GLchar)(unsafe.Pointer(counterDesc)), (*C.GLuint)(unsafe.Pointer(counterOffset)), (*C.GLuint)(unsafe.Pointer(counterDataSize)), (*C.GLuint)(unsafe.Pointer(counterTypeEnum)), (*C.GLuint)(unsafe.Pointer(counterDataTypeEnum)), (*C.GLuint64)(unsafe.Pointer(rawCounterMaxValue))) -} -func GetPerfMonitorCounterDataAMD(monitor uint32, pname uint32, dataSize int32, data *uint32, bytesWritten *int32) { - C.glowGetPerfMonitorCounterDataAMD(gpGetPerfMonitorCounterDataAMD, (C.GLuint)(monitor), (C.GLenum)(pname), (C.GLsizei)(dataSize), (*C.GLuint)(unsafe.Pointer(data)), (*C.GLint)(unsafe.Pointer(bytesWritten))) -} -func GetPerfMonitorCounterInfoAMD(group uint32, counter uint32, pname uint32, data unsafe.Pointer) { - C.glowGetPerfMonitorCounterInfoAMD(gpGetPerfMonitorCounterInfoAMD, (C.GLuint)(group), (C.GLuint)(counter), (C.GLenum)(pname), data) -} -func GetPerfMonitorCounterStringAMD(group uint32, counter uint32, bufSize int32, length *int32, counterString *uint8) { - C.glowGetPerfMonitorCounterStringAMD(gpGetPerfMonitorCounterStringAMD, (C.GLuint)(group), (C.GLuint)(counter), (C.GLsizei)(bufSize), (*C.GLsizei)(unsafe.Pointer(length)), (*C.GLchar)(unsafe.Pointer(counterString))) -} -func GetPerfMonitorCountersAMD(group uint32, numCounters *int32, maxActiveCounters *int32, counterSize int32, counters *uint32) { - C.glowGetPerfMonitorCountersAMD(gpGetPerfMonitorCountersAMD, (C.GLuint)(group), (*C.GLint)(unsafe.Pointer(numCounters)), (*C.GLint)(unsafe.Pointer(maxActiveCounters)), (C.GLsizei)(counterSize), (*C.GLuint)(unsafe.Pointer(counters))) -} -func GetPerfMonitorGroupStringAMD(group uint32, bufSize int32, length *int32, groupString *uint8) { - C.glowGetPerfMonitorGroupStringAMD(gpGetPerfMonitorGroupStringAMD, (C.GLuint)(group), (C.GLsizei)(bufSize), (*C.GLsizei)(unsafe.Pointer(length)), (*C.GLchar)(unsafe.Pointer(groupString))) -} -func GetPerfMonitorGroupsAMD(numGroups *int32, groupsSize int32, groups *uint32) { - C.glowGetPerfMonitorGroupsAMD(gpGetPerfMonitorGroupsAMD, (*C.GLint)(unsafe.Pointer(numGroups)), (C.GLsizei)(groupsSize), (*C.GLuint)(unsafe.Pointer(groups))) -} -func GetPerfQueryDataINTEL(queryHandle uint32, flags uint32, dataSize int32, data unsafe.Pointer, bytesWritten *uint32) { - C.glowGetPerfQueryDataINTEL(gpGetPerfQueryDataINTEL, (C.GLuint)(queryHandle), (C.GLuint)(flags), (C.GLsizei)(dataSize), data, (*C.GLuint)(unsafe.Pointer(bytesWritten))) -} -func GetPerfQueryIdByNameINTEL(queryName *uint8, queryId *uint32) { - C.glowGetPerfQueryIdByNameINTEL(gpGetPerfQueryIdByNameINTEL, (*C.GLchar)(unsafe.Pointer(queryName)), (*C.GLuint)(unsafe.Pointer(queryId))) -} -func GetPerfQueryInfoINTEL(queryId uint32, queryNameLength uint32, queryName *uint8, dataSize *uint32, noCounters *uint32, noInstances *uint32, capsMask *uint32) { - C.glowGetPerfQueryInfoINTEL(gpGetPerfQueryInfoINTEL, (C.GLuint)(queryId), (C.GLuint)(queryNameLength), (*C.GLchar)(unsafe.Pointer(queryName)), (*C.GLuint)(unsafe.Pointer(dataSize)), (*C.GLuint)(unsafe.Pointer(noCounters)), (*C.GLuint)(unsafe.Pointer(noInstances)), (*C.GLuint)(unsafe.Pointer(capsMask))) -} -func GetPixelMapfv(xmap uint32, values *float32) { - C.glowGetPixelMapfv(gpGetPixelMapfv, (C.GLenum)(xmap), (*C.GLfloat)(unsafe.Pointer(values))) -} -func GetPixelMapuiv(xmap uint32, values *uint32) { - C.glowGetPixelMapuiv(gpGetPixelMapuiv, (C.GLenum)(xmap), (*C.GLuint)(unsafe.Pointer(values))) -} -func GetPixelMapusv(xmap uint32, values *uint16) { - C.glowGetPixelMapusv(gpGetPixelMapusv, (C.GLenum)(xmap), (*C.GLushort)(unsafe.Pointer(values))) -} -func GetPixelMapxv(xmap uint32, size int32, values *int32) { - C.glowGetPixelMapxv(gpGetPixelMapxv, (C.GLenum)(xmap), (C.GLint)(size), (*C.GLfixed)(unsafe.Pointer(values))) -} -func GetPixelTexGenParameterfvSGIS(pname uint32, params *float32) { - C.glowGetPixelTexGenParameterfvSGIS(gpGetPixelTexGenParameterfvSGIS, (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func GetPixelTexGenParameterivSGIS(pname uint32, params *int32) { - C.glowGetPixelTexGenParameterivSGIS(gpGetPixelTexGenParameterivSGIS, (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetPixelTransformParameterfvEXT(target uint32, pname uint32, params *float32) { - C.glowGetPixelTransformParameterfvEXT(gpGetPixelTransformParameterfvEXT, (C.GLenum)(target), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func GetPixelTransformParameterivEXT(target uint32, pname uint32, params *int32) { - C.glowGetPixelTransformParameterivEXT(gpGetPixelTransformParameterivEXT, (C.GLenum)(target), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetPointerIndexedvEXT(target uint32, index uint32, data *unsafe.Pointer) { - C.glowGetPointerIndexedvEXT(gpGetPointerIndexedvEXT, (C.GLenum)(target), (C.GLuint)(index), data) -} func GetPointeri_vEXT(pname uint32, index uint32, params *unsafe.Pointer) { C.glowGetPointeri_vEXT(gpGetPointeri_vEXT, (C.GLenum)(pname), (C.GLuint)(index), params) } -// return the address of the specified pointer -func GetPointerv(pname uint32, params *unsafe.Pointer) { - C.glowGetPointerv(gpGetPointerv, (C.GLenum)(pname), params) -} -func GetPointervEXT(pname uint32, params *unsafe.Pointer) { - C.glowGetPointervEXT(gpGetPointervEXT, (C.GLenum)(pname), params) -} -func GetPointervKHR(pname uint32, params *unsafe.Pointer) { - C.glowGetPointervKHR(gpGetPointervKHR, (C.GLenum)(pname), params) -} - -// return the polygon stipple pattern -func GetPolygonStipple(mask *uint8) { - C.glowGetPolygonStipple(gpGetPolygonStipple, (*C.GLubyte)(unsafe.Pointer(mask))) -} - -// return a binary representation of a program object's compiled and linked executable source -func GetProgramBinary(program uint32, bufSize int32, length *int32, binaryFormat *uint32, binary unsafe.Pointer) { - C.glowGetProgramBinary(gpGetProgramBinary, (C.GLuint)(program), (C.GLsizei)(bufSize), (*C.GLsizei)(unsafe.Pointer(length)), (*C.GLenum)(unsafe.Pointer(binaryFormat)), binary) -} -func GetProgramEnvParameterIivNV(target uint32, index uint32, params *int32) { - C.glowGetProgramEnvParameterIivNV(gpGetProgramEnvParameterIivNV, (C.GLenum)(target), (C.GLuint)(index), (*C.GLint)(unsafe.Pointer(params))) -} -func GetProgramEnvParameterIuivNV(target uint32, index uint32, params *uint32) { - C.glowGetProgramEnvParameterIuivNV(gpGetProgramEnvParameterIuivNV, (C.GLenum)(target), (C.GLuint)(index), (*C.GLuint)(unsafe.Pointer(params))) -} -func GetProgramEnvParameterdvARB(target uint32, index uint32, params *float64) { - C.glowGetProgramEnvParameterdvARB(gpGetProgramEnvParameterdvARB, (C.GLenum)(target), (C.GLuint)(index), (*C.GLdouble)(unsafe.Pointer(params))) -} -func GetProgramEnvParameterfvARB(target uint32, index uint32, params *float32) { - C.glowGetProgramEnvParameterfvARB(gpGetProgramEnvParameterfvARB, (C.GLenum)(target), (C.GLuint)(index), (*C.GLfloat)(unsafe.Pointer(params))) -} - -// Returns the information log for a program object -func GetProgramInfoLog(program uint32, bufSize int32, length *int32, infoLog *uint8) { - C.glowGetProgramInfoLog(gpGetProgramInfoLog, (C.GLuint)(program), (C.GLsizei)(bufSize), (*C.GLsizei)(unsafe.Pointer(length)), (*C.GLchar)(unsafe.Pointer(infoLog))) -} -func GetProgramInterfaceiv(program uint32, programInterface uint32, pname uint32, params *int32) { - C.glowGetProgramInterfaceiv(gpGetProgramInterfaceiv, (C.GLuint)(program), (C.GLenum)(programInterface), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetProgramLocalParameterIivNV(target uint32, index uint32, params *int32) { - C.glowGetProgramLocalParameterIivNV(gpGetProgramLocalParameterIivNV, (C.GLenum)(target), (C.GLuint)(index), (*C.GLint)(unsafe.Pointer(params))) -} -func GetProgramLocalParameterIuivNV(target uint32, index uint32, params *uint32) { - C.glowGetProgramLocalParameterIuivNV(gpGetProgramLocalParameterIuivNV, (C.GLenum)(target), (C.GLuint)(index), (*C.GLuint)(unsafe.Pointer(params))) -} -func GetProgramLocalParameterdvARB(target uint32, index uint32, params *float64) { - C.glowGetProgramLocalParameterdvARB(gpGetProgramLocalParameterdvARB, (C.GLenum)(target), (C.GLuint)(index), (*C.GLdouble)(unsafe.Pointer(params))) -} -func GetProgramLocalParameterfvARB(target uint32, index uint32, params *float32) { - C.glowGetProgramLocalParameterfvARB(gpGetProgramLocalParameterfvARB, (C.GLenum)(target), (C.GLuint)(index), (*C.GLfloat)(unsafe.Pointer(params))) -} -func GetProgramNamedParameterdvNV(id uint32, len int32, name *uint8, params *float64) { - C.glowGetProgramNamedParameterdvNV(gpGetProgramNamedParameterdvNV, (C.GLuint)(id), (C.GLsizei)(len), (*C.GLubyte)(unsafe.Pointer(name)), (*C.GLdouble)(unsafe.Pointer(params))) -} -func GetProgramNamedParameterfvNV(id uint32, len int32, name *uint8, params *float32) { - C.glowGetProgramNamedParameterfvNV(gpGetProgramNamedParameterfvNV, (C.GLuint)(id), (C.GLsizei)(len), (*C.GLubyte)(unsafe.Pointer(name)), (*C.GLfloat)(unsafe.Pointer(params))) -} -func GetProgramParameterdvNV(target uint32, index uint32, pname uint32, params *float64) { - C.glowGetProgramParameterdvNV(gpGetProgramParameterdvNV, (C.GLenum)(target), (C.GLuint)(index), (C.GLenum)(pname), (*C.GLdouble)(unsafe.Pointer(params))) -} -func GetProgramParameterfvNV(target uint32, index uint32, pname uint32, params *float32) { - C.glowGetProgramParameterfvNV(gpGetProgramParameterfvNV, (C.GLenum)(target), (C.GLuint)(index), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} - -// retrieve the info log string from a program pipeline object -func GetProgramPipelineInfoLog(pipeline uint32, bufSize int32, length *int32, infoLog *uint8) { - C.glowGetProgramPipelineInfoLog(gpGetProgramPipelineInfoLog, (C.GLuint)(pipeline), (C.GLsizei)(bufSize), (*C.GLsizei)(unsafe.Pointer(length)), (*C.GLchar)(unsafe.Pointer(infoLog))) -} -func GetProgramPipelineInfoLogEXT(pipeline uint32, bufSize int32, length *int32, infoLog *uint8) { - C.glowGetProgramPipelineInfoLogEXT(gpGetProgramPipelineInfoLogEXT, (C.GLuint)(pipeline), (C.GLsizei)(bufSize), (*C.GLsizei)(unsafe.Pointer(length)), (*C.GLchar)(unsafe.Pointer(infoLog))) -} -func GetProgramPipelineiv(pipeline uint32, pname uint32, params *int32) { - C.glowGetProgramPipelineiv(gpGetProgramPipelineiv, (C.GLuint)(pipeline), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetProgramPipelineivEXT(pipeline uint32, pname uint32, params *int32) { - C.glowGetProgramPipelineivEXT(gpGetProgramPipelineivEXT, (C.GLuint)(pipeline), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} - -// query the index of a named resource within a program -func GetProgramResourceIndex(program uint32, programInterface uint32, name *uint8) uint32 { - ret := C.glowGetProgramResourceIndex(gpGetProgramResourceIndex, (C.GLuint)(program), (C.GLenum)(programInterface), (*C.GLchar)(unsafe.Pointer(name))) - return (uint32)(ret) -} - -// query the location of a named resource within a program -func GetProgramResourceLocation(program uint32, programInterface uint32, name *uint8) int32 { - ret := C.glowGetProgramResourceLocation(gpGetProgramResourceLocation, (C.GLuint)(program), (C.GLenum)(programInterface), (*C.GLchar)(unsafe.Pointer(name))) - return (int32)(ret) -} - -// query the fragment color index of a named variable within a program -func GetProgramResourceLocationIndex(program uint32, programInterface uint32, name *uint8) int32 { - ret := C.glowGetProgramResourceLocationIndex(gpGetProgramResourceLocationIndex, (C.GLuint)(program), (C.GLenum)(programInterface), (*C.GLchar)(unsafe.Pointer(name))) - return (int32)(ret) -} - -// query the name of an indexed resource within a program -func GetProgramResourceName(program uint32, programInterface uint32, index uint32, bufSize int32, length *int32, name *uint8) { - C.glowGetProgramResourceName(gpGetProgramResourceName, (C.GLuint)(program), (C.GLenum)(programInterface), (C.GLuint)(index), (C.GLsizei)(bufSize), (*C.GLsizei)(unsafe.Pointer(length)), (*C.GLchar)(unsafe.Pointer(name))) -} -func GetProgramResourcefvNV(program uint32, programInterface uint32, index uint32, propCount int32, props *uint32, bufSize int32, length *int32, params *float32) { - C.glowGetProgramResourcefvNV(gpGetProgramResourcefvNV, (C.GLuint)(program), (C.GLenum)(programInterface), (C.GLuint)(index), (C.GLsizei)(propCount), (*C.GLenum)(unsafe.Pointer(props)), (C.GLsizei)(bufSize), (*C.GLsizei)(unsafe.Pointer(length)), (*C.GLfloat)(unsafe.Pointer(params))) -} -func GetProgramResourceiv(program uint32, programInterface uint32, index uint32, propCount int32, props *uint32, bufSize int32, length *int32, params *int32) { - C.glowGetProgramResourceiv(gpGetProgramResourceiv, (C.GLuint)(program), (C.GLenum)(programInterface), (C.GLuint)(index), (C.GLsizei)(propCount), (*C.GLenum)(unsafe.Pointer(props)), (C.GLsizei)(bufSize), (*C.GLsizei)(unsafe.Pointer(length)), (*C.GLint)(unsafe.Pointer(params))) -} -func GetProgramStageiv(program uint32, shadertype uint32, pname uint32, values *int32) { - C.glowGetProgramStageiv(gpGetProgramStageiv, (C.GLuint)(program), (C.GLenum)(shadertype), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(values))) -} -func GetProgramStringARB(target uint32, pname uint32, xstring unsafe.Pointer) { - C.glowGetProgramStringARB(gpGetProgramStringARB, (C.GLenum)(target), (C.GLenum)(pname), xstring) -} -func GetProgramStringNV(id uint32, pname uint32, program *uint8) { - C.glowGetProgramStringNV(gpGetProgramStringNV, (C.GLuint)(id), (C.GLenum)(pname), (*C.GLubyte)(unsafe.Pointer(program))) -} -func GetProgramSubroutineParameteruivNV(target uint32, index uint32, param *uint32) { - C.glowGetProgramSubroutineParameteruivNV(gpGetProgramSubroutineParameteruivNV, (C.GLenum)(target), (C.GLuint)(index), (*C.GLuint)(unsafe.Pointer(param))) -} - -// Returns a parameter from a program object func GetProgramiv(program uint32, pname uint32, params *int32) { C.glowGetProgramiv(gpGetProgramiv, (C.GLuint)(program), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) } -func GetProgramivARB(target uint32, pname uint32, params *int32) { - C.glowGetProgramivARB(gpGetProgramivARB, (C.GLenum)(target), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetProgramivNV(id uint32, pname uint32, params *int32) { - C.glowGetProgramivNV(gpGetProgramivNV, (C.GLuint)(id), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetQueryBufferObjecti64v(id uint32, buffer uint32, pname uint32, offset int) { - C.glowGetQueryBufferObjecti64v(gpGetQueryBufferObjecti64v, (C.GLuint)(id), (C.GLuint)(buffer), (C.GLenum)(pname), (C.GLintptr)(offset)) -} -func GetQueryBufferObjectiv(id uint32, buffer uint32, pname uint32, offset int) { - C.glowGetQueryBufferObjectiv(gpGetQueryBufferObjectiv, (C.GLuint)(id), (C.GLuint)(buffer), (C.GLenum)(pname), (C.GLintptr)(offset)) -} -func GetQueryBufferObjectui64v(id uint32, buffer uint32, pname uint32, offset int) { - C.glowGetQueryBufferObjectui64v(gpGetQueryBufferObjectui64v, (C.GLuint)(id), (C.GLuint)(buffer), (C.GLenum)(pname), (C.GLintptr)(offset)) -} -func GetQueryBufferObjectuiv(id uint32, buffer uint32, pname uint32, offset int) { - C.glowGetQueryBufferObjectuiv(gpGetQueryBufferObjectuiv, (C.GLuint)(id), (C.GLuint)(buffer), (C.GLenum)(pname), (C.GLintptr)(offset)) -} -// return parameters of an indexed query object target -func GetQueryIndexediv(target uint32, index uint32, pname uint32, params *int32) { - C.glowGetQueryIndexediv(gpGetQueryIndexediv, (C.GLenum)(target), (C.GLuint)(index), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetQueryObjecti64v(id uint32, pname uint32, params *int64) { - C.glowGetQueryObjecti64v(gpGetQueryObjecti64v, (C.GLuint)(id), (C.GLenum)(pname), (*C.GLint64)(unsafe.Pointer(params))) -} -func GetQueryObjecti64vEXT(id uint32, pname uint32, params *int64) { - C.glowGetQueryObjecti64vEXT(gpGetQueryObjecti64vEXT, (C.GLuint)(id), (C.GLenum)(pname), (*C.GLint64)(unsafe.Pointer(params))) -} -func GetQueryObjectiv(id uint32, pname uint32, params *int32) { - C.glowGetQueryObjectiv(gpGetQueryObjectiv, (C.GLuint)(id), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetQueryObjectivARB(id uint32, pname uint32, params *int32) { - C.glowGetQueryObjectivARB(gpGetQueryObjectivARB, (C.GLuint)(id), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetQueryObjectui64v(id uint32, pname uint32, params *uint64) { - C.glowGetQueryObjectui64v(gpGetQueryObjectui64v, (C.GLuint)(id), (C.GLenum)(pname), (*C.GLuint64)(unsafe.Pointer(params))) -} -func GetQueryObjectui64vEXT(id uint32, pname uint32, params *uint64) { - C.glowGetQueryObjectui64vEXT(gpGetQueryObjectui64vEXT, (C.GLuint)(id), (C.GLenum)(pname), (*C.GLuint64)(unsafe.Pointer(params))) -} - -// return parameters of a query object -func GetQueryObjectuiv(id uint32, pname uint32, params *uint32) { - C.glowGetQueryObjectuiv(gpGetQueryObjectuiv, (C.GLuint)(id), (C.GLenum)(pname), (*C.GLuint)(unsafe.Pointer(params))) -} -func GetQueryObjectuivARB(id uint32, pname uint32, params *uint32) { - C.glowGetQueryObjectuivARB(gpGetQueryObjectuivARB, (C.GLuint)(id), (C.GLenum)(pname), (*C.GLuint)(unsafe.Pointer(params))) -} - -// return parameters of a query object target -func GetQueryiv(target uint32, pname uint32, params *int32) { - C.glowGetQueryiv(gpGetQueryiv, (C.GLenum)(target), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetQueryivARB(target uint32, pname uint32, params *int32) { - C.glowGetQueryivARB(gpGetQueryivARB, (C.GLenum)(target), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} - -// retrieve information about a bound renderbuffer object -func GetRenderbufferParameteriv(target uint32, pname uint32, params *int32) { - C.glowGetRenderbufferParameteriv(gpGetRenderbufferParameteriv, (C.GLenum)(target), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetRenderbufferParameterivEXT(target uint32, pname uint32, params *int32) { - C.glowGetRenderbufferParameterivEXT(gpGetRenderbufferParameterivEXT, (C.GLenum)(target), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetSamplerParameterIiv(sampler uint32, pname uint32, params *int32) { - C.glowGetSamplerParameterIiv(gpGetSamplerParameterIiv, (C.GLuint)(sampler), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetSamplerParameterIuiv(sampler uint32, pname uint32, params *uint32) { - C.glowGetSamplerParameterIuiv(gpGetSamplerParameterIuiv, (C.GLuint)(sampler), (C.GLenum)(pname), (*C.GLuint)(unsafe.Pointer(params))) -} -func GetSamplerParameterfv(sampler uint32, pname uint32, params *float32) { - C.glowGetSamplerParameterfv(gpGetSamplerParameterfv, (C.GLuint)(sampler), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func GetSamplerParameteriv(sampler uint32, pname uint32, params *int32) { - C.glowGetSamplerParameteriv(gpGetSamplerParameteriv, (C.GLuint)(sampler), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetSemaphoreParameterui64vEXT(semaphore uint32, pname uint32, params *uint64) { - C.glowGetSemaphoreParameterui64vEXT(gpGetSemaphoreParameterui64vEXT, (C.GLuint)(semaphore), (C.GLenum)(pname), (*C.GLuint64)(unsafe.Pointer(params))) -} -func GetSeparableFilterEXT(target uint32, format uint32, xtype uint32, row unsafe.Pointer, column unsafe.Pointer, span unsafe.Pointer) { - C.glowGetSeparableFilterEXT(gpGetSeparableFilterEXT, (C.GLenum)(target), (C.GLenum)(format), (C.GLenum)(xtype), row, column, span) -} - -// Returns the information log for a shader object func GetShaderInfoLog(shader uint32, bufSize int32, length *int32, infoLog *uint8) { C.glowGetShaderInfoLog(gpGetShaderInfoLog, (C.GLuint)(shader), (C.GLsizei)(bufSize), (*C.GLsizei)(unsafe.Pointer(length)), (*C.GLchar)(unsafe.Pointer(infoLog))) } -// retrieve the range and precision for numeric formats supported by the shader compiler -func GetShaderPrecisionFormat(shadertype uint32, precisiontype uint32, xrange *int32, precision *int32) { - C.glowGetShaderPrecisionFormat(gpGetShaderPrecisionFormat, (C.GLenum)(shadertype), (C.GLenum)(precisiontype), (*C.GLint)(unsafe.Pointer(xrange)), (*C.GLint)(unsafe.Pointer(precision))) -} - -// Returns the source code string from a shader object -func GetShaderSource(shader uint32, bufSize int32, length *int32, source *uint8) { - C.glowGetShaderSource(gpGetShaderSource, (C.GLuint)(shader), (C.GLsizei)(bufSize), (*C.GLsizei)(unsafe.Pointer(length)), (*C.GLchar)(unsafe.Pointer(source))) -} -func GetShaderSourceARB(obj uintptr, maxLength int32, length *int32, source *uint8) { - C.glowGetShaderSourceARB(gpGetShaderSourceARB, (C.GLhandleARB)(obj), (C.GLsizei)(maxLength), (*C.GLsizei)(unsafe.Pointer(length)), (*C.GLcharARB)(unsafe.Pointer(source))) -} - -// Returns a parameter from a shader object func GetShaderiv(shader uint32, pname uint32, params *int32) { C.glowGetShaderiv(gpGetShaderiv, (C.GLuint)(shader), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) } -func GetSharpenTexFuncSGIS(target uint32, points *float32) { - C.glowGetSharpenTexFuncSGIS(gpGetSharpenTexFuncSGIS, (C.GLenum)(target), (*C.GLfloat)(unsafe.Pointer(points))) -} -func GetStageIndexNV(shadertype uint32) uint16 { - ret := C.glowGetStageIndexNV(gpGetStageIndexNV, (C.GLenum)(shadertype)) - return (uint16)(ret) -} -// return a string describing the current GL connection -func GetString(name uint32) *uint8 { - ret := C.glowGetString(gpGetString, (C.GLenum)(name)) - return (*uint8)(ret) -} - -// retrieve the index of a subroutine uniform of a given shader stage within a program -func GetSubroutineIndex(program uint32, shadertype uint32, name *uint8) uint32 { - ret := C.glowGetSubroutineIndex(gpGetSubroutineIndex, (C.GLuint)(program), (C.GLenum)(shadertype), (*C.GLchar)(unsafe.Pointer(name))) - return (uint32)(ret) -} - -// retrieve the location of a subroutine uniform of a given shader stage within a program -func GetSubroutineUniformLocation(program uint32, shadertype uint32, name *uint8) int32 { - ret := C.glowGetSubroutineUniformLocation(gpGetSubroutineUniformLocation, (C.GLuint)(program), (C.GLenum)(shadertype), (*C.GLchar)(unsafe.Pointer(name))) - return (int32)(ret) -} - -// query the properties of a sync object -func GetSynciv(sync uintptr, pname uint32, bufSize int32, length *int32, values *int32) { - C.glowGetSynciv(gpGetSynciv, (C.GLsync)(sync), (C.GLenum)(pname), (C.GLsizei)(bufSize), (*C.GLsizei)(unsafe.Pointer(length)), (*C.GLint)(unsafe.Pointer(values))) -} -func GetTexBumpParameterfvATI(pname uint32, param *float32) { - C.glowGetTexBumpParameterfvATI(gpGetTexBumpParameterfvATI, (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(param))) -} -func GetTexBumpParameterivATI(pname uint32, param *int32) { - C.glowGetTexBumpParameterivATI(gpGetTexBumpParameterivATI, (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(param))) -} -func GetTexEnvfv(target uint32, pname uint32, params *float32) { - C.glowGetTexEnvfv(gpGetTexEnvfv, (C.GLenum)(target), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func GetTexEnviv(target uint32, pname uint32, params *int32) { - C.glowGetTexEnviv(gpGetTexEnviv, (C.GLenum)(target), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetTexEnvxvOES(target uint32, pname uint32, params *int32) { - C.glowGetTexEnvxvOES(gpGetTexEnvxvOES, (C.GLenum)(target), (C.GLenum)(pname), (*C.GLfixed)(unsafe.Pointer(params))) -} -func GetTexFilterFuncSGIS(target uint32, filter uint32, weights *float32) { - C.glowGetTexFilterFuncSGIS(gpGetTexFilterFuncSGIS, (C.GLenum)(target), (C.GLenum)(filter), (*C.GLfloat)(unsafe.Pointer(weights))) -} -func GetTexGendv(coord uint32, pname uint32, params *float64) { - C.glowGetTexGendv(gpGetTexGendv, (C.GLenum)(coord), (C.GLenum)(pname), (*C.GLdouble)(unsafe.Pointer(params))) -} -func GetTexGenfv(coord uint32, pname uint32, params *float32) { - C.glowGetTexGenfv(gpGetTexGenfv, (C.GLenum)(coord), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func GetTexGeniv(coord uint32, pname uint32, params *int32) { - C.glowGetTexGeniv(gpGetTexGeniv, (C.GLenum)(coord), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetTexGenxvOES(coord uint32, pname uint32, params *int32) { - C.glowGetTexGenxvOES(gpGetTexGenxvOES, (C.GLenum)(coord), (C.GLenum)(pname), (*C.GLfixed)(unsafe.Pointer(params))) -} - -// return a texture image -func GetTexImage(target uint32, level int32, format uint32, xtype uint32, pixels unsafe.Pointer) { - C.glowGetTexImage(gpGetTexImage, (C.GLenum)(target), (C.GLint)(level), (C.GLenum)(format), (C.GLenum)(xtype), pixels) -} -func GetTexLevelParameterfv(target uint32, level int32, pname uint32, params *float32) { - C.glowGetTexLevelParameterfv(gpGetTexLevelParameterfv, (C.GLenum)(target), (C.GLint)(level), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func GetTexLevelParameteriv(target uint32, level int32, pname uint32, params *int32) { - C.glowGetTexLevelParameteriv(gpGetTexLevelParameteriv, (C.GLenum)(target), (C.GLint)(level), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetTexLevelParameterxvOES(target uint32, level int32, pname uint32, params *int32) { - C.glowGetTexLevelParameterxvOES(gpGetTexLevelParameterxvOES, (C.GLenum)(target), (C.GLint)(level), (C.GLenum)(pname), (*C.GLfixed)(unsafe.Pointer(params))) -} -func GetTexParameterIivEXT(target uint32, pname uint32, params *int32) { - C.glowGetTexParameterIivEXT(gpGetTexParameterIivEXT, (C.GLenum)(target), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetTexParameterIuivEXT(target uint32, pname uint32, params *uint32) { - C.glowGetTexParameterIuivEXT(gpGetTexParameterIuivEXT, (C.GLenum)(target), (C.GLenum)(pname), (*C.GLuint)(unsafe.Pointer(params))) -} -func GetTexParameterPointervAPPLE(target uint32, pname uint32, params *unsafe.Pointer) { - C.glowGetTexParameterPointervAPPLE(gpGetTexParameterPointervAPPLE, (C.GLenum)(target), (C.GLenum)(pname), params) -} -func GetTexParameterfv(target uint32, pname uint32, params *float32) { - C.glowGetTexParameterfv(gpGetTexParameterfv, (C.GLenum)(target), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func GetTexParameteriv(target uint32, pname uint32, params *int32) { - C.glowGetTexParameteriv(gpGetTexParameteriv, (C.GLenum)(target), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetTexParameterxvOES(target uint32, pname uint32, params *int32) { - C.glowGetTexParameterxvOES(gpGetTexParameterxvOES, (C.GLenum)(target), (C.GLenum)(pname), (*C.GLfixed)(unsafe.Pointer(params))) -} -func GetTextureHandleARB(texture uint32) uint64 { - ret := C.glowGetTextureHandleARB(gpGetTextureHandleARB, (C.GLuint)(texture)) - return (uint64)(ret) -} -func GetTextureHandleNV(texture uint32) uint64 { - ret := C.glowGetTextureHandleNV(gpGetTextureHandleNV, (C.GLuint)(texture)) - return (uint64)(ret) -} - -// return a texture image -func GetTextureImage(texture uint32, level int32, format uint32, xtype uint32, bufSize int32, pixels unsafe.Pointer) { - C.glowGetTextureImage(gpGetTextureImage, (C.GLuint)(texture), (C.GLint)(level), (C.GLenum)(format), (C.GLenum)(xtype), (C.GLsizei)(bufSize), pixels) -} -func GetTextureImageEXT(texture uint32, target uint32, level int32, format uint32, xtype uint32, pixels unsafe.Pointer) { - C.glowGetTextureImageEXT(gpGetTextureImageEXT, (C.GLuint)(texture), (C.GLenum)(target), (C.GLint)(level), (C.GLenum)(format), (C.GLenum)(xtype), pixels) -} -func GetTextureLevelParameterfv(texture uint32, level int32, pname uint32, params *float32) { - C.glowGetTextureLevelParameterfv(gpGetTextureLevelParameterfv, (C.GLuint)(texture), (C.GLint)(level), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func GetTextureLevelParameterfvEXT(texture uint32, target uint32, level int32, pname uint32, params *float32) { - C.glowGetTextureLevelParameterfvEXT(gpGetTextureLevelParameterfvEXT, (C.GLuint)(texture), (C.GLenum)(target), (C.GLint)(level), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func GetTextureLevelParameteriv(texture uint32, level int32, pname uint32, params *int32) { - C.glowGetTextureLevelParameteriv(gpGetTextureLevelParameteriv, (C.GLuint)(texture), (C.GLint)(level), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetTextureLevelParameterivEXT(texture uint32, target uint32, level int32, pname uint32, params *int32) { - C.glowGetTextureLevelParameterivEXT(gpGetTextureLevelParameterivEXT, (C.GLuint)(texture), (C.GLenum)(target), (C.GLint)(level), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetTextureParameterIiv(texture uint32, pname uint32, params *int32) { - C.glowGetTextureParameterIiv(gpGetTextureParameterIiv, (C.GLuint)(texture), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetTextureParameterIivEXT(texture uint32, target uint32, pname uint32, params *int32) { - C.glowGetTextureParameterIivEXT(gpGetTextureParameterIivEXT, (C.GLuint)(texture), (C.GLenum)(target), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetTextureParameterIuiv(texture uint32, pname uint32, params *uint32) { - C.glowGetTextureParameterIuiv(gpGetTextureParameterIuiv, (C.GLuint)(texture), (C.GLenum)(pname), (*C.GLuint)(unsafe.Pointer(params))) -} -func GetTextureParameterIuivEXT(texture uint32, target uint32, pname uint32, params *uint32) { - C.glowGetTextureParameterIuivEXT(gpGetTextureParameterIuivEXT, (C.GLuint)(texture), (C.GLenum)(target), (C.GLenum)(pname), (*C.GLuint)(unsafe.Pointer(params))) -} -func GetTextureParameterfv(texture uint32, pname uint32, params *float32) { - C.glowGetTextureParameterfv(gpGetTextureParameterfv, (C.GLuint)(texture), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func GetTextureParameterfvEXT(texture uint32, target uint32, pname uint32, params *float32) { - C.glowGetTextureParameterfvEXT(gpGetTextureParameterfvEXT, (C.GLuint)(texture), (C.GLenum)(target), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func GetTextureParameteriv(texture uint32, pname uint32, params *int32) { - C.glowGetTextureParameteriv(gpGetTextureParameteriv, (C.GLuint)(texture), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetTextureParameterivEXT(texture uint32, target uint32, pname uint32, params *int32) { - C.glowGetTextureParameterivEXT(gpGetTextureParameterivEXT, (C.GLuint)(texture), (C.GLenum)(target), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetTextureSamplerHandleARB(texture uint32, sampler uint32) uint64 { - ret := C.glowGetTextureSamplerHandleARB(gpGetTextureSamplerHandleARB, (C.GLuint)(texture), (C.GLuint)(sampler)) - return (uint64)(ret) -} -func GetTextureSamplerHandleNV(texture uint32, sampler uint32) uint64 { - ret := C.glowGetTextureSamplerHandleNV(gpGetTextureSamplerHandleNV, (C.GLuint)(texture), (C.GLuint)(sampler)) - return (uint64)(ret) -} - -// retrieve a sub-region of a texture image from a texture object -func GetTextureSubImage(texture uint32, level int32, xoffset int32, yoffset int32, zoffset int32, width int32, height int32, depth int32, format uint32, xtype uint32, bufSize int32, pixels unsafe.Pointer) { - C.glowGetTextureSubImage(gpGetTextureSubImage, (C.GLuint)(texture), (C.GLint)(level), (C.GLint)(xoffset), (C.GLint)(yoffset), (C.GLint)(zoffset), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLsizei)(depth), (C.GLenum)(format), (C.GLenum)(xtype), (C.GLsizei)(bufSize), pixels) -} -func GetTrackMatrixivNV(target uint32, address uint32, pname uint32, params *int32) { - C.glowGetTrackMatrixivNV(gpGetTrackMatrixivNV, (C.GLenum)(target), (C.GLuint)(address), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetTransformFeedbackVaryingEXT(program uint32, index uint32, bufSize int32, length *int32, size *int32, xtype *uint32, name *uint8) { - C.glowGetTransformFeedbackVaryingEXT(gpGetTransformFeedbackVaryingEXT, (C.GLuint)(program), (C.GLuint)(index), (C.GLsizei)(bufSize), (*C.GLsizei)(unsafe.Pointer(length)), (*C.GLsizei)(unsafe.Pointer(size)), (*C.GLenum)(unsafe.Pointer(xtype)), (*C.GLchar)(unsafe.Pointer(name))) -} -func GetTransformFeedbackVaryingNV(program uint32, index uint32, location *int32) { - C.glowGetTransformFeedbackVaryingNV(gpGetTransformFeedbackVaryingNV, (C.GLuint)(program), (C.GLuint)(index), (*C.GLint)(unsafe.Pointer(location))) -} func GetTransformFeedbacki64_v(xfb uint32, pname uint32, index uint32, param *int64) { C.glowGetTransformFeedbacki64_v(gpGetTransformFeedbacki64_v, (C.GLuint)(xfb), (C.GLenum)(pname), (C.GLuint)(index), (*C.GLint64)(unsafe.Pointer(param))) } @@ -17579,10386 +588,292 @@ func GetTransformFeedbacki_v(xfb uint32, pname uint32, index uint32, param *int3 C.glowGetTransformFeedbacki_v(gpGetTransformFeedbacki_v, (C.GLuint)(xfb), (C.GLenum)(pname), (C.GLuint)(index), (*C.GLint)(unsafe.Pointer(param))) } -// query the state of a transform feedback object. -func GetTransformFeedbackiv(xfb uint32, pname uint32, param *int32) { - C.glowGetTransformFeedbackiv(gpGetTransformFeedbackiv, (C.GLuint)(xfb), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(param))) -} - -// retrieve the index of a named uniform block -func GetUniformBlockIndex(program uint32, uniformBlockName *uint8) uint32 { - ret := C.glowGetUniformBlockIndex(gpGetUniformBlockIndex, (C.GLuint)(program), (*C.GLchar)(unsafe.Pointer(uniformBlockName))) - return (uint32)(ret) -} -func GetUniformBufferSizeEXT(program uint32, location int32) int32 { - ret := C.glowGetUniformBufferSizeEXT(gpGetUniformBufferSizeEXT, (C.GLuint)(program), (C.GLint)(location)) - return (int32)(ret) -} - -// retrieve the index of a named uniform block -func GetUniformIndices(program uint32, uniformCount int32, uniformNames **uint8, uniformIndices *uint32) { - C.glowGetUniformIndices(gpGetUniformIndices, (C.GLuint)(program), (C.GLsizei)(uniformCount), (**C.GLchar)(unsafe.Pointer(uniformNames)), (*C.GLuint)(unsafe.Pointer(uniformIndices))) -} - -// Returns the location of a uniform variable func GetUniformLocation(program uint32, name *uint8) int32 { ret := C.glowGetUniformLocation(gpGetUniformLocation, (C.GLuint)(program), (*C.GLchar)(unsafe.Pointer(name))) return (int32)(ret) } -func GetUniformLocationARB(programObj uintptr, name *uint8) int32 { - ret := C.glowGetUniformLocationARB(gpGetUniformLocationARB, (C.GLhandleARB)(programObj), (*C.GLcharARB)(unsafe.Pointer(name))) - return (int32)(ret) -} -func GetUniformOffsetEXT(program uint32, location int32) int { - ret := C.glowGetUniformOffsetEXT(gpGetUniformOffsetEXT, (C.GLuint)(program), (C.GLint)(location)) - return (int)(ret) -} -func GetUniformSubroutineuiv(shadertype uint32, location int32, params *uint32) { - C.glowGetUniformSubroutineuiv(gpGetUniformSubroutineuiv, (C.GLenum)(shadertype), (C.GLint)(location), (*C.GLuint)(unsafe.Pointer(params))) -} -func GetUniformdv(program uint32, location int32, params *float64) { - C.glowGetUniformdv(gpGetUniformdv, (C.GLuint)(program), (C.GLint)(location), (*C.GLdouble)(unsafe.Pointer(params))) -} -// Returns the value of a uniform variable -func GetUniformfv(program uint32, location int32, params *float32) { - C.glowGetUniformfv(gpGetUniformfv, (C.GLuint)(program), (C.GLint)(location), (*C.GLfloat)(unsafe.Pointer(params))) -} -func GetUniformfvARB(programObj uintptr, location int32, params *float32) { - C.glowGetUniformfvARB(gpGetUniformfvARB, (C.GLhandleARB)(programObj), (C.GLint)(location), (*C.GLfloat)(unsafe.Pointer(params))) -} -func GetUniformi64vARB(program uint32, location int32, params *int64) { - C.glowGetUniformi64vARB(gpGetUniformi64vARB, (C.GLuint)(program), (C.GLint)(location), (*C.GLint64)(unsafe.Pointer(params))) -} -func GetUniformi64vNV(program uint32, location int32, params *int64) { - C.glowGetUniformi64vNV(gpGetUniformi64vNV, (C.GLuint)(program), (C.GLint)(location), (*C.GLint64EXT)(unsafe.Pointer(params))) -} - -// Returns the value of a uniform variable -func GetUniformiv(program uint32, location int32, params *int32) { - C.glowGetUniformiv(gpGetUniformiv, (C.GLuint)(program), (C.GLint)(location), (*C.GLint)(unsafe.Pointer(params))) -} -func GetUniformivARB(programObj uintptr, location int32, params *int32) { - C.glowGetUniformivARB(gpGetUniformivARB, (C.GLhandleARB)(programObj), (C.GLint)(location), (*C.GLint)(unsafe.Pointer(params))) -} -func GetUniformui64vARB(program uint32, location int32, params *uint64) { - C.glowGetUniformui64vARB(gpGetUniformui64vARB, (C.GLuint)(program), (C.GLint)(location), (*C.GLuint64)(unsafe.Pointer(params))) -} -func GetUniformui64vNV(program uint32, location int32, params *uint64) { - C.glowGetUniformui64vNV(gpGetUniformui64vNV, (C.GLuint)(program), (C.GLint)(location), (*C.GLuint64EXT)(unsafe.Pointer(params))) -} -func GetUniformuivEXT(program uint32, location int32, params *uint32) { - C.glowGetUniformuivEXT(gpGetUniformuivEXT, (C.GLuint)(program), (C.GLint)(location), (*C.GLuint)(unsafe.Pointer(params))) -} func GetUnsignedBytei_vEXT(target uint32, index uint32, data *uint8) { C.glowGetUnsignedBytei_vEXT(gpGetUnsignedBytei_vEXT, (C.GLenum)(target), (C.GLuint)(index), (*C.GLubyte)(unsafe.Pointer(data))) } -func GetUnsignedBytevEXT(pname uint32, data *uint8) { - C.glowGetUnsignedBytevEXT(gpGetUnsignedBytevEXT, (C.GLenum)(pname), (*C.GLubyte)(unsafe.Pointer(data))) -} -func GetVariantArrayObjectfvATI(id uint32, pname uint32, params *float32) { - C.glowGetVariantArrayObjectfvATI(gpGetVariantArrayObjectfvATI, (C.GLuint)(id), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func GetVariantArrayObjectivATI(id uint32, pname uint32, params *int32) { - C.glowGetVariantArrayObjectivATI(gpGetVariantArrayObjectivATI, (C.GLuint)(id), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetVariantBooleanvEXT(id uint32, value uint32, data *bool) { - C.glowGetVariantBooleanvEXT(gpGetVariantBooleanvEXT, (C.GLuint)(id), (C.GLenum)(value), (*C.GLboolean)(unsafe.Pointer(data))) -} -func GetVariantFloatvEXT(id uint32, value uint32, data *float32) { - C.glowGetVariantFloatvEXT(gpGetVariantFloatvEXT, (C.GLuint)(id), (C.GLenum)(value), (*C.GLfloat)(unsafe.Pointer(data))) -} -func GetVariantIntegervEXT(id uint32, value uint32, data *int32) { - C.glowGetVariantIntegervEXT(gpGetVariantIntegervEXT, (C.GLuint)(id), (C.GLenum)(value), (*C.GLint)(unsafe.Pointer(data))) -} -func GetVariantPointervEXT(id uint32, value uint32, data *unsafe.Pointer) { - C.glowGetVariantPointervEXT(gpGetVariantPointervEXT, (C.GLuint)(id), (C.GLenum)(value), data) -} -func GetVaryingLocationNV(program uint32, name *uint8) int32 { - ret := C.glowGetVaryingLocationNV(gpGetVaryingLocationNV, (C.GLuint)(program), (*C.GLchar)(unsafe.Pointer(name))) - return (int32)(ret) -} -func GetVertexArrayIndexed64iv(vaobj uint32, index uint32, pname uint32, param *int64) { - C.glowGetVertexArrayIndexed64iv(gpGetVertexArrayIndexed64iv, (C.GLuint)(vaobj), (C.GLuint)(index), (C.GLenum)(pname), (*C.GLint64)(unsafe.Pointer(param))) -} -func GetVertexArrayIndexediv(vaobj uint32, index uint32, pname uint32, param *int32) { - C.glowGetVertexArrayIndexediv(gpGetVertexArrayIndexediv, (C.GLuint)(vaobj), (C.GLuint)(index), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(param))) -} func GetVertexArrayIntegeri_vEXT(vaobj uint32, index uint32, pname uint32, param *int32) { C.glowGetVertexArrayIntegeri_vEXT(gpGetVertexArrayIntegeri_vEXT, (C.GLuint)(vaobj), (C.GLuint)(index), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(param))) } -func GetVertexArrayIntegervEXT(vaobj uint32, pname uint32, param *int32) { - C.glowGetVertexArrayIntegervEXT(gpGetVertexArrayIntegervEXT, (C.GLuint)(vaobj), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(param))) -} func GetVertexArrayPointeri_vEXT(vaobj uint32, index uint32, pname uint32, param *unsafe.Pointer) { C.glowGetVertexArrayPointeri_vEXT(gpGetVertexArrayPointeri_vEXT, (C.GLuint)(vaobj), (C.GLuint)(index), (C.GLenum)(pname), param) } -func GetVertexArrayPointervEXT(vaobj uint32, pname uint32, param *unsafe.Pointer) { - C.glowGetVertexArrayPointervEXT(gpGetVertexArrayPointervEXT, (C.GLuint)(vaobj), (C.GLenum)(pname), param) -} -// retrieve parameters of a vertex array object -func GetVertexArrayiv(vaobj uint32, pname uint32, param *int32) { - C.glowGetVertexArrayiv(gpGetVertexArrayiv, (C.GLuint)(vaobj), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(param))) -} -func GetVertexAttribArrayObjectfvATI(index uint32, pname uint32, params *float32) { - C.glowGetVertexAttribArrayObjectfvATI(gpGetVertexAttribArrayObjectfvATI, (C.GLuint)(index), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func GetVertexAttribArrayObjectivATI(index uint32, pname uint32, params *int32) { - C.glowGetVertexAttribArrayObjectivATI(gpGetVertexAttribArrayObjectivATI, (C.GLuint)(index), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetVertexAttribIivEXT(index uint32, pname uint32, params *int32) { - C.glowGetVertexAttribIivEXT(gpGetVertexAttribIivEXT, (C.GLuint)(index), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetVertexAttribIuivEXT(index uint32, pname uint32, params *uint32) { - C.glowGetVertexAttribIuivEXT(gpGetVertexAttribIuivEXT, (C.GLuint)(index), (C.GLenum)(pname), (*C.GLuint)(unsafe.Pointer(params))) -} - -// Return a generic vertex attribute parameter -func GetVertexAttribLdv(index uint32, pname uint32, params *float64) { - C.glowGetVertexAttribLdv(gpGetVertexAttribLdv, (C.GLuint)(index), (C.GLenum)(pname), (*C.GLdouble)(unsafe.Pointer(params))) -} -func GetVertexAttribLdvEXT(index uint32, pname uint32, params *float64) { - C.glowGetVertexAttribLdvEXT(gpGetVertexAttribLdvEXT, (C.GLuint)(index), (C.GLenum)(pname), (*C.GLdouble)(unsafe.Pointer(params))) -} -func GetVertexAttribLi64vNV(index uint32, pname uint32, params *int64) { - C.glowGetVertexAttribLi64vNV(gpGetVertexAttribLi64vNV, (C.GLuint)(index), (C.GLenum)(pname), (*C.GLint64EXT)(unsafe.Pointer(params))) -} -func GetVertexAttribLui64vARB(index uint32, pname uint32, params *uint64) { - C.glowGetVertexAttribLui64vARB(gpGetVertexAttribLui64vARB, (C.GLuint)(index), (C.GLenum)(pname), (*C.GLuint64EXT)(unsafe.Pointer(params))) -} -func GetVertexAttribLui64vNV(index uint32, pname uint32, params *uint64) { - C.glowGetVertexAttribLui64vNV(gpGetVertexAttribLui64vNV, (C.GLuint)(index), (C.GLenum)(pname), (*C.GLuint64EXT)(unsafe.Pointer(params))) -} - -// return the address of the specified generic vertex attribute pointer -func GetVertexAttribPointerv(index uint32, pname uint32, pointer *unsafe.Pointer) { - C.glowGetVertexAttribPointerv(gpGetVertexAttribPointerv, (C.GLuint)(index), (C.GLenum)(pname), pointer) -} -func GetVertexAttribPointervARB(index uint32, pname uint32, pointer *unsafe.Pointer) { - C.glowGetVertexAttribPointervARB(gpGetVertexAttribPointervARB, (C.GLuint)(index), (C.GLenum)(pname), pointer) -} -func GetVertexAttribPointervNV(index uint32, pname uint32, pointer *unsafe.Pointer) { - C.glowGetVertexAttribPointervNV(gpGetVertexAttribPointervNV, (C.GLuint)(index), (C.GLenum)(pname), pointer) -} - -// Return a generic vertex attribute parameter -func GetVertexAttribdv(index uint32, pname uint32, params *float64) { - C.glowGetVertexAttribdv(gpGetVertexAttribdv, (C.GLuint)(index), (C.GLenum)(pname), (*C.GLdouble)(unsafe.Pointer(params))) -} -func GetVertexAttribdvARB(index uint32, pname uint32, params *float64) { - C.glowGetVertexAttribdvARB(gpGetVertexAttribdvARB, (C.GLuint)(index), (C.GLenum)(pname), (*C.GLdouble)(unsafe.Pointer(params))) -} -func GetVertexAttribdvNV(index uint32, pname uint32, params *float64) { - C.glowGetVertexAttribdvNV(gpGetVertexAttribdvNV, (C.GLuint)(index), (C.GLenum)(pname), (*C.GLdouble)(unsafe.Pointer(params))) -} - -// Return a generic vertex attribute parameter -func GetVertexAttribfv(index uint32, pname uint32, params *float32) { - C.glowGetVertexAttribfv(gpGetVertexAttribfv, (C.GLuint)(index), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func GetVertexAttribfvARB(index uint32, pname uint32, params *float32) { - C.glowGetVertexAttribfvARB(gpGetVertexAttribfvARB, (C.GLuint)(index), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func GetVertexAttribfvNV(index uint32, pname uint32, params *float32) { - C.glowGetVertexAttribfvNV(gpGetVertexAttribfvNV, (C.GLuint)(index), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} - -// Return a generic vertex attribute parameter -func GetVertexAttribiv(index uint32, pname uint32, params *int32) { - C.glowGetVertexAttribiv(gpGetVertexAttribiv, (C.GLuint)(index), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetVertexAttribivARB(index uint32, pname uint32, params *int32) { - C.glowGetVertexAttribivARB(gpGetVertexAttribivARB, (C.GLuint)(index), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetVertexAttribivNV(index uint32, pname uint32, params *int32) { - C.glowGetVertexAttribivNV(gpGetVertexAttribivNV, (C.GLuint)(index), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetVideoCaptureStreamdvNV(video_capture_slot uint32, stream uint32, pname uint32, params *float64) { - C.glowGetVideoCaptureStreamdvNV(gpGetVideoCaptureStreamdvNV, (C.GLuint)(video_capture_slot), (C.GLuint)(stream), (C.GLenum)(pname), (*C.GLdouble)(unsafe.Pointer(params))) -} -func GetVideoCaptureStreamfvNV(video_capture_slot uint32, stream uint32, pname uint32, params *float32) { - C.glowGetVideoCaptureStreamfvNV(gpGetVideoCaptureStreamfvNV, (C.GLuint)(video_capture_slot), (C.GLuint)(stream), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func GetVideoCaptureStreamivNV(video_capture_slot uint32, stream uint32, pname uint32, params *int32) { - C.glowGetVideoCaptureStreamivNV(gpGetVideoCaptureStreamivNV, (C.GLuint)(video_capture_slot), (C.GLuint)(stream), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetVideoCaptureivNV(video_capture_slot uint32, pname uint32, params *int32) { - C.glowGetVideoCaptureivNV(gpGetVideoCaptureivNV, (C.GLuint)(video_capture_slot), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetVideoi64vNV(video_slot uint32, pname uint32, params *int64) { - C.glowGetVideoi64vNV(gpGetVideoi64vNV, (C.GLuint)(video_slot), (C.GLenum)(pname), (*C.GLint64EXT)(unsafe.Pointer(params))) -} -func GetVideoivNV(video_slot uint32, pname uint32, params *int32) { - C.glowGetVideoivNV(gpGetVideoivNV, (C.GLuint)(video_slot), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func GetVideoui64vNV(video_slot uint32, pname uint32, params *uint64) { - C.glowGetVideoui64vNV(gpGetVideoui64vNV, (C.GLuint)(video_slot), (C.GLenum)(pname), (*C.GLuint64EXT)(unsafe.Pointer(params))) -} -func GetVideouivNV(video_slot uint32, pname uint32, params *uint32) { - C.glowGetVideouivNV(gpGetVideouivNV, (C.GLuint)(video_slot), (C.GLenum)(pname), (*C.GLuint)(unsafe.Pointer(params))) -} - -// Return value has type C.GLVULKANPROCNV. -func GetVkProcAddrNV(name *uint8) unsafe.Pointer { - ret := C.glowGetVkProcAddrNV(gpGetVkProcAddrNV, (*C.GLchar)(unsafe.Pointer(name))) - return (unsafe.Pointer)(ret) -} -func GetnCompressedTexImageARB(target uint32, lod int32, bufSize int32, img unsafe.Pointer) { - C.glowGetnCompressedTexImageARB(gpGetnCompressedTexImageARB, (C.GLenum)(target), (C.GLint)(lod), (C.GLsizei)(bufSize), img) -} -func GetnTexImageARB(target uint32, level int32, format uint32, xtype uint32, bufSize int32, img unsafe.Pointer) { - C.glowGetnTexImageARB(gpGetnTexImageARB, (C.GLenum)(target), (C.GLint)(level), (C.GLenum)(format), (C.GLenum)(xtype), (C.GLsizei)(bufSize), img) -} -func GetnUniformdvARB(program uint32, location int32, bufSize int32, params *float64) { - C.glowGetnUniformdvARB(gpGetnUniformdvARB, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(bufSize), (*C.GLdouble)(unsafe.Pointer(params))) -} -func GetnUniformfv(program uint32, location int32, bufSize int32, params *float32) { - C.glowGetnUniformfv(gpGetnUniformfv, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(bufSize), (*C.GLfloat)(unsafe.Pointer(params))) -} -func GetnUniformfvARB(program uint32, location int32, bufSize int32, params *float32) { - C.glowGetnUniformfvARB(gpGetnUniformfvARB, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(bufSize), (*C.GLfloat)(unsafe.Pointer(params))) -} -func GetnUniformfvKHR(program uint32, location int32, bufSize int32, params *float32) { - C.glowGetnUniformfvKHR(gpGetnUniformfvKHR, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(bufSize), (*C.GLfloat)(unsafe.Pointer(params))) -} -func GetnUniformi64vARB(program uint32, location int32, bufSize int32, params *int64) { - C.glowGetnUniformi64vARB(gpGetnUniformi64vARB, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(bufSize), (*C.GLint64)(unsafe.Pointer(params))) -} -func GetnUniformiv(program uint32, location int32, bufSize int32, params *int32) { - C.glowGetnUniformiv(gpGetnUniformiv, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(bufSize), (*C.GLint)(unsafe.Pointer(params))) -} -func GetnUniformivARB(program uint32, location int32, bufSize int32, params *int32) { - C.glowGetnUniformivARB(gpGetnUniformivARB, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(bufSize), (*C.GLint)(unsafe.Pointer(params))) -} -func GetnUniformivKHR(program uint32, location int32, bufSize int32, params *int32) { - C.glowGetnUniformivKHR(gpGetnUniformivKHR, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(bufSize), (*C.GLint)(unsafe.Pointer(params))) -} -func GetnUniformui64vARB(program uint32, location int32, bufSize int32, params *uint64) { - C.glowGetnUniformui64vARB(gpGetnUniformui64vARB, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(bufSize), (*C.GLuint64)(unsafe.Pointer(params))) -} -func GetnUniformuiv(program uint32, location int32, bufSize int32, params *uint32) { - C.glowGetnUniformuiv(gpGetnUniformuiv, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(bufSize), (*C.GLuint)(unsafe.Pointer(params))) -} -func GetnUniformuivARB(program uint32, location int32, bufSize int32, params *uint32) { - C.glowGetnUniformuivARB(gpGetnUniformuivARB, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(bufSize), (*C.GLuint)(unsafe.Pointer(params))) -} -func GetnUniformuivKHR(program uint32, location int32, bufSize int32, params *uint32) { - C.glowGetnUniformuivKHR(gpGetnUniformuivKHR, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(bufSize), (*C.GLuint)(unsafe.Pointer(params))) -} -func GlobalAlphaFactorbSUN(factor int8) { - C.glowGlobalAlphaFactorbSUN(gpGlobalAlphaFactorbSUN, (C.GLbyte)(factor)) -} -func GlobalAlphaFactordSUN(factor float64) { - C.glowGlobalAlphaFactordSUN(gpGlobalAlphaFactordSUN, (C.GLdouble)(factor)) -} -func GlobalAlphaFactorfSUN(factor float32) { - C.glowGlobalAlphaFactorfSUN(gpGlobalAlphaFactorfSUN, (C.GLfloat)(factor)) -} -func GlobalAlphaFactoriSUN(factor int32) { - C.glowGlobalAlphaFactoriSUN(gpGlobalAlphaFactoriSUN, (C.GLint)(factor)) -} -func GlobalAlphaFactorsSUN(factor int16) { - C.glowGlobalAlphaFactorsSUN(gpGlobalAlphaFactorsSUN, (C.GLshort)(factor)) -} -func GlobalAlphaFactorubSUN(factor uint8) { - C.glowGlobalAlphaFactorubSUN(gpGlobalAlphaFactorubSUN, (C.GLubyte)(factor)) -} -func GlobalAlphaFactoruiSUN(factor uint32) { - C.glowGlobalAlphaFactoruiSUN(gpGlobalAlphaFactoruiSUN, (C.GLuint)(factor)) -} -func GlobalAlphaFactorusSUN(factor uint16) { - C.glowGlobalAlphaFactorusSUN(gpGlobalAlphaFactorusSUN, (C.GLushort)(factor)) -} - -// specify implementation-specific hints -func Hint(target uint32, mode uint32) { - C.glowHint(gpHint, (C.GLenum)(target), (C.GLenum)(mode)) -} -func HintPGI(target uint32, mode int32) { - C.glowHintPGI(gpHintPGI, (C.GLenum)(target), (C.GLint)(mode)) -} -func HistogramEXT(target uint32, width int32, internalformat uint32, sink bool) { - C.glowHistogramEXT(gpHistogramEXT, (C.GLenum)(target), (C.GLsizei)(width), (C.GLenum)(internalformat), (C.GLboolean)(boolToInt(sink))) -} -func IglooInterfaceSGIX(pname uint32, params unsafe.Pointer) { - C.glowIglooInterfaceSGIX(gpIglooInterfaceSGIX, (C.GLenum)(pname), params) -} -func ImageTransformParameterfHP(target uint32, pname uint32, param float32) { - C.glowImageTransformParameterfHP(gpImageTransformParameterfHP, (C.GLenum)(target), (C.GLenum)(pname), (C.GLfloat)(param)) -} -func ImageTransformParameterfvHP(target uint32, pname uint32, params *float32) { - C.glowImageTransformParameterfvHP(gpImageTransformParameterfvHP, (C.GLenum)(target), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func ImageTransformParameteriHP(target uint32, pname uint32, param int32) { - C.glowImageTransformParameteriHP(gpImageTransformParameteriHP, (C.GLenum)(target), (C.GLenum)(pname), (C.GLint)(param)) -} -func ImageTransformParameterivHP(target uint32, pname uint32, params *int32) { - C.glowImageTransformParameterivHP(gpImageTransformParameterivHP, (C.GLenum)(target), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func ImportMemoryFdEXT(memory uint32, size uint64, handleType uint32, fd int32) { - C.glowImportMemoryFdEXT(gpImportMemoryFdEXT, (C.GLuint)(memory), (C.GLuint64)(size), (C.GLenum)(handleType), (C.GLint)(fd)) -} -func ImportMemoryWin32HandleEXT(memory uint32, size uint64, handleType uint32, handle unsafe.Pointer) { - C.glowImportMemoryWin32HandleEXT(gpImportMemoryWin32HandleEXT, (C.GLuint)(memory), (C.GLuint64)(size), (C.GLenum)(handleType), handle) -} -func ImportMemoryWin32NameEXT(memory uint32, size uint64, handleType uint32, name unsafe.Pointer) { - C.glowImportMemoryWin32NameEXT(gpImportMemoryWin32NameEXT, (C.GLuint)(memory), (C.GLuint64)(size), (C.GLenum)(handleType), name) -} -func ImportSemaphoreFdEXT(semaphore uint32, handleType uint32, fd int32) { - C.glowImportSemaphoreFdEXT(gpImportSemaphoreFdEXT, (C.GLuint)(semaphore), (C.GLenum)(handleType), (C.GLint)(fd)) -} -func ImportSemaphoreWin32HandleEXT(semaphore uint32, handleType uint32, handle unsafe.Pointer) { - C.glowImportSemaphoreWin32HandleEXT(gpImportSemaphoreWin32HandleEXT, (C.GLuint)(semaphore), (C.GLenum)(handleType), handle) -} -func ImportSemaphoreWin32NameEXT(semaphore uint32, handleType uint32, name unsafe.Pointer) { - C.glowImportSemaphoreWin32NameEXT(gpImportSemaphoreWin32NameEXT, (C.GLuint)(semaphore), (C.GLenum)(handleType), name) -} -func ImportSyncEXT(external_sync_type uint32, external_sync int, flags uint32) uintptr { - ret := C.glowImportSyncEXT(gpImportSyncEXT, (C.GLenum)(external_sync_type), (C.GLintptr)(external_sync), (C.GLbitfield)(flags)) - return (uintptr)(ret) -} -func IndexFormatNV(xtype uint32, stride int32) { - C.glowIndexFormatNV(gpIndexFormatNV, (C.GLenum)(xtype), (C.GLsizei)(stride)) -} -func IndexFuncEXT(xfunc uint32, ref float32) { - C.glowIndexFuncEXT(gpIndexFuncEXT, (C.GLenum)(xfunc), (C.GLclampf)(ref)) -} - -// control the writing of individual bits in the color index buffers -func IndexMask(mask uint32) { - C.glowIndexMask(gpIndexMask, (C.GLuint)(mask)) -} -func IndexMaterialEXT(face uint32, mode uint32) { - C.glowIndexMaterialEXT(gpIndexMaterialEXT, (C.GLenum)(face), (C.GLenum)(mode)) -} - -// define an array of color indexes -func IndexPointer(xtype uint32, stride int32, pointer unsafe.Pointer) { - C.glowIndexPointer(gpIndexPointer, (C.GLenum)(xtype), (C.GLsizei)(stride), pointer) -} -func IndexPointerEXT(xtype uint32, stride int32, count int32, pointer unsafe.Pointer) { - C.glowIndexPointerEXT(gpIndexPointerEXT, (C.GLenum)(xtype), (C.GLsizei)(stride), (C.GLsizei)(count), pointer) -} -func IndexPointerListIBM(xtype uint32, stride int32, pointer *unsafe.Pointer, ptrstride int32) { - C.glowIndexPointerListIBM(gpIndexPointerListIBM, (C.GLenum)(xtype), (C.GLint)(stride), pointer, (C.GLint)(ptrstride)) -} -func Indexd(c float64) { - C.glowIndexd(gpIndexd, (C.GLdouble)(c)) -} -func Indexdv(c *float64) { - C.glowIndexdv(gpIndexdv, (*C.GLdouble)(unsafe.Pointer(c))) -} -func Indexf(c float32) { - C.glowIndexf(gpIndexf, (C.GLfloat)(c)) -} -func Indexfv(c *float32) { - C.glowIndexfv(gpIndexfv, (*C.GLfloat)(unsafe.Pointer(c))) -} -func Indexi(c int32) { - C.glowIndexi(gpIndexi, (C.GLint)(c)) -} -func Indexiv(c *int32) { - C.glowIndexiv(gpIndexiv, (*C.GLint)(unsafe.Pointer(c))) -} -func Indexs(c int16) { - C.glowIndexs(gpIndexs, (C.GLshort)(c)) -} -func Indexsv(c *int16) { - C.glowIndexsv(gpIndexsv, (*C.GLshort)(unsafe.Pointer(c))) -} -func Indexub(c uint8) { - C.glowIndexub(gpIndexub, (C.GLubyte)(c)) -} -func Indexubv(c *uint8) { - C.glowIndexubv(gpIndexubv, (*C.GLubyte)(unsafe.Pointer(c))) -} -func IndexxOES(component int32) { - C.glowIndexxOES(gpIndexxOES, (C.GLfixed)(component)) -} -func IndexxvOES(component *int32) { - C.glowIndexxvOES(gpIndexxvOES, (*C.GLfixed)(unsafe.Pointer(component))) -} - -// initialize the name stack -func InitNames() { - C.glowInitNames(gpInitNames) -} -func InsertComponentEXT(res uint32, src uint32, num uint32) { - C.glowInsertComponentEXT(gpInsertComponentEXT, (C.GLuint)(res), (C.GLuint)(src), (C.GLuint)(num)) -} -func InsertEventMarkerEXT(length int32, marker *uint8) { - C.glowInsertEventMarkerEXT(gpInsertEventMarkerEXT, (C.GLsizei)(length), (*C.GLchar)(unsafe.Pointer(marker))) -} -func InstrumentsBufferSGIX(size int32, buffer *int32) { - C.glowInstrumentsBufferSGIX(gpInstrumentsBufferSGIX, (C.GLsizei)(size), (*C.GLint)(unsafe.Pointer(buffer))) -} - -// simultaneously specify and enable several interleaved arrays -func InterleavedArrays(format uint32, stride int32, pointer unsafe.Pointer) { - C.glowInterleavedArrays(gpInterleavedArrays, (C.GLenum)(format), (C.GLsizei)(stride), pointer) -} -func InterpolatePathsNV(resultPath uint32, pathA uint32, pathB uint32, weight float32) { - C.glowInterpolatePathsNV(gpInterpolatePathsNV, (C.GLuint)(resultPath), (C.GLuint)(pathA), (C.GLuint)(pathB), (C.GLfloat)(weight)) -} - -// invalidate the content of a buffer object's data store -func InvalidateBufferData(buffer uint32) { - C.glowInvalidateBufferData(gpInvalidateBufferData, (C.GLuint)(buffer)) -} - -// invalidate a region of a buffer object's data store -func InvalidateBufferSubData(buffer uint32, offset int, length int) { - C.glowInvalidateBufferSubData(gpInvalidateBufferSubData, (C.GLuint)(buffer), (C.GLintptr)(offset), (C.GLsizeiptr)(length)) -} - -// invalidate the content of some or all of a framebuffer's attachments -func InvalidateFramebuffer(target uint32, numAttachments int32, attachments *uint32) { - C.glowInvalidateFramebuffer(gpInvalidateFramebuffer, (C.GLenum)(target), (C.GLsizei)(numAttachments), (*C.GLenum)(unsafe.Pointer(attachments))) -} - -// invalidate the content of some or all of a framebuffer's attachments -func InvalidateNamedFramebufferData(framebuffer uint32, numAttachments int32, attachments *uint32) { - C.glowInvalidateNamedFramebufferData(gpInvalidateNamedFramebufferData, (C.GLuint)(framebuffer), (C.GLsizei)(numAttachments), (*C.GLenum)(unsafe.Pointer(attachments))) -} - -// invalidate the content of a region of some or all of a framebuffer's attachments -func InvalidateNamedFramebufferSubData(framebuffer uint32, numAttachments int32, attachments *uint32, x int32, y int32, width int32, height int32) { - C.glowInvalidateNamedFramebufferSubData(gpInvalidateNamedFramebufferSubData, (C.GLuint)(framebuffer), (C.GLsizei)(numAttachments), (*C.GLenum)(unsafe.Pointer(attachments)), (C.GLint)(x), (C.GLint)(y), (C.GLsizei)(width), (C.GLsizei)(height)) -} - -// invalidate the content of a region of some or all of a framebuffer's attachments -func InvalidateSubFramebuffer(target uint32, numAttachments int32, attachments *uint32, x int32, y int32, width int32, height int32) { - C.glowInvalidateSubFramebuffer(gpInvalidateSubFramebuffer, (C.GLenum)(target), (C.GLsizei)(numAttachments), (*C.GLenum)(unsafe.Pointer(attachments)), (C.GLint)(x), (C.GLint)(y), (C.GLsizei)(width), (C.GLsizei)(height)) -} - -// invalidate the entirety a texture image -func InvalidateTexImage(texture uint32, level int32) { - C.glowInvalidateTexImage(gpInvalidateTexImage, (C.GLuint)(texture), (C.GLint)(level)) -} - -// invalidate a region of a texture image -func InvalidateTexSubImage(texture uint32, level int32, xoffset int32, yoffset int32, zoffset int32, width int32, height int32, depth int32) { - C.glowInvalidateTexSubImage(gpInvalidateTexSubImage, (C.GLuint)(texture), (C.GLint)(level), (C.GLint)(xoffset), (C.GLint)(yoffset), (C.GLint)(zoffset), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLsizei)(depth)) -} -func IsAsyncMarkerSGIX(marker uint32) bool { - ret := C.glowIsAsyncMarkerSGIX(gpIsAsyncMarkerSGIX, (C.GLuint)(marker)) - return ret == TRUE -} - -// determine if a name corresponds to a buffer object -func IsBuffer(buffer uint32) bool { - ret := C.glowIsBuffer(gpIsBuffer, (C.GLuint)(buffer)) - return ret == TRUE -} -func IsBufferARB(buffer uint32) bool { - ret := C.glowIsBufferARB(gpIsBufferARB, (C.GLuint)(buffer)) - return ret == TRUE -} -func IsBufferResidentNV(target uint32) bool { - ret := C.glowIsBufferResidentNV(gpIsBufferResidentNV, (C.GLenum)(target)) - return ret == TRUE -} -func IsCommandListNV(list uint32) bool { - ret := C.glowIsCommandListNV(gpIsCommandListNV, (C.GLuint)(list)) - return ret == TRUE -} -func IsEnabled(cap uint32) bool { - ret := C.glowIsEnabled(gpIsEnabled, (C.GLenum)(cap)) - return ret == TRUE -} -func IsEnabledIndexedEXT(target uint32, index uint32) bool { - ret := C.glowIsEnabledIndexedEXT(gpIsEnabledIndexedEXT, (C.GLenum)(target), (C.GLuint)(index)) - return ret == TRUE -} -func IsFenceAPPLE(fence uint32) bool { - ret := C.glowIsFenceAPPLE(gpIsFenceAPPLE, (C.GLuint)(fence)) - return ret == TRUE -} -func IsFenceNV(fence uint32) bool { - ret := C.glowIsFenceNV(gpIsFenceNV, (C.GLuint)(fence)) - return ret == TRUE -} - -// determine if a name corresponds to a framebuffer object -func IsFramebuffer(framebuffer uint32) bool { - ret := C.glowIsFramebuffer(gpIsFramebuffer, (C.GLuint)(framebuffer)) - return ret == TRUE -} func IsFramebufferEXT(framebuffer uint32) bool { ret := C.glowIsFramebufferEXT(gpIsFramebufferEXT, (C.GLuint)(framebuffer)) return ret == TRUE } -func IsImageHandleResidentARB(handle uint64) bool { - ret := C.glowIsImageHandleResidentARB(gpIsImageHandleResidentARB, (C.GLuint64)(handle)) - return ret == TRUE -} -func IsImageHandleResidentNV(handle uint64) bool { - ret := C.glowIsImageHandleResidentNV(gpIsImageHandleResidentNV, (C.GLuint64)(handle)) - return ret == TRUE -} -// determine if a name corresponds to a display list -func IsList(list uint32) bool { - ret := C.glowIsList(gpIsList, (C.GLuint)(list)) - return ret == TRUE -} -func IsMemoryObjectEXT(memoryObject uint32) bool { - ret := C.glowIsMemoryObjectEXT(gpIsMemoryObjectEXT, (C.GLuint)(memoryObject)) - return ret == TRUE -} -func IsNameAMD(identifier uint32, name uint32) bool { - ret := C.glowIsNameAMD(gpIsNameAMD, (C.GLenum)(identifier), (C.GLuint)(name)) - return ret == TRUE -} -func IsNamedBufferResidentNV(buffer uint32) bool { - ret := C.glowIsNamedBufferResidentNV(gpIsNamedBufferResidentNV, (C.GLuint)(buffer)) - return ret == TRUE -} -func IsNamedStringARB(namelen int32, name *uint8) bool { - ret := C.glowIsNamedStringARB(gpIsNamedStringARB, (C.GLint)(namelen), (*C.GLchar)(unsafe.Pointer(name))) - return ret == TRUE -} -func IsObjectBufferATI(buffer uint32) bool { - ret := C.glowIsObjectBufferATI(gpIsObjectBufferATI, (C.GLuint)(buffer)) - return ret == TRUE -} -func IsOcclusionQueryNV(id uint32) bool { - ret := C.glowIsOcclusionQueryNV(gpIsOcclusionQueryNV, (C.GLuint)(id)) - return ret == TRUE -} -func IsPathNV(path uint32) bool { - ret := C.glowIsPathNV(gpIsPathNV, (C.GLuint)(path)) - return ret == TRUE -} -func IsPointInFillPathNV(path uint32, mask uint32, x float32, y float32) bool { - ret := C.glowIsPointInFillPathNV(gpIsPointInFillPathNV, (C.GLuint)(path), (C.GLuint)(mask), (C.GLfloat)(x), (C.GLfloat)(y)) - return ret == TRUE -} -func IsPointInStrokePathNV(path uint32, x float32, y float32) bool { - ret := C.glowIsPointInStrokePathNV(gpIsPointInStrokePathNV, (C.GLuint)(path), (C.GLfloat)(x), (C.GLfloat)(y)) - return ret == TRUE -} - -// Determines if a name corresponds to a program object func IsProgram(program uint32) bool { ret := C.glowIsProgram(gpIsProgram, (C.GLuint)(program)) return ret == TRUE } -func IsProgramARB(program uint32) bool { - ret := C.glowIsProgramARB(gpIsProgramARB, (C.GLuint)(program)) - return ret == TRUE -} -func IsProgramNV(id uint32) bool { - ret := C.glowIsProgramNV(gpIsProgramNV, (C.GLuint)(id)) - return ret == TRUE -} -// determine if a name corresponds to a program pipeline object -func IsProgramPipeline(pipeline uint32) bool { - ret := C.glowIsProgramPipeline(gpIsProgramPipeline, (C.GLuint)(pipeline)) - return ret == TRUE -} -func IsProgramPipelineEXT(pipeline uint32) bool { - ret := C.glowIsProgramPipelineEXT(gpIsProgramPipelineEXT, (C.GLuint)(pipeline)) - return ret == TRUE -} - -// determine if a name corresponds to a query object -func IsQuery(id uint32) bool { - ret := C.glowIsQuery(gpIsQuery, (C.GLuint)(id)) - return ret == TRUE -} -func IsQueryARB(id uint32) bool { - ret := C.glowIsQueryARB(gpIsQueryARB, (C.GLuint)(id)) - return ret == TRUE -} - -// determine if a name corresponds to a renderbuffer object -func IsRenderbuffer(renderbuffer uint32) bool { - ret := C.glowIsRenderbuffer(gpIsRenderbuffer, (C.GLuint)(renderbuffer)) - return ret == TRUE -} -func IsRenderbufferEXT(renderbuffer uint32) bool { - ret := C.glowIsRenderbufferEXT(gpIsRenderbufferEXT, (C.GLuint)(renderbuffer)) - return ret == TRUE -} - -// determine if a name corresponds to a sampler object -func IsSampler(sampler uint32) bool { - ret := C.glowIsSampler(gpIsSampler, (C.GLuint)(sampler)) - return ret == TRUE -} -func IsSemaphoreEXT(semaphore uint32) bool { - ret := C.glowIsSemaphoreEXT(gpIsSemaphoreEXT, (C.GLuint)(semaphore)) - return ret == TRUE -} - -// Determines if a name corresponds to a shader object -func IsShader(shader uint32) bool { - ret := C.glowIsShader(gpIsShader, (C.GLuint)(shader)) - return ret == TRUE -} -func IsStateNV(state uint32) bool { - ret := C.glowIsStateNV(gpIsStateNV, (C.GLuint)(state)) - return ret == TRUE -} - -// determine if a name corresponds to a sync object -func IsSync(sync uintptr) bool { - ret := C.glowIsSync(gpIsSync, (C.GLsync)(sync)) - return ret == TRUE -} - -// determine if a name corresponds to a texture func IsTexture(texture uint32) bool { ret := C.glowIsTexture(gpIsTexture, (C.GLuint)(texture)) return ret == TRUE } -func IsTextureEXT(texture uint32) bool { - ret := C.glowIsTextureEXT(gpIsTextureEXT, (C.GLuint)(texture)) - return ret == TRUE -} -func IsTextureHandleResidentARB(handle uint64) bool { - ret := C.glowIsTextureHandleResidentARB(gpIsTextureHandleResidentARB, (C.GLuint64)(handle)) - return ret == TRUE -} -func IsTextureHandleResidentNV(handle uint64) bool { - ret := C.glowIsTextureHandleResidentNV(gpIsTextureHandleResidentNV, (C.GLuint64)(handle)) - return ret == TRUE -} -// determine if a name corresponds to a transform feedback object -func IsTransformFeedback(id uint32) bool { - ret := C.glowIsTransformFeedback(gpIsTransformFeedback, (C.GLuint)(id)) - return ret == TRUE -} -func IsTransformFeedbackNV(id uint32) bool { - ret := C.glowIsTransformFeedbackNV(gpIsTransformFeedbackNV, (C.GLuint)(id)) - return ret == TRUE -} -func IsVariantEnabledEXT(id uint32, cap uint32) bool { - ret := C.glowIsVariantEnabledEXT(gpIsVariantEnabledEXT, (C.GLuint)(id), (C.GLenum)(cap)) - return ret == TRUE -} - -// determine if a name corresponds to a vertex array object -func IsVertexArray(array uint32) bool { - ret := C.glowIsVertexArray(gpIsVertexArray, (C.GLuint)(array)) - return ret == TRUE -} -func IsVertexArrayAPPLE(array uint32) bool { - ret := C.glowIsVertexArrayAPPLE(gpIsVertexArrayAPPLE, (C.GLuint)(array)) - return ret == TRUE -} -func IsVertexAttribEnabledAPPLE(index uint32, pname uint32) bool { - ret := C.glowIsVertexAttribEnabledAPPLE(gpIsVertexAttribEnabledAPPLE, (C.GLuint)(index), (C.GLenum)(pname)) - return ret == TRUE -} -func LGPUCopyImageSubDataNVX(sourceGpu uint32, destinationGpuMask uint32, srcName uint32, srcTarget uint32, srcLevel int32, srcX int32, srxY int32, srcZ int32, dstName uint32, dstTarget uint32, dstLevel int32, dstX int32, dstY int32, dstZ int32, width int32, height int32, depth int32) { - C.glowLGPUCopyImageSubDataNVX(gpLGPUCopyImageSubDataNVX, (C.GLuint)(sourceGpu), (C.GLbitfield)(destinationGpuMask), (C.GLuint)(srcName), (C.GLenum)(srcTarget), (C.GLint)(srcLevel), (C.GLint)(srcX), (C.GLint)(srxY), (C.GLint)(srcZ), (C.GLuint)(dstName), (C.GLenum)(dstTarget), (C.GLint)(dstLevel), (C.GLint)(dstX), (C.GLint)(dstY), (C.GLint)(dstZ), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLsizei)(depth)) -} -func LGPUInterlockNVX() { - C.glowLGPUInterlockNVX(gpLGPUInterlockNVX) -} -func LGPUNamedBufferSubDataNVX(gpuMask uint32, buffer uint32, offset int, size int, data unsafe.Pointer) { - C.glowLGPUNamedBufferSubDataNVX(gpLGPUNamedBufferSubDataNVX, (C.GLbitfield)(gpuMask), (C.GLuint)(buffer), (C.GLintptr)(offset), (C.GLsizeiptr)(size), data) -} -func LabelObjectEXT(xtype uint32, object uint32, length int32, label *uint8) { - C.glowLabelObjectEXT(gpLabelObjectEXT, (C.GLenum)(xtype), (C.GLuint)(object), (C.GLsizei)(length), (*C.GLchar)(unsafe.Pointer(label))) -} -func LightEnviSGIX(pname uint32, param int32) { - C.glowLightEnviSGIX(gpLightEnviSGIX, (C.GLenum)(pname), (C.GLint)(param)) -} -func LightModelf(pname uint32, param float32) { - C.glowLightModelf(gpLightModelf, (C.GLenum)(pname), (C.GLfloat)(param)) -} -func LightModelfv(pname uint32, params *float32) { - C.glowLightModelfv(gpLightModelfv, (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func LightModeli(pname uint32, param int32) { - C.glowLightModeli(gpLightModeli, (C.GLenum)(pname), (C.GLint)(param)) -} -func LightModeliv(pname uint32, params *int32) { - C.glowLightModeliv(gpLightModeliv, (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func LightModelxOES(pname uint32, param int32) { - C.glowLightModelxOES(gpLightModelxOES, (C.GLenum)(pname), (C.GLfixed)(param)) -} -func LightModelxvOES(pname uint32, param *int32) { - C.glowLightModelxvOES(gpLightModelxvOES, (C.GLenum)(pname), (*C.GLfixed)(unsafe.Pointer(param))) -} -func Lightf(light uint32, pname uint32, param float32) { - C.glowLightf(gpLightf, (C.GLenum)(light), (C.GLenum)(pname), (C.GLfloat)(param)) -} -func Lightfv(light uint32, pname uint32, params *float32) { - C.glowLightfv(gpLightfv, (C.GLenum)(light), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func Lighti(light uint32, pname uint32, param int32) { - C.glowLighti(gpLighti, (C.GLenum)(light), (C.GLenum)(pname), (C.GLint)(param)) -} -func Lightiv(light uint32, pname uint32, params *int32) { - C.glowLightiv(gpLightiv, (C.GLenum)(light), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func LightxOES(light uint32, pname uint32, param int32) { - C.glowLightxOES(gpLightxOES, (C.GLenum)(light), (C.GLenum)(pname), (C.GLfixed)(param)) -} -func LightxvOES(light uint32, pname uint32, params *int32) { - C.glowLightxvOES(gpLightxvOES, (C.GLenum)(light), (C.GLenum)(pname), (*C.GLfixed)(unsafe.Pointer(params))) -} - -// specify the line stipple pattern -func LineStipple(factor int32, pattern uint16) { - C.glowLineStipple(gpLineStipple, (C.GLint)(factor), (C.GLushort)(pattern)) -} - -// specify the width of rasterized lines -func LineWidth(width float32) { - C.glowLineWidth(gpLineWidth, (C.GLfloat)(width)) -} -func LineWidthxOES(width int32) { - C.glowLineWidthxOES(gpLineWidthxOES, (C.GLfixed)(width)) -} - -// Links a program object func LinkProgram(program uint32) { C.glowLinkProgram(gpLinkProgram, (C.GLuint)(program)) } -func LinkProgramARB(programObj uintptr) { - C.glowLinkProgramARB(gpLinkProgramARB, (C.GLhandleARB)(programObj)) -} -// set the display-list base for -func ListBase(base uint32) { - C.glowListBase(gpListBase, (C.GLuint)(base)) -} -func ListDrawCommandsStatesClientNV(list uint32, segment uint32, indirects *unsafe.Pointer, sizes *int32, states *uint32, fbos *uint32, count uint32) { - C.glowListDrawCommandsStatesClientNV(gpListDrawCommandsStatesClientNV, (C.GLuint)(list), (C.GLuint)(segment), indirects, (*C.GLsizei)(unsafe.Pointer(sizes)), (*C.GLuint)(unsafe.Pointer(states)), (*C.GLuint)(unsafe.Pointer(fbos)), (C.GLuint)(count)) -} -func ListParameterfSGIX(list uint32, pname uint32, param float32) { - C.glowListParameterfSGIX(gpListParameterfSGIX, (C.GLuint)(list), (C.GLenum)(pname), (C.GLfloat)(param)) -} -func ListParameterfvSGIX(list uint32, pname uint32, params *float32) { - C.glowListParameterfvSGIX(gpListParameterfvSGIX, (C.GLuint)(list), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func ListParameteriSGIX(list uint32, pname uint32, param int32) { - C.glowListParameteriSGIX(gpListParameteriSGIX, (C.GLuint)(list), (C.GLenum)(pname), (C.GLint)(param)) -} -func ListParameterivSGIX(list uint32, pname uint32, params *int32) { - C.glowListParameterivSGIX(gpListParameterivSGIX, (C.GLuint)(list), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} - -// replace the current matrix with the identity matrix -func LoadIdentity() { - C.glowLoadIdentity(gpLoadIdentity) -} -func LoadIdentityDeformationMapSGIX(mask uint32) { - C.glowLoadIdentityDeformationMapSGIX(gpLoadIdentityDeformationMapSGIX, (C.GLbitfield)(mask)) -} -func LoadMatrixd(m *float64) { - C.glowLoadMatrixd(gpLoadMatrixd, (*C.GLdouble)(unsafe.Pointer(m))) -} -func LoadMatrixf(m *float32) { - C.glowLoadMatrixf(gpLoadMatrixf, (*C.GLfloat)(unsafe.Pointer(m))) -} -func LoadMatrixxOES(m *int32) { - C.glowLoadMatrixxOES(gpLoadMatrixxOES, (*C.GLfixed)(unsafe.Pointer(m))) -} - -// load a name onto the name stack -func LoadName(name uint32) { - C.glowLoadName(gpLoadName, (C.GLuint)(name)) -} -func LoadProgramNV(target uint32, id uint32, len int32, program *uint8) { - C.glowLoadProgramNV(gpLoadProgramNV, (C.GLenum)(target), (C.GLuint)(id), (C.GLsizei)(len), (*C.GLubyte)(unsafe.Pointer(program))) -} -func LoadTransposeMatrixd(m *float64) { - C.glowLoadTransposeMatrixd(gpLoadTransposeMatrixd, (*C.GLdouble)(unsafe.Pointer(m))) -} -func LoadTransposeMatrixdARB(m *float64) { - C.glowLoadTransposeMatrixdARB(gpLoadTransposeMatrixdARB, (*C.GLdouble)(unsafe.Pointer(m))) -} -func LoadTransposeMatrixf(m *float32) { - C.glowLoadTransposeMatrixf(gpLoadTransposeMatrixf, (*C.GLfloat)(unsafe.Pointer(m))) -} -func LoadTransposeMatrixfARB(m *float32) { - C.glowLoadTransposeMatrixfARB(gpLoadTransposeMatrixfARB, (*C.GLfloat)(unsafe.Pointer(m))) -} -func LoadTransposeMatrixxOES(m *int32) { - C.glowLoadTransposeMatrixxOES(gpLoadTransposeMatrixxOES, (*C.GLfixed)(unsafe.Pointer(m))) -} -func LockArraysEXT(first int32, count int32) { - C.glowLockArraysEXT(gpLockArraysEXT, (C.GLint)(first), (C.GLsizei)(count)) -} - -// specify a logical pixel operation for rendering -func LogicOp(opcode uint32) { - C.glowLogicOp(gpLogicOp, (C.GLenum)(opcode)) -} -func MakeBufferNonResidentNV(target uint32) { - C.glowMakeBufferNonResidentNV(gpMakeBufferNonResidentNV, (C.GLenum)(target)) -} -func MakeBufferResidentNV(target uint32, access uint32) { - C.glowMakeBufferResidentNV(gpMakeBufferResidentNV, (C.GLenum)(target), (C.GLenum)(access)) -} -func MakeImageHandleNonResidentARB(handle uint64) { - C.glowMakeImageHandleNonResidentARB(gpMakeImageHandleNonResidentARB, (C.GLuint64)(handle)) -} -func MakeImageHandleNonResidentNV(handle uint64) { - C.glowMakeImageHandleNonResidentNV(gpMakeImageHandleNonResidentNV, (C.GLuint64)(handle)) -} -func MakeImageHandleResidentARB(handle uint64, access uint32) { - C.glowMakeImageHandleResidentARB(gpMakeImageHandleResidentARB, (C.GLuint64)(handle), (C.GLenum)(access)) -} -func MakeImageHandleResidentNV(handle uint64, access uint32) { - C.glowMakeImageHandleResidentNV(gpMakeImageHandleResidentNV, (C.GLuint64)(handle), (C.GLenum)(access)) -} -func MakeNamedBufferNonResidentNV(buffer uint32) { - C.glowMakeNamedBufferNonResidentNV(gpMakeNamedBufferNonResidentNV, (C.GLuint)(buffer)) -} -func MakeNamedBufferResidentNV(buffer uint32, access uint32) { - C.glowMakeNamedBufferResidentNV(gpMakeNamedBufferResidentNV, (C.GLuint)(buffer), (C.GLenum)(access)) -} -func MakeTextureHandleNonResidentARB(handle uint64) { - C.glowMakeTextureHandleNonResidentARB(gpMakeTextureHandleNonResidentARB, (C.GLuint64)(handle)) -} -func MakeTextureHandleNonResidentNV(handle uint64) { - C.glowMakeTextureHandleNonResidentNV(gpMakeTextureHandleNonResidentNV, (C.GLuint64)(handle)) -} -func MakeTextureHandleResidentARB(handle uint64) { - C.glowMakeTextureHandleResidentARB(gpMakeTextureHandleResidentARB, (C.GLuint64)(handle)) -} -func MakeTextureHandleResidentNV(handle uint64) { - C.glowMakeTextureHandleResidentNV(gpMakeTextureHandleResidentNV, (C.GLuint64)(handle)) -} -func Map1d(target uint32, u1 float64, u2 float64, stride int32, order int32, points *float64) { - C.glowMap1d(gpMap1d, (C.GLenum)(target), (C.GLdouble)(u1), (C.GLdouble)(u2), (C.GLint)(stride), (C.GLint)(order), (*C.GLdouble)(unsafe.Pointer(points))) -} -func Map1f(target uint32, u1 float32, u2 float32, stride int32, order int32, points *float32) { - C.glowMap1f(gpMap1f, (C.GLenum)(target), (C.GLfloat)(u1), (C.GLfloat)(u2), (C.GLint)(stride), (C.GLint)(order), (*C.GLfloat)(unsafe.Pointer(points))) -} -func Map1xOES(target uint32, u1 int32, u2 int32, stride int32, order int32, points int32) { - C.glowMap1xOES(gpMap1xOES, (C.GLenum)(target), (C.GLfixed)(u1), (C.GLfixed)(u2), (C.GLint)(stride), (C.GLint)(order), (C.GLfixed)(points)) -} -func Map2d(target uint32, u1 float64, u2 float64, ustride int32, uorder int32, v1 float64, v2 float64, vstride int32, vorder int32, points *float64) { - C.glowMap2d(gpMap2d, (C.GLenum)(target), (C.GLdouble)(u1), (C.GLdouble)(u2), (C.GLint)(ustride), (C.GLint)(uorder), (C.GLdouble)(v1), (C.GLdouble)(v2), (C.GLint)(vstride), (C.GLint)(vorder), (*C.GLdouble)(unsafe.Pointer(points))) -} -func Map2f(target uint32, u1 float32, u2 float32, ustride int32, uorder int32, v1 float32, v2 float32, vstride int32, vorder int32, points *float32) { - C.glowMap2f(gpMap2f, (C.GLenum)(target), (C.GLfloat)(u1), (C.GLfloat)(u2), (C.GLint)(ustride), (C.GLint)(uorder), (C.GLfloat)(v1), (C.GLfloat)(v2), (C.GLint)(vstride), (C.GLint)(vorder), (*C.GLfloat)(unsafe.Pointer(points))) -} -func Map2xOES(target uint32, u1 int32, u2 int32, ustride int32, uorder int32, v1 int32, v2 int32, vstride int32, vorder int32, points int32) { - C.glowMap2xOES(gpMap2xOES, (C.GLenum)(target), (C.GLfixed)(u1), (C.GLfixed)(u2), (C.GLint)(ustride), (C.GLint)(uorder), (C.GLfixed)(v1), (C.GLfixed)(v2), (C.GLint)(vstride), (C.GLint)(vorder), (C.GLfixed)(points)) -} - -// map all of a buffer object's data store into the client's address space -func MapBuffer(target uint32, access uint32) unsafe.Pointer { - ret := C.glowMapBuffer(gpMapBuffer, (C.GLenum)(target), (C.GLenum)(access)) - return (unsafe.Pointer)(ret) -} -func MapBufferARB(target uint32, access uint32) unsafe.Pointer { - ret := C.glowMapBufferARB(gpMapBufferARB, (C.GLenum)(target), (C.GLenum)(access)) - return (unsafe.Pointer)(ret) -} - -// map all or part of a buffer object's data store into the client's address space -func MapBufferRange(target uint32, offset int, length int, access uint32) unsafe.Pointer { - ret := C.glowMapBufferRange(gpMapBufferRange, (C.GLenum)(target), (C.GLintptr)(offset), (C.GLsizeiptr)(length), (C.GLbitfield)(access)) - return (unsafe.Pointer)(ret) -} -func MapControlPointsNV(target uint32, index uint32, xtype uint32, ustride int32, vstride int32, uorder int32, vorder int32, packed bool, points unsafe.Pointer) { - C.glowMapControlPointsNV(gpMapControlPointsNV, (C.GLenum)(target), (C.GLuint)(index), (C.GLenum)(xtype), (C.GLsizei)(ustride), (C.GLsizei)(vstride), (C.GLint)(uorder), (C.GLint)(vorder), (C.GLboolean)(boolToInt(packed)), points) -} -func MapGrid1d(un int32, u1 float64, u2 float64) { - C.glowMapGrid1d(gpMapGrid1d, (C.GLint)(un), (C.GLdouble)(u1), (C.GLdouble)(u2)) -} -func MapGrid1f(un int32, u1 float32, u2 float32) { - C.glowMapGrid1f(gpMapGrid1f, (C.GLint)(un), (C.GLfloat)(u1), (C.GLfloat)(u2)) -} -func MapGrid1xOES(n int32, u1 int32, u2 int32) { - C.glowMapGrid1xOES(gpMapGrid1xOES, (C.GLint)(n), (C.GLfixed)(u1), (C.GLfixed)(u2)) -} -func MapGrid2d(un int32, u1 float64, u2 float64, vn int32, v1 float64, v2 float64) { - C.glowMapGrid2d(gpMapGrid2d, (C.GLint)(un), (C.GLdouble)(u1), (C.GLdouble)(u2), (C.GLint)(vn), (C.GLdouble)(v1), (C.GLdouble)(v2)) -} -func MapGrid2f(un int32, u1 float32, u2 float32, vn int32, v1 float32, v2 float32) { - C.glowMapGrid2f(gpMapGrid2f, (C.GLint)(un), (C.GLfloat)(u1), (C.GLfloat)(u2), (C.GLint)(vn), (C.GLfloat)(v1), (C.GLfloat)(v2)) -} -func MapGrid2xOES(n int32, u1 int32, u2 int32, v1 int32, v2 int32) { - C.glowMapGrid2xOES(gpMapGrid2xOES, (C.GLint)(n), (C.GLfixed)(u1), (C.GLfixed)(u2), (C.GLfixed)(v1), (C.GLfixed)(v2)) -} - -// map all of a buffer object's data store into the client's address space -func MapNamedBuffer(buffer uint32, access uint32) unsafe.Pointer { - ret := C.glowMapNamedBuffer(gpMapNamedBuffer, (C.GLuint)(buffer), (C.GLenum)(access)) - return (unsafe.Pointer)(ret) -} -func MapNamedBufferEXT(buffer uint32, access uint32) unsafe.Pointer { - ret := C.glowMapNamedBufferEXT(gpMapNamedBufferEXT, (C.GLuint)(buffer), (C.GLenum)(access)) - return (unsafe.Pointer)(ret) -} - -// map all or part of a buffer object's data store into the client's address space -func MapNamedBufferRange(buffer uint32, offset int, length int, access uint32) unsafe.Pointer { - ret := C.glowMapNamedBufferRange(gpMapNamedBufferRange, (C.GLuint)(buffer), (C.GLintptr)(offset), (C.GLsizeiptr)(length), (C.GLbitfield)(access)) - return (unsafe.Pointer)(ret) -} -func MapNamedBufferRangeEXT(buffer uint32, offset int, length int, access uint32) unsafe.Pointer { - ret := C.glowMapNamedBufferRangeEXT(gpMapNamedBufferRangeEXT, (C.GLuint)(buffer), (C.GLintptr)(offset), (C.GLsizeiptr)(length), (C.GLbitfield)(access)) - return (unsafe.Pointer)(ret) -} -func MapObjectBufferATI(buffer uint32) unsafe.Pointer { - ret := C.glowMapObjectBufferATI(gpMapObjectBufferATI, (C.GLuint)(buffer)) - return (unsafe.Pointer)(ret) -} -func MapParameterfvNV(target uint32, pname uint32, params *float32) { - C.glowMapParameterfvNV(gpMapParameterfvNV, (C.GLenum)(target), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func MapParameterivNV(target uint32, pname uint32, params *int32) { - C.glowMapParameterivNV(gpMapParameterivNV, (C.GLenum)(target), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func MapTexture2DINTEL(texture uint32, level int32, access uint32, stride *int32, layout *uint32) unsafe.Pointer { - ret := C.glowMapTexture2DINTEL(gpMapTexture2DINTEL, (C.GLuint)(texture), (C.GLint)(level), (C.GLbitfield)(access), (*C.GLint)(unsafe.Pointer(stride)), (*C.GLenum)(unsafe.Pointer(layout))) - return (unsafe.Pointer)(ret) -} -func MapVertexAttrib1dAPPLE(index uint32, size uint32, u1 float64, u2 float64, stride int32, order int32, points *float64) { - C.glowMapVertexAttrib1dAPPLE(gpMapVertexAttrib1dAPPLE, (C.GLuint)(index), (C.GLuint)(size), (C.GLdouble)(u1), (C.GLdouble)(u2), (C.GLint)(stride), (C.GLint)(order), (*C.GLdouble)(unsafe.Pointer(points))) -} -func MapVertexAttrib1fAPPLE(index uint32, size uint32, u1 float32, u2 float32, stride int32, order int32, points *float32) { - C.glowMapVertexAttrib1fAPPLE(gpMapVertexAttrib1fAPPLE, (C.GLuint)(index), (C.GLuint)(size), (C.GLfloat)(u1), (C.GLfloat)(u2), (C.GLint)(stride), (C.GLint)(order), (*C.GLfloat)(unsafe.Pointer(points))) -} -func MapVertexAttrib2dAPPLE(index uint32, size uint32, u1 float64, u2 float64, ustride int32, uorder int32, v1 float64, v2 float64, vstride int32, vorder int32, points *float64) { - C.glowMapVertexAttrib2dAPPLE(gpMapVertexAttrib2dAPPLE, (C.GLuint)(index), (C.GLuint)(size), (C.GLdouble)(u1), (C.GLdouble)(u2), (C.GLint)(ustride), (C.GLint)(uorder), (C.GLdouble)(v1), (C.GLdouble)(v2), (C.GLint)(vstride), (C.GLint)(vorder), (*C.GLdouble)(unsafe.Pointer(points))) -} -func MapVertexAttrib2fAPPLE(index uint32, size uint32, u1 float32, u2 float32, ustride int32, uorder int32, v1 float32, v2 float32, vstride int32, vorder int32, points *float32) { - C.glowMapVertexAttrib2fAPPLE(gpMapVertexAttrib2fAPPLE, (C.GLuint)(index), (C.GLuint)(size), (C.GLfloat)(u1), (C.GLfloat)(u2), (C.GLint)(ustride), (C.GLint)(uorder), (C.GLfloat)(v1), (C.GLfloat)(v2), (C.GLint)(vstride), (C.GLint)(vorder), (*C.GLfloat)(unsafe.Pointer(points))) -} -func Materialf(face uint32, pname uint32, param float32) { - C.glowMaterialf(gpMaterialf, (C.GLenum)(face), (C.GLenum)(pname), (C.GLfloat)(param)) -} -func Materialfv(face uint32, pname uint32, params *float32) { - C.glowMaterialfv(gpMaterialfv, (C.GLenum)(face), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func Materiali(face uint32, pname uint32, param int32) { - C.glowMateriali(gpMateriali, (C.GLenum)(face), (C.GLenum)(pname), (C.GLint)(param)) -} -func Materialiv(face uint32, pname uint32, params *int32) { - C.glowMaterialiv(gpMaterialiv, (C.GLenum)(face), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func MaterialxOES(face uint32, pname uint32, param int32) { - C.glowMaterialxOES(gpMaterialxOES, (C.GLenum)(face), (C.GLenum)(pname), (C.GLfixed)(param)) -} -func MaterialxvOES(face uint32, pname uint32, param *int32) { - C.glowMaterialxvOES(gpMaterialxvOES, (C.GLenum)(face), (C.GLenum)(pname), (*C.GLfixed)(unsafe.Pointer(param))) -} -func MatrixFrustumEXT(mode uint32, left float64, right float64, bottom float64, top float64, zNear float64, zFar float64) { - C.glowMatrixFrustumEXT(gpMatrixFrustumEXT, (C.GLenum)(mode), (C.GLdouble)(left), (C.GLdouble)(right), (C.GLdouble)(bottom), (C.GLdouble)(top), (C.GLdouble)(zNear), (C.GLdouble)(zFar)) -} -func MatrixIndexPointerARB(size int32, xtype uint32, stride int32, pointer unsafe.Pointer) { - C.glowMatrixIndexPointerARB(gpMatrixIndexPointerARB, (C.GLint)(size), (C.GLenum)(xtype), (C.GLsizei)(stride), pointer) -} -func MatrixIndexubvARB(size int32, indices *uint8) { - C.glowMatrixIndexubvARB(gpMatrixIndexubvARB, (C.GLint)(size), (*C.GLubyte)(unsafe.Pointer(indices))) -} -func MatrixIndexuivARB(size int32, indices *uint32) { - C.glowMatrixIndexuivARB(gpMatrixIndexuivARB, (C.GLint)(size), (*C.GLuint)(unsafe.Pointer(indices))) -} -func MatrixIndexusvARB(size int32, indices *uint16) { - C.glowMatrixIndexusvARB(gpMatrixIndexusvARB, (C.GLint)(size), (*C.GLushort)(unsafe.Pointer(indices))) -} -func MatrixLoad3x2fNV(matrixMode uint32, m *float32) { - C.glowMatrixLoad3x2fNV(gpMatrixLoad3x2fNV, (C.GLenum)(matrixMode), (*C.GLfloat)(unsafe.Pointer(m))) -} -func MatrixLoad3x3fNV(matrixMode uint32, m *float32) { - C.glowMatrixLoad3x3fNV(gpMatrixLoad3x3fNV, (C.GLenum)(matrixMode), (*C.GLfloat)(unsafe.Pointer(m))) -} -func MatrixLoadIdentityEXT(mode uint32) { - C.glowMatrixLoadIdentityEXT(gpMatrixLoadIdentityEXT, (C.GLenum)(mode)) -} -func MatrixLoadTranspose3x3fNV(matrixMode uint32, m *float32) { - C.glowMatrixLoadTranspose3x3fNV(gpMatrixLoadTranspose3x3fNV, (C.GLenum)(matrixMode), (*C.GLfloat)(unsafe.Pointer(m))) -} -func MatrixLoadTransposedEXT(mode uint32, m *float64) { - C.glowMatrixLoadTransposedEXT(gpMatrixLoadTransposedEXT, (C.GLenum)(mode), (*C.GLdouble)(unsafe.Pointer(m))) -} -func MatrixLoadTransposefEXT(mode uint32, m *float32) { - C.glowMatrixLoadTransposefEXT(gpMatrixLoadTransposefEXT, (C.GLenum)(mode), (*C.GLfloat)(unsafe.Pointer(m))) -} -func MatrixLoaddEXT(mode uint32, m *float64) { - C.glowMatrixLoaddEXT(gpMatrixLoaddEXT, (C.GLenum)(mode), (*C.GLdouble)(unsafe.Pointer(m))) -} -func MatrixLoadfEXT(mode uint32, m *float32) { - C.glowMatrixLoadfEXT(gpMatrixLoadfEXT, (C.GLenum)(mode), (*C.GLfloat)(unsafe.Pointer(m))) -} - -// specify which matrix is the current matrix -func MatrixMode(mode uint32) { - C.glowMatrixMode(gpMatrixMode, (C.GLenum)(mode)) -} -func MatrixMult3x2fNV(matrixMode uint32, m *float32) { - C.glowMatrixMult3x2fNV(gpMatrixMult3x2fNV, (C.GLenum)(matrixMode), (*C.GLfloat)(unsafe.Pointer(m))) -} -func MatrixMult3x3fNV(matrixMode uint32, m *float32) { - C.glowMatrixMult3x3fNV(gpMatrixMult3x3fNV, (C.GLenum)(matrixMode), (*C.GLfloat)(unsafe.Pointer(m))) -} -func MatrixMultTranspose3x3fNV(matrixMode uint32, m *float32) { - C.glowMatrixMultTranspose3x3fNV(gpMatrixMultTranspose3x3fNV, (C.GLenum)(matrixMode), (*C.GLfloat)(unsafe.Pointer(m))) -} -func MatrixMultTransposedEXT(mode uint32, m *float64) { - C.glowMatrixMultTransposedEXT(gpMatrixMultTransposedEXT, (C.GLenum)(mode), (*C.GLdouble)(unsafe.Pointer(m))) -} -func MatrixMultTransposefEXT(mode uint32, m *float32) { - C.glowMatrixMultTransposefEXT(gpMatrixMultTransposefEXT, (C.GLenum)(mode), (*C.GLfloat)(unsafe.Pointer(m))) -} -func MatrixMultdEXT(mode uint32, m *float64) { - C.glowMatrixMultdEXT(gpMatrixMultdEXT, (C.GLenum)(mode), (*C.GLdouble)(unsafe.Pointer(m))) -} -func MatrixMultfEXT(mode uint32, m *float32) { - C.glowMatrixMultfEXT(gpMatrixMultfEXT, (C.GLenum)(mode), (*C.GLfloat)(unsafe.Pointer(m))) -} -func MatrixOrthoEXT(mode uint32, left float64, right float64, bottom float64, top float64, zNear float64, zFar float64) { - C.glowMatrixOrthoEXT(gpMatrixOrthoEXT, (C.GLenum)(mode), (C.GLdouble)(left), (C.GLdouble)(right), (C.GLdouble)(bottom), (C.GLdouble)(top), (C.GLdouble)(zNear), (C.GLdouble)(zFar)) -} -func MatrixPopEXT(mode uint32) { - C.glowMatrixPopEXT(gpMatrixPopEXT, (C.GLenum)(mode)) -} -func MatrixPushEXT(mode uint32) { - C.glowMatrixPushEXT(gpMatrixPushEXT, (C.GLenum)(mode)) -} -func MatrixRotatedEXT(mode uint32, angle float64, x float64, y float64, z float64) { - C.glowMatrixRotatedEXT(gpMatrixRotatedEXT, (C.GLenum)(mode), (C.GLdouble)(angle), (C.GLdouble)(x), (C.GLdouble)(y), (C.GLdouble)(z)) -} -func MatrixRotatefEXT(mode uint32, angle float32, x float32, y float32, z float32) { - C.glowMatrixRotatefEXT(gpMatrixRotatefEXT, (C.GLenum)(mode), (C.GLfloat)(angle), (C.GLfloat)(x), (C.GLfloat)(y), (C.GLfloat)(z)) -} -func MatrixScaledEXT(mode uint32, x float64, y float64, z float64) { - C.glowMatrixScaledEXT(gpMatrixScaledEXT, (C.GLenum)(mode), (C.GLdouble)(x), (C.GLdouble)(y), (C.GLdouble)(z)) -} -func MatrixScalefEXT(mode uint32, x float32, y float32, z float32) { - C.glowMatrixScalefEXT(gpMatrixScalefEXT, (C.GLenum)(mode), (C.GLfloat)(x), (C.GLfloat)(y), (C.GLfloat)(z)) -} -func MatrixTranslatedEXT(mode uint32, x float64, y float64, z float64) { - C.glowMatrixTranslatedEXT(gpMatrixTranslatedEXT, (C.GLenum)(mode), (C.GLdouble)(x), (C.GLdouble)(y), (C.GLdouble)(z)) -} -func MatrixTranslatefEXT(mode uint32, x float32, y float32, z float32) { - C.glowMatrixTranslatefEXT(gpMatrixTranslatefEXT, (C.GLenum)(mode), (C.GLfloat)(x), (C.GLfloat)(y), (C.GLfloat)(z)) -} -func MaxShaderCompilerThreadsARB(count uint32) { - C.glowMaxShaderCompilerThreadsARB(gpMaxShaderCompilerThreadsARB, (C.GLuint)(count)) -} -func MaxShaderCompilerThreadsKHR(count uint32) { - C.glowMaxShaderCompilerThreadsKHR(gpMaxShaderCompilerThreadsKHR, (C.GLuint)(count)) -} - -// defines a barrier ordering memory transactions -func MemoryBarrier(barriers uint32) { - C.glowMemoryBarrier(gpMemoryBarrier, (C.GLbitfield)(barriers)) -} -func MemoryBarrierByRegion(barriers uint32) { - C.glowMemoryBarrierByRegion(gpMemoryBarrierByRegion, (C.GLbitfield)(barriers)) -} -func MemoryBarrierEXT(barriers uint32) { - C.glowMemoryBarrierEXT(gpMemoryBarrierEXT, (C.GLbitfield)(barriers)) -} -func MemoryObjectParameterivEXT(memoryObject uint32, pname uint32, params *int32) { - C.glowMemoryObjectParameterivEXT(gpMemoryObjectParameterivEXT, (C.GLuint)(memoryObject), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func MinSampleShadingARB(value float32) { - C.glowMinSampleShadingARB(gpMinSampleShadingARB, (C.GLfloat)(value)) -} -func MinmaxEXT(target uint32, internalformat uint32, sink bool) { - C.glowMinmaxEXT(gpMinmaxEXT, (C.GLenum)(target), (C.GLenum)(internalformat), (C.GLboolean)(boolToInt(sink))) -} -func MultMatrixd(m *float64) { - C.glowMultMatrixd(gpMultMatrixd, (*C.GLdouble)(unsafe.Pointer(m))) -} -func MultMatrixf(m *float32) { - C.glowMultMatrixf(gpMultMatrixf, (*C.GLfloat)(unsafe.Pointer(m))) -} -func MultMatrixxOES(m *int32) { - C.glowMultMatrixxOES(gpMultMatrixxOES, (*C.GLfixed)(unsafe.Pointer(m))) -} -func MultTransposeMatrixd(m *float64) { - C.glowMultTransposeMatrixd(gpMultTransposeMatrixd, (*C.GLdouble)(unsafe.Pointer(m))) -} -func MultTransposeMatrixdARB(m *float64) { - C.glowMultTransposeMatrixdARB(gpMultTransposeMatrixdARB, (*C.GLdouble)(unsafe.Pointer(m))) -} -func MultTransposeMatrixf(m *float32) { - C.glowMultTransposeMatrixf(gpMultTransposeMatrixf, (*C.GLfloat)(unsafe.Pointer(m))) -} -func MultTransposeMatrixfARB(m *float32) { - C.glowMultTransposeMatrixfARB(gpMultTransposeMatrixfARB, (*C.GLfloat)(unsafe.Pointer(m))) -} -func MultTransposeMatrixxOES(m *int32) { - C.glowMultTransposeMatrixxOES(gpMultTransposeMatrixxOES, (*C.GLfixed)(unsafe.Pointer(m))) -} - -// render multiple sets of primitives from array data -func MultiDrawArrays(mode uint32, first *int32, count *int32, drawcount int32) { - C.glowMultiDrawArrays(gpMultiDrawArrays, (C.GLenum)(mode), (*C.GLint)(unsafe.Pointer(first)), (*C.GLsizei)(unsafe.Pointer(count)), (C.GLsizei)(drawcount)) -} -func MultiDrawArraysEXT(mode uint32, first *int32, count *int32, primcount int32) { - C.glowMultiDrawArraysEXT(gpMultiDrawArraysEXT, (C.GLenum)(mode), (*C.GLint)(unsafe.Pointer(first)), (*C.GLsizei)(unsafe.Pointer(count)), (C.GLsizei)(primcount)) -} - -// render multiple sets of primitives from array data, taking parameters from memory -func MultiDrawArraysIndirect(mode uint32, indirect unsafe.Pointer, drawcount int32, stride int32) { - C.glowMultiDrawArraysIndirect(gpMultiDrawArraysIndirect, (C.GLenum)(mode), indirect, (C.GLsizei)(drawcount), (C.GLsizei)(stride)) -} -func MultiDrawArraysIndirectAMD(mode uint32, indirect unsafe.Pointer, primcount int32, stride int32) { - C.glowMultiDrawArraysIndirectAMD(gpMultiDrawArraysIndirectAMD, (C.GLenum)(mode), indirect, (C.GLsizei)(primcount), (C.GLsizei)(stride)) -} -func MultiDrawArraysIndirectBindlessCountNV(mode uint32, indirect unsafe.Pointer, drawCount int32, maxDrawCount int32, stride int32, vertexBufferCount int32) { - C.glowMultiDrawArraysIndirectBindlessCountNV(gpMultiDrawArraysIndirectBindlessCountNV, (C.GLenum)(mode), indirect, (C.GLsizei)(drawCount), (C.GLsizei)(maxDrawCount), (C.GLsizei)(stride), (C.GLint)(vertexBufferCount)) -} -func MultiDrawArraysIndirectBindlessNV(mode uint32, indirect unsafe.Pointer, drawCount int32, stride int32, vertexBufferCount int32) { - C.glowMultiDrawArraysIndirectBindlessNV(gpMultiDrawArraysIndirectBindlessNV, (C.GLenum)(mode), indirect, (C.GLsizei)(drawCount), (C.GLsizei)(stride), (C.GLint)(vertexBufferCount)) -} -func MultiDrawArraysIndirectCountARB(mode uint32, indirect unsafe.Pointer, drawcount int, maxdrawcount int32, stride int32) { - C.glowMultiDrawArraysIndirectCountARB(gpMultiDrawArraysIndirectCountARB, (C.GLenum)(mode), indirect, (C.GLintptr)(drawcount), (C.GLsizei)(maxdrawcount), (C.GLsizei)(stride)) -} -func MultiDrawElementArrayAPPLE(mode uint32, first *int32, count *int32, primcount int32) { - C.glowMultiDrawElementArrayAPPLE(gpMultiDrawElementArrayAPPLE, (C.GLenum)(mode), (*C.GLint)(unsafe.Pointer(first)), (*C.GLsizei)(unsafe.Pointer(count)), (C.GLsizei)(primcount)) -} - -// render multiple sets of primitives by specifying indices of array data elements -func MultiDrawElements(mode uint32, count *int32, xtype uint32, indices *unsafe.Pointer, drawcount int32) { - C.glowMultiDrawElements(gpMultiDrawElements, (C.GLenum)(mode), (*C.GLsizei)(unsafe.Pointer(count)), (C.GLenum)(xtype), indices, (C.GLsizei)(drawcount)) -} - -// render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index -func MultiDrawElementsBaseVertex(mode uint32, count *int32, xtype uint32, indices *unsafe.Pointer, drawcount int32, basevertex *int32) { - C.glowMultiDrawElementsBaseVertex(gpMultiDrawElementsBaseVertex, (C.GLenum)(mode), (*C.GLsizei)(unsafe.Pointer(count)), (C.GLenum)(xtype), indices, (C.GLsizei)(drawcount), (*C.GLint)(unsafe.Pointer(basevertex))) -} -func MultiDrawElementsEXT(mode uint32, count *int32, xtype uint32, indices *unsafe.Pointer, primcount int32) { - C.glowMultiDrawElementsEXT(gpMultiDrawElementsEXT, (C.GLenum)(mode), (*C.GLsizei)(unsafe.Pointer(count)), (C.GLenum)(xtype), indices, (C.GLsizei)(primcount)) -} - -// render indexed primitives from array data, taking parameters from memory -func MultiDrawElementsIndirect(mode uint32, xtype uint32, indirect unsafe.Pointer, drawcount int32, stride int32) { - C.glowMultiDrawElementsIndirect(gpMultiDrawElementsIndirect, (C.GLenum)(mode), (C.GLenum)(xtype), indirect, (C.GLsizei)(drawcount), (C.GLsizei)(stride)) -} -func MultiDrawElementsIndirectAMD(mode uint32, xtype uint32, indirect unsafe.Pointer, primcount int32, stride int32) { - C.glowMultiDrawElementsIndirectAMD(gpMultiDrawElementsIndirectAMD, (C.GLenum)(mode), (C.GLenum)(xtype), indirect, (C.GLsizei)(primcount), (C.GLsizei)(stride)) -} -func MultiDrawElementsIndirectBindlessCountNV(mode uint32, xtype uint32, indirect unsafe.Pointer, drawCount int32, maxDrawCount int32, stride int32, vertexBufferCount int32) { - C.glowMultiDrawElementsIndirectBindlessCountNV(gpMultiDrawElementsIndirectBindlessCountNV, (C.GLenum)(mode), (C.GLenum)(xtype), indirect, (C.GLsizei)(drawCount), (C.GLsizei)(maxDrawCount), (C.GLsizei)(stride), (C.GLint)(vertexBufferCount)) -} -func MultiDrawElementsIndirectBindlessNV(mode uint32, xtype uint32, indirect unsafe.Pointer, drawCount int32, stride int32, vertexBufferCount int32) { - C.glowMultiDrawElementsIndirectBindlessNV(gpMultiDrawElementsIndirectBindlessNV, (C.GLenum)(mode), (C.GLenum)(xtype), indirect, (C.GLsizei)(drawCount), (C.GLsizei)(stride), (C.GLint)(vertexBufferCount)) -} -func MultiDrawElementsIndirectCountARB(mode uint32, xtype uint32, indirect unsafe.Pointer, drawcount int, maxdrawcount int32, stride int32) { - C.glowMultiDrawElementsIndirectCountARB(gpMultiDrawElementsIndirectCountARB, (C.GLenum)(mode), (C.GLenum)(xtype), indirect, (C.GLintptr)(drawcount), (C.GLsizei)(maxdrawcount), (C.GLsizei)(stride)) -} -func MultiDrawRangeElementArrayAPPLE(mode uint32, start uint32, end uint32, first *int32, count *int32, primcount int32) { - C.glowMultiDrawRangeElementArrayAPPLE(gpMultiDrawRangeElementArrayAPPLE, (C.GLenum)(mode), (C.GLuint)(start), (C.GLuint)(end), (*C.GLint)(unsafe.Pointer(first)), (*C.GLsizei)(unsafe.Pointer(count)), (C.GLsizei)(primcount)) -} -func MultiModeDrawArraysIBM(mode *uint32, first *int32, count *int32, primcount int32, modestride int32) { - C.glowMultiModeDrawArraysIBM(gpMultiModeDrawArraysIBM, (*C.GLenum)(unsafe.Pointer(mode)), (*C.GLint)(unsafe.Pointer(first)), (*C.GLsizei)(unsafe.Pointer(count)), (C.GLsizei)(primcount), (C.GLint)(modestride)) -} -func MultiModeDrawElementsIBM(mode *uint32, count *int32, xtype uint32, indices *unsafe.Pointer, primcount int32, modestride int32) { - C.glowMultiModeDrawElementsIBM(gpMultiModeDrawElementsIBM, (*C.GLenum)(unsafe.Pointer(mode)), (*C.GLsizei)(unsafe.Pointer(count)), (C.GLenum)(xtype), indices, (C.GLsizei)(primcount), (C.GLint)(modestride)) -} -func MultiTexBufferEXT(texunit uint32, target uint32, internalformat uint32, buffer uint32) { - C.glowMultiTexBufferEXT(gpMultiTexBufferEXT, (C.GLenum)(texunit), (C.GLenum)(target), (C.GLenum)(internalformat), (C.GLuint)(buffer)) -} -func MultiTexCoord1bOES(texture uint32, s int8) { - C.glowMultiTexCoord1bOES(gpMultiTexCoord1bOES, (C.GLenum)(texture), (C.GLbyte)(s)) -} -func MultiTexCoord1bvOES(texture uint32, coords *int8) { - C.glowMultiTexCoord1bvOES(gpMultiTexCoord1bvOES, (C.GLenum)(texture), (*C.GLbyte)(unsafe.Pointer(coords))) -} -func MultiTexCoord1d(target uint32, s float64) { - C.glowMultiTexCoord1d(gpMultiTexCoord1d, (C.GLenum)(target), (C.GLdouble)(s)) -} -func MultiTexCoord1dARB(target uint32, s float64) { - C.glowMultiTexCoord1dARB(gpMultiTexCoord1dARB, (C.GLenum)(target), (C.GLdouble)(s)) -} -func MultiTexCoord1dv(target uint32, v *float64) { - C.glowMultiTexCoord1dv(gpMultiTexCoord1dv, (C.GLenum)(target), (*C.GLdouble)(unsafe.Pointer(v))) -} -func MultiTexCoord1dvARB(target uint32, v *float64) { - C.glowMultiTexCoord1dvARB(gpMultiTexCoord1dvARB, (C.GLenum)(target), (*C.GLdouble)(unsafe.Pointer(v))) -} -func MultiTexCoord1f(target uint32, s float32) { - C.glowMultiTexCoord1f(gpMultiTexCoord1f, (C.GLenum)(target), (C.GLfloat)(s)) -} -func MultiTexCoord1fARB(target uint32, s float32) { - C.glowMultiTexCoord1fARB(gpMultiTexCoord1fARB, (C.GLenum)(target), (C.GLfloat)(s)) -} -func MultiTexCoord1fv(target uint32, v *float32) { - C.glowMultiTexCoord1fv(gpMultiTexCoord1fv, (C.GLenum)(target), (*C.GLfloat)(unsafe.Pointer(v))) -} -func MultiTexCoord1fvARB(target uint32, v *float32) { - C.glowMultiTexCoord1fvARB(gpMultiTexCoord1fvARB, (C.GLenum)(target), (*C.GLfloat)(unsafe.Pointer(v))) -} -func MultiTexCoord1hNV(target uint32, s uint16) { - C.glowMultiTexCoord1hNV(gpMultiTexCoord1hNV, (C.GLenum)(target), (C.GLhalfNV)(s)) -} -func MultiTexCoord1hvNV(target uint32, v *uint16) { - C.glowMultiTexCoord1hvNV(gpMultiTexCoord1hvNV, (C.GLenum)(target), (*C.GLhalfNV)(unsafe.Pointer(v))) -} -func MultiTexCoord1i(target uint32, s int32) { - C.glowMultiTexCoord1i(gpMultiTexCoord1i, (C.GLenum)(target), (C.GLint)(s)) -} -func MultiTexCoord1iARB(target uint32, s int32) { - C.glowMultiTexCoord1iARB(gpMultiTexCoord1iARB, (C.GLenum)(target), (C.GLint)(s)) -} -func MultiTexCoord1iv(target uint32, v *int32) { - C.glowMultiTexCoord1iv(gpMultiTexCoord1iv, (C.GLenum)(target), (*C.GLint)(unsafe.Pointer(v))) -} -func MultiTexCoord1ivARB(target uint32, v *int32) { - C.glowMultiTexCoord1ivARB(gpMultiTexCoord1ivARB, (C.GLenum)(target), (*C.GLint)(unsafe.Pointer(v))) -} -func MultiTexCoord1s(target uint32, s int16) { - C.glowMultiTexCoord1s(gpMultiTexCoord1s, (C.GLenum)(target), (C.GLshort)(s)) -} -func MultiTexCoord1sARB(target uint32, s int16) { - C.glowMultiTexCoord1sARB(gpMultiTexCoord1sARB, (C.GLenum)(target), (C.GLshort)(s)) -} -func MultiTexCoord1sv(target uint32, v *int16) { - C.glowMultiTexCoord1sv(gpMultiTexCoord1sv, (C.GLenum)(target), (*C.GLshort)(unsafe.Pointer(v))) -} -func MultiTexCoord1svARB(target uint32, v *int16) { - C.glowMultiTexCoord1svARB(gpMultiTexCoord1svARB, (C.GLenum)(target), (*C.GLshort)(unsafe.Pointer(v))) -} -func MultiTexCoord1xOES(texture uint32, s int32) { - C.glowMultiTexCoord1xOES(gpMultiTexCoord1xOES, (C.GLenum)(texture), (C.GLfixed)(s)) -} -func MultiTexCoord1xvOES(texture uint32, coords *int32) { - C.glowMultiTexCoord1xvOES(gpMultiTexCoord1xvOES, (C.GLenum)(texture), (*C.GLfixed)(unsafe.Pointer(coords))) -} -func MultiTexCoord2bOES(texture uint32, s int8, t int8) { - C.glowMultiTexCoord2bOES(gpMultiTexCoord2bOES, (C.GLenum)(texture), (C.GLbyte)(s), (C.GLbyte)(t)) -} -func MultiTexCoord2bvOES(texture uint32, coords *int8) { - C.glowMultiTexCoord2bvOES(gpMultiTexCoord2bvOES, (C.GLenum)(texture), (*C.GLbyte)(unsafe.Pointer(coords))) -} -func MultiTexCoord2d(target uint32, s float64, t float64) { - C.glowMultiTexCoord2d(gpMultiTexCoord2d, (C.GLenum)(target), (C.GLdouble)(s), (C.GLdouble)(t)) -} -func MultiTexCoord2dARB(target uint32, s float64, t float64) { - C.glowMultiTexCoord2dARB(gpMultiTexCoord2dARB, (C.GLenum)(target), (C.GLdouble)(s), (C.GLdouble)(t)) -} -func MultiTexCoord2dv(target uint32, v *float64) { - C.glowMultiTexCoord2dv(gpMultiTexCoord2dv, (C.GLenum)(target), (*C.GLdouble)(unsafe.Pointer(v))) -} -func MultiTexCoord2dvARB(target uint32, v *float64) { - C.glowMultiTexCoord2dvARB(gpMultiTexCoord2dvARB, (C.GLenum)(target), (*C.GLdouble)(unsafe.Pointer(v))) -} -func MultiTexCoord2f(target uint32, s float32, t float32) { - C.glowMultiTexCoord2f(gpMultiTexCoord2f, (C.GLenum)(target), (C.GLfloat)(s), (C.GLfloat)(t)) -} -func MultiTexCoord2fARB(target uint32, s float32, t float32) { - C.glowMultiTexCoord2fARB(gpMultiTexCoord2fARB, (C.GLenum)(target), (C.GLfloat)(s), (C.GLfloat)(t)) -} -func MultiTexCoord2fv(target uint32, v *float32) { - C.glowMultiTexCoord2fv(gpMultiTexCoord2fv, (C.GLenum)(target), (*C.GLfloat)(unsafe.Pointer(v))) -} -func MultiTexCoord2fvARB(target uint32, v *float32) { - C.glowMultiTexCoord2fvARB(gpMultiTexCoord2fvARB, (C.GLenum)(target), (*C.GLfloat)(unsafe.Pointer(v))) -} -func MultiTexCoord2hNV(target uint32, s uint16, t uint16) { - C.glowMultiTexCoord2hNV(gpMultiTexCoord2hNV, (C.GLenum)(target), (C.GLhalfNV)(s), (C.GLhalfNV)(t)) -} -func MultiTexCoord2hvNV(target uint32, v *uint16) { - C.glowMultiTexCoord2hvNV(gpMultiTexCoord2hvNV, (C.GLenum)(target), (*C.GLhalfNV)(unsafe.Pointer(v))) -} -func MultiTexCoord2i(target uint32, s int32, t int32) { - C.glowMultiTexCoord2i(gpMultiTexCoord2i, (C.GLenum)(target), (C.GLint)(s), (C.GLint)(t)) -} -func MultiTexCoord2iARB(target uint32, s int32, t int32) { - C.glowMultiTexCoord2iARB(gpMultiTexCoord2iARB, (C.GLenum)(target), (C.GLint)(s), (C.GLint)(t)) -} -func MultiTexCoord2iv(target uint32, v *int32) { - C.glowMultiTexCoord2iv(gpMultiTexCoord2iv, (C.GLenum)(target), (*C.GLint)(unsafe.Pointer(v))) -} -func MultiTexCoord2ivARB(target uint32, v *int32) { - C.glowMultiTexCoord2ivARB(gpMultiTexCoord2ivARB, (C.GLenum)(target), (*C.GLint)(unsafe.Pointer(v))) -} -func MultiTexCoord2s(target uint32, s int16, t int16) { - C.glowMultiTexCoord2s(gpMultiTexCoord2s, (C.GLenum)(target), (C.GLshort)(s), (C.GLshort)(t)) -} -func MultiTexCoord2sARB(target uint32, s int16, t int16) { - C.glowMultiTexCoord2sARB(gpMultiTexCoord2sARB, (C.GLenum)(target), (C.GLshort)(s), (C.GLshort)(t)) -} -func MultiTexCoord2sv(target uint32, v *int16) { - C.glowMultiTexCoord2sv(gpMultiTexCoord2sv, (C.GLenum)(target), (*C.GLshort)(unsafe.Pointer(v))) -} -func MultiTexCoord2svARB(target uint32, v *int16) { - C.glowMultiTexCoord2svARB(gpMultiTexCoord2svARB, (C.GLenum)(target), (*C.GLshort)(unsafe.Pointer(v))) -} -func MultiTexCoord2xOES(texture uint32, s int32, t int32) { - C.glowMultiTexCoord2xOES(gpMultiTexCoord2xOES, (C.GLenum)(texture), (C.GLfixed)(s), (C.GLfixed)(t)) -} -func MultiTexCoord2xvOES(texture uint32, coords *int32) { - C.glowMultiTexCoord2xvOES(gpMultiTexCoord2xvOES, (C.GLenum)(texture), (*C.GLfixed)(unsafe.Pointer(coords))) -} -func MultiTexCoord3bOES(texture uint32, s int8, t int8, r int8) { - C.glowMultiTexCoord3bOES(gpMultiTexCoord3bOES, (C.GLenum)(texture), (C.GLbyte)(s), (C.GLbyte)(t), (C.GLbyte)(r)) -} -func MultiTexCoord3bvOES(texture uint32, coords *int8) { - C.glowMultiTexCoord3bvOES(gpMultiTexCoord3bvOES, (C.GLenum)(texture), (*C.GLbyte)(unsafe.Pointer(coords))) -} -func MultiTexCoord3d(target uint32, s float64, t float64, r float64) { - C.glowMultiTexCoord3d(gpMultiTexCoord3d, (C.GLenum)(target), (C.GLdouble)(s), (C.GLdouble)(t), (C.GLdouble)(r)) -} -func MultiTexCoord3dARB(target uint32, s float64, t float64, r float64) { - C.glowMultiTexCoord3dARB(gpMultiTexCoord3dARB, (C.GLenum)(target), (C.GLdouble)(s), (C.GLdouble)(t), (C.GLdouble)(r)) -} -func MultiTexCoord3dv(target uint32, v *float64) { - C.glowMultiTexCoord3dv(gpMultiTexCoord3dv, (C.GLenum)(target), (*C.GLdouble)(unsafe.Pointer(v))) -} -func MultiTexCoord3dvARB(target uint32, v *float64) { - C.glowMultiTexCoord3dvARB(gpMultiTexCoord3dvARB, (C.GLenum)(target), (*C.GLdouble)(unsafe.Pointer(v))) -} -func MultiTexCoord3f(target uint32, s float32, t float32, r float32) { - C.glowMultiTexCoord3f(gpMultiTexCoord3f, (C.GLenum)(target), (C.GLfloat)(s), (C.GLfloat)(t), (C.GLfloat)(r)) -} -func MultiTexCoord3fARB(target uint32, s float32, t float32, r float32) { - C.glowMultiTexCoord3fARB(gpMultiTexCoord3fARB, (C.GLenum)(target), (C.GLfloat)(s), (C.GLfloat)(t), (C.GLfloat)(r)) -} -func MultiTexCoord3fv(target uint32, v *float32) { - C.glowMultiTexCoord3fv(gpMultiTexCoord3fv, (C.GLenum)(target), (*C.GLfloat)(unsafe.Pointer(v))) -} -func MultiTexCoord3fvARB(target uint32, v *float32) { - C.glowMultiTexCoord3fvARB(gpMultiTexCoord3fvARB, (C.GLenum)(target), (*C.GLfloat)(unsafe.Pointer(v))) -} -func MultiTexCoord3hNV(target uint32, s uint16, t uint16, r uint16) { - C.glowMultiTexCoord3hNV(gpMultiTexCoord3hNV, (C.GLenum)(target), (C.GLhalfNV)(s), (C.GLhalfNV)(t), (C.GLhalfNV)(r)) -} -func MultiTexCoord3hvNV(target uint32, v *uint16) { - C.glowMultiTexCoord3hvNV(gpMultiTexCoord3hvNV, (C.GLenum)(target), (*C.GLhalfNV)(unsafe.Pointer(v))) -} -func MultiTexCoord3i(target uint32, s int32, t int32, r int32) { - C.glowMultiTexCoord3i(gpMultiTexCoord3i, (C.GLenum)(target), (C.GLint)(s), (C.GLint)(t), (C.GLint)(r)) -} -func MultiTexCoord3iARB(target uint32, s int32, t int32, r int32) { - C.glowMultiTexCoord3iARB(gpMultiTexCoord3iARB, (C.GLenum)(target), (C.GLint)(s), (C.GLint)(t), (C.GLint)(r)) -} -func MultiTexCoord3iv(target uint32, v *int32) { - C.glowMultiTexCoord3iv(gpMultiTexCoord3iv, (C.GLenum)(target), (*C.GLint)(unsafe.Pointer(v))) -} -func MultiTexCoord3ivARB(target uint32, v *int32) { - C.glowMultiTexCoord3ivARB(gpMultiTexCoord3ivARB, (C.GLenum)(target), (*C.GLint)(unsafe.Pointer(v))) -} -func MultiTexCoord3s(target uint32, s int16, t int16, r int16) { - C.glowMultiTexCoord3s(gpMultiTexCoord3s, (C.GLenum)(target), (C.GLshort)(s), (C.GLshort)(t), (C.GLshort)(r)) -} -func MultiTexCoord3sARB(target uint32, s int16, t int16, r int16) { - C.glowMultiTexCoord3sARB(gpMultiTexCoord3sARB, (C.GLenum)(target), (C.GLshort)(s), (C.GLshort)(t), (C.GLshort)(r)) -} -func MultiTexCoord3sv(target uint32, v *int16) { - C.glowMultiTexCoord3sv(gpMultiTexCoord3sv, (C.GLenum)(target), (*C.GLshort)(unsafe.Pointer(v))) -} -func MultiTexCoord3svARB(target uint32, v *int16) { - C.glowMultiTexCoord3svARB(gpMultiTexCoord3svARB, (C.GLenum)(target), (*C.GLshort)(unsafe.Pointer(v))) -} -func MultiTexCoord3xOES(texture uint32, s int32, t int32, r int32) { - C.glowMultiTexCoord3xOES(gpMultiTexCoord3xOES, (C.GLenum)(texture), (C.GLfixed)(s), (C.GLfixed)(t), (C.GLfixed)(r)) -} -func MultiTexCoord3xvOES(texture uint32, coords *int32) { - C.glowMultiTexCoord3xvOES(gpMultiTexCoord3xvOES, (C.GLenum)(texture), (*C.GLfixed)(unsafe.Pointer(coords))) -} -func MultiTexCoord4bOES(texture uint32, s int8, t int8, r int8, q int8) { - C.glowMultiTexCoord4bOES(gpMultiTexCoord4bOES, (C.GLenum)(texture), (C.GLbyte)(s), (C.GLbyte)(t), (C.GLbyte)(r), (C.GLbyte)(q)) -} -func MultiTexCoord4bvOES(texture uint32, coords *int8) { - C.glowMultiTexCoord4bvOES(gpMultiTexCoord4bvOES, (C.GLenum)(texture), (*C.GLbyte)(unsafe.Pointer(coords))) -} -func MultiTexCoord4d(target uint32, s float64, t float64, r float64, q float64) { - C.glowMultiTexCoord4d(gpMultiTexCoord4d, (C.GLenum)(target), (C.GLdouble)(s), (C.GLdouble)(t), (C.GLdouble)(r), (C.GLdouble)(q)) -} -func MultiTexCoord4dARB(target uint32, s float64, t float64, r float64, q float64) { - C.glowMultiTexCoord4dARB(gpMultiTexCoord4dARB, (C.GLenum)(target), (C.GLdouble)(s), (C.GLdouble)(t), (C.GLdouble)(r), (C.GLdouble)(q)) -} -func MultiTexCoord4dv(target uint32, v *float64) { - C.glowMultiTexCoord4dv(gpMultiTexCoord4dv, (C.GLenum)(target), (*C.GLdouble)(unsafe.Pointer(v))) -} -func MultiTexCoord4dvARB(target uint32, v *float64) { - C.glowMultiTexCoord4dvARB(gpMultiTexCoord4dvARB, (C.GLenum)(target), (*C.GLdouble)(unsafe.Pointer(v))) -} -func MultiTexCoord4f(target uint32, s float32, t float32, r float32, q float32) { - C.glowMultiTexCoord4f(gpMultiTexCoord4f, (C.GLenum)(target), (C.GLfloat)(s), (C.GLfloat)(t), (C.GLfloat)(r), (C.GLfloat)(q)) -} -func MultiTexCoord4fARB(target uint32, s float32, t float32, r float32, q float32) { - C.glowMultiTexCoord4fARB(gpMultiTexCoord4fARB, (C.GLenum)(target), (C.GLfloat)(s), (C.GLfloat)(t), (C.GLfloat)(r), (C.GLfloat)(q)) -} -func MultiTexCoord4fv(target uint32, v *float32) { - C.glowMultiTexCoord4fv(gpMultiTexCoord4fv, (C.GLenum)(target), (*C.GLfloat)(unsafe.Pointer(v))) -} -func MultiTexCoord4fvARB(target uint32, v *float32) { - C.glowMultiTexCoord4fvARB(gpMultiTexCoord4fvARB, (C.GLenum)(target), (*C.GLfloat)(unsafe.Pointer(v))) -} -func MultiTexCoord4hNV(target uint32, s uint16, t uint16, r uint16, q uint16) { - C.glowMultiTexCoord4hNV(gpMultiTexCoord4hNV, (C.GLenum)(target), (C.GLhalfNV)(s), (C.GLhalfNV)(t), (C.GLhalfNV)(r), (C.GLhalfNV)(q)) -} -func MultiTexCoord4hvNV(target uint32, v *uint16) { - C.glowMultiTexCoord4hvNV(gpMultiTexCoord4hvNV, (C.GLenum)(target), (*C.GLhalfNV)(unsafe.Pointer(v))) -} -func MultiTexCoord4i(target uint32, s int32, t int32, r int32, q int32) { - C.glowMultiTexCoord4i(gpMultiTexCoord4i, (C.GLenum)(target), (C.GLint)(s), (C.GLint)(t), (C.GLint)(r), (C.GLint)(q)) -} -func MultiTexCoord4iARB(target uint32, s int32, t int32, r int32, q int32) { - C.glowMultiTexCoord4iARB(gpMultiTexCoord4iARB, (C.GLenum)(target), (C.GLint)(s), (C.GLint)(t), (C.GLint)(r), (C.GLint)(q)) -} -func MultiTexCoord4iv(target uint32, v *int32) { - C.glowMultiTexCoord4iv(gpMultiTexCoord4iv, (C.GLenum)(target), (*C.GLint)(unsafe.Pointer(v))) -} -func MultiTexCoord4ivARB(target uint32, v *int32) { - C.glowMultiTexCoord4ivARB(gpMultiTexCoord4ivARB, (C.GLenum)(target), (*C.GLint)(unsafe.Pointer(v))) -} -func MultiTexCoord4s(target uint32, s int16, t int16, r int16, q int16) { - C.glowMultiTexCoord4s(gpMultiTexCoord4s, (C.GLenum)(target), (C.GLshort)(s), (C.GLshort)(t), (C.GLshort)(r), (C.GLshort)(q)) -} -func MultiTexCoord4sARB(target uint32, s int16, t int16, r int16, q int16) { - C.glowMultiTexCoord4sARB(gpMultiTexCoord4sARB, (C.GLenum)(target), (C.GLshort)(s), (C.GLshort)(t), (C.GLshort)(r), (C.GLshort)(q)) -} -func MultiTexCoord4sv(target uint32, v *int16) { - C.glowMultiTexCoord4sv(gpMultiTexCoord4sv, (C.GLenum)(target), (*C.GLshort)(unsafe.Pointer(v))) -} -func MultiTexCoord4svARB(target uint32, v *int16) { - C.glowMultiTexCoord4svARB(gpMultiTexCoord4svARB, (C.GLenum)(target), (*C.GLshort)(unsafe.Pointer(v))) -} -func MultiTexCoord4xOES(texture uint32, s int32, t int32, r int32, q int32) { - C.glowMultiTexCoord4xOES(gpMultiTexCoord4xOES, (C.GLenum)(texture), (C.GLfixed)(s), (C.GLfixed)(t), (C.GLfixed)(r), (C.GLfixed)(q)) -} -func MultiTexCoord4xvOES(texture uint32, coords *int32) { - C.glowMultiTexCoord4xvOES(gpMultiTexCoord4xvOES, (C.GLenum)(texture), (*C.GLfixed)(unsafe.Pointer(coords))) -} -func MultiTexCoordPointerEXT(texunit uint32, size int32, xtype uint32, stride int32, pointer unsafe.Pointer) { - C.glowMultiTexCoordPointerEXT(gpMultiTexCoordPointerEXT, (C.GLenum)(texunit), (C.GLint)(size), (C.GLenum)(xtype), (C.GLsizei)(stride), pointer) -} -func MultiTexEnvfEXT(texunit uint32, target uint32, pname uint32, param float32) { - C.glowMultiTexEnvfEXT(gpMultiTexEnvfEXT, (C.GLenum)(texunit), (C.GLenum)(target), (C.GLenum)(pname), (C.GLfloat)(param)) -} -func MultiTexEnvfvEXT(texunit uint32, target uint32, pname uint32, params *float32) { - C.glowMultiTexEnvfvEXT(gpMultiTexEnvfvEXT, (C.GLenum)(texunit), (C.GLenum)(target), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func MultiTexEnviEXT(texunit uint32, target uint32, pname uint32, param int32) { - C.glowMultiTexEnviEXT(gpMultiTexEnviEXT, (C.GLenum)(texunit), (C.GLenum)(target), (C.GLenum)(pname), (C.GLint)(param)) -} -func MultiTexEnvivEXT(texunit uint32, target uint32, pname uint32, params *int32) { - C.glowMultiTexEnvivEXT(gpMultiTexEnvivEXT, (C.GLenum)(texunit), (C.GLenum)(target), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func MultiTexGendEXT(texunit uint32, coord uint32, pname uint32, param float64) { - C.glowMultiTexGendEXT(gpMultiTexGendEXT, (C.GLenum)(texunit), (C.GLenum)(coord), (C.GLenum)(pname), (C.GLdouble)(param)) -} -func MultiTexGendvEXT(texunit uint32, coord uint32, pname uint32, params *float64) { - C.glowMultiTexGendvEXT(gpMultiTexGendvEXT, (C.GLenum)(texunit), (C.GLenum)(coord), (C.GLenum)(pname), (*C.GLdouble)(unsafe.Pointer(params))) -} -func MultiTexGenfEXT(texunit uint32, coord uint32, pname uint32, param float32) { - C.glowMultiTexGenfEXT(gpMultiTexGenfEXT, (C.GLenum)(texunit), (C.GLenum)(coord), (C.GLenum)(pname), (C.GLfloat)(param)) -} -func MultiTexGenfvEXT(texunit uint32, coord uint32, pname uint32, params *float32) { - C.glowMultiTexGenfvEXT(gpMultiTexGenfvEXT, (C.GLenum)(texunit), (C.GLenum)(coord), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func MultiTexGeniEXT(texunit uint32, coord uint32, pname uint32, param int32) { - C.glowMultiTexGeniEXT(gpMultiTexGeniEXT, (C.GLenum)(texunit), (C.GLenum)(coord), (C.GLenum)(pname), (C.GLint)(param)) -} -func MultiTexGenivEXT(texunit uint32, coord uint32, pname uint32, params *int32) { - C.glowMultiTexGenivEXT(gpMultiTexGenivEXT, (C.GLenum)(texunit), (C.GLenum)(coord), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func MultiTexImage1DEXT(texunit uint32, target uint32, level int32, internalformat int32, width int32, border int32, format uint32, xtype uint32, pixels unsafe.Pointer) { - C.glowMultiTexImage1DEXT(gpMultiTexImage1DEXT, (C.GLenum)(texunit), (C.GLenum)(target), (C.GLint)(level), (C.GLint)(internalformat), (C.GLsizei)(width), (C.GLint)(border), (C.GLenum)(format), (C.GLenum)(xtype), pixels) -} -func MultiTexImage2DEXT(texunit uint32, target uint32, level int32, internalformat int32, width int32, height int32, border int32, format uint32, xtype uint32, pixels unsafe.Pointer) { - C.glowMultiTexImage2DEXT(gpMultiTexImage2DEXT, (C.GLenum)(texunit), (C.GLenum)(target), (C.GLint)(level), (C.GLint)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLint)(border), (C.GLenum)(format), (C.GLenum)(xtype), pixels) -} -func MultiTexImage3DEXT(texunit uint32, target uint32, level int32, internalformat int32, width int32, height int32, depth int32, border int32, format uint32, xtype uint32, pixels unsafe.Pointer) { - C.glowMultiTexImage3DEXT(gpMultiTexImage3DEXT, (C.GLenum)(texunit), (C.GLenum)(target), (C.GLint)(level), (C.GLint)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLsizei)(depth), (C.GLint)(border), (C.GLenum)(format), (C.GLenum)(xtype), pixels) -} -func MultiTexParameterIivEXT(texunit uint32, target uint32, pname uint32, params *int32) { - C.glowMultiTexParameterIivEXT(gpMultiTexParameterIivEXT, (C.GLenum)(texunit), (C.GLenum)(target), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func MultiTexParameterIuivEXT(texunit uint32, target uint32, pname uint32, params *uint32) { - C.glowMultiTexParameterIuivEXT(gpMultiTexParameterIuivEXT, (C.GLenum)(texunit), (C.GLenum)(target), (C.GLenum)(pname), (*C.GLuint)(unsafe.Pointer(params))) -} -func MultiTexParameterfEXT(texunit uint32, target uint32, pname uint32, param float32) { - C.glowMultiTexParameterfEXT(gpMultiTexParameterfEXT, (C.GLenum)(texunit), (C.GLenum)(target), (C.GLenum)(pname), (C.GLfloat)(param)) -} -func MultiTexParameterfvEXT(texunit uint32, target uint32, pname uint32, params *float32) { - C.glowMultiTexParameterfvEXT(gpMultiTexParameterfvEXT, (C.GLenum)(texunit), (C.GLenum)(target), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func MultiTexParameteriEXT(texunit uint32, target uint32, pname uint32, param int32) { - C.glowMultiTexParameteriEXT(gpMultiTexParameteriEXT, (C.GLenum)(texunit), (C.GLenum)(target), (C.GLenum)(pname), (C.GLint)(param)) -} -func MultiTexParameterivEXT(texunit uint32, target uint32, pname uint32, params *int32) { - C.glowMultiTexParameterivEXT(gpMultiTexParameterivEXT, (C.GLenum)(texunit), (C.GLenum)(target), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func MultiTexRenderbufferEXT(texunit uint32, target uint32, renderbuffer uint32) { - C.glowMultiTexRenderbufferEXT(gpMultiTexRenderbufferEXT, (C.GLenum)(texunit), (C.GLenum)(target), (C.GLuint)(renderbuffer)) -} -func MultiTexSubImage1DEXT(texunit uint32, target uint32, level int32, xoffset int32, width int32, format uint32, xtype uint32, pixels unsafe.Pointer) { - C.glowMultiTexSubImage1DEXT(gpMultiTexSubImage1DEXT, (C.GLenum)(texunit), (C.GLenum)(target), (C.GLint)(level), (C.GLint)(xoffset), (C.GLsizei)(width), (C.GLenum)(format), (C.GLenum)(xtype), pixels) -} -func MultiTexSubImage2DEXT(texunit uint32, target uint32, level int32, xoffset int32, yoffset int32, width int32, height int32, format uint32, xtype uint32, pixels unsafe.Pointer) { - C.glowMultiTexSubImage2DEXT(gpMultiTexSubImage2DEXT, (C.GLenum)(texunit), (C.GLenum)(target), (C.GLint)(level), (C.GLint)(xoffset), (C.GLint)(yoffset), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLenum)(format), (C.GLenum)(xtype), pixels) -} -func MultiTexSubImage3DEXT(texunit uint32, target uint32, level int32, xoffset int32, yoffset int32, zoffset int32, width int32, height int32, depth int32, format uint32, xtype uint32, pixels unsafe.Pointer) { - C.glowMultiTexSubImage3DEXT(gpMultiTexSubImage3DEXT, (C.GLenum)(texunit), (C.GLenum)(target), (C.GLint)(level), (C.GLint)(xoffset), (C.GLint)(yoffset), (C.GLint)(zoffset), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLsizei)(depth), (C.GLenum)(format), (C.GLenum)(xtype), pixels) -} -func MulticastBarrierNV() { - C.glowMulticastBarrierNV(gpMulticastBarrierNV) -} -func MulticastBlitFramebufferNV(srcGpu uint32, dstGpu uint32, srcX0 int32, srcY0 int32, srcX1 int32, srcY1 int32, dstX0 int32, dstY0 int32, dstX1 int32, dstY1 int32, mask uint32, filter uint32) { - C.glowMulticastBlitFramebufferNV(gpMulticastBlitFramebufferNV, (C.GLuint)(srcGpu), (C.GLuint)(dstGpu), (C.GLint)(srcX0), (C.GLint)(srcY0), (C.GLint)(srcX1), (C.GLint)(srcY1), (C.GLint)(dstX0), (C.GLint)(dstY0), (C.GLint)(dstX1), (C.GLint)(dstY1), (C.GLbitfield)(mask), (C.GLenum)(filter)) -} -func MulticastBufferSubDataNV(gpuMask uint32, buffer uint32, offset int, size int, data unsafe.Pointer) { - C.glowMulticastBufferSubDataNV(gpMulticastBufferSubDataNV, (C.GLbitfield)(gpuMask), (C.GLuint)(buffer), (C.GLintptr)(offset), (C.GLsizeiptr)(size), data) -} -func MulticastCopyBufferSubDataNV(readGpu uint32, writeGpuMask uint32, readBuffer uint32, writeBuffer uint32, readOffset int, writeOffset int, size int) { - C.glowMulticastCopyBufferSubDataNV(gpMulticastCopyBufferSubDataNV, (C.GLuint)(readGpu), (C.GLbitfield)(writeGpuMask), (C.GLuint)(readBuffer), (C.GLuint)(writeBuffer), (C.GLintptr)(readOffset), (C.GLintptr)(writeOffset), (C.GLsizeiptr)(size)) -} -func MulticastCopyImageSubDataNV(srcGpu uint32, dstGpuMask uint32, srcName uint32, srcTarget uint32, srcLevel int32, srcX int32, srcY int32, srcZ int32, dstName uint32, dstTarget uint32, dstLevel int32, dstX int32, dstY int32, dstZ int32, srcWidth int32, srcHeight int32, srcDepth int32) { - C.glowMulticastCopyImageSubDataNV(gpMulticastCopyImageSubDataNV, (C.GLuint)(srcGpu), (C.GLbitfield)(dstGpuMask), (C.GLuint)(srcName), (C.GLenum)(srcTarget), (C.GLint)(srcLevel), (C.GLint)(srcX), (C.GLint)(srcY), (C.GLint)(srcZ), (C.GLuint)(dstName), (C.GLenum)(dstTarget), (C.GLint)(dstLevel), (C.GLint)(dstX), (C.GLint)(dstY), (C.GLint)(dstZ), (C.GLsizei)(srcWidth), (C.GLsizei)(srcHeight), (C.GLsizei)(srcDepth)) -} -func MulticastFramebufferSampleLocationsfvNV(gpu uint32, framebuffer uint32, start uint32, count int32, v *float32) { - C.glowMulticastFramebufferSampleLocationsfvNV(gpMulticastFramebufferSampleLocationsfvNV, (C.GLuint)(gpu), (C.GLuint)(framebuffer), (C.GLuint)(start), (C.GLsizei)(count), (*C.GLfloat)(unsafe.Pointer(v))) -} -func MulticastGetQueryObjecti64vNV(gpu uint32, id uint32, pname uint32, params *int64) { - C.glowMulticastGetQueryObjecti64vNV(gpMulticastGetQueryObjecti64vNV, (C.GLuint)(gpu), (C.GLuint)(id), (C.GLenum)(pname), (*C.GLint64)(unsafe.Pointer(params))) -} -func MulticastGetQueryObjectivNV(gpu uint32, id uint32, pname uint32, params *int32) { - C.glowMulticastGetQueryObjectivNV(gpMulticastGetQueryObjectivNV, (C.GLuint)(gpu), (C.GLuint)(id), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func MulticastGetQueryObjectui64vNV(gpu uint32, id uint32, pname uint32, params *uint64) { - C.glowMulticastGetQueryObjectui64vNV(gpMulticastGetQueryObjectui64vNV, (C.GLuint)(gpu), (C.GLuint)(id), (C.GLenum)(pname), (*C.GLuint64)(unsafe.Pointer(params))) -} -func MulticastGetQueryObjectuivNV(gpu uint32, id uint32, pname uint32, params *uint32) { - C.glowMulticastGetQueryObjectuivNV(gpMulticastGetQueryObjectuivNV, (C.GLuint)(gpu), (C.GLuint)(id), (C.GLenum)(pname), (*C.GLuint)(unsafe.Pointer(params))) -} -func MulticastWaitSyncNV(signalGpu uint32, waitGpuMask uint32) { - C.glowMulticastWaitSyncNV(gpMulticastWaitSyncNV, (C.GLuint)(signalGpu), (C.GLbitfield)(waitGpuMask)) -} - -// creates and initializes a buffer object's data store -func NamedBufferData(buffer uint32, size int, data unsafe.Pointer, usage uint32) { - C.glowNamedBufferData(gpNamedBufferData, (C.GLuint)(buffer), (C.GLsizeiptr)(size), data, (C.GLenum)(usage)) -} -func NamedBufferDataEXT(buffer uint32, size int, data unsafe.Pointer, usage uint32) { - C.glowNamedBufferDataEXT(gpNamedBufferDataEXT, (C.GLuint)(buffer), (C.GLsizeiptr)(size), data, (C.GLenum)(usage)) -} -func NamedBufferPageCommitmentARB(buffer uint32, offset int, size int, commit bool) { - C.glowNamedBufferPageCommitmentARB(gpNamedBufferPageCommitmentARB, (C.GLuint)(buffer), (C.GLintptr)(offset), (C.GLsizeiptr)(size), (C.GLboolean)(boolToInt(commit))) -} -func NamedBufferPageCommitmentEXT(buffer uint32, offset int, size int, commit bool) { - C.glowNamedBufferPageCommitmentEXT(gpNamedBufferPageCommitmentEXT, (C.GLuint)(buffer), (C.GLintptr)(offset), (C.GLsizeiptr)(size), (C.GLboolean)(boolToInt(commit))) -} - -// creates and initializes a buffer object's immutable data store -func NamedBufferStorage(buffer uint32, size int, data unsafe.Pointer, flags uint32) { - C.glowNamedBufferStorage(gpNamedBufferStorage, (C.GLuint)(buffer), (C.GLsizeiptr)(size), data, (C.GLbitfield)(flags)) -} -func NamedBufferStorageEXT(buffer uint32, size int, data unsafe.Pointer, flags uint32) { - C.glowNamedBufferStorageEXT(gpNamedBufferStorageEXT, (C.GLuint)(buffer), (C.GLsizeiptr)(size), data, (C.GLbitfield)(flags)) -} - -// Parameter clientBuffer has type C.GLeglClientBufferEXT. -func NamedBufferStorageExternalEXT(buffer uint32, offset int, size int, clientBuffer unsafe.Pointer, flags uint32) { - C.glowNamedBufferStorageExternalEXT(gpNamedBufferStorageExternalEXT, (C.GLuint)(buffer), (C.GLintptr)(offset), (C.GLsizeiptr)(size), (C.GLeglClientBufferEXT)(clientBuffer), (C.GLbitfield)(flags)) -} -func NamedBufferStorageMemEXT(buffer uint32, size int, memory uint32, offset uint64) { - C.glowNamedBufferStorageMemEXT(gpNamedBufferStorageMemEXT, (C.GLuint)(buffer), (C.GLsizeiptr)(size), (C.GLuint)(memory), (C.GLuint64)(offset)) -} - -// updates a subset of a buffer object's data store -func NamedBufferSubData(buffer uint32, offset int, size int, data unsafe.Pointer) { - C.glowNamedBufferSubData(gpNamedBufferSubData, (C.GLuint)(buffer), (C.GLintptr)(offset), (C.GLsizeiptr)(size), data) -} -func NamedBufferSubDataEXT(buffer uint32, offset int, size int, data unsafe.Pointer) { - C.glowNamedBufferSubDataEXT(gpNamedBufferSubDataEXT, (C.GLuint)(buffer), (C.GLintptr)(offset), (C.GLsizeiptr)(size), data) -} -func NamedCopyBufferSubDataEXT(readBuffer uint32, writeBuffer uint32, readOffset int, writeOffset int, size int) { - C.glowNamedCopyBufferSubDataEXT(gpNamedCopyBufferSubDataEXT, (C.GLuint)(readBuffer), (C.GLuint)(writeBuffer), (C.GLintptr)(readOffset), (C.GLintptr)(writeOffset), (C.GLsizeiptr)(size)) -} - -// specify which color buffers are to be drawn into -func NamedFramebufferDrawBuffer(framebuffer uint32, buf uint32) { - C.glowNamedFramebufferDrawBuffer(gpNamedFramebufferDrawBuffer, (C.GLuint)(framebuffer), (C.GLenum)(buf)) -} - -// Specifies a list of color buffers to be drawn into -func NamedFramebufferDrawBuffers(framebuffer uint32, n int32, bufs *uint32) { - C.glowNamedFramebufferDrawBuffers(gpNamedFramebufferDrawBuffers, (C.GLuint)(framebuffer), (C.GLsizei)(n), (*C.GLenum)(unsafe.Pointer(bufs))) -} - -// set a named parameter of a framebuffer object -func NamedFramebufferParameteri(framebuffer uint32, pname uint32, param int32) { - C.glowNamedFramebufferParameteri(gpNamedFramebufferParameteri, (C.GLuint)(framebuffer), (C.GLenum)(pname), (C.GLint)(param)) -} -func NamedFramebufferParameteriEXT(framebuffer uint32, pname uint32, param int32) { - C.glowNamedFramebufferParameteriEXT(gpNamedFramebufferParameteriEXT, (C.GLuint)(framebuffer), (C.GLenum)(pname), (C.GLint)(param)) -} - -// select a color buffer source for pixels -func NamedFramebufferReadBuffer(framebuffer uint32, src uint32) { - C.glowNamedFramebufferReadBuffer(gpNamedFramebufferReadBuffer, (C.GLuint)(framebuffer), (C.GLenum)(src)) -} - -// attach a renderbuffer as a logical buffer of a framebuffer object -func NamedFramebufferRenderbuffer(framebuffer uint32, attachment uint32, renderbuffertarget uint32, renderbuffer uint32) { - C.glowNamedFramebufferRenderbuffer(gpNamedFramebufferRenderbuffer, (C.GLuint)(framebuffer), (C.GLenum)(attachment), (C.GLenum)(renderbuffertarget), (C.GLuint)(renderbuffer)) -} -func NamedFramebufferRenderbufferEXT(framebuffer uint32, attachment uint32, renderbuffertarget uint32, renderbuffer uint32) { - C.glowNamedFramebufferRenderbufferEXT(gpNamedFramebufferRenderbufferEXT, (C.GLuint)(framebuffer), (C.GLenum)(attachment), (C.GLenum)(renderbuffertarget), (C.GLuint)(renderbuffer)) -} -func NamedFramebufferSampleLocationsfvARB(framebuffer uint32, start uint32, count int32, v *float32) { - C.glowNamedFramebufferSampleLocationsfvARB(gpNamedFramebufferSampleLocationsfvARB, (C.GLuint)(framebuffer), (C.GLuint)(start), (C.GLsizei)(count), (*C.GLfloat)(unsafe.Pointer(v))) -} -func NamedFramebufferSampleLocationsfvNV(framebuffer uint32, start uint32, count int32, v *float32) { - C.glowNamedFramebufferSampleLocationsfvNV(gpNamedFramebufferSampleLocationsfvNV, (C.GLuint)(framebuffer), (C.GLuint)(start), (C.GLsizei)(count), (*C.GLfloat)(unsafe.Pointer(v))) -} -func NamedFramebufferSamplePositionsfvAMD(framebuffer uint32, numsamples uint32, pixelindex uint32, values *float32) { - C.glowNamedFramebufferSamplePositionsfvAMD(gpNamedFramebufferSamplePositionsfvAMD, (C.GLuint)(framebuffer), (C.GLuint)(numsamples), (C.GLuint)(pixelindex), (*C.GLfloat)(unsafe.Pointer(values))) -} -func NamedFramebufferTexture(framebuffer uint32, attachment uint32, texture uint32, level int32) { - C.glowNamedFramebufferTexture(gpNamedFramebufferTexture, (C.GLuint)(framebuffer), (C.GLenum)(attachment), (C.GLuint)(texture), (C.GLint)(level)) -} -func NamedFramebufferTexture1DEXT(framebuffer uint32, attachment uint32, textarget uint32, texture uint32, level int32) { - C.glowNamedFramebufferTexture1DEXT(gpNamedFramebufferTexture1DEXT, (C.GLuint)(framebuffer), (C.GLenum)(attachment), (C.GLenum)(textarget), (C.GLuint)(texture), (C.GLint)(level)) -} -func NamedFramebufferTexture2DEXT(framebuffer uint32, attachment uint32, textarget uint32, texture uint32, level int32) { - C.glowNamedFramebufferTexture2DEXT(gpNamedFramebufferTexture2DEXT, (C.GLuint)(framebuffer), (C.GLenum)(attachment), (C.GLenum)(textarget), (C.GLuint)(texture), (C.GLint)(level)) -} -func NamedFramebufferTexture3DEXT(framebuffer uint32, attachment uint32, textarget uint32, texture uint32, level int32, zoffset int32) { - C.glowNamedFramebufferTexture3DEXT(gpNamedFramebufferTexture3DEXT, (C.GLuint)(framebuffer), (C.GLenum)(attachment), (C.GLenum)(textarget), (C.GLuint)(texture), (C.GLint)(level), (C.GLint)(zoffset)) -} -func NamedFramebufferTextureEXT(framebuffer uint32, attachment uint32, texture uint32, level int32) { - C.glowNamedFramebufferTextureEXT(gpNamedFramebufferTextureEXT, (C.GLuint)(framebuffer), (C.GLenum)(attachment), (C.GLuint)(texture), (C.GLint)(level)) -} -func NamedFramebufferTextureFaceEXT(framebuffer uint32, attachment uint32, texture uint32, level int32, face uint32) { - C.glowNamedFramebufferTextureFaceEXT(gpNamedFramebufferTextureFaceEXT, (C.GLuint)(framebuffer), (C.GLenum)(attachment), (C.GLuint)(texture), (C.GLint)(level), (C.GLenum)(face)) -} - -// attach a single layer of a texture object as a logical buffer of a framebuffer object -func NamedFramebufferTextureLayer(framebuffer uint32, attachment uint32, texture uint32, level int32, layer int32) { - C.glowNamedFramebufferTextureLayer(gpNamedFramebufferTextureLayer, (C.GLuint)(framebuffer), (C.GLenum)(attachment), (C.GLuint)(texture), (C.GLint)(level), (C.GLint)(layer)) -} -func NamedFramebufferTextureLayerEXT(framebuffer uint32, attachment uint32, texture uint32, level int32, layer int32) { - C.glowNamedFramebufferTextureLayerEXT(gpNamedFramebufferTextureLayerEXT, (C.GLuint)(framebuffer), (C.GLenum)(attachment), (C.GLuint)(texture), (C.GLint)(level), (C.GLint)(layer)) -} -func NamedProgramLocalParameter4dEXT(program uint32, target uint32, index uint32, x float64, y float64, z float64, w float64) { - C.glowNamedProgramLocalParameter4dEXT(gpNamedProgramLocalParameter4dEXT, (C.GLuint)(program), (C.GLenum)(target), (C.GLuint)(index), (C.GLdouble)(x), (C.GLdouble)(y), (C.GLdouble)(z), (C.GLdouble)(w)) -} -func NamedProgramLocalParameter4dvEXT(program uint32, target uint32, index uint32, params *float64) { - C.glowNamedProgramLocalParameter4dvEXT(gpNamedProgramLocalParameter4dvEXT, (C.GLuint)(program), (C.GLenum)(target), (C.GLuint)(index), (*C.GLdouble)(unsafe.Pointer(params))) -} -func NamedProgramLocalParameter4fEXT(program uint32, target uint32, index uint32, x float32, y float32, z float32, w float32) { - C.glowNamedProgramLocalParameter4fEXT(gpNamedProgramLocalParameter4fEXT, (C.GLuint)(program), (C.GLenum)(target), (C.GLuint)(index), (C.GLfloat)(x), (C.GLfloat)(y), (C.GLfloat)(z), (C.GLfloat)(w)) -} -func NamedProgramLocalParameter4fvEXT(program uint32, target uint32, index uint32, params *float32) { - C.glowNamedProgramLocalParameter4fvEXT(gpNamedProgramLocalParameter4fvEXT, (C.GLuint)(program), (C.GLenum)(target), (C.GLuint)(index), (*C.GLfloat)(unsafe.Pointer(params))) -} -func NamedProgramLocalParameterI4iEXT(program uint32, target uint32, index uint32, x int32, y int32, z int32, w int32) { - C.glowNamedProgramLocalParameterI4iEXT(gpNamedProgramLocalParameterI4iEXT, (C.GLuint)(program), (C.GLenum)(target), (C.GLuint)(index), (C.GLint)(x), (C.GLint)(y), (C.GLint)(z), (C.GLint)(w)) -} -func NamedProgramLocalParameterI4ivEXT(program uint32, target uint32, index uint32, params *int32) { - C.glowNamedProgramLocalParameterI4ivEXT(gpNamedProgramLocalParameterI4ivEXT, (C.GLuint)(program), (C.GLenum)(target), (C.GLuint)(index), (*C.GLint)(unsafe.Pointer(params))) -} -func NamedProgramLocalParameterI4uiEXT(program uint32, target uint32, index uint32, x uint32, y uint32, z uint32, w uint32) { - C.glowNamedProgramLocalParameterI4uiEXT(gpNamedProgramLocalParameterI4uiEXT, (C.GLuint)(program), (C.GLenum)(target), (C.GLuint)(index), (C.GLuint)(x), (C.GLuint)(y), (C.GLuint)(z), (C.GLuint)(w)) -} -func NamedProgramLocalParameterI4uivEXT(program uint32, target uint32, index uint32, params *uint32) { - C.glowNamedProgramLocalParameterI4uivEXT(gpNamedProgramLocalParameterI4uivEXT, (C.GLuint)(program), (C.GLenum)(target), (C.GLuint)(index), (*C.GLuint)(unsafe.Pointer(params))) -} -func NamedProgramLocalParameters4fvEXT(program uint32, target uint32, index uint32, count int32, params *float32) { - C.glowNamedProgramLocalParameters4fvEXT(gpNamedProgramLocalParameters4fvEXT, (C.GLuint)(program), (C.GLenum)(target), (C.GLuint)(index), (C.GLsizei)(count), (*C.GLfloat)(unsafe.Pointer(params))) -} -func NamedProgramLocalParametersI4ivEXT(program uint32, target uint32, index uint32, count int32, params *int32) { - C.glowNamedProgramLocalParametersI4ivEXT(gpNamedProgramLocalParametersI4ivEXT, (C.GLuint)(program), (C.GLenum)(target), (C.GLuint)(index), (C.GLsizei)(count), (*C.GLint)(unsafe.Pointer(params))) -} -func NamedProgramLocalParametersI4uivEXT(program uint32, target uint32, index uint32, count int32, params *uint32) { - C.glowNamedProgramLocalParametersI4uivEXT(gpNamedProgramLocalParametersI4uivEXT, (C.GLuint)(program), (C.GLenum)(target), (C.GLuint)(index), (C.GLsizei)(count), (*C.GLuint)(unsafe.Pointer(params))) -} -func NamedProgramStringEXT(program uint32, target uint32, format uint32, len int32, xstring unsafe.Pointer) { - C.glowNamedProgramStringEXT(gpNamedProgramStringEXT, (C.GLuint)(program), (C.GLenum)(target), (C.GLenum)(format), (C.GLsizei)(len), xstring) -} - -// establish data storage, format and dimensions of a renderbuffer object's image -func NamedRenderbufferStorage(renderbuffer uint32, internalformat uint32, width int32, height int32) { - C.glowNamedRenderbufferStorage(gpNamedRenderbufferStorage, (C.GLuint)(renderbuffer), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height)) -} -func NamedRenderbufferStorageEXT(renderbuffer uint32, internalformat uint32, width int32, height int32) { - C.glowNamedRenderbufferStorageEXT(gpNamedRenderbufferStorageEXT, (C.GLuint)(renderbuffer), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height)) -} - -// establish data storage, format, dimensions and sample count of a renderbuffer object's image -func NamedRenderbufferStorageMultisample(renderbuffer uint32, samples int32, internalformat uint32, width int32, height int32) { - C.glowNamedRenderbufferStorageMultisample(gpNamedRenderbufferStorageMultisample, (C.GLuint)(renderbuffer), (C.GLsizei)(samples), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height)) -} -func NamedRenderbufferStorageMultisampleCoverageEXT(renderbuffer uint32, coverageSamples int32, colorSamples int32, internalformat uint32, width int32, height int32) { - C.glowNamedRenderbufferStorageMultisampleCoverageEXT(gpNamedRenderbufferStorageMultisampleCoverageEXT, (C.GLuint)(renderbuffer), (C.GLsizei)(coverageSamples), (C.GLsizei)(colorSamples), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height)) -} -func NamedRenderbufferStorageMultisampleEXT(renderbuffer uint32, samples int32, internalformat uint32, width int32, height int32) { - C.glowNamedRenderbufferStorageMultisampleEXT(gpNamedRenderbufferStorageMultisampleEXT, (C.GLuint)(renderbuffer), (C.GLsizei)(samples), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height)) -} -func NamedStringARB(xtype uint32, namelen int32, name *uint8, stringlen int32, xstring *uint8) { - C.glowNamedStringARB(gpNamedStringARB, (C.GLenum)(xtype), (C.GLint)(namelen), (*C.GLchar)(unsafe.Pointer(name)), (C.GLint)(stringlen), (*C.GLchar)(unsafe.Pointer(xstring))) -} - -// create or replace a display list -func NewList(list uint32, mode uint32) { - C.glowNewList(gpNewList, (C.GLuint)(list), (C.GLenum)(mode)) -} -func NewObjectBufferATI(size int32, pointer unsafe.Pointer, usage uint32) uint32 { - ret := C.glowNewObjectBufferATI(gpNewObjectBufferATI, (C.GLsizei)(size), pointer, (C.GLenum)(usage)) - return (uint32)(ret) -} -func Normal3b(nx int8, ny int8, nz int8) { - C.glowNormal3b(gpNormal3b, (C.GLbyte)(nx), (C.GLbyte)(ny), (C.GLbyte)(nz)) -} -func Normal3bv(v *int8) { - C.glowNormal3bv(gpNormal3bv, (*C.GLbyte)(unsafe.Pointer(v))) -} -func Normal3d(nx float64, ny float64, nz float64) { - C.glowNormal3d(gpNormal3d, (C.GLdouble)(nx), (C.GLdouble)(ny), (C.GLdouble)(nz)) -} -func Normal3dv(v *float64) { - C.glowNormal3dv(gpNormal3dv, (*C.GLdouble)(unsafe.Pointer(v))) -} -func Normal3f(nx float32, ny float32, nz float32) { - C.glowNormal3f(gpNormal3f, (C.GLfloat)(nx), (C.GLfloat)(ny), (C.GLfloat)(nz)) -} -func Normal3fVertex3fSUN(nx float32, ny float32, nz float32, x float32, y float32, z float32) { - C.glowNormal3fVertex3fSUN(gpNormal3fVertex3fSUN, (C.GLfloat)(nx), (C.GLfloat)(ny), (C.GLfloat)(nz), (C.GLfloat)(x), (C.GLfloat)(y), (C.GLfloat)(z)) -} -func Normal3fVertex3fvSUN(n *float32, v *float32) { - C.glowNormal3fVertex3fvSUN(gpNormal3fVertex3fvSUN, (*C.GLfloat)(unsafe.Pointer(n)), (*C.GLfloat)(unsafe.Pointer(v))) -} -func Normal3fv(v *float32) { - C.glowNormal3fv(gpNormal3fv, (*C.GLfloat)(unsafe.Pointer(v))) -} -func Normal3hNV(nx uint16, ny uint16, nz uint16) { - C.glowNormal3hNV(gpNormal3hNV, (C.GLhalfNV)(nx), (C.GLhalfNV)(ny), (C.GLhalfNV)(nz)) -} -func Normal3hvNV(v *uint16) { - C.glowNormal3hvNV(gpNormal3hvNV, (*C.GLhalfNV)(unsafe.Pointer(v))) -} -func Normal3i(nx int32, ny int32, nz int32) { - C.glowNormal3i(gpNormal3i, (C.GLint)(nx), (C.GLint)(ny), (C.GLint)(nz)) -} -func Normal3iv(v *int32) { - C.glowNormal3iv(gpNormal3iv, (*C.GLint)(unsafe.Pointer(v))) -} -func Normal3s(nx int16, ny int16, nz int16) { - C.glowNormal3s(gpNormal3s, (C.GLshort)(nx), (C.GLshort)(ny), (C.GLshort)(nz)) -} -func Normal3sv(v *int16) { - C.glowNormal3sv(gpNormal3sv, (*C.GLshort)(unsafe.Pointer(v))) -} -func Normal3xOES(nx int32, ny int32, nz int32) { - C.glowNormal3xOES(gpNormal3xOES, (C.GLfixed)(nx), (C.GLfixed)(ny), (C.GLfixed)(nz)) -} -func Normal3xvOES(coords *int32) { - C.glowNormal3xvOES(gpNormal3xvOES, (*C.GLfixed)(unsafe.Pointer(coords))) -} -func NormalFormatNV(xtype uint32, stride int32) { - C.glowNormalFormatNV(gpNormalFormatNV, (C.GLenum)(xtype), (C.GLsizei)(stride)) -} - -// define an array of normals -func NormalPointer(xtype uint32, stride int32, pointer unsafe.Pointer) { - C.glowNormalPointer(gpNormalPointer, (C.GLenum)(xtype), (C.GLsizei)(stride), pointer) -} -func NormalPointerEXT(xtype uint32, stride int32, count int32, pointer unsafe.Pointer) { - C.glowNormalPointerEXT(gpNormalPointerEXT, (C.GLenum)(xtype), (C.GLsizei)(stride), (C.GLsizei)(count), pointer) -} -func NormalPointerListIBM(xtype uint32, stride int32, pointer *unsafe.Pointer, ptrstride int32) { - C.glowNormalPointerListIBM(gpNormalPointerListIBM, (C.GLenum)(xtype), (C.GLint)(stride), pointer, (C.GLint)(ptrstride)) -} -func NormalPointervINTEL(xtype uint32, pointer *unsafe.Pointer) { - C.glowNormalPointervINTEL(gpNormalPointervINTEL, (C.GLenum)(xtype), pointer) -} -func NormalStream3bATI(stream uint32, nx int8, ny int8, nz int8) { - C.glowNormalStream3bATI(gpNormalStream3bATI, (C.GLenum)(stream), (C.GLbyte)(nx), (C.GLbyte)(ny), (C.GLbyte)(nz)) -} -func NormalStream3bvATI(stream uint32, coords *int8) { - C.glowNormalStream3bvATI(gpNormalStream3bvATI, (C.GLenum)(stream), (*C.GLbyte)(unsafe.Pointer(coords))) -} -func NormalStream3dATI(stream uint32, nx float64, ny float64, nz float64) { - C.glowNormalStream3dATI(gpNormalStream3dATI, (C.GLenum)(stream), (C.GLdouble)(nx), (C.GLdouble)(ny), (C.GLdouble)(nz)) -} -func NormalStream3dvATI(stream uint32, coords *float64) { - C.glowNormalStream3dvATI(gpNormalStream3dvATI, (C.GLenum)(stream), (*C.GLdouble)(unsafe.Pointer(coords))) -} -func NormalStream3fATI(stream uint32, nx float32, ny float32, nz float32) { - C.glowNormalStream3fATI(gpNormalStream3fATI, (C.GLenum)(stream), (C.GLfloat)(nx), (C.GLfloat)(ny), (C.GLfloat)(nz)) -} -func NormalStream3fvATI(stream uint32, coords *float32) { - C.glowNormalStream3fvATI(gpNormalStream3fvATI, (C.GLenum)(stream), (*C.GLfloat)(unsafe.Pointer(coords))) -} -func NormalStream3iATI(stream uint32, nx int32, ny int32, nz int32) { - C.glowNormalStream3iATI(gpNormalStream3iATI, (C.GLenum)(stream), (C.GLint)(nx), (C.GLint)(ny), (C.GLint)(nz)) -} -func NormalStream3ivATI(stream uint32, coords *int32) { - C.glowNormalStream3ivATI(gpNormalStream3ivATI, (C.GLenum)(stream), (*C.GLint)(unsafe.Pointer(coords))) -} -func NormalStream3sATI(stream uint32, nx int16, ny int16, nz int16) { - C.glowNormalStream3sATI(gpNormalStream3sATI, (C.GLenum)(stream), (C.GLshort)(nx), (C.GLshort)(ny), (C.GLshort)(nz)) -} -func NormalStream3svATI(stream uint32, coords *int16) { - C.glowNormalStream3svATI(gpNormalStream3svATI, (C.GLenum)(stream), (*C.GLshort)(unsafe.Pointer(coords))) -} - -// label a named object identified within a namespace -func ObjectLabel(identifier uint32, name uint32, length int32, label *uint8) { - C.glowObjectLabel(gpObjectLabel, (C.GLenum)(identifier), (C.GLuint)(name), (C.GLsizei)(length), (*C.GLchar)(unsafe.Pointer(label))) -} -func ObjectLabelKHR(identifier uint32, name uint32, length int32, label *uint8) { - C.glowObjectLabelKHR(gpObjectLabelKHR, (C.GLenum)(identifier), (C.GLuint)(name), (C.GLsizei)(length), (*C.GLchar)(unsafe.Pointer(label))) -} - -// label a a sync object identified by a pointer -func ObjectPtrLabel(ptr unsafe.Pointer, length int32, label *uint8) { - C.glowObjectPtrLabel(gpObjectPtrLabel, ptr, (C.GLsizei)(length), (*C.GLchar)(unsafe.Pointer(label))) -} -func ObjectPtrLabelKHR(ptr unsafe.Pointer, length int32, label *uint8) { - C.glowObjectPtrLabelKHR(gpObjectPtrLabelKHR, ptr, (C.GLsizei)(length), (*C.GLchar)(unsafe.Pointer(label))) -} -func ObjectPurgeableAPPLE(objectType uint32, name uint32, option uint32) uint32 { - ret := C.glowObjectPurgeableAPPLE(gpObjectPurgeableAPPLE, (C.GLenum)(objectType), (C.GLuint)(name), (C.GLenum)(option)) - return (uint32)(ret) -} -func ObjectUnpurgeableAPPLE(objectType uint32, name uint32, option uint32) uint32 { - ret := C.glowObjectUnpurgeableAPPLE(gpObjectUnpurgeableAPPLE, (C.GLenum)(objectType), (C.GLuint)(name), (C.GLenum)(option)) - return (uint32)(ret) -} - -// multiply the current matrix with an orthographic matrix -func Ortho(left float64, right float64, bottom float64, top float64, zNear float64, zFar float64) { - C.glowOrtho(gpOrtho, (C.GLdouble)(left), (C.GLdouble)(right), (C.GLdouble)(bottom), (C.GLdouble)(top), (C.GLdouble)(zNear), (C.GLdouble)(zFar)) -} -func OrthofOES(l float32, r float32, b float32, t float32, n float32, f float32) { - C.glowOrthofOES(gpOrthofOES, (C.GLfloat)(l), (C.GLfloat)(r), (C.GLfloat)(b), (C.GLfloat)(t), (C.GLfloat)(n), (C.GLfloat)(f)) -} -func OrthoxOES(l int32, r int32, b int32, t int32, n int32, f int32) { - C.glowOrthoxOES(gpOrthoxOES, (C.GLfixed)(l), (C.GLfixed)(r), (C.GLfixed)(b), (C.GLfixed)(t), (C.GLfixed)(n), (C.GLfixed)(f)) -} -func PNTrianglesfATI(pname uint32, param float32) { - C.glowPNTrianglesfATI(gpPNTrianglesfATI, (C.GLenum)(pname), (C.GLfloat)(param)) -} -func PNTrianglesiATI(pname uint32, param int32) { - C.glowPNTrianglesiATI(gpPNTrianglesiATI, (C.GLenum)(pname), (C.GLint)(param)) -} -func PassTexCoordATI(dst uint32, coord uint32, swizzle uint32) { - C.glowPassTexCoordATI(gpPassTexCoordATI, (C.GLuint)(dst), (C.GLuint)(coord), (C.GLenum)(swizzle)) -} - -// place a marker in the feedback buffer -func PassThrough(token float32) { - C.glowPassThrough(gpPassThrough, (C.GLfloat)(token)) -} -func PassThroughxOES(token int32) { - C.glowPassThroughxOES(gpPassThroughxOES, (C.GLfixed)(token)) -} -func PatchParameterfv(pname uint32, values *float32) { - C.glowPatchParameterfv(gpPatchParameterfv, (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(values))) -} - -// specifies the parameters for patch primitives -func PatchParameteri(pname uint32, value int32) { - C.glowPatchParameteri(gpPatchParameteri, (C.GLenum)(pname), (C.GLint)(value)) -} -func PathCommandsNV(path uint32, numCommands int32, commands *uint8, numCoords int32, coordType uint32, coords unsafe.Pointer) { - C.glowPathCommandsNV(gpPathCommandsNV, (C.GLuint)(path), (C.GLsizei)(numCommands), (*C.GLubyte)(unsafe.Pointer(commands)), (C.GLsizei)(numCoords), (C.GLenum)(coordType), coords) -} -func PathCoordsNV(path uint32, numCoords int32, coordType uint32, coords unsafe.Pointer) { - C.glowPathCoordsNV(gpPathCoordsNV, (C.GLuint)(path), (C.GLsizei)(numCoords), (C.GLenum)(coordType), coords) -} -func PathCoverDepthFuncNV(xfunc uint32) { - C.glowPathCoverDepthFuncNV(gpPathCoverDepthFuncNV, (C.GLenum)(xfunc)) -} -func PathDashArrayNV(path uint32, dashCount int32, dashArray *float32) { - C.glowPathDashArrayNV(gpPathDashArrayNV, (C.GLuint)(path), (C.GLsizei)(dashCount), (*C.GLfloat)(unsafe.Pointer(dashArray))) -} -func PathGlyphIndexArrayNV(firstPathName uint32, fontTarget uint32, fontName unsafe.Pointer, fontStyle uint32, firstGlyphIndex uint32, numGlyphs int32, pathParameterTemplate uint32, emScale float32) uint32 { - ret := C.glowPathGlyphIndexArrayNV(gpPathGlyphIndexArrayNV, (C.GLuint)(firstPathName), (C.GLenum)(fontTarget), fontName, (C.GLbitfield)(fontStyle), (C.GLuint)(firstGlyphIndex), (C.GLsizei)(numGlyphs), (C.GLuint)(pathParameterTemplate), (C.GLfloat)(emScale)) - return (uint32)(ret) -} -func PathGlyphIndexRangeNV(fontTarget uint32, fontName unsafe.Pointer, fontStyle uint32, pathParameterTemplate uint32, emScale float32, baseAndCount *uint32) uint32 { - ret := C.glowPathGlyphIndexRangeNV(gpPathGlyphIndexRangeNV, (C.GLenum)(fontTarget), fontName, (C.GLbitfield)(fontStyle), (C.GLuint)(pathParameterTemplate), (C.GLfloat)(emScale), (*C.GLuint)(unsafe.Pointer(baseAndCount))) - return (uint32)(ret) -} -func PathGlyphRangeNV(firstPathName uint32, fontTarget uint32, fontName unsafe.Pointer, fontStyle uint32, firstGlyph uint32, numGlyphs int32, handleMissingGlyphs uint32, pathParameterTemplate uint32, emScale float32) { - C.glowPathGlyphRangeNV(gpPathGlyphRangeNV, (C.GLuint)(firstPathName), (C.GLenum)(fontTarget), fontName, (C.GLbitfield)(fontStyle), (C.GLuint)(firstGlyph), (C.GLsizei)(numGlyphs), (C.GLenum)(handleMissingGlyphs), (C.GLuint)(pathParameterTemplate), (C.GLfloat)(emScale)) -} -func PathGlyphsNV(firstPathName uint32, fontTarget uint32, fontName unsafe.Pointer, fontStyle uint32, numGlyphs int32, xtype uint32, charcodes unsafe.Pointer, handleMissingGlyphs uint32, pathParameterTemplate uint32, emScale float32) { - C.glowPathGlyphsNV(gpPathGlyphsNV, (C.GLuint)(firstPathName), (C.GLenum)(fontTarget), fontName, (C.GLbitfield)(fontStyle), (C.GLsizei)(numGlyphs), (C.GLenum)(xtype), charcodes, (C.GLenum)(handleMissingGlyphs), (C.GLuint)(pathParameterTemplate), (C.GLfloat)(emScale)) -} -func PathMemoryGlyphIndexArrayNV(firstPathName uint32, fontTarget uint32, fontSize int, fontData unsafe.Pointer, faceIndex int32, firstGlyphIndex uint32, numGlyphs int32, pathParameterTemplate uint32, emScale float32) uint32 { - ret := C.glowPathMemoryGlyphIndexArrayNV(gpPathMemoryGlyphIndexArrayNV, (C.GLuint)(firstPathName), (C.GLenum)(fontTarget), (C.GLsizeiptr)(fontSize), fontData, (C.GLsizei)(faceIndex), (C.GLuint)(firstGlyphIndex), (C.GLsizei)(numGlyphs), (C.GLuint)(pathParameterTemplate), (C.GLfloat)(emScale)) - return (uint32)(ret) -} -func PathParameterfNV(path uint32, pname uint32, value float32) { - C.glowPathParameterfNV(gpPathParameterfNV, (C.GLuint)(path), (C.GLenum)(pname), (C.GLfloat)(value)) -} -func PathParameterfvNV(path uint32, pname uint32, value *float32) { - C.glowPathParameterfvNV(gpPathParameterfvNV, (C.GLuint)(path), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(value))) -} -func PathParameteriNV(path uint32, pname uint32, value int32) { - C.glowPathParameteriNV(gpPathParameteriNV, (C.GLuint)(path), (C.GLenum)(pname), (C.GLint)(value)) -} -func PathParameterivNV(path uint32, pname uint32, value *int32) { - C.glowPathParameterivNV(gpPathParameterivNV, (C.GLuint)(path), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(value))) -} -func PathStencilDepthOffsetNV(factor float32, units float32) { - C.glowPathStencilDepthOffsetNV(gpPathStencilDepthOffsetNV, (C.GLfloat)(factor), (C.GLfloat)(units)) -} -func PathStencilFuncNV(xfunc uint32, ref int32, mask uint32) { - C.glowPathStencilFuncNV(gpPathStencilFuncNV, (C.GLenum)(xfunc), (C.GLint)(ref), (C.GLuint)(mask)) -} -func PathStringNV(path uint32, format uint32, length int32, pathString unsafe.Pointer) { - C.glowPathStringNV(gpPathStringNV, (C.GLuint)(path), (C.GLenum)(format), (C.GLsizei)(length), pathString) -} -func PathSubCommandsNV(path uint32, commandStart int32, commandsToDelete int32, numCommands int32, commands *uint8, numCoords int32, coordType uint32, coords unsafe.Pointer) { - C.glowPathSubCommandsNV(gpPathSubCommandsNV, (C.GLuint)(path), (C.GLsizei)(commandStart), (C.GLsizei)(commandsToDelete), (C.GLsizei)(numCommands), (*C.GLubyte)(unsafe.Pointer(commands)), (C.GLsizei)(numCoords), (C.GLenum)(coordType), coords) -} -func PathSubCoordsNV(path uint32, coordStart int32, numCoords int32, coordType uint32, coords unsafe.Pointer) { - C.glowPathSubCoordsNV(gpPathSubCoordsNV, (C.GLuint)(path), (C.GLsizei)(coordStart), (C.GLsizei)(numCoords), (C.GLenum)(coordType), coords) -} - -// pause transform feedback operations -func PauseTransformFeedback() { - C.glowPauseTransformFeedback(gpPauseTransformFeedback) -} -func PauseTransformFeedbackNV() { - C.glowPauseTransformFeedbackNV(gpPauseTransformFeedbackNV) -} -func PixelDataRangeNV(target uint32, length int32, pointer unsafe.Pointer) { - C.glowPixelDataRangeNV(gpPixelDataRangeNV, (C.GLenum)(target), (C.GLsizei)(length), pointer) -} -func PixelMapfv(xmap uint32, mapsize int32, values *float32) { - C.glowPixelMapfv(gpPixelMapfv, (C.GLenum)(xmap), (C.GLsizei)(mapsize), (*C.GLfloat)(unsafe.Pointer(values))) -} -func PixelMapuiv(xmap uint32, mapsize int32, values *uint32) { - C.glowPixelMapuiv(gpPixelMapuiv, (C.GLenum)(xmap), (C.GLsizei)(mapsize), (*C.GLuint)(unsafe.Pointer(values))) -} -func PixelMapusv(xmap uint32, mapsize int32, values *uint16) { - C.glowPixelMapusv(gpPixelMapusv, (C.GLenum)(xmap), (C.GLsizei)(mapsize), (*C.GLushort)(unsafe.Pointer(values))) -} -func PixelMapx(xmap uint32, size int32, values *int32) { - C.glowPixelMapx(gpPixelMapx, (C.GLenum)(xmap), (C.GLint)(size), (*C.GLfixed)(unsafe.Pointer(values))) -} -func PixelStoref(pname uint32, param float32) { - C.glowPixelStoref(gpPixelStoref, (C.GLenum)(pname), (C.GLfloat)(param)) -} - -// set pixel storage modes func PixelStorei(pname uint32, param int32) { C.glowPixelStorei(gpPixelStorei, (C.GLenum)(pname), (C.GLint)(param)) } -func PixelStorex(pname uint32, param int32) { - C.glowPixelStorex(gpPixelStorex, (C.GLenum)(pname), (C.GLfixed)(param)) -} -func PixelTexGenParameterfSGIS(pname uint32, param float32) { - C.glowPixelTexGenParameterfSGIS(gpPixelTexGenParameterfSGIS, (C.GLenum)(pname), (C.GLfloat)(param)) -} -func PixelTexGenParameterfvSGIS(pname uint32, params *float32) { - C.glowPixelTexGenParameterfvSGIS(gpPixelTexGenParameterfvSGIS, (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func PixelTexGenParameteriSGIS(pname uint32, param int32) { - C.glowPixelTexGenParameteriSGIS(gpPixelTexGenParameteriSGIS, (C.GLenum)(pname), (C.GLint)(param)) -} -func PixelTexGenParameterivSGIS(pname uint32, params *int32) { - C.glowPixelTexGenParameterivSGIS(gpPixelTexGenParameterivSGIS, (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func PixelTexGenSGIX(mode uint32) { - C.glowPixelTexGenSGIX(gpPixelTexGenSGIX, (C.GLenum)(mode)) -} -func PixelTransferf(pname uint32, param float32) { - C.glowPixelTransferf(gpPixelTransferf, (C.GLenum)(pname), (C.GLfloat)(param)) -} -func PixelTransferi(pname uint32, param int32) { - C.glowPixelTransferi(gpPixelTransferi, (C.GLenum)(pname), (C.GLint)(param)) -} -func PixelTransferxOES(pname uint32, param int32) { - C.glowPixelTransferxOES(gpPixelTransferxOES, (C.GLenum)(pname), (C.GLfixed)(param)) -} -func PixelTransformParameterfEXT(target uint32, pname uint32, param float32) { - C.glowPixelTransformParameterfEXT(gpPixelTransformParameterfEXT, (C.GLenum)(target), (C.GLenum)(pname), (C.GLfloat)(param)) -} -func PixelTransformParameterfvEXT(target uint32, pname uint32, params *float32) { - C.glowPixelTransformParameterfvEXT(gpPixelTransformParameterfvEXT, (C.GLenum)(target), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func PixelTransformParameteriEXT(target uint32, pname uint32, param int32) { - C.glowPixelTransformParameteriEXT(gpPixelTransformParameteriEXT, (C.GLenum)(target), (C.GLenum)(pname), (C.GLint)(param)) -} -func PixelTransformParameterivEXT(target uint32, pname uint32, params *int32) { - C.glowPixelTransformParameterivEXT(gpPixelTransformParameterivEXT, (C.GLenum)(target), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -// specify the pixel zoom factors -func PixelZoom(xfactor float32, yfactor float32) { - C.glowPixelZoom(gpPixelZoom, (C.GLfloat)(xfactor), (C.GLfloat)(yfactor)) -} -func PixelZoomxOES(xfactor int32, yfactor int32) { - C.glowPixelZoomxOES(gpPixelZoomxOES, (C.GLfixed)(xfactor), (C.GLfixed)(yfactor)) -} -func PointAlongPathNV(path uint32, startSegment int32, numSegments int32, distance float32, x *float32, y *float32, tangentX *float32, tangentY *float32) bool { - ret := C.glowPointAlongPathNV(gpPointAlongPathNV, (C.GLuint)(path), (C.GLsizei)(startSegment), (C.GLsizei)(numSegments), (C.GLfloat)(distance), (*C.GLfloat)(unsafe.Pointer(x)), (*C.GLfloat)(unsafe.Pointer(y)), (*C.GLfloat)(unsafe.Pointer(tangentX)), (*C.GLfloat)(unsafe.Pointer(tangentY))) - return ret == TRUE -} -func PointParameterf(pname uint32, param float32) { - C.glowPointParameterf(gpPointParameterf, (C.GLenum)(pname), (C.GLfloat)(param)) -} -func PointParameterfARB(pname uint32, param float32) { - C.glowPointParameterfARB(gpPointParameterfARB, (C.GLenum)(pname), (C.GLfloat)(param)) -} -func PointParameterfEXT(pname uint32, param float32) { - C.glowPointParameterfEXT(gpPointParameterfEXT, (C.GLenum)(pname), (C.GLfloat)(param)) -} -func PointParameterfSGIS(pname uint32, param float32) { - C.glowPointParameterfSGIS(gpPointParameterfSGIS, (C.GLenum)(pname), (C.GLfloat)(param)) -} -func PointParameterfv(pname uint32, params *float32) { - C.glowPointParameterfv(gpPointParameterfv, (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func PointParameterfvARB(pname uint32, params *float32) { - C.glowPointParameterfvARB(gpPointParameterfvARB, (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func PointParameterfvEXT(pname uint32, params *float32) { - C.glowPointParameterfvEXT(gpPointParameterfvEXT, (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func PointParameterfvSGIS(pname uint32, params *float32) { - C.glowPointParameterfvSGIS(gpPointParameterfvSGIS, (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func PointParameteri(pname uint32, param int32) { - C.glowPointParameteri(gpPointParameteri, (C.GLenum)(pname), (C.GLint)(param)) -} -func PointParameteriNV(pname uint32, param int32) { - C.glowPointParameteriNV(gpPointParameteriNV, (C.GLenum)(pname), (C.GLint)(param)) -} -func PointParameteriv(pname uint32, params *int32) { - C.glowPointParameteriv(gpPointParameteriv, (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func PointParameterivNV(pname uint32, params *int32) { - C.glowPointParameterivNV(gpPointParameterivNV, (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func PointParameterxOES(pname uint32, param int32) { - C.glowPointParameterxOES(gpPointParameterxOES, (C.GLenum)(pname), (C.GLfixed)(param)) -} -func PointParameterxvOES(pname uint32, params *int32) { - C.glowPointParameterxvOES(gpPointParameterxvOES, (C.GLenum)(pname), (*C.GLfixed)(unsafe.Pointer(params))) -} - -// specify the diameter of rasterized points -func PointSize(size float32) { - C.glowPointSize(gpPointSize, (C.GLfloat)(size)) -} -func PointSizexOES(size int32) { - C.glowPointSizexOES(gpPointSizexOES, (C.GLfixed)(size)) -} -func PollAsyncSGIX(markerp *uint32) int32 { - ret := C.glowPollAsyncSGIX(gpPollAsyncSGIX, (*C.GLuint)(unsafe.Pointer(markerp))) - return (int32)(ret) -} -func PollInstrumentsSGIX(marker_p *int32) int32 { - ret := C.glowPollInstrumentsSGIX(gpPollInstrumentsSGIX, (*C.GLint)(unsafe.Pointer(marker_p))) - return (int32)(ret) -} - -// select a polygon rasterization mode -func PolygonMode(face uint32, mode uint32) { - C.glowPolygonMode(gpPolygonMode, (C.GLenum)(face), (C.GLenum)(mode)) -} - -// set the scale and units used to calculate depth values -func PolygonOffset(factor float32, units float32) { - C.glowPolygonOffset(gpPolygonOffset, (C.GLfloat)(factor), (C.GLfloat)(units)) -} -func PolygonOffsetClamp(factor float32, units float32, clamp float32) { - C.glowPolygonOffsetClamp(gpPolygonOffsetClamp, (C.GLfloat)(factor), (C.GLfloat)(units), (C.GLfloat)(clamp)) -} -func PolygonOffsetClampEXT(factor float32, units float32, clamp float32) { - C.glowPolygonOffsetClampEXT(gpPolygonOffsetClampEXT, (C.GLfloat)(factor), (C.GLfloat)(units), (C.GLfloat)(clamp)) -} -func PolygonOffsetEXT(factor float32, bias float32) { - C.glowPolygonOffsetEXT(gpPolygonOffsetEXT, (C.GLfloat)(factor), (C.GLfloat)(bias)) -} -func PolygonOffsetxOES(factor int32, units int32) { - C.glowPolygonOffsetxOES(gpPolygonOffsetxOES, (C.GLfixed)(factor), (C.GLfixed)(units)) -} - -// set the polygon stippling pattern -func PolygonStipple(mask *uint8) { - C.glowPolygonStipple(gpPolygonStipple, (*C.GLubyte)(unsafe.Pointer(mask))) -} -func PopAttrib() { - C.glowPopAttrib(gpPopAttrib) -} -func PopClientAttrib() { - C.glowPopClientAttrib(gpPopClientAttrib) -} - -// pop the active debug group -func PopDebugGroup() { - C.glowPopDebugGroup(gpPopDebugGroup) -} -func PopDebugGroupKHR() { - C.glowPopDebugGroupKHR(gpPopDebugGroupKHR) -} -func PopGroupMarkerEXT() { - C.glowPopGroupMarkerEXT(gpPopGroupMarkerEXT) -} -func PopMatrix() { - C.glowPopMatrix(gpPopMatrix) -} -func PopName() { - C.glowPopName(gpPopName) -} -func PresentFrameDualFillNV(video_slot uint32, minPresentTime uint64, beginPresentTimeId uint32, presentDurationId uint32, xtype uint32, target0 uint32, fill0 uint32, target1 uint32, fill1 uint32, target2 uint32, fill2 uint32, target3 uint32, fill3 uint32) { - C.glowPresentFrameDualFillNV(gpPresentFrameDualFillNV, (C.GLuint)(video_slot), (C.GLuint64EXT)(minPresentTime), (C.GLuint)(beginPresentTimeId), (C.GLuint)(presentDurationId), (C.GLenum)(xtype), (C.GLenum)(target0), (C.GLuint)(fill0), (C.GLenum)(target1), (C.GLuint)(fill1), (C.GLenum)(target2), (C.GLuint)(fill2), (C.GLenum)(target3), (C.GLuint)(fill3)) -} -func PresentFrameKeyedNV(video_slot uint32, minPresentTime uint64, beginPresentTimeId uint32, presentDurationId uint32, xtype uint32, target0 uint32, fill0 uint32, key0 uint32, target1 uint32, fill1 uint32, key1 uint32) { - C.glowPresentFrameKeyedNV(gpPresentFrameKeyedNV, (C.GLuint)(video_slot), (C.GLuint64EXT)(minPresentTime), (C.GLuint)(beginPresentTimeId), (C.GLuint)(presentDurationId), (C.GLenum)(xtype), (C.GLenum)(target0), (C.GLuint)(fill0), (C.GLuint)(key0), (C.GLenum)(target1), (C.GLuint)(fill1), (C.GLuint)(key1)) -} -func PrimitiveBoundingBoxARB(minX float32, minY float32, minZ float32, minW float32, maxX float32, maxY float32, maxZ float32, maxW float32) { - C.glowPrimitiveBoundingBoxARB(gpPrimitiveBoundingBoxARB, (C.GLfloat)(minX), (C.GLfloat)(minY), (C.GLfloat)(minZ), (C.GLfloat)(minW), (C.GLfloat)(maxX), (C.GLfloat)(maxY), (C.GLfloat)(maxZ), (C.GLfloat)(maxW)) -} -func PrimitiveRestartIndexNV(index uint32) { - C.glowPrimitiveRestartIndexNV(gpPrimitiveRestartIndexNV, (C.GLuint)(index)) -} -func PrimitiveRestartNV() { - C.glowPrimitiveRestartNV(gpPrimitiveRestartNV) -} - -// set texture residence priority -func PrioritizeTextures(n int32, textures *uint32, priorities *float32) { - C.glowPrioritizeTextures(gpPrioritizeTextures, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(textures)), (*C.GLfloat)(unsafe.Pointer(priorities))) -} -func PrioritizeTexturesEXT(n int32, textures *uint32, priorities *float32) { - C.glowPrioritizeTexturesEXT(gpPrioritizeTexturesEXT, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(textures)), (*C.GLclampf)(unsafe.Pointer(priorities))) -} -func PrioritizeTexturesxOES(n int32, textures *uint32, priorities *int32) { - C.glowPrioritizeTexturesxOES(gpPrioritizeTexturesxOES, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(textures)), (*C.GLfixed)(unsafe.Pointer(priorities))) -} - -// load a program object with a program binary -func ProgramBinary(program uint32, binaryFormat uint32, binary unsafe.Pointer, length int32) { - C.glowProgramBinary(gpProgramBinary, (C.GLuint)(program), (C.GLenum)(binaryFormat), binary, (C.GLsizei)(length)) -} -func ProgramBufferParametersIivNV(target uint32, bindingIndex uint32, wordIndex uint32, count int32, params *int32) { - C.glowProgramBufferParametersIivNV(gpProgramBufferParametersIivNV, (C.GLenum)(target), (C.GLuint)(bindingIndex), (C.GLuint)(wordIndex), (C.GLsizei)(count), (*C.GLint)(unsafe.Pointer(params))) -} -func ProgramBufferParametersIuivNV(target uint32, bindingIndex uint32, wordIndex uint32, count int32, params *uint32) { - C.glowProgramBufferParametersIuivNV(gpProgramBufferParametersIuivNV, (C.GLenum)(target), (C.GLuint)(bindingIndex), (C.GLuint)(wordIndex), (C.GLsizei)(count), (*C.GLuint)(unsafe.Pointer(params))) -} -func ProgramBufferParametersfvNV(target uint32, bindingIndex uint32, wordIndex uint32, count int32, params *float32) { - C.glowProgramBufferParametersfvNV(gpProgramBufferParametersfvNV, (C.GLenum)(target), (C.GLuint)(bindingIndex), (C.GLuint)(wordIndex), (C.GLsizei)(count), (*C.GLfloat)(unsafe.Pointer(params))) -} -func ProgramEnvParameter4dARB(target uint32, index uint32, x float64, y float64, z float64, w float64) { - C.glowProgramEnvParameter4dARB(gpProgramEnvParameter4dARB, (C.GLenum)(target), (C.GLuint)(index), (C.GLdouble)(x), (C.GLdouble)(y), (C.GLdouble)(z), (C.GLdouble)(w)) -} -func ProgramEnvParameter4dvARB(target uint32, index uint32, params *float64) { - C.glowProgramEnvParameter4dvARB(gpProgramEnvParameter4dvARB, (C.GLenum)(target), (C.GLuint)(index), (*C.GLdouble)(unsafe.Pointer(params))) -} -func ProgramEnvParameter4fARB(target uint32, index uint32, x float32, y float32, z float32, w float32) { - C.glowProgramEnvParameter4fARB(gpProgramEnvParameter4fARB, (C.GLenum)(target), (C.GLuint)(index), (C.GLfloat)(x), (C.GLfloat)(y), (C.GLfloat)(z), (C.GLfloat)(w)) -} -func ProgramEnvParameter4fvARB(target uint32, index uint32, params *float32) { - C.glowProgramEnvParameter4fvARB(gpProgramEnvParameter4fvARB, (C.GLenum)(target), (C.GLuint)(index), (*C.GLfloat)(unsafe.Pointer(params))) -} -func ProgramEnvParameterI4iNV(target uint32, index uint32, x int32, y int32, z int32, w int32) { - C.glowProgramEnvParameterI4iNV(gpProgramEnvParameterI4iNV, (C.GLenum)(target), (C.GLuint)(index), (C.GLint)(x), (C.GLint)(y), (C.GLint)(z), (C.GLint)(w)) -} -func ProgramEnvParameterI4ivNV(target uint32, index uint32, params *int32) { - C.glowProgramEnvParameterI4ivNV(gpProgramEnvParameterI4ivNV, (C.GLenum)(target), (C.GLuint)(index), (*C.GLint)(unsafe.Pointer(params))) -} -func ProgramEnvParameterI4uiNV(target uint32, index uint32, x uint32, y uint32, z uint32, w uint32) { - C.glowProgramEnvParameterI4uiNV(gpProgramEnvParameterI4uiNV, (C.GLenum)(target), (C.GLuint)(index), (C.GLuint)(x), (C.GLuint)(y), (C.GLuint)(z), (C.GLuint)(w)) -} -func ProgramEnvParameterI4uivNV(target uint32, index uint32, params *uint32) { - C.glowProgramEnvParameterI4uivNV(gpProgramEnvParameterI4uivNV, (C.GLenum)(target), (C.GLuint)(index), (*C.GLuint)(unsafe.Pointer(params))) -} -func ProgramEnvParameters4fvEXT(target uint32, index uint32, count int32, params *float32) { - C.glowProgramEnvParameters4fvEXT(gpProgramEnvParameters4fvEXT, (C.GLenum)(target), (C.GLuint)(index), (C.GLsizei)(count), (*C.GLfloat)(unsafe.Pointer(params))) -} -func ProgramEnvParametersI4ivNV(target uint32, index uint32, count int32, params *int32) { - C.glowProgramEnvParametersI4ivNV(gpProgramEnvParametersI4ivNV, (C.GLenum)(target), (C.GLuint)(index), (C.GLsizei)(count), (*C.GLint)(unsafe.Pointer(params))) -} -func ProgramEnvParametersI4uivNV(target uint32, index uint32, count int32, params *uint32) { - C.glowProgramEnvParametersI4uivNV(gpProgramEnvParametersI4uivNV, (C.GLenum)(target), (C.GLuint)(index), (C.GLsizei)(count), (*C.GLuint)(unsafe.Pointer(params))) -} -func ProgramLocalParameter4dARB(target uint32, index uint32, x float64, y float64, z float64, w float64) { - C.glowProgramLocalParameter4dARB(gpProgramLocalParameter4dARB, (C.GLenum)(target), (C.GLuint)(index), (C.GLdouble)(x), (C.GLdouble)(y), (C.GLdouble)(z), (C.GLdouble)(w)) -} -func ProgramLocalParameter4dvARB(target uint32, index uint32, params *float64) { - C.glowProgramLocalParameter4dvARB(gpProgramLocalParameter4dvARB, (C.GLenum)(target), (C.GLuint)(index), (*C.GLdouble)(unsafe.Pointer(params))) -} -func ProgramLocalParameter4fARB(target uint32, index uint32, x float32, y float32, z float32, w float32) { - C.glowProgramLocalParameter4fARB(gpProgramLocalParameter4fARB, (C.GLenum)(target), (C.GLuint)(index), (C.GLfloat)(x), (C.GLfloat)(y), (C.GLfloat)(z), (C.GLfloat)(w)) -} -func ProgramLocalParameter4fvARB(target uint32, index uint32, params *float32) { - C.glowProgramLocalParameter4fvARB(gpProgramLocalParameter4fvARB, (C.GLenum)(target), (C.GLuint)(index), (*C.GLfloat)(unsafe.Pointer(params))) -} -func ProgramLocalParameterI4iNV(target uint32, index uint32, x int32, y int32, z int32, w int32) { - C.glowProgramLocalParameterI4iNV(gpProgramLocalParameterI4iNV, (C.GLenum)(target), (C.GLuint)(index), (C.GLint)(x), (C.GLint)(y), (C.GLint)(z), (C.GLint)(w)) -} -func ProgramLocalParameterI4ivNV(target uint32, index uint32, params *int32) { - C.glowProgramLocalParameterI4ivNV(gpProgramLocalParameterI4ivNV, (C.GLenum)(target), (C.GLuint)(index), (*C.GLint)(unsafe.Pointer(params))) -} -func ProgramLocalParameterI4uiNV(target uint32, index uint32, x uint32, y uint32, z uint32, w uint32) { - C.glowProgramLocalParameterI4uiNV(gpProgramLocalParameterI4uiNV, (C.GLenum)(target), (C.GLuint)(index), (C.GLuint)(x), (C.GLuint)(y), (C.GLuint)(z), (C.GLuint)(w)) -} -func ProgramLocalParameterI4uivNV(target uint32, index uint32, params *uint32) { - C.glowProgramLocalParameterI4uivNV(gpProgramLocalParameterI4uivNV, (C.GLenum)(target), (C.GLuint)(index), (*C.GLuint)(unsafe.Pointer(params))) -} -func ProgramLocalParameters4fvEXT(target uint32, index uint32, count int32, params *float32) { - C.glowProgramLocalParameters4fvEXT(gpProgramLocalParameters4fvEXT, (C.GLenum)(target), (C.GLuint)(index), (C.GLsizei)(count), (*C.GLfloat)(unsafe.Pointer(params))) -} -func ProgramLocalParametersI4ivNV(target uint32, index uint32, count int32, params *int32) { - C.glowProgramLocalParametersI4ivNV(gpProgramLocalParametersI4ivNV, (C.GLenum)(target), (C.GLuint)(index), (C.GLsizei)(count), (*C.GLint)(unsafe.Pointer(params))) -} -func ProgramLocalParametersI4uivNV(target uint32, index uint32, count int32, params *uint32) { - C.glowProgramLocalParametersI4uivNV(gpProgramLocalParametersI4uivNV, (C.GLenum)(target), (C.GLuint)(index), (C.GLsizei)(count), (*C.GLuint)(unsafe.Pointer(params))) -} -func ProgramNamedParameter4dNV(id uint32, len int32, name *uint8, x float64, y float64, z float64, w float64) { - C.glowProgramNamedParameter4dNV(gpProgramNamedParameter4dNV, (C.GLuint)(id), (C.GLsizei)(len), (*C.GLubyte)(unsafe.Pointer(name)), (C.GLdouble)(x), (C.GLdouble)(y), (C.GLdouble)(z), (C.GLdouble)(w)) -} -func ProgramNamedParameter4dvNV(id uint32, len int32, name *uint8, v *float64) { - C.glowProgramNamedParameter4dvNV(gpProgramNamedParameter4dvNV, (C.GLuint)(id), (C.GLsizei)(len), (*C.GLubyte)(unsafe.Pointer(name)), (*C.GLdouble)(unsafe.Pointer(v))) -} -func ProgramNamedParameter4fNV(id uint32, len int32, name *uint8, x float32, y float32, z float32, w float32) { - C.glowProgramNamedParameter4fNV(gpProgramNamedParameter4fNV, (C.GLuint)(id), (C.GLsizei)(len), (*C.GLubyte)(unsafe.Pointer(name)), (C.GLfloat)(x), (C.GLfloat)(y), (C.GLfloat)(z), (C.GLfloat)(w)) -} -func ProgramNamedParameter4fvNV(id uint32, len int32, name *uint8, v *float32) { - C.glowProgramNamedParameter4fvNV(gpProgramNamedParameter4fvNV, (C.GLuint)(id), (C.GLsizei)(len), (*C.GLubyte)(unsafe.Pointer(name)), (*C.GLfloat)(unsafe.Pointer(v))) -} -func ProgramParameter4dNV(target uint32, index uint32, x float64, y float64, z float64, w float64) { - C.glowProgramParameter4dNV(gpProgramParameter4dNV, (C.GLenum)(target), (C.GLuint)(index), (C.GLdouble)(x), (C.GLdouble)(y), (C.GLdouble)(z), (C.GLdouble)(w)) -} -func ProgramParameter4dvNV(target uint32, index uint32, v *float64) { - C.glowProgramParameter4dvNV(gpProgramParameter4dvNV, (C.GLenum)(target), (C.GLuint)(index), (*C.GLdouble)(unsafe.Pointer(v))) -} -func ProgramParameter4fNV(target uint32, index uint32, x float32, y float32, z float32, w float32) { - C.glowProgramParameter4fNV(gpProgramParameter4fNV, (C.GLenum)(target), (C.GLuint)(index), (C.GLfloat)(x), (C.GLfloat)(y), (C.GLfloat)(z), (C.GLfloat)(w)) -} -func ProgramParameter4fvNV(target uint32, index uint32, v *float32) { - C.glowProgramParameter4fvNV(gpProgramParameter4fvNV, (C.GLenum)(target), (C.GLuint)(index), (*C.GLfloat)(unsafe.Pointer(v))) -} - -// specify a parameter for a program object -func ProgramParameteri(program uint32, pname uint32, value int32) { - C.glowProgramParameteri(gpProgramParameteri, (C.GLuint)(program), (C.GLenum)(pname), (C.GLint)(value)) -} -func ProgramParameteriARB(program uint32, pname uint32, value int32) { - C.glowProgramParameteriARB(gpProgramParameteriARB, (C.GLuint)(program), (C.GLenum)(pname), (C.GLint)(value)) -} -func ProgramParameteriEXT(program uint32, pname uint32, value int32) { - C.glowProgramParameteriEXT(gpProgramParameteriEXT, (C.GLuint)(program), (C.GLenum)(pname), (C.GLint)(value)) -} -func ProgramParameters4dvNV(target uint32, index uint32, count int32, v *float64) { - C.glowProgramParameters4dvNV(gpProgramParameters4dvNV, (C.GLenum)(target), (C.GLuint)(index), (C.GLsizei)(count), (*C.GLdouble)(unsafe.Pointer(v))) -} -func ProgramParameters4fvNV(target uint32, index uint32, count int32, v *float32) { - C.glowProgramParameters4fvNV(gpProgramParameters4fvNV, (C.GLenum)(target), (C.GLuint)(index), (C.GLsizei)(count), (*C.GLfloat)(unsafe.Pointer(v))) -} -func ProgramPathFragmentInputGenNV(program uint32, location int32, genMode uint32, components int32, coeffs *float32) { - C.glowProgramPathFragmentInputGenNV(gpProgramPathFragmentInputGenNV, (C.GLuint)(program), (C.GLint)(location), (C.GLenum)(genMode), (C.GLint)(components), (*C.GLfloat)(unsafe.Pointer(coeffs))) -} -func ProgramStringARB(target uint32, format uint32, len int32, xstring unsafe.Pointer) { - C.glowProgramStringARB(gpProgramStringARB, (C.GLenum)(target), (C.GLenum)(format), (C.GLsizei)(len), xstring) -} -func ProgramSubroutineParametersuivNV(target uint32, count int32, params *uint32) { - C.glowProgramSubroutineParametersuivNV(gpProgramSubroutineParametersuivNV, (C.GLenum)(target), (C.GLsizei)(count), (*C.GLuint)(unsafe.Pointer(params))) -} -func ProgramUniform1d(program uint32, location int32, v0 float64) { - C.glowProgramUniform1d(gpProgramUniform1d, (C.GLuint)(program), (C.GLint)(location), (C.GLdouble)(v0)) -} -func ProgramUniform1dEXT(program uint32, location int32, x float64) { - C.glowProgramUniform1dEXT(gpProgramUniform1dEXT, (C.GLuint)(program), (C.GLint)(location), (C.GLdouble)(x)) -} -func ProgramUniform1dv(program uint32, location int32, count int32, value *float64) { - C.glowProgramUniform1dv(gpProgramUniform1dv, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (*C.GLdouble)(unsafe.Pointer(value))) -} -func ProgramUniform1dvEXT(program uint32, location int32, count int32, value *float64) { - C.glowProgramUniform1dvEXT(gpProgramUniform1dvEXT, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (*C.GLdouble)(unsafe.Pointer(value))) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniform1f(program uint32, location int32, v0 float32) { - C.glowProgramUniform1f(gpProgramUniform1f, (C.GLuint)(program), (C.GLint)(location), (C.GLfloat)(v0)) -} -func ProgramUniform1fEXT(program uint32, location int32, v0 float32) { - C.glowProgramUniform1fEXT(gpProgramUniform1fEXT, (C.GLuint)(program), (C.GLint)(location), (C.GLfloat)(v0)) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniform1fv(program uint32, location int32, count int32, value *float32) { - C.glowProgramUniform1fv(gpProgramUniform1fv, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (*C.GLfloat)(unsafe.Pointer(value))) -} -func ProgramUniform1fvEXT(program uint32, location int32, count int32, value *float32) { - C.glowProgramUniform1fvEXT(gpProgramUniform1fvEXT, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (*C.GLfloat)(unsafe.Pointer(value))) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniform1i(program uint32, location int32, v0 int32) { - C.glowProgramUniform1i(gpProgramUniform1i, (C.GLuint)(program), (C.GLint)(location), (C.GLint)(v0)) -} -func ProgramUniform1i64ARB(program uint32, location int32, x int64) { - C.glowProgramUniform1i64ARB(gpProgramUniform1i64ARB, (C.GLuint)(program), (C.GLint)(location), (C.GLint64)(x)) -} -func ProgramUniform1i64NV(program uint32, location int32, x int64) { - C.glowProgramUniform1i64NV(gpProgramUniform1i64NV, (C.GLuint)(program), (C.GLint)(location), (C.GLint64EXT)(x)) -} -func ProgramUniform1i64vARB(program uint32, location int32, count int32, value *int64) { - C.glowProgramUniform1i64vARB(gpProgramUniform1i64vARB, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (*C.GLint64)(unsafe.Pointer(value))) -} -func ProgramUniform1i64vNV(program uint32, location int32, count int32, value *int64) { - C.glowProgramUniform1i64vNV(gpProgramUniform1i64vNV, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (*C.GLint64EXT)(unsafe.Pointer(value))) -} -func ProgramUniform1iEXT(program uint32, location int32, v0 int32) { - C.glowProgramUniform1iEXT(gpProgramUniform1iEXT, (C.GLuint)(program), (C.GLint)(location), (C.GLint)(v0)) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniform1iv(program uint32, location int32, count int32, value *int32) { - C.glowProgramUniform1iv(gpProgramUniform1iv, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (*C.GLint)(unsafe.Pointer(value))) -} -func ProgramUniform1ivEXT(program uint32, location int32, count int32, value *int32) { - C.glowProgramUniform1ivEXT(gpProgramUniform1ivEXT, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (*C.GLint)(unsafe.Pointer(value))) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniform1ui(program uint32, location int32, v0 uint32) { - C.glowProgramUniform1ui(gpProgramUniform1ui, (C.GLuint)(program), (C.GLint)(location), (C.GLuint)(v0)) -} -func ProgramUniform1ui64ARB(program uint32, location int32, x uint64) { - C.glowProgramUniform1ui64ARB(gpProgramUniform1ui64ARB, (C.GLuint)(program), (C.GLint)(location), (C.GLuint64)(x)) -} -func ProgramUniform1ui64NV(program uint32, location int32, x uint64) { - C.glowProgramUniform1ui64NV(gpProgramUniform1ui64NV, (C.GLuint)(program), (C.GLint)(location), (C.GLuint64EXT)(x)) -} -func ProgramUniform1ui64vARB(program uint32, location int32, count int32, value *uint64) { - C.glowProgramUniform1ui64vARB(gpProgramUniform1ui64vARB, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (*C.GLuint64)(unsafe.Pointer(value))) -} -func ProgramUniform1ui64vNV(program uint32, location int32, count int32, value *uint64) { - C.glowProgramUniform1ui64vNV(gpProgramUniform1ui64vNV, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (*C.GLuint64EXT)(unsafe.Pointer(value))) -} -func ProgramUniform1uiEXT(program uint32, location int32, v0 uint32) { - C.glowProgramUniform1uiEXT(gpProgramUniform1uiEXT, (C.GLuint)(program), (C.GLint)(location), (C.GLuint)(v0)) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniform1uiv(program uint32, location int32, count int32, value *uint32) { - C.glowProgramUniform1uiv(gpProgramUniform1uiv, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (*C.GLuint)(unsafe.Pointer(value))) -} -func ProgramUniform1uivEXT(program uint32, location int32, count int32, value *uint32) { - C.glowProgramUniform1uivEXT(gpProgramUniform1uivEXT, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (*C.GLuint)(unsafe.Pointer(value))) -} -func ProgramUniform2d(program uint32, location int32, v0 float64, v1 float64) { - C.glowProgramUniform2d(gpProgramUniform2d, (C.GLuint)(program), (C.GLint)(location), (C.GLdouble)(v0), (C.GLdouble)(v1)) -} -func ProgramUniform2dEXT(program uint32, location int32, x float64, y float64) { - C.glowProgramUniform2dEXT(gpProgramUniform2dEXT, (C.GLuint)(program), (C.GLint)(location), (C.GLdouble)(x), (C.GLdouble)(y)) -} -func ProgramUniform2dv(program uint32, location int32, count int32, value *float64) { - C.glowProgramUniform2dv(gpProgramUniform2dv, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (*C.GLdouble)(unsafe.Pointer(value))) -} -func ProgramUniform2dvEXT(program uint32, location int32, count int32, value *float64) { - C.glowProgramUniform2dvEXT(gpProgramUniform2dvEXT, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (*C.GLdouble)(unsafe.Pointer(value))) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniform2f(program uint32, location int32, v0 float32, v1 float32) { - C.glowProgramUniform2f(gpProgramUniform2f, (C.GLuint)(program), (C.GLint)(location), (C.GLfloat)(v0), (C.GLfloat)(v1)) -} -func ProgramUniform2fEXT(program uint32, location int32, v0 float32, v1 float32) { - C.glowProgramUniform2fEXT(gpProgramUniform2fEXT, (C.GLuint)(program), (C.GLint)(location), (C.GLfloat)(v0), (C.GLfloat)(v1)) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniform2fv(program uint32, location int32, count int32, value *float32) { - C.glowProgramUniform2fv(gpProgramUniform2fv, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (*C.GLfloat)(unsafe.Pointer(value))) -} -func ProgramUniform2fvEXT(program uint32, location int32, count int32, value *float32) { - C.glowProgramUniform2fvEXT(gpProgramUniform2fvEXT, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (*C.GLfloat)(unsafe.Pointer(value))) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniform2i(program uint32, location int32, v0 int32, v1 int32) { - C.glowProgramUniform2i(gpProgramUniform2i, (C.GLuint)(program), (C.GLint)(location), (C.GLint)(v0), (C.GLint)(v1)) -} -func ProgramUniform2i64ARB(program uint32, location int32, x int64, y int64) { - C.glowProgramUniform2i64ARB(gpProgramUniform2i64ARB, (C.GLuint)(program), (C.GLint)(location), (C.GLint64)(x), (C.GLint64)(y)) -} -func ProgramUniform2i64NV(program uint32, location int32, x int64, y int64) { - C.glowProgramUniform2i64NV(gpProgramUniform2i64NV, (C.GLuint)(program), (C.GLint)(location), (C.GLint64EXT)(x), (C.GLint64EXT)(y)) -} -func ProgramUniform2i64vARB(program uint32, location int32, count int32, value *int64) { - C.glowProgramUniform2i64vARB(gpProgramUniform2i64vARB, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (*C.GLint64)(unsafe.Pointer(value))) -} -func ProgramUniform2i64vNV(program uint32, location int32, count int32, value *int64) { - C.glowProgramUniform2i64vNV(gpProgramUniform2i64vNV, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (*C.GLint64EXT)(unsafe.Pointer(value))) -} -func ProgramUniform2iEXT(program uint32, location int32, v0 int32, v1 int32) { - C.glowProgramUniform2iEXT(gpProgramUniform2iEXT, (C.GLuint)(program), (C.GLint)(location), (C.GLint)(v0), (C.GLint)(v1)) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniform2iv(program uint32, location int32, count int32, value *int32) { - C.glowProgramUniform2iv(gpProgramUniform2iv, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (*C.GLint)(unsafe.Pointer(value))) -} -func ProgramUniform2ivEXT(program uint32, location int32, count int32, value *int32) { - C.glowProgramUniform2ivEXT(gpProgramUniform2ivEXT, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (*C.GLint)(unsafe.Pointer(value))) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniform2ui(program uint32, location int32, v0 uint32, v1 uint32) { - C.glowProgramUniform2ui(gpProgramUniform2ui, (C.GLuint)(program), (C.GLint)(location), (C.GLuint)(v0), (C.GLuint)(v1)) -} -func ProgramUniform2ui64ARB(program uint32, location int32, x uint64, y uint64) { - C.glowProgramUniform2ui64ARB(gpProgramUniform2ui64ARB, (C.GLuint)(program), (C.GLint)(location), (C.GLuint64)(x), (C.GLuint64)(y)) -} -func ProgramUniform2ui64NV(program uint32, location int32, x uint64, y uint64) { - C.glowProgramUniform2ui64NV(gpProgramUniform2ui64NV, (C.GLuint)(program), (C.GLint)(location), (C.GLuint64EXT)(x), (C.GLuint64EXT)(y)) -} -func ProgramUniform2ui64vARB(program uint32, location int32, count int32, value *uint64) { - C.glowProgramUniform2ui64vARB(gpProgramUniform2ui64vARB, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (*C.GLuint64)(unsafe.Pointer(value))) -} -func ProgramUniform2ui64vNV(program uint32, location int32, count int32, value *uint64) { - C.glowProgramUniform2ui64vNV(gpProgramUniform2ui64vNV, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (*C.GLuint64EXT)(unsafe.Pointer(value))) -} -func ProgramUniform2uiEXT(program uint32, location int32, v0 uint32, v1 uint32) { - C.glowProgramUniform2uiEXT(gpProgramUniform2uiEXT, (C.GLuint)(program), (C.GLint)(location), (C.GLuint)(v0), (C.GLuint)(v1)) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniform2uiv(program uint32, location int32, count int32, value *uint32) { - C.glowProgramUniform2uiv(gpProgramUniform2uiv, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (*C.GLuint)(unsafe.Pointer(value))) -} -func ProgramUniform2uivEXT(program uint32, location int32, count int32, value *uint32) { - C.glowProgramUniform2uivEXT(gpProgramUniform2uivEXT, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (*C.GLuint)(unsafe.Pointer(value))) -} -func ProgramUniform3d(program uint32, location int32, v0 float64, v1 float64, v2 float64) { - C.glowProgramUniform3d(gpProgramUniform3d, (C.GLuint)(program), (C.GLint)(location), (C.GLdouble)(v0), (C.GLdouble)(v1), (C.GLdouble)(v2)) -} -func ProgramUniform3dEXT(program uint32, location int32, x float64, y float64, z float64) { - C.glowProgramUniform3dEXT(gpProgramUniform3dEXT, (C.GLuint)(program), (C.GLint)(location), (C.GLdouble)(x), (C.GLdouble)(y), (C.GLdouble)(z)) -} -func ProgramUniform3dv(program uint32, location int32, count int32, value *float64) { - C.glowProgramUniform3dv(gpProgramUniform3dv, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (*C.GLdouble)(unsafe.Pointer(value))) -} -func ProgramUniform3dvEXT(program uint32, location int32, count int32, value *float64) { - C.glowProgramUniform3dvEXT(gpProgramUniform3dvEXT, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (*C.GLdouble)(unsafe.Pointer(value))) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniform3f(program uint32, location int32, v0 float32, v1 float32, v2 float32) { - C.glowProgramUniform3f(gpProgramUniform3f, (C.GLuint)(program), (C.GLint)(location), (C.GLfloat)(v0), (C.GLfloat)(v1), (C.GLfloat)(v2)) -} -func ProgramUniform3fEXT(program uint32, location int32, v0 float32, v1 float32, v2 float32) { - C.glowProgramUniform3fEXT(gpProgramUniform3fEXT, (C.GLuint)(program), (C.GLint)(location), (C.GLfloat)(v0), (C.GLfloat)(v1), (C.GLfloat)(v2)) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniform3fv(program uint32, location int32, count int32, value *float32) { - C.glowProgramUniform3fv(gpProgramUniform3fv, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (*C.GLfloat)(unsafe.Pointer(value))) -} -func ProgramUniform3fvEXT(program uint32, location int32, count int32, value *float32) { - C.glowProgramUniform3fvEXT(gpProgramUniform3fvEXT, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (*C.GLfloat)(unsafe.Pointer(value))) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniform3i(program uint32, location int32, v0 int32, v1 int32, v2 int32) { - C.glowProgramUniform3i(gpProgramUniform3i, (C.GLuint)(program), (C.GLint)(location), (C.GLint)(v0), (C.GLint)(v1), (C.GLint)(v2)) -} -func ProgramUniform3i64ARB(program uint32, location int32, x int64, y int64, z int64) { - C.glowProgramUniform3i64ARB(gpProgramUniform3i64ARB, (C.GLuint)(program), (C.GLint)(location), (C.GLint64)(x), (C.GLint64)(y), (C.GLint64)(z)) -} -func ProgramUniform3i64NV(program uint32, location int32, x int64, y int64, z int64) { - C.glowProgramUniform3i64NV(gpProgramUniform3i64NV, (C.GLuint)(program), (C.GLint)(location), (C.GLint64EXT)(x), (C.GLint64EXT)(y), (C.GLint64EXT)(z)) -} -func ProgramUniform3i64vARB(program uint32, location int32, count int32, value *int64) { - C.glowProgramUniform3i64vARB(gpProgramUniform3i64vARB, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (*C.GLint64)(unsafe.Pointer(value))) -} -func ProgramUniform3i64vNV(program uint32, location int32, count int32, value *int64) { - C.glowProgramUniform3i64vNV(gpProgramUniform3i64vNV, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (*C.GLint64EXT)(unsafe.Pointer(value))) -} -func ProgramUniform3iEXT(program uint32, location int32, v0 int32, v1 int32, v2 int32) { - C.glowProgramUniform3iEXT(gpProgramUniform3iEXT, (C.GLuint)(program), (C.GLint)(location), (C.GLint)(v0), (C.GLint)(v1), (C.GLint)(v2)) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniform3iv(program uint32, location int32, count int32, value *int32) { - C.glowProgramUniform3iv(gpProgramUniform3iv, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (*C.GLint)(unsafe.Pointer(value))) -} -func ProgramUniform3ivEXT(program uint32, location int32, count int32, value *int32) { - C.glowProgramUniform3ivEXT(gpProgramUniform3ivEXT, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (*C.GLint)(unsafe.Pointer(value))) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniform3ui(program uint32, location int32, v0 uint32, v1 uint32, v2 uint32) { - C.glowProgramUniform3ui(gpProgramUniform3ui, (C.GLuint)(program), (C.GLint)(location), (C.GLuint)(v0), (C.GLuint)(v1), (C.GLuint)(v2)) -} -func ProgramUniform3ui64ARB(program uint32, location int32, x uint64, y uint64, z uint64) { - C.glowProgramUniform3ui64ARB(gpProgramUniform3ui64ARB, (C.GLuint)(program), (C.GLint)(location), (C.GLuint64)(x), (C.GLuint64)(y), (C.GLuint64)(z)) -} -func ProgramUniform3ui64NV(program uint32, location int32, x uint64, y uint64, z uint64) { - C.glowProgramUniform3ui64NV(gpProgramUniform3ui64NV, (C.GLuint)(program), (C.GLint)(location), (C.GLuint64EXT)(x), (C.GLuint64EXT)(y), (C.GLuint64EXT)(z)) -} -func ProgramUniform3ui64vARB(program uint32, location int32, count int32, value *uint64) { - C.glowProgramUniform3ui64vARB(gpProgramUniform3ui64vARB, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (*C.GLuint64)(unsafe.Pointer(value))) -} -func ProgramUniform3ui64vNV(program uint32, location int32, count int32, value *uint64) { - C.glowProgramUniform3ui64vNV(gpProgramUniform3ui64vNV, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (*C.GLuint64EXT)(unsafe.Pointer(value))) -} -func ProgramUniform3uiEXT(program uint32, location int32, v0 uint32, v1 uint32, v2 uint32) { - C.glowProgramUniform3uiEXT(gpProgramUniform3uiEXT, (C.GLuint)(program), (C.GLint)(location), (C.GLuint)(v0), (C.GLuint)(v1), (C.GLuint)(v2)) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniform3uiv(program uint32, location int32, count int32, value *uint32) { - C.glowProgramUniform3uiv(gpProgramUniform3uiv, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (*C.GLuint)(unsafe.Pointer(value))) -} -func ProgramUniform3uivEXT(program uint32, location int32, count int32, value *uint32) { - C.glowProgramUniform3uivEXT(gpProgramUniform3uivEXT, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (*C.GLuint)(unsafe.Pointer(value))) -} -func ProgramUniform4d(program uint32, location int32, v0 float64, v1 float64, v2 float64, v3 float64) { - C.glowProgramUniform4d(gpProgramUniform4d, (C.GLuint)(program), (C.GLint)(location), (C.GLdouble)(v0), (C.GLdouble)(v1), (C.GLdouble)(v2), (C.GLdouble)(v3)) -} -func ProgramUniform4dEXT(program uint32, location int32, x float64, y float64, z float64, w float64) { - C.glowProgramUniform4dEXT(gpProgramUniform4dEXT, (C.GLuint)(program), (C.GLint)(location), (C.GLdouble)(x), (C.GLdouble)(y), (C.GLdouble)(z), (C.GLdouble)(w)) -} -func ProgramUniform4dv(program uint32, location int32, count int32, value *float64) { - C.glowProgramUniform4dv(gpProgramUniform4dv, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (*C.GLdouble)(unsafe.Pointer(value))) -} -func ProgramUniform4dvEXT(program uint32, location int32, count int32, value *float64) { - C.glowProgramUniform4dvEXT(gpProgramUniform4dvEXT, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (*C.GLdouble)(unsafe.Pointer(value))) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniform4f(program uint32, location int32, v0 float32, v1 float32, v2 float32, v3 float32) { - C.glowProgramUniform4f(gpProgramUniform4f, (C.GLuint)(program), (C.GLint)(location), (C.GLfloat)(v0), (C.GLfloat)(v1), (C.GLfloat)(v2), (C.GLfloat)(v3)) -} -func ProgramUniform4fEXT(program uint32, location int32, v0 float32, v1 float32, v2 float32, v3 float32) { - C.glowProgramUniform4fEXT(gpProgramUniform4fEXT, (C.GLuint)(program), (C.GLint)(location), (C.GLfloat)(v0), (C.GLfloat)(v1), (C.GLfloat)(v2), (C.GLfloat)(v3)) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniform4fv(program uint32, location int32, count int32, value *float32) { - C.glowProgramUniform4fv(gpProgramUniform4fv, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (*C.GLfloat)(unsafe.Pointer(value))) -} -func ProgramUniform4fvEXT(program uint32, location int32, count int32, value *float32) { - C.glowProgramUniform4fvEXT(gpProgramUniform4fvEXT, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (*C.GLfloat)(unsafe.Pointer(value))) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniform4i(program uint32, location int32, v0 int32, v1 int32, v2 int32, v3 int32) { - C.glowProgramUniform4i(gpProgramUniform4i, (C.GLuint)(program), (C.GLint)(location), (C.GLint)(v0), (C.GLint)(v1), (C.GLint)(v2), (C.GLint)(v3)) -} -func ProgramUniform4i64ARB(program uint32, location int32, x int64, y int64, z int64, w int64) { - C.glowProgramUniform4i64ARB(gpProgramUniform4i64ARB, (C.GLuint)(program), (C.GLint)(location), (C.GLint64)(x), (C.GLint64)(y), (C.GLint64)(z), (C.GLint64)(w)) -} -func ProgramUniform4i64NV(program uint32, location int32, x int64, y int64, z int64, w int64) { - C.glowProgramUniform4i64NV(gpProgramUniform4i64NV, (C.GLuint)(program), (C.GLint)(location), (C.GLint64EXT)(x), (C.GLint64EXT)(y), (C.GLint64EXT)(z), (C.GLint64EXT)(w)) -} -func ProgramUniform4i64vARB(program uint32, location int32, count int32, value *int64) { - C.glowProgramUniform4i64vARB(gpProgramUniform4i64vARB, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (*C.GLint64)(unsafe.Pointer(value))) -} -func ProgramUniform4i64vNV(program uint32, location int32, count int32, value *int64) { - C.glowProgramUniform4i64vNV(gpProgramUniform4i64vNV, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (*C.GLint64EXT)(unsafe.Pointer(value))) -} -func ProgramUniform4iEXT(program uint32, location int32, v0 int32, v1 int32, v2 int32, v3 int32) { - C.glowProgramUniform4iEXT(gpProgramUniform4iEXT, (C.GLuint)(program), (C.GLint)(location), (C.GLint)(v0), (C.GLint)(v1), (C.GLint)(v2), (C.GLint)(v3)) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniform4iv(program uint32, location int32, count int32, value *int32) { - C.glowProgramUniform4iv(gpProgramUniform4iv, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (*C.GLint)(unsafe.Pointer(value))) -} -func ProgramUniform4ivEXT(program uint32, location int32, count int32, value *int32) { - C.glowProgramUniform4ivEXT(gpProgramUniform4ivEXT, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (*C.GLint)(unsafe.Pointer(value))) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniform4ui(program uint32, location int32, v0 uint32, v1 uint32, v2 uint32, v3 uint32) { - C.glowProgramUniform4ui(gpProgramUniform4ui, (C.GLuint)(program), (C.GLint)(location), (C.GLuint)(v0), (C.GLuint)(v1), (C.GLuint)(v2), (C.GLuint)(v3)) -} -func ProgramUniform4ui64ARB(program uint32, location int32, x uint64, y uint64, z uint64, w uint64) { - C.glowProgramUniform4ui64ARB(gpProgramUniform4ui64ARB, (C.GLuint)(program), (C.GLint)(location), (C.GLuint64)(x), (C.GLuint64)(y), (C.GLuint64)(z), (C.GLuint64)(w)) -} -func ProgramUniform4ui64NV(program uint32, location int32, x uint64, y uint64, z uint64, w uint64) { - C.glowProgramUniform4ui64NV(gpProgramUniform4ui64NV, (C.GLuint)(program), (C.GLint)(location), (C.GLuint64EXT)(x), (C.GLuint64EXT)(y), (C.GLuint64EXT)(z), (C.GLuint64EXT)(w)) -} -func ProgramUniform4ui64vARB(program uint32, location int32, count int32, value *uint64) { - C.glowProgramUniform4ui64vARB(gpProgramUniform4ui64vARB, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (*C.GLuint64)(unsafe.Pointer(value))) -} -func ProgramUniform4ui64vNV(program uint32, location int32, count int32, value *uint64) { - C.glowProgramUniform4ui64vNV(gpProgramUniform4ui64vNV, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (*C.GLuint64EXT)(unsafe.Pointer(value))) -} -func ProgramUniform4uiEXT(program uint32, location int32, v0 uint32, v1 uint32, v2 uint32, v3 uint32) { - C.glowProgramUniform4uiEXT(gpProgramUniform4uiEXT, (C.GLuint)(program), (C.GLint)(location), (C.GLuint)(v0), (C.GLuint)(v1), (C.GLuint)(v2), (C.GLuint)(v3)) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniform4uiv(program uint32, location int32, count int32, value *uint32) { - C.glowProgramUniform4uiv(gpProgramUniform4uiv, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (*C.GLuint)(unsafe.Pointer(value))) -} -func ProgramUniform4uivEXT(program uint32, location int32, count int32, value *uint32) { - C.glowProgramUniform4uivEXT(gpProgramUniform4uivEXT, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (*C.GLuint)(unsafe.Pointer(value))) -} -func ProgramUniformHandleui64ARB(program uint32, location int32, value uint64) { - C.glowProgramUniformHandleui64ARB(gpProgramUniformHandleui64ARB, (C.GLuint)(program), (C.GLint)(location), (C.GLuint64)(value)) -} -func ProgramUniformHandleui64NV(program uint32, location int32, value uint64) { - C.glowProgramUniformHandleui64NV(gpProgramUniformHandleui64NV, (C.GLuint)(program), (C.GLint)(location), (C.GLuint64)(value)) -} -func ProgramUniformHandleui64vARB(program uint32, location int32, count int32, values *uint64) { - C.glowProgramUniformHandleui64vARB(gpProgramUniformHandleui64vARB, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (*C.GLuint64)(unsafe.Pointer(values))) -} -func ProgramUniformHandleui64vNV(program uint32, location int32, count int32, values *uint64) { - C.glowProgramUniformHandleui64vNV(gpProgramUniformHandleui64vNV, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (*C.GLuint64)(unsafe.Pointer(values))) -} -func ProgramUniformMatrix2dv(program uint32, location int32, count int32, transpose bool, value *float64) { - C.glowProgramUniformMatrix2dv(gpProgramUniformMatrix2dv, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLdouble)(unsafe.Pointer(value))) -} -func ProgramUniformMatrix2dvEXT(program uint32, location int32, count int32, transpose bool, value *float64) { - C.glowProgramUniformMatrix2dvEXT(gpProgramUniformMatrix2dvEXT, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLdouble)(unsafe.Pointer(value))) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniformMatrix2fv(program uint32, location int32, count int32, transpose bool, value *float32) { - C.glowProgramUniformMatrix2fv(gpProgramUniformMatrix2fv, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLfloat)(unsafe.Pointer(value))) -} -func ProgramUniformMatrix2fvEXT(program uint32, location int32, count int32, transpose bool, value *float32) { - C.glowProgramUniformMatrix2fvEXT(gpProgramUniformMatrix2fvEXT, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLfloat)(unsafe.Pointer(value))) -} -func ProgramUniformMatrix2x3dv(program uint32, location int32, count int32, transpose bool, value *float64) { - C.glowProgramUniformMatrix2x3dv(gpProgramUniformMatrix2x3dv, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLdouble)(unsafe.Pointer(value))) -} -func ProgramUniformMatrix2x3dvEXT(program uint32, location int32, count int32, transpose bool, value *float64) { - C.glowProgramUniformMatrix2x3dvEXT(gpProgramUniformMatrix2x3dvEXT, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLdouble)(unsafe.Pointer(value))) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniformMatrix2x3fv(program uint32, location int32, count int32, transpose bool, value *float32) { - C.glowProgramUniformMatrix2x3fv(gpProgramUniformMatrix2x3fv, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLfloat)(unsafe.Pointer(value))) -} -func ProgramUniformMatrix2x3fvEXT(program uint32, location int32, count int32, transpose bool, value *float32) { - C.glowProgramUniformMatrix2x3fvEXT(gpProgramUniformMatrix2x3fvEXT, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLfloat)(unsafe.Pointer(value))) -} -func ProgramUniformMatrix2x4dv(program uint32, location int32, count int32, transpose bool, value *float64) { - C.glowProgramUniformMatrix2x4dv(gpProgramUniformMatrix2x4dv, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLdouble)(unsafe.Pointer(value))) -} -func ProgramUniformMatrix2x4dvEXT(program uint32, location int32, count int32, transpose bool, value *float64) { - C.glowProgramUniformMatrix2x4dvEXT(gpProgramUniformMatrix2x4dvEXT, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLdouble)(unsafe.Pointer(value))) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniformMatrix2x4fv(program uint32, location int32, count int32, transpose bool, value *float32) { - C.glowProgramUniformMatrix2x4fv(gpProgramUniformMatrix2x4fv, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLfloat)(unsafe.Pointer(value))) -} -func ProgramUniformMatrix2x4fvEXT(program uint32, location int32, count int32, transpose bool, value *float32) { - C.glowProgramUniformMatrix2x4fvEXT(gpProgramUniformMatrix2x4fvEXT, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLfloat)(unsafe.Pointer(value))) -} -func ProgramUniformMatrix3dv(program uint32, location int32, count int32, transpose bool, value *float64) { - C.glowProgramUniformMatrix3dv(gpProgramUniformMatrix3dv, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLdouble)(unsafe.Pointer(value))) -} -func ProgramUniformMatrix3dvEXT(program uint32, location int32, count int32, transpose bool, value *float64) { - C.glowProgramUniformMatrix3dvEXT(gpProgramUniformMatrix3dvEXT, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLdouble)(unsafe.Pointer(value))) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniformMatrix3fv(program uint32, location int32, count int32, transpose bool, value *float32) { - C.glowProgramUniformMatrix3fv(gpProgramUniformMatrix3fv, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLfloat)(unsafe.Pointer(value))) -} -func ProgramUniformMatrix3fvEXT(program uint32, location int32, count int32, transpose bool, value *float32) { - C.glowProgramUniformMatrix3fvEXT(gpProgramUniformMatrix3fvEXT, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLfloat)(unsafe.Pointer(value))) -} -func ProgramUniformMatrix3x2dv(program uint32, location int32, count int32, transpose bool, value *float64) { - C.glowProgramUniformMatrix3x2dv(gpProgramUniformMatrix3x2dv, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLdouble)(unsafe.Pointer(value))) -} -func ProgramUniformMatrix3x2dvEXT(program uint32, location int32, count int32, transpose bool, value *float64) { - C.glowProgramUniformMatrix3x2dvEXT(gpProgramUniformMatrix3x2dvEXT, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLdouble)(unsafe.Pointer(value))) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniformMatrix3x2fv(program uint32, location int32, count int32, transpose bool, value *float32) { - C.glowProgramUniformMatrix3x2fv(gpProgramUniformMatrix3x2fv, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLfloat)(unsafe.Pointer(value))) -} -func ProgramUniformMatrix3x2fvEXT(program uint32, location int32, count int32, transpose bool, value *float32) { - C.glowProgramUniformMatrix3x2fvEXT(gpProgramUniformMatrix3x2fvEXT, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLfloat)(unsafe.Pointer(value))) -} -func ProgramUniformMatrix3x4dv(program uint32, location int32, count int32, transpose bool, value *float64) { - C.glowProgramUniformMatrix3x4dv(gpProgramUniformMatrix3x4dv, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLdouble)(unsafe.Pointer(value))) -} -func ProgramUniformMatrix3x4dvEXT(program uint32, location int32, count int32, transpose bool, value *float64) { - C.glowProgramUniformMatrix3x4dvEXT(gpProgramUniformMatrix3x4dvEXT, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLdouble)(unsafe.Pointer(value))) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniformMatrix3x4fv(program uint32, location int32, count int32, transpose bool, value *float32) { - C.glowProgramUniformMatrix3x4fv(gpProgramUniformMatrix3x4fv, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLfloat)(unsafe.Pointer(value))) -} -func ProgramUniformMatrix3x4fvEXT(program uint32, location int32, count int32, transpose bool, value *float32) { - C.glowProgramUniformMatrix3x4fvEXT(gpProgramUniformMatrix3x4fvEXT, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLfloat)(unsafe.Pointer(value))) -} -func ProgramUniformMatrix4dv(program uint32, location int32, count int32, transpose bool, value *float64) { - C.glowProgramUniformMatrix4dv(gpProgramUniformMatrix4dv, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLdouble)(unsafe.Pointer(value))) -} -func ProgramUniformMatrix4dvEXT(program uint32, location int32, count int32, transpose bool, value *float64) { - C.glowProgramUniformMatrix4dvEXT(gpProgramUniformMatrix4dvEXT, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLdouble)(unsafe.Pointer(value))) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniformMatrix4fv(program uint32, location int32, count int32, transpose bool, value *float32) { - C.glowProgramUniformMatrix4fv(gpProgramUniformMatrix4fv, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLfloat)(unsafe.Pointer(value))) -} -func ProgramUniformMatrix4fvEXT(program uint32, location int32, count int32, transpose bool, value *float32) { - C.glowProgramUniformMatrix4fvEXT(gpProgramUniformMatrix4fvEXT, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLfloat)(unsafe.Pointer(value))) -} -func ProgramUniformMatrix4x2dv(program uint32, location int32, count int32, transpose bool, value *float64) { - C.glowProgramUniformMatrix4x2dv(gpProgramUniformMatrix4x2dv, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLdouble)(unsafe.Pointer(value))) -} -func ProgramUniformMatrix4x2dvEXT(program uint32, location int32, count int32, transpose bool, value *float64) { - C.glowProgramUniformMatrix4x2dvEXT(gpProgramUniformMatrix4x2dvEXT, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLdouble)(unsafe.Pointer(value))) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniformMatrix4x2fv(program uint32, location int32, count int32, transpose bool, value *float32) { - C.glowProgramUniformMatrix4x2fv(gpProgramUniformMatrix4x2fv, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLfloat)(unsafe.Pointer(value))) -} -func ProgramUniformMatrix4x2fvEXT(program uint32, location int32, count int32, transpose bool, value *float32) { - C.glowProgramUniformMatrix4x2fvEXT(gpProgramUniformMatrix4x2fvEXT, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLfloat)(unsafe.Pointer(value))) -} -func ProgramUniformMatrix4x3dv(program uint32, location int32, count int32, transpose bool, value *float64) { - C.glowProgramUniformMatrix4x3dv(gpProgramUniformMatrix4x3dv, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLdouble)(unsafe.Pointer(value))) -} -func ProgramUniformMatrix4x3dvEXT(program uint32, location int32, count int32, transpose bool, value *float64) { - C.glowProgramUniformMatrix4x3dvEXT(gpProgramUniformMatrix4x3dvEXT, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLdouble)(unsafe.Pointer(value))) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniformMatrix4x3fv(program uint32, location int32, count int32, transpose bool, value *float32) { - C.glowProgramUniformMatrix4x3fv(gpProgramUniformMatrix4x3fv, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLfloat)(unsafe.Pointer(value))) -} -func ProgramUniformMatrix4x3fvEXT(program uint32, location int32, count int32, transpose bool, value *float32) { - C.glowProgramUniformMatrix4x3fvEXT(gpProgramUniformMatrix4x3fvEXT, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLfloat)(unsafe.Pointer(value))) -} -func ProgramUniformui64NV(program uint32, location int32, value uint64) { - C.glowProgramUniformui64NV(gpProgramUniformui64NV, (C.GLuint)(program), (C.GLint)(location), (C.GLuint64EXT)(value)) -} -func ProgramUniformui64vNV(program uint32, location int32, count int32, value *uint64) { - C.glowProgramUniformui64vNV(gpProgramUniformui64vNV, (C.GLuint)(program), (C.GLint)(location), (C.GLsizei)(count), (*C.GLuint64EXT)(unsafe.Pointer(value))) -} -func ProgramVertexLimitNV(target uint32, limit int32) { - C.glowProgramVertexLimitNV(gpProgramVertexLimitNV, (C.GLenum)(target), (C.GLint)(limit)) -} - -// specifiy the vertex to be used as the source of data for flat shaded varyings -func ProvokingVertex(mode uint32) { - C.glowProvokingVertex(gpProvokingVertex, (C.GLenum)(mode)) -} -func ProvokingVertexEXT(mode uint32) { - C.glowProvokingVertexEXT(gpProvokingVertexEXT, (C.GLenum)(mode)) -} - -// push and pop the server attribute stack -func PushAttrib(mask uint32) { - C.glowPushAttrib(gpPushAttrib, (C.GLbitfield)(mask)) -} - -// push and pop the client attribute stack -func PushClientAttrib(mask uint32) { - C.glowPushClientAttrib(gpPushClientAttrib, (C.GLbitfield)(mask)) -} -func PushClientAttribDefaultEXT(mask uint32) { - C.glowPushClientAttribDefaultEXT(gpPushClientAttribDefaultEXT, (C.GLbitfield)(mask)) -} - -// push a named debug group into the command stream -func PushDebugGroup(source uint32, id uint32, length int32, message *uint8) { - C.glowPushDebugGroup(gpPushDebugGroup, (C.GLenum)(source), (C.GLuint)(id), (C.GLsizei)(length), (*C.GLchar)(unsafe.Pointer(message))) -} -func PushDebugGroupKHR(source uint32, id uint32, length int32, message *uint8) { - C.glowPushDebugGroupKHR(gpPushDebugGroupKHR, (C.GLenum)(source), (C.GLuint)(id), (C.GLsizei)(length), (*C.GLchar)(unsafe.Pointer(message))) -} -func PushGroupMarkerEXT(length int32, marker *uint8) { - C.glowPushGroupMarkerEXT(gpPushGroupMarkerEXT, (C.GLsizei)(length), (*C.GLchar)(unsafe.Pointer(marker))) -} - -// push and pop the current matrix stack -func PushMatrix() { - C.glowPushMatrix(gpPushMatrix) -} - -// push and pop the name stack -func PushName(name uint32) { - C.glowPushName(gpPushName, (C.GLuint)(name)) -} - -// record the GL time into a query object after all previous commands have reached the GL server but have not yet necessarily executed. -func QueryCounter(id uint32, target uint32) { - C.glowQueryCounter(gpQueryCounter, (C.GLuint)(id), (C.GLenum)(target)) -} - -// return the values of the current matrix -func QueryMatrixxOES(mantissa *int32, exponent *int32) uint32 { - ret := C.glowQueryMatrixxOES(gpQueryMatrixxOES, (*C.GLfixed)(unsafe.Pointer(mantissa)), (*C.GLint)(unsafe.Pointer(exponent))) - return (uint32)(ret) -} -func QueryObjectParameteruiAMD(target uint32, id uint32, pname uint32, param uint32) { - C.glowQueryObjectParameteruiAMD(gpQueryObjectParameteruiAMD, (C.GLenum)(target), (C.GLuint)(id), (C.GLenum)(pname), (C.GLuint)(param)) -} -func QueryResourceNV(queryType uint32, tagId int32, bufSize uint32, buffer *int32) int32 { - ret := C.glowQueryResourceNV(gpQueryResourceNV, (C.GLenum)(queryType), (C.GLint)(tagId), (C.GLuint)(bufSize), (*C.GLint)(unsafe.Pointer(buffer))) - return (int32)(ret) -} -func QueryResourceTagNV(tagId int32, tagString *uint8) { - C.glowQueryResourceTagNV(gpQueryResourceTagNV, (C.GLint)(tagId), (*C.GLchar)(unsafe.Pointer(tagString))) -} -func RasterPos2d(x float64, y float64) { - C.glowRasterPos2d(gpRasterPos2d, (C.GLdouble)(x), (C.GLdouble)(y)) -} -func RasterPos2dv(v *float64) { - C.glowRasterPos2dv(gpRasterPos2dv, (*C.GLdouble)(unsafe.Pointer(v))) -} -func RasterPos2f(x float32, y float32) { - C.glowRasterPos2f(gpRasterPos2f, (C.GLfloat)(x), (C.GLfloat)(y)) -} -func RasterPos2fv(v *float32) { - C.glowRasterPos2fv(gpRasterPos2fv, (*C.GLfloat)(unsafe.Pointer(v))) -} -func RasterPos2i(x int32, y int32) { - C.glowRasterPos2i(gpRasterPos2i, (C.GLint)(x), (C.GLint)(y)) -} -func RasterPos2iv(v *int32) { - C.glowRasterPos2iv(gpRasterPos2iv, (*C.GLint)(unsafe.Pointer(v))) -} -func RasterPos2s(x int16, y int16) { - C.glowRasterPos2s(gpRasterPos2s, (C.GLshort)(x), (C.GLshort)(y)) -} -func RasterPos2sv(v *int16) { - C.glowRasterPos2sv(gpRasterPos2sv, (*C.GLshort)(unsafe.Pointer(v))) -} -func RasterPos2xOES(x int32, y int32) { - C.glowRasterPos2xOES(gpRasterPos2xOES, (C.GLfixed)(x), (C.GLfixed)(y)) -} -func RasterPos2xvOES(coords *int32) { - C.glowRasterPos2xvOES(gpRasterPos2xvOES, (*C.GLfixed)(unsafe.Pointer(coords))) -} -func RasterPos3d(x float64, y float64, z float64) { - C.glowRasterPos3d(gpRasterPos3d, (C.GLdouble)(x), (C.GLdouble)(y), (C.GLdouble)(z)) -} -func RasterPos3dv(v *float64) { - C.glowRasterPos3dv(gpRasterPos3dv, (*C.GLdouble)(unsafe.Pointer(v))) -} -func RasterPos3f(x float32, y float32, z float32) { - C.glowRasterPos3f(gpRasterPos3f, (C.GLfloat)(x), (C.GLfloat)(y), (C.GLfloat)(z)) -} -func RasterPos3fv(v *float32) { - C.glowRasterPos3fv(gpRasterPos3fv, (*C.GLfloat)(unsafe.Pointer(v))) -} -func RasterPos3i(x int32, y int32, z int32) { - C.glowRasterPos3i(gpRasterPos3i, (C.GLint)(x), (C.GLint)(y), (C.GLint)(z)) -} -func RasterPos3iv(v *int32) { - C.glowRasterPos3iv(gpRasterPos3iv, (*C.GLint)(unsafe.Pointer(v))) -} -func RasterPos3s(x int16, y int16, z int16) { - C.glowRasterPos3s(gpRasterPos3s, (C.GLshort)(x), (C.GLshort)(y), (C.GLshort)(z)) -} -func RasterPos3sv(v *int16) { - C.glowRasterPos3sv(gpRasterPos3sv, (*C.GLshort)(unsafe.Pointer(v))) -} -func RasterPos3xOES(x int32, y int32, z int32) { - C.glowRasterPos3xOES(gpRasterPos3xOES, (C.GLfixed)(x), (C.GLfixed)(y), (C.GLfixed)(z)) -} -func RasterPos3xvOES(coords *int32) { - C.glowRasterPos3xvOES(gpRasterPos3xvOES, (*C.GLfixed)(unsafe.Pointer(coords))) -} -func RasterPos4d(x float64, y float64, z float64, w float64) { - C.glowRasterPos4d(gpRasterPos4d, (C.GLdouble)(x), (C.GLdouble)(y), (C.GLdouble)(z), (C.GLdouble)(w)) -} -func RasterPos4dv(v *float64) { - C.glowRasterPos4dv(gpRasterPos4dv, (*C.GLdouble)(unsafe.Pointer(v))) -} -func RasterPos4f(x float32, y float32, z float32, w float32) { - C.glowRasterPos4f(gpRasterPos4f, (C.GLfloat)(x), (C.GLfloat)(y), (C.GLfloat)(z), (C.GLfloat)(w)) -} -func RasterPos4fv(v *float32) { - C.glowRasterPos4fv(gpRasterPos4fv, (*C.GLfloat)(unsafe.Pointer(v))) -} -func RasterPos4i(x int32, y int32, z int32, w int32) { - C.glowRasterPos4i(gpRasterPos4i, (C.GLint)(x), (C.GLint)(y), (C.GLint)(z), (C.GLint)(w)) -} -func RasterPos4iv(v *int32) { - C.glowRasterPos4iv(gpRasterPos4iv, (*C.GLint)(unsafe.Pointer(v))) -} -func RasterPos4s(x int16, y int16, z int16, w int16) { - C.glowRasterPos4s(gpRasterPos4s, (C.GLshort)(x), (C.GLshort)(y), (C.GLshort)(z), (C.GLshort)(w)) -} -func RasterPos4sv(v *int16) { - C.glowRasterPos4sv(gpRasterPos4sv, (*C.GLshort)(unsafe.Pointer(v))) -} -func RasterPos4xOES(x int32, y int32, z int32, w int32) { - C.glowRasterPos4xOES(gpRasterPos4xOES, (C.GLfixed)(x), (C.GLfixed)(y), (C.GLfixed)(z), (C.GLfixed)(w)) -} -func RasterPos4xvOES(coords *int32) { - C.glowRasterPos4xvOES(gpRasterPos4xvOES, (*C.GLfixed)(unsafe.Pointer(coords))) -} -func RasterSamplesEXT(samples uint32, fixedsamplelocations bool) { - C.glowRasterSamplesEXT(gpRasterSamplesEXT, (C.GLuint)(samples), (C.GLboolean)(boolToInt(fixedsamplelocations))) -} - -// select a color buffer source for pixels -func ReadBuffer(src uint32) { - C.glowReadBuffer(gpReadBuffer, (C.GLenum)(src)) -} -func ReadInstrumentsSGIX(marker int32) { - C.glowReadInstrumentsSGIX(gpReadInstrumentsSGIX, (C.GLint)(marker)) -} - -// read a block of pixels from the frame buffer func ReadPixels(x int32, y int32, width int32, height int32, format uint32, xtype uint32, pixels unsafe.Pointer) { C.glowReadPixels(gpReadPixels, (C.GLint)(x), (C.GLint)(y), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLenum)(format), (C.GLenum)(xtype), pixels) } -// read a block of pixels from the frame buffer -func ReadnPixels(x int32, y int32, width int32, height int32, format uint32, xtype uint32, bufSize int32, data unsafe.Pointer) { - C.glowReadnPixels(gpReadnPixels, (C.GLint)(x), (C.GLint)(y), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLenum)(format), (C.GLenum)(xtype), (C.GLsizei)(bufSize), data) -} -func ReadnPixelsARB(x int32, y int32, width int32, height int32, format uint32, xtype uint32, bufSize int32, data unsafe.Pointer) { - C.glowReadnPixelsARB(gpReadnPixelsARB, (C.GLint)(x), (C.GLint)(y), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLenum)(format), (C.GLenum)(xtype), (C.GLsizei)(bufSize), data) -} -func ReadnPixelsKHR(x int32, y int32, width int32, height int32, format uint32, xtype uint32, bufSize int32, data unsafe.Pointer) { - C.glowReadnPixelsKHR(gpReadnPixelsKHR, (C.GLint)(x), (C.GLint)(y), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLenum)(format), (C.GLenum)(xtype), (C.GLsizei)(bufSize), data) -} -func Rectd(x1 float64, y1 float64, x2 float64, y2 float64) { - C.glowRectd(gpRectd, (C.GLdouble)(x1), (C.GLdouble)(y1), (C.GLdouble)(x2), (C.GLdouble)(y2)) -} -func Rectdv(v1 *float64, v2 *float64) { - C.glowRectdv(gpRectdv, (*C.GLdouble)(unsafe.Pointer(v1)), (*C.GLdouble)(unsafe.Pointer(v2))) -} -func Rectf(x1 float32, y1 float32, x2 float32, y2 float32) { - C.glowRectf(gpRectf, (C.GLfloat)(x1), (C.GLfloat)(y1), (C.GLfloat)(x2), (C.GLfloat)(y2)) -} -func Rectfv(v1 *float32, v2 *float32) { - C.glowRectfv(gpRectfv, (*C.GLfloat)(unsafe.Pointer(v1)), (*C.GLfloat)(unsafe.Pointer(v2))) -} -func Recti(x1 int32, y1 int32, x2 int32, y2 int32) { - C.glowRecti(gpRecti, (C.GLint)(x1), (C.GLint)(y1), (C.GLint)(x2), (C.GLint)(y2)) -} -func Rectiv(v1 *int32, v2 *int32) { - C.glowRectiv(gpRectiv, (*C.GLint)(unsafe.Pointer(v1)), (*C.GLint)(unsafe.Pointer(v2))) -} -func Rects(x1 int16, y1 int16, x2 int16, y2 int16) { - C.glowRects(gpRects, (C.GLshort)(x1), (C.GLshort)(y1), (C.GLshort)(x2), (C.GLshort)(y2)) -} -func Rectsv(v1 *int16, v2 *int16) { - C.glowRectsv(gpRectsv, (*C.GLshort)(unsafe.Pointer(v1)), (*C.GLshort)(unsafe.Pointer(v2))) -} -func RectxOES(x1 int32, y1 int32, x2 int32, y2 int32) { - C.glowRectxOES(gpRectxOES, (C.GLfixed)(x1), (C.GLfixed)(y1), (C.GLfixed)(x2), (C.GLfixed)(y2)) -} -func RectxvOES(v1 *int32, v2 *int32) { - C.glowRectxvOES(gpRectxvOES, (*C.GLfixed)(unsafe.Pointer(v1)), (*C.GLfixed)(unsafe.Pointer(v2))) -} -func ReferencePlaneSGIX(equation *float64) { - C.glowReferencePlaneSGIX(gpReferencePlaneSGIX, (*C.GLdouble)(unsafe.Pointer(equation))) -} -func ReleaseKeyedMutexWin32EXT(memory uint32, key uint64) bool { - ret := C.glowReleaseKeyedMutexWin32EXT(gpReleaseKeyedMutexWin32EXT, (C.GLuint)(memory), (C.GLuint64)(key)) - return ret == TRUE -} - -// release resources consumed by the implementation's shader compiler -func ReleaseShaderCompiler() { - C.glowReleaseShaderCompiler(gpReleaseShaderCompiler) -} -func RenderGpuMaskNV(mask uint32) { - C.glowRenderGpuMaskNV(gpRenderGpuMaskNV, (C.GLbitfield)(mask)) -} - -// set rasterization mode -func RenderMode(mode uint32) int32 { - ret := C.glowRenderMode(gpRenderMode, (C.GLenum)(mode)) - return (int32)(ret) -} - -// establish data storage, format and dimensions of a renderbuffer object's image -func RenderbufferStorage(target uint32, internalformat uint32, width int32, height int32) { - C.glowRenderbufferStorage(gpRenderbufferStorage, (C.GLenum)(target), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height)) -} -func RenderbufferStorageEXT(target uint32, internalformat uint32, width int32, height int32) { - C.glowRenderbufferStorageEXT(gpRenderbufferStorageEXT, (C.GLenum)(target), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height)) -} - -// establish data storage, format, dimensions and sample count of a renderbuffer object's image -func RenderbufferStorageMultisample(target uint32, samples int32, internalformat uint32, width int32, height int32) { - C.glowRenderbufferStorageMultisample(gpRenderbufferStorageMultisample, (C.GLenum)(target), (C.GLsizei)(samples), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height)) -} -func RenderbufferStorageMultisampleCoverageNV(target uint32, coverageSamples int32, colorSamples int32, internalformat uint32, width int32, height int32) { - C.glowRenderbufferStorageMultisampleCoverageNV(gpRenderbufferStorageMultisampleCoverageNV, (C.GLenum)(target), (C.GLsizei)(coverageSamples), (C.GLsizei)(colorSamples), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height)) -} -func RenderbufferStorageMultisampleEXT(target uint32, samples int32, internalformat uint32, width int32, height int32) { - C.glowRenderbufferStorageMultisampleEXT(gpRenderbufferStorageMultisampleEXT, (C.GLenum)(target), (C.GLsizei)(samples), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height)) -} -func ReplacementCodePointerSUN(xtype uint32, stride int32, pointer *unsafe.Pointer) { - C.glowReplacementCodePointerSUN(gpReplacementCodePointerSUN, (C.GLenum)(xtype), (C.GLsizei)(stride), pointer) -} -func ReplacementCodeubSUN(code uint8) { - C.glowReplacementCodeubSUN(gpReplacementCodeubSUN, (C.GLubyte)(code)) -} -func ReplacementCodeubvSUN(code *uint8) { - C.glowReplacementCodeubvSUN(gpReplacementCodeubvSUN, (*C.GLubyte)(unsafe.Pointer(code))) -} -func ReplacementCodeuiColor3fVertex3fSUN(rc uint32, r float32, g float32, b float32, x float32, y float32, z float32) { - C.glowReplacementCodeuiColor3fVertex3fSUN(gpReplacementCodeuiColor3fVertex3fSUN, (C.GLuint)(rc), (C.GLfloat)(r), (C.GLfloat)(g), (C.GLfloat)(b), (C.GLfloat)(x), (C.GLfloat)(y), (C.GLfloat)(z)) -} -func ReplacementCodeuiColor3fVertex3fvSUN(rc *uint32, c *float32, v *float32) { - C.glowReplacementCodeuiColor3fVertex3fvSUN(gpReplacementCodeuiColor3fVertex3fvSUN, (*C.GLuint)(unsafe.Pointer(rc)), (*C.GLfloat)(unsafe.Pointer(c)), (*C.GLfloat)(unsafe.Pointer(v))) -} -func ReplacementCodeuiColor4fNormal3fVertex3fSUN(rc uint32, r float32, g float32, b float32, a float32, nx float32, ny float32, nz float32, x float32, y float32, z float32) { - C.glowReplacementCodeuiColor4fNormal3fVertex3fSUN(gpReplacementCodeuiColor4fNormal3fVertex3fSUN, (C.GLuint)(rc), (C.GLfloat)(r), (C.GLfloat)(g), (C.GLfloat)(b), (C.GLfloat)(a), (C.GLfloat)(nx), (C.GLfloat)(ny), (C.GLfloat)(nz), (C.GLfloat)(x), (C.GLfloat)(y), (C.GLfloat)(z)) -} -func ReplacementCodeuiColor4fNormal3fVertex3fvSUN(rc *uint32, c *float32, n *float32, v *float32) { - C.glowReplacementCodeuiColor4fNormal3fVertex3fvSUN(gpReplacementCodeuiColor4fNormal3fVertex3fvSUN, (*C.GLuint)(unsafe.Pointer(rc)), (*C.GLfloat)(unsafe.Pointer(c)), (*C.GLfloat)(unsafe.Pointer(n)), (*C.GLfloat)(unsafe.Pointer(v))) -} -func ReplacementCodeuiColor4ubVertex3fSUN(rc uint32, r uint8, g uint8, b uint8, a uint8, x float32, y float32, z float32) { - C.glowReplacementCodeuiColor4ubVertex3fSUN(gpReplacementCodeuiColor4ubVertex3fSUN, (C.GLuint)(rc), (C.GLubyte)(r), (C.GLubyte)(g), (C.GLubyte)(b), (C.GLubyte)(a), (C.GLfloat)(x), (C.GLfloat)(y), (C.GLfloat)(z)) -} -func ReplacementCodeuiColor4ubVertex3fvSUN(rc *uint32, c *uint8, v *float32) { - C.glowReplacementCodeuiColor4ubVertex3fvSUN(gpReplacementCodeuiColor4ubVertex3fvSUN, (*C.GLuint)(unsafe.Pointer(rc)), (*C.GLubyte)(unsafe.Pointer(c)), (*C.GLfloat)(unsafe.Pointer(v))) -} -func ReplacementCodeuiNormal3fVertex3fSUN(rc uint32, nx float32, ny float32, nz float32, x float32, y float32, z float32) { - C.glowReplacementCodeuiNormal3fVertex3fSUN(gpReplacementCodeuiNormal3fVertex3fSUN, (C.GLuint)(rc), (C.GLfloat)(nx), (C.GLfloat)(ny), (C.GLfloat)(nz), (C.GLfloat)(x), (C.GLfloat)(y), (C.GLfloat)(z)) -} -func ReplacementCodeuiNormal3fVertex3fvSUN(rc *uint32, n *float32, v *float32) { - C.glowReplacementCodeuiNormal3fVertex3fvSUN(gpReplacementCodeuiNormal3fVertex3fvSUN, (*C.GLuint)(unsafe.Pointer(rc)), (*C.GLfloat)(unsafe.Pointer(n)), (*C.GLfloat)(unsafe.Pointer(v))) -} -func ReplacementCodeuiSUN(code uint32) { - C.glowReplacementCodeuiSUN(gpReplacementCodeuiSUN, (C.GLuint)(code)) -} -func ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN(rc uint32, s float32, t float32, r float32, g float32, b float32, a float32, nx float32, ny float32, nz float32, x float32, y float32, z float32) { - C.glowReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN(gpReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN, (C.GLuint)(rc), (C.GLfloat)(s), (C.GLfloat)(t), (C.GLfloat)(r), (C.GLfloat)(g), (C.GLfloat)(b), (C.GLfloat)(a), (C.GLfloat)(nx), (C.GLfloat)(ny), (C.GLfloat)(nz), (C.GLfloat)(x), (C.GLfloat)(y), (C.GLfloat)(z)) -} -func ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc *uint32, tc *float32, c *float32, n *float32, v *float32) { - C.glowReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(gpReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN, (*C.GLuint)(unsafe.Pointer(rc)), (*C.GLfloat)(unsafe.Pointer(tc)), (*C.GLfloat)(unsafe.Pointer(c)), (*C.GLfloat)(unsafe.Pointer(n)), (*C.GLfloat)(unsafe.Pointer(v))) -} -func ReplacementCodeuiTexCoord2fNormal3fVertex3fSUN(rc uint32, s float32, t float32, nx float32, ny float32, nz float32, x float32, y float32, z float32) { - C.glowReplacementCodeuiTexCoord2fNormal3fVertex3fSUN(gpReplacementCodeuiTexCoord2fNormal3fVertex3fSUN, (C.GLuint)(rc), (C.GLfloat)(s), (C.GLfloat)(t), (C.GLfloat)(nx), (C.GLfloat)(ny), (C.GLfloat)(nz), (C.GLfloat)(x), (C.GLfloat)(y), (C.GLfloat)(z)) -} -func ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(rc *uint32, tc *float32, n *float32, v *float32) { - C.glowReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(gpReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN, (*C.GLuint)(unsafe.Pointer(rc)), (*C.GLfloat)(unsafe.Pointer(tc)), (*C.GLfloat)(unsafe.Pointer(n)), (*C.GLfloat)(unsafe.Pointer(v))) -} -func ReplacementCodeuiTexCoord2fVertex3fSUN(rc uint32, s float32, t float32, x float32, y float32, z float32) { - C.glowReplacementCodeuiTexCoord2fVertex3fSUN(gpReplacementCodeuiTexCoord2fVertex3fSUN, (C.GLuint)(rc), (C.GLfloat)(s), (C.GLfloat)(t), (C.GLfloat)(x), (C.GLfloat)(y), (C.GLfloat)(z)) -} -func ReplacementCodeuiTexCoord2fVertex3fvSUN(rc *uint32, tc *float32, v *float32) { - C.glowReplacementCodeuiTexCoord2fVertex3fvSUN(gpReplacementCodeuiTexCoord2fVertex3fvSUN, (*C.GLuint)(unsafe.Pointer(rc)), (*C.GLfloat)(unsafe.Pointer(tc)), (*C.GLfloat)(unsafe.Pointer(v))) -} -func ReplacementCodeuiVertex3fSUN(rc uint32, x float32, y float32, z float32) { - C.glowReplacementCodeuiVertex3fSUN(gpReplacementCodeuiVertex3fSUN, (C.GLuint)(rc), (C.GLfloat)(x), (C.GLfloat)(y), (C.GLfloat)(z)) -} -func ReplacementCodeuiVertex3fvSUN(rc *uint32, v *float32) { - C.glowReplacementCodeuiVertex3fvSUN(gpReplacementCodeuiVertex3fvSUN, (*C.GLuint)(unsafe.Pointer(rc)), (*C.GLfloat)(unsafe.Pointer(v))) -} -func ReplacementCodeuivSUN(code *uint32) { - C.glowReplacementCodeuivSUN(gpReplacementCodeuivSUN, (*C.GLuint)(unsafe.Pointer(code))) -} -func ReplacementCodeusSUN(code uint16) { - C.glowReplacementCodeusSUN(gpReplacementCodeusSUN, (C.GLushort)(code)) -} -func ReplacementCodeusvSUN(code *uint16) { - C.glowReplacementCodeusvSUN(gpReplacementCodeusvSUN, (*C.GLushort)(unsafe.Pointer(code))) -} -func RequestResidentProgramsNV(n int32, programs *uint32) { - C.glowRequestResidentProgramsNV(gpRequestResidentProgramsNV, (C.GLsizei)(n), (*C.GLuint)(unsafe.Pointer(programs))) -} -func ResetHistogramEXT(target uint32) { - C.glowResetHistogramEXT(gpResetHistogramEXT, (C.GLenum)(target)) -} -func ResetMinmaxEXT(target uint32) { - C.glowResetMinmaxEXT(gpResetMinmaxEXT, (C.GLenum)(target)) -} -func ResizeBuffersMESA() { - C.glowResizeBuffersMESA(gpResizeBuffersMESA) -} -func ResolveDepthValuesNV() { - C.glowResolveDepthValuesNV(gpResolveDepthValuesNV) -} - -// resume transform feedback operations -func ResumeTransformFeedback() { - C.glowResumeTransformFeedback(gpResumeTransformFeedback) -} -func ResumeTransformFeedbackNV() { - C.glowResumeTransformFeedbackNV(gpResumeTransformFeedbackNV) -} -func Rotated(angle float64, x float64, y float64, z float64) { - C.glowRotated(gpRotated, (C.GLdouble)(angle), (C.GLdouble)(x), (C.GLdouble)(y), (C.GLdouble)(z)) -} -func Rotatef(angle float32, x float32, y float32, z float32) { - C.glowRotatef(gpRotatef, (C.GLfloat)(angle), (C.GLfloat)(x), (C.GLfloat)(y), (C.GLfloat)(z)) -} -func RotatexOES(angle int32, x int32, y int32, z int32) { - C.glowRotatexOES(gpRotatexOES, (C.GLfixed)(angle), (C.GLfixed)(x), (C.GLfixed)(y), (C.GLfixed)(z)) -} - -// specify multisample coverage parameters -func SampleCoverage(value float32, invert bool) { - C.glowSampleCoverage(gpSampleCoverage, (C.GLfloat)(value), (C.GLboolean)(boolToInt(invert))) -} -func SampleCoverageARB(value float32, invert bool) { - C.glowSampleCoverageARB(gpSampleCoverageARB, (C.GLfloat)(value), (C.GLboolean)(boolToInt(invert))) -} -func SampleCoveragexOES(value int32, invert bool) { - C.glowSampleCoveragexOES(gpSampleCoveragexOES, (C.GLclampx)(value), (C.GLboolean)(boolToInt(invert))) -} -func SampleMapATI(dst uint32, interp uint32, swizzle uint32) { - C.glowSampleMapATI(gpSampleMapATI, (C.GLuint)(dst), (C.GLuint)(interp), (C.GLenum)(swizzle)) -} -func SampleMaskEXT(value float32, invert bool) { - C.glowSampleMaskEXT(gpSampleMaskEXT, (C.GLclampf)(value), (C.GLboolean)(boolToInt(invert))) -} -func SampleMaskIndexedNV(index uint32, mask uint32) { - C.glowSampleMaskIndexedNV(gpSampleMaskIndexedNV, (C.GLuint)(index), (C.GLbitfield)(mask)) -} -func SampleMaskSGIS(value float32, invert bool) { - C.glowSampleMaskSGIS(gpSampleMaskSGIS, (C.GLclampf)(value), (C.GLboolean)(boolToInt(invert))) -} - -// set the value of a sub-word of the sample mask -func SampleMaski(maskNumber uint32, mask uint32) { - C.glowSampleMaski(gpSampleMaski, (C.GLuint)(maskNumber), (C.GLbitfield)(mask)) -} -func SamplePatternEXT(pattern uint32) { - C.glowSamplePatternEXT(gpSamplePatternEXT, (C.GLenum)(pattern)) -} -func SamplePatternSGIS(pattern uint32) { - C.glowSamplePatternSGIS(gpSamplePatternSGIS, (C.GLenum)(pattern)) -} -func SamplerParameterIiv(sampler uint32, pname uint32, param *int32) { - C.glowSamplerParameterIiv(gpSamplerParameterIiv, (C.GLuint)(sampler), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(param))) -} -func SamplerParameterIuiv(sampler uint32, pname uint32, param *uint32) { - C.glowSamplerParameterIuiv(gpSamplerParameterIuiv, (C.GLuint)(sampler), (C.GLenum)(pname), (*C.GLuint)(unsafe.Pointer(param))) -} -func SamplerParameterf(sampler uint32, pname uint32, param float32) { - C.glowSamplerParameterf(gpSamplerParameterf, (C.GLuint)(sampler), (C.GLenum)(pname), (C.GLfloat)(param)) -} -func SamplerParameterfv(sampler uint32, pname uint32, param *float32) { - C.glowSamplerParameterfv(gpSamplerParameterfv, (C.GLuint)(sampler), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(param))) -} -func SamplerParameteri(sampler uint32, pname uint32, param int32) { - C.glowSamplerParameteri(gpSamplerParameteri, (C.GLuint)(sampler), (C.GLenum)(pname), (C.GLint)(param)) -} -func SamplerParameteriv(sampler uint32, pname uint32, param *int32) { - C.glowSamplerParameteriv(gpSamplerParameteriv, (C.GLuint)(sampler), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(param))) -} -func Scaled(x float64, y float64, z float64) { - C.glowScaled(gpScaled, (C.GLdouble)(x), (C.GLdouble)(y), (C.GLdouble)(z)) -} -func Scalef(x float32, y float32, z float32) { - C.glowScalef(gpScalef, (C.GLfloat)(x), (C.GLfloat)(y), (C.GLfloat)(z)) -} -func ScalexOES(x int32, y int32, z int32) { - C.glowScalexOES(gpScalexOES, (C.GLfixed)(x), (C.GLfixed)(y), (C.GLfixed)(z)) -} - -// define the scissor box -func Scissor(x int32, y int32, width int32, height int32) { - C.glowScissor(gpScissor, (C.GLint)(x), (C.GLint)(y), (C.GLsizei)(width), (C.GLsizei)(height)) -} -func ScissorArrayv(first uint32, count int32, v *int32) { - C.glowScissorArrayv(gpScissorArrayv, (C.GLuint)(first), (C.GLsizei)(count), (*C.GLint)(unsafe.Pointer(v))) -} - -// define the scissor box for a specific viewport -func ScissorIndexed(index uint32, left int32, bottom int32, width int32, height int32) { - C.glowScissorIndexed(gpScissorIndexed, (C.GLuint)(index), (C.GLint)(left), (C.GLint)(bottom), (C.GLsizei)(width), (C.GLsizei)(height)) -} -func ScissorIndexedv(index uint32, v *int32) { - C.glowScissorIndexedv(gpScissorIndexedv, (C.GLuint)(index), (*C.GLint)(unsafe.Pointer(v))) -} -func SecondaryColor3b(red int8, green int8, blue int8) { - C.glowSecondaryColor3b(gpSecondaryColor3b, (C.GLbyte)(red), (C.GLbyte)(green), (C.GLbyte)(blue)) -} -func SecondaryColor3bEXT(red int8, green int8, blue int8) { - C.glowSecondaryColor3bEXT(gpSecondaryColor3bEXT, (C.GLbyte)(red), (C.GLbyte)(green), (C.GLbyte)(blue)) -} -func SecondaryColor3bv(v *int8) { - C.glowSecondaryColor3bv(gpSecondaryColor3bv, (*C.GLbyte)(unsafe.Pointer(v))) -} -func SecondaryColor3bvEXT(v *int8) { - C.glowSecondaryColor3bvEXT(gpSecondaryColor3bvEXT, (*C.GLbyte)(unsafe.Pointer(v))) -} -func SecondaryColor3d(red float64, green float64, blue float64) { - C.glowSecondaryColor3d(gpSecondaryColor3d, (C.GLdouble)(red), (C.GLdouble)(green), (C.GLdouble)(blue)) -} -func SecondaryColor3dEXT(red float64, green float64, blue float64) { - C.glowSecondaryColor3dEXT(gpSecondaryColor3dEXT, (C.GLdouble)(red), (C.GLdouble)(green), (C.GLdouble)(blue)) -} -func SecondaryColor3dv(v *float64) { - C.glowSecondaryColor3dv(gpSecondaryColor3dv, (*C.GLdouble)(unsafe.Pointer(v))) -} -func SecondaryColor3dvEXT(v *float64) { - C.glowSecondaryColor3dvEXT(gpSecondaryColor3dvEXT, (*C.GLdouble)(unsafe.Pointer(v))) -} -func SecondaryColor3f(red float32, green float32, blue float32) { - C.glowSecondaryColor3f(gpSecondaryColor3f, (C.GLfloat)(red), (C.GLfloat)(green), (C.GLfloat)(blue)) -} -func SecondaryColor3fEXT(red float32, green float32, blue float32) { - C.glowSecondaryColor3fEXT(gpSecondaryColor3fEXT, (C.GLfloat)(red), (C.GLfloat)(green), (C.GLfloat)(blue)) -} -func SecondaryColor3fv(v *float32) { - C.glowSecondaryColor3fv(gpSecondaryColor3fv, (*C.GLfloat)(unsafe.Pointer(v))) -} -func SecondaryColor3fvEXT(v *float32) { - C.glowSecondaryColor3fvEXT(gpSecondaryColor3fvEXT, (*C.GLfloat)(unsafe.Pointer(v))) -} -func SecondaryColor3hNV(red uint16, green uint16, blue uint16) { - C.glowSecondaryColor3hNV(gpSecondaryColor3hNV, (C.GLhalfNV)(red), (C.GLhalfNV)(green), (C.GLhalfNV)(blue)) -} -func SecondaryColor3hvNV(v *uint16) { - C.glowSecondaryColor3hvNV(gpSecondaryColor3hvNV, (*C.GLhalfNV)(unsafe.Pointer(v))) -} -func SecondaryColor3i(red int32, green int32, blue int32) { - C.glowSecondaryColor3i(gpSecondaryColor3i, (C.GLint)(red), (C.GLint)(green), (C.GLint)(blue)) -} -func SecondaryColor3iEXT(red int32, green int32, blue int32) { - C.glowSecondaryColor3iEXT(gpSecondaryColor3iEXT, (C.GLint)(red), (C.GLint)(green), (C.GLint)(blue)) -} -func SecondaryColor3iv(v *int32) { - C.glowSecondaryColor3iv(gpSecondaryColor3iv, (*C.GLint)(unsafe.Pointer(v))) -} -func SecondaryColor3ivEXT(v *int32) { - C.glowSecondaryColor3ivEXT(gpSecondaryColor3ivEXT, (*C.GLint)(unsafe.Pointer(v))) -} -func SecondaryColor3s(red int16, green int16, blue int16) { - C.glowSecondaryColor3s(gpSecondaryColor3s, (C.GLshort)(red), (C.GLshort)(green), (C.GLshort)(blue)) -} -func SecondaryColor3sEXT(red int16, green int16, blue int16) { - C.glowSecondaryColor3sEXT(gpSecondaryColor3sEXT, (C.GLshort)(red), (C.GLshort)(green), (C.GLshort)(blue)) -} -func SecondaryColor3sv(v *int16) { - C.glowSecondaryColor3sv(gpSecondaryColor3sv, (*C.GLshort)(unsafe.Pointer(v))) -} -func SecondaryColor3svEXT(v *int16) { - C.glowSecondaryColor3svEXT(gpSecondaryColor3svEXT, (*C.GLshort)(unsafe.Pointer(v))) -} -func SecondaryColor3ub(red uint8, green uint8, blue uint8) { - C.glowSecondaryColor3ub(gpSecondaryColor3ub, (C.GLubyte)(red), (C.GLubyte)(green), (C.GLubyte)(blue)) -} -func SecondaryColor3ubEXT(red uint8, green uint8, blue uint8) { - C.glowSecondaryColor3ubEXT(gpSecondaryColor3ubEXT, (C.GLubyte)(red), (C.GLubyte)(green), (C.GLubyte)(blue)) -} -func SecondaryColor3ubv(v *uint8) { - C.glowSecondaryColor3ubv(gpSecondaryColor3ubv, (*C.GLubyte)(unsafe.Pointer(v))) -} -func SecondaryColor3ubvEXT(v *uint8) { - C.glowSecondaryColor3ubvEXT(gpSecondaryColor3ubvEXT, (*C.GLubyte)(unsafe.Pointer(v))) -} -func SecondaryColor3ui(red uint32, green uint32, blue uint32) { - C.glowSecondaryColor3ui(gpSecondaryColor3ui, (C.GLuint)(red), (C.GLuint)(green), (C.GLuint)(blue)) -} -func SecondaryColor3uiEXT(red uint32, green uint32, blue uint32) { - C.glowSecondaryColor3uiEXT(gpSecondaryColor3uiEXT, (C.GLuint)(red), (C.GLuint)(green), (C.GLuint)(blue)) -} -func SecondaryColor3uiv(v *uint32) { - C.glowSecondaryColor3uiv(gpSecondaryColor3uiv, (*C.GLuint)(unsafe.Pointer(v))) -} -func SecondaryColor3uivEXT(v *uint32) { - C.glowSecondaryColor3uivEXT(gpSecondaryColor3uivEXT, (*C.GLuint)(unsafe.Pointer(v))) -} -func SecondaryColor3us(red uint16, green uint16, blue uint16) { - C.glowSecondaryColor3us(gpSecondaryColor3us, (C.GLushort)(red), (C.GLushort)(green), (C.GLushort)(blue)) -} -func SecondaryColor3usEXT(red uint16, green uint16, blue uint16) { - C.glowSecondaryColor3usEXT(gpSecondaryColor3usEXT, (C.GLushort)(red), (C.GLushort)(green), (C.GLushort)(blue)) -} -func SecondaryColor3usv(v *uint16) { - C.glowSecondaryColor3usv(gpSecondaryColor3usv, (*C.GLushort)(unsafe.Pointer(v))) -} -func SecondaryColor3usvEXT(v *uint16) { - C.glowSecondaryColor3usvEXT(gpSecondaryColor3usvEXT, (*C.GLushort)(unsafe.Pointer(v))) -} -func SecondaryColorFormatNV(size int32, xtype uint32, stride int32) { - C.glowSecondaryColorFormatNV(gpSecondaryColorFormatNV, (C.GLint)(size), (C.GLenum)(xtype), (C.GLsizei)(stride)) -} - -// define an array of secondary colors -func SecondaryColorPointer(size int32, xtype uint32, stride int32, pointer unsafe.Pointer) { - C.glowSecondaryColorPointer(gpSecondaryColorPointer, (C.GLint)(size), (C.GLenum)(xtype), (C.GLsizei)(stride), pointer) -} -func SecondaryColorPointerEXT(size int32, xtype uint32, stride int32, pointer unsafe.Pointer) { - C.glowSecondaryColorPointerEXT(gpSecondaryColorPointerEXT, (C.GLint)(size), (C.GLenum)(xtype), (C.GLsizei)(stride), pointer) -} -func SecondaryColorPointerListIBM(size int32, xtype uint32, stride int32, pointer *unsafe.Pointer, ptrstride int32) { - C.glowSecondaryColorPointerListIBM(gpSecondaryColorPointerListIBM, (C.GLint)(size), (C.GLenum)(xtype), (C.GLint)(stride), pointer, (C.GLint)(ptrstride)) -} - -// establish a buffer for selection mode values -func SelectBuffer(size int32, buffer *uint32) { - C.glowSelectBuffer(gpSelectBuffer, (C.GLsizei)(size), (*C.GLuint)(unsafe.Pointer(buffer))) -} -func SelectPerfMonitorCountersAMD(monitor uint32, enable bool, group uint32, numCounters int32, counterList *uint32) { - C.glowSelectPerfMonitorCountersAMD(gpSelectPerfMonitorCountersAMD, (C.GLuint)(monitor), (C.GLboolean)(boolToInt(enable)), (C.GLuint)(group), (C.GLint)(numCounters), (*C.GLuint)(unsafe.Pointer(counterList))) -} -func SemaphoreParameterui64vEXT(semaphore uint32, pname uint32, params *uint64) { - C.glowSemaphoreParameterui64vEXT(gpSemaphoreParameterui64vEXT, (C.GLuint)(semaphore), (C.GLenum)(pname), (*C.GLuint64)(unsafe.Pointer(params))) -} -func SeparableFilter2DEXT(target uint32, internalformat uint32, width int32, height int32, format uint32, xtype uint32, row unsafe.Pointer, column unsafe.Pointer) { - C.glowSeparableFilter2DEXT(gpSeparableFilter2DEXT, (C.GLenum)(target), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLenum)(format), (C.GLenum)(xtype), row, column) -} -func SetFenceAPPLE(fence uint32) { - C.glowSetFenceAPPLE(gpSetFenceAPPLE, (C.GLuint)(fence)) -} -func SetFenceNV(fence uint32, condition uint32) { - C.glowSetFenceNV(gpSetFenceNV, (C.GLuint)(fence), (C.GLenum)(condition)) -} -func SetFragmentShaderConstantATI(dst uint32, value *float32) { - C.glowSetFragmentShaderConstantATI(gpSetFragmentShaderConstantATI, (C.GLuint)(dst), (*C.GLfloat)(unsafe.Pointer(value))) -} -func SetInvariantEXT(id uint32, xtype uint32, addr unsafe.Pointer) { - C.glowSetInvariantEXT(gpSetInvariantEXT, (C.GLuint)(id), (C.GLenum)(xtype), addr) -} -func SetLocalConstantEXT(id uint32, xtype uint32, addr unsafe.Pointer) { - C.glowSetLocalConstantEXT(gpSetLocalConstantEXT, (C.GLuint)(id), (C.GLenum)(xtype), addr) -} -func SetMultisamplefvAMD(pname uint32, index uint32, val *float32) { - C.glowSetMultisamplefvAMD(gpSetMultisamplefvAMD, (C.GLenum)(pname), (C.GLuint)(index), (*C.GLfloat)(unsafe.Pointer(val))) -} - -// select flat or smooth shading -func ShadeModel(mode uint32) { - C.glowShadeModel(gpShadeModel, (C.GLenum)(mode)) -} - -// load pre-compiled shader binaries -func ShaderBinary(count int32, shaders *uint32, binaryformat uint32, binary unsafe.Pointer, length int32) { - C.glowShaderBinary(gpShaderBinary, (C.GLsizei)(count), (*C.GLuint)(unsafe.Pointer(shaders)), (C.GLenum)(binaryformat), binary, (C.GLsizei)(length)) -} -func ShaderOp1EXT(op uint32, res uint32, arg1 uint32) { - C.glowShaderOp1EXT(gpShaderOp1EXT, (C.GLenum)(op), (C.GLuint)(res), (C.GLuint)(arg1)) -} -func ShaderOp2EXT(op uint32, res uint32, arg1 uint32, arg2 uint32) { - C.glowShaderOp2EXT(gpShaderOp2EXT, (C.GLenum)(op), (C.GLuint)(res), (C.GLuint)(arg1), (C.GLuint)(arg2)) -} -func ShaderOp3EXT(op uint32, res uint32, arg1 uint32, arg2 uint32, arg3 uint32) { - C.glowShaderOp3EXT(gpShaderOp3EXT, (C.GLenum)(op), (C.GLuint)(res), (C.GLuint)(arg1), (C.GLuint)(arg2), (C.GLuint)(arg3)) -} - -// Replaces the source code in a shader object func ShaderSource(shader uint32, count int32, xstring **uint8, length *int32) { C.glowShaderSource(gpShaderSource, (C.GLuint)(shader), (C.GLsizei)(count), (**C.GLchar)(unsafe.Pointer(xstring)), (*C.GLint)(unsafe.Pointer(length))) } -func ShaderSourceARB(shaderObj uintptr, count int32, xstring **uint8, length *int32) { - C.glowShaderSourceARB(gpShaderSourceARB, (C.GLhandleARB)(shaderObj), (C.GLsizei)(count), (**C.GLcharARB)(unsafe.Pointer(xstring)), (*C.GLint)(unsafe.Pointer(length))) -} -// change an active shader storage block binding -func ShaderStorageBlockBinding(program uint32, storageBlockIndex uint32, storageBlockBinding uint32) { - C.glowShaderStorageBlockBinding(gpShaderStorageBlockBinding, (C.GLuint)(program), (C.GLuint)(storageBlockIndex), (C.GLuint)(storageBlockBinding)) -} -func SharpenTexFuncSGIS(target uint32, n int32, points *float32) { - C.glowSharpenTexFuncSGIS(gpSharpenTexFuncSGIS, (C.GLenum)(target), (C.GLsizei)(n), (*C.GLfloat)(unsafe.Pointer(points))) -} -func SignalSemaphoreEXT(semaphore uint32, numBufferBarriers uint32, buffers *uint32, numTextureBarriers uint32, textures *uint32, dstLayouts *uint32) { - C.glowSignalSemaphoreEXT(gpSignalSemaphoreEXT, (C.GLuint)(semaphore), (C.GLuint)(numBufferBarriers), (*C.GLuint)(unsafe.Pointer(buffers)), (C.GLuint)(numTextureBarriers), (*C.GLuint)(unsafe.Pointer(textures)), (*C.GLenum)(unsafe.Pointer(dstLayouts))) -} -func SignalVkFenceNV(vkFence uint64) { - C.glowSignalVkFenceNV(gpSignalVkFenceNV, (C.GLuint64)(vkFence)) -} -func SignalVkSemaphoreNV(vkSemaphore uint64) { - C.glowSignalVkSemaphoreNV(gpSignalVkSemaphoreNV, (C.GLuint64)(vkSemaphore)) -} -func SpecializeShaderARB(shader uint32, pEntryPoint *uint8, numSpecializationConstants uint32, pConstantIndex *uint32, pConstantValue *uint32) { - C.glowSpecializeShaderARB(gpSpecializeShaderARB, (C.GLuint)(shader), (*C.GLchar)(unsafe.Pointer(pEntryPoint)), (C.GLuint)(numSpecializationConstants), (*C.GLuint)(unsafe.Pointer(pConstantIndex)), (*C.GLuint)(unsafe.Pointer(pConstantValue))) -} -func SpriteParameterfSGIX(pname uint32, param float32) { - C.glowSpriteParameterfSGIX(gpSpriteParameterfSGIX, (C.GLenum)(pname), (C.GLfloat)(param)) -} -func SpriteParameterfvSGIX(pname uint32, params *float32) { - C.glowSpriteParameterfvSGIX(gpSpriteParameterfvSGIX, (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func SpriteParameteriSGIX(pname uint32, param int32) { - C.glowSpriteParameteriSGIX(gpSpriteParameteriSGIX, (C.GLenum)(pname), (C.GLint)(param)) -} -func SpriteParameterivSGIX(pname uint32, params *int32) { - C.glowSpriteParameterivSGIX(gpSpriteParameterivSGIX, (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func StartInstrumentsSGIX() { - C.glowStartInstrumentsSGIX(gpStartInstrumentsSGIX) -} -func StateCaptureNV(state uint32, mode uint32) { - C.glowStateCaptureNV(gpStateCaptureNV, (C.GLuint)(state), (C.GLenum)(mode)) -} -func StencilClearTagEXT(stencilTagBits int32, stencilClearTag uint32) { - C.glowStencilClearTagEXT(gpStencilClearTagEXT, (C.GLsizei)(stencilTagBits), (C.GLuint)(stencilClearTag)) -} -func StencilFillPathInstancedNV(numPaths int32, pathNameType uint32, paths unsafe.Pointer, pathBase uint32, fillMode uint32, mask uint32, transformType uint32, transformValues *float32) { - C.glowStencilFillPathInstancedNV(gpStencilFillPathInstancedNV, (C.GLsizei)(numPaths), (C.GLenum)(pathNameType), paths, (C.GLuint)(pathBase), (C.GLenum)(fillMode), (C.GLuint)(mask), (C.GLenum)(transformType), (*C.GLfloat)(unsafe.Pointer(transformValues))) -} -func StencilFillPathNV(path uint32, fillMode uint32, mask uint32) { - C.glowStencilFillPathNV(gpStencilFillPathNV, (C.GLuint)(path), (C.GLenum)(fillMode), (C.GLuint)(mask)) -} - -// set front and back function and reference value for stencil testing -func StencilFunc(xfunc uint32, ref int32, mask uint32) { - C.glowStencilFunc(gpStencilFunc, (C.GLenum)(xfunc), (C.GLint)(ref), (C.GLuint)(mask)) -} - -// set front and/or back function and reference value for stencil testing -func StencilFuncSeparate(face uint32, xfunc uint32, ref int32, mask uint32) { - C.glowStencilFuncSeparate(gpStencilFuncSeparate, (C.GLenum)(face), (C.GLenum)(xfunc), (C.GLint)(ref), (C.GLuint)(mask)) -} -func StencilFuncSeparateATI(frontfunc uint32, backfunc uint32, ref int32, mask uint32) { - C.glowStencilFuncSeparateATI(gpStencilFuncSeparateATI, (C.GLenum)(frontfunc), (C.GLenum)(backfunc), (C.GLint)(ref), (C.GLuint)(mask)) -} - -// control the front and back writing of individual bits in the stencil planes -func StencilMask(mask uint32) { - C.glowStencilMask(gpStencilMask, (C.GLuint)(mask)) -} - -// control the front and/or back writing of individual bits in the stencil planes -func StencilMaskSeparate(face uint32, mask uint32) { - C.glowStencilMaskSeparate(gpStencilMaskSeparate, (C.GLenum)(face), (C.GLuint)(mask)) -} - -// set front and back stencil test actions -func StencilOp(fail uint32, zfail uint32, zpass uint32) { - C.glowStencilOp(gpStencilOp, (C.GLenum)(fail), (C.GLenum)(zfail), (C.GLenum)(zpass)) -} - -// set front and/or back stencil test actions -func StencilOpSeparate(face uint32, sfail uint32, dpfail uint32, dppass uint32) { - C.glowStencilOpSeparate(gpStencilOpSeparate, (C.GLenum)(face), (C.GLenum)(sfail), (C.GLenum)(dpfail), (C.GLenum)(dppass)) -} -func StencilOpSeparateATI(face uint32, sfail uint32, dpfail uint32, dppass uint32) { - C.glowStencilOpSeparateATI(gpStencilOpSeparateATI, (C.GLenum)(face), (C.GLenum)(sfail), (C.GLenum)(dpfail), (C.GLenum)(dppass)) -} -func StencilOpValueAMD(face uint32, value uint32) { - C.glowStencilOpValueAMD(gpStencilOpValueAMD, (C.GLenum)(face), (C.GLuint)(value)) -} -func StencilStrokePathInstancedNV(numPaths int32, pathNameType uint32, paths unsafe.Pointer, pathBase uint32, reference int32, mask uint32, transformType uint32, transformValues *float32) { - C.glowStencilStrokePathInstancedNV(gpStencilStrokePathInstancedNV, (C.GLsizei)(numPaths), (C.GLenum)(pathNameType), paths, (C.GLuint)(pathBase), (C.GLint)(reference), (C.GLuint)(mask), (C.GLenum)(transformType), (*C.GLfloat)(unsafe.Pointer(transformValues))) -} -func StencilStrokePathNV(path uint32, reference int32, mask uint32) { - C.glowStencilStrokePathNV(gpStencilStrokePathNV, (C.GLuint)(path), (C.GLint)(reference), (C.GLuint)(mask)) -} -func StencilThenCoverFillPathInstancedNV(numPaths int32, pathNameType uint32, paths unsafe.Pointer, pathBase uint32, fillMode uint32, mask uint32, coverMode uint32, transformType uint32, transformValues *float32) { - C.glowStencilThenCoverFillPathInstancedNV(gpStencilThenCoverFillPathInstancedNV, (C.GLsizei)(numPaths), (C.GLenum)(pathNameType), paths, (C.GLuint)(pathBase), (C.GLenum)(fillMode), (C.GLuint)(mask), (C.GLenum)(coverMode), (C.GLenum)(transformType), (*C.GLfloat)(unsafe.Pointer(transformValues))) -} -func StencilThenCoverFillPathNV(path uint32, fillMode uint32, mask uint32, coverMode uint32) { - C.glowStencilThenCoverFillPathNV(gpStencilThenCoverFillPathNV, (C.GLuint)(path), (C.GLenum)(fillMode), (C.GLuint)(mask), (C.GLenum)(coverMode)) -} -func StencilThenCoverStrokePathInstancedNV(numPaths int32, pathNameType uint32, paths unsafe.Pointer, pathBase uint32, reference int32, mask uint32, coverMode uint32, transformType uint32, transformValues *float32) { - C.glowStencilThenCoverStrokePathInstancedNV(gpStencilThenCoverStrokePathInstancedNV, (C.GLsizei)(numPaths), (C.GLenum)(pathNameType), paths, (C.GLuint)(pathBase), (C.GLint)(reference), (C.GLuint)(mask), (C.GLenum)(coverMode), (C.GLenum)(transformType), (*C.GLfloat)(unsafe.Pointer(transformValues))) -} -func StencilThenCoverStrokePathNV(path uint32, reference int32, mask uint32, coverMode uint32) { - C.glowStencilThenCoverStrokePathNV(gpStencilThenCoverStrokePathNV, (C.GLuint)(path), (C.GLint)(reference), (C.GLuint)(mask), (C.GLenum)(coverMode)) -} -func StopInstrumentsSGIX(marker int32) { - C.glowStopInstrumentsSGIX(gpStopInstrumentsSGIX, (C.GLint)(marker)) -} -func StringMarkerGREMEDY(len int32, xstring unsafe.Pointer) { - C.glowStringMarkerGREMEDY(gpStringMarkerGREMEDY, (C.GLsizei)(len), xstring) -} -func SubpixelPrecisionBiasNV(xbits uint32, ybits uint32) { - C.glowSubpixelPrecisionBiasNV(gpSubpixelPrecisionBiasNV, (C.GLuint)(xbits), (C.GLuint)(ybits)) -} -func SwizzleEXT(res uint32, in uint32, outX uint32, outY uint32, outZ uint32, outW uint32) { - C.glowSwizzleEXT(gpSwizzleEXT, (C.GLuint)(res), (C.GLuint)(in), (C.GLenum)(outX), (C.GLenum)(outY), (C.GLenum)(outZ), (C.GLenum)(outW)) -} -func SyncTextureINTEL(texture uint32) { - C.glowSyncTextureINTEL(gpSyncTextureINTEL, (C.GLuint)(texture)) -} -func TagSampleBufferSGIX() { - C.glowTagSampleBufferSGIX(gpTagSampleBufferSGIX) -} -func Tangent3bEXT(tx int8, ty int8, tz int8) { - C.glowTangent3bEXT(gpTangent3bEXT, (C.GLbyte)(tx), (C.GLbyte)(ty), (C.GLbyte)(tz)) -} -func Tangent3bvEXT(v *int8) { - C.glowTangent3bvEXT(gpTangent3bvEXT, (*C.GLbyte)(unsafe.Pointer(v))) -} -func Tangent3dEXT(tx float64, ty float64, tz float64) { - C.glowTangent3dEXT(gpTangent3dEXT, (C.GLdouble)(tx), (C.GLdouble)(ty), (C.GLdouble)(tz)) -} -func Tangent3dvEXT(v *float64) { - C.glowTangent3dvEXT(gpTangent3dvEXT, (*C.GLdouble)(unsafe.Pointer(v))) -} -func Tangent3fEXT(tx float32, ty float32, tz float32) { - C.glowTangent3fEXT(gpTangent3fEXT, (C.GLfloat)(tx), (C.GLfloat)(ty), (C.GLfloat)(tz)) -} -func Tangent3fvEXT(v *float32) { - C.glowTangent3fvEXT(gpTangent3fvEXT, (*C.GLfloat)(unsafe.Pointer(v))) -} -func Tangent3iEXT(tx int32, ty int32, tz int32) { - C.glowTangent3iEXT(gpTangent3iEXT, (C.GLint)(tx), (C.GLint)(ty), (C.GLint)(tz)) -} -func Tangent3ivEXT(v *int32) { - C.glowTangent3ivEXT(gpTangent3ivEXT, (*C.GLint)(unsafe.Pointer(v))) -} -func Tangent3sEXT(tx int16, ty int16, tz int16) { - C.glowTangent3sEXT(gpTangent3sEXT, (C.GLshort)(tx), (C.GLshort)(ty), (C.GLshort)(tz)) -} -func Tangent3svEXT(v *int16) { - C.glowTangent3svEXT(gpTangent3svEXT, (*C.GLshort)(unsafe.Pointer(v))) -} -func TangentPointerEXT(xtype uint32, stride int32, pointer unsafe.Pointer) { - C.glowTangentPointerEXT(gpTangentPointerEXT, (C.GLenum)(xtype), (C.GLsizei)(stride), pointer) -} -func TbufferMask3DFX(mask uint32) { - C.glowTbufferMask3DFX(gpTbufferMask3DFX, (C.GLuint)(mask)) -} -func TessellationFactorAMD(factor float32) { - C.glowTessellationFactorAMD(gpTessellationFactorAMD, (C.GLfloat)(factor)) -} -func TessellationModeAMD(mode uint32) { - C.glowTessellationModeAMD(gpTessellationModeAMD, (C.GLenum)(mode)) -} -func TestFenceAPPLE(fence uint32) bool { - ret := C.glowTestFenceAPPLE(gpTestFenceAPPLE, (C.GLuint)(fence)) - return ret == TRUE -} -func TestFenceNV(fence uint32) bool { - ret := C.glowTestFenceNV(gpTestFenceNV, (C.GLuint)(fence)) - return ret == TRUE -} -func TestObjectAPPLE(object uint32, name uint32) bool { - ret := C.glowTestObjectAPPLE(gpTestObjectAPPLE, (C.GLenum)(object), (C.GLuint)(name)) - return ret == TRUE -} -func TexBufferARB(target uint32, internalformat uint32, buffer uint32) { - C.glowTexBufferARB(gpTexBufferARB, (C.GLenum)(target), (C.GLenum)(internalformat), (C.GLuint)(buffer)) -} -func TexBufferEXT(target uint32, internalformat uint32, buffer uint32) { - C.glowTexBufferEXT(gpTexBufferEXT, (C.GLenum)(target), (C.GLenum)(internalformat), (C.GLuint)(buffer)) -} - -// attach a range of a buffer object's data store to a buffer texture object -func TexBufferRange(target uint32, internalformat uint32, buffer uint32, offset int, size int) { - C.glowTexBufferRange(gpTexBufferRange, (C.GLenum)(target), (C.GLenum)(internalformat), (C.GLuint)(buffer), (C.GLintptr)(offset), (C.GLsizeiptr)(size)) -} -func TexBumpParameterfvATI(pname uint32, param *float32) { - C.glowTexBumpParameterfvATI(gpTexBumpParameterfvATI, (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(param))) -} -func TexBumpParameterivATI(pname uint32, param *int32) { - C.glowTexBumpParameterivATI(gpTexBumpParameterivATI, (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(param))) -} -func TexCoord1bOES(s int8) { - C.glowTexCoord1bOES(gpTexCoord1bOES, (C.GLbyte)(s)) -} -func TexCoord1bvOES(coords *int8) { - C.glowTexCoord1bvOES(gpTexCoord1bvOES, (*C.GLbyte)(unsafe.Pointer(coords))) -} -func TexCoord1d(s float64) { - C.glowTexCoord1d(gpTexCoord1d, (C.GLdouble)(s)) -} -func TexCoord1dv(v *float64) { - C.glowTexCoord1dv(gpTexCoord1dv, (*C.GLdouble)(unsafe.Pointer(v))) -} -func TexCoord1f(s float32) { - C.glowTexCoord1f(gpTexCoord1f, (C.GLfloat)(s)) -} -func TexCoord1fv(v *float32) { - C.glowTexCoord1fv(gpTexCoord1fv, (*C.GLfloat)(unsafe.Pointer(v))) -} -func TexCoord1hNV(s uint16) { - C.glowTexCoord1hNV(gpTexCoord1hNV, (C.GLhalfNV)(s)) -} -func TexCoord1hvNV(v *uint16) { - C.glowTexCoord1hvNV(gpTexCoord1hvNV, (*C.GLhalfNV)(unsafe.Pointer(v))) -} -func TexCoord1i(s int32) { - C.glowTexCoord1i(gpTexCoord1i, (C.GLint)(s)) -} -func TexCoord1iv(v *int32) { - C.glowTexCoord1iv(gpTexCoord1iv, (*C.GLint)(unsafe.Pointer(v))) -} -func TexCoord1s(s int16) { - C.glowTexCoord1s(gpTexCoord1s, (C.GLshort)(s)) -} -func TexCoord1sv(v *int16) { - C.glowTexCoord1sv(gpTexCoord1sv, (*C.GLshort)(unsafe.Pointer(v))) -} -func TexCoord1xOES(s int32) { - C.glowTexCoord1xOES(gpTexCoord1xOES, (C.GLfixed)(s)) -} -func TexCoord1xvOES(coords *int32) { - C.glowTexCoord1xvOES(gpTexCoord1xvOES, (*C.GLfixed)(unsafe.Pointer(coords))) -} -func TexCoord2bOES(s int8, t int8) { - C.glowTexCoord2bOES(gpTexCoord2bOES, (C.GLbyte)(s), (C.GLbyte)(t)) -} -func TexCoord2bvOES(coords *int8) { - C.glowTexCoord2bvOES(gpTexCoord2bvOES, (*C.GLbyte)(unsafe.Pointer(coords))) -} -func TexCoord2d(s float64, t float64) { - C.glowTexCoord2d(gpTexCoord2d, (C.GLdouble)(s), (C.GLdouble)(t)) -} -func TexCoord2dv(v *float64) { - C.glowTexCoord2dv(gpTexCoord2dv, (*C.GLdouble)(unsafe.Pointer(v))) -} -func TexCoord2f(s float32, t float32) { - C.glowTexCoord2f(gpTexCoord2f, (C.GLfloat)(s), (C.GLfloat)(t)) -} -func TexCoord2fColor3fVertex3fSUN(s float32, t float32, r float32, g float32, b float32, x float32, y float32, z float32) { - C.glowTexCoord2fColor3fVertex3fSUN(gpTexCoord2fColor3fVertex3fSUN, (C.GLfloat)(s), (C.GLfloat)(t), (C.GLfloat)(r), (C.GLfloat)(g), (C.GLfloat)(b), (C.GLfloat)(x), (C.GLfloat)(y), (C.GLfloat)(z)) -} -func TexCoord2fColor3fVertex3fvSUN(tc *float32, c *float32, v *float32) { - C.glowTexCoord2fColor3fVertex3fvSUN(gpTexCoord2fColor3fVertex3fvSUN, (*C.GLfloat)(unsafe.Pointer(tc)), (*C.GLfloat)(unsafe.Pointer(c)), (*C.GLfloat)(unsafe.Pointer(v))) -} -func TexCoord2fColor4fNormal3fVertex3fSUN(s float32, t float32, r float32, g float32, b float32, a float32, nx float32, ny float32, nz float32, x float32, y float32, z float32) { - C.glowTexCoord2fColor4fNormal3fVertex3fSUN(gpTexCoord2fColor4fNormal3fVertex3fSUN, (C.GLfloat)(s), (C.GLfloat)(t), (C.GLfloat)(r), (C.GLfloat)(g), (C.GLfloat)(b), (C.GLfloat)(a), (C.GLfloat)(nx), (C.GLfloat)(ny), (C.GLfloat)(nz), (C.GLfloat)(x), (C.GLfloat)(y), (C.GLfloat)(z)) -} -func TexCoord2fColor4fNormal3fVertex3fvSUN(tc *float32, c *float32, n *float32, v *float32) { - C.glowTexCoord2fColor4fNormal3fVertex3fvSUN(gpTexCoord2fColor4fNormal3fVertex3fvSUN, (*C.GLfloat)(unsafe.Pointer(tc)), (*C.GLfloat)(unsafe.Pointer(c)), (*C.GLfloat)(unsafe.Pointer(n)), (*C.GLfloat)(unsafe.Pointer(v))) -} -func TexCoord2fColor4ubVertex3fSUN(s float32, t float32, r uint8, g uint8, b uint8, a uint8, x float32, y float32, z float32) { - C.glowTexCoord2fColor4ubVertex3fSUN(gpTexCoord2fColor4ubVertex3fSUN, (C.GLfloat)(s), (C.GLfloat)(t), (C.GLubyte)(r), (C.GLubyte)(g), (C.GLubyte)(b), (C.GLubyte)(a), (C.GLfloat)(x), (C.GLfloat)(y), (C.GLfloat)(z)) -} -func TexCoord2fColor4ubVertex3fvSUN(tc *float32, c *uint8, v *float32) { - C.glowTexCoord2fColor4ubVertex3fvSUN(gpTexCoord2fColor4ubVertex3fvSUN, (*C.GLfloat)(unsafe.Pointer(tc)), (*C.GLubyte)(unsafe.Pointer(c)), (*C.GLfloat)(unsafe.Pointer(v))) -} -func TexCoord2fNormal3fVertex3fSUN(s float32, t float32, nx float32, ny float32, nz float32, x float32, y float32, z float32) { - C.glowTexCoord2fNormal3fVertex3fSUN(gpTexCoord2fNormal3fVertex3fSUN, (C.GLfloat)(s), (C.GLfloat)(t), (C.GLfloat)(nx), (C.GLfloat)(ny), (C.GLfloat)(nz), (C.GLfloat)(x), (C.GLfloat)(y), (C.GLfloat)(z)) -} -func TexCoord2fNormal3fVertex3fvSUN(tc *float32, n *float32, v *float32) { - C.glowTexCoord2fNormal3fVertex3fvSUN(gpTexCoord2fNormal3fVertex3fvSUN, (*C.GLfloat)(unsafe.Pointer(tc)), (*C.GLfloat)(unsafe.Pointer(n)), (*C.GLfloat)(unsafe.Pointer(v))) -} -func TexCoord2fVertex3fSUN(s float32, t float32, x float32, y float32, z float32) { - C.glowTexCoord2fVertex3fSUN(gpTexCoord2fVertex3fSUN, (C.GLfloat)(s), (C.GLfloat)(t), (C.GLfloat)(x), (C.GLfloat)(y), (C.GLfloat)(z)) -} -func TexCoord2fVertex3fvSUN(tc *float32, v *float32) { - C.glowTexCoord2fVertex3fvSUN(gpTexCoord2fVertex3fvSUN, (*C.GLfloat)(unsafe.Pointer(tc)), (*C.GLfloat)(unsafe.Pointer(v))) -} -func TexCoord2fv(v *float32) { - C.glowTexCoord2fv(gpTexCoord2fv, (*C.GLfloat)(unsafe.Pointer(v))) -} -func TexCoord2hNV(s uint16, t uint16) { - C.glowTexCoord2hNV(gpTexCoord2hNV, (C.GLhalfNV)(s), (C.GLhalfNV)(t)) -} -func TexCoord2hvNV(v *uint16) { - C.glowTexCoord2hvNV(gpTexCoord2hvNV, (*C.GLhalfNV)(unsafe.Pointer(v))) -} -func TexCoord2i(s int32, t int32) { - C.glowTexCoord2i(gpTexCoord2i, (C.GLint)(s), (C.GLint)(t)) -} -func TexCoord2iv(v *int32) { - C.glowTexCoord2iv(gpTexCoord2iv, (*C.GLint)(unsafe.Pointer(v))) -} -func TexCoord2s(s int16, t int16) { - C.glowTexCoord2s(gpTexCoord2s, (C.GLshort)(s), (C.GLshort)(t)) -} -func TexCoord2sv(v *int16) { - C.glowTexCoord2sv(gpTexCoord2sv, (*C.GLshort)(unsafe.Pointer(v))) -} -func TexCoord2xOES(s int32, t int32) { - C.glowTexCoord2xOES(gpTexCoord2xOES, (C.GLfixed)(s), (C.GLfixed)(t)) -} -func TexCoord2xvOES(coords *int32) { - C.glowTexCoord2xvOES(gpTexCoord2xvOES, (*C.GLfixed)(unsafe.Pointer(coords))) -} -func TexCoord3bOES(s int8, t int8, r int8) { - C.glowTexCoord3bOES(gpTexCoord3bOES, (C.GLbyte)(s), (C.GLbyte)(t), (C.GLbyte)(r)) -} -func TexCoord3bvOES(coords *int8) { - C.glowTexCoord3bvOES(gpTexCoord3bvOES, (*C.GLbyte)(unsafe.Pointer(coords))) -} -func TexCoord3d(s float64, t float64, r float64) { - C.glowTexCoord3d(gpTexCoord3d, (C.GLdouble)(s), (C.GLdouble)(t), (C.GLdouble)(r)) -} -func TexCoord3dv(v *float64) { - C.glowTexCoord3dv(gpTexCoord3dv, (*C.GLdouble)(unsafe.Pointer(v))) -} -func TexCoord3f(s float32, t float32, r float32) { - C.glowTexCoord3f(gpTexCoord3f, (C.GLfloat)(s), (C.GLfloat)(t), (C.GLfloat)(r)) -} -func TexCoord3fv(v *float32) { - C.glowTexCoord3fv(gpTexCoord3fv, (*C.GLfloat)(unsafe.Pointer(v))) -} -func TexCoord3hNV(s uint16, t uint16, r uint16) { - C.glowTexCoord3hNV(gpTexCoord3hNV, (C.GLhalfNV)(s), (C.GLhalfNV)(t), (C.GLhalfNV)(r)) -} -func TexCoord3hvNV(v *uint16) { - C.glowTexCoord3hvNV(gpTexCoord3hvNV, (*C.GLhalfNV)(unsafe.Pointer(v))) -} -func TexCoord3i(s int32, t int32, r int32) { - C.glowTexCoord3i(gpTexCoord3i, (C.GLint)(s), (C.GLint)(t), (C.GLint)(r)) -} -func TexCoord3iv(v *int32) { - C.glowTexCoord3iv(gpTexCoord3iv, (*C.GLint)(unsafe.Pointer(v))) -} -func TexCoord3s(s int16, t int16, r int16) { - C.glowTexCoord3s(gpTexCoord3s, (C.GLshort)(s), (C.GLshort)(t), (C.GLshort)(r)) -} -func TexCoord3sv(v *int16) { - C.glowTexCoord3sv(gpTexCoord3sv, (*C.GLshort)(unsafe.Pointer(v))) -} -func TexCoord3xOES(s int32, t int32, r int32) { - C.glowTexCoord3xOES(gpTexCoord3xOES, (C.GLfixed)(s), (C.GLfixed)(t), (C.GLfixed)(r)) -} -func TexCoord3xvOES(coords *int32) { - C.glowTexCoord3xvOES(gpTexCoord3xvOES, (*C.GLfixed)(unsafe.Pointer(coords))) -} -func TexCoord4bOES(s int8, t int8, r int8, q int8) { - C.glowTexCoord4bOES(gpTexCoord4bOES, (C.GLbyte)(s), (C.GLbyte)(t), (C.GLbyte)(r), (C.GLbyte)(q)) -} -func TexCoord4bvOES(coords *int8) { - C.glowTexCoord4bvOES(gpTexCoord4bvOES, (*C.GLbyte)(unsafe.Pointer(coords))) -} -func TexCoord4d(s float64, t float64, r float64, q float64) { - C.glowTexCoord4d(gpTexCoord4d, (C.GLdouble)(s), (C.GLdouble)(t), (C.GLdouble)(r), (C.GLdouble)(q)) -} -func TexCoord4dv(v *float64) { - C.glowTexCoord4dv(gpTexCoord4dv, (*C.GLdouble)(unsafe.Pointer(v))) -} -func TexCoord4f(s float32, t float32, r float32, q float32) { - C.glowTexCoord4f(gpTexCoord4f, (C.GLfloat)(s), (C.GLfloat)(t), (C.GLfloat)(r), (C.GLfloat)(q)) -} -func TexCoord4fColor4fNormal3fVertex4fSUN(s float32, t float32, p float32, q float32, r float32, g float32, b float32, a float32, nx float32, ny float32, nz float32, x float32, y float32, z float32, w float32) { - C.glowTexCoord4fColor4fNormal3fVertex4fSUN(gpTexCoord4fColor4fNormal3fVertex4fSUN, (C.GLfloat)(s), (C.GLfloat)(t), (C.GLfloat)(p), (C.GLfloat)(q), (C.GLfloat)(r), (C.GLfloat)(g), (C.GLfloat)(b), (C.GLfloat)(a), (C.GLfloat)(nx), (C.GLfloat)(ny), (C.GLfloat)(nz), (C.GLfloat)(x), (C.GLfloat)(y), (C.GLfloat)(z), (C.GLfloat)(w)) -} -func TexCoord4fColor4fNormal3fVertex4fvSUN(tc *float32, c *float32, n *float32, v *float32) { - C.glowTexCoord4fColor4fNormal3fVertex4fvSUN(gpTexCoord4fColor4fNormal3fVertex4fvSUN, (*C.GLfloat)(unsafe.Pointer(tc)), (*C.GLfloat)(unsafe.Pointer(c)), (*C.GLfloat)(unsafe.Pointer(n)), (*C.GLfloat)(unsafe.Pointer(v))) -} -func TexCoord4fVertex4fSUN(s float32, t float32, p float32, q float32, x float32, y float32, z float32, w float32) { - C.glowTexCoord4fVertex4fSUN(gpTexCoord4fVertex4fSUN, (C.GLfloat)(s), (C.GLfloat)(t), (C.GLfloat)(p), (C.GLfloat)(q), (C.GLfloat)(x), (C.GLfloat)(y), (C.GLfloat)(z), (C.GLfloat)(w)) -} -func TexCoord4fVertex4fvSUN(tc *float32, v *float32) { - C.glowTexCoord4fVertex4fvSUN(gpTexCoord4fVertex4fvSUN, (*C.GLfloat)(unsafe.Pointer(tc)), (*C.GLfloat)(unsafe.Pointer(v))) -} -func TexCoord4fv(v *float32) { - C.glowTexCoord4fv(gpTexCoord4fv, (*C.GLfloat)(unsafe.Pointer(v))) -} -func TexCoord4hNV(s uint16, t uint16, r uint16, q uint16) { - C.glowTexCoord4hNV(gpTexCoord4hNV, (C.GLhalfNV)(s), (C.GLhalfNV)(t), (C.GLhalfNV)(r), (C.GLhalfNV)(q)) -} -func TexCoord4hvNV(v *uint16) { - C.glowTexCoord4hvNV(gpTexCoord4hvNV, (*C.GLhalfNV)(unsafe.Pointer(v))) -} -func TexCoord4i(s int32, t int32, r int32, q int32) { - C.glowTexCoord4i(gpTexCoord4i, (C.GLint)(s), (C.GLint)(t), (C.GLint)(r), (C.GLint)(q)) -} -func TexCoord4iv(v *int32) { - C.glowTexCoord4iv(gpTexCoord4iv, (*C.GLint)(unsafe.Pointer(v))) -} -func TexCoord4s(s int16, t int16, r int16, q int16) { - C.glowTexCoord4s(gpTexCoord4s, (C.GLshort)(s), (C.GLshort)(t), (C.GLshort)(r), (C.GLshort)(q)) -} -func TexCoord4sv(v *int16) { - C.glowTexCoord4sv(gpTexCoord4sv, (*C.GLshort)(unsafe.Pointer(v))) -} -func TexCoord4xOES(s int32, t int32, r int32, q int32) { - C.glowTexCoord4xOES(gpTexCoord4xOES, (C.GLfixed)(s), (C.GLfixed)(t), (C.GLfixed)(r), (C.GLfixed)(q)) -} -func TexCoord4xvOES(coords *int32) { - C.glowTexCoord4xvOES(gpTexCoord4xvOES, (*C.GLfixed)(unsafe.Pointer(coords))) -} -func TexCoordFormatNV(size int32, xtype uint32, stride int32) { - C.glowTexCoordFormatNV(gpTexCoordFormatNV, (C.GLint)(size), (C.GLenum)(xtype), (C.GLsizei)(stride)) -} - -// define an array of texture coordinates -func TexCoordPointer(size int32, xtype uint32, stride int32, pointer unsafe.Pointer) { - C.glowTexCoordPointer(gpTexCoordPointer, (C.GLint)(size), (C.GLenum)(xtype), (C.GLsizei)(stride), pointer) -} -func TexCoordPointerEXT(size int32, xtype uint32, stride int32, count int32, pointer unsafe.Pointer) { - C.glowTexCoordPointerEXT(gpTexCoordPointerEXT, (C.GLint)(size), (C.GLenum)(xtype), (C.GLsizei)(stride), (C.GLsizei)(count), pointer) -} -func TexCoordPointerListIBM(size int32, xtype uint32, stride int32, pointer *unsafe.Pointer, ptrstride int32) { - C.glowTexCoordPointerListIBM(gpTexCoordPointerListIBM, (C.GLint)(size), (C.GLenum)(xtype), (C.GLint)(stride), pointer, (C.GLint)(ptrstride)) -} -func TexCoordPointervINTEL(size int32, xtype uint32, pointer *unsafe.Pointer) { - C.glowTexCoordPointervINTEL(gpTexCoordPointervINTEL, (C.GLint)(size), (C.GLenum)(xtype), pointer) -} -func TexEnvf(target uint32, pname uint32, param float32) { - C.glowTexEnvf(gpTexEnvf, (C.GLenum)(target), (C.GLenum)(pname), (C.GLfloat)(param)) -} -func TexEnvfv(target uint32, pname uint32, params *float32) { - C.glowTexEnvfv(gpTexEnvfv, (C.GLenum)(target), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func TexEnvi(target uint32, pname uint32, param int32) { - C.glowTexEnvi(gpTexEnvi, (C.GLenum)(target), (C.GLenum)(pname), (C.GLint)(param)) -} -func TexEnviv(target uint32, pname uint32, params *int32) { - C.glowTexEnviv(gpTexEnviv, (C.GLenum)(target), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func TexEnvxOES(target uint32, pname uint32, param int32) { - C.glowTexEnvxOES(gpTexEnvxOES, (C.GLenum)(target), (C.GLenum)(pname), (C.GLfixed)(param)) -} -func TexEnvxvOES(target uint32, pname uint32, params *int32) { - C.glowTexEnvxvOES(gpTexEnvxvOES, (C.GLenum)(target), (C.GLenum)(pname), (*C.GLfixed)(unsafe.Pointer(params))) -} -func TexFilterFuncSGIS(target uint32, filter uint32, n int32, weights *float32) { - C.glowTexFilterFuncSGIS(gpTexFilterFuncSGIS, (C.GLenum)(target), (C.GLenum)(filter), (C.GLsizei)(n), (*C.GLfloat)(unsafe.Pointer(weights))) -} -func TexGend(coord uint32, pname uint32, param float64) { - C.glowTexGend(gpTexGend, (C.GLenum)(coord), (C.GLenum)(pname), (C.GLdouble)(param)) -} -func TexGendv(coord uint32, pname uint32, params *float64) { - C.glowTexGendv(gpTexGendv, (C.GLenum)(coord), (C.GLenum)(pname), (*C.GLdouble)(unsafe.Pointer(params))) -} -func TexGenf(coord uint32, pname uint32, param float32) { - C.glowTexGenf(gpTexGenf, (C.GLenum)(coord), (C.GLenum)(pname), (C.GLfloat)(param)) -} -func TexGenfv(coord uint32, pname uint32, params *float32) { - C.glowTexGenfv(gpTexGenfv, (C.GLenum)(coord), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func TexGeni(coord uint32, pname uint32, param int32) { - C.glowTexGeni(gpTexGeni, (C.GLenum)(coord), (C.GLenum)(pname), (C.GLint)(param)) -} -func TexGeniv(coord uint32, pname uint32, params *int32) { - C.glowTexGeniv(gpTexGeniv, (C.GLenum)(coord), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func TexGenxOES(coord uint32, pname uint32, param int32) { - C.glowTexGenxOES(gpTexGenxOES, (C.GLenum)(coord), (C.GLenum)(pname), (C.GLfixed)(param)) -} -func TexGenxvOES(coord uint32, pname uint32, params *int32) { - C.glowTexGenxvOES(gpTexGenxvOES, (C.GLenum)(coord), (C.GLenum)(pname), (*C.GLfixed)(unsafe.Pointer(params))) -} - -// specify a one-dimensional texture image -func TexImage1D(target uint32, level int32, internalformat int32, width int32, border int32, format uint32, xtype uint32, pixels unsafe.Pointer) { - C.glowTexImage1D(gpTexImage1D, (C.GLenum)(target), (C.GLint)(level), (C.GLint)(internalformat), (C.GLsizei)(width), (C.GLint)(border), (C.GLenum)(format), (C.GLenum)(xtype), pixels) -} - -// specify a two-dimensional texture image func TexImage2D(target uint32, level int32, internalformat int32, width int32, height int32, border int32, format uint32, xtype uint32, pixels unsafe.Pointer) { C.glowTexImage2D(gpTexImage2D, (C.GLenum)(target), (C.GLint)(level), (C.GLint)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLint)(border), (C.GLenum)(format), (C.GLenum)(xtype), pixels) } -// establish the data storage, format, dimensions, and number of samples of a multisample texture's image -func TexImage2DMultisample(target uint32, samples int32, internalformat uint32, width int32, height int32, fixedsamplelocations bool) { - C.glowTexImage2DMultisample(gpTexImage2DMultisample, (C.GLenum)(target), (C.GLsizei)(samples), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLboolean)(boolToInt(fixedsamplelocations))) -} -func TexImage2DMultisampleCoverageNV(target uint32, coverageSamples int32, colorSamples int32, internalFormat int32, width int32, height int32, fixedSampleLocations bool) { - C.glowTexImage2DMultisampleCoverageNV(gpTexImage2DMultisampleCoverageNV, (C.GLenum)(target), (C.GLsizei)(coverageSamples), (C.GLsizei)(colorSamples), (C.GLint)(internalFormat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLboolean)(boolToInt(fixedSampleLocations))) -} - -// specify a three-dimensional texture image -func TexImage3D(target uint32, level int32, internalformat int32, width int32, height int32, depth int32, border int32, format uint32, xtype uint32, pixels unsafe.Pointer) { - C.glowTexImage3D(gpTexImage3D, (C.GLenum)(target), (C.GLint)(level), (C.GLint)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLsizei)(depth), (C.GLint)(border), (C.GLenum)(format), (C.GLenum)(xtype), pixels) -} -func TexImage3DEXT(target uint32, level int32, internalformat uint32, width int32, height int32, depth int32, border int32, format uint32, xtype uint32, pixels unsafe.Pointer) { - C.glowTexImage3DEXT(gpTexImage3DEXT, (C.GLenum)(target), (C.GLint)(level), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLsizei)(depth), (C.GLint)(border), (C.GLenum)(format), (C.GLenum)(xtype), pixels) -} - -// establish the data storage, format, dimensions, and number of samples of a multisample texture's image -func TexImage3DMultisample(target uint32, samples int32, internalformat uint32, width int32, height int32, depth int32, fixedsamplelocations bool) { - C.glowTexImage3DMultisample(gpTexImage3DMultisample, (C.GLenum)(target), (C.GLsizei)(samples), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLsizei)(depth), (C.GLboolean)(boolToInt(fixedsamplelocations))) -} -func TexImage3DMultisampleCoverageNV(target uint32, coverageSamples int32, colorSamples int32, internalFormat int32, width int32, height int32, depth int32, fixedSampleLocations bool) { - C.glowTexImage3DMultisampleCoverageNV(gpTexImage3DMultisampleCoverageNV, (C.GLenum)(target), (C.GLsizei)(coverageSamples), (C.GLsizei)(colorSamples), (C.GLint)(internalFormat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLsizei)(depth), (C.GLboolean)(boolToInt(fixedSampleLocations))) -} -func TexImage4DSGIS(target uint32, level int32, internalformat uint32, width int32, height int32, depth int32, size4d int32, border int32, format uint32, xtype uint32, pixels unsafe.Pointer) { - C.glowTexImage4DSGIS(gpTexImage4DSGIS, (C.GLenum)(target), (C.GLint)(level), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLsizei)(depth), (C.GLsizei)(size4d), (C.GLint)(border), (C.GLenum)(format), (C.GLenum)(xtype), pixels) -} -func TexPageCommitmentARB(target uint32, level int32, xoffset int32, yoffset int32, zoffset int32, width int32, height int32, depth int32, commit bool) { - C.glowTexPageCommitmentARB(gpTexPageCommitmentARB, (C.GLenum)(target), (C.GLint)(level), (C.GLint)(xoffset), (C.GLint)(yoffset), (C.GLint)(zoffset), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLsizei)(depth), (C.GLboolean)(boolToInt(commit))) -} -func TexParameterIivEXT(target uint32, pname uint32, params *int32) { - C.glowTexParameterIivEXT(gpTexParameterIivEXT, (C.GLenum)(target), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func TexParameterIuivEXT(target uint32, pname uint32, params *uint32) { - C.glowTexParameterIuivEXT(gpTexParameterIuivEXT, (C.GLenum)(target), (C.GLenum)(pname), (*C.GLuint)(unsafe.Pointer(params))) -} -func TexParameterf(target uint32, pname uint32, param float32) { - C.glowTexParameterf(gpTexParameterf, (C.GLenum)(target), (C.GLenum)(pname), (C.GLfloat)(param)) -} -func TexParameterfv(target uint32, pname uint32, params *float32) { - C.glowTexParameterfv(gpTexParameterfv, (C.GLenum)(target), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} func TexParameteri(target uint32, pname uint32, param int32) { C.glowTexParameteri(gpTexParameteri, (C.GLenum)(target), (C.GLenum)(pname), (C.GLint)(param)) } -func TexParameteriv(target uint32, pname uint32, params *int32) { - C.glowTexParameteriv(gpTexParameteriv, (C.GLenum)(target), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func TexParameterxOES(target uint32, pname uint32, param int32) { - C.glowTexParameterxOES(gpTexParameterxOES, (C.GLenum)(target), (C.GLenum)(pname), (C.GLfixed)(param)) -} -func TexParameterxvOES(target uint32, pname uint32, params *int32) { - C.glowTexParameterxvOES(gpTexParameterxvOES, (C.GLenum)(target), (C.GLenum)(pname), (*C.GLfixed)(unsafe.Pointer(params))) -} -func TexRenderbufferNV(target uint32, renderbuffer uint32) { - C.glowTexRenderbufferNV(gpTexRenderbufferNV, (C.GLenum)(target), (C.GLuint)(renderbuffer)) -} -// simultaneously specify storage for all levels of a one-dimensional texture -func TexStorage1D(target uint32, levels int32, internalformat uint32, width int32) { - C.glowTexStorage1D(gpTexStorage1D, (C.GLenum)(target), (C.GLsizei)(levels), (C.GLenum)(internalformat), (C.GLsizei)(width)) -} - -// simultaneously specify storage for all levels of a two-dimensional or one-dimensional array texture -func TexStorage2D(target uint32, levels int32, internalformat uint32, width int32, height int32) { - C.glowTexStorage2D(gpTexStorage2D, (C.GLenum)(target), (C.GLsizei)(levels), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height)) -} - -// specify storage for a two-dimensional multisample texture -func TexStorage2DMultisample(target uint32, samples int32, internalformat uint32, width int32, height int32, fixedsamplelocations bool) { - C.glowTexStorage2DMultisample(gpTexStorage2DMultisample, (C.GLenum)(target), (C.GLsizei)(samples), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLboolean)(boolToInt(fixedsamplelocations))) -} - -// simultaneously specify storage for all levels of a three-dimensional, two-dimensional array or cube-map array texture -func TexStorage3D(target uint32, levels int32, internalformat uint32, width int32, height int32, depth int32) { - C.glowTexStorage3D(gpTexStorage3D, (C.GLenum)(target), (C.GLsizei)(levels), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLsizei)(depth)) -} - -// specify storage for a two-dimensional multisample array texture -func TexStorage3DMultisample(target uint32, samples int32, internalformat uint32, width int32, height int32, depth int32, fixedsamplelocations bool) { - C.glowTexStorage3DMultisample(gpTexStorage3DMultisample, (C.GLenum)(target), (C.GLsizei)(samples), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLsizei)(depth), (C.GLboolean)(boolToInt(fixedsamplelocations))) -} -func TexStorageMem1DEXT(target uint32, levels int32, internalFormat uint32, width int32, memory uint32, offset uint64) { - C.glowTexStorageMem1DEXT(gpTexStorageMem1DEXT, (C.GLenum)(target), (C.GLsizei)(levels), (C.GLenum)(internalFormat), (C.GLsizei)(width), (C.GLuint)(memory), (C.GLuint64)(offset)) -} -func TexStorageMem2DEXT(target uint32, levels int32, internalFormat uint32, width int32, height int32, memory uint32, offset uint64) { - C.glowTexStorageMem2DEXT(gpTexStorageMem2DEXT, (C.GLenum)(target), (C.GLsizei)(levels), (C.GLenum)(internalFormat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLuint)(memory), (C.GLuint64)(offset)) -} -func TexStorageMem2DMultisampleEXT(target uint32, samples int32, internalFormat uint32, width int32, height int32, fixedSampleLocations bool, memory uint32, offset uint64) { - C.glowTexStorageMem2DMultisampleEXT(gpTexStorageMem2DMultisampleEXT, (C.GLenum)(target), (C.GLsizei)(samples), (C.GLenum)(internalFormat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLboolean)(boolToInt(fixedSampleLocations)), (C.GLuint)(memory), (C.GLuint64)(offset)) -} -func TexStorageMem3DEXT(target uint32, levels int32, internalFormat uint32, width int32, height int32, depth int32, memory uint32, offset uint64) { - C.glowTexStorageMem3DEXT(gpTexStorageMem3DEXT, (C.GLenum)(target), (C.GLsizei)(levels), (C.GLenum)(internalFormat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLsizei)(depth), (C.GLuint)(memory), (C.GLuint64)(offset)) -} -func TexStorageMem3DMultisampleEXT(target uint32, samples int32, internalFormat uint32, width int32, height int32, depth int32, fixedSampleLocations bool, memory uint32, offset uint64) { - C.glowTexStorageMem3DMultisampleEXT(gpTexStorageMem3DMultisampleEXT, (C.GLenum)(target), (C.GLsizei)(samples), (C.GLenum)(internalFormat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLsizei)(depth), (C.GLboolean)(boolToInt(fixedSampleLocations)), (C.GLuint)(memory), (C.GLuint64)(offset)) -} -func TexStorageSparseAMD(target uint32, internalFormat uint32, width int32, height int32, depth int32, layers int32, flags uint32) { - C.glowTexStorageSparseAMD(gpTexStorageSparseAMD, (C.GLenum)(target), (C.GLenum)(internalFormat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLsizei)(depth), (C.GLsizei)(layers), (C.GLbitfield)(flags)) -} - -// specify a one-dimensional texture subimage -func TexSubImage1D(target uint32, level int32, xoffset int32, width int32, format uint32, xtype uint32, pixels unsafe.Pointer) { - C.glowTexSubImage1D(gpTexSubImage1D, (C.GLenum)(target), (C.GLint)(level), (C.GLint)(xoffset), (C.GLsizei)(width), (C.GLenum)(format), (C.GLenum)(xtype), pixels) -} -func TexSubImage1DEXT(target uint32, level int32, xoffset int32, width int32, format uint32, xtype uint32, pixels unsafe.Pointer) { - C.glowTexSubImage1DEXT(gpTexSubImage1DEXT, (C.GLenum)(target), (C.GLint)(level), (C.GLint)(xoffset), (C.GLsizei)(width), (C.GLenum)(format), (C.GLenum)(xtype), pixels) -} - -// specify a two-dimensional texture subimage func TexSubImage2D(target uint32, level int32, xoffset int32, yoffset int32, width int32, height int32, format uint32, xtype uint32, pixels unsafe.Pointer) { C.glowTexSubImage2D(gpTexSubImage2D, (C.GLenum)(target), (C.GLint)(level), (C.GLint)(xoffset), (C.GLint)(yoffset), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLenum)(format), (C.GLenum)(xtype), pixels) } -func TexSubImage2DEXT(target uint32, level int32, xoffset int32, yoffset int32, width int32, height int32, format uint32, xtype uint32, pixels unsafe.Pointer) { - C.glowTexSubImage2DEXT(gpTexSubImage2DEXT, (C.GLenum)(target), (C.GLint)(level), (C.GLint)(xoffset), (C.GLint)(yoffset), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLenum)(format), (C.GLenum)(xtype), pixels) -} -// specify a three-dimensional texture subimage -func TexSubImage3D(target uint32, level int32, xoffset int32, yoffset int32, zoffset int32, width int32, height int32, depth int32, format uint32, xtype uint32, pixels unsafe.Pointer) { - C.glowTexSubImage3D(gpTexSubImage3D, (C.GLenum)(target), (C.GLint)(level), (C.GLint)(xoffset), (C.GLint)(yoffset), (C.GLint)(zoffset), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLsizei)(depth), (C.GLenum)(format), (C.GLenum)(xtype), pixels) -} -func TexSubImage3DEXT(target uint32, level int32, xoffset int32, yoffset int32, zoffset int32, width int32, height int32, depth int32, format uint32, xtype uint32, pixels unsafe.Pointer) { - C.glowTexSubImage3DEXT(gpTexSubImage3DEXT, (C.GLenum)(target), (C.GLint)(level), (C.GLint)(xoffset), (C.GLint)(yoffset), (C.GLint)(zoffset), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLsizei)(depth), (C.GLenum)(format), (C.GLenum)(xtype), pixels) -} -func TexSubImage4DSGIS(target uint32, level int32, xoffset int32, yoffset int32, zoffset int32, woffset int32, width int32, height int32, depth int32, size4d int32, format uint32, xtype uint32, pixels unsafe.Pointer) { - C.glowTexSubImage4DSGIS(gpTexSubImage4DSGIS, (C.GLenum)(target), (C.GLint)(level), (C.GLint)(xoffset), (C.GLint)(yoffset), (C.GLint)(zoffset), (C.GLint)(woffset), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLsizei)(depth), (C.GLsizei)(size4d), (C.GLenum)(format), (C.GLenum)(xtype), pixels) -} - -// controls the ordering of reads and writes to rendered fragments across drawing commands -func TextureBarrier() { - C.glowTextureBarrier(gpTextureBarrier) -} -func TextureBarrierNV() { - C.glowTextureBarrierNV(gpTextureBarrierNV) -} - -// attach a buffer object's data store to a buffer texture object -func TextureBuffer(texture uint32, internalformat uint32, buffer uint32) { - C.glowTextureBuffer(gpTextureBuffer, (C.GLuint)(texture), (C.GLenum)(internalformat), (C.GLuint)(buffer)) -} -func TextureBufferEXT(texture uint32, target uint32, internalformat uint32, buffer uint32) { - C.glowTextureBufferEXT(gpTextureBufferEXT, (C.GLuint)(texture), (C.GLenum)(target), (C.GLenum)(internalformat), (C.GLuint)(buffer)) -} - -// attach a range of a buffer object's data store to a buffer texture object -func TextureBufferRange(texture uint32, internalformat uint32, buffer uint32, offset int, size int) { - C.glowTextureBufferRange(gpTextureBufferRange, (C.GLuint)(texture), (C.GLenum)(internalformat), (C.GLuint)(buffer), (C.GLintptr)(offset), (C.GLsizeiptr)(size)) -} -func TextureBufferRangeEXT(texture uint32, target uint32, internalformat uint32, buffer uint32, offset int, size int) { - C.glowTextureBufferRangeEXT(gpTextureBufferRangeEXT, (C.GLuint)(texture), (C.GLenum)(target), (C.GLenum)(internalformat), (C.GLuint)(buffer), (C.GLintptr)(offset), (C.GLsizeiptr)(size)) -} -func TextureColorMaskSGIS(red bool, green bool, blue bool, alpha bool) { - C.glowTextureColorMaskSGIS(gpTextureColorMaskSGIS, (C.GLboolean)(boolToInt(red)), (C.GLboolean)(boolToInt(green)), (C.GLboolean)(boolToInt(blue)), (C.GLboolean)(boolToInt(alpha))) -} -func TextureImage1DEXT(texture uint32, target uint32, level int32, internalformat int32, width int32, border int32, format uint32, xtype uint32, pixels unsafe.Pointer) { - C.glowTextureImage1DEXT(gpTextureImage1DEXT, (C.GLuint)(texture), (C.GLenum)(target), (C.GLint)(level), (C.GLint)(internalformat), (C.GLsizei)(width), (C.GLint)(border), (C.GLenum)(format), (C.GLenum)(xtype), pixels) -} -func TextureImage2DEXT(texture uint32, target uint32, level int32, internalformat int32, width int32, height int32, border int32, format uint32, xtype uint32, pixels unsafe.Pointer) { - C.glowTextureImage2DEXT(gpTextureImage2DEXT, (C.GLuint)(texture), (C.GLenum)(target), (C.GLint)(level), (C.GLint)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLint)(border), (C.GLenum)(format), (C.GLenum)(xtype), pixels) -} -func TextureImage2DMultisampleCoverageNV(texture uint32, target uint32, coverageSamples int32, colorSamples int32, internalFormat int32, width int32, height int32, fixedSampleLocations bool) { - C.glowTextureImage2DMultisampleCoverageNV(gpTextureImage2DMultisampleCoverageNV, (C.GLuint)(texture), (C.GLenum)(target), (C.GLsizei)(coverageSamples), (C.GLsizei)(colorSamples), (C.GLint)(internalFormat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLboolean)(boolToInt(fixedSampleLocations))) -} -func TextureImage2DMultisampleNV(texture uint32, target uint32, samples int32, internalFormat int32, width int32, height int32, fixedSampleLocations bool) { - C.glowTextureImage2DMultisampleNV(gpTextureImage2DMultisampleNV, (C.GLuint)(texture), (C.GLenum)(target), (C.GLsizei)(samples), (C.GLint)(internalFormat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLboolean)(boolToInt(fixedSampleLocations))) -} -func TextureImage3DEXT(texture uint32, target uint32, level int32, internalformat int32, width int32, height int32, depth int32, border int32, format uint32, xtype uint32, pixels unsafe.Pointer) { - C.glowTextureImage3DEXT(gpTextureImage3DEXT, (C.GLuint)(texture), (C.GLenum)(target), (C.GLint)(level), (C.GLint)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLsizei)(depth), (C.GLint)(border), (C.GLenum)(format), (C.GLenum)(xtype), pixels) -} -func TextureImage3DMultisampleCoverageNV(texture uint32, target uint32, coverageSamples int32, colorSamples int32, internalFormat int32, width int32, height int32, depth int32, fixedSampleLocations bool) { - C.glowTextureImage3DMultisampleCoverageNV(gpTextureImage3DMultisampleCoverageNV, (C.GLuint)(texture), (C.GLenum)(target), (C.GLsizei)(coverageSamples), (C.GLsizei)(colorSamples), (C.GLint)(internalFormat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLsizei)(depth), (C.GLboolean)(boolToInt(fixedSampleLocations))) -} -func TextureImage3DMultisampleNV(texture uint32, target uint32, samples int32, internalFormat int32, width int32, height int32, depth int32, fixedSampleLocations bool) { - C.glowTextureImage3DMultisampleNV(gpTextureImage3DMultisampleNV, (C.GLuint)(texture), (C.GLenum)(target), (C.GLsizei)(samples), (C.GLint)(internalFormat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLsizei)(depth), (C.GLboolean)(boolToInt(fixedSampleLocations))) -} -func TextureLightEXT(pname uint32) { - C.glowTextureLightEXT(gpTextureLightEXT, (C.GLenum)(pname)) -} -func TextureMaterialEXT(face uint32, mode uint32) { - C.glowTextureMaterialEXT(gpTextureMaterialEXT, (C.GLenum)(face), (C.GLenum)(mode)) -} -func TextureNormalEXT(mode uint32) { - C.glowTextureNormalEXT(gpTextureNormalEXT, (C.GLenum)(mode)) -} -func TexturePageCommitmentEXT(texture uint32, level int32, xoffset int32, yoffset int32, zoffset int32, width int32, height int32, depth int32, commit bool) { - C.glowTexturePageCommitmentEXT(gpTexturePageCommitmentEXT, (C.GLuint)(texture), (C.GLint)(level), (C.GLint)(xoffset), (C.GLint)(yoffset), (C.GLint)(zoffset), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLsizei)(depth), (C.GLboolean)(boolToInt(commit))) -} -func TextureParameterIiv(texture uint32, pname uint32, params *int32) { - C.glowTextureParameterIiv(gpTextureParameterIiv, (C.GLuint)(texture), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func TextureParameterIivEXT(texture uint32, target uint32, pname uint32, params *int32) { - C.glowTextureParameterIivEXT(gpTextureParameterIivEXT, (C.GLuint)(texture), (C.GLenum)(target), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func TextureParameterIuiv(texture uint32, pname uint32, params *uint32) { - C.glowTextureParameterIuiv(gpTextureParameterIuiv, (C.GLuint)(texture), (C.GLenum)(pname), (*C.GLuint)(unsafe.Pointer(params))) -} -func TextureParameterIuivEXT(texture uint32, target uint32, pname uint32, params *uint32) { - C.glowTextureParameterIuivEXT(gpTextureParameterIuivEXT, (C.GLuint)(texture), (C.GLenum)(target), (C.GLenum)(pname), (*C.GLuint)(unsafe.Pointer(params))) -} -func TextureParameterf(texture uint32, pname uint32, param float32) { - C.glowTextureParameterf(gpTextureParameterf, (C.GLuint)(texture), (C.GLenum)(pname), (C.GLfloat)(param)) -} -func TextureParameterfEXT(texture uint32, target uint32, pname uint32, param float32) { - C.glowTextureParameterfEXT(gpTextureParameterfEXT, (C.GLuint)(texture), (C.GLenum)(target), (C.GLenum)(pname), (C.GLfloat)(param)) -} -func TextureParameterfv(texture uint32, pname uint32, param *float32) { - C.glowTextureParameterfv(gpTextureParameterfv, (C.GLuint)(texture), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(param))) -} -func TextureParameterfvEXT(texture uint32, target uint32, pname uint32, params *float32) { - C.glowTextureParameterfvEXT(gpTextureParameterfvEXT, (C.GLuint)(texture), (C.GLenum)(target), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func TextureParameteri(texture uint32, pname uint32, param int32) { - C.glowTextureParameteri(gpTextureParameteri, (C.GLuint)(texture), (C.GLenum)(pname), (C.GLint)(param)) -} -func TextureParameteriEXT(texture uint32, target uint32, pname uint32, param int32) { - C.glowTextureParameteriEXT(gpTextureParameteriEXT, (C.GLuint)(texture), (C.GLenum)(target), (C.GLenum)(pname), (C.GLint)(param)) -} -func TextureParameteriv(texture uint32, pname uint32, param *int32) { - C.glowTextureParameteriv(gpTextureParameteriv, (C.GLuint)(texture), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(param))) -} -func TextureParameterivEXT(texture uint32, target uint32, pname uint32, params *int32) { - C.glowTextureParameterivEXT(gpTextureParameterivEXT, (C.GLuint)(texture), (C.GLenum)(target), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} -func TextureRangeAPPLE(target uint32, length int32, pointer unsafe.Pointer) { - C.glowTextureRangeAPPLE(gpTextureRangeAPPLE, (C.GLenum)(target), (C.GLsizei)(length), pointer) -} -func TextureRenderbufferEXT(texture uint32, target uint32, renderbuffer uint32) { - C.glowTextureRenderbufferEXT(gpTextureRenderbufferEXT, (C.GLuint)(texture), (C.GLenum)(target), (C.GLuint)(renderbuffer)) -} - -// simultaneously specify storage for all levels of a one-dimensional texture -func TextureStorage1D(texture uint32, levels int32, internalformat uint32, width int32) { - C.glowTextureStorage1D(gpTextureStorage1D, (C.GLuint)(texture), (C.GLsizei)(levels), (C.GLenum)(internalformat), (C.GLsizei)(width)) -} -func TextureStorage1DEXT(texture uint32, target uint32, levels int32, internalformat uint32, width int32) { - C.glowTextureStorage1DEXT(gpTextureStorage1DEXT, (C.GLuint)(texture), (C.GLenum)(target), (C.GLsizei)(levels), (C.GLenum)(internalformat), (C.GLsizei)(width)) -} - -// simultaneously specify storage for all levels of a two-dimensional or one-dimensional array texture -func TextureStorage2D(texture uint32, levels int32, internalformat uint32, width int32, height int32) { - C.glowTextureStorage2D(gpTextureStorage2D, (C.GLuint)(texture), (C.GLsizei)(levels), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height)) -} -func TextureStorage2DEXT(texture uint32, target uint32, levels int32, internalformat uint32, width int32, height int32) { - C.glowTextureStorage2DEXT(gpTextureStorage2DEXT, (C.GLuint)(texture), (C.GLenum)(target), (C.GLsizei)(levels), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height)) -} - -// specify storage for a two-dimensional multisample texture -func TextureStorage2DMultisample(texture uint32, samples int32, internalformat uint32, width int32, height int32, fixedsamplelocations bool) { - C.glowTextureStorage2DMultisample(gpTextureStorage2DMultisample, (C.GLuint)(texture), (C.GLsizei)(samples), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLboolean)(boolToInt(fixedsamplelocations))) -} -func TextureStorage2DMultisampleEXT(texture uint32, target uint32, samples int32, internalformat uint32, width int32, height int32, fixedsamplelocations bool) { - C.glowTextureStorage2DMultisampleEXT(gpTextureStorage2DMultisampleEXT, (C.GLuint)(texture), (C.GLenum)(target), (C.GLsizei)(samples), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLboolean)(boolToInt(fixedsamplelocations))) -} - -// simultaneously specify storage for all levels of a three-dimensional, two-dimensional array or cube-map array texture -func TextureStorage3D(texture uint32, levels int32, internalformat uint32, width int32, height int32, depth int32) { - C.glowTextureStorage3D(gpTextureStorage3D, (C.GLuint)(texture), (C.GLsizei)(levels), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLsizei)(depth)) -} -func TextureStorage3DEXT(texture uint32, target uint32, levels int32, internalformat uint32, width int32, height int32, depth int32) { - C.glowTextureStorage3DEXT(gpTextureStorage3DEXT, (C.GLuint)(texture), (C.GLenum)(target), (C.GLsizei)(levels), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLsizei)(depth)) -} - -// specify storage for a two-dimensional multisample array texture -func TextureStorage3DMultisample(texture uint32, samples int32, internalformat uint32, width int32, height int32, depth int32, fixedsamplelocations bool) { - C.glowTextureStorage3DMultisample(gpTextureStorage3DMultisample, (C.GLuint)(texture), (C.GLsizei)(samples), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLsizei)(depth), (C.GLboolean)(boolToInt(fixedsamplelocations))) -} -func TextureStorage3DMultisampleEXT(texture uint32, target uint32, samples int32, internalformat uint32, width int32, height int32, depth int32, fixedsamplelocations bool) { - C.glowTextureStorage3DMultisampleEXT(gpTextureStorage3DMultisampleEXT, (C.GLuint)(texture), (C.GLenum)(target), (C.GLsizei)(samples), (C.GLenum)(internalformat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLsizei)(depth), (C.GLboolean)(boolToInt(fixedsamplelocations))) -} -func TextureStorageMem1DEXT(texture uint32, levels int32, internalFormat uint32, width int32, memory uint32, offset uint64) { - C.glowTextureStorageMem1DEXT(gpTextureStorageMem1DEXT, (C.GLuint)(texture), (C.GLsizei)(levels), (C.GLenum)(internalFormat), (C.GLsizei)(width), (C.GLuint)(memory), (C.GLuint64)(offset)) -} -func TextureStorageMem2DEXT(texture uint32, levels int32, internalFormat uint32, width int32, height int32, memory uint32, offset uint64) { - C.glowTextureStorageMem2DEXT(gpTextureStorageMem2DEXT, (C.GLuint)(texture), (C.GLsizei)(levels), (C.GLenum)(internalFormat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLuint)(memory), (C.GLuint64)(offset)) -} -func TextureStorageMem2DMultisampleEXT(texture uint32, samples int32, internalFormat uint32, width int32, height int32, fixedSampleLocations bool, memory uint32, offset uint64) { - C.glowTextureStorageMem2DMultisampleEXT(gpTextureStorageMem2DMultisampleEXT, (C.GLuint)(texture), (C.GLsizei)(samples), (C.GLenum)(internalFormat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLboolean)(boolToInt(fixedSampleLocations)), (C.GLuint)(memory), (C.GLuint64)(offset)) -} -func TextureStorageMem3DEXT(texture uint32, levels int32, internalFormat uint32, width int32, height int32, depth int32, memory uint32, offset uint64) { - C.glowTextureStorageMem3DEXT(gpTextureStorageMem3DEXT, (C.GLuint)(texture), (C.GLsizei)(levels), (C.GLenum)(internalFormat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLsizei)(depth), (C.GLuint)(memory), (C.GLuint64)(offset)) -} -func TextureStorageMem3DMultisampleEXT(texture uint32, samples int32, internalFormat uint32, width int32, height int32, depth int32, fixedSampleLocations bool, memory uint32, offset uint64) { - C.glowTextureStorageMem3DMultisampleEXT(gpTextureStorageMem3DMultisampleEXT, (C.GLuint)(texture), (C.GLsizei)(samples), (C.GLenum)(internalFormat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLsizei)(depth), (C.GLboolean)(boolToInt(fixedSampleLocations)), (C.GLuint)(memory), (C.GLuint64)(offset)) -} -func TextureStorageSparseAMD(texture uint32, target uint32, internalFormat uint32, width int32, height int32, depth int32, layers int32, flags uint32) { - C.glowTextureStorageSparseAMD(gpTextureStorageSparseAMD, (C.GLuint)(texture), (C.GLenum)(target), (C.GLenum)(internalFormat), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLsizei)(depth), (C.GLsizei)(layers), (C.GLbitfield)(flags)) -} - -// specify a one-dimensional texture subimage -func TextureSubImage1D(texture uint32, level int32, xoffset int32, width int32, format uint32, xtype uint32, pixels unsafe.Pointer) { - C.glowTextureSubImage1D(gpTextureSubImage1D, (C.GLuint)(texture), (C.GLint)(level), (C.GLint)(xoffset), (C.GLsizei)(width), (C.GLenum)(format), (C.GLenum)(xtype), pixels) -} -func TextureSubImage1DEXT(texture uint32, target uint32, level int32, xoffset int32, width int32, format uint32, xtype uint32, pixels unsafe.Pointer) { - C.glowTextureSubImage1DEXT(gpTextureSubImage1DEXT, (C.GLuint)(texture), (C.GLenum)(target), (C.GLint)(level), (C.GLint)(xoffset), (C.GLsizei)(width), (C.GLenum)(format), (C.GLenum)(xtype), pixels) -} - -// specify a two-dimensional texture subimage -func TextureSubImage2D(texture uint32, level int32, xoffset int32, yoffset int32, width int32, height int32, format uint32, xtype uint32, pixels unsafe.Pointer) { - C.glowTextureSubImage2D(gpTextureSubImage2D, (C.GLuint)(texture), (C.GLint)(level), (C.GLint)(xoffset), (C.GLint)(yoffset), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLenum)(format), (C.GLenum)(xtype), pixels) -} -func TextureSubImage2DEXT(texture uint32, target uint32, level int32, xoffset int32, yoffset int32, width int32, height int32, format uint32, xtype uint32, pixels unsafe.Pointer) { - C.glowTextureSubImage2DEXT(gpTextureSubImage2DEXT, (C.GLuint)(texture), (C.GLenum)(target), (C.GLint)(level), (C.GLint)(xoffset), (C.GLint)(yoffset), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLenum)(format), (C.GLenum)(xtype), pixels) -} - -// specify a three-dimensional texture subimage -func TextureSubImage3D(texture uint32, level int32, xoffset int32, yoffset int32, zoffset int32, width int32, height int32, depth int32, format uint32, xtype uint32, pixels unsafe.Pointer) { - C.glowTextureSubImage3D(gpTextureSubImage3D, (C.GLuint)(texture), (C.GLint)(level), (C.GLint)(xoffset), (C.GLint)(yoffset), (C.GLint)(zoffset), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLsizei)(depth), (C.GLenum)(format), (C.GLenum)(xtype), pixels) -} -func TextureSubImage3DEXT(texture uint32, target uint32, level int32, xoffset int32, yoffset int32, zoffset int32, width int32, height int32, depth int32, format uint32, xtype uint32, pixels unsafe.Pointer) { - C.glowTextureSubImage3DEXT(gpTextureSubImage3DEXT, (C.GLuint)(texture), (C.GLenum)(target), (C.GLint)(level), (C.GLint)(xoffset), (C.GLint)(yoffset), (C.GLint)(zoffset), (C.GLsizei)(width), (C.GLsizei)(height), (C.GLsizei)(depth), (C.GLenum)(format), (C.GLenum)(xtype), pixels) -} - -// initialize a texture as a data alias of another texture's data store -func TextureView(texture uint32, target uint32, origtexture uint32, internalformat uint32, minlevel uint32, numlevels uint32, minlayer uint32, numlayers uint32) { - C.glowTextureView(gpTextureView, (C.GLuint)(texture), (C.GLenum)(target), (C.GLuint)(origtexture), (C.GLenum)(internalformat), (C.GLuint)(minlevel), (C.GLuint)(numlevels), (C.GLuint)(minlayer), (C.GLuint)(numlayers)) -} -func TrackMatrixNV(target uint32, address uint32, matrix uint32, transform uint32) { - C.glowTrackMatrixNV(gpTrackMatrixNV, (C.GLenum)(target), (C.GLuint)(address), (C.GLenum)(matrix), (C.GLenum)(transform)) -} -func TransformFeedbackAttribsNV(count int32, attribs *int32, bufferMode uint32) { - C.glowTransformFeedbackAttribsNV(gpTransformFeedbackAttribsNV, (C.GLsizei)(count), (*C.GLint)(unsafe.Pointer(attribs)), (C.GLenum)(bufferMode)) -} - -// bind a buffer object to a transform feedback buffer object -func TransformFeedbackBufferBase(xfb uint32, index uint32, buffer uint32) { - C.glowTransformFeedbackBufferBase(gpTransformFeedbackBufferBase, (C.GLuint)(xfb), (C.GLuint)(index), (C.GLuint)(buffer)) -} - -// bind a range within a buffer object to a transform feedback buffer object -func TransformFeedbackBufferRange(xfb uint32, index uint32, buffer uint32, offset int, size int) { - C.glowTransformFeedbackBufferRange(gpTransformFeedbackBufferRange, (C.GLuint)(xfb), (C.GLuint)(index), (C.GLuint)(buffer), (C.GLintptr)(offset), (C.GLsizeiptr)(size)) -} -func TransformFeedbackStreamAttribsNV(count int32, attribs *int32, nbuffers int32, bufstreams *int32, bufferMode uint32) { - C.glowTransformFeedbackStreamAttribsNV(gpTransformFeedbackStreamAttribsNV, (C.GLsizei)(count), (*C.GLint)(unsafe.Pointer(attribs)), (C.GLsizei)(nbuffers), (*C.GLint)(unsafe.Pointer(bufstreams)), (C.GLenum)(bufferMode)) -} -func TransformFeedbackVaryingsEXT(program uint32, count int32, varyings **uint8, bufferMode uint32) { - C.glowTransformFeedbackVaryingsEXT(gpTransformFeedbackVaryingsEXT, (C.GLuint)(program), (C.GLsizei)(count), (**C.GLchar)(unsafe.Pointer(varyings)), (C.GLenum)(bufferMode)) -} -func TransformFeedbackVaryingsNV(program uint32, count int32, locations *int32, bufferMode uint32) { - C.glowTransformFeedbackVaryingsNV(gpTransformFeedbackVaryingsNV, (C.GLuint)(program), (C.GLsizei)(count), (*C.GLint)(unsafe.Pointer(locations)), (C.GLenum)(bufferMode)) -} -func TransformPathNV(resultPath uint32, srcPath uint32, transformType uint32, transformValues *float32) { - C.glowTransformPathNV(gpTransformPathNV, (C.GLuint)(resultPath), (C.GLuint)(srcPath), (C.GLenum)(transformType), (*C.GLfloat)(unsafe.Pointer(transformValues))) -} -func Translated(x float64, y float64, z float64) { - C.glowTranslated(gpTranslated, (C.GLdouble)(x), (C.GLdouble)(y), (C.GLdouble)(z)) -} -func Translatef(x float32, y float32, z float32) { - C.glowTranslatef(gpTranslatef, (C.GLfloat)(x), (C.GLfloat)(y), (C.GLfloat)(z)) -} -func TranslatexOES(x int32, y int32, z int32) { - C.glowTranslatexOES(gpTranslatexOES, (C.GLfixed)(x), (C.GLfixed)(y), (C.GLfixed)(z)) -} -func Uniform1d(location int32, x float64) { - C.glowUniform1d(gpUniform1d, (C.GLint)(location), (C.GLdouble)(x)) -} -func Uniform1dv(location int32, count int32, value *float64) { - C.glowUniform1dv(gpUniform1dv, (C.GLint)(location), (C.GLsizei)(count), (*C.GLdouble)(unsafe.Pointer(value))) -} - -// Specify the value of a uniform variable for the current program object func Uniform1f(location int32, v0 float32) { C.glowUniform1f(gpUniform1f, (C.GLint)(location), (C.GLfloat)(v0)) } -func Uniform1fARB(location int32, v0 float32) { - C.glowUniform1fARB(gpUniform1fARB, (C.GLint)(location), (C.GLfloat)(v0)) -} -// Specify the value of a uniform variable for the current program object -func Uniform1fv(location int32, count int32, value *float32) { - C.glowUniform1fv(gpUniform1fv, (C.GLint)(location), (C.GLsizei)(count), (*C.GLfloat)(unsafe.Pointer(value))) -} -func Uniform1fvARB(location int32, count int32, value *float32) { - C.glowUniform1fvARB(gpUniform1fvARB, (C.GLint)(location), (C.GLsizei)(count), (*C.GLfloat)(unsafe.Pointer(value))) -} - -// Specify the value of a uniform variable for the current program object func Uniform1i(location int32, v0 int32) { C.glowUniform1i(gpUniform1i, (C.GLint)(location), (C.GLint)(v0)) } -func Uniform1i64ARB(location int32, x int64) { - C.glowUniform1i64ARB(gpUniform1i64ARB, (C.GLint)(location), (C.GLint64)(x)) -} -func Uniform1i64NV(location int32, x int64) { - C.glowUniform1i64NV(gpUniform1i64NV, (C.GLint)(location), (C.GLint64EXT)(x)) -} -func Uniform1i64vARB(location int32, count int32, value *int64) { - C.glowUniform1i64vARB(gpUniform1i64vARB, (C.GLint)(location), (C.GLsizei)(count), (*C.GLint64)(unsafe.Pointer(value))) -} -func Uniform1i64vNV(location int32, count int32, value *int64) { - C.glowUniform1i64vNV(gpUniform1i64vNV, (C.GLint)(location), (C.GLsizei)(count), (*C.GLint64EXT)(unsafe.Pointer(value))) -} -func Uniform1iARB(location int32, v0 int32) { - C.glowUniform1iARB(gpUniform1iARB, (C.GLint)(location), (C.GLint)(v0)) -} -// Specify the value of a uniform variable for the current program object -func Uniform1iv(location int32, count int32, value *int32) { - C.glowUniform1iv(gpUniform1iv, (C.GLint)(location), (C.GLsizei)(count), (*C.GLint)(unsafe.Pointer(value))) -} -func Uniform1ivARB(location int32, count int32, value *int32) { - C.glowUniform1ivARB(gpUniform1ivARB, (C.GLint)(location), (C.GLsizei)(count), (*C.GLint)(unsafe.Pointer(value))) -} -func Uniform1ui64ARB(location int32, x uint64) { - C.glowUniform1ui64ARB(gpUniform1ui64ARB, (C.GLint)(location), (C.GLuint64)(x)) -} -func Uniform1ui64NV(location int32, x uint64) { - C.glowUniform1ui64NV(gpUniform1ui64NV, (C.GLint)(location), (C.GLuint64EXT)(x)) -} -func Uniform1ui64vARB(location int32, count int32, value *uint64) { - C.glowUniform1ui64vARB(gpUniform1ui64vARB, (C.GLint)(location), (C.GLsizei)(count), (*C.GLuint64)(unsafe.Pointer(value))) -} -func Uniform1ui64vNV(location int32, count int32, value *uint64) { - C.glowUniform1ui64vNV(gpUniform1ui64vNV, (C.GLint)(location), (C.GLsizei)(count), (*C.GLuint64EXT)(unsafe.Pointer(value))) -} -func Uniform1uiEXT(location int32, v0 uint32) { - C.glowUniform1uiEXT(gpUniform1uiEXT, (C.GLint)(location), (C.GLuint)(v0)) -} -func Uniform1uivEXT(location int32, count int32, value *uint32) { - C.glowUniform1uivEXT(gpUniform1uivEXT, (C.GLint)(location), (C.GLsizei)(count), (*C.GLuint)(unsafe.Pointer(value))) -} -func Uniform2d(location int32, x float64, y float64) { - C.glowUniform2d(gpUniform2d, (C.GLint)(location), (C.GLdouble)(x), (C.GLdouble)(y)) -} -func Uniform2dv(location int32, count int32, value *float64) { - C.glowUniform2dv(gpUniform2dv, (C.GLint)(location), (C.GLsizei)(count), (*C.GLdouble)(unsafe.Pointer(value))) -} - -// Specify the value of a uniform variable for the current program object -func Uniform2f(location int32, v0 float32, v1 float32) { - C.glowUniform2f(gpUniform2f, (C.GLint)(location), (C.GLfloat)(v0), (C.GLfloat)(v1)) -} -func Uniform2fARB(location int32, v0 float32, v1 float32) { - C.glowUniform2fARB(gpUniform2fARB, (C.GLint)(location), (C.GLfloat)(v0), (C.GLfloat)(v1)) -} - -// Specify the value of a uniform variable for the current program object func Uniform2fv(location int32, count int32, value *float32) { C.glowUniform2fv(gpUniform2fv, (C.GLint)(location), (C.GLsizei)(count), (*C.GLfloat)(unsafe.Pointer(value))) } -func Uniform2fvARB(location int32, count int32, value *float32) { - C.glowUniform2fvARB(gpUniform2fvARB, (C.GLint)(location), (C.GLsizei)(count), (*C.GLfloat)(unsafe.Pointer(value))) -} -// Specify the value of a uniform variable for the current program object -func Uniform2i(location int32, v0 int32, v1 int32) { - C.glowUniform2i(gpUniform2i, (C.GLint)(location), (C.GLint)(v0), (C.GLint)(v1)) -} -func Uniform2i64ARB(location int32, x int64, y int64) { - C.glowUniform2i64ARB(gpUniform2i64ARB, (C.GLint)(location), (C.GLint64)(x), (C.GLint64)(y)) -} -func Uniform2i64NV(location int32, x int64, y int64) { - C.glowUniform2i64NV(gpUniform2i64NV, (C.GLint)(location), (C.GLint64EXT)(x), (C.GLint64EXT)(y)) -} -func Uniform2i64vARB(location int32, count int32, value *int64) { - C.glowUniform2i64vARB(gpUniform2i64vARB, (C.GLint)(location), (C.GLsizei)(count), (*C.GLint64)(unsafe.Pointer(value))) -} -func Uniform2i64vNV(location int32, count int32, value *int64) { - C.glowUniform2i64vNV(gpUniform2i64vNV, (C.GLint)(location), (C.GLsizei)(count), (*C.GLint64EXT)(unsafe.Pointer(value))) -} -func Uniform2iARB(location int32, v0 int32, v1 int32) { - C.glowUniform2iARB(gpUniform2iARB, (C.GLint)(location), (C.GLint)(v0), (C.GLint)(v1)) -} - -// Specify the value of a uniform variable for the current program object -func Uniform2iv(location int32, count int32, value *int32) { - C.glowUniform2iv(gpUniform2iv, (C.GLint)(location), (C.GLsizei)(count), (*C.GLint)(unsafe.Pointer(value))) -} -func Uniform2ivARB(location int32, count int32, value *int32) { - C.glowUniform2ivARB(gpUniform2ivARB, (C.GLint)(location), (C.GLsizei)(count), (*C.GLint)(unsafe.Pointer(value))) -} -func Uniform2ui64ARB(location int32, x uint64, y uint64) { - C.glowUniform2ui64ARB(gpUniform2ui64ARB, (C.GLint)(location), (C.GLuint64)(x), (C.GLuint64)(y)) -} -func Uniform2ui64NV(location int32, x uint64, y uint64) { - C.glowUniform2ui64NV(gpUniform2ui64NV, (C.GLint)(location), (C.GLuint64EXT)(x), (C.GLuint64EXT)(y)) -} -func Uniform2ui64vARB(location int32, count int32, value *uint64) { - C.glowUniform2ui64vARB(gpUniform2ui64vARB, (C.GLint)(location), (C.GLsizei)(count), (*C.GLuint64)(unsafe.Pointer(value))) -} -func Uniform2ui64vNV(location int32, count int32, value *uint64) { - C.glowUniform2ui64vNV(gpUniform2ui64vNV, (C.GLint)(location), (C.GLsizei)(count), (*C.GLuint64EXT)(unsafe.Pointer(value))) -} -func Uniform2uiEXT(location int32, v0 uint32, v1 uint32) { - C.glowUniform2uiEXT(gpUniform2uiEXT, (C.GLint)(location), (C.GLuint)(v0), (C.GLuint)(v1)) -} -func Uniform2uivEXT(location int32, count int32, value *uint32) { - C.glowUniform2uivEXT(gpUniform2uivEXT, (C.GLint)(location), (C.GLsizei)(count), (*C.GLuint)(unsafe.Pointer(value))) -} -func Uniform3d(location int32, x float64, y float64, z float64) { - C.glowUniform3d(gpUniform3d, (C.GLint)(location), (C.GLdouble)(x), (C.GLdouble)(y), (C.GLdouble)(z)) -} -func Uniform3dv(location int32, count int32, value *float64) { - C.glowUniform3dv(gpUniform3dv, (C.GLint)(location), (C.GLsizei)(count), (*C.GLdouble)(unsafe.Pointer(value))) -} - -// Specify the value of a uniform variable for the current program object -func Uniform3f(location int32, v0 float32, v1 float32, v2 float32) { - C.glowUniform3f(gpUniform3f, (C.GLint)(location), (C.GLfloat)(v0), (C.GLfloat)(v1), (C.GLfloat)(v2)) -} -func Uniform3fARB(location int32, v0 float32, v1 float32, v2 float32) { - C.glowUniform3fARB(gpUniform3fARB, (C.GLint)(location), (C.GLfloat)(v0), (C.GLfloat)(v1), (C.GLfloat)(v2)) -} - -// Specify the value of a uniform variable for the current program object -func Uniform3fv(location int32, count int32, value *float32) { - C.glowUniform3fv(gpUniform3fv, (C.GLint)(location), (C.GLsizei)(count), (*C.GLfloat)(unsafe.Pointer(value))) -} -func Uniform3fvARB(location int32, count int32, value *float32) { - C.glowUniform3fvARB(gpUniform3fvARB, (C.GLint)(location), (C.GLsizei)(count), (*C.GLfloat)(unsafe.Pointer(value))) -} - -// Specify the value of a uniform variable for the current program object -func Uniform3i(location int32, v0 int32, v1 int32, v2 int32) { - C.glowUniform3i(gpUniform3i, (C.GLint)(location), (C.GLint)(v0), (C.GLint)(v1), (C.GLint)(v2)) -} -func Uniform3i64ARB(location int32, x int64, y int64, z int64) { - C.glowUniform3i64ARB(gpUniform3i64ARB, (C.GLint)(location), (C.GLint64)(x), (C.GLint64)(y), (C.GLint64)(z)) -} -func Uniform3i64NV(location int32, x int64, y int64, z int64) { - C.glowUniform3i64NV(gpUniform3i64NV, (C.GLint)(location), (C.GLint64EXT)(x), (C.GLint64EXT)(y), (C.GLint64EXT)(z)) -} -func Uniform3i64vARB(location int32, count int32, value *int64) { - C.glowUniform3i64vARB(gpUniform3i64vARB, (C.GLint)(location), (C.GLsizei)(count), (*C.GLint64)(unsafe.Pointer(value))) -} -func Uniform3i64vNV(location int32, count int32, value *int64) { - C.glowUniform3i64vNV(gpUniform3i64vNV, (C.GLint)(location), (C.GLsizei)(count), (*C.GLint64EXT)(unsafe.Pointer(value))) -} -func Uniform3iARB(location int32, v0 int32, v1 int32, v2 int32) { - C.glowUniform3iARB(gpUniform3iARB, (C.GLint)(location), (C.GLint)(v0), (C.GLint)(v1), (C.GLint)(v2)) -} - -// Specify the value of a uniform variable for the current program object -func Uniform3iv(location int32, count int32, value *int32) { - C.glowUniform3iv(gpUniform3iv, (C.GLint)(location), (C.GLsizei)(count), (*C.GLint)(unsafe.Pointer(value))) -} -func Uniform3ivARB(location int32, count int32, value *int32) { - C.glowUniform3ivARB(gpUniform3ivARB, (C.GLint)(location), (C.GLsizei)(count), (*C.GLint)(unsafe.Pointer(value))) -} -func Uniform3ui64ARB(location int32, x uint64, y uint64, z uint64) { - C.glowUniform3ui64ARB(gpUniform3ui64ARB, (C.GLint)(location), (C.GLuint64)(x), (C.GLuint64)(y), (C.GLuint64)(z)) -} -func Uniform3ui64NV(location int32, x uint64, y uint64, z uint64) { - C.glowUniform3ui64NV(gpUniform3ui64NV, (C.GLint)(location), (C.GLuint64EXT)(x), (C.GLuint64EXT)(y), (C.GLuint64EXT)(z)) -} -func Uniform3ui64vARB(location int32, count int32, value *uint64) { - C.glowUniform3ui64vARB(gpUniform3ui64vARB, (C.GLint)(location), (C.GLsizei)(count), (*C.GLuint64)(unsafe.Pointer(value))) -} -func Uniform3ui64vNV(location int32, count int32, value *uint64) { - C.glowUniform3ui64vNV(gpUniform3ui64vNV, (C.GLint)(location), (C.GLsizei)(count), (*C.GLuint64EXT)(unsafe.Pointer(value))) -} -func Uniform3uiEXT(location int32, v0 uint32, v1 uint32, v2 uint32) { - C.glowUniform3uiEXT(gpUniform3uiEXT, (C.GLint)(location), (C.GLuint)(v0), (C.GLuint)(v1), (C.GLuint)(v2)) -} -func Uniform3uivEXT(location int32, count int32, value *uint32) { - C.glowUniform3uivEXT(gpUniform3uivEXT, (C.GLint)(location), (C.GLsizei)(count), (*C.GLuint)(unsafe.Pointer(value))) -} -func Uniform4d(location int32, x float64, y float64, z float64, w float64) { - C.glowUniform4d(gpUniform4d, (C.GLint)(location), (C.GLdouble)(x), (C.GLdouble)(y), (C.GLdouble)(z), (C.GLdouble)(w)) -} -func Uniform4dv(location int32, count int32, value *float64) { - C.glowUniform4dv(gpUniform4dv, (C.GLint)(location), (C.GLsizei)(count), (*C.GLdouble)(unsafe.Pointer(value))) -} - -// Specify the value of a uniform variable for the current program object -func Uniform4f(location int32, v0 float32, v1 float32, v2 float32, v3 float32) { - C.glowUniform4f(gpUniform4f, (C.GLint)(location), (C.GLfloat)(v0), (C.GLfloat)(v1), (C.GLfloat)(v2), (C.GLfloat)(v3)) -} -func Uniform4fARB(location int32, v0 float32, v1 float32, v2 float32, v3 float32) { - C.glowUniform4fARB(gpUniform4fARB, (C.GLint)(location), (C.GLfloat)(v0), (C.GLfloat)(v1), (C.GLfloat)(v2), (C.GLfloat)(v3)) -} - -// Specify the value of a uniform variable for the current program object func Uniform4fv(location int32, count int32, value *float32) { C.glowUniform4fv(gpUniform4fv, (C.GLint)(location), (C.GLsizei)(count), (*C.GLfloat)(unsafe.Pointer(value))) } -func Uniform4fvARB(location int32, count int32, value *float32) { - C.glowUniform4fvARB(gpUniform4fvARB, (C.GLint)(location), (C.GLsizei)(count), (*C.GLfloat)(unsafe.Pointer(value))) -} -// Specify the value of a uniform variable for the current program object -func Uniform4i(location int32, v0 int32, v1 int32, v2 int32, v3 int32) { - C.glowUniform4i(gpUniform4i, (C.GLint)(location), (C.GLint)(v0), (C.GLint)(v1), (C.GLint)(v2), (C.GLint)(v3)) -} -func Uniform4i64ARB(location int32, x int64, y int64, z int64, w int64) { - C.glowUniform4i64ARB(gpUniform4i64ARB, (C.GLint)(location), (C.GLint64)(x), (C.GLint64)(y), (C.GLint64)(z), (C.GLint64)(w)) -} -func Uniform4i64NV(location int32, x int64, y int64, z int64, w int64) { - C.glowUniform4i64NV(gpUniform4i64NV, (C.GLint)(location), (C.GLint64EXT)(x), (C.GLint64EXT)(y), (C.GLint64EXT)(z), (C.GLint64EXT)(w)) -} -func Uniform4i64vARB(location int32, count int32, value *int64) { - C.glowUniform4i64vARB(gpUniform4i64vARB, (C.GLint)(location), (C.GLsizei)(count), (*C.GLint64)(unsafe.Pointer(value))) -} -func Uniform4i64vNV(location int32, count int32, value *int64) { - C.glowUniform4i64vNV(gpUniform4i64vNV, (C.GLint)(location), (C.GLsizei)(count), (*C.GLint64EXT)(unsafe.Pointer(value))) -} -func Uniform4iARB(location int32, v0 int32, v1 int32, v2 int32, v3 int32) { - C.glowUniform4iARB(gpUniform4iARB, (C.GLint)(location), (C.GLint)(v0), (C.GLint)(v1), (C.GLint)(v2), (C.GLint)(v3)) -} - -// Specify the value of a uniform variable for the current program object -func Uniform4iv(location int32, count int32, value *int32) { - C.glowUniform4iv(gpUniform4iv, (C.GLint)(location), (C.GLsizei)(count), (*C.GLint)(unsafe.Pointer(value))) -} -func Uniform4ivARB(location int32, count int32, value *int32) { - C.glowUniform4ivARB(gpUniform4ivARB, (C.GLint)(location), (C.GLsizei)(count), (*C.GLint)(unsafe.Pointer(value))) -} -func Uniform4ui64ARB(location int32, x uint64, y uint64, z uint64, w uint64) { - C.glowUniform4ui64ARB(gpUniform4ui64ARB, (C.GLint)(location), (C.GLuint64)(x), (C.GLuint64)(y), (C.GLuint64)(z), (C.GLuint64)(w)) -} -func Uniform4ui64NV(location int32, x uint64, y uint64, z uint64, w uint64) { - C.glowUniform4ui64NV(gpUniform4ui64NV, (C.GLint)(location), (C.GLuint64EXT)(x), (C.GLuint64EXT)(y), (C.GLuint64EXT)(z), (C.GLuint64EXT)(w)) -} -func Uniform4ui64vARB(location int32, count int32, value *uint64) { - C.glowUniform4ui64vARB(gpUniform4ui64vARB, (C.GLint)(location), (C.GLsizei)(count), (*C.GLuint64)(unsafe.Pointer(value))) -} -func Uniform4ui64vNV(location int32, count int32, value *uint64) { - C.glowUniform4ui64vNV(gpUniform4ui64vNV, (C.GLint)(location), (C.GLsizei)(count), (*C.GLuint64EXT)(unsafe.Pointer(value))) -} -func Uniform4uiEXT(location int32, v0 uint32, v1 uint32, v2 uint32, v3 uint32) { - C.glowUniform4uiEXT(gpUniform4uiEXT, (C.GLint)(location), (C.GLuint)(v0), (C.GLuint)(v1), (C.GLuint)(v2), (C.GLuint)(v3)) -} -func Uniform4uivEXT(location int32, count int32, value *uint32) { - C.glowUniform4uivEXT(gpUniform4uivEXT, (C.GLint)(location), (C.GLsizei)(count), (*C.GLuint)(unsafe.Pointer(value))) -} - -// assign a binding point to an active uniform block -func UniformBlockBinding(program uint32, uniformBlockIndex uint32, uniformBlockBinding uint32) { - C.glowUniformBlockBinding(gpUniformBlockBinding, (C.GLuint)(program), (C.GLuint)(uniformBlockIndex), (C.GLuint)(uniformBlockBinding)) -} -func UniformBufferEXT(program uint32, location int32, buffer uint32) { - C.glowUniformBufferEXT(gpUniformBufferEXT, (C.GLuint)(program), (C.GLint)(location), (C.GLuint)(buffer)) -} -func UniformHandleui64ARB(location int32, value uint64) { - C.glowUniformHandleui64ARB(gpUniformHandleui64ARB, (C.GLint)(location), (C.GLuint64)(value)) -} -func UniformHandleui64NV(location int32, value uint64) { - C.glowUniformHandleui64NV(gpUniformHandleui64NV, (C.GLint)(location), (C.GLuint64)(value)) -} -func UniformHandleui64vARB(location int32, count int32, value *uint64) { - C.glowUniformHandleui64vARB(gpUniformHandleui64vARB, (C.GLint)(location), (C.GLsizei)(count), (*C.GLuint64)(unsafe.Pointer(value))) -} -func UniformHandleui64vNV(location int32, count int32, value *uint64) { - C.glowUniformHandleui64vNV(gpUniformHandleui64vNV, (C.GLint)(location), (C.GLsizei)(count), (*C.GLuint64)(unsafe.Pointer(value))) -} -func UniformMatrix2dv(location int32, count int32, transpose bool, value *float64) { - C.glowUniformMatrix2dv(gpUniformMatrix2dv, (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLdouble)(unsafe.Pointer(value))) -} - -// Specify the value of a uniform variable for the current program object -func UniformMatrix2fv(location int32, count int32, transpose bool, value *float32) { - C.glowUniformMatrix2fv(gpUniformMatrix2fv, (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLfloat)(unsafe.Pointer(value))) -} -func UniformMatrix2fvARB(location int32, count int32, transpose bool, value *float32) { - C.glowUniformMatrix2fvARB(gpUniformMatrix2fvARB, (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLfloat)(unsafe.Pointer(value))) -} -func UniformMatrix2x3dv(location int32, count int32, transpose bool, value *float64) { - C.glowUniformMatrix2x3dv(gpUniformMatrix2x3dv, (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLdouble)(unsafe.Pointer(value))) -} - -// Specify the value of a uniform variable for the current program object -func UniformMatrix2x3fv(location int32, count int32, transpose bool, value *float32) { - C.glowUniformMatrix2x3fv(gpUniformMatrix2x3fv, (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLfloat)(unsafe.Pointer(value))) -} -func UniformMatrix2x4dv(location int32, count int32, transpose bool, value *float64) { - C.glowUniformMatrix2x4dv(gpUniformMatrix2x4dv, (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLdouble)(unsafe.Pointer(value))) -} - -// Specify the value of a uniform variable for the current program object -func UniformMatrix2x4fv(location int32, count int32, transpose bool, value *float32) { - C.glowUniformMatrix2x4fv(gpUniformMatrix2x4fv, (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLfloat)(unsafe.Pointer(value))) -} -func UniformMatrix3dv(location int32, count int32, transpose bool, value *float64) { - C.glowUniformMatrix3dv(gpUniformMatrix3dv, (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLdouble)(unsafe.Pointer(value))) -} - -// Specify the value of a uniform variable for the current program object -func UniformMatrix3fv(location int32, count int32, transpose bool, value *float32) { - C.glowUniformMatrix3fv(gpUniformMatrix3fv, (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLfloat)(unsafe.Pointer(value))) -} -func UniformMatrix3fvARB(location int32, count int32, transpose bool, value *float32) { - C.glowUniformMatrix3fvARB(gpUniformMatrix3fvARB, (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLfloat)(unsafe.Pointer(value))) -} -func UniformMatrix3x2dv(location int32, count int32, transpose bool, value *float64) { - C.glowUniformMatrix3x2dv(gpUniformMatrix3x2dv, (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLdouble)(unsafe.Pointer(value))) -} - -// Specify the value of a uniform variable for the current program object -func UniformMatrix3x2fv(location int32, count int32, transpose bool, value *float32) { - C.glowUniformMatrix3x2fv(gpUniformMatrix3x2fv, (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLfloat)(unsafe.Pointer(value))) -} -func UniformMatrix3x4dv(location int32, count int32, transpose bool, value *float64) { - C.glowUniformMatrix3x4dv(gpUniformMatrix3x4dv, (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLdouble)(unsafe.Pointer(value))) -} - -// Specify the value of a uniform variable for the current program object -func UniformMatrix3x4fv(location int32, count int32, transpose bool, value *float32) { - C.glowUniformMatrix3x4fv(gpUniformMatrix3x4fv, (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLfloat)(unsafe.Pointer(value))) -} -func UniformMatrix4dv(location int32, count int32, transpose bool, value *float64) { - C.glowUniformMatrix4dv(gpUniformMatrix4dv, (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLdouble)(unsafe.Pointer(value))) -} - -// Specify the value of a uniform variable for the current program object func UniformMatrix4fv(location int32, count int32, transpose bool, value *float32) { C.glowUniformMatrix4fv(gpUniformMatrix4fv, (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLfloat)(unsafe.Pointer(value))) } -func UniformMatrix4fvARB(location int32, count int32, transpose bool, value *float32) { - C.glowUniformMatrix4fvARB(gpUniformMatrix4fvARB, (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLfloat)(unsafe.Pointer(value))) -} -func UniformMatrix4x2dv(location int32, count int32, transpose bool, value *float64) { - C.glowUniformMatrix4x2dv(gpUniformMatrix4x2dv, (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLdouble)(unsafe.Pointer(value))) -} -// Specify the value of a uniform variable for the current program object -func UniformMatrix4x2fv(location int32, count int32, transpose bool, value *float32) { - C.glowUniformMatrix4x2fv(gpUniformMatrix4x2fv, (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLfloat)(unsafe.Pointer(value))) -} -func UniformMatrix4x3dv(location int32, count int32, transpose bool, value *float64) { - C.glowUniformMatrix4x3dv(gpUniformMatrix4x3dv, (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLdouble)(unsafe.Pointer(value))) -} - -// Specify the value of a uniform variable for the current program object -func UniformMatrix4x3fv(location int32, count int32, transpose bool, value *float32) { - C.glowUniformMatrix4x3fv(gpUniformMatrix4x3fv, (C.GLint)(location), (C.GLsizei)(count), (C.GLboolean)(boolToInt(transpose)), (*C.GLfloat)(unsafe.Pointer(value))) -} -func UniformSubroutinesuiv(shadertype uint32, count int32, indices *uint32) { - C.glowUniformSubroutinesuiv(gpUniformSubroutinesuiv, (C.GLenum)(shadertype), (C.GLsizei)(count), (*C.GLuint)(unsafe.Pointer(indices))) -} -func Uniformui64NV(location int32, value uint64) { - C.glowUniformui64NV(gpUniformui64NV, (C.GLint)(location), (C.GLuint64EXT)(value)) -} -func Uniformui64vNV(location int32, count int32, value *uint64) { - C.glowUniformui64vNV(gpUniformui64vNV, (C.GLint)(location), (C.GLsizei)(count), (*C.GLuint64EXT)(unsafe.Pointer(value))) -} -func UnlockArraysEXT() { - C.glowUnlockArraysEXT(gpUnlockArraysEXT) -} - -// release the mapping of a buffer object's data store into the client's address space -func UnmapBuffer(target uint32) bool { - ret := C.glowUnmapBuffer(gpUnmapBuffer, (C.GLenum)(target)) - return ret == TRUE -} -func UnmapBufferARB(target uint32) bool { - ret := C.glowUnmapBufferARB(gpUnmapBufferARB, (C.GLenum)(target)) - return ret == TRUE -} - -// release the mapping of a buffer object's data store into the client's address space -func UnmapNamedBuffer(buffer uint32) bool { - ret := C.glowUnmapNamedBuffer(gpUnmapNamedBuffer, (C.GLuint)(buffer)) - return ret == TRUE -} -func UnmapNamedBufferEXT(buffer uint32) bool { - ret := C.glowUnmapNamedBufferEXT(gpUnmapNamedBufferEXT, (C.GLuint)(buffer)) - return ret == TRUE -} -func UnmapObjectBufferATI(buffer uint32) { - C.glowUnmapObjectBufferATI(gpUnmapObjectBufferATI, (C.GLuint)(buffer)) -} -func UnmapTexture2DINTEL(texture uint32, level int32) { - C.glowUnmapTexture2DINTEL(gpUnmapTexture2DINTEL, (C.GLuint)(texture), (C.GLint)(level)) -} -func UpdateObjectBufferATI(buffer uint32, offset uint32, size int32, pointer unsafe.Pointer, preserve uint32) { - C.glowUpdateObjectBufferATI(gpUpdateObjectBufferATI, (C.GLuint)(buffer), (C.GLuint)(offset), (C.GLsizei)(size), pointer, (C.GLenum)(preserve)) -} - -// Installs a program object as part of current rendering state func UseProgram(program uint32) { C.glowUseProgram(gpUseProgram, (C.GLuint)(program)) } -func UseProgramObjectARB(programObj uintptr) { - C.glowUseProgramObjectARB(gpUseProgramObjectARB, (C.GLhandleARB)(programObj)) -} -// bind stages of a program object to a program pipeline -func UseProgramStages(pipeline uint32, stages uint32, program uint32) { - C.glowUseProgramStages(gpUseProgramStages, (C.GLuint)(pipeline), (C.GLbitfield)(stages), (C.GLuint)(program)) -} -func UseProgramStagesEXT(pipeline uint32, stages uint32, program uint32) { - C.glowUseProgramStagesEXT(gpUseProgramStagesEXT, (C.GLuint)(pipeline), (C.GLbitfield)(stages), (C.GLuint)(program)) -} -func UseShaderProgramEXT(xtype uint32, program uint32) { - C.glowUseShaderProgramEXT(gpUseShaderProgramEXT, (C.GLenum)(xtype), (C.GLuint)(program)) -} -func VDPAUFiniNV() { - C.glowVDPAUFiniNV(gpVDPAUFiniNV) -} -func VDPAUGetSurfaceivNV(surface uintptr, pname uint32, bufSize int32, length *int32, values *int32) { - C.glowVDPAUGetSurfaceivNV(gpVDPAUGetSurfaceivNV, (C.GLvdpauSurfaceNV)(surface), (C.GLenum)(pname), (C.GLsizei)(bufSize), (*C.GLsizei)(unsafe.Pointer(length)), (*C.GLint)(unsafe.Pointer(values))) -} -func VDPAUInitNV(vdpDevice unsafe.Pointer, getProcAddress unsafe.Pointer) { - C.glowVDPAUInitNV(gpVDPAUInitNV, vdpDevice, getProcAddress) -} -func VDPAUIsSurfaceNV(surface uintptr) bool { - ret := C.glowVDPAUIsSurfaceNV(gpVDPAUIsSurfaceNV, (C.GLvdpauSurfaceNV)(surface)) - return ret == TRUE -} -func VDPAUMapSurfacesNV(numSurfaces int32, surfaces *uintptr) { - C.glowVDPAUMapSurfacesNV(gpVDPAUMapSurfacesNV, (C.GLsizei)(numSurfaces), (*C.GLvdpauSurfaceNV)(unsafe.Pointer(surfaces))) -} -func VDPAURegisterOutputSurfaceNV(vdpSurface unsafe.Pointer, target uint32, numTextureNames int32, textureNames *uint32) uintptr { - ret := C.glowVDPAURegisterOutputSurfaceNV(gpVDPAURegisterOutputSurfaceNV, vdpSurface, (C.GLenum)(target), (C.GLsizei)(numTextureNames), (*C.GLuint)(unsafe.Pointer(textureNames))) - return (uintptr)(ret) -} -func VDPAURegisterVideoSurfaceNV(vdpSurface unsafe.Pointer, target uint32, numTextureNames int32, textureNames *uint32) uintptr { - ret := C.glowVDPAURegisterVideoSurfaceNV(gpVDPAURegisterVideoSurfaceNV, vdpSurface, (C.GLenum)(target), (C.GLsizei)(numTextureNames), (*C.GLuint)(unsafe.Pointer(textureNames))) - return (uintptr)(ret) -} -func VDPAUSurfaceAccessNV(surface uintptr, access uint32) { - C.glowVDPAUSurfaceAccessNV(gpVDPAUSurfaceAccessNV, (C.GLvdpauSurfaceNV)(surface), (C.GLenum)(access)) -} -func VDPAUUnmapSurfacesNV(numSurface int32, surfaces *uintptr) { - C.glowVDPAUUnmapSurfacesNV(gpVDPAUUnmapSurfacesNV, (C.GLsizei)(numSurface), (*C.GLvdpauSurfaceNV)(unsafe.Pointer(surfaces))) -} -func VDPAUUnregisterSurfaceNV(surface uintptr) { - C.glowVDPAUUnregisterSurfaceNV(gpVDPAUUnregisterSurfaceNV, (C.GLvdpauSurfaceNV)(surface)) -} - -// Validates a program object -func ValidateProgram(program uint32) { - C.glowValidateProgram(gpValidateProgram, (C.GLuint)(program)) -} -func ValidateProgramARB(programObj uintptr) { - C.glowValidateProgramARB(gpValidateProgramARB, (C.GLhandleARB)(programObj)) -} - -// validate a program pipeline object against current GL state -func ValidateProgramPipeline(pipeline uint32) { - C.glowValidateProgramPipeline(gpValidateProgramPipeline, (C.GLuint)(pipeline)) -} -func ValidateProgramPipelineEXT(pipeline uint32) { - C.glowValidateProgramPipelineEXT(gpValidateProgramPipelineEXT, (C.GLuint)(pipeline)) -} -func VariantArrayObjectATI(id uint32, xtype uint32, stride int32, buffer uint32, offset uint32) { - C.glowVariantArrayObjectATI(gpVariantArrayObjectATI, (C.GLuint)(id), (C.GLenum)(xtype), (C.GLsizei)(stride), (C.GLuint)(buffer), (C.GLuint)(offset)) -} -func VariantPointerEXT(id uint32, xtype uint32, stride uint32, addr unsafe.Pointer) { - C.glowVariantPointerEXT(gpVariantPointerEXT, (C.GLuint)(id), (C.GLenum)(xtype), (C.GLuint)(stride), addr) -} -func VariantbvEXT(id uint32, addr *int8) { - C.glowVariantbvEXT(gpVariantbvEXT, (C.GLuint)(id), (*C.GLbyte)(unsafe.Pointer(addr))) -} -func VariantdvEXT(id uint32, addr *float64) { - C.glowVariantdvEXT(gpVariantdvEXT, (C.GLuint)(id), (*C.GLdouble)(unsafe.Pointer(addr))) -} -func VariantfvEXT(id uint32, addr *float32) { - C.glowVariantfvEXT(gpVariantfvEXT, (C.GLuint)(id), (*C.GLfloat)(unsafe.Pointer(addr))) -} -func VariantivEXT(id uint32, addr *int32) { - C.glowVariantivEXT(gpVariantivEXT, (C.GLuint)(id), (*C.GLint)(unsafe.Pointer(addr))) -} -func VariantsvEXT(id uint32, addr *int16) { - C.glowVariantsvEXT(gpVariantsvEXT, (C.GLuint)(id), (*C.GLshort)(unsafe.Pointer(addr))) -} -func VariantubvEXT(id uint32, addr *uint8) { - C.glowVariantubvEXT(gpVariantubvEXT, (C.GLuint)(id), (*C.GLubyte)(unsafe.Pointer(addr))) -} -func VariantuivEXT(id uint32, addr *uint32) { - C.glowVariantuivEXT(gpVariantuivEXT, (C.GLuint)(id), (*C.GLuint)(unsafe.Pointer(addr))) -} -func VariantusvEXT(id uint32, addr *uint16) { - C.glowVariantusvEXT(gpVariantusvEXT, (C.GLuint)(id), (*C.GLushort)(unsafe.Pointer(addr))) -} -func Vertex2bOES(x int8, y int8) { - C.glowVertex2bOES(gpVertex2bOES, (C.GLbyte)(x), (C.GLbyte)(y)) -} -func Vertex2bvOES(coords *int8) { - C.glowVertex2bvOES(gpVertex2bvOES, (*C.GLbyte)(unsafe.Pointer(coords))) -} -func Vertex2d(x float64, y float64) { - C.glowVertex2d(gpVertex2d, (C.GLdouble)(x), (C.GLdouble)(y)) -} -func Vertex2dv(v *float64) { - C.glowVertex2dv(gpVertex2dv, (*C.GLdouble)(unsafe.Pointer(v))) -} -func Vertex2f(x float32, y float32) { - C.glowVertex2f(gpVertex2f, (C.GLfloat)(x), (C.GLfloat)(y)) -} -func Vertex2fv(v *float32) { - C.glowVertex2fv(gpVertex2fv, (*C.GLfloat)(unsafe.Pointer(v))) -} -func Vertex2hNV(x uint16, y uint16) { - C.glowVertex2hNV(gpVertex2hNV, (C.GLhalfNV)(x), (C.GLhalfNV)(y)) -} -func Vertex2hvNV(v *uint16) { - C.glowVertex2hvNV(gpVertex2hvNV, (*C.GLhalfNV)(unsafe.Pointer(v))) -} -func Vertex2i(x int32, y int32) { - C.glowVertex2i(gpVertex2i, (C.GLint)(x), (C.GLint)(y)) -} -func Vertex2iv(v *int32) { - C.glowVertex2iv(gpVertex2iv, (*C.GLint)(unsafe.Pointer(v))) -} -func Vertex2s(x int16, y int16) { - C.glowVertex2s(gpVertex2s, (C.GLshort)(x), (C.GLshort)(y)) -} -func Vertex2sv(v *int16) { - C.glowVertex2sv(gpVertex2sv, (*C.GLshort)(unsafe.Pointer(v))) -} -func Vertex2xOES(x int32) { - C.glowVertex2xOES(gpVertex2xOES, (C.GLfixed)(x)) -} -func Vertex2xvOES(coords *int32) { - C.glowVertex2xvOES(gpVertex2xvOES, (*C.GLfixed)(unsafe.Pointer(coords))) -} -func Vertex3bOES(x int8, y int8, z int8) { - C.glowVertex3bOES(gpVertex3bOES, (C.GLbyte)(x), (C.GLbyte)(y), (C.GLbyte)(z)) -} -func Vertex3bvOES(coords *int8) { - C.glowVertex3bvOES(gpVertex3bvOES, (*C.GLbyte)(unsafe.Pointer(coords))) -} -func Vertex3d(x float64, y float64, z float64) { - C.glowVertex3d(gpVertex3d, (C.GLdouble)(x), (C.GLdouble)(y), (C.GLdouble)(z)) -} -func Vertex3dv(v *float64) { - C.glowVertex3dv(gpVertex3dv, (*C.GLdouble)(unsafe.Pointer(v))) -} -func Vertex3f(x float32, y float32, z float32) { - C.glowVertex3f(gpVertex3f, (C.GLfloat)(x), (C.GLfloat)(y), (C.GLfloat)(z)) -} -func Vertex3fv(v *float32) { - C.glowVertex3fv(gpVertex3fv, (*C.GLfloat)(unsafe.Pointer(v))) -} -func Vertex3hNV(x uint16, y uint16, z uint16) { - C.glowVertex3hNV(gpVertex3hNV, (C.GLhalfNV)(x), (C.GLhalfNV)(y), (C.GLhalfNV)(z)) -} -func Vertex3hvNV(v *uint16) { - C.glowVertex3hvNV(gpVertex3hvNV, (*C.GLhalfNV)(unsafe.Pointer(v))) -} -func Vertex3i(x int32, y int32, z int32) { - C.glowVertex3i(gpVertex3i, (C.GLint)(x), (C.GLint)(y), (C.GLint)(z)) -} -func Vertex3iv(v *int32) { - C.glowVertex3iv(gpVertex3iv, (*C.GLint)(unsafe.Pointer(v))) -} -func Vertex3s(x int16, y int16, z int16) { - C.glowVertex3s(gpVertex3s, (C.GLshort)(x), (C.GLshort)(y), (C.GLshort)(z)) -} -func Vertex3sv(v *int16) { - C.glowVertex3sv(gpVertex3sv, (*C.GLshort)(unsafe.Pointer(v))) -} -func Vertex3xOES(x int32, y int32) { - C.glowVertex3xOES(gpVertex3xOES, (C.GLfixed)(x), (C.GLfixed)(y)) -} -func Vertex3xvOES(coords *int32) { - C.glowVertex3xvOES(gpVertex3xvOES, (*C.GLfixed)(unsafe.Pointer(coords))) -} -func Vertex4bOES(x int8, y int8, z int8, w int8) { - C.glowVertex4bOES(gpVertex4bOES, (C.GLbyte)(x), (C.GLbyte)(y), (C.GLbyte)(z), (C.GLbyte)(w)) -} -func Vertex4bvOES(coords *int8) { - C.glowVertex4bvOES(gpVertex4bvOES, (*C.GLbyte)(unsafe.Pointer(coords))) -} -func Vertex4d(x float64, y float64, z float64, w float64) { - C.glowVertex4d(gpVertex4d, (C.GLdouble)(x), (C.GLdouble)(y), (C.GLdouble)(z), (C.GLdouble)(w)) -} -func Vertex4dv(v *float64) { - C.glowVertex4dv(gpVertex4dv, (*C.GLdouble)(unsafe.Pointer(v))) -} -func Vertex4f(x float32, y float32, z float32, w float32) { - C.glowVertex4f(gpVertex4f, (C.GLfloat)(x), (C.GLfloat)(y), (C.GLfloat)(z), (C.GLfloat)(w)) -} -func Vertex4fv(v *float32) { - C.glowVertex4fv(gpVertex4fv, (*C.GLfloat)(unsafe.Pointer(v))) -} -func Vertex4hNV(x uint16, y uint16, z uint16, w uint16) { - C.glowVertex4hNV(gpVertex4hNV, (C.GLhalfNV)(x), (C.GLhalfNV)(y), (C.GLhalfNV)(z), (C.GLhalfNV)(w)) -} -func Vertex4hvNV(v *uint16) { - C.glowVertex4hvNV(gpVertex4hvNV, (*C.GLhalfNV)(unsafe.Pointer(v))) -} -func Vertex4i(x int32, y int32, z int32, w int32) { - C.glowVertex4i(gpVertex4i, (C.GLint)(x), (C.GLint)(y), (C.GLint)(z), (C.GLint)(w)) -} -func Vertex4iv(v *int32) { - C.glowVertex4iv(gpVertex4iv, (*C.GLint)(unsafe.Pointer(v))) -} -func Vertex4s(x int16, y int16, z int16, w int16) { - C.glowVertex4s(gpVertex4s, (C.GLshort)(x), (C.GLshort)(y), (C.GLshort)(z), (C.GLshort)(w)) -} -func Vertex4sv(v *int16) { - C.glowVertex4sv(gpVertex4sv, (*C.GLshort)(unsafe.Pointer(v))) -} -func Vertex4xOES(x int32, y int32, z int32) { - C.glowVertex4xOES(gpVertex4xOES, (C.GLfixed)(x), (C.GLfixed)(y), (C.GLfixed)(z)) -} -func Vertex4xvOES(coords *int32) { - C.glowVertex4xvOES(gpVertex4xvOES, (*C.GLfixed)(unsafe.Pointer(coords))) -} -func VertexArrayAttribBinding(vaobj uint32, attribindex uint32, bindingindex uint32) { - C.glowVertexArrayAttribBinding(gpVertexArrayAttribBinding, (C.GLuint)(vaobj), (C.GLuint)(attribindex), (C.GLuint)(bindingindex)) -} - -// specify the organization of vertex arrays -func VertexArrayAttribFormat(vaobj uint32, attribindex uint32, size int32, xtype uint32, normalized bool, relativeoffset uint32) { - C.glowVertexArrayAttribFormat(gpVertexArrayAttribFormat, (C.GLuint)(vaobj), (C.GLuint)(attribindex), (C.GLint)(size), (C.GLenum)(xtype), (C.GLboolean)(boolToInt(normalized)), (C.GLuint)(relativeoffset)) -} -func VertexArrayAttribIFormat(vaobj uint32, attribindex uint32, size int32, xtype uint32, relativeoffset uint32) { - C.glowVertexArrayAttribIFormat(gpVertexArrayAttribIFormat, (C.GLuint)(vaobj), (C.GLuint)(attribindex), (C.GLint)(size), (C.GLenum)(xtype), (C.GLuint)(relativeoffset)) -} -func VertexArrayAttribLFormat(vaobj uint32, attribindex uint32, size int32, xtype uint32, relativeoffset uint32) { - C.glowVertexArrayAttribLFormat(gpVertexArrayAttribLFormat, (C.GLuint)(vaobj), (C.GLuint)(attribindex), (C.GLint)(size), (C.GLenum)(xtype), (C.GLuint)(relativeoffset)) -} -func VertexArrayBindVertexBufferEXT(vaobj uint32, bindingindex uint32, buffer uint32, offset int, stride int32) { - C.glowVertexArrayBindVertexBufferEXT(gpVertexArrayBindVertexBufferEXT, (C.GLuint)(vaobj), (C.GLuint)(bindingindex), (C.GLuint)(buffer), (C.GLintptr)(offset), (C.GLsizei)(stride)) -} - -// modify the rate at which generic vertex attributes advance -func VertexArrayBindingDivisor(vaobj uint32, bindingindex uint32, divisor uint32) { - C.glowVertexArrayBindingDivisor(gpVertexArrayBindingDivisor, (C.GLuint)(vaobj), (C.GLuint)(bindingindex), (C.GLuint)(divisor)) -} -func VertexArrayColorOffsetEXT(vaobj uint32, buffer uint32, size int32, xtype uint32, stride int32, offset int) { - C.glowVertexArrayColorOffsetEXT(gpVertexArrayColorOffsetEXT, (C.GLuint)(vaobj), (C.GLuint)(buffer), (C.GLint)(size), (C.GLenum)(xtype), (C.GLsizei)(stride), (C.GLintptr)(offset)) -} -func VertexArrayEdgeFlagOffsetEXT(vaobj uint32, buffer uint32, stride int32, offset int) { - C.glowVertexArrayEdgeFlagOffsetEXT(gpVertexArrayEdgeFlagOffsetEXT, (C.GLuint)(vaobj), (C.GLuint)(buffer), (C.GLsizei)(stride), (C.GLintptr)(offset)) -} - -// configures element array buffer binding of a vertex array object -func VertexArrayElementBuffer(vaobj uint32, buffer uint32) { - C.glowVertexArrayElementBuffer(gpVertexArrayElementBuffer, (C.GLuint)(vaobj), (C.GLuint)(buffer)) -} -func VertexArrayFogCoordOffsetEXT(vaobj uint32, buffer uint32, xtype uint32, stride int32, offset int) { - C.glowVertexArrayFogCoordOffsetEXT(gpVertexArrayFogCoordOffsetEXT, (C.GLuint)(vaobj), (C.GLuint)(buffer), (C.GLenum)(xtype), (C.GLsizei)(stride), (C.GLintptr)(offset)) -} -func VertexArrayIndexOffsetEXT(vaobj uint32, buffer uint32, xtype uint32, stride int32, offset int) { - C.glowVertexArrayIndexOffsetEXT(gpVertexArrayIndexOffsetEXT, (C.GLuint)(vaobj), (C.GLuint)(buffer), (C.GLenum)(xtype), (C.GLsizei)(stride), (C.GLintptr)(offset)) -} -func VertexArrayMultiTexCoordOffsetEXT(vaobj uint32, buffer uint32, texunit uint32, size int32, xtype uint32, stride int32, offset int) { - C.glowVertexArrayMultiTexCoordOffsetEXT(gpVertexArrayMultiTexCoordOffsetEXT, (C.GLuint)(vaobj), (C.GLuint)(buffer), (C.GLenum)(texunit), (C.GLint)(size), (C.GLenum)(xtype), (C.GLsizei)(stride), (C.GLintptr)(offset)) -} -func VertexArrayNormalOffsetEXT(vaobj uint32, buffer uint32, xtype uint32, stride int32, offset int) { - C.glowVertexArrayNormalOffsetEXT(gpVertexArrayNormalOffsetEXT, (C.GLuint)(vaobj), (C.GLuint)(buffer), (C.GLenum)(xtype), (C.GLsizei)(stride), (C.GLintptr)(offset)) -} -func VertexArrayParameteriAPPLE(pname uint32, param int32) { - C.glowVertexArrayParameteriAPPLE(gpVertexArrayParameteriAPPLE, (C.GLenum)(pname), (C.GLint)(param)) -} -func VertexArrayRangeAPPLE(length int32, pointer unsafe.Pointer) { - C.glowVertexArrayRangeAPPLE(gpVertexArrayRangeAPPLE, (C.GLsizei)(length), pointer) -} -func VertexArrayRangeNV(length int32, pointer unsafe.Pointer) { - C.glowVertexArrayRangeNV(gpVertexArrayRangeNV, (C.GLsizei)(length), pointer) -} -func VertexArraySecondaryColorOffsetEXT(vaobj uint32, buffer uint32, size int32, xtype uint32, stride int32, offset int) { - C.glowVertexArraySecondaryColorOffsetEXT(gpVertexArraySecondaryColorOffsetEXT, (C.GLuint)(vaobj), (C.GLuint)(buffer), (C.GLint)(size), (C.GLenum)(xtype), (C.GLsizei)(stride), (C.GLintptr)(offset)) -} -func VertexArrayTexCoordOffsetEXT(vaobj uint32, buffer uint32, size int32, xtype uint32, stride int32, offset int) { - C.glowVertexArrayTexCoordOffsetEXT(gpVertexArrayTexCoordOffsetEXT, (C.GLuint)(vaobj), (C.GLuint)(buffer), (C.GLint)(size), (C.GLenum)(xtype), (C.GLsizei)(stride), (C.GLintptr)(offset)) -} -func VertexArrayVertexAttribBindingEXT(vaobj uint32, attribindex uint32, bindingindex uint32) { - C.glowVertexArrayVertexAttribBindingEXT(gpVertexArrayVertexAttribBindingEXT, (C.GLuint)(vaobj), (C.GLuint)(attribindex), (C.GLuint)(bindingindex)) -} -func VertexArrayVertexAttribDivisorEXT(vaobj uint32, index uint32, divisor uint32) { - C.glowVertexArrayVertexAttribDivisorEXT(gpVertexArrayVertexAttribDivisorEXT, (C.GLuint)(vaobj), (C.GLuint)(index), (C.GLuint)(divisor)) -} -func VertexArrayVertexAttribFormatEXT(vaobj uint32, attribindex uint32, size int32, xtype uint32, normalized bool, relativeoffset uint32) { - C.glowVertexArrayVertexAttribFormatEXT(gpVertexArrayVertexAttribFormatEXT, (C.GLuint)(vaobj), (C.GLuint)(attribindex), (C.GLint)(size), (C.GLenum)(xtype), (C.GLboolean)(boolToInt(normalized)), (C.GLuint)(relativeoffset)) -} -func VertexArrayVertexAttribIFormatEXT(vaobj uint32, attribindex uint32, size int32, xtype uint32, relativeoffset uint32) { - C.glowVertexArrayVertexAttribIFormatEXT(gpVertexArrayVertexAttribIFormatEXT, (C.GLuint)(vaobj), (C.GLuint)(attribindex), (C.GLint)(size), (C.GLenum)(xtype), (C.GLuint)(relativeoffset)) -} -func VertexArrayVertexAttribIOffsetEXT(vaobj uint32, buffer uint32, index uint32, size int32, xtype uint32, stride int32, offset int) { - C.glowVertexArrayVertexAttribIOffsetEXT(gpVertexArrayVertexAttribIOffsetEXT, (C.GLuint)(vaobj), (C.GLuint)(buffer), (C.GLuint)(index), (C.GLint)(size), (C.GLenum)(xtype), (C.GLsizei)(stride), (C.GLintptr)(offset)) -} -func VertexArrayVertexAttribLFormatEXT(vaobj uint32, attribindex uint32, size int32, xtype uint32, relativeoffset uint32) { - C.glowVertexArrayVertexAttribLFormatEXT(gpVertexArrayVertexAttribLFormatEXT, (C.GLuint)(vaobj), (C.GLuint)(attribindex), (C.GLint)(size), (C.GLenum)(xtype), (C.GLuint)(relativeoffset)) -} -func VertexArrayVertexAttribLOffsetEXT(vaobj uint32, buffer uint32, index uint32, size int32, xtype uint32, stride int32, offset int) { - C.glowVertexArrayVertexAttribLOffsetEXT(gpVertexArrayVertexAttribLOffsetEXT, (C.GLuint)(vaobj), (C.GLuint)(buffer), (C.GLuint)(index), (C.GLint)(size), (C.GLenum)(xtype), (C.GLsizei)(stride), (C.GLintptr)(offset)) -} -func VertexArrayVertexAttribOffsetEXT(vaobj uint32, buffer uint32, index uint32, size int32, xtype uint32, normalized bool, stride int32, offset int) { - C.glowVertexArrayVertexAttribOffsetEXT(gpVertexArrayVertexAttribOffsetEXT, (C.GLuint)(vaobj), (C.GLuint)(buffer), (C.GLuint)(index), (C.GLint)(size), (C.GLenum)(xtype), (C.GLboolean)(boolToInt(normalized)), (C.GLsizei)(stride), (C.GLintptr)(offset)) -} -func VertexArrayVertexBindingDivisorEXT(vaobj uint32, bindingindex uint32, divisor uint32) { - C.glowVertexArrayVertexBindingDivisorEXT(gpVertexArrayVertexBindingDivisorEXT, (C.GLuint)(vaobj), (C.GLuint)(bindingindex), (C.GLuint)(divisor)) -} - -// bind a buffer to a vertex buffer bind point -func VertexArrayVertexBuffer(vaobj uint32, bindingindex uint32, buffer uint32, offset int, stride int32) { - C.glowVertexArrayVertexBuffer(gpVertexArrayVertexBuffer, (C.GLuint)(vaobj), (C.GLuint)(bindingindex), (C.GLuint)(buffer), (C.GLintptr)(offset), (C.GLsizei)(stride)) -} - -// attach multiple buffer objects to a vertex array object -func VertexArrayVertexBuffers(vaobj uint32, first uint32, count int32, buffers *uint32, offsets *int, strides *int32) { - C.glowVertexArrayVertexBuffers(gpVertexArrayVertexBuffers, (C.GLuint)(vaobj), (C.GLuint)(first), (C.GLsizei)(count), (*C.GLuint)(unsafe.Pointer(buffers)), (*C.GLintptr)(unsafe.Pointer(offsets)), (*C.GLsizei)(unsafe.Pointer(strides))) -} -func VertexArrayVertexOffsetEXT(vaobj uint32, buffer uint32, size int32, xtype uint32, stride int32, offset int) { - C.glowVertexArrayVertexOffsetEXT(gpVertexArrayVertexOffsetEXT, (C.GLuint)(vaobj), (C.GLuint)(buffer), (C.GLint)(size), (C.GLenum)(xtype), (C.GLsizei)(stride), (C.GLintptr)(offset)) -} -func VertexAttrib1d(index uint32, x float64) { - C.glowVertexAttrib1d(gpVertexAttrib1d, (C.GLuint)(index), (C.GLdouble)(x)) -} -func VertexAttrib1dARB(index uint32, x float64) { - C.glowVertexAttrib1dARB(gpVertexAttrib1dARB, (C.GLuint)(index), (C.GLdouble)(x)) -} -func VertexAttrib1dNV(index uint32, x float64) { - C.glowVertexAttrib1dNV(gpVertexAttrib1dNV, (C.GLuint)(index), (C.GLdouble)(x)) -} -func VertexAttrib1dv(index uint32, v *float64) { - C.glowVertexAttrib1dv(gpVertexAttrib1dv, (C.GLuint)(index), (*C.GLdouble)(unsafe.Pointer(v))) -} -func VertexAttrib1dvARB(index uint32, v *float64) { - C.glowVertexAttrib1dvARB(gpVertexAttrib1dvARB, (C.GLuint)(index), (*C.GLdouble)(unsafe.Pointer(v))) -} -func VertexAttrib1dvNV(index uint32, v *float64) { - C.glowVertexAttrib1dvNV(gpVertexAttrib1dvNV, (C.GLuint)(index), (*C.GLdouble)(unsafe.Pointer(v))) -} -func VertexAttrib1f(index uint32, x float32) { - C.glowVertexAttrib1f(gpVertexAttrib1f, (C.GLuint)(index), (C.GLfloat)(x)) -} -func VertexAttrib1fARB(index uint32, x float32) { - C.glowVertexAttrib1fARB(gpVertexAttrib1fARB, (C.GLuint)(index), (C.GLfloat)(x)) -} -func VertexAttrib1fNV(index uint32, x float32) { - C.glowVertexAttrib1fNV(gpVertexAttrib1fNV, (C.GLuint)(index), (C.GLfloat)(x)) -} -func VertexAttrib1fv(index uint32, v *float32) { - C.glowVertexAttrib1fv(gpVertexAttrib1fv, (C.GLuint)(index), (*C.GLfloat)(unsafe.Pointer(v))) -} -func VertexAttrib1fvARB(index uint32, v *float32) { - C.glowVertexAttrib1fvARB(gpVertexAttrib1fvARB, (C.GLuint)(index), (*C.GLfloat)(unsafe.Pointer(v))) -} -func VertexAttrib1fvNV(index uint32, v *float32) { - C.glowVertexAttrib1fvNV(gpVertexAttrib1fvNV, (C.GLuint)(index), (*C.GLfloat)(unsafe.Pointer(v))) -} -func VertexAttrib1hNV(index uint32, x uint16) { - C.glowVertexAttrib1hNV(gpVertexAttrib1hNV, (C.GLuint)(index), (C.GLhalfNV)(x)) -} -func VertexAttrib1hvNV(index uint32, v *uint16) { - C.glowVertexAttrib1hvNV(gpVertexAttrib1hvNV, (C.GLuint)(index), (*C.GLhalfNV)(unsafe.Pointer(v))) -} -func VertexAttrib1s(index uint32, x int16) { - C.glowVertexAttrib1s(gpVertexAttrib1s, (C.GLuint)(index), (C.GLshort)(x)) -} -func VertexAttrib1sARB(index uint32, x int16) { - C.glowVertexAttrib1sARB(gpVertexAttrib1sARB, (C.GLuint)(index), (C.GLshort)(x)) -} -func VertexAttrib1sNV(index uint32, x int16) { - C.glowVertexAttrib1sNV(gpVertexAttrib1sNV, (C.GLuint)(index), (C.GLshort)(x)) -} -func VertexAttrib1sv(index uint32, v *int16) { - C.glowVertexAttrib1sv(gpVertexAttrib1sv, (C.GLuint)(index), (*C.GLshort)(unsafe.Pointer(v))) -} -func VertexAttrib1svARB(index uint32, v *int16) { - C.glowVertexAttrib1svARB(gpVertexAttrib1svARB, (C.GLuint)(index), (*C.GLshort)(unsafe.Pointer(v))) -} -func VertexAttrib1svNV(index uint32, v *int16) { - C.glowVertexAttrib1svNV(gpVertexAttrib1svNV, (C.GLuint)(index), (*C.GLshort)(unsafe.Pointer(v))) -} -func VertexAttrib2d(index uint32, x float64, y float64) { - C.glowVertexAttrib2d(gpVertexAttrib2d, (C.GLuint)(index), (C.GLdouble)(x), (C.GLdouble)(y)) -} -func VertexAttrib2dARB(index uint32, x float64, y float64) { - C.glowVertexAttrib2dARB(gpVertexAttrib2dARB, (C.GLuint)(index), (C.GLdouble)(x), (C.GLdouble)(y)) -} -func VertexAttrib2dNV(index uint32, x float64, y float64) { - C.glowVertexAttrib2dNV(gpVertexAttrib2dNV, (C.GLuint)(index), (C.GLdouble)(x), (C.GLdouble)(y)) -} -func VertexAttrib2dv(index uint32, v *float64) { - C.glowVertexAttrib2dv(gpVertexAttrib2dv, (C.GLuint)(index), (*C.GLdouble)(unsafe.Pointer(v))) -} -func VertexAttrib2dvARB(index uint32, v *float64) { - C.glowVertexAttrib2dvARB(gpVertexAttrib2dvARB, (C.GLuint)(index), (*C.GLdouble)(unsafe.Pointer(v))) -} -func VertexAttrib2dvNV(index uint32, v *float64) { - C.glowVertexAttrib2dvNV(gpVertexAttrib2dvNV, (C.GLuint)(index), (*C.GLdouble)(unsafe.Pointer(v))) -} -func VertexAttrib2f(index uint32, x float32, y float32) { - C.glowVertexAttrib2f(gpVertexAttrib2f, (C.GLuint)(index), (C.GLfloat)(x), (C.GLfloat)(y)) -} -func VertexAttrib2fARB(index uint32, x float32, y float32) { - C.glowVertexAttrib2fARB(gpVertexAttrib2fARB, (C.GLuint)(index), (C.GLfloat)(x), (C.GLfloat)(y)) -} -func VertexAttrib2fNV(index uint32, x float32, y float32) { - C.glowVertexAttrib2fNV(gpVertexAttrib2fNV, (C.GLuint)(index), (C.GLfloat)(x), (C.GLfloat)(y)) -} -func VertexAttrib2fv(index uint32, v *float32) { - C.glowVertexAttrib2fv(gpVertexAttrib2fv, (C.GLuint)(index), (*C.GLfloat)(unsafe.Pointer(v))) -} -func VertexAttrib2fvARB(index uint32, v *float32) { - C.glowVertexAttrib2fvARB(gpVertexAttrib2fvARB, (C.GLuint)(index), (*C.GLfloat)(unsafe.Pointer(v))) -} -func VertexAttrib2fvNV(index uint32, v *float32) { - C.glowVertexAttrib2fvNV(gpVertexAttrib2fvNV, (C.GLuint)(index), (*C.GLfloat)(unsafe.Pointer(v))) -} -func VertexAttrib2hNV(index uint32, x uint16, y uint16) { - C.glowVertexAttrib2hNV(gpVertexAttrib2hNV, (C.GLuint)(index), (C.GLhalfNV)(x), (C.GLhalfNV)(y)) -} -func VertexAttrib2hvNV(index uint32, v *uint16) { - C.glowVertexAttrib2hvNV(gpVertexAttrib2hvNV, (C.GLuint)(index), (*C.GLhalfNV)(unsafe.Pointer(v))) -} -func VertexAttrib2s(index uint32, x int16, y int16) { - C.glowVertexAttrib2s(gpVertexAttrib2s, (C.GLuint)(index), (C.GLshort)(x), (C.GLshort)(y)) -} -func VertexAttrib2sARB(index uint32, x int16, y int16) { - C.glowVertexAttrib2sARB(gpVertexAttrib2sARB, (C.GLuint)(index), (C.GLshort)(x), (C.GLshort)(y)) -} -func VertexAttrib2sNV(index uint32, x int16, y int16) { - C.glowVertexAttrib2sNV(gpVertexAttrib2sNV, (C.GLuint)(index), (C.GLshort)(x), (C.GLshort)(y)) -} -func VertexAttrib2sv(index uint32, v *int16) { - C.glowVertexAttrib2sv(gpVertexAttrib2sv, (C.GLuint)(index), (*C.GLshort)(unsafe.Pointer(v))) -} -func VertexAttrib2svARB(index uint32, v *int16) { - C.glowVertexAttrib2svARB(gpVertexAttrib2svARB, (C.GLuint)(index), (*C.GLshort)(unsafe.Pointer(v))) -} -func VertexAttrib2svNV(index uint32, v *int16) { - C.glowVertexAttrib2svNV(gpVertexAttrib2svNV, (C.GLuint)(index), (*C.GLshort)(unsafe.Pointer(v))) -} -func VertexAttrib3d(index uint32, x float64, y float64, z float64) { - C.glowVertexAttrib3d(gpVertexAttrib3d, (C.GLuint)(index), (C.GLdouble)(x), (C.GLdouble)(y), (C.GLdouble)(z)) -} -func VertexAttrib3dARB(index uint32, x float64, y float64, z float64) { - C.glowVertexAttrib3dARB(gpVertexAttrib3dARB, (C.GLuint)(index), (C.GLdouble)(x), (C.GLdouble)(y), (C.GLdouble)(z)) -} -func VertexAttrib3dNV(index uint32, x float64, y float64, z float64) { - C.glowVertexAttrib3dNV(gpVertexAttrib3dNV, (C.GLuint)(index), (C.GLdouble)(x), (C.GLdouble)(y), (C.GLdouble)(z)) -} -func VertexAttrib3dv(index uint32, v *float64) { - C.glowVertexAttrib3dv(gpVertexAttrib3dv, (C.GLuint)(index), (*C.GLdouble)(unsafe.Pointer(v))) -} -func VertexAttrib3dvARB(index uint32, v *float64) { - C.glowVertexAttrib3dvARB(gpVertexAttrib3dvARB, (C.GLuint)(index), (*C.GLdouble)(unsafe.Pointer(v))) -} -func VertexAttrib3dvNV(index uint32, v *float64) { - C.glowVertexAttrib3dvNV(gpVertexAttrib3dvNV, (C.GLuint)(index), (*C.GLdouble)(unsafe.Pointer(v))) -} -func VertexAttrib3f(index uint32, x float32, y float32, z float32) { - C.glowVertexAttrib3f(gpVertexAttrib3f, (C.GLuint)(index), (C.GLfloat)(x), (C.GLfloat)(y), (C.GLfloat)(z)) -} -func VertexAttrib3fARB(index uint32, x float32, y float32, z float32) { - C.glowVertexAttrib3fARB(gpVertexAttrib3fARB, (C.GLuint)(index), (C.GLfloat)(x), (C.GLfloat)(y), (C.GLfloat)(z)) -} -func VertexAttrib3fNV(index uint32, x float32, y float32, z float32) { - C.glowVertexAttrib3fNV(gpVertexAttrib3fNV, (C.GLuint)(index), (C.GLfloat)(x), (C.GLfloat)(y), (C.GLfloat)(z)) -} -func VertexAttrib3fv(index uint32, v *float32) { - C.glowVertexAttrib3fv(gpVertexAttrib3fv, (C.GLuint)(index), (*C.GLfloat)(unsafe.Pointer(v))) -} -func VertexAttrib3fvARB(index uint32, v *float32) { - C.glowVertexAttrib3fvARB(gpVertexAttrib3fvARB, (C.GLuint)(index), (*C.GLfloat)(unsafe.Pointer(v))) -} -func VertexAttrib3fvNV(index uint32, v *float32) { - C.glowVertexAttrib3fvNV(gpVertexAttrib3fvNV, (C.GLuint)(index), (*C.GLfloat)(unsafe.Pointer(v))) -} -func VertexAttrib3hNV(index uint32, x uint16, y uint16, z uint16) { - C.glowVertexAttrib3hNV(gpVertexAttrib3hNV, (C.GLuint)(index), (C.GLhalfNV)(x), (C.GLhalfNV)(y), (C.GLhalfNV)(z)) -} -func VertexAttrib3hvNV(index uint32, v *uint16) { - C.glowVertexAttrib3hvNV(gpVertexAttrib3hvNV, (C.GLuint)(index), (*C.GLhalfNV)(unsafe.Pointer(v))) -} -func VertexAttrib3s(index uint32, x int16, y int16, z int16) { - C.glowVertexAttrib3s(gpVertexAttrib3s, (C.GLuint)(index), (C.GLshort)(x), (C.GLshort)(y), (C.GLshort)(z)) -} -func VertexAttrib3sARB(index uint32, x int16, y int16, z int16) { - C.glowVertexAttrib3sARB(gpVertexAttrib3sARB, (C.GLuint)(index), (C.GLshort)(x), (C.GLshort)(y), (C.GLshort)(z)) -} -func VertexAttrib3sNV(index uint32, x int16, y int16, z int16) { - C.glowVertexAttrib3sNV(gpVertexAttrib3sNV, (C.GLuint)(index), (C.GLshort)(x), (C.GLshort)(y), (C.GLshort)(z)) -} -func VertexAttrib3sv(index uint32, v *int16) { - C.glowVertexAttrib3sv(gpVertexAttrib3sv, (C.GLuint)(index), (*C.GLshort)(unsafe.Pointer(v))) -} -func VertexAttrib3svARB(index uint32, v *int16) { - C.glowVertexAttrib3svARB(gpVertexAttrib3svARB, (C.GLuint)(index), (*C.GLshort)(unsafe.Pointer(v))) -} -func VertexAttrib3svNV(index uint32, v *int16) { - C.glowVertexAttrib3svNV(gpVertexAttrib3svNV, (C.GLuint)(index), (*C.GLshort)(unsafe.Pointer(v))) -} -func VertexAttrib4Nbv(index uint32, v *int8) { - C.glowVertexAttrib4Nbv(gpVertexAttrib4Nbv, (C.GLuint)(index), (*C.GLbyte)(unsafe.Pointer(v))) -} -func VertexAttrib4NbvARB(index uint32, v *int8) { - C.glowVertexAttrib4NbvARB(gpVertexAttrib4NbvARB, (C.GLuint)(index), (*C.GLbyte)(unsafe.Pointer(v))) -} -func VertexAttrib4Niv(index uint32, v *int32) { - C.glowVertexAttrib4Niv(gpVertexAttrib4Niv, (C.GLuint)(index), (*C.GLint)(unsafe.Pointer(v))) -} -func VertexAttrib4NivARB(index uint32, v *int32) { - C.glowVertexAttrib4NivARB(gpVertexAttrib4NivARB, (C.GLuint)(index), (*C.GLint)(unsafe.Pointer(v))) -} -func VertexAttrib4Nsv(index uint32, v *int16) { - C.glowVertexAttrib4Nsv(gpVertexAttrib4Nsv, (C.GLuint)(index), (*C.GLshort)(unsafe.Pointer(v))) -} -func VertexAttrib4NsvARB(index uint32, v *int16) { - C.glowVertexAttrib4NsvARB(gpVertexAttrib4NsvARB, (C.GLuint)(index), (*C.GLshort)(unsafe.Pointer(v))) -} -func VertexAttrib4Nub(index uint32, x uint8, y uint8, z uint8, w uint8) { - C.glowVertexAttrib4Nub(gpVertexAttrib4Nub, (C.GLuint)(index), (C.GLubyte)(x), (C.GLubyte)(y), (C.GLubyte)(z), (C.GLubyte)(w)) -} -func VertexAttrib4NubARB(index uint32, x uint8, y uint8, z uint8, w uint8) { - C.glowVertexAttrib4NubARB(gpVertexAttrib4NubARB, (C.GLuint)(index), (C.GLubyte)(x), (C.GLubyte)(y), (C.GLubyte)(z), (C.GLubyte)(w)) -} -func VertexAttrib4Nubv(index uint32, v *uint8) { - C.glowVertexAttrib4Nubv(gpVertexAttrib4Nubv, (C.GLuint)(index), (*C.GLubyte)(unsafe.Pointer(v))) -} -func VertexAttrib4NubvARB(index uint32, v *uint8) { - C.glowVertexAttrib4NubvARB(gpVertexAttrib4NubvARB, (C.GLuint)(index), (*C.GLubyte)(unsafe.Pointer(v))) -} -func VertexAttrib4Nuiv(index uint32, v *uint32) { - C.glowVertexAttrib4Nuiv(gpVertexAttrib4Nuiv, (C.GLuint)(index), (*C.GLuint)(unsafe.Pointer(v))) -} -func VertexAttrib4NuivARB(index uint32, v *uint32) { - C.glowVertexAttrib4NuivARB(gpVertexAttrib4NuivARB, (C.GLuint)(index), (*C.GLuint)(unsafe.Pointer(v))) -} -func VertexAttrib4Nusv(index uint32, v *uint16) { - C.glowVertexAttrib4Nusv(gpVertexAttrib4Nusv, (C.GLuint)(index), (*C.GLushort)(unsafe.Pointer(v))) -} -func VertexAttrib4NusvARB(index uint32, v *uint16) { - C.glowVertexAttrib4NusvARB(gpVertexAttrib4NusvARB, (C.GLuint)(index), (*C.GLushort)(unsafe.Pointer(v))) -} -func VertexAttrib4bv(index uint32, v *int8) { - C.glowVertexAttrib4bv(gpVertexAttrib4bv, (C.GLuint)(index), (*C.GLbyte)(unsafe.Pointer(v))) -} -func VertexAttrib4bvARB(index uint32, v *int8) { - C.glowVertexAttrib4bvARB(gpVertexAttrib4bvARB, (C.GLuint)(index), (*C.GLbyte)(unsafe.Pointer(v))) -} -func VertexAttrib4d(index uint32, x float64, y float64, z float64, w float64) { - C.glowVertexAttrib4d(gpVertexAttrib4d, (C.GLuint)(index), (C.GLdouble)(x), (C.GLdouble)(y), (C.GLdouble)(z), (C.GLdouble)(w)) -} -func VertexAttrib4dARB(index uint32, x float64, y float64, z float64, w float64) { - C.glowVertexAttrib4dARB(gpVertexAttrib4dARB, (C.GLuint)(index), (C.GLdouble)(x), (C.GLdouble)(y), (C.GLdouble)(z), (C.GLdouble)(w)) -} -func VertexAttrib4dNV(index uint32, x float64, y float64, z float64, w float64) { - C.glowVertexAttrib4dNV(gpVertexAttrib4dNV, (C.GLuint)(index), (C.GLdouble)(x), (C.GLdouble)(y), (C.GLdouble)(z), (C.GLdouble)(w)) -} -func VertexAttrib4dv(index uint32, v *float64) { - C.glowVertexAttrib4dv(gpVertexAttrib4dv, (C.GLuint)(index), (*C.GLdouble)(unsafe.Pointer(v))) -} -func VertexAttrib4dvARB(index uint32, v *float64) { - C.glowVertexAttrib4dvARB(gpVertexAttrib4dvARB, (C.GLuint)(index), (*C.GLdouble)(unsafe.Pointer(v))) -} -func VertexAttrib4dvNV(index uint32, v *float64) { - C.glowVertexAttrib4dvNV(gpVertexAttrib4dvNV, (C.GLuint)(index), (*C.GLdouble)(unsafe.Pointer(v))) -} -func VertexAttrib4f(index uint32, x float32, y float32, z float32, w float32) { - C.glowVertexAttrib4f(gpVertexAttrib4f, (C.GLuint)(index), (C.GLfloat)(x), (C.GLfloat)(y), (C.GLfloat)(z), (C.GLfloat)(w)) -} -func VertexAttrib4fARB(index uint32, x float32, y float32, z float32, w float32) { - C.glowVertexAttrib4fARB(gpVertexAttrib4fARB, (C.GLuint)(index), (C.GLfloat)(x), (C.GLfloat)(y), (C.GLfloat)(z), (C.GLfloat)(w)) -} -func VertexAttrib4fNV(index uint32, x float32, y float32, z float32, w float32) { - C.glowVertexAttrib4fNV(gpVertexAttrib4fNV, (C.GLuint)(index), (C.GLfloat)(x), (C.GLfloat)(y), (C.GLfloat)(z), (C.GLfloat)(w)) -} -func VertexAttrib4fv(index uint32, v *float32) { - C.glowVertexAttrib4fv(gpVertexAttrib4fv, (C.GLuint)(index), (*C.GLfloat)(unsafe.Pointer(v))) -} -func VertexAttrib4fvARB(index uint32, v *float32) { - C.glowVertexAttrib4fvARB(gpVertexAttrib4fvARB, (C.GLuint)(index), (*C.GLfloat)(unsafe.Pointer(v))) -} -func VertexAttrib4fvNV(index uint32, v *float32) { - C.glowVertexAttrib4fvNV(gpVertexAttrib4fvNV, (C.GLuint)(index), (*C.GLfloat)(unsafe.Pointer(v))) -} -func VertexAttrib4hNV(index uint32, x uint16, y uint16, z uint16, w uint16) { - C.glowVertexAttrib4hNV(gpVertexAttrib4hNV, (C.GLuint)(index), (C.GLhalfNV)(x), (C.GLhalfNV)(y), (C.GLhalfNV)(z), (C.GLhalfNV)(w)) -} -func VertexAttrib4hvNV(index uint32, v *uint16) { - C.glowVertexAttrib4hvNV(gpVertexAttrib4hvNV, (C.GLuint)(index), (*C.GLhalfNV)(unsafe.Pointer(v))) -} -func VertexAttrib4iv(index uint32, v *int32) { - C.glowVertexAttrib4iv(gpVertexAttrib4iv, (C.GLuint)(index), (*C.GLint)(unsafe.Pointer(v))) -} -func VertexAttrib4ivARB(index uint32, v *int32) { - C.glowVertexAttrib4ivARB(gpVertexAttrib4ivARB, (C.GLuint)(index), (*C.GLint)(unsafe.Pointer(v))) -} -func VertexAttrib4s(index uint32, x int16, y int16, z int16, w int16) { - C.glowVertexAttrib4s(gpVertexAttrib4s, (C.GLuint)(index), (C.GLshort)(x), (C.GLshort)(y), (C.GLshort)(z), (C.GLshort)(w)) -} -func VertexAttrib4sARB(index uint32, x int16, y int16, z int16, w int16) { - C.glowVertexAttrib4sARB(gpVertexAttrib4sARB, (C.GLuint)(index), (C.GLshort)(x), (C.GLshort)(y), (C.GLshort)(z), (C.GLshort)(w)) -} -func VertexAttrib4sNV(index uint32, x int16, y int16, z int16, w int16) { - C.glowVertexAttrib4sNV(gpVertexAttrib4sNV, (C.GLuint)(index), (C.GLshort)(x), (C.GLshort)(y), (C.GLshort)(z), (C.GLshort)(w)) -} -func VertexAttrib4sv(index uint32, v *int16) { - C.glowVertexAttrib4sv(gpVertexAttrib4sv, (C.GLuint)(index), (*C.GLshort)(unsafe.Pointer(v))) -} -func VertexAttrib4svARB(index uint32, v *int16) { - C.glowVertexAttrib4svARB(gpVertexAttrib4svARB, (C.GLuint)(index), (*C.GLshort)(unsafe.Pointer(v))) -} -func VertexAttrib4svNV(index uint32, v *int16) { - C.glowVertexAttrib4svNV(gpVertexAttrib4svNV, (C.GLuint)(index), (*C.GLshort)(unsafe.Pointer(v))) -} -func VertexAttrib4ubNV(index uint32, x uint8, y uint8, z uint8, w uint8) { - C.glowVertexAttrib4ubNV(gpVertexAttrib4ubNV, (C.GLuint)(index), (C.GLubyte)(x), (C.GLubyte)(y), (C.GLubyte)(z), (C.GLubyte)(w)) -} -func VertexAttrib4ubv(index uint32, v *uint8) { - C.glowVertexAttrib4ubv(gpVertexAttrib4ubv, (C.GLuint)(index), (*C.GLubyte)(unsafe.Pointer(v))) -} -func VertexAttrib4ubvARB(index uint32, v *uint8) { - C.glowVertexAttrib4ubvARB(gpVertexAttrib4ubvARB, (C.GLuint)(index), (*C.GLubyte)(unsafe.Pointer(v))) -} -func VertexAttrib4ubvNV(index uint32, v *uint8) { - C.glowVertexAttrib4ubvNV(gpVertexAttrib4ubvNV, (C.GLuint)(index), (*C.GLubyte)(unsafe.Pointer(v))) -} -func VertexAttrib4uiv(index uint32, v *uint32) { - C.glowVertexAttrib4uiv(gpVertexAttrib4uiv, (C.GLuint)(index), (*C.GLuint)(unsafe.Pointer(v))) -} -func VertexAttrib4uivARB(index uint32, v *uint32) { - C.glowVertexAttrib4uivARB(gpVertexAttrib4uivARB, (C.GLuint)(index), (*C.GLuint)(unsafe.Pointer(v))) -} -func VertexAttrib4usv(index uint32, v *uint16) { - C.glowVertexAttrib4usv(gpVertexAttrib4usv, (C.GLuint)(index), (*C.GLushort)(unsafe.Pointer(v))) -} -func VertexAttrib4usvARB(index uint32, v *uint16) { - C.glowVertexAttrib4usvARB(gpVertexAttrib4usvARB, (C.GLuint)(index), (*C.GLushort)(unsafe.Pointer(v))) -} -func VertexAttribArrayObjectATI(index uint32, size int32, xtype uint32, normalized bool, stride int32, buffer uint32, offset uint32) { - C.glowVertexAttribArrayObjectATI(gpVertexAttribArrayObjectATI, (C.GLuint)(index), (C.GLint)(size), (C.GLenum)(xtype), (C.GLboolean)(boolToInt(normalized)), (C.GLsizei)(stride), (C.GLuint)(buffer), (C.GLuint)(offset)) -} - -// associate a vertex attribute and a vertex buffer binding for a vertex array object -func VertexAttribBinding(attribindex uint32, bindingindex uint32) { - C.glowVertexAttribBinding(gpVertexAttribBinding, (C.GLuint)(attribindex), (C.GLuint)(bindingindex)) -} -func VertexAttribDivisorARB(index uint32, divisor uint32) { - C.glowVertexAttribDivisorARB(gpVertexAttribDivisorARB, (C.GLuint)(index), (C.GLuint)(divisor)) -} - -// specify the organization of vertex arrays -func VertexAttribFormat(attribindex uint32, size int32, xtype uint32, normalized bool, relativeoffset uint32) { - C.glowVertexAttribFormat(gpVertexAttribFormat, (C.GLuint)(attribindex), (C.GLint)(size), (C.GLenum)(xtype), (C.GLboolean)(boolToInt(normalized)), (C.GLuint)(relativeoffset)) -} -func VertexAttribFormatNV(index uint32, size int32, xtype uint32, normalized bool, stride int32) { - C.glowVertexAttribFormatNV(gpVertexAttribFormatNV, (C.GLuint)(index), (C.GLint)(size), (C.GLenum)(xtype), (C.GLboolean)(boolToInt(normalized)), (C.GLsizei)(stride)) -} -func VertexAttribI1iEXT(index uint32, x int32) { - C.glowVertexAttribI1iEXT(gpVertexAttribI1iEXT, (C.GLuint)(index), (C.GLint)(x)) -} -func VertexAttribI1ivEXT(index uint32, v *int32) { - C.glowVertexAttribI1ivEXT(gpVertexAttribI1ivEXT, (C.GLuint)(index), (*C.GLint)(unsafe.Pointer(v))) -} -func VertexAttribI1uiEXT(index uint32, x uint32) { - C.glowVertexAttribI1uiEXT(gpVertexAttribI1uiEXT, (C.GLuint)(index), (C.GLuint)(x)) -} -func VertexAttribI1uivEXT(index uint32, v *uint32) { - C.glowVertexAttribI1uivEXT(gpVertexAttribI1uivEXT, (C.GLuint)(index), (*C.GLuint)(unsafe.Pointer(v))) -} -func VertexAttribI2iEXT(index uint32, x int32, y int32) { - C.glowVertexAttribI2iEXT(gpVertexAttribI2iEXT, (C.GLuint)(index), (C.GLint)(x), (C.GLint)(y)) -} -func VertexAttribI2ivEXT(index uint32, v *int32) { - C.glowVertexAttribI2ivEXT(gpVertexAttribI2ivEXT, (C.GLuint)(index), (*C.GLint)(unsafe.Pointer(v))) -} -func VertexAttribI2uiEXT(index uint32, x uint32, y uint32) { - C.glowVertexAttribI2uiEXT(gpVertexAttribI2uiEXT, (C.GLuint)(index), (C.GLuint)(x), (C.GLuint)(y)) -} -func VertexAttribI2uivEXT(index uint32, v *uint32) { - C.glowVertexAttribI2uivEXT(gpVertexAttribI2uivEXT, (C.GLuint)(index), (*C.GLuint)(unsafe.Pointer(v))) -} -func VertexAttribI3iEXT(index uint32, x int32, y int32, z int32) { - C.glowVertexAttribI3iEXT(gpVertexAttribI3iEXT, (C.GLuint)(index), (C.GLint)(x), (C.GLint)(y), (C.GLint)(z)) -} -func VertexAttribI3ivEXT(index uint32, v *int32) { - C.glowVertexAttribI3ivEXT(gpVertexAttribI3ivEXT, (C.GLuint)(index), (*C.GLint)(unsafe.Pointer(v))) -} -func VertexAttribI3uiEXT(index uint32, x uint32, y uint32, z uint32) { - C.glowVertexAttribI3uiEXT(gpVertexAttribI3uiEXT, (C.GLuint)(index), (C.GLuint)(x), (C.GLuint)(y), (C.GLuint)(z)) -} -func VertexAttribI3uivEXT(index uint32, v *uint32) { - C.glowVertexAttribI3uivEXT(gpVertexAttribI3uivEXT, (C.GLuint)(index), (*C.GLuint)(unsafe.Pointer(v))) -} -func VertexAttribI4bvEXT(index uint32, v *int8) { - C.glowVertexAttribI4bvEXT(gpVertexAttribI4bvEXT, (C.GLuint)(index), (*C.GLbyte)(unsafe.Pointer(v))) -} -func VertexAttribI4iEXT(index uint32, x int32, y int32, z int32, w int32) { - C.glowVertexAttribI4iEXT(gpVertexAttribI4iEXT, (C.GLuint)(index), (C.GLint)(x), (C.GLint)(y), (C.GLint)(z), (C.GLint)(w)) -} -func VertexAttribI4ivEXT(index uint32, v *int32) { - C.glowVertexAttribI4ivEXT(gpVertexAttribI4ivEXT, (C.GLuint)(index), (*C.GLint)(unsafe.Pointer(v))) -} -func VertexAttribI4svEXT(index uint32, v *int16) { - C.glowVertexAttribI4svEXT(gpVertexAttribI4svEXT, (C.GLuint)(index), (*C.GLshort)(unsafe.Pointer(v))) -} -func VertexAttribI4ubvEXT(index uint32, v *uint8) { - C.glowVertexAttribI4ubvEXT(gpVertexAttribI4ubvEXT, (C.GLuint)(index), (*C.GLubyte)(unsafe.Pointer(v))) -} -func VertexAttribI4uiEXT(index uint32, x uint32, y uint32, z uint32, w uint32) { - C.glowVertexAttribI4uiEXT(gpVertexAttribI4uiEXT, (C.GLuint)(index), (C.GLuint)(x), (C.GLuint)(y), (C.GLuint)(z), (C.GLuint)(w)) -} -func VertexAttribI4uivEXT(index uint32, v *uint32) { - C.glowVertexAttribI4uivEXT(gpVertexAttribI4uivEXT, (C.GLuint)(index), (*C.GLuint)(unsafe.Pointer(v))) -} -func VertexAttribI4usvEXT(index uint32, v *uint16) { - C.glowVertexAttribI4usvEXT(gpVertexAttribI4usvEXT, (C.GLuint)(index), (*C.GLushort)(unsafe.Pointer(v))) -} -func VertexAttribIFormat(attribindex uint32, size int32, xtype uint32, relativeoffset uint32) { - C.glowVertexAttribIFormat(gpVertexAttribIFormat, (C.GLuint)(attribindex), (C.GLint)(size), (C.GLenum)(xtype), (C.GLuint)(relativeoffset)) -} -func VertexAttribIFormatNV(index uint32, size int32, xtype uint32, stride int32) { - C.glowVertexAttribIFormatNV(gpVertexAttribIFormatNV, (C.GLuint)(index), (C.GLint)(size), (C.GLenum)(xtype), (C.GLsizei)(stride)) -} -func VertexAttribIPointerEXT(index uint32, size int32, xtype uint32, stride int32, pointer unsafe.Pointer) { - C.glowVertexAttribIPointerEXT(gpVertexAttribIPointerEXT, (C.GLuint)(index), (C.GLint)(size), (C.GLenum)(xtype), (C.GLsizei)(stride), pointer) -} -func VertexAttribL1d(index uint32, x float64) { - C.glowVertexAttribL1d(gpVertexAttribL1d, (C.GLuint)(index), (C.GLdouble)(x)) -} -func VertexAttribL1dEXT(index uint32, x float64) { - C.glowVertexAttribL1dEXT(gpVertexAttribL1dEXT, (C.GLuint)(index), (C.GLdouble)(x)) -} -func VertexAttribL1dv(index uint32, v *float64) { - C.glowVertexAttribL1dv(gpVertexAttribL1dv, (C.GLuint)(index), (*C.GLdouble)(unsafe.Pointer(v))) -} -func VertexAttribL1dvEXT(index uint32, v *float64) { - C.glowVertexAttribL1dvEXT(gpVertexAttribL1dvEXT, (C.GLuint)(index), (*C.GLdouble)(unsafe.Pointer(v))) -} -func VertexAttribL1i64NV(index uint32, x int64) { - C.glowVertexAttribL1i64NV(gpVertexAttribL1i64NV, (C.GLuint)(index), (C.GLint64EXT)(x)) -} -func VertexAttribL1i64vNV(index uint32, v *int64) { - C.glowVertexAttribL1i64vNV(gpVertexAttribL1i64vNV, (C.GLuint)(index), (*C.GLint64EXT)(unsafe.Pointer(v))) -} -func VertexAttribL1ui64ARB(index uint32, x uint64) { - C.glowVertexAttribL1ui64ARB(gpVertexAttribL1ui64ARB, (C.GLuint)(index), (C.GLuint64EXT)(x)) -} -func VertexAttribL1ui64NV(index uint32, x uint64) { - C.glowVertexAttribL1ui64NV(gpVertexAttribL1ui64NV, (C.GLuint)(index), (C.GLuint64EXT)(x)) -} -func VertexAttribL1ui64vARB(index uint32, v *uint64) { - C.glowVertexAttribL1ui64vARB(gpVertexAttribL1ui64vARB, (C.GLuint)(index), (*C.GLuint64EXT)(unsafe.Pointer(v))) -} -func VertexAttribL1ui64vNV(index uint32, v *uint64) { - C.glowVertexAttribL1ui64vNV(gpVertexAttribL1ui64vNV, (C.GLuint)(index), (*C.GLuint64EXT)(unsafe.Pointer(v))) -} -func VertexAttribL2d(index uint32, x float64, y float64) { - C.glowVertexAttribL2d(gpVertexAttribL2d, (C.GLuint)(index), (C.GLdouble)(x), (C.GLdouble)(y)) -} -func VertexAttribL2dEXT(index uint32, x float64, y float64) { - C.glowVertexAttribL2dEXT(gpVertexAttribL2dEXT, (C.GLuint)(index), (C.GLdouble)(x), (C.GLdouble)(y)) -} -func VertexAttribL2dv(index uint32, v *float64) { - C.glowVertexAttribL2dv(gpVertexAttribL2dv, (C.GLuint)(index), (*C.GLdouble)(unsafe.Pointer(v))) -} -func VertexAttribL2dvEXT(index uint32, v *float64) { - C.glowVertexAttribL2dvEXT(gpVertexAttribL2dvEXT, (C.GLuint)(index), (*C.GLdouble)(unsafe.Pointer(v))) -} -func VertexAttribL2i64NV(index uint32, x int64, y int64) { - C.glowVertexAttribL2i64NV(gpVertexAttribL2i64NV, (C.GLuint)(index), (C.GLint64EXT)(x), (C.GLint64EXT)(y)) -} -func VertexAttribL2i64vNV(index uint32, v *int64) { - C.glowVertexAttribL2i64vNV(gpVertexAttribL2i64vNV, (C.GLuint)(index), (*C.GLint64EXT)(unsafe.Pointer(v))) -} -func VertexAttribL2ui64NV(index uint32, x uint64, y uint64) { - C.glowVertexAttribL2ui64NV(gpVertexAttribL2ui64NV, (C.GLuint)(index), (C.GLuint64EXT)(x), (C.GLuint64EXT)(y)) -} -func VertexAttribL2ui64vNV(index uint32, v *uint64) { - C.glowVertexAttribL2ui64vNV(gpVertexAttribL2ui64vNV, (C.GLuint)(index), (*C.GLuint64EXT)(unsafe.Pointer(v))) -} -func VertexAttribL3d(index uint32, x float64, y float64, z float64) { - C.glowVertexAttribL3d(gpVertexAttribL3d, (C.GLuint)(index), (C.GLdouble)(x), (C.GLdouble)(y), (C.GLdouble)(z)) -} -func VertexAttribL3dEXT(index uint32, x float64, y float64, z float64) { - C.glowVertexAttribL3dEXT(gpVertexAttribL3dEXT, (C.GLuint)(index), (C.GLdouble)(x), (C.GLdouble)(y), (C.GLdouble)(z)) -} -func VertexAttribL3dv(index uint32, v *float64) { - C.glowVertexAttribL3dv(gpVertexAttribL3dv, (C.GLuint)(index), (*C.GLdouble)(unsafe.Pointer(v))) -} -func VertexAttribL3dvEXT(index uint32, v *float64) { - C.glowVertexAttribL3dvEXT(gpVertexAttribL3dvEXT, (C.GLuint)(index), (*C.GLdouble)(unsafe.Pointer(v))) -} -func VertexAttribL3i64NV(index uint32, x int64, y int64, z int64) { - C.glowVertexAttribL3i64NV(gpVertexAttribL3i64NV, (C.GLuint)(index), (C.GLint64EXT)(x), (C.GLint64EXT)(y), (C.GLint64EXT)(z)) -} -func VertexAttribL3i64vNV(index uint32, v *int64) { - C.glowVertexAttribL3i64vNV(gpVertexAttribL3i64vNV, (C.GLuint)(index), (*C.GLint64EXT)(unsafe.Pointer(v))) -} -func VertexAttribL3ui64NV(index uint32, x uint64, y uint64, z uint64) { - C.glowVertexAttribL3ui64NV(gpVertexAttribL3ui64NV, (C.GLuint)(index), (C.GLuint64EXT)(x), (C.GLuint64EXT)(y), (C.GLuint64EXT)(z)) -} -func VertexAttribL3ui64vNV(index uint32, v *uint64) { - C.glowVertexAttribL3ui64vNV(gpVertexAttribL3ui64vNV, (C.GLuint)(index), (*C.GLuint64EXT)(unsafe.Pointer(v))) -} -func VertexAttribL4d(index uint32, x float64, y float64, z float64, w float64) { - C.glowVertexAttribL4d(gpVertexAttribL4d, (C.GLuint)(index), (C.GLdouble)(x), (C.GLdouble)(y), (C.GLdouble)(z), (C.GLdouble)(w)) -} -func VertexAttribL4dEXT(index uint32, x float64, y float64, z float64, w float64) { - C.glowVertexAttribL4dEXT(gpVertexAttribL4dEXT, (C.GLuint)(index), (C.GLdouble)(x), (C.GLdouble)(y), (C.GLdouble)(z), (C.GLdouble)(w)) -} -func VertexAttribL4dv(index uint32, v *float64) { - C.glowVertexAttribL4dv(gpVertexAttribL4dv, (C.GLuint)(index), (*C.GLdouble)(unsafe.Pointer(v))) -} -func VertexAttribL4dvEXT(index uint32, v *float64) { - C.glowVertexAttribL4dvEXT(gpVertexAttribL4dvEXT, (C.GLuint)(index), (*C.GLdouble)(unsafe.Pointer(v))) -} -func VertexAttribL4i64NV(index uint32, x int64, y int64, z int64, w int64) { - C.glowVertexAttribL4i64NV(gpVertexAttribL4i64NV, (C.GLuint)(index), (C.GLint64EXT)(x), (C.GLint64EXT)(y), (C.GLint64EXT)(z), (C.GLint64EXT)(w)) -} -func VertexAttribL4i64vNV(index uint32, v *int64) { - C.glowVertexAttribL4i64vNV(gpVertexAttribL4i64vNV, (C.GLuint)(index), (*C.GLint64EXT)(unsafe.Pointer(v))) -} -func VertexAttribL4ui64NV(index uint32, x uint64, y uint64, z uint64, w uint64) { - C.glowVertexAttribL4ui64NV(gpVertexAttribL4ui64NV, (C.GLuint)(index), (C.GLuint64EXT)(x), (C.GLuint64EXT)(y), (C.GLuint64EXT)(z), (C.GLuint64EXT)(w)) -} -func VertexAttribL4ui64vNV(index uint32, v *uint64) { - C.glowVertexAttribL4ui64vNV(gpVertexAttribL4ui64vNV, (C.GLuint)(index), (*C.GLuint64EXT)(unsafe.Pointer(v))) -} -func VertexAttribLFormat(attribindex uint32, size int32, xtype uint32, relativeoffset uint32) { - C.glowVertexAttribLFormat(gpVertexAttribLFormat, (C.GLuint)(attribindex), (C.GLint)(size), (C.GLenum)(xtype), (C.GLuint)(relativeoffset)) -} -func VertexAttribLFormatNV(index uint32, size int32, xtype uint32, stride int32) { - C.glowVertexAttribLFormatNV(gpVertexAttribLFormatNV, (C.GLuint)(index), (C.GLint)(size), (C.GLenum)(xtype), (C.GLsizei)(stride)) -} -func VertexAttribLPointer(index uint32, size int32, xtype uint32, stride int32, pointer unsafe.Pointer) { - C.glowVertexAttribLPointer(gpVertexAttribLPointer, (C.GLuint)(index), (C.GLint)(size), (C.GLenum)(xtype), (C.GLsizei)(stride), pointer) -} -func VertexAttribLPointerEXT(index uint32, size int32, xtype uint32, stride int32, pointer unsafe.Pointer) { - C.glowVertexAttribLPointerEXT(gpVertexAttribLPointerEXT, (C.GLuint)(index), (C.GLint)(size), (C.GLenum)(xtype), (C.GLsizei)(stride), pointer) -} -func VertexAttribP1ui(index uint32, xtype uint32, normalized bool, value uint32) { - C.glowVertexAttribP1ui(gpVertexAttribP1ui, (C.GLuint)(index), (C.GLenum)(xtype), (C.GLboolean)(boolToInt(normalized)), (C.GLuint)(value)) -} -func VertexAttribP1uiv(index uint32, xtype uint32, normalized bool, value *uint32) { - C.glowVertexAttribP1uiv(gpVertexAttribP1uiv, (C.GLuint)(index), (C.GLenum)(xtype), (C.GLboolean)(boolToInt(normalized)), (*C.GLuint)(unsafe.Pointer(value))) -} -func VertexAttribP2ui(index uint32, xtype uint32, normalized bool, value uint32) { - C.glowVertexAttribP2ui(gpVertexAttribP2ui, (C.GLuint)(index), (C.GLenum)(xtype), (C.GLboolean)(boolToInt(normalized)), (C.GLuint)(value)) -} -func VertexAttribP2uiv(index uint32, xtype uint32, normalized bool, value *uint32) { - C.glowVertexAttribP2uiv(gpVertexAttribP2uiv, (C.GLuint)(index), (C.GLenum)(xtype), (C.GLboolean)(boolToInt(normalized)), (*C.GLuint)(unsafe.Pointer(value))) -} -func VertexAttribP3ui(index uint32, xtype uint32, normalized bool, value uint32) { - C.glowVertexAttribP3ui(gpVertexAttribP3ui, (C.GLuint)(index), (C.GLenum)(xtype), (C.GLboolean)(boolToInt(normalized)), (C.GLuint)(value)) -} -func VertexAttribP3uiv(index uint32, xtype uint32, normalized bool, value *uint32) { - C.glowVertexAttribP3uiv(gpVertexAttribP3uiv, (C.GLuint)(index), (C.GLenum)(xtype), (C.GLboolean)(boolToInt(normalized)), (*C.GLuint)(unsafe.Pointer(value))) -} -func VertexAttribP4ui(index uint32, xtype uint32, normalized bool, value uint32) { - C.glowVertexAttribP4ui(gpVertexAttribP4ui, (C.GLuint)(index), (C.GLenum)(xtype), (C.GLboolean)(boolToInt(normalized)), (C.GLuint)(value)) -} -func VertexAttribP4uiv(index uint32, xtype uint32, normalized bool, value *uint32) { - C.glowVertexAttribP4uiv(gpVertexAttribP4uiv, (C.GLuint)(index), (C.GLenum)(xtype), (C.GLboolean)(boolToInt(normalized)), (*C.GLuint)(unsafe.Pointer(value))) -} -func VertexAttribParameteriAMD(index uint32, pname uint32, param int32) { - C.glowVertexAttribParameteriAMD(gpVertexAttribParameteriAMD, (C.GLuint)(index), (C.GLenum)(pname), (C.GLint)(param)) -} - -// define an array of generic vertex attribute data func VertexAttribPointer(index uint32, size int32, xtype uint32, normalized bool, stride int32, pointer uintptr) { C.glowVertexAttribPointer(gpVertexAttribPointer, (C.GLuint)(index), (C.GLint)(size), (C.GLenum)(xtype), (C.GLboolean)(boolToInt(normalized)), (C.GLsizei)(stride), C.uintptr_t(pointer)) } -func VertexAttribPointerARB(index uint32, size int32, xtype uint32, normalized bool, stride int32, pointer unsafe.Pointer) { - C.glowVertexAttribPointerARB(gpVertexAttribPointerARB, (C.GLuint)(index), (C.GLint)(size), (C.GLenum)(xtype), (C.GLboolean)(boolToInt(normalized)), (C.GLsizei)(stride), pointer) -} -func VertexAttribPointerNV(index uint32, fsize int32, xtype uint32, stride int32, pointer unsafe.Pointer) { - C.glowVertexAttribPointerNV(gpVertexAttribPointerNV, (C.GLuint)(index), (C.GLint)(fsize), (C.GLenum)(xtype), (C.GLsizei)(stride), pointer) -} -func VertexAttribs1dvNV(index uint32, count int32, v *float64) { - C.glowVertexAttribs1dvNV(gpVertexAttribs1dvNV, (C.GLuint)(index), (C.GLsizei)(count), (*C.GLdouble)(unsafe.Pointer(v))) -} -func VertexAttribs1fvNV(index uint32, count int32, v *float32) { - C.glowVertexAttribs1fvNV(gpVertexAttribs1fvNV, (C.GLuint)(index), (C.GLsizei)(count), (*C.GLfloat)(unsafe.Pointer(v))) -} -func VertexAttribs1hvNV(index uint32, n int32, v *uint16) { - C.glowVertexAttribs1hvNV(gpVertexAttribs1hvNV, (C.GLuint)(index), (C.GLsizei)(n), (*C.GLhalfNV)(unsafe.Pointer(v))) -} -func VertexAttribs1svNV(index uint32, count int32, v *int16) { - C.glowVertexAttribs1svNV(gpVertexAttribs1svNV, (C.GLuint)(index), (C.GLsizei)(count), (*C.GLshort)(unsafe.Pointer(v))) -} -func VertexAttribs2dvNV(index uint32, count int32, v *float64) { - C.glowVertexAttribs2dvNV(gpVertexAttribs2dvNV, (C.GLuint)(index), (C.GLsizei)(count), (*C.GLdouble)(unsafe.Pointer(v))) -} -func VertexAttribs2fvNV(index uint32, count int32, v *float32) { - C.glowVertexAttribs2fvNV(gpVertexAttribs2fvNV, (C.GLuint)(index), (C.GLsizei)(count), (*C.GLfloat)(unsafe.Pointer(v))) -} -func VertexAttribs2hvNV(index uint32, n int32, v *uint16) { - C.glowVertexAttribs2hvNV(gpVertexAttribs2hvNV, (C.GLuint)(index), (C.GLsizei)(n), (*C.GLhalfNV)(unsafe.Pointer(v))) -} -func VertexAttribs2svNV(index uint32, count int32, v *int16) { - C.glowVertexAttribs2svNV(gpVertexAttribs2svNV, (C.GLuint)(index), (C.GLsizei)(count), (*C.GLshort)(unsafe.Pointer(v))) -} -func VertexAttribs3dvNV(index uint32, count int32, v *float64) { - C.glowVertexAttribs3dvNV(gpVertexAttribs3dvNV, (C.GLuint)(index), (C.GLsizei)(count), (*C.GLdouble)(unsafe.Pointer(v))) -} -func VertexAttribs3fvNV(index uint32, count int32, v *float32) { - C.glowVertexAttribs3fvNV(gpVertexAttribs3fvNV, (C.GLuint)(index), (C.GLsizei)(count), (*C.GLfloat)(unsafe.Pointer(v))) -} -func VertexAttribs3hvNV(index uint32, n int32, v *uint16) { - C.glowVertexAttribs3hvNV(gpVertexAttribs3hvNV, (C.GLuint)(index), (C.GLsizei)(n), (*C.GLhalfNV)(unsafe.Pointer(v))) -} -func VertexAttribs3svNV(index uint32, count int32, v *int16) { - C.glowVertexAttribs3svNV(gpVertexAttribs3svNV, (C.GLuint)(index), (C.GLsizei)(count), (*C.GLshort)(unsafe.Pointer(v))) -} -func VertexAttribs4dvNV(index uint32, count int32, v *float64) { - C.glowVertexAttribs4dvNV(gpVertexAttribs4dvNV, (C.GLuint)(index), (C.GLsizei)(count), (*C.GLdouble)(unsafe.Pointer(v))) -} -func VertexAttribs4fvNV(index uint32, count int32, v *float32) { - C.glowVertexAttribs4fvNV(gpVertexAttribs4fvNV, (C.GLuint)(index), (C.GLsizei)(count), (*C.GLfloat)(unsafe.Pointer(v))) -} -func VertexAttribs4hvNV(index uint32, n int32, v *uint16) { - C.glowVertexAttribs4hvNV(gpVertexAttribs4hvNV, (C.GLuint)(index), (C.GLsizei)(n), (*C.GLhalfNV)(unsafe.Pointer(v))) -} -func VertexAttribs4svNV(index uint32, count int32, v *int16) { - C.glowVertexAttribs4svNV(gpVertexAttribs4svNV, (C.GLuint)(index), (C.GLsizei)(count), (*C.GLshort)(unsafe.Pointer(v))) -} -func VertexAttribs4ubvNV(index uint32, count int32, v *uint8) { - C.glowVertexAttribs4ubvNV(gpVertexAttribs4ubvNV, (C.GLuint)(index), (C.GLsizei)(count), (*C.GLubyte)(unsafe.Pointer(v))) -} -// modify the rate at which generic vertex attributes advance -func VertexBindingDivisor(bindingindex uint32, divisor uint32) { - C.glowVertexBindingDivisor(gpVertexBindingDivisor, (C.GLuint)(bindingindex), (C.GLuint)(divisor)) -} -func VertexBlendARB(count int32) { - C.glowVertexBlendARB(gpVertexBlendARB, (C.GLint)(count)) -} -func VertexBlendEnvfATI(pname uint32, param float32) { - C.glowVertexBlendEnvfATI(gpVertexBlendEnvfATI, (C.GLenum)(pname), (C.GLfloat)(param)) -} -func VertexBlendEnviATI(pname uint32, param int32) { - C.glowVertexBlendEnviATI(gpVertexBlendEnviATI, (C.GLenum)(pname), (C.GLint)(param)) -} -func VertexFormatNV(size int32, xtype uint32, stride int32) { - C.glowVertexFormatNV(gpVertexFormatNV, (C.GLint)(size), (C.GLenum)(xtype), (C.GLsizei)(stride)) -} - -// define an array of vertex data -func VertexPointer(size int32, xtype uint32, stride int32, pointer unsafe.Pointer) { - C.glowVertexPointer(gpVertexPointer, (C.GLint)(size), (C.GLenum)(xtype), (C.GLsizei)(stride), pointer) -} -func VertexPointerEXT(size int32, xtype uint32, stride int32, count int32, pointer unsafe.Pointer) { - C.glowVertexPointerEXT(gpVertexPointerEXT, (C.GLint)(size), (C.GLenum)(xtype), (C.GLsizei)(stride), (C.GLsizei)(count), pointer) -} -func VertexPointerListIBM(size int32, xtype uint32, stride int32, pointer *unsafe.Pointer, ptrstride int32) { - C.glowVertexPointerListIBM(gpVertexPointerListIBM, (C.GLint)(size), (C.GLenum)(xtype), (C.GLint)(stride), pointer, (C.GLint)(ptrstride)) -} -func VertexPointervINTEL(size int32, xtype uint32, pointer *unsafe.Pointer) { - C.glowVertexPointervINTEL(gpVertexPointervINTEL, (C.GLint)(size), (C.GLenum)(xtype), pointer) -} -func VertexStream1dATI(stream uint32, x float64) { - C.glowVertexStream1dATI(gpVertexStream1dATI, (C.GLenum)(stream), (C.GLdouble)(x)) -} -func VertexStream1dvATI(stream uint32, coords *float64) { - C.glowVertexStream1dvATI(gpVertexStream1dvATI, (C.GLenum)(stream), (*C.GLdouble)(unsafe.Pointer(coords))) -} -func VertexStream1fATI(stream uint32, x float32) { - C.glowVertexStream1fATI(gpVertexStream1fATI, (C.GLenum)(stream), (C.GLfloat)(x)) -} -func VertexStream1fvATI(stream uint32, coords *float32) { - C.glowVertexStream1fvATI(gpVertexStream1fvATI, (C.GLenum)(stream), (*C.GLfloat)(unsafe.Pointer(coords))) -} -func VertexStream1iATI(stream uint32, x int32) { - C.glowVertexStream1iATI(gpVertexStream1iATI, (C.GLenum)(stream), (C.GLint)(x)) -} -func VertexStream1ivATI(stream uint32, coords *int32) { - C.glowVertexStream1ivATI(gpVertexStream1ivATI, (C.GLenum)(stream), (*C.GLint)(unsafe.Pointer(coords))) -} -func VertexStream1sATI(stream uint32, x int16) { - C.glowVertexStream1sATI(gpVertexStream1sATI, (C.GLenum)(stream), (C.GLshort)(x)) -} -func VertexStream1svATI(stream uint32, coords *int16) { - C.glowVertexStream1svATI(gpVertexStream1svATI, (C.GLenum)(stream), (*C.GLshort)(unsafe.Pointer(coords))) -} -func VertexStream2dATI(stream uint32, x float64, y float64) { - C.glowVertexStream2dATI(gpVertexStream2dATI, (C.GLenum)(stream), (C.GLdouble)(x), (C.GLdouble)(y)) -} -func VertexStream2dvATI(stream uint32, coords *float64) { - C.glowVertexStream2dvATI(gpVertexStream2dvATI, (C.GLenum)(stream), (*C.GLdouble)(unsafe.Pointer(coords))) -} -func VertexStream2fATI(stream uint32, x float32, y float32) { - C.glowVertexStream2fATI(gpVertexStream2fATI, (C.GLenum)(stream), (C.GLfloat)(x), (C.GLfloat)(y)) -} -func VertexStream2fvATI(stream uint32, coords *float32) { - C.glowVertexStream2fvATI(gpVertexStream2fvATI, (C.GLenum)(stream), (*C.GLfloat)(unsafe.Pointer(coords))) -} -func VertexStream2iATI(stream uint32, x int32, y int32) { - C.glowVertexStream2iATI(gpVertexStream2iATI, (C.GLenum)(stream), (C.GLint)(x), (C.GLint)(y)) -} -func VertexStream2ivATI(stream uint32, coords *int32) { - C.glowVertexStream2ivATI(gpVertexStream2ivATI, (C.GLenum)(stream), (*C.GLint)(unsafe.Pointer(coords))) -} -func VertexStream2sATI(stream uint32, x int16, y int16) { - C.glowVertexStream2sATI(gpVertexStream2sATI, (C.GLenum)(stream), (C.GLshort)(x), (C.GLshort)(y)) -} -func VertexStream2svATI(stream uint32, coords *int16) { - C.glowVertexStream2svATI(gpVertexStream2svATI, (C.GLenum)(stream), (*C.GLshort)(unsafe.Pointer(coords))) -} -func VertexStream3dATI(stream uint32, x float64, y float64, z float64) { - C.glowVertexStream3dATI(gpVertexStream3dATI, (C.GLenum)(stream), (C.GLdouble)(x), (C.GLdouble)(y), (C.GLdouble)(z)) -} -func VertexStream3dvATI(stream uint32, coords *float64) { - C.glowVertexStream3dvATI(gpVertexStream3dvATI, (C.GLenum)(stream), (*C.GLdouble)(unsafe.Pointer(coords))) -} -func VertexStream3fATI(stream uint32, x float32, y float32, z float32) { - C.glowVertexStream3fATI(gpVertexStream3fATI, (C.GLenum)(stream), (C.GLfloat)(x), (C.GLfloat)(y), (C.GLfloat)(z)) -} -func VertexStream3fvATI(stream uint32, coords *float32) { - C.glowVertexStream3fvATI(gpVertexStream3fvATI, (C.GLenum)(stream), (*C.GLfloat)(unsafe.Pointer(coords))) -} -func VertexStream3iATI(stream uint32, x int32, y int32, z int32) { - C.glowVertexStream3iATI(gpVertexStream3iATI, (C.GLenum)(stream), (C.GLint)(x), (C.GLint)(y), (C.GLint)(z)) -} -func VertexStream3ivATI(stream uint32, coords *int32) { - C.glowVertexStream3ivATI(gpVertexStream3ivATI, (C.GLenum)(stream), (*C.GLint)(unsafe.Pointer(coords))) -} -func VertexStream3sATI(stream uint32, x int16, y int16, z int16) { - C.glowVertexStream3sATI(gpVertexStream3sATI, (C.GLenum)(stream), (C.GLshort)(x), (C.GLshort)(y), (C.GLshort)(z)) -} -func VertexStream3svATI(stream uint32, coords *int16) { - C.glowVertexStream3svATI(gpVertexStream3svATI, (C.GLenum)(stream), (*C.GLshort)(unsafe.Pointer(coords))) -} -func VertexStream4dATI(stream uint32, x float64, y float64, z float64, w float64) { - C.glowVertexStream4dATI(gpVertexStream4dATI, (C.GLenum)(stream), (C.GLdouble)(x), (C.GLdouble)(y), (C.GLdouble)(z), (C.GLdouble)(w)) -} -func VertexStream4dvATI(stream uint32, coords *float64) { - C.glowVertexStream4dvATI(gpVertexStream4dvATI, (C.GLenum)(stream), (*C.GLdouble)(unsafe.Pointer(coords))) -} -func VertexStream4fATI(stream uint32, x float32, y float32, z float32, w float32) { - C.glowVertexStream4fATI(gpVertexStream4fATI, (C.GLenum)(stream), (C.GLfloat)(x), (C.GLfloat)(y), (C.GLfloat)(z), (C.GLfloat)(w)) -} -func VertexStream4fvATI(stream uint32, coords *float32) { - C.glowVertexStream4fvATI(gpVertexStream4fvATI, (C.GLenum)(stream), (*C.GLfloat)(unsafe.Pointer(coords))) -} -func VertexStream4iATI(stream uint32, x int32, y int32, z int32, w int32) { - C.glowVertexStream4iATI(gpVertexStream4iATI, (C.GLenum)(stream), (C.GLint)(x), (C.GLint)(y), (C.GLint)(z), (C.GLint)(w)) -} -func VertexStream4ivATI(stream uint32, coords *int32) { - C.glowVertexStream4ivATI(gpVertexStream4ivATI, (C.GLenum)(stream), (*C.GLint)(unsafe.Pointer(coords))) -} -func VertexStream4sATI(stream uint32, x int16, y int16, z int16, w int16) { - C.glowVertexStream4sATI(gpVertexStream4sATI, (C.GLenum)(stream), (C.GLshort)(x), (C.GLshort)(y), (C.GLshort)(z), (C.GLshort)(w)) -} -func VertexStream4svATI(stream uint32, coords *int16) { - C.glowVertexStream4svATI(gpVertexStream4svATI, (C.GLenum)(stream), (*C.GLshort)(unsafe.Pointer(coords))) -} -func VertexWeightPointerEXT(size int32, xtype uint32, stride int32, pointer unsafe.Pointer) { - C.glowVertexWeightPointerEXT(gpVertexWeightPointerEXT, (C.GLint)(size), (C.GLenum)(xtype), (C.GLsizei)(stride), pointer) -} -func VertexWeightfEXT(weight float32) { - C.glowVertexWeightfEXT(gpVertexWeightfEXT, (C.GLfloat)(weight)) -} -func VertexWeightfvEXT(weight *float32) { - C.glowVertexWeightfvEXT(gpVertexWeightfvEXT, (*C.GLfloat)(unsafe.Pointer(weight))) -} -func VertexWeighthNV(weight uint16) { - C.glowVertexWeighthNV(gpVertexWeighthNV, (C.GLhalfNV)(weight)) -} -func VertexWeighthvNV(weight *uint16) { - C.glowVertexWeighthvNV(gpVertexWeighthvNV, (*C.GLhalfNV)(unsafe.Pointer(weight))) -} -func VideoCaptureNV(video_capture_slot uint32, sequence_num *uint32, capture_time *uint64) uint32 { - ret := C.glowVideoCaptureNV(gpVideoCaptureNV, (C.GLuint)(video_capture_slot), (*C.GLuint)(unsafe.Pointer(sequence_num)), (*C.GLuint64EXT)(unsafe.Pointer(capture_time))) - return (uint32)(ret) -} -func VideoCaptureStreamParameterdvNV(video_capture_slot uint32, stream uint32, pname uint32, params *float64) { - C.glowVideoCaptureStreamParameterdvNV(gpVideoCaptureStreamParameterdvNV, (C.GLuint)(video_capture_slot), (C.GLuint)(stream), (C.GLenum)(pname), (*C.GLdouble)(unsafe.Pointer(params))) -} -func VideoCaptureStreamParameterfvNV(video_capture_slot uint32, stream uint32, pname uint32, params *float32) { - C.glowVideoCaptureStreamParameterfvNV(gpVideoCaptureStreamParameterfvNV, (C.GLuint)(video_capture_slot), (C.GLuint)(stream), (C.GLenum)(pname), (*C.GLfloat)(unsafe.Pointer(params))) -} -func VideoCaptureStreamParameterivNV(video_capture_slot uint32, stream uint32, pname uint32, params *int32) { - C.glowVideoCaptureStreamParameterivNV(gpVideoCaptureStreamParameterivNV, (C.GLuint)(video_capture_slot), (C.GLuint)(stream), (C.GLenum)(pname), (*C.GLint)(unsafe.Pointer(params))) -} - -// set the viewport func Viewport(x int32, y int32, width int32, height int32) { C.glowViewport(gpViewport, (C.GLint)(x), (C.GLint)(y), (C.GLsizei)(width), (C.GLsizei)(height)) } -func ViewportArrayv(first uint32, count int32, v *float32) { - C.glowViewportArrayv(gpViewportArrayv, (C.GLuint)(first), (C.GLsizei)(count), (*C.GLfloat)(unsafe.Pointer(v))) -} -func ViewportIndexedf(index uint32, x float32, y float32, w float32, h float32) { - C.glowViewportIndexedf(gpViewportIndexedf, (C.GLuint)(index), (C.GLfloat)(x), (C.GLfloat)(y), (C.GLfloat)(w), (C.GLfloat)(h)) -} -func ViewportIndexedfv(index uint32, v *float32) { - C.glowViewportIndexedfv(gpViewportIndexedfv, (C.GLuint)(index), (*C.GLfloat)(unsafe.Pointer(v))) -} -func ViewportPositionWScaleNV(index uint32, xcoeff float32, ycoeff float32) { - C.glowViewportPositionWScaleNV(gpViewportPositionWScaleNV, (C.GLuint)(index), (C.GLfloat)(xcoeff), (C.GLfloat)(ycoeff)) -} -func ViewportSwizzleNV(index uint32, swizzlex uint32, swizzley uint32, swizzlez uint32, swizzlew uint32) { - C.glowViewportSwizzleNV(gpViewportSwizzleNV, (C.GLuint)(index), (C.GLenum)(swizzlex), (C.GLenum)(swizzley), (C.GLenum)(swizzlez), (C.GLenum)(swizzlew)) -} -func WaitSemaphoreEXT(semaphore uint32, numBufferBarriers uint32, buffers *uint32, numTextureBarriers uint32, textures *uint32, srcLayouts *uint32) { - C.glowWaitSemaphoreEXT(gpWaitSemaphoreEXT, (C.GLuint)(semaphore), (C.GLuint)(numBufferBarriers), (*C.GLuint)(unsafe.Pointer(buffers)), (C.GLuint)(numTextureBarriers), (*C.GLuint)(unsafe.Pointer(textures)), (*C.GLenum)(unsafe.Pointer(srcLayouts))) -} - -// instruct the GL server to block until the specified sync object becomes signaled -func WaitSync(sync uintptr, flags uint32, timeout uint64) { - C.glowWaitSync(gpWaitSync, (C.GLsync)(sync), (C.GLbitfield)(flags), (C.GLuint64)(timeout)) -} -func WaitVkSemaphoreNV(vkSemaphore uint64) { - C.glowWaitVkSemaphoreNV(gpWaitVkSemaphoreNV, (C.GLuint64)(vkSemaphore)) -} -func WeightPathsNV(resultPath uint32, numPaths int32, paths *uint32, weights *float32) { - C.glowWeightPathsNV(gpWeightPathsNV, (C.GLuint)(resultPath), (C.GLsizei)(numPaths), (*C.GLuint)(unsafe.Pointer(paths)), (*C.GLfloat)(unsafe.Pointer(weights))) -} -func WeightPointerARB(size int32, xtype uint32, stride int32, pointer unsafe.Pointer) { - C.glowWeightPointerARB(gpWeightPointerARB, (C.GLint)(size), (C.GLenum)(xtype), (C.GLsizei)(stride), pointer) -} -func WeightbvARB(size int32, weights *int8) { - C.glowWeightbvARB(gpWeightbvARB, (C.GLint)(size), (*C.GLbyte)(unsafe.Pointer(weights))) -} -func WeightdvARB(size int32, weights *float64) { - C.glowWeightdvARB(gpWeightdvARB, (C.GLint)(size), (*C.GLdouble)(unsafe.Pointer(weights))) -} -func WeightfvARB(size int32, weights *float32) { - C.glowWeightfvARB(gpWeightfvARB, (C.GLint)(size), (*C.GLfloat)(unsafe.Pointer(weights))) -} -func WeightivARB(size int32, weights *int32) { - C.glowWeightivARB(gpWeightivARB, (C.GLint)(size), (*C.GLint)(unsafe.Pointer(weights))) -} -func WeightsvARB(size int32, weights *int16) { - C.glowWeightsvARB(gpWeightsvARB, (C.GLint)(size), (*C.GLshort)(unsafe.Pointer(weights))) -} -func WeightubvARB(size int32, weights *uint8) { - C.glowWeightubvARB(gpWeightubvARB, (C.GLint)(size), (*C.GLubyte)(unsafe.Pointer(weights))) -} -func WeightuivARB(size int32, weights *uint32) { - C.glowWeightuivARB(gpWeightuivARB, (C.GLint)(size), (*C.GLuint)(unsafe.Pointer(weights))) -} -func WeightusvARB(size int32, weights *uint16) { - C.glowWeightusvARB(gpWeightusvARB, (C.GLint)(size), (*C.GLushort)(unsafe.Pointer(weights))) -} -func WindowPos2d(x float64, y float64) { - C.glowWindowPos2d(gpWindowPos2d, (C.GLdouble)(x), (C.GLdouble)(y)) -} -func WindowPos2dARB(x float64, y float64) { - C.glowWindowPos2dARB(gpWindowPos2dARB, (C.GLdouble)(x), (C.GLdouble)(y)) -} -func WindowPos2dMESA(x float64, y float64) { - C.glowWindowPos2dMESA(gpWindowPos2dMESA, (C.GLdouble)(x), (C.GLdouble)(y)) -} -func WindowPos2dv(v *float64) { - C.glowWindowPos2dv(gpWindowPos2dv, (*C.GLdouble)(unsafe.Pointer(v))) -} -func WindowPos2dvARB(v *float64) { - C.glowWindowPos2dvARB(gpWindowPos2dvARB, (*C.GLdouble)(unsafe.Pointer(v))) -} -func WindowPos2dvMESA(v *float64) { - C.glowWindowPos2dvMESA(gpWindowPos2dvMESA, (*C.GLdouble)(unsafe.Pointer(v))) -} -func WindowPos2f(x float32, y float32) { - C.glowWindowPos2f(gpWindowPos2f, (C.GLfloat)(x), (C.GLfloat)(y)) -} -func WindowPos2fARB(x float32, y float32) { - C.glowWindowPos2fARB(gpWindowPos2fARB, (C.GLfloat)(x), (C.GLfloat)(y)) -} -func WindowPos2fMESA(x float32, y float32) { - C.glowWindowPos2fMESA(gpWindowPos2fMESA, (C.GLfloat)(x), (C.GLfloat)(y)) -} -func WindowPos2fv(v *float32) { - C.glowWindowPos2fv(gpWindowPos2fv, (*C.GLfloat)(unsafe.Pointer(v))) -} -func WindowPos2fvARB(v *float32) { - C.glowWindowPos2fvARB(gpWindowPos2fvARB, (*C.GLfloat)(unsafe.Pointer(v))) -} -func WindowPos2fvMESA(v *float32) { - C.glowWindowPos2fvMESA(gpWindowPos2fvMESA, (*C.GLfloat)(unsafe.Pointer(v))) -} -func WindowPos2i(x int32, y int32) { - C.glowWindowPos2i(gpWindowPos2i, (C.GLint)(x), (C.GLint)(y)) -} -func WindowPos2iARB(x int32, y int32) { - C.glowWindowPos2iARB(gpWindowPos2iARB, (C.GLint)(x), (C.GLint)(y)) -} -func WindowPos2iMESA(x int32, y int32) { - C.glowWindowPos2iMESA(gpWindowPos2iMESA, (C.GLint)(x), (C.GLint)(y)) -} -func WindowPos2iv(v *int32) { - C.glowWindowPos2iv(gpWindowPos2iv, (*C.GLint)(unsafe.Pointer(v))) -} -func WindowPos2ivARB(v *int32) { - C.glowWindowPos2ivARB(gpWindowPos2ivARB, (*C.GLint)(unsafe.Pointer(v))) -} -func WindowPos2ivMESA(v *int32) { - C.glowWindowPos2ivMESA(gpWindowPos2ivMESA, (*C.GLint)(unsafe.Pointer(v))) -} -func WindowPos2s(x int16, y int16) { - C.glowWindowPos2s(gpWindowPos2s, (C.GLshort)(x), (C.GLshort)(y)) -} -func WindowPos2sARB(x int16, y int16) { - C.glowWindowPos2sARB(gpWindowPos2sARB, (C.GLshort)(x), (C.GLshort)(y)) -} -func WindowPos2sMESA(x int16, y int16) { - C.glowWindowPos2sMESA(gpWindowPos2sMESA, (C.GLshort)(x), (C.GLshort)(y)) -} -func WindowPos2sv(v *int16) { - C.glowWindowPos2sv(gpWindowPos2sv, (*C.GLshort)(unsafe.Pointer(v))) -} -func WindowPos2svARB(v *int16) { - C.glowWindowPos2svARB(gpWindowPos2svARB, (*C.GLshort)(unsafe.Pointer(v))) -} -func WindowPos2svMESA(v *int16) { - C.glowWindowPos2svMESA(gpWindowPos2svMESA, (*C.GLshort)(unsafe.Pointer(v))) -} -func WindowPos3d(x float64, y float64, z float64) { - C.glowWindowPos3d(gpWindowPos3d, (C.GLdouble)(x), (C.GLdouble)(y), (C.GLdouble)(z)) -} -func WindowPos3dARB(x float64, y float64, z float64) { - C.glowWindowPos3dARB(gpWindowPos3dARB, (C.GLdouble)(x), (C.GLdouble)(y), (C.GLdouble)(z)) -} -func WindowPos3dMESA(x float64, y float64, z float64) { - C.glowWindowPos3dMESA(gpWindowPos3dMESA, (C.GLdouble)(x), (C.GLdouble)(y), (C.GLdouble)(z)) -} -func WindowPos3dv(v *float64) { - C.glowWindowPos3dv(gpWindowPos3dv, (*C.GLdouble)(unsafe.Pointer(v))) -} -func WindowPos3dvARB(v *float64) { - C.glowWindowPos3dvARB(gpWindowPos3dvARB, (*C.GLdouble)(unsafe.Pointer(v))) -} -func WindowPos3dvMESA(v *float64) { - C.glowWindowPos3dvMESA(gpWindowPos3dvMESA, (*C.GLdouble)(unsafe.Pointer(v))) -} -func WindowPos3f(x float32, y float32, z float32) { - C.glowWindowPos3f(gpWindowPos3f, (C.GLfloat)(x), (C.GLfloat)(y), (C.GLfloat)(z)) -} -func WindowPos3fARB(x float32, y float32, z float32) { - C.glowWindowPos3fARB(gpWindowPos3fARB, (C.GLfloat)(x), (C.GLfloat)(y), (C.GLfloat)(z)) -} -func WindowPos3fMESA(x float32, y float32, z float32) { - C.glowWindowPos3fMESA(gpWindowPos3fMESA, (C.GLfloat)(x), (C.GLfloat)(y), (C.GLfloat)(z)) -} -func WindowPos3fv(v *float32) { - C.glowWindowPos3fv(gpWindowPos3fv, (*C.GLfloat)(unsafe.Pointer(v))) -} -func WindowPos3fvARB(v *float32) { - C.glowWindowPos3fvARB(gpWindowPos3fvARB, (*C.GLfloat)(unsafe.Pointer(v))) -} -func WindowPos3fvMESA(v *float32) { - C.glowWindowPos3fvMESA(gpWindowPos3fvMESA, (*C.GLfloat)(unsafe.Pointer(v))) -} -func WindowPos3i(x int32, y int32, z int32) { - C.glowWindowPos3i(gpWindowPos3i, (C.GLint)(x), (C.GLint)(y), (C.GLint)(z)) -} -func WindowPos3iARB(x int32, y int32, z int32) { - C.glowWindowPos3iARB(gpWindowPos3iARB, (C.GLint)(x), (C.GLint)(y), (C.GLint)(z)) -} -func WindowPos3iMESA(x int32, y int32, z int32) { - C.glowWindowPos3iMESA(gpWindowPos3iMESA, (C.GLint)(x), (C.GLint)(y), (C.GLint)(z)) -} -func WindowPos3iv(v *int32) { - C.glowWindowPos3iv(gpWindowPos3iv, (*C.GLint)(unsafe.Pointer(v))) -} -func WindowPos3ivARB(v *int32) { - C.glowWindowPos3ivARB(gpWindowPos3ivARB, (*C.GLint)(unsafe.Pointer(v))) -} -func WindowPos3ivMESA(v *int32) { - C.glowWindowPos3ivMESA(gpWindowPos3ivMESA, (*C.GLint)(unsafe.Pointer(v))) -} -func WindowPos3s(x int16, y int16, z int16) { - C.glowWindowPos3s(gpWindowPos3s, (C.GLshort)(x), (C.GLshort)(y), (C.GLshort)(z)) -} -func WindowPos3sARB(x int16, y int16, z int16) { - C.glowWindowPos3sARB(gpWindowPos3sARB, (C.GLshort)(x), (C.GLshort)(y), (C.GLshort)(z)) -} -func WindowPos3sMESA(x int16, y int16, z int16) { - C.glowWindowPos3sMESA(gpWindowPos3sMESA, (C.GLshort)(x), (C.GLshort)(y), (C.GLshort)(z)) -} -func WindowPos3sv(v *int16) { - C.glowWindowPos3sv(gpWindowPos3sv, (*C.GLshort)(unsafe.Pointer(v))) -} -func WindowPos3svARB(v *int16) { - C.glowWindowPos3svARB(gpWindowPos3svARB, (*C.GLshort)(unsafe.Pointer(v))) -} -func WindowPos3svMESA(v *int16) { - C.glowWindowPos3svMESA(gpWindowPos3svMESA, (*C.GLshort)(unsafe.Pointer(v))) -} -func WindowPos4dMESA(x float64, y float64, z float64, w float64) { - C.glowWindowPos4dMESA(gpWindowPos4dMESA, (C.GLdouble)(x), (C.GLdouble)(y), (C.GLdouble)(z), (C.GLdouble)(w)) -} -func WindowPos4dvMESA(v *float64) { - C.glowWindowPos4dvMESA(gpWindowPos4dvMESA, (*C.GLdouble)(unsafe.Pointer(v))) -} -func WindowPos4fMESA(x float32, y float32, z float32, w float32) { - C.glowWindowPos4fMESA(gpWindowPos4fMESA, (C.GLfloat)(x), (C.GLfloat)(y), (C.GLfloat)(z), (C.GLfloat)(w)) -} -func WindowPos4fvMESA(v *float32) { - C.glowWindowPos4fvMESA(gpWindowPos4fvMESA, (*C.GLfloat)(unsafe.Pointer(v))) -} -func WindowPos4iMESA(x int32, y int32, z int32, w int32) { - C.glowWindowPos4iMESA(gpWindowPos4iMESA, (C.GLint)(x), (C.GLint)(y), (C.GLint)(z), (C.GLint)(w)) -} -func WindowPos4ivMESA(v *int32) { - C.glowWindowPos4ivMESA(gpWindowPos4ivMESA, (*C.GLint)(unsafe.Pointer(v))) -} -func WindowPos4sMESA(x int16, y int16, z int16, w int16) { - C.glowWindowPos4sMESA(gpWindowPos4sMESA, (C.GLshort)(x), (C.GLshort)(y), (C.GLshort)(z), (C.GLshort)(w)) -} -func WindowPos4svMESA(v *int16) { - C.glowWindowPos4svMESA(gpWindowPos4svMESA, (*C.GLshort)(unsafe.Pointer(v))) -} -func WindowRectanglesEXT(mode uint32, count int32, box *int32) { - C.glowWindowRectanglesEXT(gpWindowRectanglesEXT, (C.GLenum)(mode), (C.GLsizei)(count), (*C.GLint)(unsafe.Pointer(box))) -} -func WriteMaskEXT(res uint32, in uint32, outX uint32, outY uint32, outZ uint32, outW uint32) { - C.glowWriteMaskEXT(gpWriteMaskEXT, (C.GLuint)(res), (C.GLuint)(in), (C.GLenum)(outX), (C.GLenum)(outY), (C.GLenum)(outZ), (C.GLenum)(outW)) -} // InitWithProcAddrFunc intializes the package using the specified OpenGL // function pointer loading function. For more cases Init should be used -// instead. func InitWithProcAddrFunc(getProcAddr func(name string) unsafe.Pointer) error { - gpAccum = (C.GPACCUM)(getProcAddr("glAccum")) - if gpAccum == nil { - return errors.New("glAccum") - } - gpAccumxOES = (C.GPACCUMXOES)(getProcAddr("glAccumxOES")) - gpAcquireKeyedMutexWin32EXT = (C.GPACQUIREKEYEDMUTEXWIN32EXT)(getProcAddr("glAcquireKeyedMutexWin32EXT")) - gpActiveProgramEXT = (C.GPACTIVEPROGRAMEXT)(getProcAddr("glActiveProgramEXT")) - gpActiveShaderProgram = (C.GPACTIVESHADERPROGRAM)(getProcAddr("glActiveShaderProgram")) - gpActiveShaderProgramEXT = (C.GPACTIVESHADERPROGRAMEXT)(getProcAddr("glActiveShaderProgramEXT")) - gpActiveStencilFaceEXT = (C.GPACTIVESTENCILFACEEXT)(getProcAddr("glActiveStencilFaceEXT")) - gpActiveTexture = (C.GPACTIVETEXTURE)(getProcAddr("glActiveTexture")) - if gpActiveTexture == nil { - return errors.New("glActiveTexture") - } - gpActiveTextureARB = (C.GPACTIVETEXTUREARB)(getProcAddr("glActiveTextureARB")) - gpActiveVaryingNV = (C.GPACTIVEVARYINGNV)(getProcAddr("glActiveVaryingNV")) - gpAlphaFragmentOp1ATI = (C.GPALPHAFRAGMENTOP1ATI)(getProcAddr("glAlphaFragmentOp1ATI")) - gpAlphaFragmentOp2ATI = (C.GPALPHAFRAGMENTOP2ATI)(getProcAddr("glAlphaFragmentOp2ATI")) - gpAlphaFragmentOp3ATI = (C.GPALPHAFRAGMENTOP3ATI)(getProcAddr("glAlphaFragmentOp3ATI")) - gpAlphaFunc = (C.GPALPHAFUNC)(getProcAddr("glAlphaFunc")) - if gpAlphaFunc == nil { - return errors.New("glAlphaFunc") - } - gpAlphaFuncxOES = (C.GPALPHAFUNCXOES)(getProcAddr("glAlphaFuncxOES")) - gpAlphaToCoverageDitherControlNV = (C.GPALPHATOCOVERAGEDITHERCONTROLNV)(getProcAddr("glAlphaToCoverageDitherControlNV")) - gpApplyFramebufferAttachmentCMAAINTEL = (C.GPAPPLYFRAMEBUFFERATTACHMENTCMAAINTEL)(getProcAddr("glApplyFramebufferAttachmentCMAAINTEL")) - gpApplyTextureEXT = (C.GPAPPLYTEXTUREEXT)(getProcAddr("glApplyTextureEXT")) - gpAreProgramsResidentNV = (C.GPAREPROGRAMSRESIDENTNV)(getProcAddr("glAreProgramsResidentNV")) - gpAreTexturesResident = (C.GPARETEXTURESRESIDENT)(getProcAddr("glAreTexturesResident")) - if gpAreTexturesResident == nil { - return errors.New("glAreTexturesResident") - } - gpAreTexturesResidentEXT = (C.GPARETEXTURESRESIDENTEXT)(getProcAddr("glAreTexturesResidentEXT")) - gpArrayElement = (C.GPARRAYELEMENT)(getProcAddr("glArrayElement")) - if gpArrayElement == nil { - return errors.New("glArrayElement") - } - gpArrayElementEXT = (C.GPARRAYELEMENTEXT)(getProcAddr("glArrayElementEXT")) - gpArrayObjectATI = (C.GPARRAYOBJECTATI)(getProcAddr("glArrayObjectATI")) - gpAsyncMarkerSGIX = (C.GPASYNCMARKERSGIX)(getProcAddr("glAsyncMarkerSGIX")) - gpAttachObjectARB = (C.GPATTACHOBJECTARB)(getProcAddr("glAttachObjectARB")) gpAttachShader = (C.GPATTACHSHADER)(getProcAddr("glAttachShader")) if gpAttachShader == nil { return errors.New("glAttachShader") } - gpBegin = (C.GPBEGIN)(getProcAddr("glBegin")) - if gpBegin == nil { - return errors.New("glBegin") - } - gpBeginConditionalRenderNV = (C.GPBEGINCONDITIONALRENDERNV)(getProcAddr("glBeginConditionalRenderNV")) - gpBeginConditionalRenderNVX = (C.GPBEGINCONDITIONALRENDERNVX)(getProcAddr("glBeginConditionalRenderNVX")) - gpBeginFragmentShaderATI = (C.GPBEGINFRAGMENTSHADERATI)(getProcAddr("glBeginFragmentShaderATI")) - gpBeginOcclusionQueryNV = (C.GPBEGINOCCLUSIONQUERYNV)(getProcAddr("glBeginOcclusionQueryNV")) - gpBeginPerfMonitorAMD = (C.GPBEGINPERFMONITORAMD)(getProcAddr("glBeginPerfMonitorAMD")) - gpBeginPerfQueryINTEL = (C.GPBEGINPERFQUERYINTEL)(getProcAddr("glBeginPerfQueryINTEL")) - gpBeginQuery = (C.GPBEGINQUERY)(getProcAddr("glBeginQuery")) - if gpBeginQuery == nil { - return errors.New("glBeginQuery") - } - gpBeginQueryARB = (C.GPBEGINQUERYARB)(getProcAddr("glBeginQueryARB")) - gpBeginQueryIndexed = (C.GPBEGINQUERYINDEXED)(getProcAddr("glBeginQueryIndexed")) - gpBeginTransformFeedbackEXT = (C.GPBEGINTRANSFORMFEEDBACKEXT)(getProcAddr("glBeginTransformFeedbackEXT")) - gpBeginTransformFeedbackNV = (C.GPBEGINTRANSFORMFEEDBACKNV)(getProcAddr("glBeginTransformFeedbackNV")) - gpBeginVertexShaderEXT = (C.GPBEGINVERTEXSHADEREXT)(getProcAddr("glBeginVertexShaderEXT")) - gpBeginVideoCaptureNV = (C.GPBEGINVIDEOCAPTURENV)(getProcAddr("glBeginVideoCaptureNV")) gpBindAttribLocation = (C.GPBINDATTRIBLOCATION)(getProcAddr("glBindAttribLocation")) if gpBindAttribLocation == nil { return errors.New("glBindAttribLocation") } - gpBindAttribLocationARB = (C.GPBINDATTRIBLOCATIONARB)(getProcAddr("glBindAttribLocationARB")) gpBindBuffer = (C.GPBINDBUFFER)(getProcAddr("glBindBuffer")) if gpBindBuffer == nil { return errors.New("glBindBuffer") } - gpBindBufferARB = (C.GPBINDBUFFERARB)(getProcAddr("glBindBufferARB")) - gpBindBufferBase = (C.GPBINDBUFFERBASE)(getProcAddr("glBindBufferBase")) - gpBindBufferBaseEXT = (C.GPBINDBUFFERBASEEXT)(getProcAddr("glBindBufferBaseEXT")) - gpBindBufferBaseNV = (C.GPBINDBUFFERBASENV)(getProcAddr("glBindBufferBaseNV")) - gpBindBufferOffsetEXT = (C.GPBINDBUFFEROFFSETEXT)(getProcAddr("glBindBufferOffsetEXT")) - gpBindBufferOffsetNV = (C.GPBINDBUFFEROFFSETNV)(getProcAddr("glBindBufferOffsetNV")) - gpBindBufferRange = (C.GPBINDBUFFERRANGE)(getProcAddr("glBindBufferRange")) - gpBindBufferRangeEXT = (C.GPBINDBUFFERRANGEEXT)(getProcAddr("glBindBufferRangeEXT")) - gpBindBufferRangeNV = (C.GPBINDBUFFERRANGENV)(getProcAddr("glBindBufferRangeNV")) - gpBindBuffersBase = (C.GPBINDBUFFERSBASE)(getProcAddr("glBindBuffersBase")) - gpBindBuffersRange = (C.GPBINDBUFFERSRANGE)(getProcAddr("glBindBuffersRange")) - gpBindFragDataLocationEXT = (C.GPBINDFRAGDATALOCATIONEXT)(getProcAddr("glBindFragDataLocationEXT")) - gpBindFragDataLocationIndexed = (C.GPBINDFRAGDATALOCATIONINDEXED)(getProcAddr("glBindFragDataLocationIndexed")) - gpBindFragmentShaderATI = (C.GPBINDFRAGMENTSHADERATI)(getProcAddr("glBindFragmentShaderATI")) - gpBindFramebuffer = (C.GPBINDFRAMEBUFFER)(getProcAddr("glBindFramebuffer")) gpBindFramebufferEXT = (C.GPBINDFRAMEBUFFEREXT)(getProcAddr("glBindFramebufferEXT")) - gpBindImageTexture = (C.GPBINDIMAGETEXTURE)(getProcAddr("glBindImageTexture")) - gpBindImageTextureEXT = (C.GPBINDIMAGETEXTUREEXT)(getProcAddr("glBindImageTextureEXT")) - gpBindImageTextures = (C.GPBINDIMAGETEXTURES)(getProcAddr("glBindImageTextures")) - gpBindLightParameterEXT = (C.GPBINDLIGHTPARAMETEREXT)(getProcAddr("glBindLightParameterEXT")) - gpBindMaterialParameterEXT = (C.GPBINDMATERIALPARAMETEREXT)(getProcAddr("glBindMaterialParameterEXT")) - gpBindMultiTextureEXT = (C.GPBINDMULTITEXTUREEXT)(getProcAddr("glBindMultiTextureEXT")) - gpBindParameterEXT = (C.GPBINDPARAMETEREXT)(getProcAddr("glBindParameterEXT")) - gpBindProgramARB = (C.GPBINDPROGRAMARB)(getProcAddr("glBindProgramARB")) - gpBindProgramNV = (C.GPBINDPROGRAMNV)(getProcAddr("glBindProgramNV")) - gpBindProgramPipeline = (C.GPBINDPROGRAMPIPELINE)(getProcAddr("glBindProgramPipeline")) - gpBindProgramPipelineEXT = (C.GPBINDPROGRAMPIPELINEEXT)(getProcAddr("glBindProgramPipelineEXT")) - gpBindRenderbuffer = (C.GPBINDRENDERBUFFER)(getProcAddr("glBindRenderbuffer")) - gpBindRenderbufferEXT = (C.GPBINDRENDERBUFFEREXT)(getProcAddr("glBindRenderbufferEXT")) - gpBindSampler = (C.GPBINDSAMPLER)(getProcAddr("glBindSampler")) - gpBindSamplers = (C.GPBINDSAMPLERS)(getProcAddr("glBindSamplers")) - gpBindTexGenParameterEXT = (C.GPBINDTEXGENPARAMETEREXT)(getProcAddr("glBindTexGenParameterEXT")) gpBindTexture = (C.GPBINDTEXTURE)(getProcAddr("glBindTexture")) if gpBindTexture == nil { return errors.New("glBindTexture") } - gpBindTextureEXT = (C.GPBINDTEXTUREEXT)(getProcAddr("glBindTextureEXT")) - gpBindTextureUnit = (C.GPBINDTEXTUREUNIT)(getProcAddr("glBindTextureUnit")) - gpBindTextureUnitParameterEXT = (C.GPBINDTEXTUREUNITPARAMETEREXT)(getProcAddr("glBindTextureUnitParameterEXT")) - gpBindTextures = (C.GPBINDTEXTURES)(getProcAddr("glBindTextures")) - gpBindTransformFeedback = (C.GPBINDTRANSFORMFEEDBACK)(getProcAddr("glBindTransformFeedback")) - gpBindTransformFeedbackNV = (C.GPBINDTRANSFORMFEEDBACKNV)(getProcAddr("glBindTransformFeedbackNV")) - gpBindVertexArray = (C.GPBINDVERTEXARRAY)(getProcAddr("glBindVertexArray")) - gpBindVertexArrayAPPLE = (C.GPBINDVERTEXARRAYAPPLE)(getProcAddr("glBindVertexArrayAPPLE")) - gpBindVertexBuffer = (C.GPBINDVERTEXBUFFER)(getProcAddr("glBindVertexBuffer")) - gpBindVertexBuffers = (C.GPBINDVERTEXBUFFERS)(getProcAddr("glBindVertexBuffers")) - gpBindVertexShaderEXT = (C.GPBINDVERTEXSHADEREXT)(getProcAddr("glBindVertexShaderEXT")) - gpBindVideoCaptureStreamBufferNV = (C.GPBINDVIDEOCAPTURESTREAMBUFFERNV)(getProcAddr("glBindVideoCaptureStreamBufferNV")) - gpBindVideoCaptureStreamTextureNV = (C.GPBINDVIDEOCAPTURESTREAMTEXTURENV)(getProcAddr("glBindVideoCaptureStreamTextureNV")) - gpBinormal3bEXT = (C.GPBINORMAL3BEXT)(getProcAddr("glBinormal3bEXT")) - gpBinormal3bvEXT = (C.GPBINORMAL3BVEXT)(getProcAddr("glBinormal3bvEXT")) - gpBinormal3dEXT = (C.GPBINORMAL3DEXT)(getProcAddr("glBinormal3dEXT")) - gpBinormal3dvEXT = (C.GPBINORMAL3DVEXT)(getProcAddr("glBinormal3dvEXT")) - gpBinormal3fEXT = (C.GPBINORMAL3FEXT)(getProcAddr("glBinormal3fEXT")) - gpBinormal3fvEXT = (C.GPBINORMAL3FVEXT)(getProcAddr("glBinormal3fvEXT")) - gpBinormal3iEXT = (C.GPBINORMAL3IEXT)(getProcAddr("glBinormal3iEXT")) - gpBinormal3ivEXT = (C.GPBINORMAL3IVEXT)(getProcAddr("glBinormal3ivEXT")) - gpBinormal3sEXT = (C.GPBINORMAL3SEXT)(getProcAddr("glBinormal3sEXT")) - gpBinormal3svEXT = (C.GPBINORMAL3SVEXT)(getProcAddr("glBinormal3svEXT")) - gpBinormalPointerEXT = (C.GPBINORMALPOINTEREXT)(getProcAddr("glBinormalPointerEXT")) - gpBitmap = (C.GPBITMAP)(getProcAddr("glBitmap")) - if gpBitmap == nil { - return errors.New("glBitmap") - } - gpBitmapxOES = (C.GPBITMAPXOES)(getProcAddr("glBitmapxOES")) - gpBlendBarrierKHR = (C.GPBLENDBARRIERKHR)(getProcAddr("glBlendBarrierKHR")) - gpBlendBarrierNV = (C.GPBLENDBARRIERNV)(getProcAddr("glBlendBarrierNV")) - gpBlendColor = (C.GPBLENDCOLOR)(getProcAddr("glBlendColor")) - if gpBlendColor == nil { - return errors.New("glBlendColor") - } - gpBlendColorEXT = (C.GPBLENDCOLOREXT)(getProcAddr("glBlendColorEXT")) - gpBlendColorxOES = (C.GPBLENDCOLORXOES)(getProcAddr("glBlendColorxOES")) - gpBlendEquation = (C.GPBLENDEQUATION)(getProcAddr("glBlendEquation")) - if gpBlendEquation == nil { - return errors.New("glBlendEquation") - } - gpBlendEquationEXT = (C.GPBLENDEQUATIONEXT)(getProcAddr("glBlendEquationEXT")) - gpBlendEquationIndexedAMD = (C.GPBLENDEQUATIONINDEXEDAMD)(getProcAddr("glBlendEquationIndexedAMD")) - gpBlendEquationSeparate = (C.GPBLENDEQUATIONSEPARATE)(getProcAddr("glBlendEquationSeparate")) - if gpBlendEquationSeparate == nil { - return errors.New("glBlendEquationSeparate") - } - gpBlendEquationSeparateEXT = (C.GPBLENDEQUATIONSEPARATEEXT)(getProcAddr("glBlendEquationSeparateEXT")) - gpBlendEquationSeparateIndexedAMD = (C.GPBLENDEQUATIONSEPARATEINDEXEDAMD)(getProcAddr("glBlendEquationSeparateIndexedAMD")) - gpBlendEquationSeparateiARB = (C.GPBLENDEQUATIONSEPARATEIARB)(getProcAddr("glBlendEquationSeparateiARB")) - gpBlendEquationiARB = (C.GPBLENDEQUATIONIARB)(getProcAddr("glBlendEquationiARB")) gpBlendFunc = (C.GPBLENDFUNC)(getProcAddr("glBlendFunc")) if gpBlendFunc == nil { return errors.New("glBlendFunc") } - gpBlendFuncIndexedAMD = (C.GPBLENDFUNCINDEXEDAMD)(getProcAddr("glBlendFuncIndexedAMD")) - gpBlendFuncSeparate = (C.GPBLENDFUNCSEPARATE)(getProcAddr("glBlendFuncSeparate")) - if gpBlendFuncSeparate == nil { - return errors.New("glBlendFuncSeparate") - } - gpBlendFuncSeparateEXT = (C.GPBLENDFUNCSEPARATEEXT)(getProcAddr("glBlendFuncSeparateEXT")) - gpBlendFuncSeparateINGR = (C.GPBLENDFUNCSEPARATEINGR)(getProcAddr("glBlendFuncSeparateINGR")) - gpBlendFuncSeparateIndexedAMD = (C.GPBLENDFUNCSEPARATEINDEXEDAMD)(getProcAddr("glBlendFuncSeparateIndexedAMD")) - gpBlendFuncSeparateiARB = (C.GPBLENDFUNCSEPARATEIARB)(getProcAddr("glBlendFuncSeparateiARB")) - gpBlendFunciARB = (C.GPBLENDFUNCIARB)(getProcAddr("glBlendFunciARB")) - gpBlendParameteriNV = (C.GPBLENDPARAMETERINV)(getProcAddr("glBlendParameteriNV")) - gpBlitFramebuffer = (C.GPBLITFRAMEBUFFER)(getProcAddr("glBlitFramebuffer")) - gpBlitFramebufferEXT = (C.GPBLITFRAMEBUFFEREXT)(getProcAddr("glBlitFramebufferEXT")) - gpBlitNamedFramebuffer = (C.GPBLITNAMEDFRAMEBUFFER)(getProcAddr("glBlitNamedFramebuffer")) - gpBufferAddressRangeNV = (C.GPBUFFERADDRESSRANGENV)(getProcAddr("glBufferAddressRangeNV")) gpBufferData = (C.GPBUFFERDATA)(getProcAddr("glBufferData")) if gpBufferData == nil { return errors.New("glBufferData") } - gpBufferDataARB = (C.GPBUFFERDATAARB)(getProcAddr("glBufferDataARB")) - gpBufferPageCommitmentARB = (C.GPBUFFERPAGECOMMITMENTARB)(getProcAddr("glBufferPageCommitmentARB")) - gpBufferParameteriAPPLE = (C.GPBUFFERPARAMETERIAPPLE)(getProcAddr("glBufferParameteriAPPLE")) - gpBufferStorage = (C.GPBUFFERSTORAGE)(getProcAddr("glBufferStorage")) - gpBufferStorageExternalEXT = (C.GPBUFFERSTORAGEEXTERNALEXT)(getProcAddr("glBufferStorageExternalEXT")) - gpBufferStorageMemEXT = (C.GPBUFFERSTORAGEMEMEXT)(getProcAddr("glBufferStorageMemEXT")) gpBufferSubData = (C.GPBUFFERSUBDATA)(getProcAddr("glBufferSubData")) if gpBufferSubData == nil { return errors.New("glBufferSubData") } - gpBufferSubDataARB = (C.GPBUFFERSUBDATAARB)(getProcAddr("glBufferSubDataARB")) - gpCallCommandListNV = (C.GPCALLCOMMANDLISTNV)(getProcAddr("glCallCommandListNV")) - gpCallList = (C.GPCALLLIST)(getProcAddr("glCallList")) - if gpCallList == nil { - return errors.New("glCallList") - } - gpCallLists = (C.GPCALLLISTS)(getProcAddr("glCallLists")) - if gpCallLists == nil { - return errors.New("glCallLists") - } - gpCheckFramebufferStatus = (C.GPCHECKFRAMEBUFFERSTATUS)(getProcAddr("glCheckFramebufferStatus")) gpCheckFramebufferStatusEXT = (C.GPCHECKFRAMEBUFFERSTATUSEXT)(getProcAddr("glCheckFramebufferStatusEXT")) - gpCheckNamedFramebufferStatus = (C.GPCHECKNAMEDFRAMEBUFFERSTATUS)(getProcAddr("glCheckNamedFramebufferStatus")) - gpCheckNamedFramebufferStatusEXT = (C.GPCHECKNAMEDFRAMEBUFFERSTATUSEXT)(getProcAddr("glCheckNamedFramebufferStatusEXT")) - gpClampColorARB = (C.GPCLAMPCOLORARB)(getProcAddr("glClampColorARB")) - gpClear = (C.GPCLEAR)(getProcAddr("glClear")) - if gpClear == nil { - return errors.New("glClear") - } - gpClearAccum = (C.GPCLEARACCUM)(getProcAddr("glClearAccum")) - if gpClearAccum == nil { - return errors.New("glClearAccum") - } - gpClearAccumxOES = (C.GPCLEARACCUMXOES)(getProcAddr("glClearAccumxOES")) - gpClearBufferData = (C.GPCLEARBUFFERDATA)(getProcAddr("glClearBufferData")) - gpClearBufferSubData = (C.GPCLEARBUFFERSUBDATA)(getProcAddr("glClearBufferSubData")) - gpClearColor = (C.GPCLEARCOLOR)(getProcAddr("glClearColor")) - if gpClearColor == nil { - return errors.New("glClearColor") - } - gpClearColorIiEXT = (C.GPCLEARCOLORIIEXT)(getProcAddr("glClearColorIiEXT")) - gpClearColorIuiEXT = (C.GPCLEARCOLORIUIEXT)(getProcAddr("glClearColorIuiEXT")) - gpClearColorxOES = (C.GPCLEARCOLORXOES)(getProcAddr("glClearColorxOES")) - gpClearDepth = (C.GPCLEARDEPTH)(getProcAddr("glClearDepth")) - if gpClearDepth == nil { - return errors.New("glClearDepth") - } - gpClearDepthdNV = (C.GPCLEARDEPTHDNV)(getProcAddr("glClearDepthdNV")) - gpClearDepthf = (C.GPCLEARDEPTHF)(getProcAddr("glClearDepthf")) - gpClearDepthfOES = (C.GPCLEARDEPTHFOES)(getProcAddr("glClearDepthfOES")) - gpClearDepthxOES = (C.GPCLEARDEPTHXOES)(getProcAddr("glClearDepthxOES")) - gpClearIndex = (C.GPCLEARINDEX)(getProcAddr("glClearIndex")) - if gpClearIndex == nil { - return errors.New("glClearIndex") - } - gpClearNamedBufferData = (C.GPCLEARNAMEDBUFFERDATA)(getProcAddr("glClearNamedBufferData")) - gpClearNamedBufferDataEXT = (C.GPCLEARNAMEDBUFFERDATAEXT)(getProcAddr("glClearNamedBufferDataEXT")) - gpClearNamedBufferSubData = (C.GPCLEARNAMEDBUFFERSUBDATA)(getProcAddr("glClearNamedBufferSubData")) - gpClearNamedBufferSubDataEXT = (C.GPCLEARNAMEDBUFFERSUBDATAEXT)(getProcAddr("glClearNamedBufferSubDataEXT")) - gpClearNamedFramebufferfi = (C.GPCLEARNAMEDFRAMEBUFFERFI)(getProcAddr("glClearNamedFramebufferfi")) - gpClearNamedFramebufferfv = (C.GPCLEARNAMEDFRAMEBUFFERFV)(getProcAddr("glClearNamedFramebufferfv")) - gpClearNamedFramebufferiv = (C.GPCLEARNAMEDFRAMEBUFFERIV)(getProcAddr("glClearNamedFramebufferiv")) - gpClearNamedFramebufferuiv = (C.GPCLEARNAMEDFRAMEBUFFERUIV)(getProcAddr("glClearNamedFramebufferuiv")) - gpClearStencil = (C.GPCLEARSTENCIL)(getProcAddr("glClearStencil")) - if gpClearStencil == nil { - return errors.New("glClearStencil") - } - gpClearTexImage = (C.GPCLEARTEXIMAGE)(getProcAddr("glClearTexImage")) - gpClearTexSubImage = (C.GPCLEARTEXSUBIMAGE)(getProcAddr("glClearTexSubImage")) - gpClientActiveTexture = (C.GPCLIENTACTIVETEXTURE)(getProcAddr("glClientActiveTexture")) - if gpClientActiveTexture == nil { - return errors.New("glClientActiveTexture") - } - gpClientActiveTextureARB = (C.GPCLIENTACTIVETEXTUREARB)(getProcAddr("glClientActiveTextureARB")) - gpClientActiveVertexStreamATI = (C.GPCLIENTACTIVEVERTEXSTREAMATI)(getProcAddr("glClientActiveVertexStreamATI")) - gpClientAttribDefaultEXT = (C.GPCLIENTATTRIBDEFAULTEXT)(getProcAddr("glClientAttribDefaultEXT")) - gpClientWaitSync = (C.GPCLIENTWAITSYNC)(getProcAddr("glClientWaitSync")) - gpClipControl = (C.GPCLIPCONTROL)(getProcAddr("glClipControl")) - gpClipPlane = (C.GPCLIPPLANE)(getProcAddr("glClipPlane")) - if gpClipPlane == nil { - return errors.New("glClipPlane") - } - gpClipPlanefOES = (C.GPCLIPPLANEFOES)(getProcAddr("glClipPlanefOES")) - gpClipPlanexOES = (C.GPCLIPPLANEXOES)(getProcAddr("glClipPlanexOES")) - gpColor3b = (C.GPCOLOR3B)(getProcAddr("glColor3b")) - if gpColor3b == nil { - return errors.New("glColor3b") - } - gpColor3bv = (C.GPCOLOR3BV)(getProcAddr("glColor3bv")) - if gpColor3bv == nil { - return errors.New("glColor3bv") - } - gpColor3d = (C.GPCOLOR3D)(getProcAddr("glColor3d")) - if gpColor3d == nil { - return errors.New("glColor3d") - } - gpColor3dv = (C.GPCOLOR3DV)(getProcAddr("glColor3dv")) - if gpColor3dv == nil { - return errors.New("glColor3dv") - } - gpColor3f = (C.GPCOLOR3F)(getProcAddr("glColor3f")) - if gpColor3f == nil { - return errors.New("glColor3f") - } - gpColor3fVertex3fSUN = (C.GPCOLOR3FVERTEX3FSUN)(getProcAddr("glColor3fVertex3fSUN")) - gpColor3fVertex3fvSUN = (C.GPCOLOR3FVERTEX3FVSUN)(getProcAddr("glColor3fVertex3fvSUN")) - gpColor3fv = (C.GPCOLOR3FV)(getProcAddr("glColor3fv")) - if gpColor3fv == nil { - return errors.New("glColor3fv") - } - gpColor3hNV = (C.GPCOLOR3HNV)(getProcAddr("glColor3hNV")) - gpColor3hvNV = (C.GPCOLOR3HVNV)(getProcAddr("glColor3hvNV")) - gpColor3i = (C.GPCOLOR3I)(getProcAddr("glColor3i")) - if gpColor3i == nil { - return errors.New("glColor3i") - } - gpColor3iv = (C.GPCOLOR3IV)(getProcAddr("glColor3iv")) - if gpColor3iv == nil { - return errors.New("glColor3iv") - } - gpColor3s = (C.GPCOLOR3S)(getProcAddr("glColor3s")) - if gpColor3s == nil { - return errors.New("glColor3s") - } - gpColor3sv = (C.GPCOLOR3SV)(getProcAddr("glColor3sv")) - if gpColor3sv == nil { - return errors.New("glColor3sv") - } - gpColor3ub = (C.GPCOLOR3UB)(getProcAddr("glColor3ub")) - if gpColor3ub == nil { - return errors.New("glColor3ub") - } - gpColor3ubv = (C.GPCOLOR3UBV)(getProcAddr("glColor3ubv")) - if gpColor3ubv == nil { - return errors.New("glColor3ubv") - } - gpColor3ui = (C.GPCOLOR3UI)(getProcAddr("glColor3ui")) - if gpColor3ui == nil { - return errors.New("glColor3ui") - } - gpColor3uiv = (C.GPCOLOR3UIV)(getProcAddr("glColor3uiv")) - if gpColor3uiv == nil { - return errors.New("glColor3uiv") - } - gpColor3us = (C.GPCOLOR3US)(getProcAddr("glColor3us")) - if gpColor3us == nil { - return errors.New("glColor3us") - } - gpColor3usv = (C.GPCOLOR3USV)(getProcAddr("glColor3usv")) - if gpColor3usv == nil { - return errors.New("glColor3usv") - } - gpColor3xOES = (C.GPCOLOR3XOES)(getProcAddr("glColor3xOES")) - gpColor3xvOES = (C.GPCOLOR3XVOES)(getProcAddr("glColor3xvOES")) - gpColor4b = (C.GPCOLOR4B)(getProcAddr("glColor4b")) - if gpColor4b == nil { - return errors.New("glColor4b") - } - gpColor4bv = (C.GPCOLOR4BV)(getProcAddr("glColor4bv")) - if gpColor4bv == nil { - return errors.New("glColor4bv") - } - gpColor4d = (C.GPCOLOR4D)(getProcAddr("glColor4d")) - if gpColor4d == nil { - return errors.New("glColor4d") - } - gpColor4dv = (C.GPCOLOR4DV)(getProcAddr("glColor4dv")) - if gpColor4dv == nil { - return errors.New("glColor4dv") - } - gpColor4f = (C.GPCOLOR4F)(getProcAddr("glColor4f")) - if gpColor4f == nil { - return errors.New("glColor4f") - } - gpColor4fNormal3fVertex3fSUN = (C.GPCOLOR4FNORMAL3FVERTEX3FSUN)(getProcAddr("glColor4fNormal3fVertex3fSUN")) - gpColor4fNormal3fVertex3fvSUN = (C.GPCOLOR4FNORMAL3FVERTEX3FVSUN)(getProcAddr("glColor4fNormal3fVertex3fvSUN")) - gpColor4fv = (C.GPCOLOR4FV)(getProcAddr("glColor4fv")) - if gpColor4fv == nil { - return errors.New("glColor4fv") - } - gpColor4hNV = (C.GPCOLOR4HNV)(getProcAddr("glColor4hNV")) - gpColor4hvNV = (C.GPCOLOR4HVNV)(getProcAddr("glColor4hvNV")) - gpColor4i = (C.GPCOLOR4I)(getProcAddr("glColor4i")) - if gpColor4i == nil { - return errors.New("glColor4i") - } - gpColor4iv = (C.GPCOLOR4IV)(getProcAddr("glColor4iv")) - if gpColor4iv == nil { - return errors.New("glColor4iv") - } - gpColor4s = (C.GPCOLOR4S)(getProcAddr("glColor4s")) - if gpColor4s == nil { - return errors.New("glColor4s") - } - gpColor4sv = (C.GPCOLOR4SV)(getProcAddr("glColor4sv")) - if gpColor4sv == nil { - return errors.New("glColor4sv") - } - gpColor4ub = (C.GPCOLOR4UB)(getProcAddr("glColor4ub")) - if gpColor4ub == nil { - return errors.New("glColor4ub") - } - gpColor4ubVertex2fSUN = (C.GPCOLOR4UBVERTEX2FSUN)(getProcAddr("glColor4ubVertex2fSUN")) - gpColor4ubVertex2fvSUN = (C.GPCOLOR4UBVERTEX2FVSUN)(getProcAddr("glColor4ubVertex2fvSUN")) - gpColor4ubVertex3fSUN = (C.GPCOLOR4UBVERTEX3FSUN)(getProcAddr("glColor4ubVertex3fSUN")) - gpColor4ubVertex3fvSUN = (C.GPCOLOR4UBVERTEX3FVSUN)(getProcAddr("glColor4ubVertex3fvSUN")) - gpColor4ubv = (C.GPCOLOR4UBV)(getProcAddr("glColor4ubv")) - if gpColor4ubv == nil { - return errors.New("glColor4ubv") - } - gpColor4ui = (C.GPCOLOR4UI)(getProcAddr("glColor4ui")) - if gpColor4ui == nil { - return errors.New("glColor4ui") - } - gpColor4uiv = (C.GPCOLOR4UIV)(getProcAddr("glColor4uiv")) - if gpColor4uiv == nil { - return errors.New("glColor4uiv") - } - gpColor4us = (C.GPCOLOR4US)(getProcAddr("glColor4us")) - if gpColor4us == nil { - return errors.New("glColor4us") - } - gpColor4usv = (C.GPCOLOR4USV)(getProcAddr("glColor4usv")) - if gpColor4usv == nil { - return errors.New("glColor4usv") - } - gpColor4xOES = (C.GPCOLOR4XOES)(getProcAddr("glColor4xOES")) - gpColor4xvOES = (C.GPCOLOR4XVOES)(getProcAddr("glColor4xvOES")) - gpColorFormatNV = (C.GPCOLORFORMATNV)(getProcAddr("glColorFormatNV")) - gpColorFragmentOp1ATI = (C.GPCOLORFRAGMENTOP1ATI)(getProcAddr("glColorFragmentOp1ATI")) - gpColorFragmentOp2ATI = (C.GPCOLORFRAGMENTOP2ATI)(getProcAddr("glColorFragmentOp2ATI")) - gpColorFragmentOp3ATI = (C.GPCOLORFRAGMENTOP3ATI)(getProcAddr("glColorFragmentOp3ATI")) - gpColorMask = (C.GPCOLORMASK)(getProcAddr("glColorMask")) - if gpColorMask == nil { - return errors.New("glColorMask") - } - gpColorMaskIndexedEXT = (C.GPCOLORMASKINDEXEDEXT)(getProcAddr("glColorMaskIndexedEXT")) - gpColorMaterial = (C.GPCOLORMATERIAL)(getProcAddr("glColorMaterial")) - if gpColorMaterial == nil { - return errors.New("glColorMaterial") - } - gpColorPointer = (C.GPCOLORPOINTER)(getProcAddr("glColorPointer")) - if gpColorPointer == nil { - return errors.New("glColorPointer") - } - gpColorPointerEXT = (C.GPCOLORPOINTEREXT)(getProcAddr("glColorPointerEXT")) - gpColorPointerListIBM = (C.GPCOLORPOINTERLISTIBM)(getProcAddr("glColorPointerListIBM")) - gpColorPointervINTEL = (C.GPCOLORPOINTERVINTEL)(getProcAddr("glColorPointervINTEL")) - gpColorSubTableEXT = (C.GPCOLORSUBTABLEEXT)(getProcAddr("glColorSubTableEXT")) - gpColorTableEXT = (C.GPCOLORTABLEEXT)(getProcAddr("glColorTableEXT")) - gpColorTableParameterfvSGI = (C.GPCOLORTABLEPARAMETERFVSGI)(getProcAddr("glColorTableParameterfvSGI")) - gpColorTableParameterivSGI = (C.GPCOLORTABLEPARAMETERIVSGI)(getProcAddr("glColorTableParameterivSGI")) - gpColorTableSGI = (C.GPCOLORTABLESGI)(getProcAddr("glColorTableSGI")) - gpCombinerInputNV = (C.GPCOMBINERINPUTNV)(getProcAddr("glCombinerInputNV")) - gpCombinerOutputNV = (C.GPCOMBINEROUTPUTNV)(getProcAddr("glCombinerOutputNV")) - gpCombinerParameterfNV = (C.GPCOMBINERPARAMETERFNV)(getProcAddr("glCombinerParameterfNV")) - gpCombinerParameterfvNV = (C.GPCOMBINERPARAMETERFVNV)(getProcAddr("glCombinerParameterfvNV")) - gpCombinerParameteriNV = (C.GPCOMBINERPARAMETERINV)(getProcAddr("glCombinerParameteriNV")) - gpCombinerParameterivNV = (C.GPCOMBINERPARAMETERIVNV)(getProcAddr("glCombinerParameterivNV")) - gpCombinerStageParameterfvNV = (C.GPCOMBINERSTAGEPARAMETERFVNV)(getProcAddr("glCombinerStageParameterfvNV")) - gpCommandListSegmentsNV = (C.GPCOMMANDLISTSEGMENTSNV)(getProcAddr("glCommandListSegmentsNV")) - gpCompileCommandListNV = (C.GPCOMPILECOMMANDLISTNV)(getProcAddr("glCompileCommandListNV")) gpCompileShader = (C.GPCOMPILESHADER)(getProcAddr("glCompileShader")) if gpCompileShader == nil { return errors.New("glCompileShader") } - gpCompileShaderARB = (C.GPCOMPILESHADERARB)(getProcAddr("glCompileShaderARB")) - gpCompileShaderIncludeARB = (C.GPCOMPILESHADERINCLUDEARB)(getProcAddr("glCompileShaderIncludeARB")) - gpCompressedMultiTexImage1DEXT = (C.GPCOMPRESSEDMULTITEXIMAGE1DEXT)(getProcAddr("glCompressedMultiTexImage1DEXT")) - gpCompressedMultiTexImage2DEXT = (C.GPCOMPRESSEDMULTITEXIMAGE2DEXT)(getProcAddr("glCompressedMultiTexImage2DEXT")) - gpCompressedMultiTexImage3DEXT = (C.GPCOMPRESSEDMULTITEXIMAGE3DEXT)(getProcAddr("glCompressedMultiTexImage3DEXT")) - gpCompressedMultiTexSubImage1DEXT = (C.GPCOMPRESSEDMULTITEXSUBIMAGE1DEXT)(getProcAddr("glCompressedMultiTexSubImage1DEXT")) - gpCompressedMultiTexSubImage2DEXT = (C.GPCOMPRESSEDMULTITEXSUBIMAGE2DEXT)(getProcAddr("glCompressedMultiTexSubImage2DEXT")) - gpCompressedMultiTexSubImage3DEXT = (C.GPCOMPRESSEDMULTITEXSUBIMAGE3DEXT)(getProcAddr("glCompressedMultiTexSubImage3DEXT")) - gpCompressedTexImage1D = (C.GPCOMPRESSEDTEXIMAGE1D)(getProcAddr("glCompressedTexImage1D")) - if gpCompressedTexImage1D == nil { - return errors.New("glCompressedTexImage1D") - } - gpCompressedTexImage1DARB = (C.GPCOMPRESSEDTEXIMAGE1DARB)(getProcAddr("glCompressedTexImage1DARB")) - gpCompressedTexImage2D = (C.GPCOMPRESSEDTEXIMAGE2D)(getProcAddr("glCompressedTexImage2D")) - if gpCompressedTexImage2D == nil { - return errors.New("glCompressedTexImage2D") - } - gpCompressedTexImage2DARB = (C.GPCOMPRESSEDTEXIMAGE2DARB)(getProcAddr("glCompressedTexImage2DARB")) - gpCompressedTexImage3D = (C.GPCOMPRESSEDTEXIMAGE3D)(getProcAddr("glCompressedTexImage3D")) - if gpCompressedTexImage3D == nil { - return errors.New("glCompressedTexImage3D") - } - gpCompressedTexImage3DARB = (C.GPCOMPRESSEDTEXIMAGE3DARB)(getProcAddr("glCompressedTexImage3DARB")) - gpCompressedTexSubImage1D = (C.GPCOMPRESSEDTEXSUBIMAGE1D)(getProcAddr("glCompressedTexSubImage1D")) - if gpCompressedTexSubImage1D == nil { - return errors.New("glCompressedTexSubImage1D") - } - gpCompressedTexSubImage1DARB = (C.GPCOMPRESSEDTEXSUBIMAGE1DARB)(getProcAddr("glCompressedTexSubImage1DARB")) - gpCompressedTexSubImage2D = (C.GPCOMPRESSEDTEXSUBIMAGE2D)(getProcAddr("glCompressedTexSubImage2D")) - if gpCompressedTexSubImage2D == nil { - return errors.New("glCompressedTexSubImage2D") - } - gpCompressedTexSubImage2DARB = (C.GPCOMPRESSEDTEXSUBIMAGE2DARB)(getProcAddr("glCompressedTexSubImage2DARB")) - gpCompressedTexSubImage3D = (C.GPCOMPRESSEDTEXSUBIMAGE3D)(getProcAddr("glCompressedTexSubImage3D")) - if gpCompressedTexSubImage3D == nil { - return errors.New("glCompressedTexSubImage3D") - } - gpCompressedTexSubImage3DARB = (C.GPCOMPRESSEDTEXSUBIMAGE3DARB)(getProcAddr("glCompressedTexSubImage3DARB")) - gpCompressedTextureImage1DEXT = (C.GPCOMPRESSEDTEXTUREIMAGE1DEXT)(getProcAddr("glCompressedTextureImage1DEXT")) - gpCompressedTextureImage2DEXT = (C.GPCOMPRESSEDTEXTUREIMAGE2DEXT)(getProcAddr("glCompressedTextureImage2DEXT")) - gpCompressedTextureImage3DEXT = (C.GPCOMPRESSEDTEXTUREIMAGE3DEXT)(getProcAddr("glCompressedTextureImage3DEXT")) - gpCompressedTextureSubImage1D = (C.GPCOMPRESSEDTEXTURESUBIMAGE1D)(getProcAddr("glCompressedTextureSubImage1D")) - gpCompressedTextureSubImage1DEXT = (C.GPCOMPRESSEDTEXTURESUBIMAGE1DEXT)(getProcAddr("glCompressedTextureSubImage1DEXT")) - gpCompressedTextureSubImage2D = (C.GPCOMPRESSEDTEXTURESUBIMAGE2D)(getProcAddr("glCompressedTextureSubImage2D")) - gpCompressedTextureSubImage2DEXT = (C.GPCOMPRESSEDTEXTURESUBIMAGE2DEXT)(getProcAddr("glCompressedTextureSubImage2DEXT")) - gpCompressedTextureSubImage3D = (C.GPCOMPRESSEDTEXTURESUBIMAGE3D)(getProcAddr("glCompressedTextureSubImage3D")) - gpCompressedTextureSubImage3DEXT = (C.GPCOMPRESSEDTEXTURESUBIMAGE3DEXT)(getProcAddr("glCompressedTextureSubImage3DEXT")) - gpConservativeRasterParameterfNV = (C.GPCONSERVATIVERASTERPARAMETERFNV)(getProcAddr("glConservativeRasterParameterfNV")) - gpConservativeRasterParameteriNV = (C.GPCONSERVATIVERASTERPARAMETERINV)(getProcAddr("glConservativeRasterParameteriNV")) - gpConvolutionFilter1DEXT = (C.GPCONVOLUTIONFILTER1DEXT)(getProcAddr("glConvolutionFilter1DEXT")) - gpConvolutionFilter2DEXT = (C.GPCONVOLUTIONFILTER2DEXT)(getProcAddr("glConvolutionFilter2DEXT")) - gpConvolutionParameterfEXT = (C.GPCONVOLUTIONPARAMETERFEXT)(getProcAddr("glConvolutionParameterfEXT")) - gpConvolutionParameterfvEXT = (C.GPCONVOLUTIONPARAMETERFVEXT)(getProcAddr("glConvolutionParameterfvEXT")) - gpConvolutionParameteriEXT = (C.GPCONVOLUTIONPARAMETERIEXT)(getProcAddr("glConvolutionParameteriEXT")) - gpConvolutionParameterivEXT = (C.GPCONVOLUTIONPARAMETERIVEXT)(getProcAddr("glConvolutionParameterivEXT")) - gpConvolutionParameterxOES = (C.GPCONVOLUTIONPARAMETERXOES)(getProcAddr("glConvolutionParameterxOES")) - gpConvolutionParameterxvOES = (C.GPCONVOLUTIONPARAMETERXVOES)(getProcAddr("glConvolutionParameterxvOES")) - gpCopyBufferSubData = (C.GPCOPYBUFFERSUBDATA)(getProcAddr("glCopyBufferSubData")) - gpCopyColorSubTableEXT = (C.GPCOPYCOLORSUBTABLEEXT)(getProcAddr("glCopyColorSubTableEXT")) - gpCopyColorTableSGI = (C.GPCOPYCOLORTABLESGI)(getProcAddr("glCopyColorTableSGI")) - gpCopyConvolutionFilter1DEXT = (C.GPCOPYCONVOLUTIONFILTER1DEXT)(getProcAddr("glCopyConvolutionFilter1DEXT")) - gpCopyConvolutionFilter2DEXT = (C.GPCOPYCONVOLUTIONFILTER2DEXT)(getProcAddr("glCopyConvolutionFilter2DEXT")) - gpCopyImageSubData = (C.GPCOPYIMAGESUBDATA)(getProcAddr("glCopyImageSubData")) - gpCopyImageSubDataNV = (C.GPCOPYIMAGESUBDATANV)(getProcAddr("glCopyImageSubDataNV")) - gpCopyMultiTexImage1DEXT = (C.GPCOPYMULTITEXIMAGE1DEXT)(getProcAddr("glCopyMultiTexImage1DEXT")) - gpCopyMultiTexImage2DEXT = (C.GPCOPYMULTITEXIMAGE2DEXT)(getProcAddr("glCopyMultiTexImage2DEXT")) - gpCopyMultiTexSubImage1DEXT = (C.GPCOPYMULTITEXSUBIMAGE1DEXT)(getProcAddr("glCopyMultiTexSubImage1DEXT")) - gpCopyMultiTexSubImage2DEXT = (C.GPCOPYMULTITEXSUBIMAGE2DEXT)(getProcAddr("glCopyMultiTexSubImage2DEXT")) - gpCopyMultiTexSubImage3DEXT = (C.GPCOPYMULTITEXSUBIMAGE3DEXT)(getProcAddr("glCopyMultiTexSubImage3DEXT")) - gpCopyNamedBufferSubData = (C.GPCOPYNAMEDBUFFERSUBDATA)(getProcAddr("glCopyNamedBufferSubData")) - gpCopyPathNV = (C.GPCOPYPATHNV)(getProcAddr("glCopyPathNV")) - gpCopyPixels = (C.GPCOPYPIXELS)(getProcAddr("glCopyPixels")) - if gpCopyPixels == nil { - return errors.New("glCopyPixels") - } - gpCopyTexImage1D = (C.GPCOPYTEXIMAGE1D)(getProcAddr("glCopyTexImage1D")) - if gpCopyTexImage1D == nil { - return errors.New("glCopyTexImage1D") - } - gpCopyTexImage1DEXT = (C.GPCOPYTEXIMAGE1DEXT)(getProcAddr("glCopyTexImage1DEXT")) - gpCopyTexImage2D = (C.GPCOPYTEXIMAGE2D)(getProcAddr("glCopyTexImage2D")) - if gpCopyTexImage2D == nil { - return errors.New("glCopyTexImage2D") - } - gpCopyTexImage2DEXT = (C.GPCOPYTEXIMAGE2DEXT)(getProcAddr("glCopyTexImage2DEXT")) - gpCopyTexSubImage1D = (C.GPCOPYTEXSUBIMAGE1D)(getProcAddr("glCopyTexSubImage1D")) - if gpCopyTexSubImage1D == nil { - return errors.New("glCopyTexSubImage1D") - } - gpCopyTexSubImage1DEXT = (C.GPCOPYTEXSUBIMAGE1DEXT)(getProcAddr("glCopyTexSubImage1DEXT")) - gpCopyTexSubImage2D = (C.GPCOPYTEXSUBIMAGE2D)(getProcAddr("glCopyTexSubImage2D")) - if gpCopyTexSubImage2D == nil { - return errors.New("glCopyTexSubImage2D") - } - gpCopyTexSubImage2DEXT = (C.GPCOPYTEXSUBIMAGE2DEXT)(getProcAddr("glCopyTexSubImage2DEXT")) - gpCopyTexSubImage3D = (C.GPCOPYTEXSUBIMAGE3D)(getProcAddr("glCopyTexSubImage3D")) - if gpCopyTexSubImage3D == nil { - return errors.New("glCopyTexSubImage3D") - } - gpCopyTexSubImage3DEXT = (C.GPCOPYTEXSUBIMAGE3DEXT)(getProcAddr("glCopyTexSubImage3DEXT")) - gpCopyTextureImage1DEXT = (C.GPCOPYTEXTUREIMAGE1DEXT)(getProcAddr("glCopyTextureImage1DEXT")) - gpCopyTextureImage2DEXT = (C.GPCOPYTEXTUREIMAGE2DEXT)(getProcAddr("glCopyTextureImage2DEXT")) - gpCopyTextureSubImage1D = (C.GPCOPYTEXTURESUBIMAGE1D)(getProcAddr("glCopyTextureSubImage1D")) - gpCopyTextureSubImage1DEXT = (C.GPCOPYTEXTURESUBIMAGE1DEXT)(getProcAddr("glCopyTextureSubImage1DEXT")) - gpCopyTextureSubImage2D = (C.GPCOPYTEXTURESUBIMAGE2D)(getProcAddr("glCopyTextureSubImage2D")) - gpCopyTextureSubImage2DEXT = (C.GPCOPYTEXTURESUBIMAGE2DEXT)(getProcAddr("glCopyTextureSubImage2DEXT")) - gpCopyTextureSubImage3D = (C.GPCOPYTEXTURESUBIMAGE3D)(getProcAddr("glCopyTextureSubImage3D")) - gpCopyTextureSubImage3DEXT = (C.GPCOPYTEXTURESUBIMAGE3DEXT)(getProcAddr("glCopyTextureSubImage3DEXT")) - gpCoverFillPathInstancedNV = (C.GPCOVERFILLPATHINSTANCEDNV)(getProcAddr("glCoverFillPathInstancedNV")) - gpCoverFillPathNV = (C.GPCOVERFILLPATHNV)(getProcAddr("glCoverFillPathNV")) - gpCoverStrokePathInstancedNV = (C.GPCOVERSTROKEPATHINSTANCEDNV)(getProcAddr("glCoverStrokePathInstancedNV")) - gpCoverStrokePathNV = (C.GPCOVERSTROKEPATHNV)(getProcAddr("glCoverStrokePathNV")) - gpCoverageModulationNV = (C.GPCOVERAGEMODULATIONNV)(getProcAddr("glCoverageModulationNV")) - gpCoverageModulationTableNV = (C.GPCOVERAGEMODULATIONTABLENV)(getProcAddr("glCoverageModulationTableNV")) - gpCreateBuffers = (C.GPCREATEBUFFERS)(getProcAddr("glCreateBuffers")) - gpCreateCommandListsNV = (C.GPCREATECOMMANDLISTSNV)(getProcAddr("glCreateCommandListsNV")) - gpCreateFramebuffers = (C.GPCREATEFRAMEBUFFERS)(getProcAddr("glCreateFramebuffers")) - gpCreateMemoryObjectsEXT = (C.GPCREATEMEMORYOBJECTSEXT)(getProcAddr("glCreateMemoryObjectsEXT")) - gpCreatePerfQueryINTEL = (C.GPCREATEPERFQUERYINTEL)(getProcAddr("glCreatePerfQueryINTEL")) gpCreateProgram = (C.GPCREATEPROGRAM)(getProcAddr("glCreateProgram")) if gpCreateProgram == nil { return errors.New("glCreateProgram") } - gpCreateProgramObjectARB = (C.GPCREATEPROGRAMOBJECTARB)(getProcAddr("glCreateProgramObjectARB")) - gpCreateProgramPipelines = (C.GPCREATEPROGRAMPIPELINES)(getProcAddr("glCreateProgramPipelines")) - gpCreateQueries = (C.GPCREATEQUERIES)(getProcAddr("glCreateQueries")) - gpCreateRenderbuffers = (C.GPCREATERENDERBUFFERS)(getProcAddr("glCreateRenderbuffers")) - gpCreateSamplers = (C.GPCREATESAMPLERS)(getProcAddr("glCreateSamplers")) gpCreateShader = (C.GPCREATESHADER)(getProcAddr("glCreateShader")) if gpCreateShader == nil { return errors.New("glCreateShader") } - gpCreateShaderObjectARB = (C.GPCREATESHADEROBJECTARB)(getProcAddr("glCreateShaderObjectARB")) - gpCreateShaderProgramEXT = (C.GPCREATESHADERPROGRAMEXT)(getProcAddr("glCreateShaderProgramEXT")) - gpCreateShaderProgramv = (C.GPCREATESHADERPROGRAMV)(getProcAddr("glCreateShaderProgramv")) - gpCreateShaderProgramvEXT = (C.GPCREATESHADERPROGRAMVEXT)(getProcAddr("glCreateShaderProgramvEXT")) - gpCreateStatesNV = (C.GPCREATESTATESNV)(getProcAddr("glCreateStatesNV")) - gpCreateSyncFromCLeventARB = (C.GPCREATESYNCFROMCLEVENTARB)(getProcAddr("glCreateSyncFromCLeventARB")) - gpCreateTextures = (C.GPCREATETEXTURES)(getProcAddr("glCreateTextures")) - gpCreateTransformFeedbacks = (C.GPCREATETRANSFORMFEEDBACKS)(getProcAddr("glCreateTransformFeedbacks")) - gpCreateVertexArrays = (C.GPCREATEVERTEXARRAYS)(getProcAddr("glCreateVertexArrays")) - gpCullFace = (C.GPCULLFACE)(getProcAddr("glCullFace")) - if gpCullFace == nil { - return errors.New("glCullFace") - } - gpCullParameterdvEXT = (C.GPCULLPARAMETERDVEXT)(getProcAddr("glCullParameterdvEXT")) - gpCullParameterfvEXT = (C.GPCULLPARAMETERFVEXT)(getProcAddr("glCullParameterfvEXT")) - gpCurrentPaletteMatrixARB = (C.GPCURRENTPALETTEMATRIXARB)(getProcAddr("glCurrentPaletteMatrixARB")) - gpDebugMessageCallback = (C.GPDEBUGMESSAGECALLBACK)(getProcAddr("glDebugMessageCallback")) - gpDebugMessageCallbackAMD = (C.GPDEBUGMESSAGECALLBACKAMD)(getProcAddr("glDebugMessageCallbackAMD")) - gpDebugMessageCallbackARB = (C.GPDEBUGMESSAGECALLBACKARB)(getProcAddr("glDebugMessageCallbackARB")) - gpDebugMessageCallbackKHR = (C.GPDEBUGMESSAGECALLBACKKHR)(getProcAddr("glDebugMessageCallbackKHR")) - gpDebugMessageControl = (C.GPDEBUGMESSAGECONTROL)(getProcAddr("glDebugMessageControl")) - gpDebugMessageControlARB = (C.GPDEBUGMESSAGECONTROLARB)(getProcAddr("glDebugMessageControlARB")) - gpDebugMessageControlKHR = (C.GPDEBUGMESSAGECONTROLKHR)(getProcAddr("glDebugMessageControlKHR")) - gpDebugMessageEnableAMD = (C.GPDEBUGMESSAGEENABLEAMD)(getProcAddr("glDebugMessageEnableAMD")) - gpDebugMessageInsert = (C.GPDEBUGMESSAGEINSERT)(getProcAddr("glDebugMessageInsert")) - gpDebugMessageInsertAMD = (C.GPDEBUGMESSAGEINSERTAMD)(getProcAddr("glDebugMessageInsertAMD")) - gpDebugMessageInsertARB = (C.GPDEBUGMESSAGEINSERTARB)(getProcAddr("glDebugMessageInsertARB")) - gpDebugMessageInsertKHR = (C.GPDEBUGMESSAGEINSERTKHR)(getProcAddr("glDebugMessageInsertKHR")) - gpDeformSGIX = (C.GPDEFORMSGIX)(getProcAddr("glDeformSGIX")) - gpDeformationMap3dSGIX = (C.GPDEFORMATIONMAP3DSGIX)(getProcAddr("glDeformationMap3dSGIX")) - gpDeformationMap3fSGIX = (C.GPDEFORMATIONMAP3FSGIX)(getProcAddr("glDeformationMap3fSGIX")) - gpDeleteAsyncMarkersSGIX = (C.GPDELETEASYNCMARKERSSGIX)(getProcAddr("glDeleteAsyncMarkersSGIX")) gpDeleteBuffers = (C.GPDELETEBUFFERS)(getProcAddr("glDeleteBuffers")) if gpDeleteBuffers == nil { return errors.New("glDeleteBuffers") } - gpDeleteBuffersARB = (C.GPDELETEBUFFERSARB)(getProcAddr("glDeleteBuffersARB")) - gpDeleteCommandListsNV = (C.GPDELETECOMMANDLISTSNV)(getProcAddr("glDeleteCommandListsNV")) - gpDeleteFencesAPPLE = (C.GPDELETEFENCESAPPLE)(getProcAddr("glDeleteFencesAPPLE")) - gpDeleteFencesNV = (C.GPDELETEFENCESNV)(getProcAddr("glDeleteFencesNV")) - gpDeleteFragmentShaderATI = (C.GPDELETEFRAGMENTSHADERATI)(getProcAddr("glDeleteFragmentShaderATI")) - gpDeleteFramebuffers = (C.GPDELETEFRAMEBUFFERS)(getProcAddr("glDeleteFramebuffers")) gpDeleteFramebuffersEXT = (C.GPDELETEFRAMEBUFFERSEXT)(getProcAddr("glDeleteFramebuffersEXT")) - gpDeleteLists = (C.GPDELETELISTS)(getProcAddr("glDeleteLists")) - if gpDeleteLists == nil { - return errors.New("glDeleteLists") - } - gpDeleteMemoryObjectsEXT = (C.GPDELETEMEMORYOBJECTSEXT)(getProcAddr("glDeleteMemoryObjectsEXT")) - gpDeleteNamedStringARB = (C.GPDELETENAMEDSTRINGARB)(getProcAddr("glDeleteNamedStringARB")) - gpDeleteNamesAMD = (C.GPDELETENAMESAMD)(getProcAddr("glDeleteNamesAMD")) - gpDeleteObjectARB = (C.GPDELETEOBJECTARB)(getProcAddr("glDeleteObjectARB")) - gpDeleteOcclusionQueriesNV = (C.GPDELETEOCCLUSIONQUERIESNV)(getProcAddr("glDeleteOcclusionQueriesNV")) - gpDeletePathsNV = (C.GPDELETEPATHSNV)(getProcAddr("glDeletePathsNV")) - gpDeletePerfMonitorsAMD = (C.GPDELETEPERFMONITORSAMD)(getProcAddr("glDeletePerfMonitorsAMD")) - gpDeletePerfQueryINTEL = (C.GPDELETEPERFQUERYINTEL)(getProcAddr("glDeletePerfQueryINTEL")) gpDeleteProgram = (C.GPDELETEPROGRAM)(getProcAddr("glDeleteProgram")) if gpDeleteProgram == nil { return errors.New("glDeleteProgram") } - gpDeleteProgramPipelines = (C.GPDELETEPROGRAMPIPELINES)(getProcAddr("glDeleteProgramPipelines")) - gpDeleteProgramPipelinesEXT = (C.GPDELETEPROGRAMPIPELINESEXT)(getProcAddr("glDeleteProgramPipelinesEXT")) - gpDeleteProgramsARB = (C.GPDELETEPROGRAMSARB)(getProcAddr("glDeleteProgramsARB")) - gpDeleteProgramsNV = (C.GPDELETEPROGRAMSNV)(getProcAddr("glDeleteProgramsNV")) - gpDeleteQueries = (C.GPDELETEQUERIES)(getProcAddr("glDeleteQueries")) - if gpDeleteQueries == nil { - return errors.New("glDeleteQueries") - } - gpDeleteQueriesARB = (C.GPDELETEQUERIESARB)(getProcAddr("glDeleteQueriesARB")) - gpDeleteQueryResourceTagNV = (C.GPDELETEQUERYRESOURCETAGNV)(getProcAddr("glDeleteQueryResourceTagNV")) - gpDeleteRenderbuffers = (C.GPDELETERENDERBUFFERS)(getProcAddr("glDeleteRenderbuffers")) - gpDeleteRenderbuffersEXT = (C.GPDELETERENDERBUFFERSEXT)(getProcAddr("glDeleteRenderbuffersEXT")) - gpDeleteSamplers = (C.GPDELETESAMPLERS)(getProcAddr("glDeleteSamplers")) - gpDeleteSemaphoresEXT = (C.GPDELETESEMAPHORESEXT)(getProcAddr("glDeleteSemaphoresEXT")) gpDeleteShader = (C.GPDELETESHADER)(getProcAddr("glDeleteShader")) if gpDeleteShader == nil { return errors.New("glDeleteShader") } - gpDeleteStatesNV = (C.GPDELETESTATESNV)(getProcAddr("glDeleteStatesNV")) - gpDeleteSync = (C.GPDELETESYNC)(getProcAddr("glDeleteSync")) gpDeleteTextures = (C.GPDELETETEXTURES)(getProcAddr("glDeleteTextures")) if gpDeleteTextures == nil { return errors.New("glDeleteTextures") } - gpDeleteTexturesEXT = (C.GPDELETETEXTURESEXT)(getProcAddr("glDeleteTexturesEXT")) - gpDeleteTransformFeedbacks = (C.GPDELETETRANSFORMFEEDBACKS)(getProcAddr("glDeleteTransformFeedbacks")) - gpDeleteTransformFeedbacksNV = (C.GPDELETETRANSFORMFEEDBACKSNV)(getProcAddr("glDeleteTransformFeedbacksNV")) - gpDeleteVertexArrays = (C.GPDELETEVERTEXARRAYS)(getProcAddr("glDeleteVertexArrays")) - gpDeleteVertexArraysAPPLE = (C.GPDELETEVERTEXARRAYSAPPLE)(getProcAddr("glDeleteVertexArraysAPPLE")) - gpDeleteVertexShaderEXT = (C.GPDELETEVERTEXSHADEREXT)(getProcAddr("glDeleteVertexShaderEXT")) - gpDepthBoundsEXT = (C.GPDEPTHBOUNDSEXT)(getProcAddr("glDepthBoundsEXT")) - gpDepthBoundsdNV = (C.GPDEPTHBOUNDSDNV)(getProcAddr("glDepthBoundsdNV")) - gpDepthFunc = (C.GPDEPTHFUNC)(getProcAddr("glDepthFunc")) - if gpDepthFunc == nil { - return errors.New("glDepthFunc") - } - gpDepthMask = (C.GPDEPTHMASK)(getProcAddr("glDepthMask")) - if gpDepthMask == nil { - return errors.New("glDepthMask") - } - gpDepthRange = (C.GPDEPTHRANGE)(getProcAddr("glDepthRange")) - if gpDepthRange == nil { - return errors.New("glDepthRange") - } - gpDepthRangeArrayv = (C.GPDEPTHRANGEARRAYV)(getProcAddr("glDepthRangeArrayv")) - gpDepthRangeIndexed = (C.GPDEPTHRANGEINDEXED)(getProcAddr("glDepthRangeIndexed")) - gpDepthRangedNV = (C.GPDEPTHRANGEDNV)(getProcAddr("glDepthRangedNV")) - gpDepthRangef = (C.GPDEPTHRANGEF)(getProcAddr("glDepthRangef")) - gpDepthRangefOES = (C.GPDEPTHRANGEFOES)(getProcAddr("glDepthRangefOES")) - gpDepthRangexOES = (C.GPDEPTHRANGEXOES)(getProcAddr("glDepthRangexOES")) - gpDetachObjectARB = (C.GPDETACHOBJECTARB)(getProcAddr("glDetachObjectARB")) - gpDetachShader = (C.GPDETACHSHADER)(getProcAddr("glDetachShader")) - if gpDetachShader == nil { - return errors.New("glDetachShader") - } - gpDetailTexFuncSGIS = (C.GPDETAILTEXFUNCSGIS)(getProcAddr("glDetailTexFuncSGIS")) - gpDisable = (C.GPDISABLE)(getProcAddr("glDisable")) - if gpDisable == nil { - return errors.New("glDisable") - } - gpDisableClientState = (C.GPDISABLECLIENTSTATE)(getProcAddr("glDisableClientState")) - if gpDisableClientState == nil { - return errors.New("glDisableClientState") - } - gpDisableClientStateIndexedEXT = (C.GPDISABLECLIENTSTATEINDEXEDEXT)(getProcAddr("glDisableClientStateIndexedEXT")) - gpDisableClientStateiEXT = (C.GPDISABLECLIENTSTATEIEXT)(getProcAddr("glDisableClientStateiEXT")) - gpDisableIndexedEXT = (C.GPDISABLEINDEXEDEXT)(getProcAddr("glDisableIndexedEXT")) - gpDisableVariantClientStateEXT = (C.GPDISABLEVARIANTCLIENTSTATEEXT)(getProcAddr("glDisableVariantClientStateEXT")) - gpDisableVertexArrayAttrib = (C.GPDISABLEVERTEXARRAYATTRIB)(getProcAddr("glDisableVertexArrayAttrib")) - gpDisableVertexArrayAttribEXT = (C.GPDISABLEVERTEXARRAYATTRIBEXT)(getProcAddr("glDisableVertexArrayAttribEXT")) - gpDisableVertexArrayEXT = (C.GPDISABLEVERTEXARRAYEXT)(getProcAddr("glDisableVertexArrayEXT")) - gpDisableVertexAttribAPPLE = (C.GPDISABLEVERTEXATTRIBAPPLE)(getProcAddr("glDisableVertexAttribAPPLE")) gpDisableVertexAttribArray = (C.GPDISABLEVERTEXATTRIBARRAY)(getProcAddr("glDisableVertexAttribArray")) if gpDisableVertexAttribArray == nil { return errors.New("glDisableVertexAttribArray") } - gpDisableVertexAttribArrayARB = (C.GPDISABLEVERTEXATTRIBARRAYARB)(getProcAddr("glDisableVertexAttribArrayARB")) - gpDispatchCompute = (C.GPDISPATCHCOMPUTE)(getProcAddr("glDispatchCompute")) - gpDispatchComputeGroupSizeARB = (C.GPDISPATCHCOMPUTEGROUPSIZEARB)(getProcAddr("glDispatchComputeGroupSizeARB")) - gpDispatchComputeIndirect = (C.GPDISPATCHCOMPUTEINDIRECT)(getProcAddr("glDispatchComputeIndirect")) - gpDrawArrays = (C.GPDRAWARRAYS)(getProcAddr("glDrawArrays")) - if gpDrawArrays == nil { - return errors.New("glDrawArrays") - } - gpDrawArraysEXT = (C.GPDRAWARRAYSEXT)(getProcAddr("glDrawArraysEXT")) - gpDrawArraysIndirect = (C.GPDRAWARRAYSINDIRECT)(getProcAddr("glDrawArraysIndirect")) - gpDrawArraysInstancedARB = (C.GPDRAWARRAYSINSTANCEDARB)(getProcAddr("glDrawArraysInstancedARB")) - gpDrawArraysInstancedBaseInstance = (C.GPDRAWARRAYSINSTANCEDBASEINSTANCE)(getProcAddr("glDrawArraysInstancedBaseInstance")) - gpDrawArraysInstancedEXT = (C.GPDRAWARRAYSINSTANCEDEXT)(getProcAddr("glDrawArraysInstancedEXT")) - gpDrawBuffer = (C.GPDRAWBUFFER)(getProcAddr("glDrawBuffer")) - if gpDrawBuffer == nil { - return errors.New("glDrawBuffer") - } - gpDrawBuffers = (C.GPDRAWBUFFERS)(getProcAddr("glDrawBuffers")) - if gpDrawBuffers == nil { - return errors.New("glDrawBuffers") - } - gpDrawBuffersARB = (C.GPDRAWBUFFERSARB)(getProcAddr("glDrawBuffersARB")) - gpDrawBuffersATI = (C.GPDRAWBUFFERSATI)(getProcAddr("glDrawBuffersATI")) - gpDrawCommandsAddressNV = (C.GPDRAWCOMMANDSADDRESSNV)(getProcAddr("glDrawCommandsAddressNV")) - gpDrawCommandsNV = (C.GPDRAWCOMMANDSNV)(getProcAddr("glDrawCommandsNV")) - gpDrawCommandsStatesAddressNV = (C.GPDRAWCOMMANDSSTATESADDRESSNV)(getProcAddr("glDrawCommandsStatesAddressNV")) - gpDrawCommandsStatesNV = (C.GPDRAWCOMMANDSSTATESNV)(getProcAddr("glDrawCommandsStatesNV")) - gpDrawElementArrayAPPLE = (C.GPDRAWELEMENTARRAYAPPLE)(getProcAddr("glDrawElementArrayAPPLE")) - gpDrawElementArrayATI = (C.GPDRAWELEMENTARRAYATI)(getProcAddr("glDrawElementArrayATI")) gpDrawElements = (C.GPDRAWELEMENTS)(getProcAddr("glDrawElements")) if gpDrawElements == nil { return errors.New("glDrawElements") } - gpDrawElementsBaseVertex = (C.GPDRAWELEMENTSBASEVERTEX)(getProcAddr("glDrawElementsBaseVertex")) - gpDrawElementsIndirect = (C.GPDRAWELEMENTSINDIRECT)(getProcAddr("glDrawElementsIndirect")) - gpDrawElementsInstancedARB = (C.GPDRAWELEMENTSINSTANCEDARB)(getProcAddr("glDrawElementsInstancedARB")) - gpDrawElementsInstancedBaseInstance = (C.GPDRAWELEMENTSINSTANCEDBASEINSTANCE)(getProcAddr("glDrawElementsInstancedBaseInstance")) - gpDrawElementsInstancedBaseVertex = (C.GPDRAWELEMENTSINSTANCEDBASEVERTEX)(getProcAddr("glDrawElementsInstancedBaseVertex")) - gpDrawElementsInstancedBaseVertexBaseInstance = (C.GPDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCE)(getProcAddr("glDrawElementsInstancedBaseVertexBaseInstance")) - gpDrawElementsInstancedEXT = (C.GPDRAWELEMENTSINSTANCEDEXT)(getProcAddr("glDrawElementsInstancedEXT")) - gpDrawMeshArraysSUN = (C.GPDRAWMESHARRAYSSUN)(getProcAddr("glDrawMeshArraysSUN")) - gpDrawPixels = (C.GPDRAWPIXELS)(getProcAddr("glDrawPixels")) - if gpDrawPixels == nil { - return errors.New("glDrawPixels") - } - gpDrawRangeElementArrayAPPLE = (C.GPDRAWRANGEELEMENTARRAYAPPLE)(getProcAddr("glDrawRangeElementArrayAPPLE")) - gpDrawRangeElementArrayATI = (C.GPDRAWRANGEELEMENTARRAYATI)(getProcAddr("glDrawRangeElementArrayATI")) - gpDrawRangeElements = (C.GPDRAWRANGEELEMENTS)(getProcAddr("glDrawRangeElements")) - if gpDrawRangeElements == nil { - return errors.New("glDrawRangeElements") - } - gpDrawRangeElementsBaseVertex = (C.GPDRAWRANGEELEMENTSBASEVERTEX)(getProcAddr("glDrawRangeElementsBaseVertex")) - gpDrawRangeElementsEXT = (C.GPDRAWRANGEELEMENTSEXT)(getProcAddr("glDrawRangeElementsEXT")) - gpDrawTextureNV = (C.GPDRAWTEXTURENV)(getProcAddr("glDrawTextureNV")) - gpDrawTransformFeedback = (C.GPDRAWTRANSFORMFEEDBACK)(getProcAddr("glDrawTransformFeedback")) - gpDrawTransformFeedbackInstanced = (C.GPDRAWTRANSFORMFEEDBACKINSTANCED)(getProcAddr("glDrawTransformFeedbackInstanced")) - gpDrawTransformFeedbackNV = (C.GPDRAWTRANSFORMFEEDBACKNV)(getProcAddr("glDrawTransformFeedbackNV")) - gpDrawTransformFeedbackStream = (C.GPDRAWTRANSFORMFEEDBACKSTREAM)(getProcAddr("glDrawTransformFeedbackStream")) - gpDrawTransformFeedbackStreamInstanced = (C.GPDRAWTRANSFORMFEEDBACKSTREAMINSTANCED)(getProcAddr("glDrawTransformFeedbackStreamInstanced")) - gpDrawVkImageNV = (C.GPDRAWVKIMAGENV)(getProcAddr("glDrawVkImageNV")) - gpEGLImageTargetTexStorageEXT = (C.GPEGLIMAGETARGETTEXSTORAGEEXT)(getProcAddr("glEGLImageTargetTexStorageEXT")) - gpEGLImageTargetTextureStorageEXT = (C.GPEGLIMAGETARGETTEXTURESTORAGEEXT)(getProcAddr("glEGLImageTargetTextureStorageEXT")) - gpEdgeFlag = (C.GPEDGEFLAG)(getProcAddr("glEdgeFlag")) - if gpEdgeFlag == nil { - return errors.New("glEdgeFlag") - } - gpEdgeFlagFormatNV = (C.GPEDGEFLAGFORMATNV)(getProcAddr("glEdgeFlagFormatNV")) - gpEdgeFlagPointer = (C.GPEDGEFLAGPOINTER)(getProcAddr("glEdgeFlagPointer")) - if gpEdgeFlagPointer == nil { - return errors.New("glEdgeFlagPointer") - } - gpEdgeFlagPointerEXT = (C.GPEDGEFLAGPOINTEREXT)(getProcAddr("glEdgeFlagPointerEXT")) - gpEdgeFlagPointerListIBM = (C.GPEDGEFLAGPOINTERLISTIBM)(getProcAddr("glEdgeFlagPointerListIBM")) - gpEdgeFlagv = (C.GPEDGEFLAGV)(getProcAddr("glEdgeFlagv")) - if gpEdgeFlagv == nil { - return errors.New("glEdgeFlagv") - } - gpElementPointerAPPLE = (C.GPELEMENTPOINTERAPPLE)(getProcAddr("glElementPointerAPPLE")) - gpElementPointerATI = (C.GPELEMENTPOINTERATI)(getProcAddr("glElementPointerATI")) gpEnable = (C.GPENABLE)(getProcAddr("glEnable")) if gpEnable == nil { return errors.New("glEnable") } - gpEnableClientState = (C.GPENABLECLIENTSTATE)(getProcAddr("glEnableClientState")) - if gpEnableClientState == nil { - return errors.New("glEnableClientState") - } - gpEnableClientStateIndexedEXT = (C.GPENABLECLIENTSTATEINDEXEDEXT)(getProcAddr("glEnableClientStateIndexedEXT")) - gpEnableClientStateiEXT = (C.GPENABLECLIENTSTATEIEXT)(getProcAddr("glEnableClientStateiEXT")) - gpEnableIndexedEXT = (C.GPENABLEINDEXEDEXT)(getProcAddr("glEnableIndexedEXT")) - gpEnableVariantClientStateEXT = (C.GPENABLEVARIANTCLIENTSTATEEXT)(getProcAddr("glEnableVariantClientStateEXT")) - gpEnableVertexArrayAttrib = (C.GPENABLEVERTEXARRAYATTRIB)(getProcAddr("glEnableVertexArrayAttrib")) - gpEnableVertexArrayAttribEXT = (C.GPENABLEVERTEXARRAYATTRIBEXT)(getProcAddr("glEnableVertexArrayAttribEXT")) - gpEnableVertexArrayEXT = (C.GPENABLEVERTEXARRAYEXT)(getProcAddr("glEnableVertexArrayEXT")) - gpEnableVertexAttribAPPLE = (C.GPENABLEVERTEXATTRIBAPPLE)(getProcAddr("glEnableVertexAttribAPPLE")) gpEnableVertexAttribArray = (C.GPENABLEVERTEXATTRIBARRAY)(getProcAddr("glEnableVertexAttribArray")) if gpEnableVertexAttribArray == nil { return errors.New("glEnableVertexAttribArray") } - gpEnableVertexAttribArrayARB = (C.GPENABLEVERTEXATTRIBARRAYARB)(getProcAddr("glEnableVertexAttribArrayARB")) - gpEnd = (C.GPEND)(getProcAddr("glEnd")) - if gpEnd == nil { - return errors.New("glEnd") - } - gpEndConditionalRenderNV = (C.GPENDCONDITIONALRENDERNV)(getProcAddr("glEndConditionalRenderNV")) - gpEndConditionalRenderNVX = (C.GPENDCONDITIONALRENDERNVX)(getProcAddr("glEndConditionalRenderNVX")) - gpEndFragmentShaderATI = (C.GPENDFRAGMENTSHADERATI)(getProcAddr("glEndFragmentShaderATI")) - gpEndList = (C.GPENDLIST)(getProcAddr("glEndList")) - if gpEndList == nil { - return errors.New("glEndList") - } - gpEndOcclusionQueryNV = (C.GPENDOCCLUSIONQUERYNV)(getProcAddr("glEndOcclusionQueryNV")) - gpEndPerfMonitorAMD = (C.GPENDPERFMONITORAMD)(getProcAddr("glEndPerfMonitorAMD")) - gpEndPerfQueryINTEL = (C.GPENDPERFQUERYINTEL)(getProcAddr("glEndPerfQueryINTEL")) - gpEndQuery = (C.GPENDQUERY)(getProcAddr("glEndQuery")) - if gpEndQuery == nil { - return errors.New("glEndQuery") - } - gpEndQueryARB = (C.GPENDQUERYARB)(getProcAddr("glEndQueryARB")) - gpEndQueryIndexed = (C.GPENDQUERYINDEXED)(getProcAddr("glEndQueryIndexed")) - gpEndTransformFeedbackEXT = (C.GPENDTRANSFORMFEEDBACKEXT)(getProcAddr("glEndTransformFeedbackEXT")) - gpEndTransformFeedbackNV = (C.GPENDTRANSFORMFEEDBACKNV)(getProcAddr("glEndTransformFeedbackNV")) - gpEndVertexShaderEXT = (C.GPENDVERTEXSHADEREXT)(getProcAddr("glEndVertexShaderEXT")) - gpEndVideoCaptureNV = (C.GPENDVIDEOCAPTURENV)(getProcAddr("glEndVideoCaptureNV")) - gpEvalCoord1d = (C.GPEVALCOORD1D)(getProcAddr("glEvalCoord1d")) - if gpEvalCoord1d == nil { - return errors.New("glEvalCoord1d") - } - gpEvalCoord1dv = (C.GPEVALCOORD1DV)(getProcAddr("glEvalCoord1dv")) - if gpEvalCoord1dv == nil { - return errors.New("glEvalCoord1dv") - } - gpEvalCoord1f = (C.GPEVALCOORD1F)(getProcAddr("glEvalCoord1f")) - if gpEvalCoord1f == nil { - return errors.New("glEvalCoord1f") - } - gpEvalCoord1fv = (C.GPEVALCOORD1FV)(getProcAddr("glEvalCoord1fv")) - if gpEvalCoord1fv == nil { - return errors.New("glEvalCoord1fv") - } - gpEvalCoord1xOES = (C.GPEVALCOORD1XOES)(getProcAddr("glEvalCoord1xOES")) - gpEvalCoord1xvOES = (C.GPEVALCOORD1XVOES)(getProcAddr("glEvalCoord1xvOES")) - gpEvalCoord2d = (C.GPEVALCOORD2D)(getProcAddr("glEvalCoord2d")) - if gpEvalCoord2d == nil { - return errors.New("glEvalCoord2d") - } - gpEvalCoord2dv = (C.GPEVALCOORD2DV)(getProcAddr("glEvalCoord2dv")) - if gpEvalCoord2dv == nil { - return errors.New("glEvalCoord2dv") - } - gpEvalCoord2f = (C.GPEVALCOORD2F)(getProcAddr("glEvalCoord2f")) - if gpEvalCoord2f == nil { - return errors.New("glEvalCoord2f") - } - gpEvalCoord2fv = (C.GPEVALCOORD2FV)(getProcAddr("glEvalCoord2fv")) - if gpEvalCoord2fv == nil { - return errors.New("glEvalCoord2fv") - } - gpEvalCoord2xOES = (C.GPEVALCOORD2XOES)(getProcAddr("glEvalCoord2xOES")) - gpEvalCoord2xvOES = (C.GPEVALCOORD2XVOES)(getProcAddr("glEvalCoord2xvOES")) - gpEvalMapsNV = (C.GPEVALMAPSNV)(getProcAddr("glEvalMapsNV")) - gpEvalMesh1 = (C.GPEVALMESH1)(getProcAddr("glEvalMesh1")) - if gpEvalMesh1 == nil { - return errors.New("glEvalMesh1") - } - gpEvalMesh2 = (C.GPEVALMESH2)(getProcAddr("glEvalMesh2")) - if gpEvalMesh2 == nil { - return errors.New("glEvalMesh2") - } - gpEvalPoint1 = (C.GPEVALPOINT1)(getProcAddr("glEvalPoint1")) - if gpEvalPoint1 == nil { - return errors.New("glEvalPoint1") - } - gpEvalPoint2 = (C.GPEVALPOINT2)(getProcAddr("glEvalPoint2")) - if gpEvalPoint2 == nil { - return errors.New("glEvalPoint2") - } - gpEvaluateDepthValuesARB = (C.GPEVALUATEDEPTHVALUESARB)(getProcAddr("glEvaluateDepthValuesARB")) - gpExecuteProgramNV = (C.GPEXECUTEPROGRAMNV)(getProcAddr("glExecuteProgramNV")) - gpExtractComponentEXT = (C.GPEXTRACTCOMPONENTEXT)(getProcAddr("glExtractComponentEXT")) - gpFeedbackBuffer = (C.GPFEEDBACKBUFFER)(getProcAddr("glFeedbackBuffer")) - if gpFeedbackBuffer == nil { - return errors.New("glFeedbackBuffer") - } - gpFeedbackBufferxOES = (C.GPFEEDBACKBUFFERXOES)(getProcAddr("glFeedbackBufferxOES")) - gpFenceSync = (C.GPFENCESYNC)(getProcAddr("glFenceSync")) - gpFinalCombinerInputNV = (C.GPFINALCOMBINERINPUTNV)(getProcAddr("glFinalCombinerInputNV")) - gpFinish = (C.GPFINISH)(getProcAddr("glFinish")) - if gpFinish == nil { - return errors.New("glFinish") - } - gpFinishAsyncSGIX = (C.GPFINISHASYNCSGIX)(getProcAddr("glFinishAsyncSGIX")) - gpFinishFenceAPPLE = (C.GPFINISHFENCEAPPLE)(getProcAddr("glFinishFenceAPPLE")) - gpFinishFenceNV = (C.GPFINISHFENCENV)(getProcAddr("glFinishFenceNV")) - gpFinishObjectAPPLE = (C.GPFINISHOBJECTAPPLE)(getProcAddr("glFinishObjectAPPLE")) - gpFinishTextureSUNX = (C.GPFINISHTEXTURESUNX)(getProcAddr("glFinishTextureSUNX")) gpFlush = (C.GPFLUSH)(getProcAddr("glFlush")) if gpFlush == nil { return errors.New("glFlush") } - gpFlushMappedBufferRange = (C.GPFLUSHMAPPEDBUFFERRANGE)(getProcAddr("glFlushMappedBufferRange")) - gpFlushMappedBufferRangeAPPLE = (C.GPFLUSHMAPPEDBUFFERRANGEAPPLE)(getProcAddr("glFlushMappedBufferRangeAPPLE")) - gpFlushMappedNamedBufferRange = (C.GPFLUSHMAPPEDNAMEDBUFFERRANGE)(getProcAddr("glFlushMappedNamedBufferRange")) - gpFlushMappedNamedBufferRangeEXT = (C.GPFLUSHMAPPEDNAMEDBUFFERRANGEEXT)(getProcAddr("glFlushMappedNamedBufferRangeEXT")) - gpFlushPixelDataRangeNV = (C.GPFLUSHPIXELDATARANGENV)(getProcAddr("glFlushPixelDataRangeNV")) - gpFlushRasterSGIX = (C.GPFLUSHRASTERSGIX)(getProcAddr("glFlushRasterSGIX")) - gpFlushStaticDataIBM = (C.GPFLUSHSTATICDATAIBM)(getProcAddr("glFlushStaticDataIBM")) - gpFlushVertexArrayRangeAPPLE = (C.GPFLUSHVERTEXARRAYRANGEAPPLE)(getProcAddr("glFlushVertexArrayRangeAPPLE")) - gpFlushVertexArrayRangeNV = (C.GPFLUSHVERTEXARRAYRANGENV)(getProcAddr("glFlushVertexArrayRangeNV")) - gpFogCoordFormatNV = (C.GPFOGCOORDFORMATNV)(getProcAddr("glFogCoordFormatNV")) - gpFogCoordPointer = (C.GPFOGCOORDPOINTER)(getProcAddr("glFogCoordPointer")) - if gpFogCoordPointer == nil { - return errors.New("glFogCoordPointer") - } - gpFogCoordPointerEXT = (C.GPFOGCOORDPOINTEREXT)(getProcAddr("glFogCoordPointerEXT")) - gpFogCoordPointerListIBM = (C.GPFOGCOORDPOINTERLISTIBM)(getProcAddr("glFogCoordPointerListIBM")) - gpFogCoordd = (C.GPFOGCOORDD)(getProcAddr("glFogCoordd")) - if gpFogCoordd == nil { - return errors.New("glFogCoordd") - } - gpFogCoorddEXT = (C.GPFOGCOORDDEXT)(getProcAddr("glFogCoorddEXT")) - gpFogCoorddv = (C.GPFOGCOORDDV)(getProcAddr("glFogCoorddv")) - if gpFogCoorddv == nil { - return errors.New("glFogCoorddv") - } - gpFogCoorddvEXT = (C.GPFOGCOORDDVEXT)(getProcAddr("glFogCoorddvEXT")) - gpFogCoordf = (C.GPFOGCOORDF)(getProcAddr("glFogCoordf")) - if gpFogCoordf == nil { - return errors.New("glFogCoordf") - } - gpFogCoordfEXT = (C.GPFOGCOORDFEXT)(getProcAddr("glFogCoordfEXT")) - gpFogCoordfv = (C.GPFOGCOORDFV)(getProcAddr("glFogCoordfv")) - if gpFogCoordfv == nil { - return errors.New("glFogCoordfv") - } - gpFogCoordfvEXT = (C.GPFOGCOORDFVEXT)(getProcAddr("glFogCoordfvEXT")) - gpFogCoordhNV = (C.GPFOGCOORDHNV)(getProcAddr("glFogCoordhNV")) - gpFogCoordhvNV = (C.GPFOGCOORDHVNV)(getProcAddr("glFogCoordhvNV")) - gpFogFuncSGIS = (C.GPFOGFUNCSGIS)(getProcAddr("glFogFuncSGIS")) - gpFogf = (C.GPFOGF)(getProcAddr("glFogf")) - if gpFogf == nil { - return errors.New("glFogf") - } - gpFogfv = (C.GPFOGFV)(getProcAddr("glFogfv")) - if gpFogfv == nil { - return errors.New("glFogfv") - } - gpFogi = (C.GPFOGI)(getProcAddr("glFogi")) - if gpFogi == nil { - return errors.New("glFogi") - } - gpFogiv = (C.GPFOGIV)(getProcAddr("glFogiv")) - if gpFogiv == nil { - return errors.New("glFogiv") - } - gpFogxOES = (C.GPFOGXOES)(getProcAddr("glFogxOES")) - gpFogxvOES = (C.GPFOGXVOES)(getProcAddr("glFogxvOES")) - gpFragmentColorMaterialSGIX = (C.GPFRAGMENTCOLORMATERIALSGIX)(getProcAddr("glFragmentColorMaterialSGIX")) - gpFragmentCoverageColorNV = (C.GPFRAGMENTCOVERAGECOLORNV)(getProcAddr("glFragmentCoverageColorNV")) - gpFragmentLightModelfSGIX = (C.GPFRAGMENTLIGHTMODELFSGIX)(getProcAddr("glFragmentLightModelfSGIX")) - gpFragmentLightModelfvSGIX = (C.GPFRAGMENTLIGHTMODELFVSGIX)(getProcAddr("glFragmentLightModelfvSGIX")) - gpFragmentLightModeliSGIX = (C.GPFRAGMENTLIGHTMODELISGIX)(getProcAddr("glFragmentLightModeliSGIX")) - gpFragmentLightModelivSGIX = (C.GPFRAGMENTLIGHTMODELIVSGIX)(getProcAddr("glFragmentLightModelivSGIX")) - gpFragmentLightfSGIX = (C.GPFRAGMENTLIGHTFSGIX)(getProcAddr("glFragmentLightfSGIX")) - gpFragmentLightfvSGIX = (C.GPFRAGMENTLIGHTFVSGIX)(getProcAddr("glFragmentLightfvSGIX")) - gpFragmentLightiSGIX = (C.GPFRAGMENTLIGHTISGIX)(getProcAddr("glFragmentLightiSGIX")) - gpFragmentLightivSGIX = (C.GPFRAGMENTLIGHTIVSGIX)(getProcAddr("glFragmentLightivSGIX")) - gpFragmentMaterialfSGIX = (C.GPFRAGMENTMATERIALFSGIX)(getProcAddr("glFragmentMaterialfSGIX")) - gpFragmentMaterialfvSGIX = (C.GPFRAGMENTMATERIALFVSGIX)(getProcAddr("glFragmentMaterialfvSGIX")) - gpFragmentMaterialiSGIX = (C.GPFRAGMENTMATERIALISGIX)(getProcAddr("glFragmentMaterialiSGIX")) - gpFragmentMaterialivSGIX = (C.GPFRAGMENTMATERIALIVSGIX)(getProcAddr("glFragmentMaterialivSGIX")) - gpFrameTerminatorGREMEDY = (C.GPFRAMETERMINATORGREMEDY)(getProcAddr("glFrameTerminatorGREMEDY")) - gpFrameZoomSGIX = (C.GPFRAMEZOOMSGIX)(getProcAddr("glFrameZoomSGIX")) - gpFramebufferDrawBufferEXT = (C.GPFRAMEBUFFERDRAWBUFFEREXT)(getProcAddr("glFramebufferDrawBufferEXT")) - gpFramebufferDrawBuffersEXT = (C.GPFRAMEBUFFERDRAWBUFFERSEXT)(getProcAddr("glFramebufferDrawBuffersEXT")) - gpFramebufferFetchBarrierEXT = (C.GPFRAMEBUFFERFETCHBARRIEREXT)(getProcAddr("glFramebufferFetchBarrierEXT")) - gpFramebufferParameteri = (C.GPFRAMEBUFFERPARAMETERI)(getProcAddr("glFramebufferParameteri")) - gpFramebufferReadBufferEXT = (C.GPFRAMEBUFFERREADBUFFEREXT)(getProcAddr("glFramebufferReadBufferEXT")) - gpFramebufferRenderbuffer = (C.GPFRAMEBUFFERRENDERBUFFER)(getProcAddr("glFramebufferRenderbuffer")) - gpFramebufferRenderbufferEXT = (C.GPFRAMEBUFFERRENDERBUFFEREXT)(getProcAddr("glFramebufferRenderbufferEXT")) - gpFramebufferSampleLocationsfvARB = (C.GPFRAMEBUFFERSAMPLELOCATIONSFVARB)(getProcAddr("glFramebufferSampleLocationsfvARB")) - gpFramebufferSampleLocationsfvNV = (C.GPFRAMEBUFFERSAMPLELOCATIONSFVNV)(getProcAddr("glFramebufferSampleLocationsfvNV")) - gpFramebufferSamplePositionsfvAMD = (C.GPFRAMEBUFFERSAMPLEPOSITIONSFVAMD)(getProcAddr("glFramebufferSamplePositionsfvAMD")) - gpFramebufferTexture1D = (C.GPFRAMEBUFFERTEXTURE1D)(getProcAddr("glFramebufferTexture1D")) - gpFramebufferTexture1DEXT = (C.GPFRAMEBUFFERTEXTURE1DEXT)(getProcAddr("glFramebufferTexture1DEXT")) - gpFramebufferTexture2D = (C.GPFRAMEBUFFERTEXTURE2D)(getProcAddr("glFramebufferTexture2D")) gpFramebufferTexture2DEXT = (C.GPFRAMEBUFFERTEXTURE2DEXT)(getProcAddr("glFramebufferTexture2DEXT")) - gpFramebufferTexture3D = (C.GPFRAMEBUFFERTEXTURE3D)(getProcAddr("glFramebufferTexture3D")) - gpFramebufferTexture3DEXT = (C.GPFRAMEBUFFERTEXTURE3DEXT)(getProcAddr("glFramebufferTexture3DEXT")) - gpFramebufferTextureARB = (C.GPFRAMEBUFFERTEXTUREARB)(getProcAddr("glFramebufferTextureARB")) - gpFramebufferTextureEXT = (C.GPFRAMEBUFFERTEXTUREEXT)(getProcAddr("glFramebufferTextureEXT")) - gpFramebufferTextureFaceARB = (C.GPFRAMEBUFFERTEXTUREFACEARB)(getProcAddr("glFramebufferTextureFaceARB")) - gpFramebufferTextureFaceEXT = (C.GPFRAMEBUFFERTEXTUREFACEEXT)(getProcAddr("glFramebufferTextureFaceEXT")) - gpFramebufferTextureLayer = (C.GPFRAMEBUFFERTEXTURELAYER)(getProcAddr("glFramebufferTextureLayer")) - gpFramebufferTextureLayerARB = (C.GPFRAMEBUFFERTEXTURELAYERARB)(getProcAddr("glFramebufferTextureLayerARB")) - gpFramebufferTextureLayerEXT = (C.GPFRAMEBUFFERTEXTURELAYEREXT)(getProcAddr("glFramebufferTextureLayerEXT")) - gpFramebufferTextureMultiviewOVR = (C.GPFRAMEBUFFERTEXTUREMULTIVIEWOVR)(getProcAddr("glFramebufferTextureMultiviewOVR")) - gpFreeObjectBufferATI = (C.GPFREEOBJECTBUFFERATI)(getProcAddr("glFreeObjectBufferATI")) - gpFrontFace = (C.GPFRONTFACE)(getProcAddr("glFrontFace")) - if gpFrontFace == nil { - return errors.New("glFrontFace") - } - gpFrustum = (C.GPFRUSTUM)(getProcAddr("glFrustum")) - if gpFrustum == nil { - return errors.New("glFrustum") - } - gpFrustumfOES = (C.GPFRUSTUMFOES)(getProcAddr("glFrustumfOES")) - gpFrustumxOES = (C.GPFRUSTUMXOES)(getProcAddr("glFrustumxOES")) - gpGenAsyncMarkersSGIX = (C.GPGENASYNCMARKERSSGIX)(getProcAddr("glGenAsyncMarkersSGIX")) gpGenBuffers = (C.GPGENBUFFERS)(getProcAddr("glGenBuffers")) if gpGenBuffers == nil { return errors.New("glGenBuffers") } - gpGenBuffersARB = (C.GPGENBUFFERSARB)(getProcAddr("glGenBuffersARB")) - gpGenFencesAPPLE = (C.GPGENFENCESAPPLE)(getProcAddr("glGenFencesAPPLE")) - gpGenFencesNV = (C.GPGENFENCESNV)(getProcAddr("glGenFencesNV")) - gpGenFragmentShadersATI = (C.GPGENFRAGMENTSHADERSATI)(getProcAddr("glGenFragmentShadersATI")) - gpGenFramebuffers = (C.GPGENFRAMEBUFFERS)(getProcAddr("glGenFramebuffers")) gpGenFramebuffersEXT = (C.GPGENFRAMEBUFFERSEXT)(getProcAddr("glGenFramebuffersEXT")) - gpGenLists = (C.GPGENLISTS)(getProcAddr("glGenLists")) - if gpGenLists == nil { - return errors.New("glGenLists") - } - gpGenNamesAMD = (C.GPGENNAMESAMD)(getProcAddr("glGenNamesAMD")) - gpGenOcclusionQueriesNV = (C.GPGENOCCLUSIONQUERIESNV)(getProcAddr("glGenOcclusionQueriesNV")) - gpGenPathsNV = (C.GPGENPATHSNV)(getProcAddr("glGenPathsNV")) - gpGenPerfMonitorsAMD = (C.GPGENPERFMONITORSAMD)(getProcAddr("glGenPerfMonitorsAMD")) - gpGenProgramPipelines = (C.GPGENPROGRAMPIPELINES)(getProcAddr("glGenProgramPipelines")) - gpGenProgramPipelinesEXT = (C.GPGENPROGRAMPIPELINESEXT)(getProcAddr("glGenProgramPipelinesEXT")) - gpGenProgramsARB = (C.GPGENPROGRAMSARB)(getProcAddr("glGenProgramsARB")) - gpGenProgramsNV = (C.GPGENPROGRAMSNV)(getProcAddr("glGenProgramsNV")) - gpGenQueries = (C.GPGENQUERIES)(getProcAddr("glGenQueries")) - if gpGenQueries == nil { - return errors.New("glGenQueries") - } - gpGenQueriesARB = (C.GPGENQUERIESARB)(getProcAddr("glGenQueriesARB")) - gpGenQueryResourceTagNV = (C.GPGENQUERYRESOURCETAGNV)(getProcAddr("glGenQueryResourceTagNV")) - gpGenRenderbuffers = (C.GPGENRENDERBUFFERS)(getProcAddr("glGenRenderbuffers")) - gpGenRenderbuffersEXT = (C.GPGENRENDERBUFFERSEXT)(getProcAddr("glGenRenderbuffersEXT")) - gpGenSamplers = (C.GPGENSAMPLERS)(getProcAddr("glGenSamplers")) - gpGenSemaphoresEXT = (C.GPGENSEMAPHORESEXT)(getProcAddr("glGenSemaphoresEXT")) - gpGenSymbolsEXT = (C.GPGENSYMBOLSEXT)(getProcAddr("glGenSymbolsEXT")) gpGenTextures = (C.GPGENTEXTURES)(getProcAddr("glGenTextures")) if gpGenTextures == nil { return errors.New("glGenTextures") } - gpGenTexturesEXT = (C.GPGENTEXTURESEXT)(getProcAddr("glGenTexturesEXT")) - gpGenTransformFeedbacks = (C.GPGENTRANSFORMFEEDBACKS)(getProcAddr("glGenTransformFeedbacks")) - gpGenTransformFeedbacksNV = (C.GPGENTRANSFORMFEEDBACKSNV)(getProcAddr("glGenTransformFeedbacksNV")) - gpGenVertexArrays = (C.GPGENVERTEXARRAYS)(getProcAddr("glGenVertexArrays")) - gpGenVertexArraysAPPLE = (C.GPGENVERTEXARRAYSAPPLE)(getProcAddr("glGenVertexArraysAPPLE")) - gpGenVertexShadersEXT = (C.GPGENVERTEXSHADERSEXT)(getProcAddr("glGenVertexShadersEXT")) - gpGenerateMipmap = (C.GPGENERATEMIPMAP)(getProcAddr("glGenerateMipmap")) - gpGenerateMipmapEXT = (C.GPGENERATEMIPMAPEXT)(getProcAddr("glGenerateMipmapEXT")) - gpGenerateMultiTexMipmapEXT = (C.GPGENERATEMULTITEXMIPMAPEXT)(getProcAddr("glGenerateMultiTexMipmapEXT")) - gpGenerateTextureMipmap = (C.GPGENERATETEXTUREMIPMAP)(getProcAddr("glGenerateTextureMipmap")) - gpGenerateTextureMipmapEXT = (C.GPGENERATETEXTUREMIPMAPEXT)(getProcAddr("glGenerateTextureMipmapEXT")) - gpGetActiveAtomicCounterBufferiv = (C.GPGETACTIVEATOMICCOUNTERBUFFERIV)(getProcAddr("glGetActiveAtomicCounterBufferiv")) - gpGetActiveAttrib = (C.GPGETACTIVEATTRIB)(getProcAddr("glGetActiveAttrib")) - if gpGetActiveAttrib == nil { - return errors.New("glGetActiveAttrib") - } - gpGetActiveAttribARB = (C.GPGETACTIVEATTRIBARB)(getProcAddr("glGetActiveAttribARB")) - gpGetActiveSubroutineName = (C.GPGETACTIVESUBROUTINENAME)(getProcAddr("glGetActiveSubroutineName")) - gpGetActiveSubroutineUniformName = (C.GPGETACTIVESUBROUTINEUNIFORMNAME)(getProcAddr("glGetActiveSubroutineUniformName")) - gpGetActiveSubroutineUniformiv = (C.GPGETACTIVESUBROUTINEUNIFORMIV)(getProcAddr("glGetActiveSubroutineUniformiv")) - gpGetActiveUniform = (C.GPGETACTIVEUNIFORM)(getProcAddr("glGetActiveUniform")) - if gpGetActiveUniform == nil { - return errors.New("glGetActiveUniform") - } - gpGetActiveUniformARB = (C.GPGETACTIVEUNIFORMARB)(getProcAddr("glGetActiveUniformARB")) - gpGetActiveUniformBlockName = (C.GPGETACTIVEUNIFORMBLOCKNAME)(getProcAddr("glGetActiveUniformBlockName")) - gpGetActiveUniformBlockiv = (C.GPGETACTIVEUNIFORMBLOCKIV)(getProcAddr("glGetActiveUniformBlockiv")) - gpGetActiveUniformName = (C.GPGETACTIVEUNIFORMNAME)(getProcAddr("glGetActiveUniformName")) - gpGetActiveUniformsiv = (C.GPGETACTIVEUNIFORMSIV)(getProcAddr("glGetActiveUniformsiv")) - gpGetActiveVaryingNV = (C.GPGETACTIVEVARYINGNV)(getProcAddr("glGetActiveVaryingNV")) - gpGetArrayObjectfvATI = (C.GPGETARRAYOBJECTFVATI)(getProcAddr("glGetArrayObjectfvATI")) - gpGetArrayObjectivATI = (C.GPGETARRAYOBJECTIVATI)(getProcAddr("glGetArrayObjectivATI")) - gpGetAttachedObjectsARB = (C.GPGETATTACHEDOBJECTSARB)(getProcAddr("glGetAttachedObjectsARB")) - gpGetAttachedShaders = (C.GPGETATTACHEDSHADERS)(getProcAddr("glGetAttachedShaders")) - if gpGetAttachedShaders == nil { - return errors.New("glGetAttachedShaders") - } - gpGetAttribLocation = (C.GPGETATTRIBLOCATION)(getProcAddr("glGetAttribLocation")) - if gpGetAttribLocation == nil { - return errors.New("glGetAttribLocation") - } - gpGetAttribLocationARB = (C.GPGETATTRIBLOCATIONARB)(getProcAddr("glGetAttribLocationARB")) - gpGetBooleanIndexedvEXT = (C.GPGETBOOLEANINDEXEDVEXT)(getProcAddr("glGetBooleanIndexedvEXT")) - gpGetBooleanv = (C.GPGETBOOLEANV)(getProcAddr("glGetBooleanv")) - if gpGetBooleanv == nil { - return errors.New("glGetBooleanv") - } - gpGetBufferParameteriv = (C.GPGETBUFFERPARAMETERIV)(getProcAddr("glGetBufferParameteriv")) - if gpGetBufferParameteriv == nil { - return errors.New("glGetBufferParameteriv") - } - gpGetBufferParameterivARB = (C.GPGETBUFFERPARAMETERIVARB)(getProcAddr("glGetBufferParameterivARB")) - gpGetBufferParameterui64vNV = (C.GPGETBUFFERPARAMETERUI64VNV)(getProcAddr("glGetBufferParameterui64vNV")) - gpGetBufferPointerv = (C.GPGETBUFFERPOINTERV)(getProcAddr("glGetBufferPointerv")) - if gpGetBufferPointerv == nil { - return errors.New("glGetBufferPointerv") - } - gpGetBufferPointervARB = (C.GPGETBUFFERPOINTERVARB)(getProcAddr("glGetBufferPointervARB")) - gpGetBufferSubData = (C.GPGETBUFFERSUBDATA)(getProcAddr("glGetBufferSubData")) - if gpGetBufferSubData == nil { - return errors.New("glGetBufferSubData") - } - gpGetBufferSubDataARB = (C.GPGETBUFFERSUBDATAARB)(getProcAddr("glGetBufferSubDataARB")) - gpGetClipPlane = (C.GPGETCLIPPLANE)(getProcAddr("glGetClipPlane")) - if gpGetClipPlane == nil { - return errors.New("glGetClipPlane") - } - gpGetClipPlanefOES = (C.GPGETCLIPPLANEFOES)(getProcAddr("glGetClipPlanefOES")) - gpGetClipPlanexOES = (C.GPGETCLIPPLANEXOES)(getProcAddr("glGetClipPlanexOES")) - gpGetColorTableEXT = (C.GPGETCOLORTABLEEXT)(getProcAddr("glGetColorTableEXT")) - gpGetColorTableParameterfvEXT = (C.GPGETCOLORTABLEPARAMETERFVEXT)(getProcAddr("glGetColorTableParameterfvEXT")) - gpGetColorTableParameterfvSGI = (C.GPGETCOLORTABLEPARAMETERFVSGI)(getProcAddr("glGetColorTableParameterfvSGI")) - gpGetColorTableParameterivEXT = (C.GPGETCOLORTABLEPARAMETERIVEXT)(getProcAddr("glGetColorTableParameterivEXT")) - gpGetColorTableParameterivSGI = (C.GPGETCOLORTABLEPARAMETERIVSGI)(getProcAddr("glGetColorTableParameterivSGI")) - gpGetColorTableSGI = (C.GPGETCOLORTABLESGI)(getProcAddr("glGetColorTableSGI")) - gpGetCombinerInputParameterfvNV = (C.GPGETCOMBINERINPUTPARAMETERFVNV)(getProcAddr("glGetCombinerInputParameterfvNV")) - gpGetCombinerInputParameterivNV = (C.GPGETCOMBINERINPUTPARAMETERIVNV)(getProcAddr("glGetCombinerInputParameterivNV")) - gpGetCombinerOutputParameterfvNV = (C.GPGETCOMBINEROUTPUTPARAMETERFVNV)(getProcAddr("glGetCombinerOutputParameterfvNV")) - gpGetCombinerOutputParameterivNV = (C.GPGETCOMBINEROUTPUTPARAMETERIVNV)(getProcAddr("glGetCombinerOutputParameterivNV")) - gpGetCombinerStageParameterfvNV = (C.GPGETCOMBINERSTAGEPARAMETERFVNV)(getProcAddr("glGetCombinerStageParameterfvNV")) - gpGetCommandHeaderNV = (C.GPGETCOMMANDHEADERNV)(getProcAddr("glGetCommandHeaderNV")) - gpGetCompressedMultiTexImageEXT = (C.GPGETCOMPRESSEDMULTITEXIMAGEEXT)(getProcAddr("glGetCompressedMultiTexImageEXT")) - gpGetCompressedTexImage = (C.GPGETCOMPRESSEDTEXIMAGE)(getProcAddr("glGetCompressedTexImage")) - if gpGetCompressedTexImage == nil { - return errors.New("glGetCompressedTexImage") - } - gpGetCompressedTexImageARB = (C.GPGETCOMPRESSEDTEXIMAGEARB)(getProcAddr("glGetCompressedTexImageARB")) - gpGetCompressedTextureImage = (C.GPGETCOMPRESSEDTEXTUREIMAGE)(getProcAddr("glGetCompressedTextureImage")) - gpGetCompressedTextureImageEXT = (C.GPGETCOMPRESSEDTEXTUREIMAGEEXT)(getProcAddr("glGetCompressedTextureImageEXT")) - gpGetCompressedTextureSubImage = (C.GPGETCOMPRESSEDTEXTURESUBIMAGE)(getProcAddr("glGetCompressedTextureSubImage")) - gpGetConvolutionFilterEXT = (C.GPGETCONVOLUTIONFILTEREXT)(getProcAddr("glGetConvolutionFilterEXT")) - gpGetConvolutionParameterfvEXT = (C.GPGETCONVOLUTIONPARAMETERFVEXT)(getProcAddr("glGetConvolutionParameterfvEXT")) - gpGetConvolutionParameterivEXT = (C.GPGETCONVOLUTIONPARAMETERIVEXT)(getProcAddr("glGetConvolutionParameterivEXT")) - gpGetConvolutionParameterxvOES = (C.GPGETCONVOLUTIONPARAMETERXVOES)(getProcAddr("glGetConvolutionParameterxvOES")) - gpGetCoverageModulationTableNV = (C.GPGETCOVERAGEMODULATIONTABLENV)(getProcAddr("glGetCoverageModulationTableNV")) - gpGetDebugMessageLog = (C.GPGETDEBUGMESSAGELOG)(getProcAddr("glGetDebugMessageLog")) - gpGetDebugMessageLogAMD = (C.GPGETDEBUGMESSAGELOGAMD)(getProcAddr("glGetDebugMessageLogAMD")) - gpGetDebugMessageLogARB = (C.GPGETDEBUGMESSAGELOGARB)(getProcAddr("glGetDebugMessageLogARB")) - gpGetDebugMessageLogKHR = (C.GPGETDEBUGMESSAGELOGKHR)(getProcAddr("glGetDebugMessageLogKHR")) - gpGetDetailTexFuncSGIS = (C.GPGETDETAILTEXFUNCSGIS)(getProcAddr("glGetDetailTexFuncSGIS")) - gpGetDoubleIndexedvEXT = (C.GPGETDOUBLEINDEXEDVEXT)(getProcAddr("glGetDoubleIndexedvEXT")) gpGetDoublei_v = (C.GPGETDOUBLEI_V)(getProcAddr("glGetDoublei_v")) gpGetDoublei_vEXT = (C.GPGETDOUBLEI_VEXT)(getProcAddr("glGetDoublei_vEXT")) - gpGetDoublev = (C.GPGETDOUBLEV)(getProcAddr("glGetDoublev")) - if gpGetDoublev == nil { - return errors.New("glGetDoublev") - } gpGetError = (C.GPGETERROR)(getProcAddr("glGetError")) if gpGetError == nil { return errors.New("glGetError") } - gpGetFenceivNV = (C.GPGETFENCEIVNV)(getProcAddr("glGetFenceivNV")) - gpGetFinalCombinerInputParameterfvNV = (C.GPGETFINALCOMBINERINPUTPARAMETERFVNV)(getProcAddr("glGetFinalCombinerInputParameterfvNV")) - gpGetFinalCombinerInputParameterivNV = (C.GPGETFINALCOMBINERINPUTPARAMETERIVNV)(getProcAddr("glGetFinalCombinerInputParameterivNV")) - gpGetFirstPerfQueryIdINTEL = (C.GPGETFIRSTPERFQUERYIDINTEL)(getProcAddr("glGetFirstPerfQueryIdINTEL")) - gpGetFixedvOES = (C.GPGETFIXEDVOES)(getProcAddr("glGetFixedvOES")) - gpGetFloatIndexedvEXT = (C.GPGETFLOATINDEXEDVEXT)(getProcAddr("glGetFloatIndexedvEXT")) gpGetFloati_v = (C.GPGETFLOATI_V)(getProcAddr("glGetFloati_v")) gpGetFloati_vEXT = (C.GPGETFLOATI_VEXT)(getProcAddr("glGetFloati_vEXT")) - gpGetFloatv = (C.GPGETFLOATV)(getProcAddr("glGetFloatv")) - if gpGetFloatv == nil { - return errors.New("glGetFloatv") - } - gpGetFogFuncSGIS = (C.GPGETFOGFUNCSGIS)(getProcAddr("glGetFogFuncSGIS")) - gpGetFragDataIndex = (C.GPGETFRAGDATAINDEX)(getProcAddr("glGetFragDataIndex")) - gpGetFragDataLocationEXT = (C.GPGETFRAGDATALOCATIONEXT)(getProcAddr("glGetFragDataLocationEXT")) - gpGetFragmentLightfvSGIX = (C.GPGETFRAGMENTLIGHTFVSGIX)(getProcAddr("glGetFragmentLightfvSGIX")) - gpGetFragmentLightivSGIX = (C.GPGETFRAGMENTLIGHTIVSGIX)(getProcAddr("glGetFragmentLightivSGIX")) - gpGetFragmentMaterialfvSGIX = (C.GPGETFRAGMENTMATERIALFVSGIX)(getProcAddr("glGetFragmentMaterialfvSGIX")) - gpGetFragmentMaterialivSGIX = (C.GPGETFRAGMENTMATERIALIVSGIX)(getProcAddr("glGetFragmentMaterialivSGIX")) - gpGetFramebufferAttachmentParameteriv = (C.GPGETFRAMEBUFFERATTACHMENTPARAMETERIV)(getProcAddr("glGetFramebufferAttachmentParameteriv")) - gpGetFramebufferAttachmentParameterivEXT = (C.GPGETFRAMEBUFFERATTACHMENTPARAMETERIVEXT)(getProcAddr("glGetFramebufferAttachmentParameterivEXT")) - gpGetFramebufferParameterfvAMD = (C.GPGETFRAMEBUFFERPARAMETERFVAMD)(getProcAddr("glGetFramebufferParameterfvAMD")) - gpGetFramebufferParameteriv = (C.GPGETFRAMEBUFFERPARAMETERIV)(getProcAddr("glGetFramebufferParameteriv")) - gpGetFramebufferParameterivEXT = (C.GPGETFRAMEBUFFERPARAMETERIVEXT)(getProcAddr("glGetFramebufferParameterivEXT")) - gpGetGraphicsResetStatus = (C.GPGETGRAPHICSRESETSTATUS)(getProcAddr("glGetGraphicsResetStatus")) - gpGetGraphicsResetStatusARB = (C.GPGETGRAPHICSRESETSTATUSARB)(getProcAddr("glGetGraphicsResetStatusARB")) - gpGetGraphicsResetStatusKHR = (C.GPGETGRAPHICSRESETSTATUSKHR)(getProcAddr("glGetGraphicsResetStatusKHR")) - gpGetHandleARB = (C.GPGETHANDLEARB)(getProcAddr("glGetHandleARB")) - gpGetHistogramEXT = (C.GPGETHISTOGRAMEXT)(getProcAddr("glGetHistogramEXT")) - gpGetHistogramParameterfvEXT = (C.GPGETHISTOGRAMPARAMETERFVEXT)(getProcAddr("glGetHistogramParameterfvEXT")) - gpGetHistogramParameterivEXT = (C.GPGETHISTOGRAMPARAMETERIVEXT)(getProcAddr("glGetHistogramParameterivEXT")) - gpGetHistogramParameterxvOES = (C.GPGETHISTOGRAMPARAMETERXVOES)(getProcAddr("glGetHistogramParameterxvOES")) - gpGetImageHandleARB = (C.GPGETIMAGEHANDLEARB)(getProcAddr("glGetImageHandleARB")) - gpGetImageHandleNV = (C.GPGETIMAGEHANDLENV)(getProcAddr("glGetImageHandleNV")) - gpGetImageTransformParameterfvHP = (C.GPGETIMAGETRANSFORMPARAMETERFVHP)(getProcAddr("glGetImageTransformParameterfvHP")) - gpGetImageTransformParameterivHP = (C.GPGETIMAGETRANSFORMPARAMETERIVHP)(getProcAddr("glGetImageTransformParameterivHP")) - gpGetInfoLogARB = (C.GPGETINFOLOGARB)(getProcAddr("glGetInfoLogARB")) - gpGetInstrumentsSGIX = (C.GPGETINSTRUMENTSSGIX)(getProcAddr("glGetInstrumentsSGIX")) - gpGetInteger64v = (C.GPGETINTEGER64V)(getProcAddr("glGetInteger64v")) - gpGetIntegerIndexedvEXT = (C.GPGETINTEGERINDEXEDVEXT)(getProcAddr("glGetIntegerIndexedvEXT")) gpGetIntegeri_v = (C.GPGETINTEGERI_V)(getProcAddr("glGetIntegeri_v")) gpGetIntegerui64i_vNV = (C.GPGETINTEGERUI64I_VNV)(getProcAddr("glGetIntegerui64i_vNV")) - gpGetIntegerui64vNV = (C.GPGETINTEGERUI64VNV)(getProcAddr("glGetIntegerui64vNV")) gpGetIntegerv = (C.GPGETINTEGERV)(getProcAddr("glGetIntegerv")) if gpGetIntegerv == nil { return errors.New("glGetIntegerv") } - gpGetInternalformatSampleivNV = (C.GPGETINTERNALFORMATSAMPLEIVNV)(getProcAddr("glGetInternalformatSampleivNV")) - gpGetInternalformati64v = (C.GPGETINTERNALFORMATI64V)(getProcAddr("glGetInternalformati64v")) - gpGetInternalformativ = (C.GPGETINTERNALFORMATIV)(getProcAddr("glGetInternalformativ")) - gpGetInvariantBooleanvEXT = (C.GPGETINVARIANTBOOLEANVEXT)(getProcAddr("glGetInvariantBooleanvEXT")) - gpGetInvariantFloatvEXT = (C.GPGETINVARIANTFLOATVEXT)(getProcAddr("glGetInvariantFloatvEXT")) - gpGetInvariantIntegervEXT = (C.GPGETINVARIANTINTEGERVEXT)(getProcAddr("glGetInvariantIntegervEXT")) - gpGetLightfv = (C.GPGETLIGHTFV)(getProcAddr("glGetLightfv")) - if gpGetLightfv == nil { - return errors.New("glGetLightfv") - } - gpGetLightiv = (C.GPGETLIGHTIV)(getProcAddr("glGetLightiv")) - if gpGetLightiv == nil { - return errors.New("glGetLightiv") - } - gpGetLightxOES = (C.GPGETLIGHTXOES)(getProcAddr("glGetLightxOES")) - gpGetLightxvOES = (C.GPGETLIGHTXVOES)(getProcAddr("glGetLightxvOES")) - gpGetListParameterfvSGIX = (C.GPGETLISTPARAMETERFVSGIX)(getProcAddr("glGetListParameterfvSGIX")) - gpGetListParameterivSGIX = (C.GPGETLISTPARAMETERIVSGIX)(getProcAddr("glGetListParameterivSGIX")) - gpGetLocalConstantBooleanvEXT = (C.GPGETLOCALCONSTANTBOOLEANVEXT)(getProcAddr("glGetLocalConstantBooleanvEXT")) - gpGetLocalConstantFloatvEXT = (C.GPGETLOCALCONSTANTFLOATVEXT)(getProcAddr("glGetLocalConstantFloatvEXT")) - gpGetLocalConstantIntegervEXT = (C.GPGETLOCALCONSTANTINTEGERVEXT)(getProcAddr("glGetLocalConstantIntegervEXT")) - gpGetMapAttribParameterfvNV = (C.GPGETMAPATTRIBPARAMETERFVNV)(getProcAddr("glGetMapAttribParameterfvNV")) - gpGetMapAttribParameterivNV = (C.GPGETMAPATTRIBPARAMETERIVNV)(getProcAddr("glGetMapAttribParameterivNV")) - gpGetMapControlPointsNV = (C.GPGETMAPCONTROLPOINTSNV)(getProcAddr("glGetMapControlPointsNV")) - gpGetMapParameterfvNV = (C.GPGETMAPPARAMETERFVNV)(getProcAddr("glGetMapParameterfvNV")) - gpGetMapParameterivNV = (C.GPGETMAPPARAMETERIVNV)(getProcAddr("glGetMapParameterivNV")) - gpGetMapdv = (C.GPGETMAPDV)(getProcAddr("glGetMapdv")) - if gpGetMapdv == nil { - return errors.New("glGetMapdv") - } - gpGetMapfv = (C.GPGETMAPFV)(getProcAddr("glGetMapfv")) - if gpGetMapfv == nil { - return errors.New("glGetMapfv") - } - gpGetMapiv = (C.GPGETMAPIV)(getProcAddr("glGetMapiv")) - if gpGetMapiv == nil { - return errors.New("glGetMapiv") - } - gpGetMapxvOES = (C.GPGETMAPXVOES)(getProcAddr("glGetMapxvOES")) - gpGetMaterialfv = (C.GPGETMATERIALFV)(getProcAddr("glGetMaterialfv")) - if gpGetMaterialfv == nil { - return errors.New("glGetMaterialfv") - } - gpGetMaterialiv = (C.GPGETMATERIALIV)(getProcAddr("glGetMaterialiv")) - if gpGetMaterialiv == nil { - return errors.New("glGetMaterialiv") - } - gpGetMaterialxOES = (C.GPGETMATERIALXOES)(getProcAddr("glGetMaterialxOES")) - gpGetMaterialxvOES = (C.GPGETMATERIALXVOES)(getProcAddr("glGetMaterialxvOES")) - gpGetMemoryObjectParameterivEXT = (C.GPGETMEMORYOBJECTPARAMETERIVEXT)(getProcAddr("glGetMemoryObjectParameterivEXT")) - gpGetMinmaxEXT = (C.GPGETMINMAXEXT)(getProcAddr("glGetMinmaxEXT")) - gpGetMinmaxParameterfvEXT = (C.GPGETMINMAXPARAMETERFVEXT)(getProcAddr("glGetMinmaxParameterfvEXT")) - gpGetMinmaxParameterivEXT = (C.GPGETMINMAXPARAMETERIVEXT)(getProcAddr("glGetMinmaxParameterivEXT")) - gpGetMultiTexEnvfvEXT = (C.GPGETMULTITEXENVFVEXT)(getProcAddr("glGetMultiTexEnvfvEXT")) - gpGetMultiTexEnvivEXT = (C.GPGETMULTITEXENVIVEXT)(getProcAddr("glGetMultiTexEnvivEXT")) - gpGetMultiTexGendvEXT = (C.GPGETMULTITEXGENDVEXT)(getProcAddr("glGetMultiTexGendvEXT")) - gpGetMultiTexGenfvEXT = (C.GPGETMULTITEXGENFVEXT)(getProcAddr("glGetMultiTexGenfvEXT")) - gpGetMultiTexGenivEXT = (C.GPGETMULTITEXGENIVEXT)(getProcAddr("glGetMultiTexGenivEXT")) - gpGetMultiTexImageEXT = (C.GPGETMULTITEXIMAGEEXT)(getProcAddr("glGetMultiTexImageEXT")) - gpGetMultiTexLevelParameterfvEXT = (C.GPGETMULTITEXLEVELPARAMETERFVEXT)(getProcAddr("glGetMultiTexLevelParameterfvEXT")) - gpGetMultiTexLevelParameterivEXT = (C.GPGETMULTITEXLEVELPARAMETERIVEXT)(getProcAddr("glGetMultiTexLevelParameterivEXT")) - gpGetMultiTexParameterIivEXT = (C.GPGETMULTITEXPARAMETERIIVEXT)(getProcAddr("glGetMultiTexParameterIivEXT")) - gpGetMultiTexParameterIuivEXT = (C.GPGETMULTITEXPARAMETERIUIVEXT)(getProcAddr("glGetMultiTexParameterIuivEXT")) - gpGetMultiTexParameterfvEXT = (C.GPGETMULTITEXPARAMETERFVEXT)(getProcAddr("glGetMultiTexParameterfvEXT")) - gpGetMultiTexParameterivEXT = (C.GPGETMULTITEXPARAMETERIVEXT)(getProcAddr("glGetMultiTexParameterivEXT")) - gpGetMultisamplefv = (C.GPGETMULTISAMPLEFV)(getProcAddr("glGetMultisamplefv")) - gpGetMultisamplefvNV = (C.GPGETMULTISAMPLEFVNV)(getProcAddr("glGetMultisamplefvNV")) - gpGetNamedBufferParameteri64v = (C.GPGETNAMEDBUFFERPARAMETERI64V)(getProcAddr("glGetNamedBufferParameteri64v")) - gpGetNamedBufferParameteriv = (C.GPGETNAMEDBUFFERPARAMETERIV)(getProcAddr("glGetNamedBufferParameteriv")) - gpGetNamedBufferParameterivEXT = (C.GPGETNAMEDBUFFERPARAMETERIVEXT)(getProcAddr("glGetNamedBufferParameterivEXT")) - gpGetNamedBufferParameterui64vNV = (C.GPGETNAMEDBUFFERPARAMETERUI64VNV)(getProcAddr("glGetNamedBufferParameterui64vNV")) - gpGetNamedBufferPointerv = (C.GPGETNAMEDBUFFERPOINTERV)(getProcAddr("glGetNamedBufferPointerv")) - gpGetNamedBufferPointervEXT = (C.GPGETNAMEDBUFFERPOINTERVEXT)(getProcAddr("glGetNamedBufferPointervEXT")) - gpGetNamedBufferSubData = (C.GPGETNAMEDBUFFERSUBDATA)(getProcAddr("glGetNamedBufferSubData")) - gpGetNamedBufferSubDataEXT = (C.GPGETNAMEDBUFFERSUBDATAEXT)(getProcAddr("glGetNamedBufferSubDataEXT")) - gpGetNamedFramebufferAttachmentParameteriv = (C.GPGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIV)(getProcAddr("glGetNamedFramebufferAttachmentParameteriv")) - gpGetNamedFramebufferAttachmentParameterivEXT = (C.GPGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVEXT)(getProcAddr("glGetNamedFramebufferAttachmentParameterivEXT")) - gpGetNamedFramebufferParameterfvAMD = (C.GPGETNAMEDFRAMEBUFFERPARAMETERFVAMD)(getProcAddr("glGetNamedFramebufferParameterfvAMD")) - gpGetNamedFramebufferParameteriv = (C.GPGETNAMEDFRAMEBUFFERPARAMETERIV)(getProcAddr("glGetNamedFramebufferParameteriv")) - gpGetNamedFramebufferParameterivEXT = (C.GPGETNAMEDFRAMEBUFFERPARAMETERIVEXT)(getProcAddr("glGetNamedFramebufferParameterivEXT")) - gpGetNamedProgramLocalParameterIivEXT = (C.GPGETNAMEDPROGRAMLOCALPARAMETERIIVEXT)(getProcAddr("glGetNamedProgramLocalParameterIivEXT")) - gpGetNamedProgramLocalParameterIuivEXT = (C.GPGETNAMEDPROGRAMLOCALPARAMETERIUIVEXT)(getProcAddr("glGetNamedProgramLocalParameterIuivEXT")) - gpGetNamedProgramLocalParameterdvEXT = (C.GPGETNAMEDPROGRAMLOCALPARAMETERDVEXT)(getProcAddr("glGetNamedProgramLocalParameterdvEXT")) - gpGetNamedProgramLocalParameterfvEXT = (C.GPGETNAMEDPROGRAMLOCALPARAMETERFVEXT)(getProcAddr("glGetNamedProgramLocalParameterfvEXT")) - gpGetNamedProgramStringEXT = (C.GPGETNAMEDPROGRAMSTRINGEXT)(getProcAddr("glGetNamedProgramStringEXT")) - gpGetNamedProgramivEXT = (C.GPGETNAMEDPROGRAMIVEXT)(getProcAddr("glGetNamedProgramivEXT")) - gpGetNamedRenderbufferParameteriv = (C.GPGETNAMEDRENDERBUFFERPARAMETERIV)(getProcAddr("glGetNamedRenderbufferParameteriv")) - gpGetNamedRenderbufferParameterivEXT = (C.GPGETNAMEDRENDERBUFFERPARAMETERIVEXT)(getProcAddr("glGetNamedRenderbufferParameterivEXT")) - gpGetNamedStringARB = (C.GPGETNAMEDSTRINGARB)(getProcAddr("glGetNamedStringARB")) - gpGetNamedStringivARB = (C.GPGETNAMEDSTRINGIVARB)(getProcAddr("glGetNamedStringivARB")) - gpGetNextPerfQueryIdINTEL = (C.GPGETNEXTPERFQUERYIDINTEL)(getProcAddr("glGetNextPerfQueryIdINTEL")) - gpGetObjectBufferfvATI = (C.GPGETOBJECTBUFFERFVATI)(getProcAddr("glGetObjectBufferfvATI")) - gpGetObjectBufferivATI = (C.GPGETOBJECTBUFFERIVATI)(getProcAddr("glGetObjectBufferivATI")) - gpGetObjectLabel = (C.GPGETOBJECTLABEL)(getProcAddr("glGetObjectLabel")) - gpGetObjectLabelEXT = (C.GPGETOBJECTLABELEXT)(getProcAddr("glGetObjectLabelEXT")) - gpGetObjectLabelKHR = (C.GPGETOBJECTLABELKHR)(getProcAddr("glGetObjectLabelKHR")) - gpGetObjectParameterfvARB = (C.GPGETOBJECTPARAMETERFVARB)(getProcAddr("glGetObjectParameterfvARB")) - gpGetObjectParameterivAPPLE = (C.GPGETOBJECTPARAMETERIVAPPLE)(getProcAddr("glGetObjectParameterivAPPLE")) - gpGetObjectParameterivARB = (C.GPGETOBJECTPARAMETERIVARB)(getProcAddr("glGetObjectParameterivARB")) - gpGetObjectPtrLabel = (C.GPGETOBJECTPTRLABEL)(getProcAddr("glGetObjectPtrLabel")) - gpGetObjectPtrLabelKHR = (C.GPGETOBJECTPTRLABELKHR)(getProcAddr("glGetObjectPtrLabelKHR")) - gpGetOcclusionQueryivNV = (C.GPGETOCCLUSIONQUERYIVNV)(getProcAddr("glGetOcclusionQueryivNV")) - gpGetOcclusionQueryuivNV = (C.GPGETOCCLUSIONQUERYUIVNV)(getProcAddr("glGetOcclusionQueryuivNV")) - gpGetPathCommandsNV = (C.GPGETPATHCOMMANDSNV)(getProcAddr("glGetPathCommandsNV")) - gpGetPathCoordsNV = (C.GPGETPATHCOORDSNV)(getProcAddr("glGetPathCoordsNV")) - gpGetPathDashArrayNV = (C.GPGETPATHDASHARRAYNV)(getProcAddr("glGetPathDashArrayNV")) - gpGetPathLengthNV = (C.GPGETPATHLENGTHNV)(getProcAddr("glGetPathLengthNV")) - gpGetPathMetricRangeNV = (C.GPGETPATHMETRICRANGENV)(getProcAddr("glGetPathMetricRangeNV")) - gpGetPathMetricsNV = (C.GPGETPATHMETRICSNV)(getProcAddr("glGetPathMetricsNV")) - gpGetPathParameterfvNV = (C.GPGETPATHPARAMETERFVNV)(getProcAddr("glGetPathParameterfvNV")) - gpGetPathParameterivNV = (C.GPGETPATHPARAMETERIVNV)(getProcAddr("glGetPathParameterivNV")) - gpGetPathSpacingNV = (C.GPGETPATHSPACINGNV)(getProcAddr("glGetPathSpacingNV")) - gpGetPerfCounterInfoINTEL = (C.GPGETPERFCOUNTERINFOINTEL)(getProcAddr("glGetPerfCounterInfoINTEL")) - gpGetPerfMonitorCounterDataAMD = (C.GPGETPERFMONITORCOUNTERDATAAMD)(getProcAddr("glGetPerfMonitorCounterDataAMD")) - gpGetPerfMonitorCounterInfoAMD = (C.GPGETPERFMONITORCOUNTERINFOAMD)(getProcAddr("glGetPerfMonitorCounterInfoAMD")) - gpGetPerfMonitorCounterStringAMD = (C.GPGETPERFMONITORCOUNTERSTRINGAMD)(getProcAddr("glGetPerfMonitorCounterStringAMD")) - gpGetPerfMonitorCountersAMD = (C.GPGETPERFMONITORCOUNTERSAMD)(getProcAddr("glGetPerfMonitorCountersAMD")) - gpGetPerfMonitorGroupStringAMD = (C.GPGETPERFMONITORGROUPSTRINGAMD)(getProcAddr("glGetPerfMonitorGroupStringAMD")) - gpGetPerfMonitorGroupsAMD = (C.GPGETPERFMONITORGROUPSAMD)(getProcAddr("glGetPerfMonitorGroupsAMD")) - gpGetPerfQueryDataINTEL = (C.GPGETPERFQUERYDATAINTEL)(getProcAddr("glGetPerfQueryDataINTEL")) - gpGetPerfQueryIdByNameINTEL = (C.GPGETPERFQUERYIDBYNAMEINTEL)(getProcAddr("glGetPerfQueryIdByNameINTEL")) - gpGetPerfQueryInfoINTEL = (C.GPGETPERFQUERYINFOINTEL)(getProcAddr("glGetPerfQueryInfoINTEL")) - gpGetPixelMapfv = (C.GPGETPIXELMAPFV)(getProcAddr("glGetPixelMapfv")) - if gpGetPixelMapfv == nil { - return errors.New("glGetPixelMapfv") - } - gpGetPixelMapuiv = (C.GPGETPIXELMAPUIV)(getProcAddr("glGetPixelMapuiv")) - if gpGetPixelMapuiv == nil { - return errors.New("glGetPixelMapuiv") - } - gpGetPixelMapusv = (C.GPGETPIXELMAPUSV)(getProcAddr("glGetPixelMapusv")) - if gpGetPixelMapusv == nil { - return errors.New("glGetPixelMapusv") - } - gpGetPixelMapxv = (C.GPGETPIXELMAPXV)(getProcAddr("glGetPixelMapxv")) - gpGetPixelTexGenParameterfvSGIS = (C.GPGETPIXELTEXGENPARAMETERFVSGIS)(getProcAddr("glGetPixelTexGenParameterfvSGIS")) - gpGetPixelTexGenParameterivSGIS = (C.GPGETPIXELTEXGENPARAMETERIVSGIS)(getProcAddr("glGetPixelTexGenParameterivSGIS")) - gpGetPixelTransformParameterfvEXT = (C.GPGETPIXELTRANSFORMPARAMETERFVEXT)(getProcAddr("glGetPixelTransformParameterfvEXT")) - gpGetPixelTransformParameterivEXT = (C.GPGETPIXELTRANSFORMPARAMETERIVEXT)(getProcAddr("glGetPixelTransformParameterivEXT")) - gpGetPointerIndexedvEXT = (C.GPGETPOINTERINDEXEDVEXT)(getProcAddr("glGetPointerIndexedvEXT")) gpGetPointeri_vEXT = (C.GPGETPOINTERI_VEXT)(getProcAddr("glGetPointeri_vEXT")) - gpGetPointerv = (C.GPGETPOINTERV)(getProcAddr("glGetPointerv")) - if gpGetPointerv == nil { - return errors.New("glGetPointerv") - } - gpGetPointervEXT = (C.GPGETPOINTERVEXT)(getProcAddr("glGetPointervEXT")) - gpGetPointervKHR = (C.GPGETPOINTERVKHR)(getProcAddr("glGetPointervKHR")) - gpGetPolygonStipple = (C.GPGETPOLYGONSTIPPLE)(getProcAddr("glGetPolygonStipple")) - if gpGetPolygonStipple == nil { - return errors.New("glGetPolygonStipple") - } - gpGetProgramBinary = (C.GPGETPROGRAMBINARY)(getProcAddr("glGetProgramBinary")) - gpGetProgramEnvParameterIivNV = (C.GPGETPROGRAMENVPARAMETERIIVNV)(getProcAddr("glGetProgramEnvParameterIivNV")) - gpGetProgramEnvParameterIuivNV = (C.GPGETPROGRAMENVPARAMETERIUIVNV)(getProcAddr("glGetProgramEnvParameterIuivNV")) - gpGetProgramEnvParameterdvARB = (C.GPGETPROGRAMENVPARAMETERDVARB)(getProcAddr("glGetProgramEnvParameterdvARB")) - gpGetProgramEnvParameterfvARB = (C.GPGETPROGRAMENVPARAMETERFVARB)(getProcAddr("glGetProgramEnvParameterfvARB")) - gpGetProgramInfoLog = (C.GPGETPROGRAMINFOLOG)(getProcAddr("glGetProgramInfoLog")) - if gpGetProgramInfoLog == nil { - return errors.New("glGetProgramInfoLog") - } - gpGetProgramInterfaceiv = (C.GPGETPROGRAMINTERFACEIV)(getProcAddr("glGetProgramInterfaceiv")) - gpGetProgramLocalParameterIivNV = (C.GPGETPROGRAMLOCALPARAMETERIIVNV)(getProcAddr("glGetProgramLocalParameterIivNV")) - gpGetProgramLocalParameterIuivNV = (C.GPGETPROGRAMLOCALPARAMETERIUIVNV)(getProcAddr("glGetProgramLocalParameterIuivNV")) - gpGetProgramLocalParameterdvARB = (C.GPGETPROGRAMLOCALPARAMETERDVARB)(getProcAddr("glGetProgramLocalParameterdvARB")) - gpGetProgramLocalParameterfvARB = (C.GPGETPROGRAMLOCALPARAMETERFVARB)(getProcAddr("glGetProgramLocalParameterfvARB")) - gpGetProgramNamedParameterdvNV = (C.GPGETPROGRAMNAMEDPARAMETERDVNV)(getProcAddr("glGetProgramNamedParameterdvNV")) - gpGetProgramNamedParameterfvNV = (C.GPGETPROGRAMNAMEDPARAMETERFVNV)(getProcAddr("glGetProgramNamedParameterfvNV")) - gpGetProgramParameterdvNV = (C.GPGETPROGRAMPARAMETERDVNV)(getProcAddr("glGetProgramParameterdvNV")) - gpGetProgramParameterfvNV = (C.GPGETPROGRAMPARAMETERFVNV)(getProcAddr("glGetProgramParameterfvNV")) - gpGetProgramPipelineInfoLog = (C.GPGETPROGRAMPIPELINEINFOLOG)(getProcAddr("glGetProgramPipelineInfoLog")) - gpGetProgramPipelineInfoLogEXT = (C.GPGETPROGRAMPIPELINEINFOLOGEXT)(getProcAddr("glGetProgramPipelineInfoLogEXT")) - gpGetProgramPipelineiv = (C.GPGETPROGRAMPIPELINEIV)(getProcAddr("glGetProgramPipelineiv")) - gpGetProgramPipelineivEXT = (C.GPGETPROGRAMPIPELINEIVEXT)(getProcAddr("glGetProgramPipelineivEXT")) - gpGetProgramResourceIndex = (C.GPGETPROGRAMRESOURCEINDEX)(getProcAddr("glGetProgramResourceIndex")) - gpGetProgramResourceLocation = (C.GPGETPROGRAMRESOURCELOCATION)(getProcAddr("glGetProgramResourceLocation")) - gpGetProgramResourceLocationIndex = (C.GPGETPROGRAMRESOURCELOCATIONINDEX)(getProcAddr("glGetProgramResourceLocationIndex")) - gpGetProgramResourceName = (C.GPGETPROGRAMRESOURCENAME)(getProcAddr("glGetProgramResourceName")) - gpGetProgramResourcefvNV = (C.GPGETPROGRAMRESOURCEFVNV)(getProcAddr("glGetProgramResourcefvNV")) - gpGetProgramResourceiv = (C.GPGETPROGRAMRESOURCEIV)(getProcAddr("glGetProgramResourceiv")) - gpGetProgramStageiv = (C.GPGETPROGRAMSTAGEIV)(getProcAddr("glGetProgramStageiv")) - gpGetProgramStringARB = (C.GPGETPROGRAMSTRINGARB)(getProcAddr("glGetProgramStringARB")) - gpGetProgramStringNV = (C.GPGETPROGRAMSTRINGNV)(getProcAddr("glGetProgramStringNV")) - gpGetProgramSubroutineParameteruivNV = (C.GPGETPROGRAMSUBROUTINEPARAMETERUIVNV)(getProcAddr("glGetProgramSubroutineParameteruivNV")) gpGetProgramiv = (C.GPGETPROGRAMIV)(getProcAddr("glGetProgramiv")) if gpGetProgramiv == nil { return errors.New("glGetProgramiv") } - gpGetProgramivARB = (C.GPGETPROGRAMIVARB)(getProcAddr("glGetProgramivARB")) - gpGetProgramivNV = (C.GPGETPROGRAMIVNV)(getProcAddr("glGetProgramivNV")) - gpGetQueryBufferObjecti64v = (C.GPGETQUERYBUFFEROBJECTI64V)(getProcAddr("glGetQueryBufferObjecti64v")) - gpGetQueryBufferObjectiv = (C.GPGETQUERYBUFFEROBJECTIV)(getProcAddr("glGetQueryBufferObjectiv")) - gpGetQueryBufferObjectui64v = (C.GPGETQUERYBUFFEROBJECTUI64V)(getProcAddr("glGetQueryBufferObjectui64v")) - gpGetQueryBufferObjectuiv = (C.GPGETQUERYBUFFEROBJECTUIV)(getProcAddr("glGetQueryBufferObjectuiv")) - gpGetQueryIndexediv = (C.GPGETQUERYINDEXEDIV)(getProcAddr("glGetQueryIndexediv")) - gpGetQueryObjecti64v = (C.GPGETQUERYOBJECTI64V)(getProcAddr("glGetQueryObjecti64v")) - gpGetQueryObjecti64vEXT = (C.GPGETQUERYOBJECTI64VEXT)(getProcAddr("glGetQueryObjecti64vEXT")) - gpGetQueryObjectiv = (C.GPGETQUERYOBJECTIV)(getProcAddr("glGetQueryObjectiv")) - if gpGetQueryObjectiv == nil { - return errors.New("glGetQueryObjectiv") - } - gpGetQueryObjectivARB = (C.GPGETQUERYOBJECTIVARB)(getProcAddr("glGetQueryObjectivARB")) - gpGetQueryObjectui64v = (C.GPGETQUERYOBJECTUI64V)(getProcAddr("glGetQueryObjectui64v")) - gpGetQueryObjectui64vEXT = (C.GPGETQUERYOBJECTUI64VEXT)(getProcAddr("glGetQueryObjectui64vEXT")) - gpGetQueryObjectuiv = (C.GPGETQUERYOBJECTUIV)(getProcAddr("glGetQueryObjectuiv")) - if gpGetQueryObjectuiv == nil { - return errors.New("glGetQueryObjectuiv") - } - gpGetQueryObjectuivARB = (C.GPGETQUERYOBJECTUIVARB)(getProcAddr("glGetQueryObjectuivARB")) - gpGetQueryiv = (C.GPGETQUERYIV)(getProcAddr("glGetQueryiv")) - if gpGetQueryiv == nil { - return errors.New("glGetQueryiv") - } - gpGetQueryivARB = (C.GPGETQUERYIVARB)(getProcAddr("glGetQueryivARB")) - gpGetRenderbufferParameteriv = (C.GPGETRENDERBUFFERPARAMETERIV)(getProcAddr("glGetRenderbufferParameteriv")) - gpGetRenderbufferParameterivEXT = (C.GPGETRENDERBUFFERPARAMETERIVEXT)(getProcAddr("glGetRenderbufferParameterivEXT")) - gpGetSamplerParameterIiv = (C.GPGETSAMPLERPARAMETERIIV)(getProcAddr("glGetSamplerParameterIiv")) - gpGetSamplerParameterIuiv = (C.GPGETSAMPLERPARAMETERIUIV)(getProcAddr("glGetSamplerParameterIuiv")) - gpGetSamplerParameterfv = (C.GPGETSAMPLERPARAMETERFV)(getProcAddr("glGetSamplerParameterfv")) - gpGetSamplerParameteriv = (C.GPGETSAMPLERPARAMETERIV)(getProcAddr("glGetSamplerParameteriv")) - gpGetSemaphoreParameterui64vEXT = (C.GPGETSEMAPHOREPARAMETERUI64VEXT)(getProcAddr("glGetSemaphoreParameterui64vEXT")) - gpGetSeparableFilterEXT = (C.GPGETSEPARABLEFILTEREXT)(getProcAddr("glGetSeparableFilterEXT")) gpGetShaderInfoLog = (C.GPGETSHADERINFOLOG)(getProcAddr("glGetShaderInfoLog")) if gpGetShaderInfoLog == nil { return errors.New("glGetShaderInfoLog") } - gpGetShaderPrecisionFormat = (C.GPGETSHADERPRECISIONFORMAT)(getProcAddr("glGetShaderPrecisionFormat")) - gpGetShaderSource = (C.GPGETSHADERSOURCE)(getProcAddr("glGetShaderSource")) - if gpGetShaderSource == nil { - return errors.New("glGetShaderSource") - } - gpGetShaderSourceARB = (C.GPGETSHADERSOURCEARB)(getProcAddr("glGetShaderSourceARB")) gpGetShaderiv = (C.GPGETSHADERIV)(getProcAddr("glGetShaderiv")) if gpGetShaderiv == nil { return errors.New("glGetShaderiv") } - gpGetSharpenTexFuncSGIS = (C.GPGETSHARPENTEXFUNCSGIS)(getProcAddr("glGetSharpenTexFuncSGIS")) - gpGetStageIndexNV = (C.GPGETSTAGEINDEXNV)(getProcAddr("glGetStageIndexNV")) - gpGetString = (C.GPGETSTRING)(getProcAddr("glGetString")) - if gpGetString == nil { - return errors.New("glGetString") - } - gpGetSubroutineIndex = (C.GPGETSUBROUTINEINDEX)(getProcAddr("glGetSubroutineIndex")) - gpGetSubroutineUniformLocation = (C.GPGETSUBROUTINEUNIFORMLOCATION)(getProcAddr("glGetSubroutineUniformLocation")) - gpGetSynciv = (C.GPGETSYNCIV)(getProcAddr("glGetSynciv")) - gpGetTexBumpParameterfvATI = (C.GPGETTEXBUMPPARAMETERFVATI)(getProcAddr("glGetTexBumpParameterfvATI")) - gpGetTexBumpParameterivATI = (C.GPGETTEXBUMPPARAMETERIVATI)(getProcAddr("glGetTexBumpParameterivATI")) - gpGetTexEnvfv = (C.GPGETTEXENVFV)(getProcAddr("glGetTexEnvfv")) - if gpGetTexEnvfv == nil { - return errors.New("glGetTexEnvfv") - } - gpGetTexEnviv = (C.GPGETTEXENVIV)(getProcAddr("glGetTexEnviv")) - if gpGetTexEnviv == nil { - return errors.New("glGetTexEnviv") - } - gpGetTexEnvxvOES = (C.GPGETTEXENVXVOES)(getProcAddr("glGetTexEnvxvOES")) - gpGetTexFilterFuncSGIS = (C.GPGETTEXFILTERFUNCSGIS)(getProcAddr("glGetTexFilterFuncSGIS")) - gpGetTexGendv = (C.GPGETTEXGENDV)(getProcAddr("glGetTexGendv")) - if gpGetTexGendv == nil { - return errors.New("glGetTexGendv") - } - gpGetTexGenfv = (C.GPGETTEXGENFV)(getProcAddr("glGetTexGenfv")) - if gpGetTexGenfv == nil { - return errors.New("glGetTexGenfv") - } - gpGetTexGeniv = (C.GPGETTEXGENIV)(getProcAddr("glGetTexGeniv")) - if gpGetTexGeniv == nil { - return errors.New("glGetTexGeniv") - } - gpGetTexGenxvOES = (C.GPGETTEXGENXVOES)(getProcAddr("glGetTexGenxvOES")) - gpGetTexImage = (C.GPGETTEXIMAGE)(getProcAddr("glGetTexImage")) - if gpGetTexImage == nil { - return errors.New("glGetTexImage") - } - gpGetTexLevelParameterfv = (C.GPGETTEXLEVELPARAMETERFV)(getProcAddr("glGetTexLevelParameterfv")) - if gpGetTexLevelParameterfv == nil { - return errors.New("glGetTexLevelParameterfv") - } - gpGetTexLevelParameteriv = (C.GPGETTEXLEVELPARAMETERIV)(getProcAddr("glGetTexLevelParameteriv")) - if gpGetTexLevelParameteriv == nil { - return errors.New("glGetTexLevelParameteriv") - } - gpGetTexLevelParameterxvOES = (C.GPGETTEXLEVELPARAMETERXVOES)(getProcAddr("glGetTexLevelParameterxvOES")) - gpGetTexParameterIivEXT = (C.GPGETTEXPARAMETERIIVEXT)(getProcAddr("glGetTexParameterIivEXT")) - gpGetTexParameterIuivEXT = (C.GPGETTEXPARAMETERIUIVEXT)(getProcAddr("glGetTexParameterIuivEXT")) - gpGetTexParameterPointervAPPLE = (C.GPGETTEXPARAMETERPOINTERVAPPLE)(getProcAddr("glGetTexParameterPointervAPPLE")) - gpGetTexParameterfv = (C.GPGETTEXPARAMETERFV)(getProcAddr("glGetTexParameterfv")) - if gpGetTexParameterfv == nil { - return errors.New("glGetTexParameterfv") - } - gpGetTexParameteriv = (C.GPGETTEXPARAMETERIV)(getProcAddr("glGetTexParameteriv")) - if gpGetTexParameteriv == nil { - return errors.New("glGetTexParameteriv") - } - gpGetTexParameterxvOES = (C.GPGETTEXPARAMETERXVOES)(getProcAddr("glGetTexParameterxvOES")) - gpGetTextureHandleARB = (C.GPGETTEXTUREHANDLEARB)(getProcAddr("glGetTextureHandleARB")) - gpGetTextureHandleNV = (C.GPGETTEXTUREHANDLENV)(getProcAddr("glGetTextureHandleNV")) - gpGetTextureImage = (C.GPGETTEXTUREIMAGE)(getProcAddr("glGetTextureImage")) - gpGetTextureImageEXT = (C.GPGETTEXTUREIMAGEEXT)(getProcAddr("glGetTextureImageEXT")) - gpGetTextureLevelParameterfv = (C.GPGETTEXTURELEVELPARAMETERFV)(getProcAddr("glGetTextureLevelParameterfv")) - gpGetTextureLevelParameterfvEXT = (C.GPGETTEXTURELEVELPARAMETERFVEXT)(getProcAddr("glGetTextureLevelParameterfvEXT")) - gpGetTextureLevelParameteriv = (C.GPGETTEXTURELEVELPARAMETERIV)(getProcAddr("glGetTextureLevelParameteriv")) - gpGetTextureLevelParameterivEXT = (C.GPGETTEXTURELEVELPARAMETERIVEXT)(getProcAddr("glGetTextureLevelParameterivEXT")) - gpGetTextureParameterIiv = (C.GPGETTEXTUREPARAMETERIIV)(getProcAddr("glGetTextureParameterIiv")) - gpGetTextureParameterIivEXT = (C.GPGETTEXTUREPARAMETERIIVEXT)(getProcAddr("glGetTextureParameterIivEXT")) - gpGetTextureParameterIuiv = (C.GPGETTEXTUREPARAMETERIUIV)(getProcAddr("glGetTextureParameterIuiv")) - gpGetTextureParameterIuivEXT = (C.GPGETTEXTUREPARAMETERIUIVEXT)(getProcAddr("glGetTextureParameterIuivEXT")) - gpGetTextureParameterfv = (C.GPGETTEXTUREPARAMETERFV)(getProcAddr("glGetTextureParameterfv")) - gpGetTextureParameterfvEXT = (C.GPGETTEXTUREPARAMETERFVEXT)(getProcAddr("glGetTextureParameterfvEXT")) - gpGetTextureParameteriv = (C.GPGETTEXTUREPARAMETERIV)(getProcAddr("glGetTextureParameteriv")) - gpGetTextureParameterivEXT = (C.GPGETTEXTUREPARAMETERIVEXT)(getProcAddr("glGetTextureParameterivEXT")) - gpGetTextureSamplerHandleARB = (C.GPGETTEXTURESAMPLERHANDLEARB)(getProcAddr("glGetTextureSamplerHandleARB")) - gpGetTextureSamplerHandleNV = (C.GPGETTEXTURESAMPLERHANDLENV)(getProcAddr("glGetTextureSamplerHandleNV")) - gpGetTextureSubImage = (C.GPGETTEXTURESUBIMAGE)(getProcAddr("glGetTextureSubImage")) - gpGetTrackMatrixivNV = (C.GPGETTRACKMATRIXIVNV)(getProcAddr("glGetTrackMatrixivNV")) - gpGetTransformFeedbackVaryingEXT = (C.GPGETTRANSFORMFEEDBACKVARYINGEXT)(getProcAddr("glGetTransformFeedbackVaryingEXT")) - gpGetTransformFeedbackVaryingNV = (C.GPGETTRANSFORMFEEDBACKVARYINGNV)(getProcAddr("glGetTransformFeedbackVaryingNV")) gpGetTransformFeedbacki64_v = (C.GPGETTRANSFORMFEEDBACKI64_V)(getProcAddr("glGetTransformFeedbacki64_v")) gpGetTransformFeedbacki_v = (C.GPGETTRANSFORMFEEDBACKI_V)(getProcAddr("glGetTransformFeedbacki_v")) - gpGetTransformFeedbackiv = (C.GPGETTRANSFORMFEEDBACKIV)(getProcAddr("glGetTransformFeedbackiv")) - gpGetUniformBlockIndex = (C.GPGETUNIFORMBLOCKINDEX)(getProcAddr("glGetUniformBlockIndex")) - gpGetUniformBufferSizeEXT = (C.GPGETUNIFORMBUFFERSIZEEXT)(getProcAddr("glGetUniformBufferSizeEXT")) - gpGetUniformIndices = (C.GPGETUNIFORMINDICES)(getProcAddr("glGetUniformIndices")) gpGetUniformLocation = (C.GPGETUNIFORMLOCATION)(getProcAddr("glGetUniformLocation")) if gpGetUniformLocation == nil { return errors.New("glGetUniformLocation") } - gpGetUniformLocationARB = (C.GPGETUNIFORMLOCATIONARB)(getProcAddr("glGetUniformLocationARB")) - gpGetUniformOffsetEXT = (C.GPGETUNIFORMOFFSETEXT)(getProcAddr("glGetUniformOffsetEXT")) - gpGetUniformSubroutineuiv = (C.GPGETUNIFORMSUBROUTINEUIV)(getProcAddr("glGetUniformSubroutineuiv")) - gpGetUniformdv = (C.GPGETUNIFORMDV)(getProcAddr("glGetUniformdv")) - gpGetUniformfv = (C.GPGETUNIFORMFV)(getProcAddr("glGetUniformfv")) - if gpGetUniformfv == nil { - return errors.New("glGetUniformfv") - } - gpGetUniformfvARB = (C.GPGETUNIFORMFVARB)(getProcAddr("glGetUniformfvARB")) - gpGetUniformi64vARB = (C.GPGETUNIFORMI64VARB)(getProcAddr("glGetUniformi64vARB")) - gpGetUniformi64vNV = (C.GPGETUNIFORMI64VNV)(getProcAddr("glGetUniformi64vNV")) - gpGetUniformiv = (C.GPGETUNIFORMIV)(getProcAddr("glGetUniformiv")) - if gpGetUniformiv == nil { - return errors.New("glGetUniformiv") - } - gpGetUniformivARB = (C.GPGETUNIFORMIVARB)(getProcAddr("glGetUniformivARB")) - gpGetUniformui64vARB = (C.GPGETUNIFORMUI64VARB)(getProcAddr("glGetUniformui64vARB")) - gpGetUniformui64vNV = (C.GPGETUNIFORMUI64VNV)(getProcAddr("glGetUniformui64vNV")) - gpGetUniformuivEXT = (C.GPGETUNIFORMUIVEXT)(getProcAddr("glGetUniformuivEXT")) gpGetUnsignedBytei_vEXT = (C.GPGETUNSIGNEDBYTEI_VEXT)(getProcAddr("glGetUnsignedBytei_vEXT")) - gpGetUnsignedBytevEXT = (C.GPGETUNSIGNEDBYTEVEXT)(getProcAddr("glGetUnsignedBytevEXT")) - gpGetVariantArrayObjectfvATI = (C.GPGETVARIANTARRAYOBJECTFVATI)(getProcAddr("glGetVariantArrayObjectfvATI")) - gpGetVariantArrayObjectivATI = (C.GPGETVARIANTARRAYOBJECTIVATI)(getProcAddr("glGetVariantArrayObjectivATI")) - gpGetVariantBooleanvEXT = (C.GPGETVARIANTBOOLEANVEXT)(getProcAddr("glGetVariantBooleanvEXT")) - gpGetVariantFloatvEXT = (C.GPGETVARIANTFLOATVEXT)(getProcAddr("glGetVariantFloatvEXT")) - gpGetVariantIntegervEXT = (C.GPGETVARIANTINTEGERVEXT)(getProcAddr("glGetVariantIntegervEXT")) - gpGetVariantPointervEXT = (C.GPGETVARIANTPOINTERVEXT)(getProcAddr("glGetVariantPointervEXT")) - gpGetVaryingLocationNV = (C.GPGETVARYINGLOCATIONNV)(getProcAddr("glGetVaryingLocationNV")) - gpGetVertexArrayIndexed64iv = (C.GPGETVERTEXARRAYINDEXED64IV)(getProcAddr("glGetVertexArrayIndexed64iv")) - gpGetVertexArrayIndexediv = (C.GPGETVERTEXARRAYINDEXEDIV)(getProcAddr("glGetVertexArrayIndexediv")) gpGetVertexArrayIntegeri_vEXT = (C.GPGETVERTEXARRAYINTEGERI_VEXT)(getProcAddr("glGetVertexArrayIntegeri_vEXT")) - gpGetVertexArrayIntegervEXT = (C.GPGETVERTEXARRAYINTEGERVEXT)(getProcAddr("glGetVertexArrayIntegervEXT")) gpGetVertexArrayPointeri_vEXT = (C.GPGETVERTEXARRAYPOINTERI_VEXT)(getProcAddr("glGetVertexArrayPointeri_vEXT")) - gpGetVertexArrayPointervEXT = (C.GPGETVERTEXARRAYPOINTERVEXT)(getProcAddr("glGetVertexArrayPointervEXT")) - gpGetVertexArrayiv = (C.GPGETVERTEXARRAYIV)(getProcAddr("glGetVertexArrayiv")) - gpGetVertexAttribArrayObjectfvATI = (C.GPGETVERTEXATTRIBARRAYOBJECTFVATI)(getProcAddr("glGetVertexAttribArrayObjectfvATI")) - gpGetVertexAttribArrayObjectivATI = (C.GPGETVERTEXATTRIBARRAYOBJECTIVATI)(getProcAddr("glGetVertexAttribArrayObjectivATI")) - gpGetVertexAttribIivEXT = (C.GPGETVERTEXATTRIBIIVEXT)(getProcAddr("glGetVertexAttribIivEXT")) - gpGetVertexAttribIuivEXT = (C.GPGETVERTEXATTRIBIUIVEXT)(getProcAddr("glGetVertexAttribIuivEXT")) - gpGetVertexAttribLdv = (C.GPGETVERTEXATTRIBLDV)(getProcAddr("glGetVertexAttribLdv")) - gpGetVertexAttribLdvEXT = (C.GPGETVERTEXATTRIBLDVEXT)(getProcAddr("glGetVertexAttribLdvEXT")) - gpGetVertexAttribLi64vNV = (C.GPGETVERTEXATTRIBLI64VNV)(getProcAddr("glGetVertexAttribLi64vNV")) - gpGetVertexAttribLui64vARB = (C.GPGETVERTEXATTRIBLUI64VARB)(getProcAddr("glGetVertexAttribLui64vARB")) - gpGetVertexAttribLui64vNV = (C.GPGETVERTEXATTRIBLUI64VNV)(getProcAddr("glGetVertexAttribLui64vNV")) - gpGetVertexAttribPointerv = (C.GPGETVERTEXATTRIBPOINTERV)(getProcAddr("glGetVertexAttribPointerv")) - if gpGetVertexAttribPointerv == nil { - return errors.New("glGetVertexAttribPointerv") - } - gpGetVertexAttribPointervARB = (C.GPGETVERTEXATTRIBPOINTERVARB)(getProcAddr("glGetVertexAttribPointervARB")) - gpGetVertexAttribPointervNV = (C.GPGETVERTEXATTRIBPOINTERVNV)(getProcAddr("glGetVertexAttribPointervNV")) - gpGetVertexAttribdv = (C.GPGETVERTEXATTRIBDV)(getProcAddr("glGetVertexAttribdv")) - if gpGetVertexAttribdv == nil { - return errors.New("glGetVertexAttribdv") - } - gpGetVertexAttribdvARB = (C.GPGETVERTEXATTRIBDVARB)(getProcAddr("glGetVertexAttribdvARB")) - gpGetVertexAttribdvNV = (C.GPGETVERTEXATTRIBDVNV)(getProcAddr("glGetVertexAttribdvNV")) - gpGetVertexAttribfv = (C.GPGETVERTEXATTRIBFV)(getProcAddr("glGetVertexAttribfv")) - if gpGetVertexAttribfv == nil { - return errors.New("glGetVertexAttribfv") - } - gpGetVertexAttribfvARB = (C.GPGETVERTEXATTRIBFVARB)(getProcAddr("glGetVertexAttribfvARB")) - gpGetVertexAttribfvNV = (C.GPGETVERTEXATTRIBFVNV)(getProcAddr("glGetVertexAttribfvNV")) - gpGetVertexAttribiv = (C.GPGETVERTEXATTRIBIV)(getProcAddr("glGetVertexAttribiv")) - if gpGetVertexAttribiv == nil { - return errors.New("glGetVertexAttribiv") - } - gpGetVertexAttribivARB = (C.GPGETVERTEXATTRIBIVARB)(getProcAddr("glGetVertexAttribivARB")) - gpGetVertexAttribivNV = (C.GPGETVERTEXATTRIBIVNV)(getProcAddr("glGetVertexAttribivNV")) - gpGetVideoCaptureStreamdvNV = (C.GPGETVIDEOCAPTURESTREAMDVNV)(getProcAddr("glGetVideoCaptureStreamdvNV")) - gpGetVideoCaptureStreamfvNV = (C.GPGETVIDEOCAPTURESTREAMFVNV)(getProcAddr("glGetVideoCaptureStreamfvNV")) - gpGetVideoCaptureStreamivNV = (C.GPGETVIDEOCAPTURESTREAMIVNV)(getProcAddr("glGetVideoCaptureStreamivNV")) - gpGetVideoCaptureivNV = (C.GPGETVIDEOCAPTUREIVNV)(getProcAddr("glGetVideoCaptureivNV")) - gpGetVideoi64vNV = (C.GPGETVIDEOI64VNV)(getProcAddr("glGetVideoi64vNV")) - gpGetVideoivNV = (C.GPGETVIDEOIVNV)(getProcAddr("glGetVideoivNV")) - gpGetVideoui64vNV = (C.GPGETVIDEOUI64VNV)(getProcAddr("glGetVideoui64vNV")) - gpGetVideouivNV = (C.GPGETVIDEOUIVNV)(getProcAddr("glGetVideouivNV")) - gpGetVkProcAddrNV = (C.GPGETVKPROCADDRNV)(getProcAddr("glGetVkProcAddrNV")) - gpGetnCompressedTexImageARB = (C.GPGETNCOMPRESSEDTEXIMAGEARB)(getProcAddr("glGetnCompressedTexImageARB")) - gpGetnTexImageARB = (C.GPGETNTEXIMAGEARB)(getProcAddr("glGetnTexImageARB")) - gpGetnUniformdvARB = (C.GPGETNUNIFORMDVARB)(getProcAddr("glGetnUniformdvARB")) - gpGetnUniformfv = (C.GPGETNUNIFORMFV)(getProcAddr("glGetnUniformfv")) - gpGetnUniformfvARB = (C.GPGETNUNIFORMFVARB)(getProcAddr("glGetnUniformfvARB")) - gpGetnUniformfvKHR = (C.GPGETNUNIFORMFVKHR)(getProcAddr("glGetnUniformfvKHR")) - gpGetnUniformi64vARB = (C.GPGETNUNIFORMI64VARB)(getProcAddr("glGetnUniformi64vARB")) - gpGetnUniformiv = (C.GPGETNUNIFORMIV)(getProcAddr("glGetnUniformiv")) - gpGetnUniformivARB = (C.GPGETNUNIFORMIVARB)(getProcAddr("glGetnUniformivARB")) - gpGetnUniformivKHR = (C.GPGETNUNIFORMIVKHR)(getProcAddr("glGetnUniformivKHR")) - gpGetnUniformui64vARB = (C.GPGETNUNIFORMUI64VARB)(getProcAddr("glGetnUniformui64vARB")) - gpGetnUniformuiv = (C.GPGETNUNIFORMUIV)(getProcAddr("glGetnUniformuiv")) - gpGetnUniformuivARB = (C.GPGETNUNIFORMUIVARB)(getProcAddr("glGetnUniformuivARB")) - gpGetnUniformuivKHR = (C.GPGETNUNIFORMUIVKHR)(getProcAddr("glGetnUniformuivKHR")) - gpGlobalAlphaFactorbSUN = (C.GPGLOBALALPHAFACTORBSUN)(getProcAddr("glGlobalAlphaFactorbSUN")) - gpGlobalAlphaFactordSUN = (C.GPGLOBALALPHAFACTORDSUN)(getProcAddr("glGlobalAlphaFactordSUN")) - gpGlobalAlphaFactorfSUN = (C.GPGLOBALALPHAFACTORFSUN)(getProcAddr("glGlobalAlphaFactorfSUN")) - gpGlobalAlphaFactoriSUN = (C.GPGLOBALALPHAFACTORISUN)(getProcAddr("glGlobalAlphaFactoriSUN")) - gpGlobalAlphaFactorsSUN = (C.GPGLOBALALPHAFACTORSSUN)(getProcAddr("glGlobalAlphaFactorsSUN")) - gpGlobalAlphaFactorubSUN = (C.GPGLOBALALPHAFACTORUBSUN)(getProcAddr("glGlobalAlphaFactorubSUN")) - gpGlobalAlphaFactoruiSUN = (C.GPGLOBALALPHAFACTORUISUN)(getProcAddr("glGlobalAlphaFactoruiSUN")) - gpGlobalAlphaFactorusSUN = (C.GPGLOBALALPHAFACTORUSSUN)(getProcAddr("glGlobalAlphaFactorusSUN")) - gpHint = (C.GPHINT)(getProcAddr("glHint")) - if gpHint == nil { - return errors.New("glHint") - } - gpHintPGI = (C.GPHINTPGI)(getProcAddr("glHintPGI")) - gpHistogramEXT = (C.GPHISTOGRAMEXT)(getProcAddr("glHistogramEXT")) - gpIglooInterfaceSGIX = (C.GPIGLOOINTERFACESGIX)(getProcAddr("glIglooInterfaceSGIX")) - gpImageTransformParameterfHP = (C.GPIMAGETRANSFORMPARAMETERFHP)(getProcAddr("glImageTransformParameterfHP")) - gpImageTransformParameterfvHP = (C.GPIMAGETRANSFORMPARAMETERFVHP)(getProcAddr("glImageTransformParameterfvHP")) - gpImageTransformParameteriHP = (C.GPIMAGETRANSFORMPARAMETERIHP)(getProcAddr("glImageTransformParameteriHP")) - gpImageTransformParameterivHP = (C.GPIMAGETRANSFORMPARAMETERIVHP)(getProcAddr("glImageTransformParameterivHP")) - gpImportMemoryFdEXT = (C.GPIMPORTMEMORYFDEXT)(getProcAddr("glImportMemoryFdEXT")) - gpImportMemoryWin32HandleEXT = (C.GPIMPORTMEMORYWIN32HANDLEEXT)(getProcAddr("glImportMemoryWin32HandleEXT")) - gpImportMemoryWin32NameEXT = (C.GPIMPORTMEMORYWIN32NAMEEXT)(getProcAddr("glImportMemoryWin32NameEXT")) - gpImportSemaphoreFdEXT = (C.GPIMPORTSEMAPHOREFDEXT)(getProcAddr("glImportSemaphoreFdEXT")) - gpImportSemaphoreWin32HandleEXT = (C.GPIMPORTSEMAPHOREWIN32HANDLEEXT)(getProcAddr("glImportSemaphoreWin32HandleEXT")) - gpImportSemaphoreWin32NameEXT = (C.GPIMPORTSEMAPHOREWIN32NAMEEXT)(getProcAddr("glImportSemaphoreWin32NameEXT")) - gpImportSyncEXT = (C.GPIMPORTSYNCEXT)(getProcAddr("glImportSyncEXT")) - gpIndexFormatNV = (C.GPINDEXFORMATNV)(getProcAddr("glIndexFormatNV")) - gpIndexFuncEXT = (C.GPINDEXFUNCEXT)(getProcAddr("glIndexFuncEXT")) - gpIndexMask = (C.GPINDEXMASK)(getProcAddr("glIndexMask")) - if gpIndexMask == nil { - return errors.New("glIndexMask") - } - gpIndexMaterialEXT = (C.GPINDEXMATERIALEXT)(getProcAddr("glIndexMaterialEXT")) - gpIndexPointer = (C.GPINDEXPOINTER)(getProcAddr("glIndexPointer")) - if gpIndexPointer == nil { - return errors.New("glIndexPointer") - } - gpIndexPointerEXT = (C.GPINDEXPOINTEREXT)(getProcAddr("glIndexPointerEXT")) - gpIndexPointerListIBM = (C.GPINDEXPOINTERLISTIBM)(getProcAddr("glIndexPointerListIBM")) - gpIndexd = (C.GPINDEXD)(getProcAddr("glIndexd")) - if gpIndexd == nil { - return errors.New("glIndexd") - } - gpIndexdv = (C.GPINDEXDV)(getProcAddr("glIndexdv")) - if gpIndexdv == nil { - return errors.New("glIndexdv") - } - gpIndexf = (C.GPINDEXF)(getProcAddr("glIndexf")) - if gpIndexf == nil { - return errors.New("glIndexf") - } - gpIndexfv = (C.GPINDEXFV)(getProcAddr("glIndexfv")) - if gpIndexfv == nil { - return errors.New("glIndexfv") - } - gpIndexi = (C.GPINDEXI)(getProcAddr("glIndexi")) - if gpIndexi == nil { - return errors.New("glIndexi") - } - gpIndexiv = (C.GPINDEXIV)(getProcAddr("glIndexiv")) - if gpIndexiv == nil { - return errors.New("glIndexiv") - } - gpIndexs = (C.GPINDEXS)(getProcAddr("glIndexs")) - if gpIndexs == nil { - return errors.New("glIndexs") - } - gpIndexsv = (C.GPINDEXSV)(getProcAddr("glIndexsv")) - if gpIndexsv == nil { - return errors.New("glIndexsv") - } - gpIndexub = (C.GPINDEXUB)(getProcAddr("glIndexub")) - if gpIndexub == nil { - return errors.New("glIndexub") - } - gpIndexubv = (C.GPINDEXUBV)(getProcAddr("glIndexubv")) - if gpIndexubv == nil { - return errors.New("glIndexubv") - } - gpIndexxOES = (C.GPINDEXXOES)(getProcAddr("glIndexxOES")) - gpIndexxvOES = (C.GPINDEXXVOES)(getProcAddr("glIndexxvOES")) - gpInitNames = (C.GPINITNAMES)(getProcAddr("glInitNames")) - if gpInitNames == nil { - return errors.New("glInitNames") - } - gpInsertComponentEXT = (C.GPINSERTCOMPONENTEXT)(getProcAddr("glInsertComponentEXT")) - gpInsertEventMarkerEXT = (C.GPINSERTEVENTMARKEREXT)(getProcAddr("glInsertEventMarkerEXT")) - gpInstrumentsBufferSGIX = (C.GPINSTRUMENTSBUFFERSGIX)(getProcAddr("glInstrumentsBufferSGIX")) - gpInterleavedArrays = (C.GPINTERLEAVEDARRAYS)(getProcAddr("glInterleavedArrays")) - if gpInterleavedArrays == nil { - return errors.New("glInterleavedArrays") - } - gpInterpolatePathsNV = (C.GPINTERPOLATEPATHSNV)(getProcAddr("glInterpolatePathsNV")) - gpInvalidateBufferData = (C.GPINVALIDATEBUFFERDATA)(getProcAddr("glInvalidateBufferData")) - gpInvalidateBufferSubData = (C.GPINVALIDATEBUFFERSUBDATA)(getProcAddr("glInvalidateBufferSubData")) - gpInvalidateFramebuffer = (C.GPINVALIDATEFRAMEBUFFER)(getProcAddr("glInvalidateFramebuffer")) - gpInvalidateNamedFramebufferData = (C.GPINVALIDATENAMEDFRAMEBUFFERDATA)(getProcAddr("glInvalidateNamedFramebufferData")) - gpInvalidateNamedFramebufferSubData = (C.GPINVALIDATENAMEDFRAMEBUFFERSUBDATA)(getProcAddr("glInvalidateNamedFramebufferSubData")) - gpInvalidateSubFramebuffer = (C.GPINVALIDATESUBFRAMEBUFFER)(getProcAddr("glInvalidateSubFramebuffer")) - gpInvalidateTexImage = (C.GPINVALIDATETEXIMAGE)(getProcAddr("glInvalidateTexImage")) - gpInvalidateTexSubImage = (C.GPINVALIDATETEXSUBIMAGE)(getProcAddr("glInvalidateTexSubImage")) - gpIsAsyncMarkerSGIX = (C.GPISASYNCMARKERSGIX)(getProcAddr("glIsAsyncMarkerSGIX")) - gpIsBuffer = (C.GPISBUFFER)(getProcAddr("glIsBuffer")) - if gpIsBuffer == nil { - return errors.New("glIsBuffer") - } - gpIsBufferARB = (C.GPISBUFFERARB)(getProcAddr("glIsBufferARB")) - gpIsBufferResidentNV = (C.GPISBUFFERRESIDENTNV)(getProcAddr("glIsBufferResidentNV")) - gpIsCommandListNV = (C.GPISCOMMANDLISTNV)(getProcAddr("glIsCommandListNV")) - gpIsEnabled = (C.GPISENABLED)(getProcAddr("glIsEnabled")) - if gpIsEnabled == nil { - return errors.New("glIsEnabled") - } - gpIsEnabledIndexedEXT = (C.GPISENABLEDINDEXEDEXT)(getProcAddr("glIsEnabledIndexedEXT")) - gpIsFenceAPPLE = (C.GPISFENCEAPPLE)(getProcAddr("glIsFenceAPPLE")) - gpIsFenceNV = (C.GPISFENCENV)(getProcAddr("glIsFenceNV")) - gpIsFramebuffer = (C.GPISFRAMEBUFFER)(getProcAddr("glIsFramebuffer")) gpIsFramebufferEXT = (C.GPISFRAMEBUFFEREXT)(getProcAddr("glIsFramebufferEXT")) - gpIsImageHandleResidentARB = (C.GPISIMAGEHANDLERESIDENTARB)(getProcAddr("glIsImageHandleResidentARB")) - gpIsImageHandleResidentNV = (C.GPISIMAGEHANDLERESIDENTNV)(getProcAddr("glIsImageHandleResidentNV")) - gpIsList = (C.GPISLIST)(getProcAddr("glIsList")) - if gpIsList == nil { - return errors.New("glIsList") - } - gpIsMemoryObjectEXT = (C.GPISMEMORYOBJECTEXT)(getProcAddr("glIsMemoryObjectEXT")) - gpIsNameAMD = (C.GPISNAMEAMD)(getProcAddr("glIsNameAMD")) - gpIsNamedBufferResidentNV = (C.GPISNAMEDBUFFERRESIDENTNV)(getProcAddr("glIsNamedBufferResidentNV")) - gpIsNamedStringARB = (C.GPISNAMEDSTRINGARB)(getProcAddr("glIsNamedStringARB")) - gpIsObjectBufferATI = (C.GPISOBJECTBUFFERATI)(getProcAddr("glIsObjectBufferATI")) - gpIsOcclusionQueryNV = (C.GPISOCCLUSIONQUERYNV)(getProcAddr("glIsOcclusionQueryNV")) - gpIsPathNV = (C.GPISPATHNV)(getProcAddr("glIsPathNV")) - gpIsPointInFillPathNV = (C.GPISPOINTINFILLPATHNV)(getProcAddr("glIsPointInFillPathNV")) - gpIsPointInStrokePathNV = (C.GPISPOINTINSTROKEPATHNV)(getProcAddr("glIsPointInStrokePathNV")) gpIsProgram = (C.GPISPROGRAM)(getProcAddr("glIsProgram")) if gpIsProgram == nil { return errors.New("glIsProgram") } - gpIsProgramARB = (C.GPISPROGRAMARB)(getProcAddr("glIsProgramARB")) - gpIsProgramNV = (C.GPISPROGRAMNV)(getProcAddr("glIsProgramNV")) - gpIsProgramPipeline = (C.GPISPROGRAMPIPELINE)(getProcAddr("glIsProgramPipeline")) - gpIsProgramPipelineEXT = (C.GPISPROGRAMPIPELINEEXT)(getProcAddr("glIsProgramPipelineEXT")) - gpIsQuery = (C.GPISQUERY)(getProcAddr("glIsQuery")) - if gpIsQuery == nil { - return errors.New("glIsQuery") - } - gpIsQueryARB = (C.GPISQUERYARB)(getProcAddr("glIsQueryARB")) - gpIsRenderbuffer = (C.GPISRENDERBUFFER)(getProcAddr("glIsRenderbuffer")) - gpIsRenderbufferEXT = (C.GPISRENDERBUFFEREXT)(getProcAddr("glIsRenderbufferEXT")) - gpIsSampler = (C.GPISSAMPLER)(getProcAddr("glIsSampler")) - gpIsSemaphoreEXT = (C.GPISSEMAPHOREEXT)(getProcAddr("glIsSemaphoreEXT")) - gpIsShader = (C.GPISSHADER)(getProcAddr("glIsShader")) - if gpIsShader == nil { - return errors.New("glIsShader") - } - gpIsStateNV = (C.GPISSTATENV)(getProcAddr("glIsStateNV")) - gpIsSync = (C.GPISSYNC)(getProcAddr("glIsSync")) gpIsTexture = (C.GPISTEXTURE)(getProcAddr("glIsTexture")) if gpIsTexture == nil { return errors.New("glIsTexture") } - gpIsTextureEXT = (C.GPISTEXTUREEXT)(getProcAddr("glIsTextureEXT")) - gpIsTextureHandleResidentARB = (C.GPISTEXTUREHANDLERESIDENTARB)(getProcAddr("glIsTextureHandleResidentARB")) - gpIsTextureHandleResidentNV = (C.GPISTEXTUREHANDLERESIDENTNV)(getProcAddr("glIsTextureHandleResidentNV")) - gpIsTransformFeedback = (C.GPISTRANSFORMFEEDBACK)(getProcAddr("glIsTransformFeedback")) - gpIsTransformFeedbackNV = (C.GPISTRANSFORMFEEDBACKNV)(getProcAddr("glIsTransformFeedbackNV")) - gpIsVariantEnabledEXT = (C.GPISVARIANTENABLEDEXT)(getProcAddr("glIsVariantEnabledEXT")) - gpIsVertexArray = (C.GPISVERTEXARRAY)(getProcAddr("glIsVertexArray")) - gpIsVertexArrayAPPLE = (C.GPISVERTEXARRAYAPPLE)(getProcAddr("glIsVertexArrayAPPLE")) - gpIsVertexAttribEnabledAPPLE = (C.GPISVERTEXATTRIBENABLEDAPPLE)(getProcAddr("glIsVertexAttribEnabledAPPLE")) - gpLGPUCopyImageSubDataNVX = (C.GPLGPUCOPYIMAGESUBDATANVX)(getProcAddr("glLGPUCopyImageSubDataNVX")) - gpLGPUInterlockNVX = (C.GPLGPUINTERLOCKNVX)(getProcAddr("glLGPUInterlockNVX")) - gpLGPUNamedBufferSubDataNVX = (C.GPLGPUNAMEDBUFFERSUBDATANVX)(getProcAddr("glLGPUNamedBufferSubDataNVX")) - gpLabelObjectEXT = (C.GPLABELOBJECTEXT)(getProcAddr("glLabelObjectEXT")) - gpLightEnviSGIX = (C.GPLIGHTENVISGIX)(getProcAddr("glLightEnviSGIX")) - gpLightModelf = (C.GPLIGHTMODELF)(getProcAddr("glLightModelf")) - if gpLightModelf == nil { - return errors.New("glLightModelf") - } - gpLightModelfv = (C.GPLIGHTMODELFV)(getProcAddr("glLightModelfv")) - if gpLightModelfv == nil { - return errors.New("glLightModelfv") - } - gpLightModeli = (C.GPLIGHTMODELI)(getProcAddr("glLightModeli")) - if gpLightModeli == nil { - return errors.New("glLightModeli") - } - gpLightModeliv = (C.GPLIGHTMODELIV)(getProcAddr("glLightModeliv")) - if gpLightModeliv == nil { - return errors.New("glLightModeliv") - } - gpLightModelxOES = (C.GPLIGHTMODELXOES)(getProcAddr("glLightModelxOES")) - gpLightModelxvOES = (C.GPLIGHTMODELXVOES)(getProcAddr("glLightModelxvOES")) - gpLightf = (C.GPLIGHTF)(getProcAddr("glLightf")) - if gpLightf == nil { - return errors.New("glLightf") - } - gpLightfv = (C.GPLIGHTFV)(getProcAddr("glLightfv")) - if gpLightfv == nil { - return errors.New("glLightfv") - } - gpLighti = (C.GPLIGHTI)(getProcAddr("glLighti")) - if gpLighti == nil { - return errors.New("glLighti") - } - gpLightiv = (C.GPLIGHTIV)(getProcAddr("glLightiv")) - if gpLightiv == nil { - return errors.New("glLightiv") - } - gpLightxOES = (C.GPLIGHTXOES)(getProcAddr("glLightxOES")) - gpLightxvOES = (C.GPLIGHTXVOES)(getProcAddr("glLightxvOES")) - gpLineStipple = (C.GPLINESTIPPLE)(getProcAddr("glLineStipple")) - if gpLineStipple == nil { - return errors.New("glLineStipple") - } - gpLineWidth = (C.GPLINEWIDTH)(getProcAddr("glLineWidth")) - if gpLineWidth == nil { - return errors.New("glLineWidth") - } - gpLineWidthxOES = (C.GPLINEWIDTHXOES)(getProcAddr("glLineWidthxOES")) gpLinkProgram = (C.GPLINKPROGRAM)(getProcAddr("glLinkProgram")) if gpLinkProgram == nil { return errors.New("glLinkProgram") } - gpLinkProgramARB = (C.GPLINKPROGRAMARB)(getProcAddr("glLinkProgramARB")) - gpListBase = (C.GPLISTBASE)(getProcAddr("glListBase")) - if gpListBase == nil { - return errors.New("glListBase") - } - gpListDrawCommandsStatesClientNV = (C.GPLISTDRAWCOMMANDSSTATESCLIENTNV)(getProcAddr("glListDrawCommandsStatesClientNV")) - gpListParameterfSGIX = (C.GPLISTPARAMETERFSGIX)(getProcAddr("glListParameterfSGIX")) - gpListParameterfvSGIX = (C.GPLISTPARAMETERFVSGIX)(getProcAddr("glListParameterfvSGIX")) - gpListParameteriSGIX = (C.GPLISTPARAMETERISGIX)(getProcAddr("glListParameteriSGIX")) - gpListParameterivSGIX = (C.GPLISTPARAMETERIVSGIX)(getProcAddr("glListParameterivSGIX")) - gpLoadIdentity = (C.GPLOADIDENTITY)(getProcAddr("glLoadIdentity")) - if gpLoadIdentity == nil { - return errors.New("glLoadIdentity") - } - gpLoadIdentityDeformationMapSGIX = (C.GPLOADIDENTITYDEFORMATIONMAPSGIX)(getProcAddr("glLoadIdentityDeformationMapSGIX")) - gpLoadMatrixd = (C.GPLOADMATRIXD)(getProcAddr("glLoadMatrixd")) - if gpLoadMatrixd == nil { - return errors.New("glLoadMatrixd") - } - gpLoadMatrixf = (C.GPLOADMATRIXF)(getProcAddr("glLoadMatrixf")) - if gpLoadMatrixf == nil { - return errors.New("glLoadMatrixf") - } - gpLoadMatrixxOES = (C.GPLOADMATRIXXOES)(getProcAddr("glLoadMatrixxOES")) - gpLoadName = (C.GPLOADNAME)(getProcAddr("glLoadName")) - if gpLoadName == nil { - return errors.New("glLoadName") - } - gpLoadProgramNV = (C.GPLOADPROGRAMNV)(getProcAddr("glLoadProgramNV")) - gpLoadTransposeMatrixd = (C.GPLOADTRANSPOSEMATRIXD)(getProcAddr("glLoadTransposeMatrixd")) - if gpLoadTransposeMatrixd == nil { - return errors.New("glLoadTransposeMatrixd") - } - gpLoadTransposeMatrixdARB = (C.GPLOADTRANSPOSEMATRIXDARB)(getProcAddr("glLoadTransposeMatrixdARB")) - gpLoadTransposeMatrixf = (C.GPLOADTRANSPOSEMATRIXF)(getProcAddr("glLoadTransposeMatrixf")) - if gpLoadTransposeMatrixf == nil { - return errors.New("glLoadTransposeMatrixf") - } - gpLoadTransposeMatrixfARB = (C.GPLOADTRANSPOSEMATRIXFARB)(getProcAddr("glLoadTransposeMatrixfARB")) - gpLoadTransposeMatrixxOES = (C.GPLOADTRANSPOSEMATRIXXOES)(getProcAddr("glLoadTransposeMatrixxOES")) - gpLockArraysEXT = (C.GPLOCKARRAYSEXT)(getProcAddr("glLockArraysEXT")) - gpLogicOp = (C.GPLOGICOP)(getProcAddr("glLogicOp")) - if gpLogicOp == nil { - return errors.New("glLogicOp") - } - gpMakeBufferNonResidentNV = (C.GPMAKEBUFFERNONRESIDENTNV)(getProcAddr("glMakeBufferNonResidentNV")) - gpMakeBufferResidentNV = (C.GPMAKEBUFFERRESIDENTNV)(getProcAddr("glMakeBufferResidentNV")) - gpMakeImageHandleNonResidentARB = (C.GPMAKEIMAGEHANDLENONRESIDENTARB)(getProcAddr("glMakeImageHandleNonResidentARB")) - gpMakeImageHandleNonResidentNV = (C.GPMAKEIMAGEHANDLENONRESIDENTNV)(getProcAddr("glMakeImageHandleNonResidentNV")) - gpMakeImageHandleResidentARB = (C.GPMAKEIMAGEHANDLERESIDENTARB)(getProcAddr("glMakeImageHandleResidentARB")) - gpMakeImageHandleResidentNV = (C.GPMAKEIMAGEHANDLERESIDENTNV)(getProcAddr("glMakeImageHandleResidentNV")) - gpMakeNamedBufferNonResidentNV = (C.GPMAKENAMEDBUFFERNONRESIDENTNV)(getProcAddr("glMakeNamedBufferNonResidentNV")) - gpMakeNamedBufferResidentNV = (C.GPMAKENAMEDBUFFERRESIDENTNV)(getProcAddr("glMakeNamedBufferResidentNV")) - gpMakeTextureHandleNonResidentARB = (C.GPMAKETEXTUREHANDLENONRESIDENTARB)(getProcAddr("glMakeTextureHandleNonResidentARB")) - gpMakeTextureHandleNonResidentNV = (C.GPMAKETEXTUREHANDLENONRESIDENTNV)(getProcAddr("glMakeTextureHandleNonResidentNV")) - gpMakeTextureHandleResidentARB = (C.GPMAKETEXTUREHANDLERESIDENTARB)(getProcAddr("glMakeTextureHandleResidentARB")) - gpMakeTextureHandleResidentNV = (C.GPMAKETEXTUREHANDLERESIDENTNV)(getProcAddr("glMakeTextureHandleResidentNV")) - gpMap1d = (C.GPMAP1D)(getProcAddr("glMap1d")) - if gpMap1d == nil { - return errors.New("glMap1d") - } - gpMap1f = (C.GPMAP1F)(getProcAddr("glMap1f")) - if gpMap1f == nil { - return errors.New("glMap1f") - } - gpMap1xOES = (C.GPMAP1XOES)(getProcAddr("glMap1xOES")) - gpMap2d = (C.GPMAP2D)(getProcAddr("glMap2d")) - if gpMap2d == nil { - return errors.New("glMap2d") - } - gpMap2f = (C.GPMAP2F)(getProcAddr("glMap2f")) - if gpMap2f == nil { - return errors.New("glMap2f") - } - gpMap2xOES = (C.GPMAP2XOES)(getProcAddr("glMap2xOES")) - gpMapBuffer = (C.GPMAPBUFFER)(getProcAddr("glMapBuffer")) - if gpMapBuffer == nil { - return errors.New("glMapBuffer") - } - gpMapBufferARB = (C.GPMAPBUFFERARB)(getProcAddr("glMapBufferARB")) - gpMapBufferRange = (C.GPMAPBUFFERRANGE)(getProcAddr("glMapBufferRange")) - gpMapControlPointsNV = (C.GPMAPCONTROLPOINTSNV)(getProcAddr("glMapControlPointsNV")) - gpMapGrid1d = (C.GPMAPGRID1D)(getProcAddr("glMapGrid1d")) - if gpMapGrid1d == nil { - return errors.New("glMapGrid1d") - } - gpMapGrid1f = (C.GPMAPGRID1F)(getProcAddr("glMapGrid1f")) - if gpMapGrid1f == nil { - return errors.New("glMapGrid1f") - } - gpMapGrid1xOES = (C.GPMAPGRID1XOES)(getProcAddr("glMapGrid1xOES")) - gpMapGrid2d = (C.GPMAPGRID2D)(getProcAddr("glMapGrid2d")) - if gpMapGrid2d == nil { - return errors.New("glMapGrid2d") - } - gpMapGrid2f = (C.GPMAPGRID2F)(getProcAddr("glMapGrid2f")) - if gpMapGrid2f == nil { - return errors.New("glMapGrid2f") - } - gpMapGrid2xOES = (C.GPMAPGRID2XOES)(getProcAddr("glMapGrid2xOES")) - gpMapNamedBuffer = (C.GPMAPNAMEDBUFFER)(getProcAddr("glMapNamedBuffer")) - gpMapNamedBufferEXT = (C.GPMAPNAMEDBUFFEREXT)(getProcAddr("glMapNamedBufferEXT")) - gpMapNamedBufferRange = (C.GPMAPNAMEDBUFFERRANGE)(getProcAddr("glMapNamedBufferRange")) - gpMapNamedBufferRangeEXT = (C.GPMAPNAMEDBUFFERRANGEEXT)(getProcAddr("glMapNamedBufferRangeEXT")) - gpMapObjectBufferATI = (C.GPMAPOBJECTBUFFERATI)(getProcAddr("glMapObjectBufferATI")) - gpMapParameterfvNV = (C.GPMAPPARAMETERFVNV)(getProcAddr("glMapParameterfvNV")) - gpMapParameterivNV = (C.GPMAPPARAMETERIVNV)(getProcAddr("glMapParameterivNV")) - gpMapTexture2DINTEL = (C.GPMAPTEXTURE2DINTEL)(getProcAddr("glMapTexture2DINTEL")) - gpMapVertexAttrib1dAPPLE = (C.GPMAPVERTEXATTRIB1DAPPLE)(getProcAddr("glMapVertexAttrib1dAPPLE")) - gpMapVertexAttrib1fAPPLE = (C.GPMAPVERTEXATTRIB1FAPPLE)(getProcAddr("glMapVertexAttrib1fAPPLE")) - gpMapVertexAttrib2dAPPLE = (C.GPMAPVERTEXATTRIB2DAPPLE)(getProcAddr("glMapVertexAttrib2dAPPLE")) - gpMapVertexAttrib2fAPPLE = (C.GPMAPVERTEXATTRIB2FAPPLE)(getProcAddr("glMapVertexAttrib2fAPPLE")) - gpMaterialf = (C.GPMATERIALF)(getProcAddr("glMaterialf")) - if gpMaterialf == nil { - return errors.New("glMaterialf") - } - gpMaterialfv = (C.GPMATERIALFV)(getProcAddr("glMaterialfv")) - if gpMaterialfv == nil { - return errors.New("glMaterialfv") - } - gpMateriali = (C.GPMATERIALI)(getProcAddr("glMateriali")) - if gpMateriali == nil { - return errors.New("glMateriali") - } - gpMaterialiv = (C.GPMATERIALIV)(getProcAddr("glMaterialiv")) - if gpMaterialiv == nil { - return errors.New("glMaterialiv") - } - gpMaterialxOES = (C.GPMATERIALXOES)(getProcAddr("glMaterialxOES")) - gpMaterialxvOES = (C.GPMATERIALXVOES)(getProcAddr("glMaterialxvOES")) - gpMatrixFrustumEXT = (C.GPMATRIXFRUSTUMEXT)(getProcAddr("glMatrixFrustumEXT")) - gpMatrixIndexPointerARB = (C.GPMATRIXINDEXPOINTERARB)(getProcAddr("glMatrixIndexPointerARB")) - gpMatrixIndexubvARB = (C.GPMATRIXINDEXUBVARB)(getProcAddr("glMatrixIndexubvARB")) - gpMatrixIndexuivARB = (C.GPMATRIXINDEXUIVARB)(getProcAddr("glMatrixIndexuivARB")) - gpMatrixIndexusvARB = (C.GPMATRIXINDEXUSVARB)(getProcAddr("glMatrixIndexusvARB")) - gpMatrixLoad3x2fNV = (C.GPMATRIXLOAD3X2FNV)(getProcAddr("glMatrixLoad3x2fNV")) - gpMatrixLoad3x3fNV = (C.GPMATRIXLOAD3X3FNV)(getProcAddr("glMatrixLoad3x3fNV")) - gpMatrixLoadIdentityEXT = (C.GPMATRIXLOADIDENTITYEXT)(getProcAddr("glMatrixLoadIdentityEXT")) - gpMatrixLoadTranspose3x3fNV = (C.GPMATRIXLOADTRANSPOSE3X3FNV)(getProcAddr("glMatrixLoadTranspose3x3fNV")) - gpMatrixLoadTransposedEXT = (C.GPMATRIXLOADTRANSPOSEDEXT)(getProcAddr("glMatrixLoadTransposedEXT")) - gpMatrixLoadTransposefEXT = (C.GPMATRIXLOADTRANSPOSEFEXT)(getProcAddr("glMatrixLoadTransposefEXT")) - gpMatrixLoaddEXT = (C.GPMATRIXLOADDEXT)(getProcAddr("glMatrixLoaddEXT")) - gpMatrixLoadfEXT = (C.GPMATRIXLOADFEXT)(getProcAddr("glMatrixLoadfEXT")) - gpMatrixMode = (C.GPMATRIXMODE)(getProcAddr("glMatrixMode")) - if gpMatrixMode == nil { - return errors.New("glMatrixMode") - } - gpMatrixMult3x2fNV = (C.GPMATRIXMULT3X2FNV)(getProcAddr("glMatrixMult3x2fNV")) - gpMatrixMult3x3fNV = (C.GPMATRIXMULT3X3FNV)(getProcAddr("glMatrixMult3x3fNV")) - gpMatrixMultTranspose3x3fNV = (C.GPMATRIXMULTTRANSPOSE3X3FNV)(getProcAddr("glMatrixMultTranspose3x3fNV")) - gpMatrixMultTransposedEXT = (C.GPMATRIXMULTTRANSPOSEDEXT)(getProcAddr("glMatrixMultTransposedEXT")) - gpMatrixMultTransposefEXT = (C.GPMATRIXMULTTRANSPOSEFEXT)(getProcAddr("glMatrixMultTransposefEXT")) - gpMatrixMultdEXT = (C.GPMATRIXMULTDEXT)(getProcAddr("glMatrixMultdEXT")) - gpMatrixMultfEXT = (C.GPMATRIXMULTFEXT)(getProcAddr("glMatrixMultfEXT")) - gpMatrixOrthoEXT = (C.GPMATRIXORTHOEXT)(getProcAddr("glMatrixOrthoEXT")) - gpMatrixPopEXT = (C.GPMATRIXPOPEXT)(getProcAddr("glMatrixPopEXT")) - gpMatrixPushEXT = (C.GPMATRIXPUSHEXT)(getProcAddr("glMatrixPushEXT")) - gpMatrixRotatedEXT = (C.GPMATRIXROTATEDEXT)(getProcAddr("glMatrixRotatedEXT")) - gpMatrixRotatefEXT = (C.GPMATRIXROTATEFEXT)(getProcAddr("glMatrixRotatefEXT")) - gpMatrixScaledEXT = (C.GPMATRIXSCALEDEXT)(getProcAddr("glMatrixScaledEXT")) - gpMatrixScalefEXT = (C.GPMATRIXSCALEFEXT)(getProcAddr("glMatrixScalefEXT")) - gpMatrixTranslatedEXT = (C.GPMATRIXTRANSLATEDEXT)(getProcAddr("glMatrixTranslatedEXT")) - gpMatrixTranslatefEXT = (C.GPMATRIXTRANSLATEFEXT)(getProcAddr("glMatrixTranslatefEXT")) - gpMaxShaderCompilerThreadsARB = (C.GPMAXSHADERCOMPILERTHREADSARB)(getProcAddr("glMaxShaderCompilerThreadsARB")) - gpMaxShaderCompilerThreadsKHR = (C.GPMAXSHADERCOMPILERTHREADSKHR)(getProcAddr("glMaxShaderCompilerThreadsKHR")) - gpMemoryBarrier = (C.GPMEMORYBARRIER)(getProcAddr("glMemoryBarrier")) - gpMemoryBarrierByRegion = (C.GPMEMORYBARRIERBYREGION)(getProcAddr("glMemoryBarrierByRegion")) - gpMemoryBarrierEXT = (C.GPMEMORYBARRIEREXT)(getProcAddr("glMemoryBarrierEXT")) - gpMemoryObjectParameterivEXT = (C.GPMEMORYOBJECTPARAMETERIVEXT)(getProcAddr("glMemoryObjectParameterivEXT")) - gpMinSampleShadingARB = (C.GPMINSAMPLESHADINGARB)(getProcAddr("glMinSampleShadingARB")) - gpMinmaxEXT = (C.GPMINMAXEXT)(getProcAddr("glMinmaxEXT")) - gpMultMatrixd = (C.GPMULTMATRIXD)(getProcAddr("glMultMatrixd")) - if gpMultMatrixd == nil { - return errors.New("glMultMatrixd") - } - gpMultMatrixf = (C.GPMULTMATRIXF)(getProcAddr("glMultMatrixf")) - if gpMultMatrixf == nil { - return errors.New("glMultMatrixf") - } - gpMultMatrixxOES = (C.GPMULTMATRIXXOES)(getProcAddr("glMultMatrixxOES")) - gpMultTransposeMatrixd = (C.GPMULTTRANSPOSEMATRIXD)(getProcAddr("glMultTransposeMatrixd")) - if gpMultTransposeMatrixd == nil { - return errors.New("glMultTransposeMatrixd") - } - gpMultTransposeMatrixdARB = (C.GPMULTTRANSPOSEMATRIXDARB)(getProcAddr("glMultTransposeMatrixdARB")) - gpMultTransposeMatrixf = (C.GPMULTTRANSPOSEMATRIXF)(getProcAddr("glMultTransposeMatrixf")) - if gpMultTransposeMatrixf == nil { - return errors.New("glMultTransposeMatrixf") - } - gpMultTransposeMatrixfARB = (C.GPMULTTRANSPOSEMATRIXFARB)(getProcAddr("glMultTransposeMatrixfARB")) - gpMultTransposeMatrixxOES = (C.GPMULTTRANSPOSEMATRIXXOES)(getProcAddr("glMultTransposeMatrixxOES")) - gpMultiDrawArrays = (C.GPMULTIDRAWARRAYS)(getProcAddr("glMultiDrawArrays")) - if gpMultiDrawArrays == nil { - return errors.New("glMultiDrawArrays") - } - gpMultiDrawArraysEXT = (C.GPMULTIDRAWARRAYSEXT)(getProcAddr("glMultiDrawArraysEXT")) - gpMultiDrawArraysIndirect = (C.GPMULTIDRAWARRAYSINDIRECT)(getProcAddr("glMultiDrawArraysIndirect")) - gpMultiDrawArraysIndirectAMD = (C.GPMULTIDRAWARRAYSINDIRECTAMD)(getProcAddr("glMultiDrawArraysIndirectAMD")) - gpMultiDrawArraysIndirectBindlessCountNV = (C.GPMULTIDRAWARRAYSINDIRECTBINDLESSCOUNTNV)(getProcAddr("glMultiDrawArraysIndirectBindlessCountNV")) - gpMultiDrawArraysIndirectBindlessNV = (C.GPMULTIDRAWARRAYSINDIRECTBINDLESSNV)(getProcAddr("glMultiDrawArraysIndirectBindlessNV")) - gpMultiDrawArraysIndirectCountARB = (C.GPMULTIDRAWARRAYSINDIRECTCOUNTARB)(getProcAddr("glMultiDrawArraysIndirectCountARB")) - gpMultiDrawElementArrayAPPLE = (C.GPMULTIDRAWELEMENTARRAYAPPLE)(getProcAddr("glMultiDrawElementArrayAPPLE")) - gpMultiDrawElements = (C.GPMULTIDRAWELEMENTS)(getProcAddr("glMultiDrawElements")) - if gpMultiDrawElements == nil { - return errors.New("glMultiDrawElements") - } - gpMultiDrawElementsBaseVertex = (C.GPMULTIDRAWELEMENTSBASEVERTEX)(getProcAddr("glMultiDrawElementsBaseVertex")) - gpMultiDrawElementsEXT = (C.GPMULTIDRAWELEMENTSEXT)(getProcAddr("glMultiDrawElementsEXT")) - gpMultiDrawElementsIndirect = (C.GPMULTIDRAWELEMENTSINDIRECT)(getProcAddr("glMultiDrawElementsIndirect")) - gpMultiDrawElementsIndirectAMD = (C.GPMULTIDRAWELEMENTSINDIRECTAMD)(getProcAddr("glMultiDrawElementsIndirectAMD")) - gpMultiDrawElementsIndirectBindlessCountNV = (C.GPMULTIDRAWELEMENTSINDIRECTBINDLESSCOUNTNV)(getProcAddr("glMultiDrawElementsIndirectBindlessCountNV")) - gpMultiDrawElementsIndirectBindlessNV = (C.GPMULTIDRAWELEMENTSINDIRECTBINDLESSNV)(getProcAddr("glMultiDrawElementsIndirectBindlessNV")) - gpMultiDrawElementsIndirectCountARB = (C.GPMULTIDRAWELEMENTSINDIRECTCOUNTARB)(getProcAddr("glMultiDrawElementsIndirectCountARB")) - gpMultiDrawRangeElementArrayAPPLE = (C.GPMULTIDRAWRANGEELEMENTARRAYAPPLE)(getProcAddr("glMultiDrawRangeElementArrayAPPLE")) - gpMultiModeDrawArraysIBM = (C.GPMULTIMODEDRAWARRAYSIBM)(getProcAddr("glMultiModeDrawArraysIBM")) - gpMultiModeDrawElementsIBM = (C.GPMULTIMODEDRAWELEMENTSIBM)(getProcAddr("glMultiModeDrawElementsIBM")) - gpMultiTexBufferEXT = (C.GPMULTITEXBUFFEREXT)(getProcAddr("glMultiTexBufferEXT")) - gpMultiTexCoord1bOES = (C.GPMULTITEXCOORD1BOES)(getProcAddr("glMultiTexCoord1bOES")) - gpMultiTexCoord1bvOES = (C.GPMULTITEXCOORD1BVOES)(getProcAddr("glMultiTexCoord1bvOES")) - gpMultiTexCoord1d = (C.GPMULTITEXCOORD1D)(getProcAddr("glMultiTexCoord1d")) - if gpMultiTexCoord1d == nil { - return errors.New("glMultiTexCoord1d") - } - gpMultiTexCoord1dARB = (C.GPMULTITEXCOORD1DARB)(getProcAddr("glMultiTexCoord1dARB")) - gpMultiTexCoord1dv = (C.GPMULTITEXCOORD1DV)(getProcAddr("glMultiTexCoord1dv")) - if gpMultiTexCoord1dv == nil { - return errors.New("glMultiTexCoord1dv") - } - gpMultiTexCoord1dvARB = (C.GPMULTITEXCOORD1DVARB)(getProcAddr("glMultiTexCoord1dvARB")) - gpMultiTexCoord1f = (C.GPMULTITEXCOORD1F)(getProcAddr("glMultiTexCoord1f")) - if gpMultiTexCoord1f == nil { - return errors.New("glMultiTexCoord1f") - } - gpMultiTexCoord1fARB = (C.GPMULTITEXCOORD1FARB)(getProcAddr("glMultiTexCoord1fARB")) - gpMultiTexCoord1fv = (C.GPMULTITEXCOORD1FV)(getProcAddr("glMultiTexCoord1fv")) - if gpMultiTexCoord1fv == nil { - return errors.New("glMultiTexCoord1fv") - } - gpMultiTexCoord1fvARB = (C.GPMULTITEXCOORD1FVARB)(getProcAddr("glMultiTexCoord1fvARB")) - gpMultiTexCoord1hNV = (C.GPMULTITEXCOORD1HNV)(getProcAddr("glMultiTexCoord1hNV")) - gpMultiTexCoord1hvNV = (C.GPMULTITEXCOORD1HVNV)(getProcAddr("glMultiTexCoord1hvNV")) - gpMultiTexCoord1i = (C.GPMULTITEXCOORD1I)(getProcAddr("glMultiTexCoord1i")) - if gpMultiTexCoord1i == nil { - return errors.New("glMultiTexCoord1i") - } - gpMultiTexCoord1iARB = (C.GPMULTITEXCOORD1IARB)(getProcAddr("glMultiTexCoord1iARB")) - gpMultiTexCoord1iv = (C.GPMULTITEXCOORD1IV)(getProcAddr("glMultiTexCoord1iv")) - if gpMultiTexCoord1iv == nil { - return errors.New("glMultiTexCoord1iv") - } - gpMultiTexCoord1ivARB = (C.GPMULTITEXCOORD1IVARB)(getProcAddr("glMultiTexCoord1ivARB")) - gpMultiTexCoord1s = (C.GPMULTITEXCOORD1S)(getProcAddr("glMultiTexCoord1s")) - if gpMultiTexCoord1s == nil { - return errors.New("glMultiTexCoord1s") - } - gpMultiTexCoord1sARB = (C.GPMULTITEXCOORD1SARB)(getProcAddr("glMultiTexCoord1sARB")) - gpMultiTexCoord1sv = (C.GPMULTITEXCOORD1SV)(getProcAddr("glMultiTexCoord1sv")) - if gpMultiTexCoord1sv == nil { - return errors.New("glMultiTexCoord1sv") - } - gpMultiTexCoord1svARB = (C.GPMULTITEXCOORD1SVARB)(getProcAddr("glMultiTexCoord1svARB")) - gpMultiTexCoord1xOES = (C.GPMULTITEXCOORD1XOES)(getProcAddr("glMultiTexCoord1xOES")) - gpMultiTexCoord1xvOES = (C.GPMULTITEXCOORD1XVOES)(getProcAddr("glMultiTexCoord1xvOES")) - gpMultiTexCoord2bOES = (C.GPMULTITEXCOORD2BOES)(getProcAddr("glMultiTexCoord2bOES")) - gpMultiTexCoord2bvOES = (C.GPMULTITEXCOORD2BVOES)(getProcAddr("glMultiTexCoord2bvOES")) - gpMultiTexCoord2d = (C.GPMULTITEXCOORD2D)(getProcAddr("glMultiTexCoord2d")) - if gpMultiTexCoord2d == nil { - return errors.New("glMultiTexCoord2d") - } - gpMultiTexCoord2dARB = (C.GPMULTITEXCOORD2DARB)(getProcAddr("glMultiTexCoord2dARB")) - gpMultiTexCoord2dv = (C.GPMULTITEXCOORD2DV)(getProcAddr("glMultiTexCoord2dv")) - if gpMultiTexCoord2dv == nil { - return errors.New("glMultiTexCoord2dv") - } - gpMultiTexCoord2dvARB = (C.GPMULTITEXCOORD2DVARB)(getProcAddr("glMultiTexCoord2dvARB")) - gpMultiTexCoord2f = (C.GPMULTITEXCOORD2F)(getProcAddr("glMultiTexCoord2f")) - if gpMultiTexCoord2f == nil { - return errors.New("glMultiTexCoord2f") - } - gpMultiTexCoord2fARB = (C.GPMULTITEXCOORD2FARB)(getProcAddr("glMultiTexCoord2fARB")) - gpMultiTexCoord2fv = (C.GPMULTITEXCOORD2FV)(getProcAddr("glMultiTexCoord2fv")) - if gpMultiTexCoord2fv == nil { - return errors.New("glMultiTexCoord2fv") - } - gpMultiTexCoord2fvARB = (C.GPMULTITEXCOORD2FVARB)(getProcAddr("glMultiTexCoord2fvARB")) - gpMultiTexCoord2hNV = (C.GPMULTITEXCOORD2HNV)(getProcAddr("glMultiTexCoord2hNV")) - gpMultiTexCoord2hvNV = (C.GPMULTITEXCOORD2HVNV)(getProcAddr("glMultiTexCoord2hvNV")) - gpMultiTexCoord2i = (C.GPMULTITEXCOORD2I)(getProcAddr("glMultiTexCoord2i")) - if gpMultiTexCoord2i == nil { - return errors.New("glMultiTexCoord2i") - } - gpMultiTexCoord2iARB = (C.GPMULTITEXCOORD2IARB)(getProcAddr("glMultiTexCoord2iARB")) - gpMultiTexCoord2iv = (C.GPMULTITEXCOORD2IV)(getProcAddr("glMultiTexCoord2iv")) - if gpMultiTexCoord2iv == nil { - return errors.New("glMultiTexCoord2iv") - } - gpMultiTexCoord2ivARB = (C.GPMULTITEXCOORD2IVARB)(getProcAddr("glMultiTexCoord2ivARB")) - gpMultiTexCoord2s = (C.GPMULTITEXCOORD2S)(getProcAddr("glMultiTexCoord2s")) - if gpMultiTexCoord2s == nil { - return errors.New("glMultiTexCoord2s") - } - gpMultiTexCoord2sARB = (C.GPMULTITEXCOORD2SARB)(getProcAddr("glMultiTexCoord2sARB")) - gpMultiTexCoord2sv = (C.GPMULTITEXCOORD2SV)(getProcAddr("glMultiTexCoord2sv")) - if gpMultiTexCoord2sv == nil { - return errors.New("glMultiTexCoord2sv") - } - gpMultiTexCoord2svARB = (C.GPMULTITEXCOORD2SVARB)(getProcAddr("glMultiTexCoord2svARB")) - gpMultiTexCoord2xOES = (C.GPMULTITEXCOORD2XOES)(getProcAddr("glMultiTexCoord2xOES")) - gpMultiTexCoord2xvOES = (C.GPMULTITEXCOORD2XVOES)(getProcAddr("glMultiTexCoord2xvOES")) - gpMultiTexCoord3bOES = (C.GPMULTITEXCOORD3BOES)(getProcAddr("glMultiTexCoord3bOES")) - gpMultiTexCoord3bvOES = (C.GPMULTITEXCOORD3BVOES)(getProcAddr("glMultiTexCoord3bvOES")) - gpMultiTexCoord3d = (C.GPMULTITEXCOORD3D)(getProcAddr("glMultiTexCoord3d")) - if gpMultiTexCoord3d == nil { - return errors.New("glMultiTexCoord3d") - } - gpMultiTexCoord3dARB = (C.GPMULTITEXCOORD3DARB)(getProcAddr("glMultiTexCoord3dARB")) - gpMultiTexCoord3dv = (C.GPMULTITEXCOORD3DV)(getProcAddr("glMultiTexCoord3dv")) - if gpMultiTexCoord3dv == nil { - return errors.New("glMultiTexCoord3dv") - } - gpMultiTexCoord3dvARB = (C.GPMULTITEXCOORD3DVARB)(getProcAddr("glMultiTexCoord3dvARB")) - gpMultiTexCoord3f = (C.GPMULTITEXCOORD3F)(getProcAddr("glMultiTexCoord3f")) - if gpMultiTexCoord3f == nil { - return errors.New("glMultiTexCoord3f") - } - gpMultiTexCoord3fARB = (C.GPMULTITEXCOORD3FARB)(getProcAddr("glMultiTexCoord3fARB")) - gpMultiTexCoord3fv = (C.GPMULTITEXCOORD3FV)(getProcAddr("glMultiTexCoord3fv")) - if gpMultiTexCoord3fv == nil { - return errors.New("glMultiTexCoord3fv") - } - gpMultiTexCoord3fvARB = (C.GPMULTITEXCOORD3FVARB)(getProcAddr("glMultiTexCoord3fvARB")) - gpMultiTexCoord3hNV = (C.GPMULTITEXCOORD3HNV)(getProcAddr("glMultiTexCoord3hNV")) - gpMultiTexCoord3hvNV = (C.GPMULTITEXCOORD3HVNV)(getProcAddr("glMultiTexCoord3hvNV")) - gpMultiTexCoord3i = (C.GPMULTITEXCOORD3I)(getProcAddr("glMultiTexCoord3i")) - if gpMultiTexCoord3i == nil { - return errors.New("glMultiTexCoord3i") - } - gpMultiTexCoord3iARB = (C.GPMULTITEXCOORD3IARB)(getProcAddr("glMultiTexCoord3iARB")) - gpMultiTexCoord3iv = (C.GPMULTITEXCOORD3IV)(getProcAddr("glMultiTexCoord3iv")) - if gpMultiTexCoord3iv == nil { - return errors.New("glMultiTexCoord3iv") - } - gpMultiTexCoord3ivARB = (C.GPMULTITEXCOORD3IVARB)(getProcAddr("glMultiTexCoord3ivARB")) - gpMultiTexCoord3s = (C.GPMULTITEXCOORD3S)(getProcAddr("glMultiTexCoord3s")) - if gpMultiTexCoord3s == nil { - return errors.New("glMultiTexCoord3s") - } - gpMultiTexCoord3sARB = (C.GPMULTITEXCOORD3SARB)(getProcAddr("glMultiTexCoord3sARB")) - gpMultiTexCoord3sv = (C.GPMULTITEXCOORD3SV)(getProcAddr("glMultiTexCoord3sv")) - if gpMultiTexCoord3sv == nil { - return errors.New("glMultiTexCoord3sv") - } - gpMultiTexCoord3svARB = (C.GPMULTITEXCOORD3SVARB)(getProcAddr("glMultiTexCoord3svARB")) - gpMultiTexCoord3xOES = (C.GPMULTITEXCOORD3XOES)(getProcAddr("glMultiTexCoord3xOES")) - gpMultiTexCoord3xvOES = (C.GPMULTITEXCOORD3XVOES)(getProcAddr("glMultiTexCoord3xvOES")) - gpMultiTexCoord4bOES = (C.GPMULTITEXCOORD4BOES)(getProcAddr("glMultiTexCoord4bOES")) - gpMultiTexCoord4bvOES = (C.GPMULTITEXCOORD4BVOES)(getProcAddr("glMultiTexCoord4bvOES")) - gpMultiTexCoord4d = (C.GPMULTITEXCOORD4D)(getProcAddr("glMultiTexCoord4d")) - if gpMultiTexCoord4d == nil { - return errors.New("glMultiTexCoord4d") - } - gpMultiTexCoord4dARB = (C.GPMULTITEXCOORD4DARB)(getProcAddr("glMultiTexCoord4dARB")) - gpMultiTexCoord4dv = (C.GPMULTITEXCOORD4DV)(getProcAddr("glMultiTexCoord4dv")) - if gpMultiTexCoord4dv == nil { - return errors.New("glMultiTexCoord4dv") - } - gpMultiTexCoord4dvARB = (C.GPMULTITEXCOORD4DVARB)(getProcAddr("glMultiTexCoord4dvARB")) - gpMultiTexCoord4f = (C.GPMULTITEXCOORD4F)(getProcAddr("glMultiTexCoord4f")) - if gpMultiTexCoord4f == nil { - return errors.New("glMultiTexCoord4f") - } - gpMultiTexCoord4fARB = (C.GPMULTITEXCOORD4FARB)(getProcAddr("glMultiTexCoord4fARB")) - gpMultiTexCoord4fv = (C.GPMULTITEXCOORD4FV)(getProcAddr("glMultiTexCoord4fv")) - if gpMultiTexCoord4fv == nil { - return errors.New("glMultiTexCoord4fv") - } - gpMultiTexCoord4fvARB = (C.GPMULTITEXCOORD4FVARB)(getProcAddr("glMultiTexCoord4fvARB")) - gpMultiTexCoord4hNV = (C.GPMULTITEXCOORD4HNV)(getProcAddr("glMultiTexCoord4hNV")) - gpMultiTexCoord4hvNV = (C.GPMULTITEXCOORD4HVNV)(getProcAddr("glMultiTexCoord4hvNV")) - gpMultiTexCoord4i = (C.GPMULTITEXCOORD4I)(getProcAddr("glMultiTexCoord4i")) - if gpMultiTexCoord4i == nil { - return errors.New("glMultiTexCoord4i") - } - gpMultiTexCoord4iARB = (C.GPMULTITEXCOORD4IARB)(getProcAddr("glMultiTexCoord4iARB")) - gpMultiTexCoord4iv = (C.GPMULTITEXCOORD4IV)(getProcAddr("glMultiTexCoord4iv")) - if gpMultiTexCoord4iv == nil { - return errors.New("glMultiTexCoord4iv") - } - gpMultiTexCoord4ivARB = (C.GPMULTITEXCOORD4IVARB)(getProcAddr("glMultiTexCoord4ivARB")) - gpMultiTexCoord4s = (C.GPMULTITEXCOORD4S)(getProcAddr("glMultiTexCoord4s")) - if gpMultiTexCoord4s == nil { - return errors.New("glMultiTexCoord4s") - } - gpMultiTexCoord4sARB = (C.GPMULTITEXCOORD4SARB)(getProcAddr("glMultiTexCoord4sARB")) - gpMultiTexCoord4sv = (C.GPMULTITEXCOORD4SV)(getProcAddr("glMultiTexCoord4sv")) - if gpMultiTexCoord4sv == nil { - return errors.New("glMultiTexCoord4sv") - } - gpMultiTexCoord4svARB = (C.GPMULTITEXCOORD4SVARB)(getProcAddr("glMultiTexCoord4svARB")) - gpMultiTexCoord4xOES = (C.GPMULTITEXCOORD4XOES)(getProcAddr("glMultiTexCoord4xOES")) - gpMultiTexCoord4xvOES = (C.GPMULTITEXCOORD4XVOES)(getProcAddr("glMultiTexCoord4xvOES")) - gpMultiTexCoordPointerEXT = (C.GPMULTITEXCOORDPOINTEREXT)(getProcAddr("glMultiTexCoordPointerEXT")) - gpMultiTexEnvfEXT = (C.GPMULTITEXENVFEXT)(getProcAddr("glMultiTexEnvfEXT")) - gpMultiTexEnvfvEXT = (C.GPMULTITEXENVFVEXT)(getProcAddr("glMultiTexEnvfvEXT")) - gpMultiTexEnviEXT = (C.GPMULTITEXENVIEXT)(getProcAddr("glMultiTexEnviEXT")) - gpMultiTexEnvivEXT = (C.GPMULTITEXENVIVEXT)(getProcAddr("glMultiTexEnvivEXT")) - gpMultiTexGendEXT = (C.GPMULTITEXGENDEXT)(getProcAddr("glMultiTexGendEXT")) - gpMultiTexGendvEXT = (C.GPMULTITEXGENDVEXT)(getProcAddr("glMultiTexGendvEXT")) - gpMultiTexGenfEXT = (C.GPMULTITEXGENFEXT)(getProcAddr("glMultiTexGenfEXT")) - gpMultiTexGenfvEXT = (C.GPMULTITEXGENFVEXT)(getProcAddr("glMultiTexGenfvEXT")) - gpMultiTexGeniEXT = (C.GPMULTITEXGENIEXT)(getProcAddr("glMultiTexGeniEXT")) - gpMultiTexGenivEXT = (C.GPMULTITEXGENIVEXT)(getProcAddr("glMultiTexGenivEXT")) - gpMultiTexImage1DEXT = (C.GPMULTITEXIMAGE1DEXT)(getProcAddr("glMultiTexImage1DEXT")) - gpMultiTexImage2DEXT = (C.GPMULTITEXIMAGE2DEXT)(getProcAddr("glMultiTexImage2DEXT")) - gpMultiTexImage3DEXT = (C.GPMULTITEXIMAGE3DEXT)(getProcAddr("glMultiTexImage3DEXT")) - gpMultiTexParameterIivEXT = (C.GPMULTITEXPARAMETERIIVEXT)(getProcAddr("glMultiTexParameterIivEXT")) - gpMultiTexParameterIuivEXT = (C.GPMULTITEXPARAMETERIUIVEXT)(getProcAddr("glMultiTexParameterIuivEXT")) - gpMultiTexParameterfEXT = (C.GPMULTITEXPARAMETERFEXT)(getProcAddr("glMultiTexParameterfEXT")) - gpMultiTexParameterfvEXT = (C.GPMULTITEXPARAMETERFVEXT)(getProcAddr("glMultiTexParameterfvEXT")) - gpMultiTexParameteriEXT = (C.GPMULTITEXPARAMETERIEXT)(getProcAddr("glMultiTexParameteriEXT")) - gpMultiTexParameterivEXT = (C.GPMULTITEXPARAMETERIVEXT)(getProcAddr("glMultiTexParameterivEXT")) - gpMultiTexRenderbufferEXT = (C.GPMULTITEXRENDERBUFFEREXT)(getProcAddr("glMultiTexRenderbufferEXT")) - gpMultiTexSubImage1DEXT = (C.GPMULTITEXSUBIMAGE1DEXT)(getProcAddr("glMultiTexSubImage1DEXT")) - gpMultiTexSubImage2DEXT = (C.GPMULTITEXSUBIMAGE2DEXT)(getProcAddr("glMultiTexSubImage2DEXT")) - gpMultiTexSubImage3DEXT = (C.GPMULTITEXSUBIMAGE3DEXT)(getProcAddr("glMultiTexSubImage3DEXT")) - gpMulticastBarrierNV = (C.GPMULTICASTBARRIERNV)(getProcAddr("glMulticastBarrierNV")) - gpMulticastBlitFramebufferNV = (C.GPMULTICASTBLITFRAMEBUFFERNV)(getProcAddr("glMulticastBlitFramebufferNV")) - gpMulticastBufferSubDataNV = (C.GPMULTICASTBUFFERSUBDATANV)(getProcAddr("glMulticastBufferSubDataNV")) - gpMulticastCopyBufferSubDataNV = (C.GPMULTICASTCOPYBUFFERSUBDATANV)(getProcAddr("glMulticastCopyBufferSubDataNV")) - gpMulticastCopyImageSubDataNV = (C.GPMULTICASTCOPYIMAGESUBDATANV)(getProcAddr("glMulticastCopyImageSubDataNV")) - gpMulticastFramebufferSampleLocationsfvNV = (C.GPMULTICASTFRAMEBUFFERSAMPLELOCATIONSFVNV)(getProcAddr("glMulticastFramebufferSampleLocationsfvNV")) - gpMulticastGetQueryObjecti64vNV = (C.GPMULTICASTGETQUERYOBJECTI64VNV)(getProcAddr("glMulticastGetQueryObjecti64vNV")) - gpMulticastGetQueryObjectivNV = (C.GPMULTICASTGETQUERYOBJECTIVNV)(getProcAddr("glMulticastGetQueryObjectivNV")) - gpMulticastGetQueryObjectui64vNV = (C.GPMULTICASTGETQUERYOBJECTUI64VNV)(getProcAddr("glMulticastGetQueryObjectui64vNV")) - gpMulticastGetQueryObjectuivNV = (C.GPMULTICASTGETQUERYOBJECTUIVNV)(getProcAddr("glMulticastGetQueryObjectuivNV")) - gpMulticastWaitSyncNV = (C.GPMULTICASTWAITSYNCNV)(getProcAddr("glMulticastWaitSyncNV")) - gpNamedBufferData = (C.GPNAMEDBUFFERDATA)(getProcAddr("glNamedBufferData")) - gpNamedBufferDataEXT = (C.GPNAMEDBUFFERDATAEXT)(getProcAddr("glNamedBufferDataEXT")) - gpNamedBufferPageCommitmentARB = (C.GPNAMEDBUFFERPAGECOMMITMENTARB)(getProcAddr("glNamedBufferPageCommitmentARB")) - gpNamedBufferPageCommitmentEXT = (C.GPNAMEDBUFFERPAGECOMMITMENTEXT)(getProcAddr("glNamedBufferPageCommitmentEXT")) - gpNamedBufferStorage = (C.GPNAMEDBUFFERSTORAGE)(getProcAddr("glNamedBufferStorage")) - gpNamedBufferStorageEXT = (C.GPNAMEDBUFFERSTORAGEEXT)(getProcAddr("glNamedBufferStorageEXT")) - gpNamedBufferStorageExternalEXT = (C.GPNAMEDBUFFERSTORAGEEXTERNALEXT)(getProcAddr("glNamedBufferStorageExternalEXT")) - gpNamedBufferStorageMemEXT = (C.GPNAMEDBUFFERSTORAGEMEMEXT)(getProcAddr("glNamedBufferStorageMemEXT")) - gpNamedBufferSubData = (C.GPNAMEDBUFFERSUBDATA)(getProcAddr("glNamedBufferSubData")) - gpNamedBufferSubDataEXT = (C.GPNAMEDBUFFERSUBDATAEXT)(getProcAddr("glNamedBufferSubDataEXT")) - gpNamedCopyBufferSubDataEXT = (C.GPNAMEDCOPYBUFFERSUBDATAEXT)(getProcAddr("glNamedCopyBufferSubDataEXT")) - gpNamedFramebufferDrawBuffer = (C.GPNAMEDFRAMEBUFFERDRAWBUFFER)(getProcAddr("glNamedFramebufferDrawBuffer")) - gpNamedFramebufferDrawBuffers = (C.GPNAMEDFRAMEBUFFERDRAWBUFFERS)(getProcAddr("glNamedFramebufferDrawBuffers")) - gpNamedFramebufferParameteri = (C.GPNAMEDFRAMEBUFFERPARAMETERI)(getProcAddr("glNamedFramebufferParameteri")) - gpNamedFramebufferParameteriEXT = (C.GPNAMEDFRAMEBUFFERPARAMETERIEXT)(getProcAddr("glNamedFramebufferParameteriEXT")) - gpNamedFramebufferReadBuffer = (C.GPNAMEDFRAMEBUFFERREADBUFFER)(getProcAddr("glNamedFramebufferReadBuffer")) - gpNamedFramebufferRenderbuffer = (C.GPNAMEDFRAMEBUFFERRENDERBUFFER)(getProcAddr("glNamedFramebufferRenderbuffer")) - gpNamedFramebufferRenderbufferEXT = (C.GPNAMEDFRAMEBUFFERRENDERBUFFEREXT)(getProcAddr("glNamedFramebufferRenderbufferEXT")) - gpNamedFramebufferSampleLocationsfvARB = (C.GPNAMEDFRAMEBUFFERSAMPLELOCATIONSFVARB)(getProcAddr("glNamedFramebufferSampleLocationsfvARB")) - gpNamedFramebufferSampleLocationsfvNV = (C.GPNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNV)(getProcAddr("glNamedFramebufferSampleLocationsfvNV")) - gpNamedFramebufferSamplePositionsfvAMD = (C.GPNAMEDFRAMEBUFFERSAMPLEPOSITIONSFVAMD)(getProcAddr("glNamedFramebufferSamplePositionsfvAMD")) - gpNamedFramebufferTexture = (C.GPNAMEDFRAMEBUFFERTEXTURE)(getProcAddr("glNamedFramebufferTexture")) - gpNamedFramebufferTexture1DEXT = (C.GPNAMEDFRAMEBUFFERTEXTURE1DEXT)(getProcAddr("glNamedFramebufferTexture1DEXT")) - gpNamedFramebufferTexture2DEXT = (C.GPNAMEDFRAMEBUFFERTEXTURE2DEXT)(getProcAddr("glNamedFramebufferTexture2DEXT")) - gpNamedFramebufferTexture3DEXT = (C.GPNAMEDFRAMEBUFFERTEXTURE3DEXT)(getProcAddr("glNamedFramebufferTexture3DEXT")) - gpNamedFramebufferTextureEXT = (C.GPNAMEDFRAMEBUFFERTEXTUREEXT)(getProcAddr("glNamedFramebufferTextureEXT")) - gpNamedFramebufferTextureFaceEXT = (C.GPNAMEDFRAMEBUFFERTEXTUREFACEEXT)(getProcAddr("glNamedFramebufferTextureFaceEXT")) - gpNamedFramebufferTextureLayer = (C.GPNAMEDFRAMEBUFFERTEXTURELAYER)(getProcAddr("glNamedFramebufferTextureLayer")) - gpNamedFramebufferTextureLayerEXT = (C.GPNAMEDFRAMEBUFFERTEXTURELAYEREXT)(getProcAddr("glNamedFramebufferTextureLayerEXT")) - gpNamedProgramLocalParameter4dEXT = (C.GPNAMEDPROGRAMLOCALPARAMETER4DEXT)(getProcAddr("glNamedProgramLocalParameter4dEXT")) - gpNamedProgramLocalParameter4dvEXT = (C.GPNAMEDPROGRAMLOCALPARAMETER4DVEXT)(getProcAddr("glNamedProgramLocalParameter4dvEXT")) - gpNamedProgramLocalParameter4fEXT = (C.GPNAMEDPROGRAMLOCALPARAMETER4FEXT)(getProcAddr("glNamedProgramLocalParameter4fEXT")) - gpNamedProgramLocalParameter4fvEXT = (C.GPNAMEDPROGRAMLOCALPARAMETER4FVEXT)(getProcAddr("glNamedProgramLocalParameter4fvEXT")) - gpNamedProgramLocalParameterI4iEXT = (C.GPNAMEDPROGRAMLOCALPARAMETERI4IEXT)(getProcAddr("glNamedProgramLocalParameterI4iEXT")) - gpNamedProgramLocalParameterI4ivEXT = (C.GPNAMEDPROGRAMLOCALPARAMETERI4IVEXT)(getProcAddr("glNamedProgramLocalParameterI4ivEXT")) - gpNamedProgramLocalParameterI4uiEXT = (C.GPNAMEDPROGRAMLOCALPARAMETERI4UIEXT)(getProcAddr("glNamedProgramLocalParameterI4uiEXT")) - gpNamedProgramLocalParameterI4uivEXT = (C.GPNAMEDPROGRAMLOCALPARAMETERI4UIVEXT)(getProcAddr("glNamedProgramLocalParameterI4uivEXT")) - gpNamedProgramLocalParameters4fvEXT = (C.GPNAMEDPROGRAMLOCALPARAMETERS4FVEXT)(getProcAddr("glNamedProgramLocalParameters4fvEXT")) - gpNamedProgramLocalParametersI4ivEXT = (C.GPNAMEDPROGRAMLOCALPARAMETERSI4IVEXT)(getProcAddr("glNamedProgramLocalParametersI4ivEXT")) - gpNamedProgramLocalParametersI4uivEXT = (C.GPNAMEDPROGRAMLOCALPARAMETERSI4UIVEXT)(getProcAddr("glNamedProgramLocalParametersI4uivEXT")) - gpNamedProgramStringEXT = (C.GPNAMEDPROGRAMSTRINGEXT)(getProcAddr("glNamedProgramStringEXT")) - gpNamedRenderbufferStorage = (C.GPNAMEDRENDERBUFFERSTORAGE)(getProcAddr("glNamedRenderbufferStorage")) - gpNamedRenderbufferStorageEXT = (C.GPNAMEDRENDERBUFFERSTORAGEEXT)(getProcAddr("glNamedRenderbufferStorageEXT")) - gpNamedRenderbufferStorageMultisample = (C.GPNAMEDRENDERBUFFERSTORAGEMULTISAMPLE)(getProcAddr("glNamedRenderbufferStorageMultisample")) - gpNamedRenderbufferStorageMultisampleCoverageEXT = (C.GPNAMEDRENDERBUFFERSTORAGEMULTISAMPLECOVERAGEEXT)(getProcAddr("glNamedRenderbufferStorageMultisampleCoverageEXT")) - gpNamedRenderbufferStorageMultisampleEXT = (C.GPNAMEDRENDERBUFFERSTORAGEMULTISAMPLEEXT)(getProcAddr("glNamedRenderbufferStorageMultisampleEXT")) - gpNamedStringARB = (C.GPNAMEDSTRINGARB)(getProcAddr("glNamedStringARB")) - gpNewList = (C.GPNEWLIST)(getProcAddr("glNewList")) - if gpNewList == nil { - return errors.New("glNewList") - } - gpNewObjectBufferATI = (C.GPNEWOBJECTBUFFERATI)(getProcAddr("glNewObjectBufferATI")) - gpNormal3b = (C.GPNORMAL3B)(getProcAddr("glNormal3b")) - if gpNormal3b == nil { - return errors.New("glNormal3b") - } - gpNormal3bv = (C.GPNORMAL3BV)(getProcAddr("glNormal3bv")) - if gpNormal3bv == nil { - return errors.New("glNormal3bv") - } - gpNormal3d = (C.GPNORMAL3D)(getProcAddr("glNormal3d")) - if gpNormal3d == nil { - return errors.New("glNormal3d") - } - gpNormal3dv = (C.GPNORMAL3DV)(getProcAddr("glNormal3dv")) - if gpNormal3dv == nil { - return errors.New("glNormal3dv") - } - gpNormal3f = (C.GPNORMAL3F)(getProcAddr("glNormal3f")) - if gpNormal3f == nil { - return errors.New("glNormal3f") - } - gpNormal3fVertex3fSUN = (C.GPNORMAL3FVERTEX3FSUN)(getProcAddr("glNormal3fVertex3fSUN")) - gpNormal3fVertex3fvSUN = (C.GPNORMAL3FVERTEX3FVSUN)(getProcAddr("glNormal3fVertex3fvSUN")) - gpNormal3fv = (C.GPNORMAL3FV)(getProcAddr("glNormal3fv")) - if gpNormal3fv == nil { - return errors.New("glNormal3fv") - } - gpNormal3hNV = (C.GPNORMAL3HNV)(getProcAddr("glNormal3hNV")) - gpNormal3hvNV = (C.GPNORMAL3HVNV)(getProcAddr("glNormal3hvNV")) - gpNormal3i = (C.GPNORMAL3I)(getProcAddr("glNormal3i")) - if gpNormal3i == nil { - return errors.New("glNormal3i") - } - gpNormal3iv = (C.GPNORMAL3IV)(getProcAddr("glNormal3iv")) - if gpNormal3iv == nil { - return errors.New("glNormal3iv") - } - gpNormal3s = (C.GPNORMAL3S)(getProcAddr("glNormal3s")) - if gpNormal3s == nil { - return errors.New("glNormal3s") - } - gpNormal3sv = (C.GPNORMAL3SV)(getProcAddr("glNormal3sv")) - if gpNormal3sv == nil { - return errors.New("glNormal3sv") - } - gpNormal3xOES = (C.GPNORMAL3XOES)(getProcAddr("glNormal3xOES")) - gpNormal3xvOES = (C.GPNORMAL3XVOES)(getProcAddr("glNormal3xvOES")) - gpNormalFormatNV = (C.GPNORMALFORMATNV)(getProcAddr("glNormalFormatNV")) - gpNormalPointer = (C.GPNORMALPOINTER)(getProcAddr("glNormalPointer")) - if gpNormalPointer == nil { - return errors.New("glNormalPointer") - } - gpNormalPointerEXT = (C.GPNORMALPOINTEREXT)(getProcAddr("glNormalPointerEXT")) - gpNormalPointerListIBM = (C.GPNORMALPOINTERLISTIBM)(getProcAddr("glNormalPointerListIBM")) - gpNormalPointervINTEL = (C.GPNORMALPOINTERVINTEL)(getProcAddr("glNormalPointervINTEL")) - gpNormalStream3bATI = (C.GPNORMALSTREAM3BATI)(getProcAddr("glNormalStream3bATI")) - gpNormalStream3bvATI = (C.GPNORMALSTREAM3BVATI)(getProcAddr("glNormalStream3bvATI")) - gpNormalStream3dATI = (C.GPNORMALSTREAM3DATI)(getProcAddr("glNormalStream3dATI")) - gpNormalStream3dvATI = (C.GPNORMALSTREAM3DVATI)(getProcAddr("glNormalStream3dvATI")) - gpNormalStream3fATI = (C.GPNORMALSTREAM3FATI)(getProcAddr("glNormalStream3fATI")) - gpNormalStream3fvATI = (C.GPNORMALSTREAM3FVATI)(getProcAddr("glNormalStream3fvATI")) - gpNormalStream3iATI = (C.GPNORMALSTREAM3IATI)(getProcAddr("glNormalStream3iATI")) - gpNormalStream3ivATI = (C.GPNORMALSTREAM3IVATI)(getProcAddr("glNormalStream3ivATI")) - gpNormalStream3sATI = (C.GPNORMALSTREAM3SATI)(getProcAddr("glNormalStream3sATI")) - gpNormalStream3svATI = (C.GPNORMALSTREAM3SVATI)(getProcAddr("glNormalStream3svATI")) - gpObjectLabel = (C.GPOBJECTLABEL)(getProcAddr("glObjectLabel")) - gpObjectLabelKHR = (C.GPOBJECTLABELKHR)(getProcAddr("glObjectLabelKHR")) - gpObjectPtrLabel = (C.GPOBJECTPTRLABEL)(getProcAddr("glObjectPtrLabel")) - gpObjectPtrLabelKHR = (C.GPOBJECTPTRLABELKHR)(getProcAddr("glObjectPtrLabelKHR")) - gpObjectPurgeableAPPLE = (C.GPOBJECTPURGEABLEAPPLE)(getProcAddr("glObjectPurgeableAPPLE")) - gpObjectUnpurgeableAPPLE = (C.GPOBJECTUNPURGEABLEAPPLE)(getProcAddr("glObjectUnpurgeableAPPLE")) - gpOrtho = (C.GPORTHO)(getProcAddr("glOrtho")) - if gpOrtho == nil { - return errors.New("glOrtho") - } - gpOrthofOES = (C.GPORTHOFOES)(getProcAddr("glOrthofOES")) - gpOrthoxOES = (C.GPORTHOXOES)(getProcAddr("glOrthoxOES")) - gpPNTrianglesfATI = (C.GPPNTRIANGLESFATI)(getProcAddr("glPNTrianglesfATI")) - gpPNTrianglesiATI = (C.GPPNTRIANGLESIATI)(getProcAddr("glPNTrianglesiATI")) - gpPassTexCoordATI = (C.GPPASSTEXCOORDATI)(getProcAddr("glPassTexCoordATI")) - gpPassThrough = (C.GPPASSTHROUGH)(getProcAddr("glPassThrough")) - if gpPassThrough == nil { - return errors.New("glPassThrough") - } - gpPassThroughxOES = (C.GPPASSTHROUGHXOES)(getProcAddr("glPassThroughxOES")) - gpPatchParameterfv = (C.GPPATCHPARAMETERFV)(getProcAddr("glPatchParameterfv")) - gpPatchParameteri = (C.GPPATCHPARAMETERI)(getProcAddr("glPatchParameteri")) - gpPathCommandsNV = (C.GPPATHCOMMANDSNV)(getProcAddr("glPathCommandsNV")) - gpPathCoordsNV = (C.GPPATHCOORDSNV)(getProcAddr("glPathCoordsNV")) - gpPathCoverDepthFuncNV = (C.GPPATHCOVERDEPTHFUNCNV)(getProcAddr("glPathCoverDepthFuncNV")) - gpPathDashArrayNV = (C.GPPATHDASHARRAYNV)(getProcAddr("glPathDashArrayNV")) - gpPathGlyphIndexArrayNV = (C.GPPATHGLYPHINDEXARRAYNV)(getProcAddr("glPathGlyphIndexArrayNV")) - gpPathGlyphIndexRangeNV = (C.GPPATHGLYPHINDEXRANGENV)(getProcAddr("glPathGlyphIndexRangeNV")) - gpPathGlyphRangeNV = (C.GPPATHGLYPHRANGENV)(getProcAddr("glPathGlyphRangeNV")) - gpPathGlyphsNV = (C.GPPATHGLYPHSNV)(getProcAddr("glPathGlyphsNV")) - gpPathMemoryGlyphIndexArrayNV = (C.GPPATHMEMORYGLYPHINDEXARRAYNV)(getProcAddr("glPathMemoryGlyphIndexArrayNV")) - gpPathParameterfNV = (C.GPPATHPARAMETERFNV)(getProcAddr("glPathParameterfNV")) - gpPathParameterfvNV = (C.GPPATHPARAMETERFVNV)(getProcAddr("glPathParameterfvNV")) - gpPathParameteriNV = (C.GPPATHPARAMETERINV)(getProcAddr("glPathParameteriNV")) - gpPathParameterivNV = (C.GPPATHPARAMETERIVNV)(getProcAddr("glPathParameterivNV")) - gpPathStencilDepthOffsetNV = (C.GPPATHSTENCILDEPTHOFFSETNV)(getProcAddr("glPathStencilDepthOffsetNV")) - gpPathStencilFuncNV = (C.GPPATHSTENCILFUNCNV)(getProcAddr("glPathStencilFuncNV")) - gpPathStringNV = (C.GPPATHSTRINGNV)(getProcAddr("glPathStringNV")) - gpPathSubCommandsNV = (C.GPPATHSUBCOMMANDSNV)(getProcAddr("glPathSubCommandsNV")) - gpPathSubCoordsNV = (C.GPPATHSUBCOORDSNV)(getProcAddr("glPathSubCoordsNV")) - gpPauseTransformFeedback = (C.GPPAUSETRANSFORMFEEDBACK)(getProcAddr("glPauseTransformFeedback")) - gpPauseTransformFeedbackNV = (C.GPPAUSETRANSFORMFEEDBACKNV)(getProcAddr("glPauseTransformFeedbackNV")) - gpPixelDataRangeNV = (C.GPPIXELDATARANGENV)(getProcAddr("glPixelDataRangeNV")) - gpPixelMapfv = (C.GPPIXELMAPFV)(getProcAddr("glPixelMapfv")) - if gpPixelMapfv == nil { - return errors.New("glPixelMapfv") - } - gpPixelMapuiv = (C.GPPIXELMAPUIV)(getProcAddr("glPixelMapuiv")) - if gpPixelMapuiv == nil { - return errors.New("glPixelMapuiv") - } - gpPixelMapusv = (C.GPPIXELMAPUSV)(getProcAddr("glPixelMapusv")) - if gpPixelMapusv == nil { - return errors.New("glPixelMapusv") - } - gpPixelMapx = (C.GPPIXELMAPX)(getProcAddr("glPixelMapx")) - gpPixelStoref = (C.GPPIXELSTOREF)(getProcAddr("glPixelStoref")) - if gpPixelStoref == nil { - return errors.New("glPixelStoref") - } gpPixelStorei = (C.GPPIXELSTOREI)(getProcAddr("glPixelStorei")) if gpPixelStorei == nil { return errors.New("glPixelStorei") } - gpPixelStorex = (C.GPPIXELSTOREX)(getProcAddr("glPixelStorex")) - gpPixelTexGenParameterfSGIS = (C.GPPIXELTEXGENPARAMETERFSGIS)(getProcAddr("glPixelTexGenParameterfSGIS")) - gpPixelTexGenParameterfvSGIS = (C.GPPIXELTEXGENPARAMETERFVSGIS)(getProcAddr("glPixelTexGenParameterfvSGIS")) - gpPixelTexGenParameteriSGIS = (C.GPPIXELTEXGENPARAMETERISGIS)(getProcAddr("glPixelTexGenParameteriSGIS")) - gpPixelTexGenParameterivSGIS = (C.GPPIXELTEXGENPARAMETERIVSGIS)(getProcAddr("glPixelTexGenParameterivSGIS")) - gpPixelTexGenSGIX = (C.GPPIXELTEXGENSGIX)(getProcAddr("glPixelTexGenSGIX")) - gpPixelTransferf = (C.GPPIXELTRANSFERF)(getProcAddr("glPixelTransferf")) - if gpPixelTransferf == nil { - return errors.New("glPixelTransferf") - } - gpPixelTransferi = (C.GPPIXELTRANSFERI)(getProcAddr("glPixelTransferi")) - if gpPixelTransferi == nil { - return errors.New("glPixelTransferi") - } - gpPixelTransferxOES = (C.GPPIXELTRANSFERXOES)(getProcAddr("glPixelTransferxOES")) - gpPixelTransformParameterfEXT = (C.GPPIXELTRANSFORMPARAMETERFEXT)(getProcAddr("glPixelTransformParameterfEXT")) - gpPixelTransformParameterfvEXT = (C.GPPIXELTRANSFORMPARAMETERFVEXT)(getProcAddr("glPixelTransformParameterfvEXT")) - gpPixelTransformParameteriEXT = (C.GPPIXELTRANSFORMPARAMETERIEXT)(getProcAddr("glPixelTransformParameteriEXT")) - gpPixelTransformParameterivEXT = (C.GPPIXELTRANSFORMPARAMETERIVEXT)(getProcAddr("glPixelTransformParameterivEXT")) - gpPixelZoom = (C.GPPIXELZOOM)(getProcAddr("glPixelZoom")) - if gpPixelZoom == nil { - return errors.New("glPixelZoom") - } - gpPixelZoomxOES = (C.GPPIXELZOOMXOES)(getProcAddr("glPixelZoomxOES")) - gpPointAlongPathNV = (C.GPPOINTALONGPATHNV)(getProcAddr("glPointAlongPathNV")) - gpPointParameterf = (C.GPPOINTPARAMETERF)(getProcAddr("glPointParameterf")) - if gpPointParameterf == nil { - return errors.New("glPointParameterf") - } - gpPointParameterfARB = (C.GPPOINTPARAMETERFARB)(getProcAddr("glPointParameterfARB")) - gpPointParameterfEXT = (C.GPPOINTPARAMETERFEXT)(getProcAddr("glPointParameterfEXT")) - gpPointParameterfSGIS = (C.GPPOINTPARAMETERFSGIS)(getProcAddr("glPointParameterfSGIS")) - gpPointParameterfv = (C.GPPOINTPARAMETERFV)(getProcAddr("glPointParameterfv")) - if gpPointParameterfv == nil { - return errors.New("glPointParameterfv") - } - gpPointParameterfvARB = (C.GPPOINTPARAMETERFVARB)(getProcAddr("glPointParameterfvARB")) - gpPointParameterfvEXT = (C.GPPOINTPARAMETERFVEXT)(getProcAddr("glPointParameterfvEXT")) - gpPointParameterfvSGIS = (C.GPPOINTPARAMETERFVSGIS)(getProcAddr("glPointParameterfvSGIS")) - gpPointParameteri = (C.GPPOINTPARAMETERI)(getProcAddr("glPointParameteri")) - if gpPointParameteri == nil { - return errors.New("glPointParameteri") - } - gpPointParameteriNV = (C.GPPOINTPARAMETERINV)(getProcAddr("glPointParameteriNV")) - gpPointParameteriv = (C.GPPOINTPARAMETERIV)(getProcAddr("glPointParameteriv")) - if gpPointParameteriv == nil { - return errors.New("glPointParameteriv") - } - gpPointParameterivNV = (C.GPPOINTPARAMETERIVNV)(getProcAddr("glPointParameterivNV")) - gpPointParameterxOES = (C.GPPOINTPARAMETERXOES)(getProcAddr("glPointParameterxOES")) - gpPointParameterxvOES = (C.GPPOINTPARAMETERXVOES)(getProcAddr("glPointParameterxvOES")) - gpPointSize = (C.GPPOINTSIZE)(getProcAddr("glPointSize")) - if gpPointSize == nil { - return errors.New("glPointSize") - } - gpPointSizexOES = (C.GPPOINTSIZEXOES)(getProcAddr("glPointSizexOES")) - gpPollAsyncSGIX = (C.GPPOLLASYNCSGIX)(getProcAddr("glPollAsyncSGIX")) - gpPollInstrumentsSGIX = (C.GPPOLLINSTRUMENTSSGIX)(getProcAddr("glPollInstrumentsSGIX")) - gpPolygonMode = (C.GPPOLYGONMODE)(getProcAddr("glPolygonMode")) - if gpPolygonMode == nil { - return errors.New("glPolygonMode") - } - gpPolygonOffset = (C.GPPOLYGONOFFSET)(getProcAddr("glPolygonOffset")) - if gpPolygonOffset == nil { - return errors.New("glPolygonOffset") - } - gpPolygonOffsetClamp = (C.GPPOLYGONOFFSETCLAMP)(getProcAddr("glPolygonOffsetClamp")) - gpPolygonOffsetClampEXT = (C.GPPOLYGONOFFSETCLAMPEXT)(getProcAddr("glPolygonOffsetClampEXT")) - gpPolygonOffsetEXT = (C.GPPOLYGONOFFSETEXT)(getProcAddr("glPolygonOffsetEXT")) - gpPolygonOffsetxOES = (C.GPPOLYGONOFFSETXOES)(getProcAddr("glPolygonOffsetxOES")) - gpPolygonStipple = (C.GPPOLYGONSTIPPLE)(getProcAddr("glPolygonStipple")) - if gpPolygonStipple == nil { - return errors.New("glPolygonStipple") - } - gpPopAttrib = (C.GPPOPATTRIB)(getProcAddr("glPopAttrib")) - if gpPopAttrib == nil { - return errors.New("glPopAttrib") - } - gpPopClientAttrib = (C.GPPOPCLIENTATTRIB)(getProcAddr("glPopClientAttrib")) - if gpPopClientAttrib == nil { - return errors.New("glPopClientAttrib") - } - gpPopDebugGroup = (C.GPPOPDEBUGGROUP)(getProcAddr("glPopDebugGroup")) - gpPopDebugGroupKHR = (C.GPPOPDEBUGGROUPKHR)(getProcAddr("glPopDebugGroupKHR")) - gpPopGroupMarkerEXT = (C.GPPOPGROUPMARKEREXT)(getProcAddr("glPopGroupMarkerEXT")) - gpPopMatrix = (C.GPPOPMATRIX)(getProcAddr("glPopMatrix")) - if gpPopMatrix == nil { - return errors.New("glPopMatrix") - } - gpPopName = (C.GPPOPNAME)(getProcAddr("glPopName")) - if gpPopName == nil { - return errors.New("glPopName") - } - gpPresentFrameDualFillNV = (C.GPPRESENTFRAMEDUALFILLNV)(getProcAddr("glPresentFrameDualFillNV")) - gpPresentFrameKeyedNV = (C.GPPRESENTFRAMEKEYEDNV)(getProcAddr("glPresentFrameKeyedNV")) - gpPrimitiveBoundingBoxARB = (C.GPPRIMITIVEBOUNDINGBOXARB)(getProcAddr("glPrimitiveBoundingBoxARB")) - gpPrimitiveRestartIndexNV = (C.GPPRIMITIVERESTARTINDEXNV)(getProcAddr("glPrimitiveRestartIndexNV")) - gpPrimitiveRestartNV = (C.GPPRIMITIVERESTARTNV)(getProcAddr("glPrimitiveRestartNV")) - gpPrioritizeTextures = (C.GPPRIORITIZETEXTURES)(getProcAddr("glPrioritizeTextures")) - if gpPrioritizeTextures == nil { - return errors.New("glPrioritizeTextures") - } - gpPrioritizeTexturesEXT = (C.GPPRIORITIZETEXTURESEXT)(getProcAddr("glPrioritizeTexturesEXT")) - gpPrioritizeTexturesxOES = (C.GPPRIORITIZETEXTURESXOES)(getProcAddr("glPrioritizeTexturesxOES")) - gpProgramBinary = (C.GPPROGRAMBINARY)(getProcAddr("glProgramBinary")) - gpProgramBufferParametersIivNV = (C.GPPROGRAMBUFFERPARAMETERSIIVNV)(getProcAddr("glProgramBufferParametersIivNV")) - gpProgramBufferParametersIuivNV = (C.GPPROGRAMBUFFERPARAMETERSIUIVNV)(getProcAddr("glProgramBufferParametersIuivNV")) - gpProgramBufferParametersfvNV = (C.GPPROGRAMBUFFERPARAMETERSFVNV)(getProcAddr("glProgramBufferParametersfvNV")) - gpProgramEnvParameter4dARB = (C.GPPROGRAMENVPARAMETER4DARB)(getProcAddr("glProgramEnvParameter4dARB")) - gpProgramEnvParameter4dvARB = (C.GPPROGRAMENVPARAMETER4DVARB)(getProcAddr("glProgramEnvParameter4dvARB")) - gpProgramEnvParameter4fARB = (C.GPPROGRAMENVPARAMETER4FARB)(getProcAddr("glProgramEnvParameter4fARB")) - gpProgramEnvParameter4fvARB = (C.GPPROGRAMENVPARAMETER4FVARB)(getProcAddr("glProgramEnvParameter4fvARB")) - gpProgramEnvParameterI4iNV = (C.GPPROGRAMENVPARAMETERI4INV)(getProcAddr("glProgramEnvParameterI4iNV")) - gpProgramEnvParameterI4ivNV = (C.GPPROGRAMENVPARAMETERI4IVNV)(getProcAddr("glProgramEnvParameterI4ivNV")) - gpProgramEnvParameterI4uiNV = (C.GPPROGRAMENVPARAMETERI4UINV)(getProcAddr("glProgramEnvParameterI4uiNV")) - gpProgramEnvParameterI4uivNV = (C.GPPROGRAMENVPARAMETERI4UIVNV)(getProcAddr("glProgramEnvParameterI4uivNV")) - gpProgramEnvParameters4fvEXT = (C.GPPROGRAMENVPARAMETERS4FVEXT)(getProcAddr("glProgramEnvParameters4fvEXT")) - gpProgramEnvParametersI4ivNV = (C.GPPROGRAMENVPARAMETERSI4IVNV)(getProcAddr("glProgramEnvParametersI4ivNV")) - gpProgramEnvParametersI4uivNV = (C.GPPROGRAMENVPARAMETERSI4UIVNV)(getProcAddr("glProgramEnvParametersI4uivNV")) - gpProgramLocalParameter4dARB = (C.GPPROGRAMLOCALPARAMETER4DARB)(getProcAddr("glProgramLocalParameter4dARB")) - gpProgramLocalParameter4dvARB = (C.GPPROGRAMLOCALPARAMETER4DVARB)(getProcAddr("glProgramLocalParameter4dvARB")) - gpProgramLocalParameter4fARB = (C.GPPROGRAMLOCALPARAMETER4FARB)(getProcAddr("glProgramLocalParameter4fARB")) - gpProgramLocalParameter4fvARB = (C.GPPROGRAMLOCALPARAMETER4FVARB)(getProcAddr("glProgramLocalParameter4fvARB")) - gpProgramLocalParameterI4iNV = (C.GPPROGRAMLOCALPARAMETERI4INV)(getProcAddr("glProgramLocalParameterI4iNV")) - gpProgramLocalParameterI4ivNV = (C.GPPROGRAMLOCALPARAMETERI4IVNV)(getProcAddr("glProgramLocalParameterI4ivNV")) - gpProgramLocalParameterI4uiNV = (C.GPPROGRAMLOCALPARAMETERI4UINV)(getProcAddr("glProgramLocalParameterI4uiNV")) - gpProgramLocalParameterI4uivNV = (C.GPPROGRAMLOCALPARAMETERI4UIVNV)(getProcAddr("glProgramLocalParameterI4uivNV")) - gpProgramLocalParameters4fvEXT = (C.GPPROGRAMLOCALPARAMETERS4FVEXT)(getProcAddr("glProgramLocalParameters4fvEXT")) - gpProgramLocalParametersI4ivNV = (C.GPPROGRAMLOCALPARAMETERSI4IVNV)(getProcAddr("glProgramLocalParametersI4ivNV")) - gpProgramLocalParametersI4uivNV = (C.GPPROGRAMLOCALPARAMETERSI4UIVNV)(getProcAddr("glProgramLocalParametersI4uivNV")) - gpProgramNamedParameter4dNV = (C.GPPROGRAMNAMEDPARAMETER4DNV)(getProcAddr("glProgramNamedParameter4dNV")) - gpProgramNamedParameter4dvNV = (C.GPPROGRAMNAMEDPARAMETER4DVNV)(getProcAddr("glProgramNamedParameter4dvNV")) - gpProgramNamedParameter4fNV = (C.GPPROGRAMNAMEDPARAMETER4FNV)(getProcAddr("glProgramNamedParameter4fNV")) - gpProgramNamedParameter4fvNV = (C.GPPROGRAMNAMEDPARAMETER4FVNV)(getProcAddr("glProgramNamedParameter4fvNV")) - gpProgramParameter4dNV = (C.GPPROGRAMPARAMETER4DNV)(getProcAddr("glProgramParameter4dNV")) - gpProgramParameter4dvNV = (C.GPPROGRAMPARAMETER4DVNV)(getProcAddr("glProgramParameter4dvNV")) - gpProgramParameter4fNV = (C.GPPROGRAMPARAMETER4FNV)(getProcAddr("glProgramParameter4fNV")) - gpProgramParameter4fvNV = (C.GPPROGRAMPARAMETER4FVNV)(getProcAddr("glProgramParameter4fvNV")) - gpProgramParameteri = (C.GPPROGRAMPARAMETERI)(getProcAddr("glProgramParameteri")) - gpProgramParameteriARB = (C.GPPROGRAMPARAMETERIARB)(getProcAddr("glProgramParameteriARB")) - gpProgramParameteriEXT = (C.GPPROGRAMPARAMETERIEXT)(getProcAddr("glProgramParameteriEXT")) - gpProgramParameters4dvNV = (C.GPPROGRAMPARAMETERS4DVNV)(getProcAddr("glProgramParameters4dvNV")) - gpProgramParameters4fvNV = (C.GPPROGRAMPARAMETERS4FVNV)(getProcAddr("glProgramParameters4fvNV")) - gpProgramPathFragmentInputGenNV = (C.GPPROGRAMPATHFRAGMENTINPUTGENNV)(getProcAddr("glProgramPathFragmentInputGenNV")) - gpProgramStringARB = (C.GPPROGRAMSTRINGARB)(getProcAddr("glProgramStringARB")) - gpProgramSubroutineParametersuivNV = (C.GPPROGRAMSUBROUTINEPARAMETERSUIVNV)(getProcAddr("glProgramSubroutineParametersuivNV")) - gpProgramUniform1d = (C.GPPROGRAMUNIFORM1D)(getProcAddr("glProgramUniform1d")) - gpProgramUniform1dEXT = (C.GPPROGRAMUNIFORM1DEXT)(getProcAddr("glProgramUniform1dEXT")) - gpProgramUniform1dv = (C.GPPROGRAMUNIFORM1DV)(getProcAddr("glProgramUniform1dv")) - gpProgramUniform1dvEXT = (C.GPPROGRAMUNIFORM1DVEXT)(getProcAddr("glProgramUniform1dvEXT")) - gpProgramUniform1f = (C.GPPROGRAMUNIFORM1F)(getProcAddr("glProgramUniform1f")) - gpProgramUniform1fEXT = (C.GPPROGRAMUNIFORM1FEXT)(getProcAddr("glProgramUniform1fEXT")) - gpProgramUniform1fv = (C.GPPROGRAMUNIFORM1FV)(getProcAddr("glProgramUniform1fv")) - gpProgramUniform1fvEXT = (C.GPPROGRAMUNIFORM1FVEXT)(getProcAddr("glProgramUniform1fvEXT")) - gpProgramUniform1i = (C.GPPROGRAMUNIFORM1I)(getProcAddr("glProgramUniform1i")) - gpProgramUniform1i64ARB = (C.GPPROGRAMUNIFORM1I64ARB)(getProcAddr("glProgramUniform1i64ARB")) - gpProgramUniform1i64NV = (C.GPPROGRAMUNIFORM1I64NV)(getProcAddr("glProgramUniform1i64NV")) - gpProgramUniform1i64vARB = (C.GPPROGRAMUNIFORM1I64VARB)(getProcAddr("glProgramUniform1i64vARB")) - gpProgramUniform1i64vNV = (C.GPPROGRAMUNIFORM1I64VNV)(getProcAddr("glProgramUniform1i64vNV")) - gpProgramUniform1iEXT = (C.GPPROGRAMUNIFORM1IEXT)(getProcAddr("glProgramUniform1iEXT")) - gpProgramUniform1iv = (C.GPPROGRAMUNIFORM1IV)(getProcAddr("glProgramUniform1iv")) - gpProgramUniform1ivEXT = (C.GPPROGRAMUNIFORM1IVEXT)(getProcAddr("glProgramUniform1ivEXT")) - gpProgramUniform1ui = (C.GPPROGRAMUNIFORM1UI)(getProcAddr("glProgramUniform1ui")) - gpProgramUniform1ui64ARB = (C.GPPROGRAMUNIFORM1UI64ARB)(getProcAddr("glProgramUniform1ui64ARB")) - gpProgramUniform1ui64NV = (C.GPPROGRAMUNIFORM1UI64NV)(getProcAddr("glProgramUniform1ui64NV")) - gpProgramUniform1ui64vARB = (C.GPPROGRAMUNIFORM1UI64VARB)(getProcAddr("glProgramUniform1ui64vARB")) - gpProgramUniform1ui64vNV = (C.GPPROGRAMUNIFORM1UI64VNV)(getProcAddr("glProgramUniform1ui64vNV")) - gpProgramUniform1uiEXT = (C.GPPROGRAMUNIFORM1UIEXT)(getProcAddr("glProgramUniform1uiEXT")) - gpProgramUniform1uiv = (C.GPPROGRAMUNIFORM1UIV)(getProcAddr("glProgramUniform1uiv")) - gpProgramUniform1uivEXT = (C.GPPROGRAMUNIFORM1UIVEXT)(getProcAddr("glProgramUniform1uivEXT")) - gpProgramUniform2d = (C.GPPROGRAMUNIFORM2D)(getProcAddr("glProgramUniform2d")) - gpProgramUniform2dEXT = (C.GPPROGRAMUNIFORM2DEXT)(getProcAddr("glProgramUniform2dEXT")) - gpProgramUniform2dv = (C.GPPROGRAMUNIFORM2DV)(getProcAddr("glProgramUniform2dv")) - gpProgramUniform2dvEXT = (C.GPPROGRAMUNIFORM2DVEXT)(getProcAddr("glProgramUniform2dvEXT")) - gpProgramUniform2f = (C.GPPROGRAMUNIFORM2F)(getProcAddr("glProgramUniform2f")) - gpProgramUniform2fEXT = (C.GPPROGRAMUNIFORM2FEXT)(getProcAddr("glProgramUniform2fEXT")) - gpProgramUniform2fv = (C.GPPROGRAMUNIFORM2FV)(getProcAddr("glProgramUniform2fv")) - gpProgramUniform2fvEXT = (C.GPPROGRAMUNIFORM2FVEXT)(getProcAddr("glProgramUniform2fvEXT")) - gpProgramUniform2i = (C.GPPROGRAMUNIFORM2I)(getProcAddr("glProgramUniform2i")) - gpProgramUniform2i64ARB = (C.GPPROGRAMUNIFORM2I64ARB)(getProcAddr("glProgramUniform2i64ARB")) - gpProgramUniform2i64NV = (C.GPPROGRAMUNIFORM2I64NV)(getProcAddr("glProgramUniform2i64NV")) - gpProgramUniform2i64vARB = (C.GPPROGRAMUNIFORM2I64VARB)(getProcAddr("glProgramUniform2i64vARB")) - gpProgramUniform2i64vNV = (C.GPPROGRAMUNIFORM2I64VNV)(getProcAddr("glProgramUniform2i64vNV")) - gpProgramUniform2iEXT = (C.GPPROGRAMUNIFORM2IEXT)(getProcAddr("glProgramUniform2iEXT")) - gpProgramUniform2iv = (C.GPPROGRAMUNIFORM2IV)(getProcAddr("glProgramUniform2iv")) - gpProgramUniform2ivEXT = (C.GPPROGRAMUNIFORM2IVEXT)(getProcAddr("glProgramUniform2ivEXT")) - gpProgramUniform2ui = (C.GPPROGRAMUNIFORM2UI)(getProcAddr("glProgramUniform2ui")) - gpProgramUniform2ui64ARB = (C.GPPROGRAMUNIFORM2UI64ARB)(getProcAddr("glProgramUniform2ui64ARB")) - gpProgramUniform2ui64NV = (C.GPPROGRAMUNIFORM2UI64NV)(getProcAddr("glProgramUniform2ui64NV")) - gpProgramUniform2ui64vARB = (C.GPPROGRAMUNIFORM2UI64VARB)(getProcAddr("glProgramUniform2ui64vARB")) - gpProgramUniform2ui64vNV = (C.GPPROGRAMUNIFORM2UI64VNV)(getProcAddr("glProgramUniform2ui64vNV")) - gpProgramUniform2uiEXT = (C.GPPROGRAMUNIFORM2UIEXT)(getProcAddr("glProgramUniform2uiEXT")) - gpProgramUniform2uiv = (C.GPPROGRAMUNIFORM2UIV)(getProcAddr("glProgramUniform2uiv")) - gpProgramUniform2uivEXT = (C.GPPROGRAMUNIFORM2UIVEXT)(getProcAddr("glProgramUniform2uivEXT")) - gpProgramUniform3d = (C.GPPROGRAMUNIFORM3D)(getProcAddr("glProgramUniform3d")) - gpProgramUniform3dEXT = (C.GPPROGRAMUNIFORM3DEXT)(getProcAddr("glProgramUniform3dEXT")) - gpProgramUniform3dv = (C.GPPROGRAMUNIFORM3DV)(getProcAddr("glProgramUniform3dv")) - gpProgramUniform3dvEXT = (C.GPPROGRAMUNIFORM3DVEXT)(getProcAddr("glProgramUniform3dvEXT")) - gpProgramUniform3f = (C.GPPROGRAMUNIFORM3F)(getProcAddr("glProgramUniform3f")) - gpProgramUniform3fEXT = (C.GPPROGRAMUNIFORM3FEXT)(getProcAddr("glProgramUniform3fEXT")) - gpProgramUniform3fv = (C.GPPROGRAMUNIFORM3FV)(getProcAddr("glProgramUniform3fv")) - gpProgramUniform3fvEXT = (C.GPPROGRAMUNIFORM3FVEXT)(getProcAddr("glProgramUniform3fvEXT")) - gpProgramUniform3i = (C.GPPROGRAMUNIFORM3I)(getProcAddr("glProgramUniform3i")) - gpProgramUniform3i64ARB = (C.GPPROGRAMUNIFORM3I64ARB)(getProcAddr("glProgramUniform3i64ARB")) - gpProgramUniform3i64NV = (C.GPPROGRAMUNIFORM3I64NV)(getProcAddr("glProgramUniform3i64NV")) - gpProgramUniform3i64vARB = (C.GPPROGRAMUNIFORM3I64VARB)(getProcAddr("glProgramUniform3i64vARB")) - gpProgramUniform3i64vNV = (C.GPPROGRAMUNIFORM3I64VNV)(getProcAddr("glProgramUniform3i64vNV")) - gpProgramUniform3iEXT = (C.GPPROGRAMUNIFORM3IEXT)(getProcAddr("glProgramUniform3iEXT")) - gpProgramUniform3iv = (C.GPPROGRAMUNIFORM3IV)(getProcAddr("glProgramUniform3iv")) - gpProgramUniform3ivEXT = (C.GPPROGRAMUNIFORM3IVEXT)(getProcAddr("glProgramUniform3ivEXT")) - gpProgramUniform3ui = (C.GPPROGRAMUNIFORM3UI)(getProcAddr("glProgramUniform3ui")) - gpProgramUniform3ui64ARB = (C.GPPROGRAMUNIFORM3UI64ARB)(getProcAddr("glProgramUniform3ui64ARB")) - gpProgramUniform3ui64NV = (C.GPPROGRAMUNIFORM3UI64NV)(getProcAddr("glProgramUniform3ui64NV")) - gpProgramUniform3ui64vARB = (C.GPPROGRAMUNIFORM3UI64VARB)(getProcAddr("glProgramUniform3ui64vARB")) - gpProgramUniform3ui64vNV = (C.GPPROGRAMUNIFORM3UI64VNV)(getProcAddr("glProgramUniform3ui64vNV")) - gpProgramUniform3uiEXT = (C.GPPROGRAMUNIFORM3UIEXT)(getProcAddr("glProgramUniform3uiEXT")) - gpProgramUniform3uiv = (C.GPPROGRAMUNIFORM3UIV)(getProcAddr("glProgramUniform3uiv")) - gpProgramUniform3uivEXT = (C.GPPROGRAMUNIFORM3UIVEXT)(getProcAddr("glProgramUniform3uivEXT")) - gpProgramUniform4d = (C.GPPROGRAMUNIFORM4D)(getProcAddr("glProgramUniform4d")) - gpProgramUniform4dEXT = (C.GPPROGRAMUNIFORM4DEXT)(getProcAddr("glProgramUniform4dEXT")) - gpProgramUniform4dv = (C.GPPROGRAMUNIFORM4DV)(getProcAddr("glProgramUniform4dv")) - gpProgramUniform4dvEXT = (C.GPPROGRAMUNIFORM4DVEXT)(getProcAddr("glProgramUniform4dvEXT")) - gpProgramUniform4f = (C.GPPROGRAMUNIFORM4F)(getProcAddr("glProgramUniform4f")) - gpProgramUniform4fEXT = (C.GPPROGRAMUNIFORM4FEXT)(getProcAddr("glProgramUniform4fEXT")) - gpProgramUniform4fv = (C.GPPROGRAMUNIFORM4FV)(getProcAddr("glProgramUniform4fv")) - gpProgramUniform4fvEXT = (C.GPPROGRAMUNIFORM4FVEXT)(getProcAddr("glProgramUniform4fvEXT")) - gpProgramUniform4i = (C.GPPROGRAMUNIFORM4I)(getProcAddr("glProgramUniform4i")) - gpProgramUniform4i64ARB = (C.GPPROGRAMUNIFORM4I64ARB)(getProcAddr("glProgramUniform4i64ARB")) - gpProgramUniform4i64NV = (C.GPPROGRAMUNIFORM4I64NV)(getProcAddr("glProgramUniform4i64NV")) - gpProgramUniform4i64vARB = (C.GPPROGRAMUNIFORM4I64VARB)(getProcAddr("glProgramUniform4i64vARB")) - gpProgramUniform4i64vNV = (C.GPPROGRAMUNIFORM4I64VNV)(getProcAddr("glProgramUniform4i64vNV")) - gpProgramUniform4iEXT = (C.GPPROGRAMUNIFORM4IEXT)(getProcAddr("glProgramUniform4iEXT")) - gpProgramUniform4iv = (C.GPPROGRAMUNIFORM4IV)(getProcAddr("glProgramUniform4iv")) - gpProgramUniform4ivEXT = (C.GPPROGRAMUNIFORM4IVEXT)(getProcAddr("glProgramUniform4ivEXT")) - gpProgramUniform4ui = (C.GPPROGRAMUNIFORM4UI)(getProcAddr("glProgramUniform4ui")) - gpProgramUniform4ui64ARB = (C.GPPROGRAMUNIFORM4UI64ARB)(getProcAddr("glProgramUniform4ui64ARB")) - gpProgramUniform4ui64NV = (C.GPPROGRAMUNIFORM4UI64NV)(getProcAddr("glProgramUniform4ui64NV")) - gpProgramUniform4ui64vARB = (C.GPPROGRAMUNIFORM4UI64VARB)(getProcAddr("glProgramUniform4ui64vARB")) - gpProgramUniform4ui64vNV = (C.GPPROGRAMUNIFORM4UI64VNV)(getProcAddr("glProgramUniform4ui64vNV")) - gpProgramUniform4uiEXT = (C.GPPROGRAMUNIFORM4UIEXT)(getProcAddr("glProgramUniform4uiEXT")) - gpProgramUniform4uiv = (C.GPPROGRAMUNIFORM4UIV)(getProcAddr("glProgramUniform4uiv")) - gpProgramUniform4uivEXT = (C.GPPROGRAMUNIFORM4UIVEXT)(getProcAddr("glProgramUniform4uivEXT")) - gpProgramUniformHandleui64ARB = (C.GPPROGRAMUNIFORMHANDLEUI64ARB)(getProcAddr("glProgramUniformHandleui64ARB")) - gpProgramUniformHandleui64NV = (C.GPPROGRAMUNIFORMHANDLEUI64NV)(getProcAddr("glProgramUniformHandleui64NV")) - gpProgramUniformHandleui64vARB = (C.GPPROGRAMUNIFORMHANDLEUI64VARB)(getProcAddr("glProgramUniformHandleui64vARB")) - gpProgramUniformHandleui64vNV = (C.GPPROGRAMUNIFORMHANDLEUI64VNV)(getProcAddr("glProgramUniformHandleui64vNV")) - gpProgramUniformMatrix2dv = (C.GPPROGRAMUNIFORMMATRIX2DV)(getProcAddr("glProgramUniformMatrix2dv")) - gpProgramUniformMatrix2dvEXT = (C.GPPROGRAMUNIFORMMATRIX2DVEXT)(getProcAddr("glProgramUniformMatrix2dvEXT")) - gpProgramUniformMatrix2fv = (C.GPPROGRAMUNIFORMMATRIX2FV)(getProcAddr("glProgramUniformMatrix2fv")) - gpProgramUniformMatrix2fvEXT = (C.GPPROGRAMUNIFORMMATRIX2FVEXT)(getProcAddr("glProgramUniformMatrix2fvEXT")) - gpProgramUniformMatrix2x3dv = (C.GPPROGRAMUNIFORMMATRIX2X3DV)(getProcAddr("glProgramUniformMatrix2x3dv")) - gpProgramUniformMatrix2x3dvEXT = (C.GPPROGRAMUNIFORMMATRIX2X3DVEXT)(getProcAddr("glProgramUniformMatrix2x3dvEXT")) - gpProgramUniformMatrix2x3fv = (C.GPPROGRAMUNIFORMMATRIX2X3FV)(getProcAddr("glProgramUniformMatrix2x3fv")) - gpProgramUniformMatrix2x3fvEXT = (C.GPPROGRAMUNIFORMMATRIX2X3FVEXT)(getProcAddr("glProgramUniformMatrix2x3fvEXT")) - gpProgramUniformMatrix2x4dv = (C.GPPROGRAMUNIFORMMATRIX2X4DV)(getProcAddr("glProgramUniformMatrix2x4dv")) - gpProgramUniformMatrix2x4dvEXT = (C.GPPROGRAMUNIFORMMATRIX2X4DVEXT)(getProcAddr("glProgramUniformMatrix2x4dvEXT")) - gpProgramUniformMatrix2x4fv = (C.GPPROGRAMUNIFORMMATRIX2X4FV)(getProcAddr("glProgramUniformMatrix2x4fv")) - gpProgramUniformMatrix2x4fvEXT = (C.GPPROGRAMUNIFORMMATRIX2X4FVEXT)(getProcAddr("glProgramUniformMatrix2x4fvEXT")) - gpProgramUniformMatrix3dv = (C.GPPROGRAMUNIFORMMATRIX3DV)(getProcAddr("glProgramUniformMatrix3dv")) - gpProgramUniformMatrix3dvEXT = (C.GPPROGRAMUNIFORMMATRIX3DVEXT)(getProcAddr("glProgramUniformMatrix3dvEXT")) - gpProgramUniformMatrix3fv = (C.GPPROGRAMUNIFORMMATRIX3FV)(getProcAddr("glProgramUniformMatrix3fv")) - gpProgramUniformMatrix3fvEXT = (C.GPPROGRAMUNIFORMMATRIX3FVEXT)(getProcAddr("glProgramUniformMatrix3fvEXT")) - gpProgramUniformMatrix3x2dv = (C.GPPROGRAMUNIFORMMATRIX3X2DV)(getProcAddr("glProgramUniformMatrix3x2dv")) - gpProgramUniformMatrix3x2dvEXT = (C.GPPROGRAMUNIFORMMATRIX3X2DVEXT)(getProcAddr("glProgramUniformMatrix3x2dvEXT")) - gpProgramUniformMatrix3x2fv = (C.GPPROGRAMUNIFORMMATRIX3X2FV)(getProcAddr("glProgramUniformMatrix3x2fv")) - gpProgramUniformMatrix3x2fvEXT = (C.GPPROGRAMUNIFORMMATRIX3X2FVEXT)(getProcAddr("glProgramUniformMatrix3x2fvEXT")) - gpProgramUniformMatrix3x4dv = (C.GPPROGRAMUNIFORMMATRIX3X4DV)(getProcAddr("glProgramUniformMatrix3x4dv")) - gpProgramUniformMatrix3x4dvEXT = (C.GPPROGRAMUNIFORMMATRIX3X4DVEXT)(getProcAddr("glProgramUniformMatrix3x4dvEXT")) - gpProgramUniformMatrix3x4fv = (C.GPPROGRAMUNIFORMMATRIX3X4FV)(getProcAddr("glProgramUniformMatrix3x4fv")) - gpProgramUniformMatrix3x4fvEXT = (C.GPPROGRAMUNIFORMMATRIX3X4FVEXT)(getProcAddr("glProgramUniformMatrix3x4fvEXT")) - gpProgramUniformMatrix4dv = (C.GPPROGRAMUNIFORMMATRIX4DV)(getProcAddr("glProgramUniformMatrix4dv")) - gpProgramUniformMatrix4dvEXT = (C.GPPROGRAMUNIFORMMATRIX4DVEXT)(getProcAddr("glProgramUniformMatrix4dvEXT")) - gpProgramUniformMatrix4fv = (C.GPPROGRAMUNIFORMMATRIX4FV)(getProcAddr("glProgramUniformMatrix4fv")) - gpProgramUniformMatrix4fvEXT = (C.GPPROGRAMUNIFORMMATRIX4FVEXT)(getProcAddr("glProgramUniformMatrix4fvEXT")) - gpProgramUniformMatrix4x2dv = (C.GPPROGRAMUNIFORMMATRIX4X2DV)(getProcAddr("glProgramUniformMatrix4x2dv")) - gpProgramUniformMatrix4x2dvEXT = (C.GPPROGRAMUNIFORMMATRIX4X2DVEXT)(getProcAddr("glProgramUniformMatrix4x2dvEXT")) - gpProgramUniformMatrix4x2fv = (C.GPPROGRAMUNIFORMMATRIX4X2FV)(getProcAddr("glProgramUniformMatrix4x2fv")) - gpProgramUniformMatrix4x2fvEXT = (C.GPPROGRAMUNIFORMMATRIX4X2FVEXT)(getProcAddr("glProgramUniformMatrix4x2fvEXT")) - gpProgramUniformMatrix4x3dv = (C.GPPROGRAMUNIFORMMATRIX4X3DV)(getProcAddr("glProgramUniformMatrix4x3dv")) - gpProgramUniformMatrix4x3dvEXT = (C.GPPROGRAMUNIFORMMATRIX4X3DVEXT)(getProcAddr("glProgramUniformMatrix4x3dvEXT")) - gpProgramUniformMatrix4x3fv = (C.GPPROGRAMUNIFORMMATRIX4X3FV)(getProcAddr("glProgramUniformMatrix4x3fv")) - gpProgramUniformMatrix4x3fvEXT = (C.GPPROGRAMUNIFORMMATRIX4X3FVEXT)(getProcAddr("glProgramUniformMatrix4x3fvEXT")) - gpProgramUniformui64NV = (C.GPPROGRAMUNIFORMUI64NV)(getProcAddr("glProgramUniformui64NV")) - gpProgramUniformui64vNV = (C.GPPROGRAMUNIFORMUI64VNV)(getProcAddr("glProgramUniformui64vNV")) - gpProgramVertexLimitNV = (C.GPPROGRAMVERTEXLIMITNV)(getProcAddr("glProgramVertexLimitNV")) - gpProvokingVertex = (C.GPPROVOKINGVERTEX)(getProcAddr("glProvokingVertex")) - gpProvokingVertexEXT = (C.GPPROVOKINGVERTEXEXT)(getProcAddr("glProvokingVertexEXT")) - gpPushAttrib = (C.GPPUSHATTRIB)(getProcAddr("glPushAttrib")) - if gpPushAttrib == nil { - return errors.New("glPushAttrib") - } - gpPushClientAttrib = (C.GPPUSHCLIENTATTRIB)(getProcAddr("glPushClientAttrib")) - if gpPushClientAttrib == nil { - return errors.New("glPushClientAttrib") - } - gpPushClientAttribDefaultEXT = (C.GPPUSHCLIENTATTRIBDEFAULTEXT)(getProcAddr("glPushClientAttribDefaultEXT")) - gpPushDebugGroup = (C.GPPUSHDEBUGGROUP)(getProcAddr("glPushDebugGroup")) - gpPushDebugGroupKHR = (C.GPPUSHDEBUGGROUPKHR)(getProcAddr("glPushDebugGroupKHR")) - gpPushGroupMarkerEXT = (C.GPPUSHGROUPMARKEREXT)(getProcAddr("glPushGroupMarkerEXT")) - gpPushMatrix = (C.GPPUSHMATRIX)(getProcAddr("glPushMatrix")) - if gpPushMatrix == nil { - return errors.New("glPushMatrix") - } - gpPushName = (C.GPPUSHNAME)(getProcAddr("glPushName")) - if gpPushName == nil { - return errors.New("glPushName") - } - gpQueryCounter = (C.GPQUERYCOUNTER)(getProcAddr("glQueryCounter")) - gpQueryMatrixxOES = (C.GPQUERYMATRIXXOES)(getProcAddr("glQueryMatrixxOES")) - gpQueryObjectParameteruiAMD = (C.GPQUERYOBJECTPARAMETERUIAMD)(getProcAddr("glQueryObjectParameteruiAMD")) - gpQueryResourceNV = (C.GPQUERYRESOURCENV)(getProcAddr("glQueryResourceNV")) - gpQueryResourceTagNV = (C.GPQUERYRESOURCETAGNV)(getProcAddr("glQueryResourceTagNV")) - gpRasterPos2d = (C.GPRASTERPOS2D)(getProcAddr("glRasterPos2d")) - if gpRasterPos2d == nil { - return errors.New("glRasterPos2d") - } - gpRasterPos2dv = (C.GPRASTERPOS2DV)(getProcAddr("glRasterPos2dv")) - if gpRasterPos2dv == nil { - return errors.New("glRasterPos2dv") - } - gpRasterPos2f = (C.GPRASTERPOS2F)(getProcAddr("glRasterPos2f")) - if gpRasterPos2f == nil { - return errors.New("glRasterPos2f") - } - gpRasterPos2fv = (C.GPRASTERPOS2FV)(getProcAddr("glRasterPos2fv")) - if gpRasterPos2fv == nil { - return errors.New("glRasterPos2fv") - } - gpRasterPos2i = (C.GPRASTERPOS2I)(getProcAddr("glRasterPos2i")) - if gpRasterPos2i == nil { - return errors.New("glRasterPos2i") - } - gpRasterPos2iv = (C.GPRASTERPOS2IV)(getProcAddr("glRasterPos2iv")) - if gpRasterPos2iv == nil { - return errors.New("glRasterPos2iv") - } - gpRasterPos2s = (C.GPRASTERPOS2S)(getProcAddr("glRasterPos2s")) - if gpRasterPos2s == nil { - return errors.New("glRasterPos2s") - } - gpRasterPos2sv = (C.GPRASTERPOS2SV)(getProcAddr("glRasterPos2sv")) - if gpRasterPos2sv == nil { - return errors.New("glRasterPos2sv") - } - gpRasterPos2xOES = (C.GPRASTERPOS2XOES)(getProcAddr("glRasterPos2xOES")) - gpRasterPos2xvOES = (C.GPRASTERPOS2XVOES)(getProcAddr("glRasterPos2xvOES")) - gpRasterPos3d = (C.GPRASTERPOS3D)(getProcAddr("glRasterPos3d")) - if gpRasterPos3d == nil { - return errors.New("glRasterPos3d") - } - gpRasterPos3dv = (C.GPRASTERPOS3DV)(getProcAddr("glRasterPos3dv")) - if gpRasterPos3dv == nil { - return errors.New("glRasterPos3dv") - } - gpRasterPos3f = (C.GPRASTERPOS3F)(getProcAddr("glRasterPos3f")) - if gpRasterPos3f == nil { - return errors.New("glRasterPos3f") - } - gpRasterPos3fv = (C.GPRASTERPOS3FV)(getProcAddr("glRasterPos3fv")) - if gpRasterPos3fv == nil { - return errors.New("glRasterPos3fv") - } - gpRasterPos3i = (C.GPRASTERPOS3I)(getProcAddr("glRasterPos3i")) - if gpRasterPos3i == nil { - return errors.New("glRasterPos3i") - } - gpRasterPos3iv = (C.GPRASTERPOS3IV)(getProcAddr("glRasterPos3iv")) - if gpRasterPos3iv == nil { - return errors.New("glRasterPos3iv") - } - gpRasterPos3s = (C.GPRASTERPOS3S)(getProcAddr("glRasterPos3s")) - if gpRasterPos3s == nil { - return errors.New("glRasterPos3s") - } - gpRasterPos3sv = (C.GPRASTERPOS3SV)(getProcAddr("glRasterPos3sv")) - if gpRasterPos3sv == nil { - return errors.New("glRasterPos3sv") - } - gpRasterPos3xOES = (C.GPRASTERPOS3XOES)(getProcAddr("glRasterPos3xOES")) - gpRasterPos3xvOES = (C.GPRASTERPOS3XVOES)(getProcAddr("glRasterPos3xvOES")) - gpRasterPos4d = (C.GPRASTERPOS4D)(getProcAddr("glRasterPos4d")) - if gpRasterPos4d == nil { - return errors.New("glRasterPos4d") - } - gpRasterPos4dv = (C.GPRASTERPOS4DV)(getProcAddr("glRasterPos4dv")) - if gpRasterPos4dv == nil { - return errors.New("glRasterPos4dv") - } - gpRasterPos4f = (C.GPRASTERPOS4F)(getProcAddr("glRasterPos4f")) - if gpRasterPos4f == nil { - return errors.New("glRasterPos4f") - } - gpRasterPos4fv = (C.GPRASTERPOS4FV)(getProcAddr("glRasterPos4fv")) - if gpRasterPos4fv == nil { - return errors.New("glRasterPos4fv") - } - gpRasterPos4i = (C.GPRASTERPOS4I)(getProcAddr("glRasterPos4i")) - if gpRasterPos4i == nil { - return errors.New("glRasterPos4i") - } - gpRasterPos4iv = (C.GPRASTERPOS4IV)(getProcAddr("glRasterPos4iv")) - if gpRasterPos4iv == nil { - return errors.New("glRasterPos4iv") - } - gpRasterPos4s = (C.GPRASTERPOS4S)(getProcAddr("glRasterPos4s")) - if gpRasterPos4s == nil { - return errors.New("glRasterPos4s") - } - gpRasterPos4sv = (C.GPRASTERPOS4SV)(getProcAddr("glRasterPos4sv")) - if gpRasterPos4sv == nil { - return errors.New("glRasterPos4sv") - } - gpRasterPos4xOES = (C.GPRASTERPOS4XOES)(getProcAddr("glRasterPos4xOES")) - gpRasterPos4xvOES = (C.GPRASTERPOS4XVOES)(getProcAddr("glRasterPos4xvOES")) - gpRasterSamplesEXT = (C.GPRASTERSAMPLESEXT)(getProcAddr("glRasterSamplesEXT")) - gpReadBuffer = (C.GPREADBUFFER)(getProcAddr("glReadBuffer")) - if gpReadBuffer == nil { - return errors.New("glReadBuffer") - } - gpReadInstrumentsSGIX = (C.GPREADINSTRUMENTSSGIX)(getProcAddr("glReadInstrumentsSGIX")) gpReadPixels = (C.GPREADPIXELS)(getProcAddr("glReadPixels")) if gpReadPixels == nil { return errors.New("glReadPixels") } - gpReadnPixels = (C.GPREADNPIXELS)(getProcAddr("glReadnPixels")) - gpReadnPixelsARB = (C.GPREADNPIXELSARB)(getProcAddr("glReadnPixelsARB")) - gpReadnPixelsKHR = (C.GPREADNPIXELSKHR)(getProcAddr("glReadnPixelsKHR")) - gpRectd = (C.GPRECTD)(getProcAddr("glRectd")) - if gpRectd == nil { - return errors.New("glRectd") - } - gpRectdv = (C.GPRECTDV)(getProcAddr("glRectdv")) - if gpRectdv == nil { - return errors.New("glRectdv") - } - gpRectf = (C.GPRECTF)(getProcAddr("glRectf")) - if gpRectf == nil { - return errors.New("glRectf") - } - gpRectfv = (C.GPRECTFV)(getProcAddr("glRectfv")) - if gpRectfv == nil { - return errors.New("glRectfv") - } - gpRecti = (C.GPRECTI)(getProcAddr("glRecti")) - if gpRecti == nil { - return errors.New("glRecti") - } - gpRectiv = (C.GPRECTIV)(getProcAddr("glRectiv")) - if gpRectiv == nil { - return errors.New("glRectiv") - } - gpRects = (C.GPRECTS)(getProcAddr("glRects")) - if gpRects == nil { - return errors.New("glRects") - } - gpRectsv = (C.GPRECTSV)(getProcAddr("glRectsv")) - if gpRectsv == nil { - return errors.New("glRectsv") - } - gpRectxOES = (C.GPRECTXOES)(getProcAddr("glRectxOES")) - gpRectxvOES = (C.GPRECTXVOES)(getProcAddr("glRectxvOES")) - gpReferencePlaneSGIX = (C.GPREFERENCEPLANESGIX)(getProcAddr("glReferencePlaneSGIX")) - gpReleaseKeyedMutexWin32EXT = (C.GPRELEASEKEYEDMUTEXWIN32EXT)(getProcAddr("glReleaseKeyedMutexWin32EXT")) - gpReleaseShaderCompiler = (C.GPRELEASESHADERCOMPILER)(getProcAddr("glReleaseShaderCompiler")) - gpRenderGpuMaskNV = (C.GPRENDERGPUMASKNV)(getProcAddr("glRenderGpuMaskNV")) - gpRenderMode = (C.GPRENDERMODE)(getProcAddr("glRenderMode")) - if gpRenderMode == nil { - return errors.New("glRenderMode") - } - gpRenderbufferStorage = (C.GPRENDERBUFFERSTORAGE)(getProcAddr("glRenderbufferStorage")) - gpRenderbufferStorageEXT = (C.GPRENDERBUFFERSTORAGEEXT)(getProcAddr("glRenderbufferStorageEXT")) - gpRenderbufferStorageMultisample = (C.GPRENDERBUFFERSTORAGEMULTISAMPLE)(getProcAddr("glRenderbufferStorageMultisample")) - gpRenderbufferStorageMultisampleCoverageNV = (C.GPRENDERBUFFERSTORAGEMULTISAMPLECOVERAGENV)(getProcAddr("glRenderbufferStorageMultisampleCoverageNV")) - gpRenderbufferStorageMultisampleEXT = (C.GPRENDERBUFFERSTORAGEMULTISAMPLEEXT)(getProcAddr("glRenderbufferStorageMultisampleEXT")) - gpReplacementCodePointerSUN = (C.GPREPLACEMENTCODEPOINTERSUN)(getProcAddr("glReplacementCodePointerSUN")) - gpReplacementCodeubSUN = (C.GPREPLACEMENTCODEUBSUN)(getProcAddr("glReplacementCodeubSUN")) - gpReplacementCodeubvSUN = (C.GPREPLACEMENTCODEUBVSUN)(getProcAddr("glReplacementCodeubvSUN")) - gpReplacementCodeuiColor3fVertex3fSUN = (C.GPREPLACEMENTCODEUICOLOR3FVERTEX3FSUN)(getProcAddr("glReplacementCodeuiColor3fVertex3fSUN")) - gpReplacementCodeuiColor3fVertex3fvSUN = (C.GPREPLACEMENTCODEUICOLOR3FVERTEX3FVSUN)(getProcAddr("glReplacementCodeuiColor3fVertex3fvSUN")) - gpReplacementCodeuiColor4fNormal3fVertex3fSUN = (C.GPREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUN)(getProcAddr("glReplacementCodeuiColor4fNormal3fVertex3fSUN")) - gpReplacementCodeuiColor4fNormal3fVertex3fvSUN = (C.GPREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUN)(getProcAddr("glReplacementCodeuiColor4fNormal3fVertex3fvSUN")) - gpReplacementCodeuiColor4ubVertex3fSUN = (C.GPREPLACEMENTCODEUICOLOR4UBVERTEX3FSUN)(getProcAddr("glReplacementCodeuiColor4ubVertex3fSUN")) - gpReplacementCodeuiColor4ubVertex3fvSUN = (C.GPREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUN)(getProcAddr("glReplacementCodeuiColor4ubVertex3fvSUN")) - gpReplacementCodeuiNormal3fVertex3fSUN = (C.GPREPLACEMENTCODEUINORMAL3FVERTEX3FSUN)(getProcAddr("glReplacementCodeuiNormal3fVertex3fSUN")) - gpReplacementCodeuiNormal3fVertex3fvSUN = (C.GPREPLACEMENTCODEUINORMAL3FVERTEX3FVSUN)(getProcAddr("glReplacementCodeuiNormal3fVertex3fvSUN")) - gpReplacementCodeuiSUN = (C.GPREPLACEMENTCODEUISUN)(getProcAddr("glReplacementCodeuiSUN")) - gpReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN = (C.GPREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUN)(getProcAddr("glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN")) - gpReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN = (C.GPREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUN)(getProcAddr("glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN")) - gpReplacementCodeuiTexCoord2fNormal3fVertex3fSUN = (C.GPREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUN)(getProcAddr("glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN")) - gpReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN = (C.GPREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUN)(getProcAddr("glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN")) - gpReplacementCodeuiTexCoord2fVertex3fSUN = (C.GPREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUN)(getProcAddr("glReplacementCodeuiTexCoord2fVertex3fSUN")) - gpReplacementCodeuiTexCoord2fVertex3fvSUN = (C.GPREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUN)(getProcAddr("glReplacementCodeuiTexCoord2fVertex3fvSUN")) - gpReplacementCodeuiVertex3fSUN = (C.GPREPLACEMENTCODEUIVERTEX3FSUN)(getProcAddr("glReplacementCodeuiVertex3fSUN")) - gpReplacementCodeuiVertex3fvSUN = (C.GPREPLACEMENTCODEUIVERTEX3FVSUN)(getProcAddr("glReplacementCodeuiVertex3fvSUN")) - gpReplacementCodeuivSUN = (C.GPREPLACEMENTCODEUIVSUN)(getProcAddr("glReplacementCodeuivSUN")) - gpReplacementCodeusSUN = (C.GPREPLACEMENTCODEUSSUN)(getProcAddr("glReplacementCodeusSUN")) - gpReplacementCodeusvSUN = (C.GPREPLACEMENTCODEUSVSUN)(getProcAddr("glReplacementCodeusvSUN")) - gpRequestResidentProgramsNV = (C.GPREQUESTRESIDENTPROGRAMSNV)(getProcAddr("glRequestResidentProgramsNV")) - gpResetHistogramEXT = (C.GPRESETHISTOGRAMEXT)(getProcAddr("glResetHistogramEXT")) - gpResetMinmaxEXT = (C.GPRESETMINMAXEXT)(getProcAddr("glResetMinmaxEXT")) - gpResizeBuffersMESA = (C.GPRESIZEBUFFERSMESA)(getProcAddr("glResizeBuffersMESA")) - gpResolveDepthValuesNV = (C.GPRESOLVEDEPTHVALUESNV)(getProcAddr("glResolveDepthValuesNV")) - gpResumeTransformFeedback = (C.GPRESUMETRANSFORMFEEDBACK)(getProcAddr("glResumeTransformFeedback")) - gpResumeTransformFeedbackNV = (C.GPRESUMETRANSFORMFEEDBACKNV)(getProcAddr("glResumeTransformFeedbackNV")) - gpRotated = (C.GPROTATED)(getProcAddr("glRotated")) - if gpRotated == nil { - return errors.New("glRotated") - } - gpRotatef = (C.GPROTATEF)(getProcAddr("glRotatef")) - if gpRotatef == nil { - return errors.New("glRotatef") - } - gpRotatexOES = (C.GPROTATEXOES)(getProcAddr("glRotatexOES")) - gpSampleCoverage = (C.GPSAMPLECOVERAGE)(getProcAddr("glSampleCoverage")) - if gpSampleCoverage == nil { - return errors.New("glSampleCoverage") - } - gpSampleCoverageARB = (C.GPSAMPLECOVERAGEARB)(getProcAddr("glSampleCoverageARB")) - gpSampleCoveragexOES = (C.GPSAMPLECOVERAGEXOES)(getProcAddr("glSampleCoveragexOES")) - gpSampleMapATI = (C.GPSAMPLEMAPATI)(getProcAddr("glSampleMapATI")) - gpSampleMaskEXT = (C.GPSAMPLEMASKEXT)(getProcAddr("glSampleMaskEXT")) - gpSampleMaskIndexedNV = (C.GPSAMPLEMASKINDEXEDNV)(getProcAddr("glSampleMaskIndexedNV")) - gpSampleMaskSGIS = (C.GPSAMPLEMASKSGIS)(getProcAddr("glSampleMaskSGIS")) - gpSampleMaski = (C.GPSAMPLEMASKI)(getProcAddr("glSampleMaski")) - gpSamplePatternEXT = (C.GPSAMPLEPATTERNEXT)(getProcAddr("glSamplePatternEXT")) - gpSamplePatternSGIS = (C.GPSAMPLEPATTERNSGIS)(getProcAddr("glSamplePatternSGIS")) - gpSamplerParameterIiv = (C.GPSAMPLERPARAMETERIIV)(getProcAddr("glSamplerParameterIiv")) - gpSamplerParameterIuiv = (C.GPSAMPLERPARAMETERIUIV)(getProcAddr("glSamplerParameterIuiv")) - gpSamplerParameterf = (C.GPSAMPLERPARAMETERF)(getProcAddr("glSamplerParameterf")) - gpSamplerParameterfv = (C.GPSAMPLERPARAMETERFV)(getProcAddr("glSamplerParameterfv")) - gpSamplerParameteri = (C.GPSAMPLERPARAMETERI)(getProcAddr("glSamplerParameteri")) - gpSamplerParameteriv = (C.GPSAMPLERPARAMETERIV)(getProcAddr("glSamplerParameteriv")) - gpScaled = (C.GPSCALED)(getProcAddr("glScaled")) - if gpScaled == nil { - return errors.New("glScaled") - } - gpScalef = (C.GPSCALEF)(getProcAddr("glScalef")) - if gpScalef == nil { - return errors.New("glScalef") - } - gpScalexOES = (C.GPSCALEXOES)(getProcAddr("glScalexOES")) - gpScissor = (C.GPSCISSOR)(getProcAddr("glScissor")) - if gpScissor == nil { - return errors.New("glScissor") - } - gpScissorArrayv = (C.GPSCISSORARRAYV)(getProcAddr("glScissorArrayv")) - gpScissorIndexed = (C.GPSCISSORINDEXED)(getProcAddr("glScissorIndexed")) - gpScissorIndexedv = (C.GPSCISSORINDEXEDV)(getProcAddr("glScissorIndexedv")) - gpSecondaryColor3b = (C.GPSECONDARYCOLOR3B)(getProcAddr("glSecondaryColor3b")) - if gpSecondaryColor3b == nil { - return errors.New("glSecondaryColor3b") - } - gpSecondaryColor3bEXT = (C.GPSECONDARYCOLOR3BEXT)(getProcAddr("glSecondaryColor3bEXT")) - gpSecondaryColor3bv = (C.GPSECONDARYCOLOR3BV)(getProcAddr("glSecondaryColor3bv")) - if gpSecondaryColor3bv == nil { - return errors.New("glSecondaryColor3bv") - } - gpSecondaryColor3bvEXT = (C.GPSECONDARYCOLOR3BVEXT)(getProcAddr("glSecondaryColor3bvEXT")) - gpSecondaryColor3d = (C.GPSECONDARYCOLOR3D)(getProcAddr("glSecondaryColor3d")) - if gpSecondaryColor3d == nil { - return errors.New("glSecondaryColor3d") - } - gpSecondaryColor3dEXT = (C.GPSECONDARYCOLOR3DEXT)(getProcAddr("glSecondaryColor3dEXT")) - gpSecondaryColor3dv = (C.GPSECONDARYCOLOR3DV)(getProcAddr("glSecondaryColor3dv")) - if gpSecondaryColor3dv == nil { - return errors.New("glSecondaryColor3dv") - } - gpSecondaryColor3dvEXT = (C.GPSECONDARYCOLOR3DVEXT)(getProcAddr("glSecondaryColor3dvEXT")) - gpSecondaryColor3f = (C.GPSECONDARYCOLOR3F)(getProcAddr("glSecondaryColor3f")) - if gpSecondaryColor3f == nil { - return errors.New("glSecondaryColor3f") - } - gpSecondaryColor3fEXT = (C.GPSECONDARYCOLOR3FEXT)(getProcAddr("glSecondaryColor3fEXT")) - gpSecondaryColor3fv = (C.GPSECONDARYCOLOR3FV)(getProcAddr("glSecondaryColor3fv")) - if gpSecondaryColor3fv == nil { - return errors.New("glSecondaryColor3fv") - } - gpSecondaryColor3fvEXT = (C.GPSECONDARYCOLOR3FVEXT)(getProcAddr("glSecondaryColor3fvEXT")) - gpSecondaryColor3hNV = (C.GPSECONDARYCOLOR3HNV)(getProcAddr("glSecondaryColor3hNV")) - gpSecondaryColor3hvNV = (C.GPSECONDARYCOLOR3HVNV)(getProcAddr("glSecondaryColor3hvNV")) - gpSecondaryColor3i = (C.GPSECONDARYCOLOR3I)(getProcAddr("glSecondaryColor3i")) - if gpSecondaryColor3i == nil { - return errors.New("glSecondaryColor3i") - } - gpSecondaryColor3iEXT = (C.GPSECONDARYCOLOR3IEXT)(getProcAddr("glSecondaryColor3iEXT")) - gpSecondaryColor3iv = (C.GPSECONDARYCOLOR3IV)(getProcAddr("glSecondaryColor3iv")) - if gpSecondaryColor3iv == nil { - return errors.New("glSecondaryColor3iv") - } - gpSecondaryColor3ivEXT = (C.GPSECONDARYCOLOR3IVEXT)(getProcAddr("glSecondaryColor3ivEXT")) - gpSecondaryColor3s = (C.GPSECONDARYCOLOR3S)(getProcAddr("glSecondaryColor3s")) - if gpSecondaryColor3s == nil { - return errors.New("glSecondaryColor3s") - } - gpSecondaryColor3sEXT = (C.GPSECONDARYCOLOR3SEXT)(getProcAddr("glSecondaryColor3sEXT")) - gpSecondaryColor3sv = (C.GPSECONDARYCOLOR3SV)(getProcAddr("glSecondaryColor3sv")) - if gpSecondaryColor3sv == nil { - return errors.New("glSecondaryColor3sv") - } - gpSecondaryColor3svEXT = (C.GPSECONDARYCOLOR3SVEXT)(getProcAddr("glSecondaryColor3svEXT")) - gpSecondaryColor3ub = (C.GPSECONDARYCOLOR3UB)(getProcAddr("glSecondaryColor3ub")) - if gpSecondaryColor3ub == nil { - return errors.New("glSecondaryColor3ub") - } - gpSecondaryColor3ubEXT = (C.GPSECONDARYCOLOR3UBEXT)(getProcAddr("glSecondaryColor3ubEXT")) - gpSecondaryColor3ubv = (C.GPSECONDARYCOLOR3UBV)(getProcAddr("glSecondaryColor3ubv")) - if gpSecondaryColor3ubv == nil { - return errors.New("glSecondaryColor3ubv") - } - gpSecondaryColor3ubvEXT = (C.GPSECONDARYCOLOR3UBVEXT)(getProcAddr("glSecondaryColor3ubvEXT")) - gpSecondaryColor3ui = (C.GPSECONDARYCOLOR3UI)(getProcAddr("glSecondaryColor3ui")) - if gpSecondaryColor3ui == nil { - return errors.New("glSecondaryColor3ui") - } - gpSecondaryColor3uiEXT = (C.GPSECONDARYCOLOR3UIEXT)(getProcAddr("glSecondaryColor3uiEXT")) - gpSecondaryColor3uiv = (C.GPSECONDARYCOLOR3UIV)(getProcAddr("glSecondaryColor3uiv")) - if gpSecondaryColor3uiv == nil { - return errors.New("glSecondaryColor3uiv") - } - gpSecondaryColor3uivEXT = (C.GPSECONDARYCOLOR3UIVEXT)(getProcAddr("glSecondaryColor3uivEXT")) - gpSecondaryColor3us = (C.GPSECONDARYCOLOR3US)(getProcAddr("glSecondaryColor3us")) - if gpSecondaryColor3us == nil { - return errors.New("glSecondaryColor3us") - } - gpSecondaryColor3usEXT = (C.GPSECONDARYCOLOR3USEXT)(getProcAddr("glSecondaryColor3usEXT")) - gpSecondaryColor3usv = (C.GPSECONDARYCOLOR3USV)(getProcAddr("glSecondaryColor3usv")) - if gpSecondaryColor3usv == nil { - return errors.New("glSecondaryColor3usv") - } - gpSecondaryColor3usvEXT = (C.GPSECONDARYCOLOR3USVEXT)(getProcAddr("glSecondaryColor3usvEXT")) - gpSecondaryColorFormatNV = (C.GPSECONDARYCOLORFORMATNV)(getProcAddr("glSecondaryColorFormatNV")) - gpSecondaryColorPointer = (C.GPSECONDARYCOLORPOINTER)(getProcAddr("glSecondaryColorPointer")) - if gpSecondaryColorPointer == nil { - return errors.New("glSecondaryColorPointer") - } - gpSecondaryColorPointerEXT = (C.GPSECONDARYCOLORPOINTEREXT)(getProcAddr("glSecondaryColorPointerEXT")) - gpSecondaryColorPointerListIBM = (C.GPSECONDARYCOLORPOINTERLISTIBM)(getProcAddr("glSecondaryColorPointerListIBM")) - gpSelectBuffer = (C.GPSELECTBUFFER)(getProcAddr("glSelectBuffer")) - if gpSelectBuffer == nil { - return errors.New("glSelectBuffer") - } - gpSelectPerfMonitorCountersAMD = (C.GPSELECTPERFMONITORCOUNTERSAMD)(getProcAddr("glSelectPerfMonitorCountersAMD")) - gpSemaphoreParameterui64vEXT = (C.GPSEMAPHOREPARAMETERUI64VEXT)(getProcAddr("glSemaphoreParameterui64vEXT")) - gpSeparableFilter2DEXT = (C.GPSEPARABLEFILTER2DEXT)(getProcAddr("glSeparableFilter2DEXT")) - gpSetFenceAPPLE = (C.GPSETFENCEAPPLE)(getProcAddr("glSetFenceAPPLE")) - gpSetFenceNV = (C.GPSETFENCENV)(getProcAddr("glSetFenceNV")) - gpSetFragmentShaderConstantATI = (C.GPSETFRAGMENTSHADERCONSTANTATI)(getProcAddr("glSetFragmentShaderConstantATI")) - gpSetInvariantEXT = (C.GPSETINVARIANTEXT)(getProcAddr("glSetInvariantEXT")) - gpSetLocalConstantEXT = (C.GPSETLOCALCONSTANTEXT)(getProcAddr("glSetLocalConstantEXT")) - gpSetMultisamplefvAMD = (C.GPSETMULTISAMPLEFVAMD)(getProcAddr("glSetMultisamplefvAMD")) - gpShadeModel = (C.GPSHADEMODEL)(getProcAddr("glShadeModel")) - if gpShadeModel == nil { - return errors.New("glShadeModel") - } - gpShaderBinary = (C.GPSHADERBINARY)(getProcAddr("glShaderBinary")) - gpShaderOp1EXT = (C.GPSHADEROP1EXT)(getProcAddr("glShaderOp1EXT")) - gpShaderOp2EXT = (C.GPSHADEROP2EXT)(getProcAddr("glShaderOp2EXT")) - gpShaderOp3EXT = (C.GPSHADEROP3EXT)(getProcAddr("glShaderOp3EXT")) gpShaderSource = (C.GPSHADERSOURCE)(getProcAddr("glShaderSource")) if gpShaderSource == nil { return errors.New("glShaderSource") } - gpShaderSourceARB = (C.GPSHADERSOURCEARB)(getProcAddr("glShaderSourceARB")) - gpShaderStorageBlockBinding = (C.GPSHADERSTORAGEBLOCKBINDING)(getProcAddr("glShaderStorageBlockBinding")) - gpSharpenTexFuncSGIS = (C.GPSHARPENTEXFUNCSGIS)(getProcAddr("glSharpenTexFuncSGIS")) - gpSignalSemaphoreEXT = (C.GPSIGNALSEMAPHOREEXT)(getProcAddr("glSignalSemaphoreEXT")) - gpSignalVkFenceNV = (C.GPSIGNALVKFENCENV)(getProcAddr("glSignalVkFenceNV")) - gpSignalVkSemaphoreNV = (C.GPSIGNALVKSEMAPHORENV)(getProcAddr("glSignalVkSemaphoreNV")) - gpSpecializeShaderARB = (C.GPSPECIALIZESHADERARB)(getProcAddr("glSpecializeShaderARB")) - gpSpriteParameterfSGIX = (C.GPSPRITEPARAMETERFSGIX)(getProcAddr("glSpriteParameterfSGIX")) - gpSpriteParameterfvSGIX = (C.GPSPRITEPARAMETERFVSGIX)(getProcAddr("glSpriteParameterfvSGIX")) - gpSpriteParameteriSGIX = (C.GPSPRITEPARAMETERISGIX)(getProcAddr("glSpriteParameteriSGIX")) - gpSpriteParameterivSGIX = (C.GPSPRITEPARAMETERIVSGIX)(getProcAddr("glSpriteParameterivSGIX")) - gpStartInstrumentsSGIX = (C.GPSTARTINSTRUMENTSSGIX)(getProcAddr("glStartInstrumentsSGIX")) - gpStateCaptureNV = (C.GPSTATECAPTURENV)(getProcAddr("glStateCaptureNV")) - gpStencilClearTagEXT = (C.GPSTENCILCLEARTAGEXT)(getProcAddr("glStencilClearTagEXT")) - gpStencilFillPathInstancedNV = (C.GPSTENCILFILLPATHINSTANCEDNV)(getProcAddr("glStencilFillPathInstancedNV")) - gpStencilFillPathNV = (C.GPSTENCILFILLPATHNV)(getProcAddr("glStencilFillPathNV")) - gpStencilFunc = (C.GPSTENCILFUNC)(getProcAddr("glStencilFunc")) - if gpStencilFunc == nil { - return errors.New("glStencilFunc") - } - gpStencilFuncSeparate = (C.GPSTENCILFUNCSEPARATE)(getProcAddr("glStencilFuncSeparate")) - if gpStencilFuncSeparate == nil { - return errors.New("glStencilFuncSeparate") - } - gpStencilFuncSeparateATI = (C.GPSTENCILFUNCSEPARATEATI)(getProcAddr("glStencilFuncSeparateATI")) - gpStencilMask = (C.GPSTENCILMASK)(getProcAddr("glStencilMask")) - if gpStencilMask == nil { - return errors.New("glStencilMask") - } - gpStencilMaskSeparate = (C.GPSTENCILMASKSEPARATE)(getProcAddr("glStencilMaskSeparate")) - if gpStencilMaskSeparate == nil { - return errors.New("glStencilMaskSeparate") - } - gpStencilOp = (C.GPSTENCILOP)(getProcAddr("glStencilOp")) - if gpStencilOp == nil { - return errors.New("glStencilOp") - } - gpStencilOpSeparate = (C.GPSTENCILOPSEPARATE)(getProcAddr("glStencilOpSeparate")) - if gpStencilOpSeparate == nil { - return errors.New("glStencilOpSeparate") - } - gpStencilOpSeparateATI = (C.GPSTENCILOPSEPARATEATI)(getProcAddr("glStencilOpSeparateATI")) - gpStencilOpValueAMD = (C.GPSTENCILOPVALUEAMD)(getProcAddr("glStencilOpValueAMD")) - gpStencilStrokePathInstancedNV = (C.GPSTENCILSTROKEPATHINSTANCEDNV)(getProcAddr("glStencilStrokePathInstancedNV")) - gpStencilStrokePathNV = (C.GPSTENCILSTROKEPATHNV)(getProcAddr("glStencilStrokePathNV")) - gpStencilThenCoverFillPathInstancedNV = (C.GPSTENCILTHENCOVERFILLPATHINSTANCEDNV)(getProcAddr("glStencilThenCoverFillPathInstancedNV")) - gpStencilThenCoverFillPathNV = (C.GPSTENCILTHENCOVERFILLPATHNV)(getProcAddr("glStencilThenCoverFillPathNV")) - gpStencilThenCoverStrokePathInstancedNV = (C.GPSTENCILTHENCOVERSTROKEPATHINSTANCEDNV)(getProcAddr("glStencilThenCoverStrokePathInstancedNV")) - gpStencilThenCoverStrokePathNV = (C.GPSTENCILTHENCOVERSTROKEPATHNV)(getProcAddr("glStencilThenCoverStrokePathNV")) - gpStopInstrumentsSGIX = (C.GPSTOPINSTRUMENTSSGIX)(getProcAddr("glStopInstrumentsSGIX")) - gpStringMarkerGREMEDY = (C.GPSTRINGMARKERGREMEDY)(getProcAddr("glStringMarkerGREMEDY")) - gpSubpixelPrecisionBiasNV = (C.GPSUBPIXELPRECISIONBIASNV)(getProcAddr("glSubpixelPrecisionBiasNV")) - gpSwizzleEXT = (C.GPSWIZZLEEXT)(getProcAddr("glSwizzleEXT")) - gpSyncTextureINTEL = (C.GPSYNCTEXTUREINTEL)(getProcAddr("glSyncTextureINTEL")) - gpTagSampleBufferSGIX = (C.GPTAGSAMPLEBUFFERSGIX)(getProcAddr("glTagSampleBufferSGIX")) - gpTangent3bEXT = (C.GPTANGENT3BEXT)(getProcAddr("glTangent3bEXT")) - gpTangent3bvEXT = (C.GPTANGENT3BVEXT)(getProcAddr("glTangent3bvEXT")) - gpTangent3dEXT = (C.GPTANGENT3DEXT)(getProcAddr("glTangent3dEXT")) - gpTangent3dvEXT = (C.GPTANGENT3DVEXT)(getProcAddr("glTangent3dvEXT")) - gpTangent3fEXT = (C.GPTANGENT3FEXT)(getProcAddr("glTangent3fEXT")) - gpTangent3fvEXT = (C.GPTANGENT3FVEXT)(getProcAddr("glTangent3fvEXT")) - gpTangent3iEXT = (C.GPTANGENT3IEXT)(getProcAddr("glTangent3iEXT")) - gpTangent3ivEXT = (C.GPTANGENT3IVEXT)(getProcAddr("glTangent3ivEXT")) - gpTangent3sEXT = (C.GPTANGENT3SEXT)(getProcAddr("glTangent3sEXT")) - gpTangent3svEXT = (C.GPTANGENT3SVEXT)(getProcAddr("glTangent3svEXT")) - gpTangentPointerEXT = (C.GPTANGENTPOINTEREXT)(getProcAddr("glTangentPointerEXT")) - gpTbufferMask3DFX = (C.GPTBUFFERMASK3DFX)(getProcAddr("glTbufferMask3DFX")) - gpTessellationFactorAMD = (C.GPTESSELLATIONFACTORAMD)(getProcAddr("glTessellationFactorAMD")) - gpTessellationModeAMD = (C.GPTESSELLATIONMODEAMD)(getProcAddr("glTessellationModeAMD")) - gpTestFenceAPPLE = (C.GPTESTFENCEAPPLE)(getProcAddr("glTestFenceAPPLE")) - gpTestFenceNV = (C.GPTESTFENCENV)(getProcAddr("glTestFenceNV")) - gpTestObjectAPPLE = (C.GPTESTOBJECTAPPLE)(getProcAddr("glTestObjectAPPLE")) - gpTexBufferARB = (C.GPTEXBUFFERARB)(getProcAddr("glTexBufferARB")) - gpTexBufferEXT = (C.GPTEXBUFFEREXT)(getProcAddr("glTexBufferEXT")) - gpTexBufferRange = (C.GPTEXBUFFERRANGE)(getProcAddr("glTexBufferRange")) - gpTexBumpParameterfvATI = (C.GPTEXBUMPPARAMETERFVATI)(getProcAddr("glTexBumpParameterfvATI")) - gpTexBumpParameterivATI = (C.GPTEXBUMPPARAMETERIVATI)(getProcAddr("glTexBumpParameterivATI")) - gpTexCoord1bOES = (C.GPTEXCOORD1BOES)(getProcAddr("glTexCoord1bOES")) - gpTexCoord1bvOES = (C.GPTEXCOORD1BVOES)(getProcAddr("glTexCoord1bvOES")) - gpTexCoord1d = (C.GPTEXCOORD1D)(getProcAddr("glTexCoord1d")) - if gpTexCoord1d == nil { - return errors.New("glTexCoord1d") - } - gpTexCoord1dv = (C.GPTEXCOORD1DV)(getProcAddr("glTexCoord1dv")) - if gpTexCoord1dv == nil { - return errors.New("glTexCoord1dv") - } - gpTexCoord1f = (C.GPTEXCOORD1F)(getProcAddr("glTexCoord1f")) - if gpTexCoord1f == nil { - return errors.New("glTexCoord1f") - } - gpTexCoord1fv = (C.GPTEXCOORD1FV)(getProcAddr("glTexCoord1fv")) - if gpTexCoord1fv == nil { - return errors.New("glTexCoord1fv") - } - gpTexCoord1hNV = (C.GPTEXCOORD1HNV)(getProcAddr("glTexCoord1hNV")) - gpTexCoord1hvNV = (C.GPTEXCOORD1HVNV)(getProcAddr("glTexCoord1hvNV")) - gpTexCoord1i = (C.GPTEXCOORD1I)(getProcAddr("glTexCoord1i")) - if gpTexCoord1i == nil { - return errors.New("glTexCoord1i") - } - gpTexCoord1iv = (C.GPTEXCOORD1IV)(getProcAddr("glTexCoord1iv")) - if gpTexCoord1iv == nil { - return errors.New("glTexCoord1iv") - } - gpTexCoord1s = (C.GPTEXCOORD1S)(getProcAddr("glTexCoord1s")) - if gpTexCoord1s == nil { - return errors.New("glTexCoord1s") - } - gpTexCoord1sv = (C.GPTEXCOORD1SV)(getProcAddr("glTexCoord1sv")) - if gpTexCoord1sv == nil { - return errors.New("glTexCoord1sv") - } - gpTexCoord1xOES = (C.GPTEXCOORD1XOES)(getProcAddr("glTexCoord1xOES")) - gpTexCoord1xvOES = (C.GPTEXCOORD1XVOES)(getProcAddr("glTexCoord1xvOES")) - gpTexCoord2bOES = (C.GPTEXCOORD2BOES)(getProcAddr("glTexCoord2bOES")) - gpTexCoord2bvOES = (C.GPTEXCOORD2BVOES)(getProcAddr("glTexCoord2bvOES")) - gpTexCoord2d = (C.GPTEXCOORD2D)(getProcAddr("glTexCoord2d")) - if gpTexCoord2d == nil { - return errors.New("glTexCoord2d") - } - gpTexCoord2dv = (C.GPTEXCOORD2DV)(getProcAddr("glTexCoord2dv")) - if gpTexCoord2dv == nil { - return errors.New("glTexCoord2dv") - } - gpTexCoord2f = (C.GPTEXCOORD2F)(getProcAddr("glTexCoord2f")) - if gpTexCoord2f == nil { - return errors.New("glTexCoord2f") - } - gpTexCoord2fColor3fVertex3fSUN = (C.GPTEXCOORD2FCOLOR3FVERTEX3FSUN)(getProcAddr("glTexCoord2fColor3fVertex3fSUN")) - gpTexCoord2fColor3fVertex3fvSUN = (C.GPTEXCOORD2FCOLOR3FVERTEX3FVSUN)(getProcAddr("glTexCoord2fColor3fVertex3fvSUN")) - gpTexCoord2fColor4fNormal3fVertex3fSUN = (C.GPTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUN)(getProcAddr("glTexCoord2fColor4fNormal3fVertex3fSUN")) - gpTexCoord2fColor4fNormal3fVertex3fvSUN = (C.GPTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUN)(getProcAddr("glTexCoord2fColor4fNormal3fVertex3fvSUN")) - gpTexCoord2fColor4ubVertex3fSUN = (C.GPTEXCOORD2FCOLOR4UBVERTEX3FSUN)(getProcAddr("glTexCoord2fColor4ubVertex3fSUN")) - gpTexCoord2fColor4ubVertex3fvSUN = (C.GPTEXCOORD2FCOLOR4UBVERTEX3FVSUN)(getProcAddr("glTexCoord2fColor4ubVertex3fvSUN")) - gpTexCoord2fNormal3fVertex3fSUN = (C.GPTEXCOORD2FNORMAL3FVERTEX3FSUN)(getProcAddr("glTexCoord2fNormal3fVertex3fSUN")) - gpTexCoord2fNormal3fVertex3fvSUN = (C.GPTEXCOORD2FNORMAL3FVERTEX3FVSUN)(getProcAddr("glTexCoord2fNormal3fVertex3fvSUN")) - gpTexCoord2fVertex3fSUN = (C.GPTEXCOORD2FVERTEX3FSUN)(getProcAddr("glTexCoord2fVertex3fSUN")) - gpTexCoord2fVertex3fvSUN = (C.GPTEXCOORD2FVERTEX3FVSUN)(getProcAddr("glTexCoord2fVertex3fvSUN")) - gpTexCoord2fv = (C.GPTEXCOORD2FV)(getProcAddr("glTexCoord2fv")) - if gpTexCoord2fv == nil { - return errors.New("glTexCoord2fv") - } - gpTexCoord2hNV = (C.GPTEXCOORD2HNV)(getProcAddr("glTexCoord2hNV")) - gpTexCoord2hvNV = (C.GPTEXCOORD2HVNV)(getProcAddr("glTexCoord2hvNV")) - gpTexCoord2i = (C.GPTEXCOORD2I)(getProcAddr("glTexCoord2i")) - if gpTexCoord2i == nil { - return errors.New("glTexCoord2i") - } - gpTexCoord2iv = (C.GPTEXCOORD2IV)(getProcAddr("glTexCoord2iv")) - if gpTexCoord2iv == nil { - return errors.New("glTexCoord2iv") - } - gpTexCoord2s = (C.GPTEXCOORD2S)(getProcAddr("glTexCoord2s")) - if gpTexCoord2s == nil { - return errors.New("glTexCoord2s") - } - gpTexCoord2sv = (C.GPTEXCOORD2SV)(getProcAddr("glTexCoord2sv")) - if gpTexCoord2sv == nil { - return errors.New("glTexCoord2sv") - } - gpTexCoord2xOES = (C.GPTEXCOORD2XOES)(getProcAddr("glTexCoord2xOES")) - gpTexCoord2xvOES = (C.GPTEXCOORD2XVOES)(getProcAddr("glTexCoord2xvOES")) - gpTexCoord3bOES = (C.GPTEXCOORD3BOES)(getProcAddr("glTexCoord3bOES")) - gpTexCoord3bvOES = (C.GPTEXCOORD3BVOES)(getProcAddr("glTexCoord3bvOES")) - gpTexCoord3d = (C.GPTEXCOORD3D)(getProcAddr("glTexCoord3d")) - if gpTexCoord3d == nil { - return errors.New("glTexCoord3d") - } - gpTexCoord3dv = (C.GPTEXCOORD3DV)(getProcAddr("glTexCoord3dv")) - if gpTexCoord3dv == nil { - return errors.New("glTexCoord3dv") - } - gpTexCoord3f = (C.GPTEXCOORD3F)(getProcAddr("glTexCoord3f")) - if gpTexCoord3f == nil { - return errors.New("glTexCoord3f") - } - gpTexCoord3fv = (C.GPTEXCOORD3FV)(getProcAddr("glTexCoord3fv")) - if gpTexCoord3fv == nil { - return errors.New("glTexCoord3fv") - } - gpTexCoord3hNV = (C.GPTEXCOORD3HNV)(getProcAddr("glTexCoord3hNV")) - gpTexCoord3hvNV = (C.GPTEXCOORD3HVNV)(getProcAddr("glTexCoord3hvNV")) - gpTexCoord3i = (C.GPTEXCOORD3I)(getProcAddr("glTexCoord3i")) - if gpTexCoord3i == nil { - return errors.New("glTexCoord3i") - } - gpTexCoord3iv = (C.GPTEXCOORD3IV)(getProcAddr("glTexCoord3iv")) - if gpTexCoord3iv == nil { - return errors.New("glTexCoord3iv") - } - gpTexCoord3s = (C.GPTEXCOORD3S)(getProcAddr("glTexCoord3s")) - if gpTexCoord3s == nil { - return errors.New("glTexCoord3s") - } - gpTexCoord3sv = (C.GPTEXCOORD3SV)(getProcAddr("glTexCoord3sv")) - if gpTexCoord3sv == nil { - return errors.New("glTexCoord3sv") - } - gpTexCoord3xOES = (C.GPTEXCOORD3XOES)(getProcAddr("glTexCoord3xOES")) - gpTexCoord3xvOES = (C.GPTEXCOORD3XVOES)(getProcAddr("glTexCoord3xvOES")) - gpTexCoord4bOES = (C.GPTEXCOORD4BOES)(getProcAddr("glTexCoord4bOES")) - gpTexCoord4bvOES = (C.GPTEXCOORD4BVOES)(getProcAddr("glTexCoord4bvOES")) - gpTexCoord4d = (C.GPTEXCOORD4D)(getProcAddr("glTexCoord4d")) - if gpTexCoord4d == nil { - return errors.New("glTexCoord4d") - } - gpTexCoord4dv = (C.GPTEXCOORD4DV)(getProcAddr("glTexCoord4dv")) - if gpTexCoord4dv == nil { - return errors.New("glTexCoord4dv") - } - gpTexCoord4f = (C.GPTEXCOORD4F)(getProcAddr("glTexCoord4f")) - if gpTexCoord4f == nil { - return errors.New("glTexCoord4f") - } - gpTexCoord4fColor4fNormal3fVertex4fSUN = (C.GPTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUN)(getProcAddr("glTexCoord4fColor4fNormal3fVertex4fSUN")) - gpTexCoord4fColor4fNormal3fVertex4fvSUN = (C.GPTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUN)(getProcAddr("glTexCoord4fColor4fNormal3fVertex4fvSUN")) - gpTexCoord4fVertex4fSUN = (C.GPTEXCOORD4FVERTEX4FSUN)(getProcAddr("glTexCoord4fVertex4fSUN")) - gpTexCoord4fVertex4fvSUN = (C.GPTEXCOORD4FVERTEX4FVSUN)(getProcAddr("glTexCoord4fVertex4fvSUN")) - gpTexCoord4fv = (C.GPTEXCOORD4FV)(getProcAddr("glTexCoord4fv")) - if gpTexCoord4fv == nil { - return errors.New("glTexCoord4fv") - } - gpTexCoord4hNV = (C.GPTEXCOORD4HNV)(getProcAddr("glTexCoord4hNV")) - gpTexCoord4hvNV = (C.GPTEXCOORD4HVNV)(getProcAddr("glTexCoord4hvNV")) - gpTexCoord4i = (C.GPTEXCOORD4I)(getProcAddr("glTexCoord4i")) - if gpTexCoord4i == nil { - return errors.New("glTexCoord4i") - } - gpTexCoord4iv = (C.GPTEXCOORD4IV)(getProcAddr("glTexCoord4iv")) - if gpTexCoord4iv == nil { - return errors.New("glTexCoord4iv") - } - gpTexCoord4s = (C.GPTEXCOORD4S)(getProcAddr("glTexCoord4s")) - if gpTexCoord4s == nil { - return errors.New("glTexCoord4s") - } - gpTexCoord4sv = (C.GPTEXCOORD4SV)(getProcAddr("glTexCoord4sv")) - if gpTexCoord4sv == nil { - return errors.New("glTexCoord4sv") - } - gpTexCoord4xOES = (C.GPTEXCOORD4XOES)(getProcAddr("glTexCoord4xOES")) - gpTexCoord4xvOES = (C.GPTEXCOORD4XVOES)(getProcAddr("glTexCoord4xvOES")) - gpTexCoordFormatNV = (C.GPTEXCOORDFORMATNV)(getProcAddr("glTexCoordFormatNV")) - gpTexCoordPointer = (C.GPTEXCOORDPOINTER)(getProcAddr("glTexCoordPointer")) - if gpTexCoordPointer == nil { - return errors.New("glTexCoordPointer") - } - gpTexCoordPointerEXT = (C.GPTEXCOORDPOINTEREXT)(getProcAddr("glTexCoordPointerEXT")) - gpTexCoordPointerListIBM = (C.GPTEXCOORDPOINTERLISTIBM)(getProcAddr("glTexCoordPointerListIBM")) - gpTexCoordPointervINTEL = (C.GPTEXCOORDPOINTERVINTEL)(getProcAddr("glTexCoordPointervINTEL")) - gpTexEnvf = (C.GPTEXENVF)(getProcAddr("glTexEnvf")) - if gpTexEnvf == nil { - return errors.New("glTexEnvf") - } - gpTexEnvfv = (C.GPTEXENVFV)(getProcAddr("glTexEnvfv")) - if gpTexEnvfv == nil { - return errors.New("glTexEnvfv") - } - gpTexEnvi = (C.GPTEXENVI)(getProcAddr("glTexEnvi")) - if gpTexEnvi == nil { - return errors.New("glTexEnvi") - } - gpTexEnviv = (C.GPTEXENVIV)(getProcAddr("glTexEnviv")) - if gpTexEnviv == nil { - return errors.New("glTexEnviv") - } - gpTexEnvxOES = (C.GPTEXENVXOES)(getProcAddr("glTexEnvxOES")) - gpTexEnvxvOES = (C.GPTEXENVXVOES)(getProcAddr("glTexEnvxvOES")) - gpTexFilterFuncSGIS = (C.GPTEXFILTERFUNCSGIS)(getProcAddr("glTexFilterFuncSGIS")) - gpTexGend = (C.GPTEXGEND)(getProcAddr("glTexGend")) - if gpTexGend == nil { - return errors.New("glTexGend") - } - gpTexGendv = (C.GPTEXGENDV)(getProcAddr("glTexGendv")) - if gpTexGendv == nil { - return errors.New("glTexGendv") - } - gpTexGenf = (C.GPTEXGENF)(getProcAddr("glTexGenf")) - if gpTexGenf == nil { - return errors.New("glTexGenf") - } - gpTexGenfv = (C.GPTEXGENFV)(getProcAddr("glTexGenfv")) - if gpTexGenfv == nil { - return errors.New("glTexGenfv") - } - gpTexGeni = (C.GPTEXGENI)(getProcAddr("glTexGeni")) - if gpTexGeni == nil { - return errors.New("glTexGeni") - } - gpTexGeniv = (C.GPTEXGENIV)(getProcAddr("glTexGeniv")) - if gpTexGeniv == nil { - return errors.New("glTexGeniv") - } - gpTexGenxOES = (C.GPTEXGENXOES)(getProcAddr("glTexGenxOES")) - gpTexGenxvOES = (C.GPTEXGENXVOES)(getProcAddr("glTexGenxvOES")) - gpTexImage1D = (C.GPTEXIMAGE1D)(getProcAddr("glTexImage1D")) - if gpTexImage1D == nil { - return errors.New("glTexImage1D") - } gpTexImage2D = (C.GPTEXIMAGE2D)(getProcAddr("glTexImage2D")) if gpTexImage2D == nil { return errors.New("glTexImage2D") } - gpTexImage2DMultisample = (C.GPTEXIMAGE2DMULTISAMPLE)(getProcAddr("glTexImage2DMultisample")) - gpTexImage2DMultisampleCoverageNV = (C.GPTEXIMAGE2DMULTISAMPLECOVERAGENV)(getProcAddr("glTexImage2DMultisampleCoverageNV")) - gpTexImage3D = (C.GPTEXIMAGE3D)(getProcAddr("glTexImage3D")) - if gpTexImage3D == nil { - return errors.New("glTexImage3D") - } - gpTexImage3DEXT = (C.GPTEXIMAGE3DEXT)(getProcAddr("glTexImage3DEXT")) - gpTexImage3DMultisample = (C.GPTEXIMAGE3DMULTISAMPLE)(getProcAddr("glTexImage3DMultisample")) - gpTexImage3DMultisampleCoverageNV = (C.GPTEXIMAGE3DMULTISAMPLECOVERAGENV)(getProcAddr("glTexImage3DMultisampleCoverageNV")) - gpTexImage4DSGIS = (C.GPTEXIMAGE4DSGIS)(getProcAddr("glTexImage4DSGIS")) - gpTexPageCommitmentARB = (C.GPTEXPAGECOMMITMENTARB)(getProcAddr("glTexPageCommitmentARB")) - gpTexParameterIivEXT = (C.GPTEXPARAMETERIIVEXT)(getProcAddr("glTexParameterIivEXT")) - gpTexParameterIuivEXT = (C.GPTEXPARAMETERIUIVEXT)(getProcAddr("glTexParameterIuivEXT")) - gpTexParameterf = (C.GPTEXPARAMETERF)(getProcAddr("glTexParameterf")) - if gpTexParameterf == nil { - return errors.New("glTexParameterf") - } - gpTexParameterfv = (C.GPTEXPARAMETERFV)(getProcAddr("glTexParameterfv")) - if gpTexParameterfv == nil { - return errors.New("glTexParameterfv") - } gpTexParameteri = (C.GPTEXPARAMETERI)(getProcAddr("glTexParameteri")) if gpTexParameteri == nil { return errors.New("glTexParameteri") } - gpTexParameteriv = (C.GPTEXPARAMETERIV)(getProcAddr("glTexParameteriv")) - if gpTexParameteriv == nil { - return errors.New("glTexParameteriv") - } - gpTexParameterxOES = (C.GPTEXPARAMETERXOES)(getProcAddr("glTexParameterxOES")) - gpTexParameterxvOES = (C.GPTEXPARAMETERXVOES)(getProcAddr("glTexParameterxvOES")) - gpTexRenderbufferNV = (C.GPTEXRENDERBUFFERNV)(getProcAddr("glTexRenderbufferNV")) - gpTexStorage1D = (C.GPTEXSTORAGE1D)(getProcAddr("glTexStorage1D")) - gpTexStorage2D = (C.GPTEXSTORAGE2D)(getProcAddr("glTexStorage2D")) - gpTexStorage2DMultisample = (C.GPTEXSTORAGE2DMULTISAMPLE)(getProcAddr("glTexStorage2DMultisample")) - gpTexStorage3D = (C.GPTEXSTORAGE3D)(getProcAddr("glTexStorage3D")) - gpTexStorage3DMultisample = (C.GPTEXSTORAGE3DMULTISAMPLE)(getProcAddr("glTexStorage3DMultisample")) - gpTexStorageMem1DEXT = (C.GPTEXSTORAGEMEM1DEXT)(getProcAddr("glTexStorageMem1DEXT")) - gpTexStorageMem2DEXT = (C.GPTEXSTORAGEMEM2DEXT)(getProcAddr("glTexStorageMem2DEXT")) - gpTexStorageMem2DMultisampleEXT = (C.GPTEXSTORAGEMEM2DMULTISAMPLEEXT)(getProcAddr("glTexStorageMem2DMultisampleEXT")) - gpTexStorageMem3DEXT = (C.GPTEXSTORAGEMEM3DEXT)(getProcAddr("glTexStorageMem3DEXT")) - gpTexStorageMem3DMultisampleEXT = (C.GPTEXSTORAGEMEM3DMULTISAMPLEEXT)(getProcAddr("glTexStorageMem3DMultisampleEXT")) - gpTexStorageSparseAMD = (C.GPTEXSTORAGESPARSEAMD)(getProcAddr("glTexStorageSparseAMD")) - gpTexSubImage1D = (C.GPTEXSUBIMAGE1D)(getProcAddr("glTexSubImage1D")) - if gpTexSubImage1D == nil { - return errors.New("glTexSubImage1D") - } - gpTexSubImage1DEXT = (C.GPTEXSUBIMAGE1DEXT)(getProcAddr("glTexSubImage1DEXT")) gpTexSubImage2D = (C.GPTEXSUBIMAGE2D)(getProcAddr("glTexSubImage2D")) if gpTexSubImage2D == nil { return errors.New("glTexSubImage2D") } - gpTexSubImage2DEXT = (C.GPTEXSUBIMAGE2DEXT)(getProcAddr("glTexSubImage2DEXT")) - gpTexSubImage3D = (C.GPTEXSUBIMAGE3D)(getProcAddr("glTexSubImage3D")) - if gpTexSubImage3D == nil { - return errors.New("glTexSubImage3D") - } - gpTexSubImage3DEXT = (C.GPTEXSUBIMAGE3DEXT)(getProcAddr("glTexSubImage3DEXT")) - gpTexSubImage4DSGIS = (C.GPTEXSUBIMAGE4DSGIS)(getProcAddr("glTexSubImage4DSGIS")) - gpTextureBarrier = (C.GPTEXTUREBARRIER)(getProcAddr("glTextureBarrier")) - gpTextureBarrierNV = (C.GPTEXTUREBARRIERNV)(getProcAddr("glTextureBarrierNV")) - gpTextureBuffer = (C.GPTEXTUREBUFFER)(getProcAddr("glTextureBuffer")) - gpTextureBufferEXT = (C.GPTEXTUREBUFFEREXT)(getProcAddr("glTextureBufferEXT")) - gpTextureBufferRange = (C.GPTEXTUREBUFFERRANGE)(getProcAddr("glTextureBufferRange")) - gpTextureBufferRangeEXT = (C.GPTEXTUREBUFFERRANGEEXT)(getProcAddr("glTextureBufferRangeEXT")) - gpTextureColorMaskSGIS = (C.GPTEXTURECOLORMASKSGIS)(getProcAddr("glTextureColorMaskSGIS")) - gpTextureImage1DEXT = (C.GPTEXTUREIMAGE1DEXT)(getProcAddr("glTextureImage1DEXT")) - gpTextureImage2DEXT = (C.GPTEXTUREIMAGE2DEXT)(getProcAddr("glTextureImage2DEXT")) - gpTextureImage2DMultisampleCoverageNV = (C.GPTEXTUREIMAGE2DMULTISAMPLECOVERAGENV)(getProcAddr("glTextureImage2DMultisampleCoverageNV")) - gpTextureImage2DMultisampleNV = (C.GPTEXTUREIMAGE2DMULTISAMPLENV)(getProcAddr("glTextureImage2DMultisampleNV")) - gpTextureImage3DEXT = (C.GPTEXTUREIMAGE3DEXT)(getProcAddr("glTextureImage3DEXT")) - gpTextureImage3DMultisampleCoverageNV = (C.GPTEXTUREIMAGE3DMULTISAMPLECOVERAGENV)(getProcAddr("glTextureImage3DMultisampleCoverageNV")) - gpTextureImage3DMultisampleNV = (C.GPTEXTUREIMAGE3DMULTISAMPLENV)(getProcAddr("glTextureImage3DMultisampleNV")) - gpTextureLightEXT = (C.GPTEXTURELIGHTEXT)(getProcAddr("glTextureLightEXT")) - gpTextureMaterialEXT = (C.GPTEXTUREMATERIALEXT)(getProcAddr("glTextureMaterialEXT")) - gpTextureNormalEXT = (C.GPTEXTURENORMALEXT)(getProcAddr("glTextureNormalEXT")) - gpTexturePageCommitmentEXT = (C.GPTEXTUREPAGECOMMITMENTEXT)(getProcAddr("glTexturePageCommitmentEXT")) - gpTextureParameterIiv = (C.GPTEXTUREPARAMETERIIV)(getProcAddr("glTextureParameterIiv")) - gpTextureParameterIivEXT = (C.GPTEXTUREPARAMETERIIVEXT)(getProcAddr("glTextureParameterIivEXT")) - gpTextureParameterIuiv = (C.GPTEXTUREPARAMETERIUIV)(getProcAddr("glTextureParameterIuiv")) - gpTextureParameterIuivEXT = (C.GPTEXTUREPARAMETERIUIVEXT)(getProcAddr("glTextureParameterIuivEXT")) - gpTextureParameterf = (C.GPTEXTUREPARAMETERF)(getProcAddr("glTextureParameterf")) - gpTextureParameterfEXT = (C.GPTEXTUREPARAMETERFEXT)(getProcAddr("glTextureParameterfEXT")) - gpTextureParameterfv = (C.GPTEXTUREPARAMETERFV)(getProcAddr("glTextureParameterfv")) - gpTextureParameterfvEXT = (C.GPTEXTUREPARAMETERFVEXT)(getProcAddr("glTextureParameterfvEXT")) - gpTextureParameteri = (C.GPTEXTUREPARAMETERI)(getProcAddr("glTextureParameteri")) - gpTextureParameteriEXT = (C.GPTEXTUREPARAMETERIEXT)(getProcAddr("glTextureParameteriEXT")) - gpTextureParameteriv = (C.GPTEXTUREPARAMETERIV)(getProcAddr("glTextureParameteriv")) - gpTextureParameterivEXT = (C.GPTEXTUREPARAMETERIVEXT)(getProcAddr("glTextureParameterivEXT")) - gpTextureRangeAPPLE = (C.GPTEXTURERANGEAPPLE)(getProcAddr("glTextureRangeAPPLE")) - gpTextureRenderbufferEXT = (C.GPTEXTURERENDERBUFFEREXT)(getProcAddr("glTextureRenderbufferEXT")) - gpTextureStorage1D = (C.GPTEXTURESTORAGE1D)(getProcAddr("glTextureStorage1D")) - gpTextureStorage1DEXT = (C.GPTEXTURESTORAGE1DEXT)(getProcAddr("glTextureStorage1DEXT")) - gpTextureStorage2D = (C.GPTEXTURESTORAGE2D)(getProcAddr("glTextureStorage2D")) - gpTextureStorage2DEXT = (C.GPTEXTURESTORAGE2DEXT)(getProcAddr("glTextureStorage2DEXT")) - gpTextureStorage2DMultisample = (C.GPTEXTURESTORAGE2DMULTISAMPLE)(getProcAddr("glTextureStorage2DMultisample")) - gpTextureStorage2DMultisampleEXT = (C.GPTEXTURESTORAGE2DMULTISAMPLEEXT)(getProcAddr("glTextureStorage2DMultisampleEXT")) - gpTextureStorage3D = (C.GPTEXTURESTORAGE3D)(getProcAddr("glTextureStorage3D")) - gpTextureStorage3DEXT = (C.GPTEXTURESTORAGE3DEXT)(getProcAddr("glTextureStorage3DEXT")) - gpTextureStorage3DMultisample = (C.GPTEXTURESTORAGE3DMULTISAMPLE)(getProcAddr("glTextureStorage3DMultisample")) - gpTextureStorage3DMultisampleEXT = (C.GPTEXTURESTORAGE3DMULTISAMPLEEXT)(getProcAddr("glTextureStorage3DMultisampleEXT")) - gpTextureStorageMem1DEXT = (C.GPTEXTURESTORAGEMEM1DEXT)(getProcAddr("glTextureStorageMem1DEXT")) - gpTextureStorageMem2DEXT = (C.GPTEXTURESTORAGEMEM2DEXT)(getProcAddr("glTextureStorageMem2DEXT")) - gpTextureStorageMem2DMultisampleEXT = (C.GPTEXTURESTORAGEMEM2DMULTISAMPLEEXT)(getProcAddr("glTextureStorageMem2DMultisampleEXT")) - gpTextureStorageMem3DEXT = (C.GPTEXTURESTORAGEMEM3DEXT)(getProcAddr("glTextureStorageMem3DEXT")) - gpTextureStorageMem3DMultisampleEXT = (C.GPTEXTURESTORAGEMEM3DMULTISAMPLEEXT)(getProcAddr("glTextureStorageMem3DMultisampleEXT")) - gpTextureStorageSparseAMD = (C.GPTEXTURESTORAGESPARSEAMD)(getProcAddr("glTextureStorageSparseAMD")) - gpTextureSubImage1D = (C.GPTEXTURESUBIMAGE1D)(getProcAddr("glTextureSubImage1D")) - gpTextureSubImage1DEXT = (C.GPTEXTURESUBIMAGE1DEXT)(getProcAddr("glTextureSubImage1DEXT")) - gpTextureSubImage2D = (C.GPTEXTURESUBIMAGE2D)(getProcAddr("glTextureSubImage2D")) - gpTextureSubImage2DEXT = (C.GPTEXTURESUBIMAGE2DEXT)(getProcAddr("glTextureSubImage2DEXT")) - gpTextureSubImage3D = (C.GPTEXTURESUBIMAGE3D)(getProcAddr("glTextureSubImage3D")) - gpTextureSubImage3DEXT = (C.GPTEXTURESUBIMAGE3DEXT)(getProcAddr("glTextureSubImage3DEXT")) - gpTextureView = (C.GPTEXTUREVIEW)(getProcAddr("glTextureView")) - gpTrackMatrixNV = (C.GPTRACKMATRIXNV)(getProcAddr("glTrackMatrixNV")) - gpTransformFeedbackAttribsNV = (C.GPTRANSFORMFEEDBACKATTRIBSNV)(getProcAddr("glTransformFeedbackAttribsNV")) - gpTransformFeedbackBufferBase = (C.GPTRANSFORMFEEDBACKBUFFERBASE)(getProcAddr("glTransformFeedbackBufferBase")) - gpTransformFeedbackBufferRange = (C.GPTRANSFORMFEEDBACKBUFFERRANGE)(getProcAddr("glTransformFeedbackBufferRange")) - gpTransformFeedbackStreamAttribsNV = (C.GPTRANSFORMFEEDBACKSTREAMATTRIBSNV)(getProcAddr("glTransformFeedbackStreamAttribsNV")) - gpTransformFeedbackVaryingsEXT = (C.GPTRANSFORMFEEDBACKVARYINGSEXT)(getProcAddr("glTransformFeedbackVaryingsEXT")) - gpTransformFeedbackVaryingsNV = (C.GPTRANSFORMFEEDBACKVARYINGSNV)(getProcAddr("glTransformFeedbackVaryingsNV")) - gpTransformPathNV = (C.GPTRANSFORMPATHNV)(getProcAddr("glTransformPathNV")) - gpTranslated = (C.GPTRANSLATED)(getProcAddr("glTranslated")) - if gpTranslated == nil { - return errors.New("glTranslated") - } - gpTranslatef = (C.GPTRANSLATEF)(getProcAddr("glTranslatef")) - if gpTranslatef == nil { - return errors.New("glTranslatef") - } - gpTranslatexOES = (C.GPTRANSLATEXOES)(getProcAddr("glTranslatexOES")) - gpUniform1d = (C.GPUNIFORM1D)(getProcAddr("glUniform1d")) - gpUniform1dv = (C.GPUNIFORM1DV)(getProcAddr("glUniform1dv")) gpUniform1f = (C.GPUNIFORM1F)(getProcAddr("glUniform1f")) if gpUniform1f == nil { return errors.New("glUniform1f") } - gpUniform1fARB = (C.GPUNIFORM1FARB)(getProcAddr("glUniform1fARB")) - gpUniform1fv = (C.GPUNIFORM1FV)(getProcAddr("glUniform1fv")) - if gpUniform1fv == nil { - return errors.New("glUniform1fv") - } - gpUniform1fvARB = (C.GPUNIFORM1FVARB)(getProcAddr("glUniform1fvARB")) gpUniform1i = (C.GPUNIFORM1I)(getProcAddr("glUniform1i")) if gpUniform1i == nil { return errors.New("glUniform1i") } - gpUniform1i64ARB = (C.GPUNIFORM1I64ARB)(getProcAddr("glUniform1i64ARB")) - gpUniform1i64NV = (C.GPUNIFORM1I64NV)(getProcAddr("glUniform1i64NV")) - gpUniform1i64vARB = (C.GPUNIFORM1I64VARB)(getProcAddr("glUniform1i64vARB")) - gpUniform1i64vNV = (C.GPUNIFORM1I64VNV)(getProcAddr("glUniform1i64vNV")) - gpUniform1iARB = (C.GPUNIFORM1IARB)(getProcAddr("glUniform1iARB")) - gpUniform1iv = (C.GPUNIFORM1IV)(getProcAddr("glUniform1iv")) - if gpUniform1iv == nil { - return errors.New("glUniform1iv") - } - gpUniform1ivARB = (C.GPUNIFORM1IVARB)(getProcAddr("glUniform1ivARB")) - gpUniform1ui64ARB = (C.GPUNIFORM1UI64ARB)(getProcAddr("glUniform1ui64ARB")) - gpUniform1ui64NV = (C.GPUNIFORM1UI64NV)(getProcAddr("glUniform1ui64NV")) - gpUniform1ui64vARB = (C.GPUNIFORM1UI64VARB)(getProcAddr("glUniform1ui64vARB")) - gpUniform1ui64vNV = (C.GPUNIFORM1UI64VNV)(getProcAddr("glUniform1ui64vNV")) - gpUniform1uiEXT = (C.GPUNIFORM1UIEXT)(getProcAddr("glUniform1uiEXT")) - gpUniform1uivEXT = (C.GPUNIFORM1UIVEXT)(getProcAddr("glUniform1uivEXT")) - gpUniform2d = (C.GPUNIFORM2D)(getProcAddr("glUniform2d")) - gpUniform2dv = (C.GPUNIFORM2DV)(getProcAddr("glUniform2dv")) - gpUniform2f = (C.GPUNIFORM2F)(getProcAddr("glUniform2f")) - if gpUniform2f == nil { - return errors.New("glUniform2f") - } - gpUniform2fARB = (C.GPUNIFORM2FARB)(getProcAddr("glUniform2fARB")) gpUniform2fv = (C.GPUNIFORM2FV)(getProcAddr("glUniform2fv")) if gpUniform2fv == nil { return errors.New("glUniform2fv") } - gpUniform2fvARB = (C.GPUNIFORM2FVARB)(getProcAddr("glUniform2fvARB")) - gpUniform2i = (C.GPUNIFORM2I)(getProcAddr("glUniform2i")) - if gpUniform2i == nil { - return errors.New("glUniform2i") - } - gpUniform2i64ARB = (C.GPUNIFORM2I64ARB)(getProcAddr("glUniform2i64ARB")) - gpUniform2i64NV = (C.GPUNIFORM2I64NV)(getProcAddr("glUniform2i64NV")) - gpUniform2i64vARB = (C.GPUNIFORM2I64VARB)(getProcAddr("glUniform2i64vARB")) - gpUniform2i64vNV = (C.GPUNIFORM2I64VNV)(getProcAddr("glUniform2i64vNV")) - gpUniform2iARB = (C.GPUNIFORM2IARB)(getProcAddr("glUniform2iARB")) - gpUniform2iv = (C.GPUNIFORM2IV)(getProcAddr("glUniform2iv")) - if gpUniform2iv == nil { - return errors.New("glUniform2iv") - } - gpUniform2ivARB = (C.GPUNIFORM2IVARB)(getProcAddr("glUniform2ivARB")) - gpUniform2ui64ARB = (C.GPUNIFORM2UI64ARB)(getProcAddr("glUniform2ui64ARB")) - gpUniform2ui64NV = (C.GPUNIFORM2UI64NV)(getProcAddr("glUniform2ui64NV")) - gpUniform2ui64vARB = (C.GPUNIFORM2UI64VARB)(getProcAddr("glUniform2ui64vARB")) - gpUniform2ui64vNV = (C.GPUNIFORM2UI64VNV)(getProcAddr("glUniform2ui64vNV")) - gpUniform2uiEXT = (C.GPUNIFORM2UIEXT)(getProcAddr("glUniform2uiEXT")) - gpUniform2uivEXT = (C.GPUNIFORM2UIVEXT)(getProcAddr("glUniform2uivEXT")) - gpUniform3d = (C.GPUNIFORM3D)(getProcAddr("glUniform3d")) - gpUniform3dv = (C.GPUNIFORM3DV)(getProcAddr("glUniform3dv")) - gpUniform3f = (C.GPUNIFORM3F)(getProcAddr("glUniform3f")) - if gpUniform3f == nil { - return errors.New("glUniform3f") - } - gpUniform3fARB = (C.GPUNIFORM3FARB)(getProcAddr("glUniform3fARB")) - gpUniform3fv = (C.GPUNIFORM3FV)(getProcAddr("glUniform3fv")) - if gpUniform3fv == nil { - return errors.New("glUniform3fv") - } - gpUniform3fvARB = (C.GPUNIFORM3FVARB)(getProcAddr("glUniform3fvARB")) - gpUniform3i = (C.GPUNIFORM3I)(getProcAddr("glUniform3i")) - if gpUniform3i == nil { - return errors.New("glUniform3i") - } - gpUniform3i64ARB = (C.GPUNIFORM3I64ARB)(getProcAddr("glUniform3i64ARB")) - gpUniform3i64NV = (C.GPUNIFORM3I64NV)(getProcAddr("glUniform3i64NV")) - gpUniform3i64vARB = (C.GPUNIFORM3I64VARB)(getProcAddr("glUniform3i64vARB")) - gpUniform3i64vNV = (C.GPUNIFORM3I64VNV)(getProcAddr("glUniform3i64vNV")) - gpUniform3iARB = (C.GPUNIFORM3IARB)(getProcAddr("glUniform3iARB")) - gpUniform3iv = (C.GPUNIFORM3IV)(getProcAddr("glUniform3iv")) - if gpUniform3iv == nil { - return errors.New("glUniform3iv") - } - gpUniform3ivARB = (C.GPUNIFORM3IVARB)(getProcAddr("glUniform3ivARB")) - gpUniform3ui64ARB = (C.GPUNIFORM3UI64ARB)(getProcAddr("glUniform3ui64ARB")) - gpUniform3ui64NV = (C.GPUNIFORM3UI64NV)(getProcAddr("glUniform3ui64NV")) - gpUniform3ui64vARB = (C.GPUNIFORM3UI64VARB)(getProcAddr("glUniform3ui64vARB")) - gpUniform3ui64vNV = (C.GPUNIFORM3UI64VNV)(getProcAddr("glUniform3ui64vNV")) - gpUniform3uiEXT = (C.GPUNIFORM3UIEXT)(getProcAddr("glUniform3uiEXT")) - gpUniform3uivEXT = (C.GPUNIFORM3UIVEXT)(getProcAddr("glUniform3uivEXT")) - gpUniform4d = (C.GPUNIFORM4D)(getProcAddr("glUniform4d")) - gpUniform4dv = (C.GPUNIFORM4DV)(getProcAddr("glUniform4dv")) - gpUniform4f = (C.GPUNIFORM4F)(getProcAddr("glUniform4f")) - if gpUniform4f == nil { - return errors.New("glUniform4f") - } - gpUniform4fARB = (C.GPUNIFORM4FARB)(getProcAddr("glUniform4fARB")) gpUniform4fv = (C.GPUNIFORM4FV)(getProcAddr("glUniform4fv")) if gpUniform4fv == nil { return errors.New("glUniform4fv") } - gpUniform4fvARB = (C.GPUNIFORM4FVARB)(getProcAddr("glUniform4fvARB")) - gpUniform4i = (C.GPUNIFORM4I)(getProcAddr("glUniform4i")) - if gpUniform4i == nil { - return errors.New("glUniform4i") - } - gpUniform4i64ARB = (C.GPUNIFORM4I64ARB)(getProcAddr("glUniform4i64ARB")) - gpUniform4i64NV = (C.GPUNIFORM4I64NV)(getProcAddr("glUniform4i64NV")) - gpUniform4i64vARB = (C.GPUNIFORM4I64VARB)(getProcAddr("glUniform4i64vARB")) - gpUniform4i64vNV = (C.GPUNIFORM4I64VNV)(getProcAddr("glUniform4i64vNV")) - gpUniform4iARB = (C.GPUNIFORM4IARB)(getProcAddr("glUniform4iARB")) - gpUniform4iv = (C.GPUNIFORM4IV)(getProcAddr("glUniform4iv")) - if gpUniform4iv == nil { - return errors.New("glUniform4iv") - } - gpUniform4ivARB = (C.GPUNIFORM4IVARB)(getProcAddr("glUniform4ivARB")) - gpUniform4ui64ARB = (C.GPUNIFORM4UI64ARB)(getProcAddr("glUniform4ui64ARB")) - gpUniform4ui64NV = (C.GPUNIFORM4UI64NV)(getProcAddr("glUniform4ui64NV")) - gpUniform4ui64vARB = (C.GPUNIFORM4UI64VARB)(getProcAddr("glUniform4ui64vARB")) - gpUniform4ui64vNV = (C.GPUNIFORM4UI64VNV)(getProcAddr("glUniform4ui64vNV")) - gpUniform4uiEXT = (C.GPUNIFORM4UIEXT)(getProcAddr("glUniform4uiEXT")) - gpUniform4uivEXT = (C.GPUNIFORM4UIVEXT)(getProcAddr("glUniform4uivEXT")) - gpUniformBlockBinding = (C.GPUNIFORMBLOCKBINDING)(getProcAddr("glUniformBlockBinding")) - gpUniformBufferEXT = (C.GPUNIFORMBUFFEREXT)(getProcAddr("glUniformBufferEXT")) - gpUniformHandleui64ARB = (C.GPUNIFORMHANDLEUI64ARB)(getProcAddr("glUniformHandleui64ARB")) - gpUniformHandleui64NV = (C.GPUNIFORMHANDLEUI64NV)(getProcAddr("glUniformHandleui64NV")) - gpUniformHandleui64vARB = (C.GPUNIFORMHANDLEUI64VARB)(getProcAddr("glUniformHandleui64vARB")) - gpUniformHandleui64vNV = (C.GPUNIFORMHANDLEUI64VNV)(getProcAddr("glUniformHandleui64vNV")) - gpUniformMatrix2dv = (C.GPUNIFORMMATRIX2DV)(getProcAddr("glUniformMatrix2dv")) - gpUniformMatrix2fv = (C.GPUNIFORMMATRIX2FV)(getProcAddr("glUniformMatrix2fv")) - if gpUniformMatrix2fv == nil { - return errors.New("glUniformMatrix2fv") - } - gpUniformMatrix2fvARB = (C.GPUNIFORMMATRIX2FVARB)(getProcAddr("glUniformMatrix2fvARB")) - gpUniformMatrix2x3dv = (C.GPUNIFORMMATRIX2X3DV)(getProcAddr("glUniformMatrix2x3dv")) - gpUniformMatrix2x3fv = (C.GPUNIFORMMATRIX2X3FV)(getProcAddr("glUniformMatrix2x3fv")) - if gpUniformMatrix2x3fv == nil { - return errors.New("glUniformMatrix2x3fv") - } - gpUniformMatrix2x4dv = (C.GPUNIFORMMATRIX2X4DV)(getProcAddr("glUniformMatrix2x4dv")) - gpUniformMatrix2x4fv = (C.GPUNIFORMMATRIX2X4FV)(getProcAddr("glUniformMatrix2x4fv")) - if gpUniformMatrix2x4fv == nil { - return errors.New("glUniformMatrix2x4fv") - } - gpUniformMatrix3dv = (C.GPUNIFORMMATRIX3DV)(getProcAddr("glUniformMatrix3dv")) - gpUniformMatrix3fv = (C.GPUNIFORMMATRIX3FV)(getProcAddr("glUniformMatrix3fv")) - if gpUniformMatrix3fv == nil { - return errors.New("glUniformMatrix3fv") - } - gpUniformMatrix3fvARB = (C.GPUNIFORMMATRIX3FVARB)(getProcAddr("glUniformMatrix3fvARB")) - gpUniformMatrix3x2dv = (C.GPUNIFORMMATRIX3X2DV)(getProcAddr("glUniformMatrix3x2dv")) - gpUniformMatrix3x2fv = (C.GPUNIFORMMATRIX3X2FV)(getProcAddr("glUniformMatrix3x2fv")) - if gpUniformMatrix3x2fv == nil { - return errors.New("glUniformMatrix3x2fv") - } - gpUniformMatrix3x4dv = (C.GPUNIFORMMATRIX3X4DV)(getProcAddr("glUniformMatrix3x4dv")) - gpUniformMatrix3x4fv = (C.GPUNIFORMMATRIX3X4FV)(getProcAddr("glUniformMatrix3x4fv")) - if gpUniformMatrix3x4fv == nil { - return errors.New("glUniformMatrix3x4fv") - } - gpUniformMatrix4dv = (C.GPUNIFORMMATRIX4DV)(getProcAddr("glUniformMatrix4dv")) gpUniformMatrix4fv = (C.GPUNIFORMMATRIX4FV)(getProcAddr("glUniformMatrix4fv")) if gpUniformMatrix4fv == nil { return errors.New("glUniformMatrix4fv") } - gpUniformMatrix4fvARB = (C.GPUNIFORMMATRIX4FVARB)(getProcAddr("glUniformMatrix4fvARB")) - gpUniformMatrix4x2dv = (C.GPUNIFORMMATRIX4X2DV)(getProcAddr("glUniformMatrix4x2dv")) - gpUniformMatrix4x2fv = (C.GPUNIFORMMATRIX4X2FV)(getProcAddr("glUniformMatrix4x2fv")) - if gpUniformMatrix4x2fv == nil { - return errors.New("glUniformMatrix4x2fv") - } - gpUniformMatrix4x3dv = (C.GPUNIFORMMATRIX4X3DV)(getProcAddr("glUniformMatrix4x3dv")) - gpUniformMatrix4x3fv = (C.GPUNIFORMMATRIX4X3FV)(getProcAddr("glUniformMatrix4x3fv")) - if gpUniformMatrix4x3fv == nil { - return errors.New("glUniformMatrix4x3fv") - } - gpUniformSubroutinesuiv = (C.GPUNIFORMSUBROUTINESUIV)(getProcAddr("glUniformSubroutinesuiv")) - gpUniformui64NV = (C.GPUNIFORMUI64NV)(getProcAddr("glUniformui64NV")) - gpUniformui64vNV = (C.GPUNIFORMUI64VNV)(getProcAddr("glUniformui64vNV")) - gpUnlockArraysEXT = (C.GPUNLOCKARRAYSEXT)(getProcAddr("glUnlockArraysEXT")) - gpUnmapBuffer = (C.GPUNMAPBUFFER)(getProcAddr("glUnmapBuffer")) - if gpUnmapBuffer == nil { - return errors.New("glUnmapBuffer") - } - gpUnmapBufferARB = (C.GPUNMAPBUFFERARB)(getProcAddr("glUnmapBufferARB")) - gpUnmapNamedBuffer = (C.GPUNMAPNAMEDBUFFER)(getProcAddr("glUnmapNamedBuffer")) - gpUnmapNamedBufferEXT = (C.GPUNMAPNAMEDBUFFEREXT)(getProcAddr("glUnmapNamedBufferEXT")) - gpUnmapObjectBufferATI = (C.GPUNMAPOBJECTBUFFERATI)(getProcAddr("glUnmapObjectBufferATI")) - gpUnmapTexture2DINTEL = (C.GPUNMAPTEXTURE2DINTEL)(getProcAddr("glUnmapTexture2DINTEL")) - gpUpdateObjectBufferATI = (C.GPUPDATEOBJECTBUFFERATI)(getProcAddr("glUpdateObjectBufferATI")) gpUseProgram = (C.GPUSEPROGRAM)(getProcAddr("glUseProgram")) if gpUseProgram == nil { return errors.New("glUseProgram") } - gpUseProgramObjectARB = (C.GPUSEPROGRAMOBJECTARB)(getProcAddr("glUseProgramObjectARB")) - gpUseProgramStages = (C.GPUSEPROGRAMSTAGES)(getProcAddr("glUseProgramStages")) - gpUseProgramStagesEXT = (C.GPUSEPROGRAMSTAGESEXT)(getProcAddr("glUseProgramStagesEXT")) - gpUseShaderProgramEXT = (C.GPUSESHADERPROGRAMEXT)(getProcAddr("glUseShaderProgramEXT")) - gpVDPAUFiniNV = (C.GPVDPAUFININV)(getProcAddr("glVDPAUFiniNV")) - gpVDPAUGetSurfaceivNV = (C.GPVDPAUGETSURFACEIVNV)(getProcAddr("glVDPAUGetSurfaceivNV")) - gpVDPAUInitNV = (C.GPVDPAUINITNV)(getProcAddr("glVDPAUInitNV")) - gpVDPAUIsSurfaceNV = (C.GPVDPAUISSURFACENV)(getProcAddr("glVDPAUIsSurfaceNV")) - gpVDPAUMapSurfacesNV = (C.GPVDPAUMAPSURFACESNV)(getProcAddr("glVDPAUMapSurfacesNV")) - gpVDPAURegisterOutputSurfaceNV = (C.GPVDPAUREGISTEROUTPUTSURFACENV)(getProcAddr("glVDPAURegisterOutputSurfaceNV")) - gpVDPAURegisterVideoSurfaceNV = (C.GPVDPAUREGISTERVIDEOSURFACENV)(getProcAddr("glVDPAURegisterVideoSurfaceNV")) - gpVDPAUSurfaceAccessNV = (C.GPVDPAUSURFACEACCESSNV)(getProcAddr("glVDPAUSurfaceAccessNV")) - gpVDPAUUnmapSurfacesNV = (C.GPVDPAUUNMAPSURFACESNV)(getProcAddr("glVDPAUUnmapSurfacesNV")) - gpVDPAUUnregisterSurfaceNV = (C.GPVDPAUUNREGISTERSURFACENV)(getProcAddr("glVDPAUUnregisterSurfaceNV")) - gpValidateProgram = (C.GPVALIDATEPROGRAM)(getProcAddr("glValidateProgram")) - if gpValidateProgram == nil { - return errors.New("glValidateProgram") - } - gpValidateProgramARB = (C.GPVALIDATEPROGRAMARB)(getProcAddr("glValidateProgramARB")) - gpValidateProgramPipeline = (C.GPVALIDATEPROGRAMPIPELINE)(getProcAddr("glValidateProgramPipeline")) - gpValidateProgramPipelineEXT = (C.GPVALIDATEPROGRAMPIPELINEEXT)(getProcAddr("glValidateProgramPipelineEXT")) - gpVariantArrayObjectATI = (C.GPVARIANTARRAYOBJECTATI)(getProcAddr("glVariantArrayObjectATI")) - gpVariantPointerEXT = (C.GPVARIANTPOINTEREXT)(getProcAddr("glVariantPointerEXT")) - gpVariantbvEXT = (C.GPVARIANTBVEXT)(getProcAddr("glVariantbvEXT")) - gpVariantdvEXT = (C.GPVARIANTDVEXT)(getProcAddr("glVariantdvEXT")) - gpVariantfvEXT = (C.GPVARIANTFVEXT)(getProcAddr("glVariantfvEXT")) - gpVariantivEXT = (C.GPVARIANTIVEXT)(getProcAddr("glVariantivEXT")) - gpVariantsvEXT = (C.GPVARIANTSVEXT)(getProcAddr("glVariantsvEXT")) - gpVariantubvEXT = (C.GPVARIANTUBVEXT)(getProcAddr("glVariantubvEXT")) - gpVariantuivEXT = (C.GPVARIANTUIVEXT)(getProcAddr("glVariantuivEXT")) - gpVariantusvEXT = (C.GPVARIANTUSVEXT)(getProcAddr("glVariantusvEXT")) - gpVertex2bOES = (C.GPVERTEX2BOES)(getProcAddr("glVertex2bOES")) - gpVertex2bvOES = (C.GPVERTEX2BVOES)(getProcAddr("glVertex2bvOES")) - gpVertex2d = (C.GPVERTEX2D)(getProcAddr("glVertex2d")) - if gpVertex2d == nil { - return errors.New("glVertex2d") - } - gpVertex2dv = (C.GPVERTEX2DV)(getProcAddr("glVertex2dv")) - if gpVertex2dv == nil { - return errors.New("glVertex2dv") - } - gpVertex2f = (C.GPVERTEX2F)(getProcAddr("glVertex2f")) - if gpVertex2f == nil { - return errors.New("glVertex2f") - } - gpVertex2fv = (C.GPVERTEX2FV)(getProcAddr("glVertex2fv")) - if gpVertex2fv == nil { - return errors.New("glVertex2fv") - } - gpVertex2hNV = (C.GPVERTEX2HNV)(getProcAddr("glVertex2hNV")) - gpVertex2hvNV = (C.GPVERTEX2HVNV)(getProcAddr("glVertex2hvNV")) - gpVertex2i = (C.GPVERTEX2I)(getProcAddr("glVertex2i")) - if gpVertex2i == nil { - return errors.New("glVertex2i") - } - gpVertex2iv = (C.GPVERTEX2IV)(getProcAddr("glVertex2iv")) - if gpVertex2iv == nil { - return errors.New("glVertex2iv") - } - gpVertex2s = (C.GPVERTEX2S)(getProcAddr("glVertex2s")) - if gpVertex2s == nil { - return errors.New("glVertex2s") - } - gpVertex2sv = (C.GPVERTEX2SV)(getProcAddr("glVertex2sv")) - if gpVertex2sv == nil { - return errors.New("glVertex2sv") - } - gpVertex2xOES = (C.GPVERTEX2XOES)(getProcAddr("glVertex2xOES")) - gpVertex2xvOES = (C.GPVERTEX2XVOES)(getProcAddr("glVertex2xvOES")) - gpVertex3bOES = (C.GPVERTEX3BOES)(getProcAddr("glVertex3bOES")) - gpVertex3bvOES = (C.GPVERTEX3BVOES)(getProcAddr("glVertex3bvOES")) - gpVertex3d = (C.GPVERTEX3D)(getProcAddr("glVertex3d")) - if gpVertex3d == nil { - return errors.New("glVertex3d") - } - gpVertex3dv = (C.GPVERTEX3DV)(getProcAddr("glVertex3dv")) - if gpVertex3dv == nil { - return errors.New("glVertex3dv") - } - gpVertex3f = (C.GPVERTEX3F)(getProcAddr("glVertex3f")) - if gpVertex3f == nil { - return errors.New("glVertex3f") - } - gpVertex3fv = (C.GPVERTEX3FV)(getProcAddr("glVertex3fv")) - if gpVertex3fv == nil { - return errors.New("glVertex3fv") - } - gpVertex3hNV = (C.GPVERTEX3HNV)(getProcAddr("glVertex3hNV")) - gpVertex3hvNV = (C.GPVERTEX3HVNV)(getProcAddr("glVertex3hvNV")) - gpVertex3i = (C.GPVERTEX3I)(getProcAddr("glVertex3i")) - if gpVertex3i == nil { - return errors.New("glVertex3i") - } - gpVertex3iv = (C.GPVERTEX3IV)(getProcAddr("glVertex3iv")) - if gpVertex3iv == nil { - return errors.New("glVertex3iv") - } - gpVertex3s = (C.GPVERTEX3S)(getProcAddr("glVertex3s")) - if gpVertex3s == nil { - return errors.New("glVertex3s") - } - gpVertex3sv = (C.GPVERTEX3SV)(getProcAddr("glVertex3sv")) - if gpVertex3sv == nil { - return errors.New("glVertex3sv") - } - gpVertex3xOES = (C.GPVERTEX3XOES)(getProcAddr("glVertex3xOES")) - gpVertex3xvOES = (C.GPVERTEX3XVOES)(getProcAddr("glVertex3xvOES")) - gpVertex4bOES = (C.GPVERTEX4BOES)(getProcAddr("glVertex4bOES")) - gpVertex4bvOES = (C.GPVERTEX4BVOES)(getProcAddr("glVertex4bvOES")) - gpVertex4d = (C.GPVERTEX4D)(getProcAddr("glVertex4d")) - if gpVertex4d == nil { - return errors.New("glVertex4d") - } - gpVertex4dv = (C.GPVERTEX4DV)(getProcAddr("glVertex4dv")) - if gpVertex4dv == nil { - return errors.New("glVertex4dv") - } - gpVertex4f = (C.GPVERTEX4F)(getProcAddr("glVertex4f")) - if gpVertex4f == nil { - return errors.New("glVertex4f") - } - gpVertex4fv = (C.GPVERTEX4FV)(getProcAddr("glVertex4fv")) - if gpVertex4fv == nil { - return errors.New("glVertex4fv") - } - gpVertex4hNV = (C.GPVERTEX4HNV)(getProcAddr("glVertex4hNV")) - gpVertex4hvNV = (C.GPVERTEX4HVNV)(getProcAddr("glVertex4hvNV")) - gpVertex4i = (C.GPVERTEX4I)(getProcAddr("glVertex4i")) - if gpVertex4i == nil { - return errors.New("glVertex4i") - } - gpVertex4iv = (C.GPVERTEX4IV)(getProcAddr("glVertex4iv")) - if gpVertex4iv == nil { - return errors.New("glVertex4iv") - } - gpVertex4s = (C.GPVERTEX4S)(getProcAddr("glVertex4s")) - if gpVertex4s == nil { - return errors.New("glVertex4s") - } - gpVertex4sv = (C.GPVERTEX4SV)(getProcAddr("glVertex4sv")) - if gpVertex4sv == nil { - return errors.New("glVertex4sv") - } - gpVertex4xOES = (C.GPVERTEX4XOES)(getProcAddr("glVertex4xOES")) - gpVertex4xvOES = (C.GPVERTEX4XVOES)(getProcAddr("glVertex4xvOES")) - gpVertexArrayAttribBinding = (C.GPVERTEXARRAYATTRIBBINDING)(getProcAddr("glVertexArrayAttribBinding")) - gpVertexArrayAttribFormat = (C.GPVERTEXARRAYATTRIBFORMAT)(getProcAddr("glVertexArrayAttribFormat")) - gpVertexArrayAttribIFormat = (C.GPVERTEXARRAYATTRIBIFORMAT)(getProcAddr("glVertexArrayAttribIFormat")) - gpVertexArrayAttribLFormat = (C.GPVERTEXARRAYATTRIBLFORMAT)(getProcAddr("glVertexArrayAttribLFormat")) - gpVertexArrayBindVertexBufferEXT = (C.GPVERTEXARRAYBINDVERTEXBUFFEREXT)(getProcAddr("glVertexArrayBindVertexBufferEXT")) - gpVertexArrayBindingDivisor = (C.GPVERTEXARRAYBINDINGDIVISOR)(getProcAddr("glVertexArrayBindingDivisor")) - gpVertexArrayColorOffsetEXT = (C.GPVERTEXARRAYCOLOROFFSETEXT)(getProcAddr("glVertexArrayColorOffsetEXT")) - gpVertexArrayEdgeFlagOffsetEXT = (C.GPVERTEXARRAYEDGEFLAGOFFSETEXT)(getProcAddr("glVertexArrayEdgeFlagOffsetEXT")) - gpVertexArrayElementBuffer = (C.GPVERTEXARRAYELEMENTBUFFER)(getProcAddr("glVertexArrayElementBuffer")) - gpVertexArrayFogCoordOffsetEXT = (C.GPVERTEXARRAYFOGCOORDOFFSETEXT)(getProcAddr("glVertexArrayFogCoordOffsetEXT")) - gpVertexArrayIndexOffsetEXT = (C.GPVERTEXARRAYINDEXOFFSETEXT)(getProcAddr("glVertexArrayIndexOffsetEXT")) - gpVertexArrayMultiTexCoordOffsetEXT = (C.GPVERTEXARRAYMULTITEXCOORDOFFSETEXT)(getProcAddr("glVertexArrayMultiTexCoordOffsetEXT")) - gpVertexArrayNormalOffsetEXT = (C.GPVERTEXARRAYNORMALOFFSETEXT)(getProcAddr("glVertexArrayNormalOffsetEXT")) - gpVertexArrayParameteriAPPLE = (C.GPVERTEXARRAYPARAMETERIAPPLE)(getProcAddr("glVertexArrayParameteriAPPLE")) - gpVertexArrayRangeAPPLE = (C.GPVERTEXARRAYRANGEAPPLE)(getProcAddr("glVertexArrayRangeAPPLE")) - gpVertexArrayRangeNV = (C.GPVERTEXARRAYRANGENV)(getProcAddr("glVertexArrayRangeNV")) - gpVertexArraySecondaryColorOffsetEXT = (C.GPVERTEXARRAYSECONDARYCOLOROFFSETEXT)(getProcAddr("glVertexArraySecondaryColorOffsetEXT")) - gpVertexArrayTexCoordOffsetEXT = (C.GPVERTEXARRAYTEXCOORDOFFSETEXT)(getProcAddr("glVertexArrayTexCoordOffsetEXT")) - gpVertexArrayVertexAttribBindingEXT = (C.GPVERTEXARRAYVERTEXATTRIBBINDINGEXT)(getProcAddr("glVertexArrayVertexAttribBindingEXT")) - gpVertexArrayVertexAttribDivisorEXT = (C.GPVERTEXARRAYVERTEXATTRIBDIVISOREXT)(getProcAddr("glVertexArrayVertexAttribDivisorEXT")) - gpVertexArrayVertexAttribFormatEXT = (C.GPVERTEXARRAYVERTEXATTRIBFORMATEXT)(getProcAddr("glVertexArrayVertexAttribFormatEXT")) - gpVertexArrayVertexAttribIFormatEXT = (C.GPVERTEXARRAYVERTEXATTRIBIFORMATEXT)(getProcAddr("glVertexArrayVertexAttribIFormatEXT")) - gpVertexArrayVertexAttribIOffsetEXT = (C.GPVERTEXARRAYVERTEXATTRIBIOFFSETEXT)(getProcAddr("glVertexArrayVertexAttribIOffsetEXT")) - gpVertexArrayVertexAttribLFormatEXT = (C.GPVERTEXARRAYVERTEXATTRIBLFORMATEXT)(getProcAddr("glVertexArrayVertexAttribLFormatEXT")) - gpVertexArrayVertexAttribLOffsetEXT = (C.GPVERTEXARRAYVERTEXATTRIBLOFFSETEXT)(getProcAddr("glVertexArrayVertexAttribLOffsetEXT")) - gpVertexArrayVertexAttribOffsetEXT = (C.GPVERTEXARRAYVERTEXATTRIBOFFSETEXT)(getProcAddr("glVertexArrayVertexAttribOffsetEXT")) - gpVertexArrayVertexBindingDivisorEXT = (C.GPVERTEXARRAYVERTEXBINDINGDIVISOREXT)(getProcAddr("glVertexArrayVertexBindingDivisorEXT")) - gpVertexArrayVertexBuffer = (C.GPVERTEXARRAYVERTEXBUFFER)(getProcAddr("glVertexArrayVertexBuffer")) - gpVertexArrayVertexBuffers = (C.GPVERTEXARRAYVERTEXBUFFERS)(getProcAddr("glVertexArrayVertexBuffers")) - gpVertexArrayVertexOffsetEXT = (C.GPVERTEXARRAYVERTEXOFFSETEXT)(getProcAddr("glVertexArrayVertexOffsetEXT")) - gpVertexAttrib1d = (C.GPVERTEXATTRIB1D)(getProcAddr("glVertexAttrib1d")) - if gpVertexAttrib1d == nil { - return errors.New("glVertexAttrib1d") - } - gpVertexAttrib1dARB = (C.GPVERTEXATTRIB1DARB)(getProcAddr("glVertexAttrib1dARB")) - gpVertexAttrib1dNV = (C.GPVERTEXATTRIB1DNV)(getProcAddr("glVertexAttrib1dNV")) - gpVertexAttrib1dv = (C.GPVERTEXATTRIB1DV)(getProcAddr("glVertexAttrib1dv")) - if gpVertexAttrib1dv == nil { - return errors.New("glVertexAttrib1dv") - } - gpVertexAttrib1dvARB = (C.GPVERTEXATTRIB1DVARB)(getProcAddr("glVertexAttrib1dvARB")) - gpVertexAttrib1dvNV = (C.GPVERTEXATTRIB1DVNV)(getProcAddr("glVertexAttrib1dvNV")) - gpVertexAttrib1f = (C.GPVERTEXATTRIB1F)(getProcAddr("glVertexAttrib1f")) - if gpVertexAttrib1f == nil { - return errors.New("glVertexAttrib1f") - } - gpVertexAttrib1fARB = (C.GPVERTEXATTRIB1FARB)(getProcAddr("glVertexAttrib1fARB")) - gpVertexAttrib1fNV = (C.GPVERTEXATTRIB1FNV)(getProcAddr("glVertexAttrib1fNV")) - gpVertexAttrib1fv = (C.GPVERTEXATTRIB1FV)(getProcAddr("glVertexAttrib1fv")) - if gpVertexAttrib1fv == nil { - return errors.New("glVertexAttrib1fv") - } - gpVertexAttrib1fvARB = (C.GPVERTEXATTRIB1FVARB)(getProcAddr("glVertexAttrib1fvARB")) - gpVertexAttrib1fvNV = (C.GPVERTEXATTRIB1FVNV)(getProcAddr("glVertexAttrib1fvNV")) - gpVertexAttrib1hNV = (C.GPVERTEXATTRIB1HNV)(getProcAddr("glVertexAttrib1hNV")) - gpVertexAttrib1hvNV = (C.GPVERTEXATTRIB1HVNV)(getProcAddr("glVertexAttrib1hvNV")) - gpVertexAttrib1s = (C.GPVERTEXATTRIB1S)(getProcAddr("glVertexAttrib1s")) - if gpVertexAttrib1s == nil { - return errors.New("glVertexAttrib1s") - } - gpVertexAttrib1sARB = (C.GPVERTEXATTRIB1SARB)(getProcAddr("glVertexAttrib1sARB")) - gpVertexAttrib1sNV = (C.GPVERTEXATTRIB1SNV)(getProcAddr("glVertexAttrib1sNV")) - gpVertexAttrib1sv = (C.GPVERTEXATTRIB1SV)(getProcAddr("glVertexAttrib1sv")) - if gpVertexAttrib1sv == nil { - return errors.New("glVertexAttrib1sv") - } - gpVertexAttrib1svARB = (C.GPVERTEXATTRIB1SVARB)(getProcAddr("glVertexAttrib1svARB")) - gpVertexAttrib1svNV = (C.GPVERTEXATTRIB1SVNV)(getProcAddr("glVertexAttrib1svNV")) - gpVertexAttrib2d = (C.GPVERTEXATTRIB2D)(getProcAddr("glVertexAttrib2d")) - if gpVertexAttrib2d == nil { - return errors.New("glVertexAttrib2d") - } - gpVertexAttrib2dARB = (C.GPVERTEXATTRIB2DARB)(getProcAddr("glVertexAttrib2dARB")) - gpVertexAttrib2dNV = (C.GPVERTEXATTRIB2DNV)(getProcAddr("glVertexAttrib2dNV")) - gpVertexAttrib2dv = (C.GPVERTEXATTRIB2DV)(getProcAddr("glVertexAttrib2dv")) - if gpVertexAttrib2dv == nil { - return errors.New("glVertexAttrib2dv") - } - gpVertexAttrib2dvARB = (C.GPVERTEXATTRIB2DVARB)(getProcAddr("glVertexAttrib2dvARB")) - gpVertexAttrib2dvNV = (C.GPVERTEXATTRIB2DVNV)(getProcAddr("glVertexAttrib2dvNV")) - gpVertexAttrib2f = (C.GPVERTEXATTRIB2F)(getProcAddr("glVertexAttrib2f")) - if gpVertexAttrib2f == nil { - return errors.New("glVertexAttrib2f") - } - gpVertexAttrib2fARB = (C.GPVERTEXATTRIB2FARB)(getProcAddr("glVertexAttrib2fARB")) - gpVertexAttrib2fNV = (C.GPVERTEXATTRIB2FNV)(getProcAddr("glVertexAttrib2fNV")) - gpVertexAttrib2fv = (C.GPVERTEXATTRIB2FV)(getProcAddr("glVertexAttrib2fv")) - if gpVertexAttrib2fv == nil { - return errors.New("glVertexAttrib2fv") - } - gpVertexAttrib2fvARB = (C.GPVERTEXATTRIB2FVARB)(getProcAddr("glVertexAttrib2fvARB")) - gpVertexAttrib2fvNV = (C.GPVERTEXATTRIB2FVNV)(getProcAddr("glVertexAttrib2fvNV")) - gpVertexAttrib2hNV = (C.GPVERTEXATTRIB2HNV)(getProcAddr("glVertexAttrib2hNV")) - gpVertexAttrib2hvNV = (C.GPVERTEXATTRIB2HVNV)(getProcAddr("glVertexAttrib2hvNV")) - gpVertexAttrib2s = (C.GPVERTEXATTRIB2S)(getProcAddr("glVertexAttrib2s")) - if gpVertexAttrib2s == nil { - return errors.New("glVertexAttrib2s") - } - gpVertexAttrib2sARB = (C.GPVERTEXATTRIB2SARB)(getProcAddr("glVertexAttrib2sARB")) - gpVertexAttrib2sNV = (C.GPVERTEXATTRIB2SNV)(getProcAddr("glVertexAttrib2sNV")) - gpVertexAttrib2sv = (C.GPVERTEXATTRIB2SV)(getProcAddr("glVertexAttrib2sv")) - if gpVertexAttrib2sv == nil { - return errors.New("glVertexAttrib2sv") - } - gpVertexAttrib2svARB = (C.GPVERTEXATTRIB2SVARB)(getProcAddr("glVertexAttrib2svARB")) - gpVertexAttrib2svNV = (C.GPVERTEXATTRIB2SVNV)(getProcAddr("glVertexAttrib2svNV")) - gpVertexAttrib3d = (C.GPVERTEXATTRIB3D)(getProcAddr("glVertexAttrib3d")) - if gpVertexAttrib3d == nil { - return errors.New("glVertexAttrib3d") - } - gpVertexAttrib3dARB = (C.GPVERTEXATTRIB3DARB)(getProcAddr("glVertexAttrib3dARB")) - gpVertexAttrib3dNV = (C.GPVERTEXATTRIB3DNV)(getProcAddr("glVertexAttrib3dNV")) - gpVertexAttrib3dv = (C.GPVERTEXATTRIB3DV)(getProcAddr("glVertexAttrib3dv")) - if gpVertexAttrib3dv == nil { - return errors.New("glVertexAttrib3dv") - } - gpVertexAttrib3dvARB = (C.GPVERTEXATTRIB3DVARB)(getProcAddr("glVertexAttrib3dvARB")) - gpVertexAttrib3dvNV = (C.GPVERTEXATTRIB3DVNV)(getProcAddr("glVertexAttrib3dvNV")) - gpVertexAttrib3f = (C.GPVERTEXATTRIB3F)(getProcAddr("glVertexAttrib3f")) - if gpVertexAttrib3f == nil { - return errors.New("glVertexAttrib3f") - } - gpVertexAttrib3fARB = (C.GPVERTEXATTRIB3FARB)(getProcAddr("glVertexAttrib3fARB")) - gpVertexAttrib3fNV = (C.GPVERTEXATTRIB3FNV)(getProcAddr("glVertexAttrib3fNV")) - gpVertexAttrib3fv = (C.GPVERTEXATTRIB3FV)(getProcAddr("glVertexAttrib3fv")) - if gpVertexAttrib3fv == nil { - return errors.New("glVertexAttrib3fv") - } - gpVertexAttrib3fvARB = (C.GPVERTEXATTRIB3FVARB)(getProcAddr("glVertexAttrib3fvARB")) - gpVertexAttrib3fvNV = (C.GPVERTEXATTRIB3FVNV)(getProcAddr("glVertexAttrib3fvNV")) - gpVertexAttrib3hNV = (C.GPVERTEXATTRIB3HNV)(getProcAddr("glVertexAttrib3hNV")) - gpVertexAttrib3hvNV = (C.GPVERTEXATTRIB3HVNV)(getProcAddr("glVertexAttrib3hvNV")) - gpVertexAttrib3s = (C.GPVERTEXATTRIB3S)(getProcAddr("glVertexAttrib3s")) - if gpVertexAttrib3s == nil { - return errors.New("glVertexAttrib3s") - } - gpVertexAttrib3sARB = (C.GPVERTEXATTRIB3SARB)(getProcAddr("glVertexAttrib3sARB")) - gpVertexAttrib3sNV = (C.GPVERTEXATTRIB3SNV)(getProcAddr("glVertexAttrib3sNV")) - gpVertexAttrib3sv = (C.GPVERTEXATTRIB3SV)(getProcAddr("glVertexAttrib3sv")) - if gpVertexAttrib3sv == nil { - return errors.New("glVertexAttrib3sv") - } - gpVertexAttrib3svARB = (C.GPVERTEXATTRIB3SVARB)(getProcAddr("glVertexAttrib3svARB")) - gpVertexAttrib3svNV = (C.GPVERTEXATTRIB3SVNV)(getProcAddr("glVertexAttrib3svNV")) - gpVertexAttrib4Nbv = (C.GPVERTEXATTRIB4NBV)(getProcAddr("glVertexAttrib4Nbv")) - if gpVertexAttrib4Nbv == nil { - return errors.New("glVertexAttrib4Nbv") - } - gpVertexAttrib4NbvARB = (C.GPVERTEXATTRIB4NBVARB)(getProcAddr("glVertexAttrib4NbvARB")) - gpVertexAttrib4Niv = (C.GPVERTEXATTRIB4NIV)(getProcAddr("glVertexAttrib4Niv")) - if gpVertexAttrib4Niv == nil { - return errors.New("glVertexAttrib4Niv") - } - gpVertexAttrib4NivARB = (C.GPVERTEXATTRIB4NIVARB)(getProcAddr("glVertexAttrib4NivARB")) - gpVertexAttrib4Nsv = (C.GPVERTEXATTRIB4NSV)(getProcAddr("glVertexAttrib4Nsv")) - if gpVertexAttrib4Nsv == nil { - return errors.New("glVertexAttrib4Nsv") - } - gpVertexAttrib4NsvARB = (C.GPVERTEXATTRIB4NSVARB)(getProcAddr("glVertexAttrib4NsvARB")) - gpVertexAttrib4Nub = (C.GPVERTEXATTRIB4NUB)(getProcAddr("glVertexAttrib4Nub")) - if gpVertexAttrib4Nub == nil { - return errors.New("glVertexAttrib4Nub") - } - gpVertexAttrib4NubARB = (C.GPVERTEXATTRIB4NUBARB)(getProcAddr("glVertexAttrib4NubARB")) - gpVertexAttrib4Nubv = (C.GPVERTEXATTRIB4NUBV)(getProcAddr("glVertexAttrib4Nubv")) - if gpVertexAttrib4Nubv == nil { - return errors.New("glVertexAttrib4Nubv") - } - gpVertexAttrib4NubvARB = (C.GPVERTEXATTRIB4NUBVARB)(getProcAddr("glVertexAttrib4NubvARB")) - gpVertexAttrib4Nuiv = (C.GPVERTEXATTRIB4NUIV)(getProcAddr("glVertexAttrib4Nuiv")) - if gpVertexAttrib4Nuiv == nil { - return errors.New("glVertexAttrib4Nuiv") - } - gpVertexAttrib4NuivARB = (C.GPVERTEXATTRIB4NUIVARB)(getProcAddr("glVertexAttrib4NuivARB")) - gpVertexAttrib4Nusv = (C.GPVERTEXATTRIB4NUSV)(getProcAddr("glVertexAttrib4Nusv")) - if gpVertexAttrib4Nusv == nil { - return errors.New("glVertexAttrib4Nusv") - } - gpVertexAttrib4NusvARB = (C.GPVERTEXATTRIB4NUSVARB)(getProcAddr("glVertexAttrib4NusvARB")) - gpVertexAttrib4bv = (C.GPVERTEXATTRIB4BV)(getProcAddr("glVertexAttrib4bv")) - if gpVertexAttrib4bv == nil { - return errors.New("glVertexAttrib4bv") - } - gpVertexAttrib4bvARB = (C.GPVERTEXATTRIB4BVARB)(getProcAddr("glVertexAttrib4bvARB")) - gpVertexAttrib4d = (C.GPVERTEXATTRIB4D)(getProcAddr("glVertexAttrib4d")) - if gpVertexAttrib4d == nil { - return errors.New("glVertexAttrib4d") - } - gpVertexAttrib4dARB = (C.GPVERTEXATTRIB4DARB)(getProcAddr("glVertexAttrib4dARB")) - gpVertexAttrib4dNV = (C.GPVERTEXATTRIB4DNV)(getProcAddr("glVertexAttrib4dNV")) - gpVertexAttrib4dv = (C.GPVERTEXATTRIB4DV)(getProcAddr("glVertexAttrib4dv")) - if gpVertexAttrib4dv == nil { - return errors.New("glVertexAttrib4dv") - } - gpVertexAttrib4dvARB = (C.GPVERTEXATTRIB4DVARB)(getProcAddr("glVertexAttrib4dvARB")) - gpVertexAttrib4dvNV = (C.GPVERTEXATTRIB4DVNV)(getProcAddr("glVertexAttrib4dvNV")) - gpVertexAttrib4f = (C.GPVERTEXATTRIB4F)(getProcAddr("glVertexAttrib4f")) - if gpVertexAttrib4f == nil { - return errors.New("glVertexAttrib4f") - } - gpVertexAttrib4fARB = (C.GPVERTEXATTRIB4FARB)(getProcAddr("glVertexAttrib4fARB")) - gpVertexAttrib4fNV = (C.GPVERTEXATTRIB4FNV)(getProcAddr("glVertexAttrib4fNV")) - gpVertexAttrib4fv = (C.GPVERTEXATTRIB4FV)(getProcAddr("glVertexAttrib4fv")) - if gpVertexAttrib4fv == nil { - return errors.New("glVertexAttrib4fv") - } - gpVertexAttrib4fvARB = (C.GPVERTEXATTRIB4FVARB)(getProcAddr("glVertexAttrib4fvARB")) - gpVertexAttrib4fvNV = (C.GPVERTEXATTRIB4FVNV)(getProcAddr("glVertexAttrib4fvNV")) - gpVertexAttrib4hNV = (C.GPVERTEXATTRIB4HNV)(getProcAddr("glVertexAttrib4hNV")) - gpVertexAttrib4hvNV = (C.GPVERTEXATTRIB4HVNV)(getProcAddr("glVertexAttrib4hvNV")) - gpVertexAttrib4iv = (C.GPVERTEXATTRIB4IV)(getProcAddr("glVertexAttrib4iv")) - if gpVertexAttrib4iv == nil { - return errors.New("glVertexAttrib4iv") - } - gpVertexAttrib4ivARB = (C.GPVERTEXATTRIB4IVARB)(getProcAddr("glVertexAttrib4ivARB")) - gpVertexAttrib4s = (C.GPVERTEXATTRIB4S)(getProcAddr("glVertexAttrib4s")) - if gpVertexAttrib4s == nil { - return errors.New("glVertexAttrib4s") - } - gpVertexAttrib4sARB = (C.GPVERTEXATTRIB4SARB)(getProcAddr("glVertexAttrib4sARB")) - gpVertexAttrib4sNV = (C.GPVERTEXATTRIB4SNV)(getProcAddr("glVertexAttrib4sNV")) - gpVertexAttrib4sv = (C.GPVERTEXATTRIB4SV)(getProcAddr("glVertexAttrib4sv")) - if gpVertexAttrib4sv == nil { - return errors.New("glVertexAttrib4sv") - } - gpVertexAttrib4svARB = (C.GPVERTEXATTRIB4SVARB)(getProcAddr("glVertexAttrib4svARB")) - gpVertexAttrib4svNV = (C.GPVERTEXATTRIB4SVNV)(getProcAddr("glVertexAttrib4svNV")) - gpVertexAttrib4ubNV = (C.GPVERTEXATTRIB4UBNV)(getProcAddr("glVertexAttrib4ubNV")) - gpVertexAttrib4ubv = (C.GPVERTEXATTRIB4UBV)(getProcAddr("glVertexAttrib4ubv")) - if gpVertexAttrib4ubv == nil { - return errors.New("glVertexAttrib4ubv") - } - gpVertexAttrib4ubvARB = (C.GPVERTEXATTRIB4UBVARB)(getProcAddr("glVertexAttrib4ubvARB")) - gpVertexAttrib4ubvNV = (C.GPVERTEXATTRIB4UBVNV)(getProcAddr("glVertexAttrib4ubvNV")) - gpVertexAttrib4uiv = (C.GPVERTEXATTRIB4UIV)(getProcAddr("glVertexAttrib4uiv")) - if gpVertexAttrib4uiv == nil { - return errors.New("glVertexAttrib4uiv") - } - gpVertexAttrib4uivARB = (C.GPVERTEXATTRIB4UIVARB)(getProcAddr("glVertexAttrib4uivARB")) - gpVertexAttrib4usv = (C.GPVERTEXATTRIB4USV)(getProcAddr("glVertexAttrib4usv")) - if gpVertexAttrib4usv == nil { - return errors.New("glVertexAttrib4usv") - } - gpVertexAttrib4usvARB = (C.GPVERTEXATTRIB4USVARB)(getProcAddr("glVertexAttrib4usvARB")) - gpVertexAttribArrayObjectATI = (C.GPVERTEXATTRIBARRAYOBJECTATI)(getProcAddr("glVertexAttribArrayObjectATI")) - gpVertexAttribBinding = (C.GPVERTEXATTRIBBINDING)(getProcAddr("glVertexAttribBinding")) - gpVertexAttribDivisorARB = (C.GPVERTEXATTRIBDIVISORARB)(getProcAddr("glVertexAttribDivisorARB")) - gpVertexAttribFormat = (C.GPVERTEXATTRIBFORMAT)(getProcAddr("glVertexAttribFormat")) - gpVertexAttribFormatNV = (C.GPVERTEXATTRIBFORMATNV)(getProcAddr("glVertexAttribFormatNV")) - gpVertexAttribI1iEXT = (C.GPVERTEXATTRIBI1IEXT)(getProcAddr("glVertexAttribI1iEXT")) - gpVertexAttribI1ivEXT = (C.GPVERTEXATTRIBI1IVEXT)(getProcAddr("glVertexAttribI1ivEXT")) - gpVertexAttribI1uiEXT = (C.GPVERTEXATTRIBI1UIEXT)(getProcAddr("glVertexAttribI1uiEXT")) - gpVertexAttribI1uivEXT = (C.GPVERTEXATTRIBI1UIVEXT)(getProcAddr("glVertexAttribI1uivEXT")) - gpVertexAttribI2iEXT = (C.GPVERTEXATTRIBI2IEXT)(getProcAddr("glVertexAttribI2iEXT")) - gpVertexAttribI2ivEXT = (C.GPVERTEXATTRIBI2IVEXT)(getProcAddr("glVertexAttribI2ivEXT")) - gpVertexAttribI2uiEXT = (C.GPVERTEXATTRIBI2UIEXT)(getProcAddr("glVertexAttribI2uiEXT")) - gpVertexAttribI2uivEXT = (C.GPVERTEXATTRIBI2UIVEXT)(getProcAddr("glVertexAttribI2uivEXT")) - gpVertexAttribI3iEXT = (C.GPVERTEXATTRIBI3IEXT)(getProcAddr("glVertexAttribI3iEXT")) - gpVertexAttribI3ivEXT = (C.GPVERTEXATTRIBI3IVEXT)(getProcAddr("glVertexAttribI3ivEXT")) - gpVertexAttribI3uiEXT = (C.GPVERTEXATTRIBI3UIEXT)(getProcAddr("glVertexAttribI3uiEXT")) - gpVertexAttribI3uivEXT = (C.GPVERTEXATTRIBI3UIVEXT)(getProcAddr("glVertexAttribI3uivEXT")) - gpVertexAttribI4bvEXT = (C.GPVERTEXATTRIBI4BVEXT)(getProcAddr("glVertexAttribI4bvEXT")) - gpVertexAttribI4iEXT = (C.GPVERTEXATTRIBI4IEXT)(getProcAddr("glVertexAttribI4iEXT")) - gpVertexAttribI4ivEXT = (C.GPVERTEXATTRIBI4IVEXT)(getProcAddr("glVertexAttribI4ivEXT")) - gpVertexAttribI4svEXT = (C.GPVERTEXATTRIBI4SVEXT)(getProcAddr("glVertexAttribI4svEXT")) - gpVertexAttribI4ubvEXT = (C.GPVERTEXATTRIBI4UBVEXT)(getProcAddr("glVertexAttribI4ubvEXT")) - gpVertexAttribI4uiEXT = (C.GPVERTEXATTRIBI4UIEXT)(getProcAddr("glVertexAttribI4uiEXT")) - gpVertexAttribI4uivEXT = (C.GPVERTEXATTRIBI4UIVEXT)(getProcAddr("glVertexAttribI4uivEXT")) - gpVertexAttribI4usvEXT = (C.GPVERTEXATTRIBI4USVEXT)(getProcAddr("glVertexAttribI4usvEXT")) - gpVertexAttribIFormat = (C.GPVERTEXATTRIBIFORMAT)(getProcAddr("glVertexAttribIFormat")) - gpVertexAttribIFormatNV = (C.GPVERTEXATTRIBIFORMATNV)(getProcAddr("glVertexAttribIFormatNV")) - gpVertexAttribIPointerEXT = (C.GPVERTEXATTRIBIPOINTEREXT)(getProcAddr("glVertexAttribIPointerEXT")) - gpVertexAttribL1d = (C.GPVERTEXATTRIBL1D)(getProcAddr("glVertexAttribL1d")) - gpVertexAttribL1dEXT = (C.GPVERTEXATTRIBL1DEXT)(getProcAddr("glVertexAttribL1dEXT")) - gpVertexAttribL1dv = (C.GPVERTEXATTRIBL1DV)(getProcAddr("glVertexAttribL1dv")) - gpVertexAttribL1dvEXT = (C.GPVERTEXATTRIBL1DVEXT)(getProcAddr("glVertexAttribL1dvEXT")) - gpVertexAttribL1i64NV = (C.GPVERTEXATTRIBL1I64NV)(getProcAddr("glVertexAttribL1i64NV")) - gpVertexAttribL1i64vNV = (C.GPVERTEXATTRIBL1I64VNV)(getProcAddr("glVertexAttribL1i64vNV")) - gpVertexAttribL1ui64ARB = (C.GPVERTEXATTRIBL1UI64ARB)(getProcAddr("glVertexAttribL1ui64ARB")) - gpVertexAttribL1ui64NV = (C.GPVERTEXATTRIBL1UI64NV)(getProcAddr("glVertexAttribL1ui64NV")) - gpVertexAttribL1ui64vARB = (C.GPVERTEXATTRIBL1UI64VARB)(getProcAddr("glVertexAttribL1ui64vARB")) - gpVertexAttribL1ui64vNV = (C.GPVERTEXATTRIBL1UI64VNV)(getProcAddr("glVertexAttribL1ui64vNV")) - gpVertexAttribL2d = (C.GPVERTEXATTRIBL2D)(getProcAddr("glVertexAttribL2d")) - gpVertexAttribL2dEXT = (C.GPVERTEXATTRIBL2DEXT)(getProcAddr("glVertexAttribL2dEXT")) - gpVertexAttribL2dv = (C.GPVERTEXATTRIBL2DV)(getProcAddr("glVertexAttribL2dv")) - gpVertexAttribL2dvEXT = (C.GPVERTEXATTRIBL2DVEXT)(getProcAddr("glVertexAttribL2dvEXT")) - gpVertexAttribL2i64NV = (C.GPVERTEXATTRIBL2I64NV)(getProcAddr("glVertexAttribL2i64NV")) - gpVertexAttribL2i64vNV = (C.GPVERTEXATTRIBL2I64VNV)(getProcAddr("glVertexAttribL2i64vNV")) - gpVertexAttribL2ui64NV = (C.GPVERTEXATTRIBL2UI64NV)(getProcAddr("glVertexAttribL2ui64NV")) - gpVertexAttribL2ui64vNV = (C.GPVERTEXATTRIBL2UI64VNV)(getProcAddr("glVertexAttribL2ui64vNV")) - gpVertexAttribL3d = (C.GPVERTEXATTRIBL3D)(getProcAddr("glVertexAttribL3d")) - gpVertexAttribL3dEXT = (C.GPVERTEXATTRIBL3DEXT)(getProcAddr("glVertexAttribL3dEXT")) - gpVertexAttribL3dv = (C.GPVERTEXATTRIBL3DV)(getProcAddr("glVertexAttribL3dv")) - gpVertexAttribL3dvEXT = (C.GPVERTEXATTRIBL3DVEXT)(getProcAddr("glVertexAttribL3dvEXT")) - gpVertexAttribL3i64NV = (C.GPVERTEXATTRIBL3I64NV)(getProcAddr("glVertexAttribL3i64NV")) - gpVertexAttribL3i64vNV = (C.GPVERTEXATTRIBL3I64VNV)(getProcAddr("glVertexAttribL3i64vNV")) - gpVertexAttribL3ui64NV = (C.GPVERTEXATTRIBL3UI64NV)(getProcAddr("glVertexAttribL3ui64NV")) - gpVertexAttribL3ui64vNV = (C.GPVERTEXATTRIBL3UI64VNV)(getProcAddr("glVertexAttribL3ui64vNV")) - gpVertexAttribL4d = (C.GPVERTEXATTRIBL4D)(getProcAddr("glVertexAttribL4d")) - gpVertexAttribL4dEXT = (C.GPVERTEXATTRIBL4DEXT)(getProcAddr("glVertexAttribL4dEXT")) - gpVertexAttribL4dv = (C.GPVERTEXATTRIBL4DV)(getProcAddr("glVertexAttribL4dv")) - gpVertexAttribL4dvEXT = (C.GPVERTEXATTRIBL4DVEXT)(getProcAddr("glVertexAttribL4dvEXT")) - gpVertexAttribL4i64NV = (C.GPVERTEXATTRIBL4I64NV)(getProcAddr("glVertexAttribL4i64NV")) - gpVertexAttribL4i64vNV = (C.GPVERTEXATTRIBL4I64VNV)(getProcAddr("glVertexAttribL4i64vNV")) - gpVertexAttribL4ui64NV = (C.GPVERTEXATTRIBL4UI64NV)(getProcAddr("glVertexAttribL4ui64NV")) - gpVertexAttribL4ui64vNV = (C.GPVERTEXATTRIBL4UI64VNV)(getProcAddr("glVertexAttribL4ui64vNV")) - gpVertexAttribLFormat = (C.GPVERTEXATTRIBLFORMAT)(getProcAddr("glVertexAttribLFormat")) - gpVertexAttribLFormatNV = (C.GPVERTEXATTRIBLFORMATNV)(getProcAddr("glVertexAttribLFormatNV")) - gpVertexAttribLPointer = (C.GPVERTEXATTRIBLPOINTER)(getProcAddr("glVertexAttribLPointer")) - gpVertexAttribLPointerEXT = (C.GPVERTEXATTRIBLPOINTEREXT)(getProcAddr("glVertexAttribLPointerEXT")) - gpVertexAttribP1ui = (C.GPVERTEXATTRIBP1UI)(getProcAddr("glVertexAttribP1ui")) - gpVertexAttribP1uiv = (C.GPVERTEXATTRIBP1UIV)(getProcAddr("glVertexAttribP1uiv")) - gpVertexAttribP2ui = (C.GPVERTEXATTRIBP2UI)(getProcAddr("glVertexAttribP2ui")) - gpVertexAttribP2uiv = (C.GPVERTEXATTRIBP2UIV)(getProcAddr("glVertexAttribP2uiv")) - gpVertexAttribP3ui = (C.GPVERTEXATTRIBP3UI)(getProcAddr("glVertexAttribP3ui")) - gpVertexAttribP3uiv = (C.GPVERTEXATTRIBP3UIV)(getProcAddr("glVertexAttribP3uiv")) - gpVertexAttribP4ui = (C.GPVERTEXATTRIBP4UI)(getProcAddr("glVertexAttribP4ui")) - gpVertexAttribP4uiv = (C.GPVERTEXATTRIBP4UIV)(getProcAddr("glVertexAttribP4uiv")) - gpVertexAttribParameteriAMD = (C.GPVERTEXATTRIBPARAMETERIAMD)(getProcAddr("glVertexAttribParameteriAMD")) gpVertexAttribPointer = (C.GPVERTEXATTRIBPOINTER)(getProcAddr("glVertexAttribPointer")) if gpVertexAttribPointer == nil { return errors.New("glVertexAttribPointer") } - gpVertexAttribPointerARB = (C.GPVERTEXATTRIBPOINTERARB)(getProcAddr("glVertexAttribPointerARB")) - gpVertexAttribPointerNV = (C.GPVERTEXATTRIBPOINTERNV)(getProcAddr("glVertexAttribPointerNV")) - gpVertexAttribs1dvNV = (C.GPVERTEXATTRIBS1DVNV)(getProcAddr("glVertexAttribs1dvNV")) - gpVertexAttribs1fvNV = (C.GPVERTEXATTRIBS1FVNV)(getProcAddr("glVertexAttribs1fvNV")) - gpVertexAttribs1hvNV = (C.GPVERTEXATTRIBS1HVNV)(getProcAddr("glVertexAttribs1hvNV")) - gpVertexAttribs1svNV = (C.GPVERTEXATTRIBS1SVNV)(getProcAddr("glVertexAttribs1svNV")) - gpVertexAttribs2dvNV = (C.GPVERTEXATTRIBS2DVNV)(getProcAddr("glVertexAttribs2dvNV")) - gpVertexAttribs2fvNV = (C.GPVERTEXATTRIBS2FVNV)(getProcAddr("glVertexAttribs2fvNV")) - gpVertexAttribs2hvNV = (C.GPVERTEXATTRIBS2HVNV)(getProcAddr("glVertexAttribs2hvNV")) - gpVertexAttribs2svNV = (C.GPVERTEXATTRIBS2SVNV)(getProcAddr("glVertexAttribs2svNV")) - gpVertexAttribs3dvNV = (C.GPVERTEXATTRIBS3DVNV)(getProcAddr("glVertexAttribs3dvNV")) - gpVertexAttribs3fvNV = (C.GPVERTEXATTRIBS3FVNV)(getProcAddr("glVertexAttribs3fvNV")) - gpVertexAttribs3hvNV = (C.GPVERTEXATTRIBS3HVNV)(getProcAddr("glVertexAttribs3hvNV")) - gpVertexAttribs3svNV = (C.GPVERTEXATTRIBS3SVNV)(getProcAddr("glVertexAttribs3svNV")) - gpVertexAttribs4dvNV = (C.GPVERTEXATTRIBS4DVNV)(getProcAddr("glVertexAttribs4dvNV")) - gpVertexAttribs4fvNV = (C.GPVERTEXATTRIBS4FVNV)(getProcAddr("glVertexAttribs4fvNV")) - gpVertexAttribs4hvNV = (C.GPVERTEXATTRIBS4HVNV)(getProcAddr("glVertexAttribs4hvNV")) - gpVertexAttribs4svNV = (C.GPVERTEXATTRIBS4SVNV)(getProcAddr("glVertexAttribs4svNV")) - gpVertexAttribs4ubvNV = (C.GPVERTEXATTRIBS4UBVNV)(getProcAddr("glVertexAttribs4ubvNV")) - gpVertexBindingDivisor = (C.GPVERTEXBINDINGDIVISOR)(getProcAddr("glVertexBindingDivisor")) - gpVertexBlendARB = (C.GPVERTEXBLENDARB)(getProcAddr("glVertexBlendARB")) - gpVertexBlendEnvfATI = (C.GPVERTEXBLENDENVFATI)(getProcAddr("glVertexBlendEnvfATI")) - gpVertexBlendEnviATI = (C.GPVERTEXBLENDENVIATI)(getProcAddr("glVertexBlendEnviATI")) - gpVertexFormatNV = (C.GPVERTEXFORMATNV)(getProcAddr("glVertexFormatNV")) - gpVertexPointer = (C.GPVERTEXPOINTER)(getProcAddr("glVertexPointer")) - if gpVertexPointer == nil { - return errors.New("glVertexPointer") - } - gpVertexPointerEXT = (C.GPVERTEXPOINTEREXT)(getProcAddr("glVertexPointerEXT")) - gpVertexPointerListIBM = (C.GPVERTEXPOINTERLISTIBM)(getProcAddr("glVertexPointerListIBM")) - gpVertexPointervINTEL = (C.GPVERTEXPOINTERVINTEL)(getProcAddr("glVertexPointervINTEL")) - gpVertexStream1dATI = (C.GPVERTEXSTREAM1DATI)(getProcAddr("glVertexStream1dATI")) - gpVertexStream1dvATI = (C.GPVERTEXSTREAM1DVATI)(getProcAddr("glVertexStream1dvATI")) - gpVertexStream1fATI = (C.GPVERTEXSTREAM1FATI)(getProcAddr("glVertexStream1fATI")) - gpVertexStream1fvATI = (C.GPVERTEXSTREAM1FVATI)(getProcAddr("glVertexStream1fvATI")) - gpVertexStream1iATI = (C.GPVERTEXSTREAM1IATI)(getProcAddr("glVertexStream1iATI")) - gpVertexStream1ivATI = (C.GPVERTEXSTREAM1IVATI)(getProcAddr("glVertexStream1ivATI")) - gpVertexStream1sATI = (C.GPVERTEXSTREAM1SATI)(getProcAddr("glVertexStream1sATI")) - gpVertexStream1svATI = (C.GPVERTEXSTREAM1SVATI)(getProcAddr("glVertexStream1svATI")) - gpVertexStream2dATI = (C.GPVERTEXSTREAM2DATI)(getProcAddr("glVertexStream2dATI")) - gpVertexStream2dvATI = (C.GPVERTEXSTREAM2DVATI)(getProcAddr("glVertexStream2dvATI")) - gpVertexStream2fATI = (C.GPVERTEXSTREAM2FATI)(getProcAddr("glVertexStream2fATI")) - gpVertexStream2fvATI = (C.GPVERTEXSTREAM2FVATI)(getProcAddr("glVertexStream2fvATI")) - gpVertexStream2iATI = (C.GPVERTEXSTREAM2IATI)(getProcAddr("glVertexStream2iATI")) - gpVertexStream2ivATI = (C.GPVERTEXSTREAM2IVATI)(getProcAddr("glVertexStream2ivATI")) - gpVertexStream2sATI = (C.GPVERTEXSTREAM2SATI)(getProcAddr("glVertexStream2sATI")) - gpVertexStream2svATI = (C.GPVERTEXSTREAM2SVATI)(getProcAddr("glVertexStream2svATI")) - gpVertexStream3dATI = (C.GPVERTEXSTREAM3DATI)(getProcAddr("glVertexStream3dATI")) - gpVertexStream3dvATI = (C.GPVERTEXSTREAM3DVATI)(getProcAddr("glVertexStream3dvATI")) - gpVertexStream3fATI = (C.GPVERTEXSTREAM3FATI)(getProcAddr("glVertexStream3fATI")) - gpVertexStream3fvATI = (C.GPVERTEXSTREAM3FVATI)(getProcAddr("glVertexStream3fvATI")) - gpVertexStream3iATI = (C.GPVERTEXSTREAM3IATI)(getProcAddr("glVertexStream3iATI")) - gpVertexStream3ivATI = (C.GPVERTEXSTREAM3IVATI)(getProcAddr("glVertexStream3ivATI")) - gpVertexStream3sATI = (C.GPVERTEXSTREAM3SATI)(getProcAddr("glVertexStream3sATI")) - gpVertexStream3svATI = (C.GPVERTEXSTREAM3SVATI)(getProcAddr("glVertexStream3svATI")) - gpVertexStream4dATI = (C.GPVERTEXSTREAM4DATI)(getProcAddr("glVertexStream4dATI")) - gpVertexStream4dvATI = (C.GPVERTEXSTREAM4DVATI)(getProcAddr("glVertexStream4dvATI")) - gpVertexStream4fATI = (C.GPVERTEXSTREAM4FATI)(getProcAddr("glVertexStream4fATI")) - gpVertexStream4fvATI = (C.GPVERTEXSTREAM4FVATI)(getProcAddr("glVertexStream4fvATI")) - gpVertexStream4iATI = (C.GPVERTEXSTREAM4IATI)(getProcAddr("glVertexStream4iATI")) - gpVertexStream4ivATI = (C.GPVERTEXSTREAM4IVATI)(getProcAddr("glVertexStream4ivATI")) - gpVertexStream4sATI = (C.GPVERTEXSTREAM4SATI)(getProcAddr("glVertexStream4sATI")) - gpVertexStream4svATI = (C.GPVERTEXSTREAM4SVATI)(getProcAddr("glVertexStream4svATI")) - gpVertexWeightPointerEXT = (C.GPVERTEXWEIGHTPOINTEREXT)(getProcAddr("glVertexWeightPointerEXT")) - gpVertexWeightfEXT = (C.GPVERTEXWEIGHTFEXT)(getProcAddr("glVertexWeightfEXT")) - gpVertexWeightfvEXT = (C.GPVERTEXWEIGHTFVEXT)(getProcAddr("glVertexWeightfvEXT")) - gpVertexWeighthNV = (C.GPVERTEXWEIGHTHNV)(getProcAddr("glVertexWeighthNV")) - gpVertexWeighthvNV = (C.GPVERTEXWEIGHTHVNV)(getProcAddr("glVertexWeighthvNV")) - gpVideoCaptureNV = (C.GPVIDEOCAPTURENV)(getProcAddr("glVideoCaptureNV")) - gpVideoCaptureStreamParameterdvNV = (C.GPVIDEOCAPTURESTREAMPARAMETERDVNV)(getProcAddr("glVideoCaptureStreamParameterdvNV")) - gpVideoCaptureStreamParameterfvNV = (C.GPVIDEOCAPTURESTREAMPARAMETERFVNV)(getProcAddr("glVideoCaptureStreamParameterfvNV")) - gpVideoCaptureStreamParameterivNV = (C.GPVIDEOCAPTURESTREAMPARAMETERIVNV)(getProcAddr("glVideoCaptureStreamParameterivNV")) gpViewport = (C.GPVIEWPORT)(getProcAddr("glViewport")) if gpViewport == nil { return errors.New("glViewport") } - gpViewportArrayv = (C.GPVIEWPORTARRAYV)(getProcAddr("glViewportArrayv")) - gpViewportIndexedf = (C.GPVIEWPORTINDEXEDF)(getProcAddr("glViewportIndexedf")) - gpViewportIndexedfv = (C.GPVIEWPORTINDEXEDFV)(getProcAddr("glViewportIndexedfv")) - gpViewportPositionWScaleNV = (C.GPVIEWPORTPOSITIONWSCALENV)(getProcAddr("glViewportPositionWScaleNV")) - gpViewportSwizzleNV = (C.GPVIEWPORTSWIZZLENV)(getProcAddr("glViewportSwizzleNV")) - gpWaitSemaphoreEXT = (C.GPWAITSEMAPHOREEXT)(getProcAddr("glWaitSemaphoreEXT")) - gpWaitSync = (C.GPWAITSYNC)(getProcAddr("glWaitSync")) - gpWaitVkSemaphoreNV = (C.GPWAITVKSEMAPHORENV)(getProcAddr("glWaitVkSemaphoreNV")) - gpWeightPathsNV = (C.GPWEIGHTPATHSNV)(getProcAddr("glWeightPathsNV")) - gpWeightPointerARB = (C.GPWEIGHTPOINTERARB)(getProcAddr("glWeightPointerARB")) - gpWeightbvARB = (C.GPWEIGHTBVARB)(getProcAddr("glWeightbvARB")) - gpWeightdvARB = (C.GPWEIGHTDVARB)(getProcAddr("glWeightdvARB")) - gpWeightfvARB = (C.GPWEIGHTFVARB)(getProcAddr("glWeightfvARB")) - gpWeightivARB = (C.GPWEIGHTIVARB)(getProcAddr("glWeightivARB")) - gpWeightsvARB = (C.GPWEIGHTSVARB)(getProcAddr("glWeightsvARB")) - gpWeightubvARB = (C.GPWEIGHTUBVARB)(getProcAddr("glWeightubvARB")) - gpWeightuivARB = (C.GPWEIGHTUIVARB)(getProcAddr("glWeightuivARB")) - gpWeightusvARB = (C.GPWEIGHTUSVARB)(getProcAddr("glWeightusvARB")) - gpWindowPos2d = (C.GPWINDOWPOS2D)(getProcAddr("glWindowPos2d")) - if gpWindowPos2d == nil { - return errors.New("glWindowPos2d") - } - gpWindowPos2dARB = (C.GPWINDOWPOS2DARB)(getProcAddr("glWindowPos2dARB")) - gpWindowPos2dMESA = (C.GPWINDOWPOS2DMESA)(getProcAddr("glWindowPos2dMESA")) - gpWindowPos2dv = (C.GPWINDOWPOS2DV)(getProcAddr("glWindowPos2dv")) - if gpWindowPos2dv == nil { - return errors.New("glWindowPos2dv") - } - gpWindowPos2dvARB = (C.GPWINDOWPOS2DVARB)(getProcAddr("glWindowPos2dvARB")) - gpWindowPos2dvMESA = (C.GPWINDOWPOS2DVMESA)(getProcAddr("glWindowPos2dvMESA")) - gpWindowPos2f = (C.GPWINDOWPOS2F)(getProcAddr("glWindowPos2f")) - if gpWindowPos2f == nil { - return errors.New("glWindowPos2f") - } - gpWindowPos2fARB = (C.GPWINDOWPOS2FARB)(getProcAddr("glWindowPos2fARB")) - gpWindowPos2fMESA = (C.GPWINDOWPOS2FMESA)(getProcAddr("glWindowPos2fMESA")) - gpWindowPos2fv = (C.GPWINDOWPOS2FV)(getProcAddr("glWindowPos2fv")) - if gpWindowPos2fv == nil { - return errors.New("glWindowPos2fv") - } - gpWindowPos2fvARB = (C.GPWINDOWPOS2FVARB)(getProcAddr("glWindowPos2fvARB")) - gpWindowPos2fvMESA = (C.GPWINDOWPOS2FVMESA)(getProcAddr("glWindowPos2fvMESA")) - gpWindowPos2i = (C.GPWINDOWPOS2I)(getProcAddr("glWindowPos2i")) - if gpWindowPos2i == nil { - return errors.New("glWindowPos2i") - } - gpWindowPos2iARB = (C.GPWINDOWPOS2IARB)(getProcAddr("glWindowPos2iARB")) - gpWindowPos2iMESA = (C.GPWINDOWPOS2IMESA)(getProcAddr("glWindowPos2iMESA")) - gpWindowPos2iv = (C.GPWINDOWPOS2IV)(getProcAddr("glWindowPos2iv")) - if gpWindowPos2iv == nil { - return errors.New("glWindowPos2iv") - } - gpWindowPos2ivARB = (C.GPWINDOWPOS2IVARB)(getProcAddr("glWindowPos2ivARB")) - gpWindowPos2ivMESA = (C.GPWINDOWPOS2IVMESA)(getProcAddr("glWindowPos2ivMESA")) - gpWindowPos2s = (C.GPWINDOWPOS2S)(getProcAddr("glWindowPos2s")) - if gpWindowPos2s == nil { - return errors.New("glWindowPos2s") - } - gpWindowPos2sARB = (C.GPWINDOWPOS2SARB)(getProcAddr("glWindowPos2sARB")) - gpWindowPos2sMESA = (C.GPWINDOWPOS2SMESA)(getProcAddr("glWindowPos2sMESA")) - gpWindowPos2sv = (C.GPWINDOWPOS2SV)(getProcAddr("glWindowPos2sv")) - if gpWindowPos2sv == nil { - return errors.New("glWindowPos2sv") - } - gpWindowPos2svARB = (C.GPWINDOWPOS2SVARB)(getProcAddr("glWindowPos2svARB")) - gpWindowPos2svMESA = (C.GPWINDOWPOS2SVMESA)(getProcAddr("glWindowPos2svMESA")) - gpWindowPos3d = (C.GPWINDOWPOS3D)(getProcAddr("glWindowPos3d")) - if gpWindowPos3d == nil { - return errors.New("glWindowPos3d") - } - gpWindowPos3dARB = (C.GPWINDOWPOS3DARB)(getProcAddr("glWindowPos3dARB")) - gpWindowPos3dMESA = (C.GPWINDOWPOS3DMESA)(getProcAddr("glWindowPos3dMESA")) - gpWindowPos3dv = (C.GPWINDOWPOS3DV)(getProcAddr("glWindowPos3dv")) - if gpWindowPos3dv == nil { - return errors.New("glWindowPos3dv") - } - gpWindowPos3dvARB = (C.GPWINDOWPOS3DVARB)(getProcAddr("glWindowPos3dvARB")) - gpWindowPos3dvMESA = (C.GPWINDOWPOS3DVMESA)(getProcAddr("glWindowPos3dvMESA")) - gpWindowPos3f = (C.GPWINDOWPOS3F)(getProcAddr("glWindowPos3f")) - if gpWindowPos3f == nil { - return errors.New("glWindowPos3f") - } - gpWindowPos3fARB = (C.GPWINDOWPOS3FARB)(getProcAddr("glWindowPos3fARB")) - gpWindowPos3fMESA = (C.GPWINDOWPOS3FMESA)(getProcAddr("glWindowPos3fMESA")) - gpWindowPos3fv = (C.GPWINDOWPOS3FV)(getProcAddr("glWindowPos3fv")) - if gpWindowPos3fv == nil { - return errors.New("glWindowPos3fv") - } - gpWindowPos3fvARB = (C.GPWINDOWPOS3FVARB)(getProcAddr("glWindowPos3fvARB")) - gpWindowPos3fvMESA = (C.GPWINDOWPOS3FVMESA)(getProcAddr("glWindowPos3fvMESA")) - gpWindowPos3i = (C.GPWINDOWPOS3I)(getProcAddr("glWindowPos3i")) - if gpWindowPos3i == nil { - return errors.New("glWindowPos3i") - } - gpWindowPos3iARB = (C.GPWINDOWPOS3IARB)(getProcAddr("glWindowPos3iARB")) - gpWindowPos3iMESA = (C.GPWINDOWPOS3IMESA)(getProcAddr("glWindowPos3iMESA")) - gpWindowPos3iv = (C.GPWINDOWPOS3IV)(getProcAddr("glWindowPos3iv")) - if gpWindowPos3iv == nil { - return errors.New("glWindowPos3iv") - } - gpWindowPos3ivARB = (C.GPWINDOWPOS3IVARB)(getProcAddr("glWindowPos3ivARB")) - gpWindowPos3ivMESA = (C.GPWINDOWPOS3IVMESA)(getProcAddr("glWindowPos3ivMESA")) - gpWindowPos3s = (C.GPWINDOWPOS3S)(getProcAddr("glWindowPos3s")) - if gpWindowPos3s == nil { - return errors.New("glWindowPos3s") - } - gpWindowPos3sARB = (C.GPWINDOWPOS3SARB)(getProcAddr("glWindowPos3sARB")) - gpWindowPos3sMESA = (C.GPWINDOWPOS3SMESA)(getProcAddr("glWindowPos3sMESA")) - gpWindowPos3sv = (C.GPWINDOWPOS3SV)(getProcAddr("glWindowPos3sv")) - if gpWindowPos3sv == nil { - return errors.New("glWindowPos3sv") - } - gpWindowPos3svARB = (C.GPWINDOWPOS3SVARB)(getProcAddr("glWindowPos3svARB")) - gpWindowPos3svMESA = (C.GPWINDOWPOS3SVMESA)(getProcAddr("glWindowPos3svMESA")) - gpWindowPos4dMESA = (C.GPWINDOWPOS4DMESA)(getProcAddr("glWindowPos4dMESA")) - gpWindowPos4dvMESA = (C.GPWINDOWPOS4DVMESA)(getProcAddr("glWindowPos4dvMESA")) - gpWindowPos4fMESA = (C.GPWINDOWPOS4FMESA)(getProcAddr("glWindowPos4fMESA")) - gpWindowPos4fvMESA = (C.GPWINDOWPOS4FVMESA)(getProcAddr("glWindowPos4fvMESA")) - gpWindowPos4iMESA = (C.GPWINDOWPOS4IMESA)(getProcAddr("glWindowPos4iMESA")) - gpWindowPos4ivMESA = (C.GPWINDOWPOS4IVMESA)(getProcAddr("glWindowPos4ivMESA")) - gpWindowPos4sMESA = (C.GPWINDOWPOS4SMESA)(getProcAddr("glWindowPos4sMESA")) - gpWindowPos4svMESA = (C.GPWINDOWPOS4SVMESA)(getProcAddr("glWindowPos4svMESA")) - gpWindowRectanglesEXT = (C.GPWINDOWRECTANGLESEXT)(getProcAddr("glWindowRectanglesEXT")) - gpWriteMaskEXT = (C.GPWRITEMASKEXT)(getProcAddr("glWriteMaskEXT")) return nil } diff --git a/internal/graphicsdriver/opengl/gl/package_windows.go b/internal/graphicsdriver/opengl/gl/package_windows.go index f81d0f038..ff199019d 100644 --- a/internal/graphicsdriver/opengl/gl/package_windows.go +++ b/internal/graphicsdriver/opengl/gl/package_windows.go @@ -10,2795 +10,68 @@ import ( ) var ( - gpAccum uintptr - gpAccumxOES uintptr - gpAcquireKeyedMutexWin32EXT uintptr - gpActiveProgramEXT uintptr - gpActiveShaderProgram uintptr - gpActiveShaderProgramEXT uintptr - gpActiveStencilFaceEXT uintptr - gpActiveTexture uintptr - gpActiveTextureARB uintptr - gpActiveVaryingNV uintptr - gpAlphaFragmentOp1ATI uintptr - gpAlphaFragmentOp2ATI uintptr - gpAlphaFragmentOp3ATI uintptr - gpAlphaFunc uintptr - gpAlphaFuncxOES uintptr - gpAlphaToCoverageDitherControlNV uintptr - gpApplyFramebufferAttachmentCMAAINTEL uintptr - gpApplyTextureEXT uintptr - gpAreProgramsResidentNV uintptr - gpAreTexturesResident uintptr - gpAreTexturesResidentEXT uintptr - gpArrayElement uintptr - gpArrayElementEXT uintptr - gpArrayObjectATI uintptr - gpAsyncMarkerSGIX uintptr - gpAttachObjectARB uintptr - gpAttachShader uintptr - gpBegin uintptr - gpBeginConditionalRenderNV uintptr - gpBeginConditionalRenderNVX uintptr - gpBeginFragmentShaderATI uintptr - gpBeginOcclusionQueryNV uintptr - gpBeginPerfMonitorAMD uintptr - gpBeginPerfQueryINTEL uintptr - gpBeginQuery uintptr - gpBeginQueryARB uintptr - gpBeginQueryIndexed uintptr - gpBeginTransformFeedbackEXT uintptr - gpBeginTransformFeedbackNV uintptr - gpBeginVertexShaderEXT uintptr - gpBeginVideoCaptureNV uintptr - gpBindAttribLocation uintptr - gpBindAttribLocationARB uintptr - gpBindBuffer uintptr - gpBindBufferARB uintptr - gpBindBufferBase uintptr - gpBindBufferBaseEXT uintptr - gpBindBufferBaseNV uintptr - gpBindBufferOffsetEXT uintptr - gpBindBufferOffsetNV uintptr - gpBindBufferRange uintptr - gpBindBufferRangeEXT uintptr - gpBindBufferRangeNV uintptr - gpBindBuffersBase uintptr - gpBindBuffersRange uintptr - gpBindFragDataLocationEXT uintptr - gpBindFragDataLocationIndexed uintptr - gpBindFragmentShaderATI uintptr - gpBindFramebuffer uintptr - gpBindFramebufferEXT uintptr - gpBindImageTexture uintptr - gpBindImageTextureEXT uintptr - gpBindImageTextures uintptr - gpBindLightParameterEXT uintptr - gpBindMaterialParameterEXT uintptr - gpBindMultiTextureEXT uintptr - gpBindParameterEXT uintptr - gpBindProgramARB uintptr - gpBindProgramNV uintptr - gpBindProgramPipeline uintptr - gpBindProgramPipelineEXT uintptr - gpBindRenderbuffer uintptr - gpBindRenderbufferEXT uintptr - gpBindSampler uintptr - gpBindSamplers uintptr - gpBindTexGenParameterEXT uintptr - gpBindTexture uintptr - gpBindTextureEXT uintptr - gpBindTextureUnit uintptr - gpBindTextureUnitParameterEXT uintptr - gpBindTextures uintptr - gpBindTransformFeedback uintptr - gpBindTransformFeedbackNV uintptr - gpBindVertexArray uintptr - gpBindVertexArrayAPPLE uintptr - gpBindVertexBuffer uintptr - gpBindVertexBuffers uintptr - gpBindVertexShaderEXT uintptr - gpBindVideoCaptureStreamBufferNV uintptr - gpBindVideoCaptureStreamTextureNV uintptr - gpBinormal3bEXT uintptr - gpBinormal3bvEXT uintptr - gpBinormal3dEXT uintptr - gpBinormal3dvEXT uintptr - gpBinormal3fEXT uintptr - gpBinormal3fvEXT uintptr - gpBinormal3iEXT uintptr - gpBinormal3ivEXT uintptr - gpBinormal3sEXT uintptr - gpBinormal3svEXT uintptr - gpBinormalPointerEXT uintptr - gpBitmap uintptr - gpBitmapxOES uintptr - gpBlendBarrierKHR uintptr - gpBlendBarrierNV uintptr - gpBlendColor uintptr - gpBlendColorEXT uintptr - gpBlendColorxOES uintptr - gpBlendEquation uintptr - gpBlendEquationEXT uintptr - gpBlendEquationIndexedAMD uintptr - gpBlendEquationSeparate uintptr - gpBlendEquationSeparateEXT uintptr - gpBlendEquationSeparateIndexedAMD uintptr - gpBlendEquationSeparateiARB uintptr - gpBlendEquationiARB uintptr - gpBlendFunc uintptr - gpBlendFuncIndexedAMD uintptr - gpBlendFuncSeparate uintptr - gpBlendFuncSeparateEXT uintptr - gpBlendFuncSeparateINGR uintptr - gpBlendFuncSeparateIndexedAMD uintptr - gpBlendFuncSeparateiARB uintptr - gpBlendFunciARB uintptr - gpBlendParameteriNV uintptr - gpBlitFramebuffer uintptr - gpBlitFramebufferEXT uintptr - gpBlitNamedFramebuffer uintptr - gpBufferAddressRangeNV uintptr - gpBufferData uintptr - gpBufferDataARB uintptr - gpBufferPageCommitmentARB uintptr - gpBufferParameteriAPPLE uintptr - gpBufferStorage uintptr - gpBufferStorageExternalEXT uintptr - gpBufferStorageMemEXT uintptr - gpBufferSubData uintptr - gpBufferSubDataARB uintptr - gpCallCommandListNV uintptr - gpCallList uintptr - gpCallLists uintptr - gpCheckFramebufferStatus uintptr - gpCheckFramebufferStatusEXT uintptr - gpCheckNamedFramebufferStatus uintptr - gpCheckNamedFramebufferStatusEXT uintptr - gpClampColorARB uintptr - gpClear uintptr - gpClearAccum uintptr - gpClearAccumxOES uintptr - gpClearBufferData uintptr - gpClearBufferSubData uintptr - gpClearColor uintptr - gpClearColorIiEXT uintptr - gpClearColorIuiEXT uintptr - gpClearColorxOES uintptr - gpClearDepth uintptr - gpClearDepthdNV uintptr - gpClearDepthf uintptr - gpClearDepthfOES uintptr - gpClearDepthxOES uintptr - gpClearIndex uintptr - gpClearNamedBufferData uintptr - gpClearNamedBufferDataEXT uintptr - gpClearNamedBufferSubData uintptr - gpClearNamedBufferSubDataEXT uintptr - gpClearNamedFramebufferfi uintptr - gpClearNamedFramebufferfv uintptr - gpClearNamedFramebufferiv uintptr - gpClearNamedFramebufferuiv uintptr - gpClearStencil uintptr - gpClearTexImage uintptr - gpClearTexSubImage uintptr - gpClientActiveTexture uintptr - gpClientActiveTextureARB uintptr - gpClientActiveVertexStreamATI uintptr - gpClientAttribDefaultEXT uintptr - gpClientWaitSync uintptr - gpClipControl uintptr - gpClipPlane uintptr - gpClipPlanefOES uintptr - gpClipPlanexOES uintptr - gpColor3b uintptr - gpColor3bv uintptr - gpColor3d uintptr - gpColor3dv uintptr - gpColor3f uintptr - gpColor3fVertex3fSUN uintptr - gpColor3fVertex3fvSUN uintptr - gpColor3fv uintptr - gpColor3hNV uintptr - gpColor3hvNV uintptr - gpColor3i uintptr - gpColor3iv uintptr - gpColor3s uintptr - gpColor3sv uintptr - gpColor3ub uintptr - gpColor3ubv uintptr - gpColor3ui uintptr - gpColor3uiv uintptr - gpColor3us uintptr - gpColor3usv uintptr - gpColor3xOES uintptr - gpColor3xvOES uintptr - gpColor4b uintptr - gpColor4bv uintptr - gpColor4d uintptr - gpColor4dv uintptr - gpColor4f uintptr - gpColor4fNormal3fVertex3fSUN uintptr - gpColor4fNormal3fVertex3fvSUN uintptr - gpColor4fv uintptr - gpColor4hNV uintptr - gpColor4hvNV uintptr - gpColor4i uintptr - gpColor4iv uintptr - gpColor4s uintptr - gpColor4sv uintptr - gpColor4ub uintptr - gpColor4ubVertex2fSUN uintptr - gpColor4ubVertex2fvSUN uintptr - gpColor4ubVertex3fSUN uintptr - gpColor4ubVertex3fvSUN uintptr - gpColor4ubv uintptr - gpColor4ui uintptr - gpColor4uiv uintptr - gpColor4us uintptr - gpColor4usv uintptr - gpColor4xOES uintptr - gpColor4xvOES uintptr - gpColorFormatNV uintptr - gpColorFragmentOp1ATI uintptr - gpColorFragmentOp2ATI uintptr - gpColorFragmentOp3ATI uintptr - gpColorMask uintptr - gpColorMaskIndexedEXT uintptr - gpColorMaterial uintptr - gpColorPointer uintptr - gpColorPointerEXT uintptr - gpColorPointerListIBM uintptr - gpColorPointervINTEL uintptr - gpColorSubTableEXT uintptr - gpColorTableEXT uintptr - gpColorTableParameterfvSGI uintptr - gpColorTableParameterivSGI uintptr - gpColorTableSGI uintptr - gpCombinerInputNV uintptr - gpCombinerOutputNV uintptr - gpCombinerParameterfNV uintptr - gpCombinerParameterfvNV uintptr - gpCombinerParameteriNV uintptr - gpCombinerParameterivNV uintptr - gpCombinerStageParameterfvNV uintptr - gpCommandListSegmentsNV uintptr - gpCompileCommandListNV uintptr - gpCompileShader uintptr - gpCompileShaderARB uintptr - gpCompileShaderIncludeARB uintptr - gpCompressedMultiTexImage1DEXT uintptr - gpCompressedMultiTexImage2DEXT uintptr - gpCompressedMultiTexImage3DEXT uintptr - gpCompressedMultiTexSubImage1DEXT uintptr - gpCompressedMultiTexSubImage2DEXT uintptr - gpCompressedMultiTexSubImage3DEXT uintptr - gpCompressedTexImage1D uintptr - gpCompressedTexImage1DARB uintptr - gpCompressedTexImage2D uintptr - gpCompressedTexImage2DARB uintptr - gpCompressedTexImage3D uintptr - gpCompressedTexImage3DARB uintptr - gpCompressedTexSubImage1D uintptr - gpCompressedTexSubImage1DARB uintptr - gpCompressedTexSubImage2D uintptr - gpCompressedTexSubImage2DARB uintptr - gpCompressedTexSubImage3D uintptr - gpCompressedTexSubImage3DARB uintptr - gpCompressedTextureImage1DEXT uintptr - gpCompressedTextureImage2DEXT uintptr - gpCompressedTextureImage3DEXT uintptr - gpCompressedTextureSubImage1D uintptr - gpCompressedTextureSubImage1DEXT uintptr - gpCompressedTextureSubImage2D uintptr - gpCompressedTextureSubImage2DEXT uintptr - gpCompressedTextureSubImage3D uintptr - gpCompressedTextureSubImage3DEXT uintptr - gpConservativeRasterParameterfNV uintptr - gpConservativeRasterParameteriNV uintptr - gpConvolutionFilter1DEXT uintptr - gpConvolutionFilter2DEXT uintptr - gpConvolutionParameterfEXT uintptr - gpConvolutionParameterfvEXT uintptr - gpConvolutionParameteriEXT uintptr - gpConvolutionParameterivEXT uintptr - gpConvolutionParameterxOES uintptr - gpConvolutionParameterxvOES uintptr - gpCopyBufferSubData uintptr - gpCopyColorSubTableEXT uintptr - gpCopyColorTableSGI uintptr - gpCopyConvolutionFilter1DEXT uintptr - gpCopyConvolutionFilter2DEXT uintptr - gpCopyImageSubData uintptr - gpCopyImageSubDataNV uintptr - gpCopyMultiTexImage1DEXT uintptr - gpCopyMultiTexImage2DEXT uintptr - gpCopyMultiTexSubImage1DEXT uintptr - gpCopyMultiTexSubImage2DEXT uintptr - gpCopyMultiTexSubImage3DEXT uintptr - gpCopyNamedBufferSubData uintptr - gpCopyPathNV uintptr - gpCopyPixels uintptr - gpCopyTexImage1D uintptr - gpCopyTexImage1DEXT uintptr - gpCopyTexImage2D uintptr - gpCopyTexImage2DEXT uintptr - gpCopyTexSubImage1D uintptr - gpCopyTexSubImage1DEXT uintptr - gpCopyTexSubImage2D uintptr - gpCopyTexSubImage2DEXT uintptr - gpCopyTexSubImage3D uintptr - gpCopyTexSubImage3DEXT uintptr - gpCopyTextureImage1DEXT uintptr - gpCopyTextureImage2DEXT uintptr - gpCopyTextureSubImage1D uintptr - gpCopyTextureSubImage1DEXT uintptr - gpCopyTextureSubImage2D uintptr - gpCopyTextureSubImage2DEXT uintptr - gpCopyTextureSubImage3D uintptr - gpCopyTextureSubImage3DEXT uintptr - gpCoverFillPathInstancedNV uintptr - gpCoverFillPathNV uintptr - gpCoverStrokePathInstancedNV uintptr - gpCoverStrokePathNV uintptr - gpCoverageModulationNV uintptr - gpCoverageModulationTableNV uintptr - gpCreateBuffers uintptr - gpCreateCommandListsNV uintptr - gpCreateFramebuffers uintptr - gpCreateMemoryObjectsEXT uintptr - gpCreatePerfQueryINTEL uintptr - gpCreateProgram uintptr - gpCreateProgramObjectARB uintptr - gpCreateProgramPipelines uintptr - gpCreateQueries uintptr - gpCreateRenderbuffers uintptr - gpCreateSamplers uintptr - gpCreateShader uintptr - gpCreateShaderObjectARB uintptr - gpCreateShaderProgramEXT uintptr - gpCreateShaderProgramv uintptr - gpCreateShaderProgramvEXT uintptr - gpCreateStatesNV uintptr - gpCreateSyncFromCLeventARB uintptr - gpCreateTextures uintptr - gpCreateTransformFeedbacks uintptr - gpCreateVertexArrays uintptr - gpCullFace uintptr - gpCullParameterdvEXT uintptr - gpCullParameterfvEXT uintptr - gpCurrentPaletteMatrixARB uintptr - gpDebugMessageCallback uintptr - gpDebugMessageCallbackAMD uintptr - gpDebugMessageCallbackARB uintptr - gpDebugMessageCallbackKHR uintptr - gpDebugMessageControl uintptr - gpDebugMessageControlARB uintptr - gpDebugMessageControlKHR uintptr - gpDebugMessageEnableAMD uintptr - gpDebugMessageInsert uintptr - gpDebugMessageInsertAMD uintptr - gpDebugMessageInsertARB uintptr - gpDebugMessageInsertKHR uintptr - gpDeformSGIX uintptr - gpDeformationMap3dSGIX uintptr - gpDeformationMap3fSGIX uintptr - gpDeleteAsyncMarkersSGIX uintptr - gpDeleteBuffers uintptr - gpDeleteBuffersARB uintptr - gpDeleteCommandListsNV uintptr - gpDeleteFencesAPPLE uintptr - gpDeleteFencesNV uintptr - gpDeleteFragmentShaderATI uintptr - gpDeleteFramebuffers uintptr - gpDeleteFramebuffersEXT uintptr - gpDeleteLists uintptr - gpDeleteMemoryObjectsEXT uintptr - gpDeleteNamedStringARB uintptr - gpDeleteNamesAMD uintptr - gpDeleteObjectARB uintptr - gpDeleteOcclusionQueriesNV uintptr - gpDeletePathsNV uintptr - gpDeletePerfMonitorsAMD uintptr - gpDeletePerfQueryINTEL uintptr - gpDeleteProgram uintptr - gpDeleteProgramPipelines uintptr - gpDeleteProgramPipelinesEXT uintptr - gpDeleteProgramsARB uintptr - gpDeleteProgramsNV uintptr - gpDeleteQueries uintptr - gpDeleteQueriesARB uintptr - gpDeleteQueryResourceTagNV uintptr - gpDeleteRenderbuffers uintptr - gpDeleteRenderbuffersEXT uintptr - gpDeleteSamplers uintptr - gpDeleteSemaphoresEXT uintptr - gpDeleteShader uintptr - gpDeleteStatesNV uintptr - gpDeleteSync uintptr - gpDeleteTextures uintptr - gpDeleteTexturesEXT uintptr - gpDeleteTransformFeedbacks uintptr - gpDeleteTransformFeedbacksNV uintptr - gpDeleteVertexArrays uintptr - gpDeleteVertexArraysAPPLE uintptr - gpDeleteVertexShaderEXT uintptr - gpDepthBoundsEXT uintptr - gpDepthBoundsdNV uintptr - gpDepthFunc uintptr - gpDepthMask uintptr - gpDepthRange uintptr - gpDepthRangeArrayv uintptr - gpDepthRangeIndexed uintptr - gpDepthRangedNV uintptr - gpDepthRangef uintptr - gpDepthRangefOES uintptr - gpDepthRangexOES uintptr - gpDetachObjectARB uintptr - gpDetachShader uintptr - gpDetailTexFuncSGIS uintptr - gpDisable uintptr - gpDisableClientState uintptr - gpDisableClientStateIndexedEXT uintptr - gpDisableClientStateiEXT uintptr - gpDisableIndexedEXT uintptr - gpDisableVariantClientStateEXT uintptr - gpDisableVertexArrayAttrib uintptr - gpDisableVertexArrayAttribEXT uintptr - gpDisableVertexArrayEXT uintptr - gpDisableVertexAttribAPPLE uintptr - gpDisableVertexAttribArray uintptr - gpDisableVertexAttribArrayARB uintptr - gpDispatchCompute uintptr - gpDispatchComputeGroupSizeARB uintptr - gpDispatchComputeIndirect uintptr - gpDrawArrays uintptr - gpDrawArraysEXT uintptr - gpDrawArraysIndirect uintptr - gpDrawArraysInstancedARB uintptr - gpDrawArraysInstancedBaseInstance uintptr - gpDrawArraysInstancedEXT uintptr - gpDrawBuffer uintptr - gpDrawBuffers uintptr - gpDrawBuffersARB uintptr - gpDrawBuffersATI uintptr - gpDrawCommandsAddressNV uintptr - gpDrawCommandsNV uintptr - gpDrawCommandsStatesAddressNV uintptr - gpDrawCommandsStatesNV uintptr - gpDrawElementArrayAPPLE uintptr - gpDrawElementArrayATI uintptr - gpDrawElements uintptr - gpDrawElementsBaseVertex uintptr - gpDrawElementsIndirect uintptr - gpDrawElementsInstancedARB uintptr - gpDrawElementsInstancedBaseInstance uintptr - gpDrawElementsInstancedBaseVertex uintptr - gpDrawElementsInstancedBaseVertexBaseInstance uintptr - gpDrawElementsInstancedEXT uintptr - gpDrawMeshArraysSUN uintptr - gpDrawPixels uintptr - gpDrawRangeElementArrayAPPLE uintptr - gpDrawRangeElementArrayATI uintptr - gpDrawRangeElements uintptr - gpDrawRangeElementsBaseVertex uintptr - gpDrawRangeElementsEXT uintptr - gpDrawTextureNV uintptr - gpDrawTransformFeedback uintptr - gpDrawTransformFeedbackInstanced uintptr - gpDrawTransformFeedbackNV uintptr - gpDrawTransformFeedbackStream uintptr - gpDrawTransformFeedbackStreamInstanced uintptr - gpDrawVkImageNV uintptr - gpEGLImageTargetTexStorageEXT uintptr - gpEGLImageTargetTextureStorageEXT uintptr - gpEdgeFlag uintptr - gpEdgeFlagFormatNV uintptr - gpEdgeFlagPointer uintptr - gpEdgeFlagPointerEXT uintptr - gpEdgeFlagPointerListIBM uintptr - gpEdgeFlagv uintptr - gpElementPointerAPPLE uintptr - gpElementPointerATI uintptr - gpEnable uintptr - gpEnableClientState uintptr - gpEnableClientStateIndexedEXT uintptr - gpEnableClientStateiEXT uintptr - gpEnableIndexedEXT uintptr - gpEnableVariantClientStateEXT uintptr - gpEnableVertexArrayAttrib uintptr - gpEnableVertexArrayAttribEXT uintptr - gpEnableVertexArrayEXT uintptr - gpEnableVertexAttribAPPLE uintptr - gpEnableVertexAttribArray uintptr - gpEnableVertexAttribArrayARB uintptr - gpEnd uintptr - gpEndConditionalRenderNV uintptr - gpEndConditionalRenderNVX uintptr - gpEndFragmentShaderATI uintptr - gpEndList uintptr - gpEndOcclusionQueryNV uintptr - gpEndPerfMonitorAMD uintptr - gpEndPerfQueryINTEL uintptr - gpEndQuery uintptr - gpEndQueryARB uintptr - gpEndQueryIndexed uintptr - gpEndTransformFeedbackEXT uintptr - gpEndTransformFeedbackNV uintptr - gpEndVertexShaderEXT uintptr - gpEndVideoCaptureNV uintptr - gpEvalCoord1d uintptr - gpEvalCoord1dv uintptr - gpEvalCoord1f uintptr - gpEvalCoord1fv uintptr - gpEvalCoord1xOES uintptr - gpEvalCoord1xvOES uintptr - gpEvalCoord2d uintptr - gpEvalCoord2dv uintptr - gpEvalCoord2f uintptr - gpEvalCoord2fv uintptr - gpEvalCoord2xOES uintptr - gpEvalCoord2xvOES uintptr - gpEvalMapsNV uintptr - gpEvalMesh1 uintptr - gpEvalMesh2 uintptr - gpEvalPoint1 uintptr - gpEvalPoint2 uintptr - gpEvaluateDepthValuesARB uintptr - gpExecuteProgramNV uintptr - gpExtractComponentEXT uintptr - gpFeedbackBuffer uintptr - gpFeedbackBufferxOES uintptr - gpFenceSync uintptr - gpFinalCombinerInputNV uintptr - gpFinish uintptr - gpFinishAsyncSGIX uintptr - gpFinishFenceAPPLE uintptr - gpFinishFenceNV uintptr - gpFinishObjectAPPLE uintptr - gpFinishTextureSUNX uintptr - gpFlush uintptr - gpFlushMappedBufferRange uintptr - gpFlushMappedBufferRangeAPPLE uintptr - gpFlushMappedNamedBufferRange uintptr - gpFlushMappedNamedBufferRangeEXT uintptr - gpFlushPixelDataRangeNV uintptr - gpFlushRasterSGIX uintptr - gpFlushStaticDataIBM uintptr - gpFlushVertexArrayRangeAPPLE uintptr - gpFlushVertexArrayRangeNV uintptr - gpFogCoordFormatNV uintptr - gpFogCoordPointer uintptr - gpFogCoordPointerEXT uintptr - gpFogCoordPointerListIBM uintptr - gpFogCoordd uintptr - gpFogCoorddEXT uintptr - gpFogCoorddv uintptr - gpFogCoorddvEXT uintptr - gpFogCoordf uintptr - gpFogCoordfEXT uintptr - gpFogCoordfv uintptr - gpFogCoordfvEXT uintptr - gpFogCoordhNV uintptr - gpFogCoordhvNV uintptr - gpFogFuncSGIS uintptr - gpFogf uintptr - gpFogfv uintptr - gpFogi uintptr - gpFogiv uintptr - gpFogxOES uintptr - gpFogxvOES uintptr - gpFragmentColorMaterialSGIX uintptr - gpFragmentCoverageColorNV uintptr - gpFragmentLightModelfSGIX uintptr - gpFragmentLightModelfvSGIX uintptr - gpFragmentLightModeliSGIX uintptr - gpFragmentLightModelivSGIX uintptr - gpFragmentLightfSGIX uintptr - gpFragmentLightfvSGIX uintptr - gpFragmentLightiSGIX uintptr - gpFragmentLightivSGIX uintptr - gpFragmentMaterialfSGIX uintptr - gpFragmentMaterialfvSGIX uintptr - gpFragmentMaterialiSGIX uintptr - gpFragmentMaterialivSGIX uintptr - gpFrameTerminatorGREMEDY uintptr - gpFrameZoomSGIX uintptr - gpFramebufferDrawBufferEXT uintptr - gpFramebufferDrawBuffersEXT uintptr - gpFramebufferFetchBarrierEXT uintptr - gpFramebufferParameteri uintptr - gpFramebufferReadBufferEXT uintptr - gpFramebufferRenderbuffer uintptr - gpFramebufferRenderbufferEXT uintptr - gpFramebufferSampleLocationsfvARB uintptr - gpFramebufferSampleLocationsfvNV uintptr - gpFramebufferSamplePositionsfvAMD uintptr - gpFramebufferTexture1D uintptr - gpFramebufferTexture1DEXT uintptr - gpFramebufferTexture2D uintptr - gpFramebufferTexture2DEXT uintptr - gpFramebufferTexture3D uintptr - gpFramebufferTexture3DEXT uintptr - gpFramebufferTextureARB uintptr - gpFramebufferTextureEXT uintptr - gpFramebufferTextureFaceARB uintptr - gpFramebufferTextureFaceEXT uintptr - gpFramebufferTextureLayer uintptr - gpFramebufferTextureLayerARB uintptr - gpFramebufferTextureLayerEXT uintptr - gpFramebufferTextureMultiviewOVR uintptr - gpFreeObjectBufferATI uintptr - gpFrontFace uintptr - gpFrustum uintptr - gpFrustumfOES uintptr - gpFrustumxOES uintptr - gpGenAsyncMarkersSGIX uintptr - gpGenBuffers uintptr - gpGenBuffersARB uintptr - gpGenFencesAPPLE uintptr - gpGenFencesNV uintptr - gpGenFragmentShadersATI uintptr - gpGenFramebuffers uintptr - gpGenFramebuffersEXT uintptr - gpGenLists uintptr - gpGenNamesAMD uintptr - gpGenOcclusionQueriesNV uintptr - gpGenPathsNV uintptr - gpGenPerfMonitorsAMD uintptr - gpGenProgramPipelines uintptr - gpGenProgramPipelinesEXT uintptr - gpGenProgramsARB uintptr - gpGenProgramsNV uintptr - gpGenQueries uintptr - gpGenQueriesARB uintptr - gpGenQueryResourceTagNV uintptr - gpGenRenderbuffers uintptr - gpGenRenderbuffersEXT uintptr - gpGenSamplers uintptr - gpGenSemaphoresEXT uintptr - gpGenSymbolsEXT uintptr - gpGenTextures uintptr - gpGenTexturesEXT uintptr - gpGenTransformFeedbacks uintptr - gpGenTransformFeedbacksNV uintptr - gpGenVertexArrays uintptr - gpGenVertexArraysAPPLE uintptr - gpGenVertexShadersEXT uintptr - gpGenerateMipmap uintptr - gpGenerateMipmapEXT uintptr - gpGenerateMultiTexMipmapEXT uintptr - gpGenerateTextureMipmap uintptr - gpGenerateTextureMipmapEXT uintptr - gpGetActiveAtomicCounterBufferiv uintptr - gpGetActiveAttrib uintptr - gpGetActiveAttribARB uintptr - gpGetActiveSubroutineName uintptr - gpGetActiveSubroutineUniformName uintptr - gpGetActiveSubroutineUniformiv uintptr - gpGetActiveUniform uintptr - gpGetActiveUniformARB uintptr - gpGetActiveUniformBlockName uintptr - gpGetActiveUniformBlockiv uintptr - gpGetActiveUniformName uintptr - gpGetActiveUniformsiv uintptr - gpGetActiveVaryingNV uintptr - gpGetArrayObjectfvATI uintptr - gpGetArrayObjectivATI uintptr - gpGetAttachedObjectsARB uintptr - gpGetAttachedShaders uintptr - gpGetAttribLocation uintptr - gpGetAttribLocationARB uintptr - gpGetBooleanIndexedvEXT uintptr - gpGetBooleanv uintptr - gpGetBufferParameteriv uintptr - gpGetBufferParameterivARB uintptr - gpGetBufferParameterui64vNV uintptr - gpGetBufferPointerv uintptr - gpGetBufferPointervARB uintptr - gpGetBufferSubData uintptr - gpGetBufferSubDataARB uintptr - gpGetClipPlane uintptr - gpGetClipPlanefOES uintptr - gpGetClipPlanexOES uintptr - gpGetColorTableEXT uintptr - gpGetColorTableParameterfvEXT uintptr - gpGetColorTableParameterfvSGI uintptr - gpGetColorTableParameterivEXT uintptr - gpGetColorTableParameterivSGI uintptr - gpGetColorTableSGI uintptr - gpGetCombinerInputParameterfvNV uintptr - gpGetCombinerInputParameterivNV uintptr - gpGetCombinerOutputParameterfvNV uintptr - gpGetCombinerOutputParameterivNV uintptr - gpGetCombinerStageParameterfvNV uintptr - gpGetCommandHeaderNV uintptr - gpGetCompressedMultiTexImageEXT uintptr - gpGetCompressedTexImage uintptr - gpGetCompressedTexImageARB uintptr - gpGetCompressedTextureImage uintptr - gpGetCompressedTextureImageEXT uintptr - gpGetCompressedTextureSubImage uintptr - gpGetConvolutionFilterEXT uintptr - gpGetConvolutionParameterfvEXT uintptr - gpGetConvolutionParameterivEXT uintptr - gpGetConvolutionParameterxvOES uintptr - gpGetCoverageModulationTableNV uintptr - gpGetDebugMessageLog uintptr - gpGetDebugMessageLogAMD uintptr - gpGetDebugMessageLogARB uintptr - gpGetDebugMessageLogKHR uintptr - gpGetDetailTexFuncSGIS uintptr - gpGetDoubleIndexedvEXT uintptr - gpGetDoublei_v uintptr - gpGetDoublei_vEXT uintptr - gpGetDoublev uintptr - gpGetError uintptr - gpGetFenceivNV uintptr - gpGetFinalCombinerInputParameterfvNV uintptr - gpGetFinalCombinerInputParameterivNV uintptr - gpGetFirstPerfQueryIdINTEL uintptr - gpGetFixedvOES uintptr - gpGetFloatIndexedvEXT uintptr - gpGetFloati_v uintptr - gpGetFloati_vEXT uintptr - gpGetFloatv uintptr - gpGetFogFuncSGIS uintptr - gpGetFragDataIndex uintptr - gpGetFragDataLocationEXT uintptr - gpGetFragmentLightfvSGIX uintptr - gpGetFragmentLightivSGIX uintptr - gpGetFragmentMaterialfvSGIX uintptr - gpGetFragmentMaterialivSGIX uintptr - gpGetFramebufferAttachmentParameteriv uintptr - gpGetFramebufferAttachmentParameterivEXT uintptr - gpGetFramebufferParameterfvAMD uintptr - gpGetFramebufferParameteriv uintptr - gpGetFramebufferParameterivEXT uintptr - gpGetGraphicsResetStatus uintptr - gpGetGraphicsResetStatusARB uintptr - gpGetGraphicsResetStatusKHR uintptr - gpGetHandleARB uintptr - gpGetHistogramEXT uintptr - gpGetHistogramParameterfvEXT uintptr - gpGetHistogramParameterivEXT uintptr - gpGetHistogramParameterxvOES uintptr - gpGetImageHandleARB uintptr - gpGetImageHandleNV uintptr - gpGetImageTransformParameterfvHP uintptr - gpGetImageTransformParameterivHP uintptr - gpGetInfoLogARB uintptr - gpGetInstrumentsSGIX uintptr - gpGetInteger64v uintptr - gpGetIntegerIndexedvEXT uintptr - gpGetIntegeri_v uintptr - gpGetIntegerui64i_vNV uintptr - gpGetIntegerui64vNV uintptr - gpGetIntegerv uintptr - gpGetInternalformatSampleivNV uintptr - gpGetInternalformati64v uintptr - gpGetInternalformativ uintptr - gpGetInvariantBooleanvEXT uintptr - gpGetInvariantFloatvEXT uintptr - gpGetInvariantIntegervEXT uintptr - gpGetLightfv uintptr - gpGetLightiv uintptr - gpGetLightxOES uintptr - gpGetLightxvOES uintptr - gpGetListParameterfvSGIX uintptr - gpGetListParameterivSGIX uintptr - gpGetLocalConstantBooleanvEXT uintptr - gpGetLocalConstantFloatvEXT uintptr - gpGetLocalConstantIntegervEXT uintptr - gpGetMapAttribParameterfvNV uintptr - gpGetMapAttribParameterivNV uintptr - gpGetMapControlPointsNV uintptr - gpGetMapParameterfvNV uintptr - gpGetMapParameterivNV uintptr - gpGetMapdv uintptr - gpGetMapfv uintptr - gpGetMapiv uintptr - gpGetMapxvOES uintptr - gpGetMaterialfv uintptr - gpGetMaterialiv uintptr - gpGetMaterialxOES uintptr - gpGetMaterialxvOES uintptr - gpGetMemoryObjectParameterivEXT uintptr - gpGetMinmaxEXT uintptr - gpGetMinmaxParameterfvEXT uintptr - gpGetMinmaxParameterivEXT uintptr - gpGetMultiTexEnvfvEXT uintptr - gpGetMultiTexEnvivEXT uintptr - gpGetMultiTexGendvEXT uintptr - gpGetMultiTexGenfvEXT uintptr - gpGetMultiTexGenivEXT uintptr - gpGetMultiTexImageEXT uintptr - gpGetMultiTexLevelParameterfvEXT uintptr - gpGetMultiTexLevelParameterivEXT uintptr - gpGetMultiTexParameterIivEXT uintptr - gpGetMultiTexParameterIuivEXT uintptr - gpGetMultiTexParameterfvEXT uintptr - gpGetMultiTexParameterivEXT uintptr - gpGetMultisamplefv uintptr - gpGetMultisamplefvNV uintptr - gpGetNamedBufferParameteri64v uintptr - gpGetNamedBufferParameteriv uintptr - gpGetNamedBufferParameterivEXT uintptr - gpGetNamedBufferParameterui64vNV uintptr - gpGetNamedBufferPointerv uintptr - gpGetNamedBufferPointervEXT uintptr - gpGetNamedBufferSubData uintptr - gpGetNamedBufferSubDataEXT uintptr - gpGetNamedFramebufferAttachmentParameteriv uintptr - gpGetNamedFramebufferAttachmentParameterivEXT uintptr - gpGetNamedFramebufferParameterfvAMD uintptr - gpGetNamedFramebufferParameteriv uintptr - gpGetNamedFramebufferParameterivEXT uintptr - gpGetNamedProgramLocalParameterIivEXT uintptr - gpGetNamedProgramLocalParameterIuivEXT uintptr - gpGetNamedProgramLocalParameterdvEXT uintptr - gpGetNamedProgramLocalParameterfvEXT uintptr - gpGetNamedProgramStringEXT uintptr - gpGetNamedProgramivEXT uintptr - gpGetNamedRenderbufferParameteriv uintptr - gpGetNamedRenderbufferParameterivEXT uintptr - gpGetNamedStringARB uintptr - gpGetNamedStringivARB uintptr - gpGetNextPerfQueryIdINTEL uintptr - gpGetObjectBufferfvATI uintptr - gpGetObjectBufferivATI uintptr - gpGetObjectLabel uintptr - gpGetObjectLabelEXT uintptr - gpGetObjectLabelKHR uintptr - gpGetObjectParameterfvARB uintptr - gpGetObjectParameterivAPPLE uintptr - gpGetObjectParameterivARB uintptr - gpGetObjectPtrLabel uintptr - gpGetObjectPtrLabelKHR uintptr - gpGetOcclusionQueryivNV uintptr - gpGetOcclusionQueryuivNV uintptr - gpGetPathCommandsNV uintptr - gpGetPathCoordsNV uintptr - gpGetPathDashArrayNV uintptr - gpGetPathLengthNV uintptr - gpGetPathMetricRangeNV uintptr - gpGetPathMetricsNV uintptr - gpGetPathParameterfvNV uintptr - gpGetPathParameterivNV uintptr - gpGetPathSpacingNV uintptr - gpGetPerfCounterInfoINTEL uintptr - gpGetPerfMonitorCounterDataAMD uintptr - gpGetPerfMonitorCounterInfoAMD uintptr - gpGetPerfMonitorCounterStringAMD uintptr - gpGetPerfMonitorCountersAMD uintptr - gpGetPerfMonitorGroupStringAMD uintptr - gpGetPerfMonitorGroupsAMD uintptr - gpGetPerfQueryDataINTEL uintptr - gpGetPerfQueryIdByNameINTEL uintptr - gpGetPerfQueryInfoINTEL uintptr - gpGetPixelMapfv uintptr - gpGetPixelMapuiv uintptr - gpGetPixelMapusv uintptr - gpGetPixelMapxv uintptr - gpGetPixelTexGenParameterfvSGIS uintptr - gpGetPixelTexGenParameterivSGIS uintptr - gpGetPixelTransformParameterfvEXT uintptr - gpGetPixelTransformParameterivEXT uintptr - gpGetPointerIndexedvEXT uintptr - gpGetPointeri_vEXT uintptr - gpGetPointerv uintptr - gpGetPointervEXT uintptr - gpGetPointervKHR uintptr - gpGetPolygonStipple uintptr - gpGetProgramBinary uintptr - gpGetProgramEnvParameterIivNV uintptr - gpGetProgramEnvParameterIuivNV uintptr - gpGetProgramEnvParameterdvARB uintptr - gpGetProgramEnvParameterfvARB uintptr - gpGetProgramInfoLog uintptr - gpGetProgramInterfaceiv uintptr - gpGetProgramLocalParameterIivNV uintptr - gpGetProgramLocalParameterIuivNV uintptr - gpGetProgramLocalParameterdvARB uintptr - gpGetProgramLocalParameterfvARB uintptr - gpGetProgramNamedParameterdvNV uintptr - gpGetProgramNamedParameterfvNV uintptr - gpGetProgramParameterdvNV uintptr - gpGetProgramParameterfvNV uintptr - gpGetProgramPipelineInfoLog uintptr - gpGetProgramPipelineInfoLogEXT uintptr - gpGetProgramPipelineiv uintptr - gpGetProgramPipelineivEXT uintptr - gpGetProgramResourceIndex uintptr - gpGetProgramResourceLocation uintptr - gpGetProgramResourceLocationIndex uintptr - gpGetProgramResourceName uintptr - gpGetProgramResourcefvNV uintptr - gpGetProgramResourceiv uintptr - gpGetProgramStageiv uintptr - gpGetProgramStringARB uintptr - gpGetProgramStringNV uintptr - gpGetProgramSubroutineParameteruivNV uintptr - gpGetProgramiv uintptr - gpGetProgramivARB uintptr - gpGetProgramivNV uintptr - gpGetQueryBufferObjecti64v uintptr - gpGetQueryBufferObjectiv uintptr - gpGetQueryBufferObjectui64v uintptr - gpGetQueryBufferObjectuiv uintptr - gpGetQueryIndexediv uintptr - gpGetQueryObjecti64v uintptr - gpGetQueryObjecti64vEXT uintptr - gpGetQueryObjectiv uintptr - gpGetQueryObjectivARB uintptr - gpGetQueryObjectui64v uintptr - gpGetQueryObjectui64vEXT uintptr - gpGetQueryObjectuiv uintptr - gpGetQueryObjectuivARB uintptr - gpGetQueryiv uintptr - gpGetQueryivARB uintptr - gpGetRenderbufferParameteriv uintptr - gpGetRenderbufferParameterivEXT uintptr - gpGetSamplerParameterIiv uintptr - gpGetSamplerParameterIuiv uintptr - gpGetSamplerParameterfv uintptr - gpGetSamplerParameteriv uintptr - gpGetSemaphoreParameterui64vEXT uintptr - gpGetSeparableFilterEXT uintptr - gpGetShaderInfoLog uintptr - gpGetShaderPrecisionFormat uintptr - gpGetShaderSource uintptr - gpGetShaderSourceARB uintptr - gpGetShaderiv uintptr - gpGetSharpenTexFuncSGIS uintptr - gpGetStageIndexNV uintptr - gpGetString uintptr - gpGetSubroutineIndex uintptr - gpGetSubroutineUniformLocation uintptr - gpGetSynciv uintptr - gpGetTexBumpParameterfvATI uintptr - gpGetTexBumpParameterivATI uintptr - gpGetTexEnvfv uintptr - gpGetTexEnviv uintptr - gpGetTexEnvxvOES uintptr - gpGetTexFilterFuncSGIS uintptr - gpGetTexGendv uintptr - gpGetTexGenfv uintptr - gpGetTexGeniv uintptr - gpGetTexGenxvOES uintptr - gpGetTexImage uintptr - gpGetTexLevelParameterfv uintptr - gpGetTexLevelParameteriv uintptr - gpGetTexLevelParameterxvOES uintptr - gpGetTexParameterIivEXT uintptr - gpGetTexParameterIuivEXT uintptr - gpGetTexParameterPointervAPPLE uintptr - gpGetTexParameterfv uintptr - gpGetTexParameteriv uintptr - gpGetTexParameterxvOES uintptr - gpGetTextureHandleARB uintptr - gpGetTextureHandleNV uintptr - gpGetTextureImage uintptr - gpGetTextureImageEXT uintptr - gpGetTextureLevelParameterfv uintptr - gpGetTextureLevelParameterfvEXT uintptr - gpGetTextureLevelParameteriv uintptr - gpGetTextureLevelParameterivEXT uintptr - gpGetTextureParameterIiv uintptr - gpGetTextureParameterIivEXT uintptr - gpGetTextureParameterIuiv uintptr - gpGetTextureParameterIuivEXT uintptr - gpGetTextureParameterfv uintptr - gpGetTextureParameterfvEXT uintptr - gpGetTextureParameteriv uintptr - gpGetTextureParameterivEXT uintptr - gpGetTextureSamplerHandleARB uintptr - gpGetTextureSamplerHandleNV uintptr - gpGetTextureSubImage uintptr - gpGetTrackMatrixivNV uintptr - gpGetTransformFeedbackVaryingEXT uintptr - gpGetTransformFeedbackVaryingNV uintptr - gpGetTransformFeedbacki64_v uintptr - gpGetTransformFeedbacki_v uintptr - gpGetTransformFeedbackiv uintptr - gpGetUniformBlockIndex uintptr - gpGetUniformBufferSizeEXT uintptr - gpGetUniformIndices uintptr - gpGetUniformLocation uintptr - gpGetUniformLocationARB uintptr - gpGetUniformOffsetEXT uintptr - gpGetUniformSubroutineuiv uintptr - gpGetUniformdv uintptr - gpGetUniformfv uintptr - gpGetUniformfvARB uintptr - gpGetUniformi64vARB uintptr - gpGetUniformi64vNV uintptr - gpGetUniformiv uintptr - gpGetUniformivARB uintptr - gpGetUniformui64vARB uintptr - gpGetUniformui64vNV uintptr - gpGetUniformuivEXT uintptr - gpGetUnsignedBytei_vEXT uintptr - gpGetUnsignedBytevEXT uintptr - gpGetVariantArrayObjectfvATI uintptr - gpGetVariantArrayObjectivATI uintptr - gpGetVariantBooleanvEXT uintptr - gpGetVariantFloatvEXT uintptr - gpGetVariantIntegervEXT uintptr - gpGetVariantPointervEXT uintptr - gpGetVaryingLocationNV uintptr - gpGetVertexArrayIndexed64iv uintptr - gpGetVertexArrayIndexediv uintptr - gpGetVertexArrayIntegeri_vEXT uintptr - gpGetVertexArrayIntegervEXT uintptr - gpGetVertexArrayPointeri_vEXT uintptr - gpGetVertexArrayPointervEXT uintptr - gpGetVertexArrayiv uintptr - gpGetVertexAttribArrayObjectfvATI uintptr - gpGetVertexAttribArrayObjectivATI uintptr - gpGetVertexAttribIivEXT uintptr - gpGetVertexAttribIuivEXT uintptr - gpGetVertexAttribLdv uintptr - gpGetVertexAttribLdvEXT uintptr - gpGetVertexAttribLi64vNV uintptr - gpGetVertexAttribLui64vARB uintptr - gpGetVertexAttribLui64vNV uintptr - gpGetVertexAttribPointerv uintptr - gpGetVertexAttribPointervARB uintptr - gpGetVertexAttribPointervNV uintptr - gpGetVertexAttribdv uintptr - gpGetVertexAttribdvARB uintptr - gpGetVertexAttribdvNV uintptr - gpGetVertexAttribfv uintptr - gpGetVertexAttribfvARB uintptr - gpGetVertexAttribfvNV uintptr - gpGetVertexAttribiv uintptr - gpGetVertexAttribivARB uintptr - gpGetVertexAttribivNV uintptr - gpGetVideoCaptureStreamdvNV uintptr - gpGetVideoCaptureStreamfvNV uintptr - gpGetVideoCaptureStreamivNV uintptr - gpGetVideoCaptureivNV uintptr - gpGetVideoi64vNV uintptr - gpGetVideoivNV uintptr - gpGetVideoui64vNV uintptr - gpGetVideouivNV uintptr - gpGetVkProcAddrNV uintptr - gpGetnCompressedTexImageARB uintptr - gpGetnTexImageARB uintptr - gpGetnUniformdvARB uintptr - gpGetnUniformfv uintptr - gpGetnUniformfvARB uintptr - gpGetnUniformfvKHR uintptr - gpGetnUniformi64vARB uintptr - gpGetnUniformiv uintptr - gpGetnUniformivARB uintptr - gpGetnUniformivKHR uintptr - gpGetnUniformui64vARB uintptr - gpGetnUniformuiv uintptr - gpGetnUniformuivARB uintptr - gpGetnUniformuivKHR uintptr - gpGlobalAlphaFactorbSUN uintptr - gpGlobalAlphaFactordSUN uintptr - gpGlobalAlphaFactorfSUN uintptr - gpGlobalAlphaFactoriSUN uintptr - gpGlobalAlphaFactorsSUN uintptr - gpGlobalAlphaFactorubSUN uintptr - gpGlobalAlphaFactoruiSUN uintptr - gpGlobalAlphaFactorusSUN uintptr - gpHint uintptr - gpHintPGI uintptr - gpHistogramEXT uintptr - gpIglooInterfaceSGIX uintptr - gpImageTransformParameterfHP uintptr - gpImageTransformParameterfvHP uintptr - gpImageTransformParameteriHP uintptr - gpImageTransformParameterivHP uintptr - gpImportMemoryFdEXT uintptr - gpImportMemoryWin32HandleEXT uintptr - gpImportMemoryWin32NameEXT uintptr - gpImportSemaphoreFdEXT uintptr - gpImportSemaphoreWin32HandleEXT uintptr - gpImportSemaphoreWin32NameEXT uintptr - gpImportSyncEXT uintptr - gpIndexFormatNV uintptr - gpIndexFuncEXT uintptr - gpIndexMask uintptr - gpIndexMaterialEXT uintptr - gpIndexPointer uintptr - gpIndexPointerEXT uintptr - gpIndexPointerListIBM uintptr - gpIndexd uintptr - gpIndexdv uintptr - gpIndexf uintptr - gpIndexfv uintptr - gpIndexi uintptr - gpIndexiv uintptr - gpIndexs uintptr - gpIndexsv uintptr - gpIndexub uintptr - gpIndexubv uintptr - gpIndexxOES uintptr - gpIndexxvOES uintptr - gpInitNames uintptr - gpInsertComponentEXT uintptr - gpInsertEventMarkerEXT uintptr - gpInstrumentsBufferSGIX uintptr - gpInterleavedArrays uintptr - gpInterpolatePathsNV uintptr - gpInvalidateBufferData uintptr - gpInvalidateBufferSubData uintptr - gpInvalidateFramebuffer uintptr - gpInvalidateNamedFramebufferData uintptr - gpInvalidateNamedFramebufferSubData uintptr - gpInvalidateSubFramebuffer uintptr - gpInvalidateTexImage uintptr - gpInvalidateTexSubImage uintptr - gpIsAsyncMarkerSGIX uintptr - gpIsBuffer uintptr - gpIsBufferARB uintptr - gpIsBufferResidentNV uintptr - gpIsCommandListNV uintptr - gpIsEnabled uintptr - gpIsEnabledIndexedEXT uintptr - gpIsFenceAPPLE uintptr - gpIsFenceNV uintptr - gpIsFramebuffer uintptr - gpIsFramebufferEXT uintptr - gpIsImageHandleResidentARB uintptr - gpIsImageHandleResidentNV uintptr - gpIsList uintptr - gpIsMemoryObjectEXT uintptr - gpIsNameAMD uintptr - gpIsNamedBufferResidentNV uintptr - gpIsNamedStringARB uintptr - gpIsObjectBufferATI uintptr - gpIsOcclusionQueryNV uintptr - gpIsPathNV uintptr - gpIsPointInFillPathNV uintptr - gpIsPointInStrokePathNV uintptr - gpIsProgram uintptr - gpIsProgramARB uintptr - gpIsProgramNV uintptr - gpIsProgramPipeline uintptr - gpIsProgramPipelineEXT uintptr - gpIsQuery uintptr - gpIsQueryARB uintptr - gpIsRenderbuffer uintptr - gpIsRenderbufferEXT uintptr - gpIsSampler uintptr - gpIsSemaphoreEXT uintptr - gpIsShader uintptr - gpIsStateNV uintptr - gpIsSync uintptr - gpIsTexture uintptr - gpIsTextureEXT uintptr - gpIsTextureHandleResidentARB uintptr - gpIsTextureHandleResidentNV uintptr - gpIsTransformFeedback uintptr - gpIsTransformFeedbackNV uintptr - gpIsVariantEnabledEXT uintptr - gpIsVertexArray uintptr - gpIsVertexArrayAPPLE uintptr - gpIsVertexAttribEnabledAPPLE uintptr - gpLGPUCopyImageSubDataNVX uintptr - gpLGPUInterlockNVX uintptr - gpLGPUNamedBufferSubDataNVX uintptr - gpLabelObjectEXT uintptr - gpLightEnviSGIX uintptr - gpLightModelf uintptr - gpLightModelfv uintptr - gpLightModeli uintptr - gpLightModeliv uintptr - gpLightModelxOES uintptr - gpLightModelxvOES uintptr - gpLightf uintptr - gpLightfv uintptr - gpLighti uintptr - gpLightiv uintptr - gpLightxOES uintptr - gpLightxvOES uintptr - gpLineStipple uintptr - gpLineWidth uintptr - gpLineWidthxOES uintptr - gpLinkProgram uintptr - gpLinkProgramARB uintptr - gpListBase uintptr - gpListDrawCommandsStatesClientNV uintptr - gpListParameterfSGIX uintptr - gpListParameterfvSGIX uintptr - gpListParameteriSGIX uintptr - gpListParameterivSGIX uintptr - gpLoadIdentity uintptr - gpLoadIdentityDeformationMapSGIX uintptr - gpLoadMatrixd uintptr - gpLoadMatrixf uintptr - gpLoadMatrixxOES uintptr - gpLoadName uintptr - gpLoadProgramNV uintptr - gpLoadTransposeMatrixd uintptr - gpLoadTransposeMatrixdARB uintptr - gpLoadTransposeMatrixf uintptr - gpLoadTransposeMatrixfARB uintptr - gpLoadTransposeMatrixxOES uintptr - gpLockArraysEXT uintptr - gpLogicOp uintptr - gpMakeBufferNonResidentNV uintptr - gpMakeBufferResidentNV uintptr - gpMakeImageHandleNonResidentARB uintptr - gpMakeImageHandleNonResidentNV uintptr - gpMakeImageHandleResidentARB uintptr - gpMakeImageHandleResidentNV uintptr - gpMakeNamedBufferNonResidentNV uintptr - gpMakeNamedBufferResidentNV uintptr - gpMakeTextureHandleNonResidentARB uintptr - gpMakeTextureHandleNonResidentNV uintptr - gpMakeTextureHandleResidentARB uintptr - gpMakeTextureHandleResidentNV uintptr - gpMap1d uintptr - gpMap1f uintptr - gpMap1xOES uintptr - gpMap2d uintptr - gpMap2f uintptr - gpMap2xOES uintptr - gpMapBuffer uintptr - gpMapBufferARB uintptr - gpMapBufferRange uintptr - gpMapControlPointsNV uintptr - gpMapGrid1d uintptr - gpMapGrid1f uintptr - gpMapGrid1xOES uintptr - gpMapGrid2d uintptr - gpMapGrid2f uintptr - gpMapGrid2xOES uintptr - gpMapNamedBuffer uintptr - gpMapNamedBufferEXT uintptr - gpMapNamedBufferRange uintptr - gpMapNamedBufferRangeEXT uintptr - gpMapObjectBufferATI uintptr - gpMapParameterfvNV uintptr - gpMapParameterivNV uintptr - gpMapTexture2DINTEL uintptr - gpMapVertexAttrib1dAPPLE uintptr - gpMapVertexAttrib1fAPPLE uintptr - gpMapVertexAttrib2dAPPLE uintptr - gpMapVertexAttrib2fAPPLE uintptr - gpMaterialf uintptr - gpMaterialfv uintptr - gpMateriali uintptr - gpMaterialiv uintptr - gpMaterialxOES uintptr - gpMaterialxvOES uintptr - gpMatrixFrustumEXT uintptr - gpMatrixIndexPointerARB uintptr - gpMatrixIndexubvARB uintptr - gpMatrixIndexuivARB uintptr - gpMatrixIndexusvARB uintptr - gpMatrixLoad3x2fNV uintptr - gpMatrixLoad3x3fNV uintptr - gpMatrixLoadIdentityEXT uintptr - gpMatrixLoadTranspose3x3fNV uintptr - gpMatrixLoadTransposedEXT uintptr - gpMatrixLoadTransposefEXT uintptr - gpMatrixLoaddEXT uintptr - gpMatrixLoadfEXT uintptr - gpMatrixMode uintptr - gpMatrixMult3x2fNV uintptr - gpMatrixMult3x3fNV uintptr - gpMatrixMultTranspose3x3fNV uintptr - gpMatrixMultTransposedEXT uintptr - gpMatrixMultTransposefEXT uintptr - gpMatrixMultdEXT uintptr - gpMatrixMultfEXT uintptr - gpMatrixOrthoEXT uintptr - gpMatrixPopEXT uintptr - gpMatrixPushEXT uintptr - gpMatrixRotatedEXT uintptr - gpMatrixRotatefEXT uintptr - gpMatrixScaledEXT uintptr - gpMatrixScalefEXT uintptr - gpMatrixTranslatedEXT uintptr - gpMatrixTranslatefEXT uintptr - gpMaxShaderCompilerThreadsARB uintptr - gpMaxShaderCompilerThreadsKHR uintptr - gpMemoryBarrier uintptr - gpMemoryBarrierByRegion uintptr - gpMemoryBarrierEXT uintptr - gpMemoryObjectParameterivEXT uintptr - gpMinSampleShadingARB uintptr - gpMinmaxEXT uintptr - gpMultMatrixd uintptr - gpMultMatrixf uintptr - gpMultMatrixxOES uintptr - gpMultTransposeMatrixd uintptr - gpMultTransposeMatrixdARB uintptr - gpMultTransposeMatrixf uintptr - gpMultTransposeMatrixfARB uintptr - gpMultTransposeMatrixxOES uintptr - gpMultiDrawArrays uintptr - gpMultiDrawArraysEXT uintptr - gpMultiDrawArraysIndirect uintptr - gpMultiDrawArraysIndirectAMD uintptr - gpMultiDrawArraysIndirectBindlessCountNV uintptr - gpMultiDrawArraysIndirectBindlessNV uintptr - gpMultiDrawArraysIndirectCountARB uintptr - gpMultiDrawElementArrayAPPLE uintptr - gpMultiDrawElements uintptr - gpMultiDrawElementsBaseVertex uintptr - gpMultiDrawElementsEXT uintptr - gpMultiDrawElementsIndirect uintptr - gpMultiDrawElementsIndirectAMD uintptr - gpMultiDrawElementsIndirectBindlessCountNV uintptr - gpMultiDrawElementsIndirectBindlessNV uintptr - gpMultiDrawElementsIndirectCountARB uintptr - gpMultiDrawRangeElementArrayAPPLE uintptr - gpMultiModeDrawArraysIBM uintptr - gpMultiModeDrawElementsIBM uintptr - gpMultiTexBufferEXT uintptr - gpMultiTexCoord1bOES uintptr - gpMultiTexCoord1bvOES uintptr - gpMultiTexCoord1d uintptr - gpMultiTexCoord1dARB uintptr - gpMultiTexCoord1dv uintptr - gpMultiTexCoord1dvARB uintptr - gpMultiTexCoord1f uintptr - gpMultiTexCoord1fARB uintptr - gpMultiTexCoord1fv uintptr - gpMultiTexCoord1fvARB uintptr - gpMultiTexCoord1hNV uintptr - gpMultiTexCoord1hvNV uintptr - gpMultiTexCoord1i uintptr - gpMultiTexCoord1iARB uintptr - gpMultiTexCoord1iv uintptr - gpMultiTexCoord1ivARB uintptr - gpMultiTexCoord1s uintptr - gpMultiTexCoord1sARB uintptr - gpMultiTexCoord1sv uintptr - gpMultiTexCoord1svARB uintptr - gpMultiTexCoord1xOES uintptr - gpMultiTexCoord1xvOES uintptr - gpMultiTexCoord2bOES uintptr - gpMultiTexCoord2bvOES uintptr - gpMultiTexCoord2d uintptr - gpMultiTexCoord2dARB uintptr - gpMultiTexCoord2dv uintptr - gpMultiTexCoord2dvARB uintptr - gpMultiTexCoord2f uintptr - gpMultiTexCoord2fARB uintptr - gpMultiTexCoord2fv uintptr - gpMultiTexCoord2fvARB uintptr - gpMultiTexCoord2hNV uintptr - gpMultiTexCoord2hvNV uintptr - gpMultiTexCoord2i uintptr - gpMultiTexCoord2iARB uintptr - gpMultiTexCoord2iv uintptr - gpMultiTexCoord2ivARB uintptr - gpMultiTexCoord2s uintptr - gpMultiTexCoord2sARB uintptr - gpMultiTexCoord2sv uintptr - gpMultiTexCoord2svARB uintptr - gpMultiTexCoord2xOES uintptr - gpMultiTexCoord2xvOES uintptr - gpMultiTexCoord3bOES uintptr - gpMultiTexCoord3bvOES uintptr - gpMultiTexCoord3d uintptr - gpMultiTexCoord3dARB uintptr - gpMultiTexCoord3dv uintptr - gpMultiTexCoord3dvARB uintptr - gpMultiTexCoord3f uintptr - gpMultiTexCoord3fARB uintptr - gpMultiTexCoord3fv uintptr - gpMultiTexCoord3fvARB uintptr - gpMultiTexCoord3hNV uintptr - gpMultiTexCoord3hvNV uintptr - gpMultiTexCoord3i uintptr - gpMultiTexCoord3iARB uintptr - gpMultiTexCoord3iv uintptr - gpMultiTexCoord3ivARB uintptr - gpMultiTexCoord3s uintptr - gpMultiTexCoord3sARB uintptr - gpMultiTexCoord3sv uintptr - gpMultiTexCoord3svARB uintptr - gpMultiTexCoord3xOES uintptr - gpMultiTexCoord3xvOES uintptr - gpMultiTexCoord4bOES uintptr - gpMultiTexCoord4bvOES uintptr - gpMultiTexCoord4d uintptr - gpMultiTexCoord4dARB uintptr - gpMultiTexCoord4dv uintptr - gpMultiTexCoord4dvARB uintptr - gpMultiTexCoord4f uintptr - gpMultiTexCoord4fARB uintptr - gpMultiTexCoord4fv uintptr - gpMultiTexCoord4fvARB uintptr - gpMultiTexCoord4hNV uintptr - gpMultiTexCoord4hvNV uintptr - gpMultiTexCoord4i uintptr - gpMultiTexCoord4iARB uintptr - gpMultiTexCoord4iv uintptr - gpMultiTexCoord4ivARB uintptr - gpMultiTexCoord4s uintptr - gpMultiTexCoord4sARB uintptr - gpMultiTexCoord4sv uintptr - gpMultiTexCoord4svARB uintptr - gpMultiTexCoord4xOES uintptr - gpMultiTexCoord4xvOES uintptr - gpMultiTexCoordPointerEXT uintptr - gpMultiTexEnvfEXT uintptr - gpMultiTexEnvfvEXT uintptr - gpMultiTexEnviEXT uintptr - gpMultiTexEnvivEXT uintptr - gpMultiTexGendEXT uintptr - gpMultiTexGendvEXT uintptr - gpMultiTexGenfEXT uintptr - gpMultiTexGenfvEXT uintptr - gpMultiTexGeniEXT uintptr - gpMultiTexGenivEXT uintptr - gpMultiTexImage1DEXT uintptr - gpMultiTexImage2DEXT uintptr - gpMultiTexImage3DEXT uintptr - gpMultiTexParameterIivEXT uintptr - gpMultiTexParameterIuivEXT uintptr - gpMultiTexParameterfEXT uintptr - gpMultiTexParameterfvEXT uintptr - gpMultiTexParameteriEXT uintptr - gpMultiTexParameterivEXT uintptr - gpMultiTexRenderbufferEXT uintptr - gpMultiTexSubImage1DEXT uintptr - gpMultiTexSubImage2DEXT uintptr - gpMultiTexSubImage3DEXT uintptr - gpMulticastBarrierNV uintptr - gpMulticastBlitFramebufferNV uintptr - gpMulticastBufferSubDataNV uintptr - gpMulticastCopyBufferSubDataNV uintptr - gpMulticastCopyImageSubDataNV uintptr - gpMulticastFramebufferSampleLocationsfvNV uintptr - gpMulticastGetQueryObjecti64vNV uintptr - gpMulticastGetQueryObjectivNV uintptr - gpMulticastGetQueryObjectui64vNV uintptr - gpMulticastGetQueryObjectuivNV uintptr - gpMulticastWaitSyncNV uintptr - gpNamedBufferData uintptr - gpNamedBufferDataEXT uintptr - gpNamedBufferPageCommitmentARB uintptr - gpNamedBufferPageCommitmentEXT uintptr - gpNamedBufferStorage uintptr - gpNamedBufferStorageEXT uintptr - gpNamedBufferStorageExternalEXT uintptr - gpNamedBufferStorageMemEXT uintptr - gpNamedBufferSubData uintptr - gpNamedBufferSubDataEXT uintptr - gpNamedCopyBufferSubDataEXT uintptr - gpNamedFramebufferDrawBuffer uintptr - gpNamedFramebufferDrawBuffers uintptr - gpNamedFramebufferParameteri uintptr - gpNamedFramebufferParameteriEXT uintptr - gpNamedFramebufferReadBuffer uintptr - gpNamedFramebufferRenderbuffer uintptr - gpNamedFramebufferRenderbufferEXT uintptr - gpNamedFramebufferSampleLocationsfvARB uintptr - gpNamedFramebufferSampleLocationsfvNV uintptr - gpNamedFramebufferSamplePositionsfvAMD uintptr - gpNamedFramebufferTexture uintptr - gpNamedFramebufferTexture1DEXT uintptr - gpNamedFramebufferTexture2DEXT uintptr - gpNamedFramebufferTexture3DEXT uintptr - gpNamedFramebufferTextureEXT uintptr - gpNamedFramebufferTextureFaceEXT uintptr - gpNamedFramebufferTextureLayer uintptr - gpNamedFramebufferTextureLayerEXT uintptr - gpNamedProgramLocalParameter4dEXT uintptr - gpNamedProgramLocalParameter4dvEXT uintptr - gpNamedProgramLocalParameter4fEXT uintptr - gpNamedProgramLocalParameter4fvEXT uintptr - gpNamedProgramLocalParameterI4iEXT uintptr - gpNamedProgramLocalParameterI4ivEXT uintptr - gpNamedProgramLocalParameterI4uiEXT uintptr - gpNamedProgramLocalParameterI4uivEXT uintptr - gpNamedProgramLocalParameters4fvEXT uintptr - gpNamedProgramLocalParametersI4ivEXT uintptr - gpNamedProgramLocalParametersI4uivEXT uintptr - gpNamedProgramStringEXT uintptr - gpNamedRenderbufferStorage uintptr - gpNamedRenderbufferStorageEXT uintptr - gpNamedRenderbufferStorageMultisample uintptr - gpNamedRenderbufferStorageMultisampleCoverageEXT uintptr - gpNamedRenderbufferStorageMultisampleEXT uintptr - gpNamedStringARB uintptr - gpNewList uintptr - gpNewObjectBufferATI uintptr - gpNormal3b uintptr - gpNormal3bv uintptr - gpNormal3d uintptr - gpNormal3dv uintptr - gpNormal3f uintptr - gpNormal3fVertex3fSUN uintptr - gpNormal3fVertex3fvSUN uintptr - gpNormal3fv uintptr - gpNormal3hNV uintptr - gpNormal3hvNV uintptr - gpNormal3i uintptr - gpNormal3iv uintptr - gpNormal3s uintptr - gpNormal3sv uintptr - gpNormal3xOES uintptr - gpNormal3xvOES uintptr - gpNormalFormatNV uintptr - gpNormalPointer uintptr - gpNormalPointerEXT uintptr - gpNormalPointerListIBM uintptr - gpNormalPointervINTEL uintptr - gpNormalStream3bATI uintptr - gpNormalStream3bvATI uintptr - gpNormalStream3dATI uintptr - gpNormalStream3dvATI uintptr - gpNormalStream3fATI uintptr - gpNormalStream3fvATI uintptr - gpNormalStream3iATI uintptr - gpNormalStream3ivATI uintptr - gpNormalStream3sATI uintptr - gpNormalStream3svATI uintptr - gpObjectLabel uintptr - gpObjectLabelKHR uintptr - gpObjectPtrLabel uintptr - gpObjectPtrLabelKHR uintptr - gpObjectPurgeableAPPLE uintptr - gpObjectUnpurgeableAPPLE uintptr - gpOrtho uintptr - gpOrthofOES uintptr - gpOrthoxOES uintptr - gpPNTrianglesfATI uintptr - gpPNTrianglesiATI uintptr - gpPassTexCoordATI uintptr - gpPassThrough uintptr - gpPassThroughxOES uintptr - gpPatchParameterfv uintptr - gpPatchParameteri uintptr - gpPathCommandsNV uintptr - gpPathCoordsNV uintptr - gpPathCoverDepthFuncNV uintptr - gpPathDashArrayNV uintptr - gpPathGlyphIndexArrayNV uintptr - gpPathGlyphIndexRangeNV uintptr - gpPathGlyphRangeNV uintptr - gpPathGlyphsNV uintptr - gpPathMemoryGlyphIndexArrayNV uintptr - gpPathParameterfNV uintptr - gpPathParameterfvNV uintptr - gpPathParameteriNV uintptr - gpPathParameterivNV uintptr - gpPathStencilDepthOffsetNV uintptr - gpPathStencilFuncNV uintptr - gpPathStringNV uintptr - gpPathSubCommandsNV uintptr - gpPathSubCoordsNV uintptr - gpPauseTransformFeedback uintptr - gpPauseTransformFeedbackNV uintptr - gpPixelDataRangeNV uintptr - gpPixelMapfv uintptr - gpPixelMapuiv uintptr - gpPixelMapusv uintptr - gpPixelMapx uintptr - gpPixelStoref uintptr - gpPixelStorei uintptr - gpPixelStorex uintptr - gpPixelTexGenParameterfSGIS uintptr - gpPixelTexGenParameterfvSGIS uintptr - gpPixelTexGenParameteriSGIS uintptr - gpPixelTexGenParameterivSGIS uintptr - gpPixelTexGenSGIX uintptr - gpPixelTransferf uintptr - gpPixelTransferi uintptr - gpPixelTransferxOES uintptr - gpPixelTransformParameterfEXT uintptr - gpPixelTransformParameterfvEXT uintptr - gpPixelTransformParameteriEXT uintptr - gpPixelTransformParameterivEXT uintptr - gpPixelZoom uintptr - gpPixelZoomxOES uintptr - gpPointAlongPathNV uintptr - gpPointParameterf uintptr - gpPointParameterfARB uintptr - gpPointParameterfEXT uintptr - gpPointParameterfSGIS uintptr - gpPointParameterfv uintptr - gpPointParameterfvARB uintptr - gpPointParameterfvEXT uintptr - gpPointParameterfvSGIS uintptr - gpPointParameteri uintptr - gpPointParameteriNV uintptr - gpPointParameteriv uintptr - gpPointParameterivNV uintptr - gpPointParameterxOES uintptr - gpPointParameterxvOES uintptr - gpPointSize uintptr - gpPointSizexOES uintptr - gpPollAsyncSGIX uintptr - gpPollInstrumentsSGIX uintptr - gpPolygonMode uintptr - gpPolygonOffset uintptr - gpPolygonOffsetClamp uintptr - gpPolygonOffsetClampEXT uintptr - gpPolygonOffsetEXT uintptr - gpPolygonOffsetxOES uintptr - gpPolygonStipple uintptr - gpPopAttrib uintptr - gpPopClientAttrib uintptr - gpPopDebugGroup uintptr - gpPopDebugGroupKHR uintptr - gpPopGroupMarkerEXT uintptr - gpPopMatrix uintptr - gpPopName uintptr - gpPresentFrameDualFillNV uintptr - gpPresentFrameKeyedNV uintptr - gpPrimitiveBoundingBoxARB uintptr - gpPrimitiveRestartIndexNV uintptr - gpPrimitiveRestartNV uintptr - gpPrioritizeTextures uintptr - gpPrioritizeTexturesEXT uintptr - gpPrioritizeTexturesxOES uintptr - gpProgramBinary uintptr - gpProgramBufferParametersIivNV uintptr - gpProgramBufferParametersIuivNV uintptr - gpProgramBufferParametersfvNV uintptr - gpProgramEnvParameter4dARB uintptr - gpProgramEnvParameter4dvARB uintptr - gpProgramEnvParameter4fARB uintptr - gpProgramEnvParameter4fvARB uintptr - gpProgramEnvParameterI4iNV uintptr - gpProgramEnvParameterI4ivNV uintptr - gpProgramEnvParameterI4uiNV uintptr - gpProgramEnvParameterI4uivNV uintptr - gpProgramEnvParameters4fvEXT uintptr - gpProgramEnvParametersI4ivNV uintptr - gpProgramEnvParametersI4uivNV uintptr - gpProgramLocalParameter4dARB uintptr - gpProgramLocalParameter4dvARB uintptr - gpProgramLocalParameter4fARB uintptr - gpProgramLocalParameter4fvARB uintptr - gpProgramLocalParameterI4iNV uintptr - gpProgramLocalParameterI4ivNV uintptr - gpProgramLocalParameterI4uiNV uintptr - gpProgramLocalParameterI4uivNV uintptr - gpProgramLocalParameters4fvEXT uintptr - gpProgramLocalParametersI4ivNV uintptr - gpProgramLocalParametersI4uivNV uintptr - gpProgramNamedParameter4dNV uintptr - gpProgramNamedParameter4dvNV uintptr - gpProgramNamedParameter4fNV uintptr - gpProgramNamedParameter4fvNV uintptr - gpProgramParameter4dNV uintptr - gpProgramParameter4dvNV uintptr - gpProgramParameter4fNV uintptr - gpProgramParameter4fvNV uintptr - gpProgramParameteri uintptr - gpProgramParameteriARB uintptr - gpProgramParameteriEXT uintptr - gpProgramParameters4dvNV uintptr - gpProgramParameters4fvNV uintptr - gpProgramPathFragmentInputGenNV uintptr - gpProgramStringARB uintptr - gpProgramSubroutineParametersuivNV uintptr - gpProgramUniform1d uintptr - gpProgramUniform1dEXT uintptr - gpProgramUniform1dv uintptr - gpProgramUniform1dvEXT uintptr - gpProgramUniform1f uintptr - gpProgramUniform1fEXT uintptr - gpProgramUniform1fv uintptr - gpProgramUniform1fvEXT uintptr - gpProgramUniform1i uintptr - gpProgramUniform1i64ARB uintptr - gpProgramUniform1i64NV uintptr - gpProgramUniform1i64vARB uintptr - gpProgramUniform1i64vNV uintptr - gpProgramUniform1iEXT uintptr - gpProgramUniform1iv uintptr - gpProgramUniform1ivEXT uintptr - gpProgramUniform1ui uintptr - gpProgramUniform1ui64ARB uintptr - gpProgramUniform1ui64NV uintptr - gpProgramUniform1ui64vARB uintptr - gpProgramUniform1ui64vNV uintptr - gpProgramUniform1uiEXT uintptr - gpProgramUniform1uiv uintptr - gpProgramUniform1uivEXT uintptr - gpProgramUniform2d uintptr - gpProgramUniform2dEXT uintptr - gpProgramUniform2dv uintptr - gpProgramUniform2dvEXT uintptr - gpProgramUniform2f uintptr - gpProgramUniform2fEXT uintptr - gpProgramUniform2fv uintptr - gpProgramUniform2fvEXT uintptr - gpProgramUniform2i uintptr - gpProgramUniform2i64ARB uintptr - gpProgramUniform2i64NV uintptr - gpProgramUniform2i64vARB uintptr - gpProgramUniform2i64vNV uintptr - gpProgramUniform2iEXT uintptr - gpProgramUniform2iv uintptr - gpProgramUniform2ivEXT uintptr - gpProgramUniform2ui uintptr - gpProgramUniform2ui64ARB uintptr - gpProgramUniform2ui64NV uintptr - gpProgramUniform2ui64vARB uintptr - gpProgramUniform2ui64vNV uintptr - gpProgramUniform2uiEXT uintptr - gpProgramUniform2uiv uintptr - gpProgramUniform2uivEXT uintptr - gpProgramUniform3d uintptr - gpProgramUniform3dEXT uintptr - gpProgramUniform3dv uintptr - gpProgramUniform3dvEXT uintptr - gpProgramUniform3f uintptr - gpProgramUniform3fEXT uintptr - gpProgramUniform3fv uintptr - gpProgramUniform3fvEXT uintptr - gpProgramUniform3i uintptr - gpProgramUniform3i64ARB uintptr - gpProgramUniform3i64NV uintptr - gpProgramUniform3i64vARB uintptr - gpProgramUniform3i64vNV uintptr - gpProgramUniform3iEXT uintptr - gpProgramUniform3iv uintptr - gpProgramUniform3ivEXT uintptr - gpProgramUniform3ui uintptr - gpProgramUniform3ui64ARB uintptr - gpProgramUniform3ui64NV uintptr - gpProgramUniform3ui64vARB uintptr - gpProgramUniform3ui64vNV uintptr - gpProgramUniform3uiEXT uintptr - gpProgramUniform3uiv uintptr - gpProgramUniform3uivEXT uintptr - gpProgramUniform4d uintptr - gpProgramUniform4dEXT uintptr - gpProgramUniform4dv uintptr - gpProgramUniform4dvEXT uintptr - gpProgramUniform4f uintptr - gpProgramUniform4fEXT uintptr - gpProgramUniform4fv uintptr - gpProgramUniform4fvEXT uintptr - gpProgramUniform4i uintptr - gpProgramUniform4i64ARB uintptr - gpProgramUniform4i64NV uintptr - gpProgramUniform4i64vARB uintptr - gpProgramUniform4i64vNV uintptr - gpProgramUniform4iEXT uintptr - gpProgramUniform4iv uintptr - gpProgramUniform4ivEXT uintptr - gpProgramUniform4ui uintptr - gpProgramUniform4ui64ARB uintptr - gpProgramUniform4ui64NV uintptr - gpProgramUniform4ui64vARB uintptr - gpProgramUniform4ui64vNV uintptr - gpProgramUniform4uiEXT uintptr - gpProgramUniform4uiv uintptr - gpProgramUniform4uivEXT uintptr - gpProgramUniformHandleui64ARB uintptr - gpProgramUniformHandleui64NV uintptr - gpProgramUniformHandleui64vARB uintptr - gpProgramUniformHandleui64vNV uintptr - gpProgramUniformMatrix2dv uintptr - gpProgramUniformMatrix2dvEXT uintptr - gpProgramUniformMatrix2fv uintptr - gpProgramUniformMatrix2fvEXT uintptr - gpProgramUniformMatrix2x3dv uintptr - gpProgramUniformMatrix2x3dvEXT uintptr - gpProgramUniformMatrix2x3fv uintptr - gpProgramUniformMatrix2x3fvEXT uintptr - gpProgramUniformMatrix2x4dv uintptr - gpProgramUniformMatrix2x4dvEXT uintptr - gpProgramUniformMatrix2x4fv uintptr - gpProgramUniformMatrix2x4fvEXT uintptr - gpProgramUniformMatrix3dv uintptr - gpProgramUniformMatrix3dvEXT uintptr - gpProgramUniformMatrix3fv uintptr - gpProgramUniformMatrix3fvEXT uintptr - gpProgramUniformMatrix3x2dv uintptr - gpProgramUniformMatrix3x2dvEXT uintptr - gpProgramUniformMatrix3x2fv uintptr - gpProgramUniformMatrix3x2fvEXT uintptr - gpProgramUniformMatrix3x4dv uintptr - gpProgramUniformMatrix3x4dvEXT uintptr - gpProgramUniformMatrix3x4fv uintptr - gpProgramUniformMatrix3x4fvEXT uintptr - gpProgramUniformMatrix4dv uintptr - gpProgramUniformMatrix4dvEXT uintptr - gpProgramUniformMatrix4fv uintptr - gpProgramUniformMatrix4fvEXT uintptr - gpProgramUniformMatrix4x2dv uintptr - gpProgramUniformMatrix4x2dvEXT uintptr - gpProgramUniformMatrix4x2fv uintptr - gpProgramUniformMatrix4x2fvEXT uintptr - gpProgramUniformMatrix4x3dv uintptr - gpProgramUniformMatrix4x3dvEXT uintptr - gpProgramUniformMatrix4x3fv uintptr - gpProgramUniformMatrix4x3fvEXT uintptr - gpProgramUniformui64NV uintptr - gpProgramUniformui64vNV uintptr - gpProgramVertexLimitNV uintptr - gpProvokingVertex uintptr - gpProvokingVertexEXT uintptr - gpPushAttrib uintptr - gpPushClientAttrib uintptr - gpPushClientAttribDefaultEXT uintptr - gpPushDebugGroup uintptr - gpPushDebugGroupKHR uintptr - gpPushGroupMarkerEXT uintptr - gpPushMatrix uintptr - gpPushName uintptr - gpQueryCounter uintptr - gpQueryMatrixxOES uintptr - gpQueryObjectParameteruiAMD uintptr - gpQueryResourceNV uintptr - gpQueryResourceTagNV uintptr - gpRasterPos2d uintptr - gpRasterPos2dv uintptr - gpRasterPos2f uintptr - gpRasterPos2fv uintptr - gpRasterPos2i uintptr - gpRasterPos2iv uintptr - gpRasterPos2s uintptr - gpRasterPos2sv uintptr - gpRasterPos2xOES uintptr - gpRasterPos2xvOES uintptr - gpRasterPos3d uintptr - gpRasterPos3dv uintptr - gpRasterPos3f uintptr - gpRasterPos3fv uintptr - gpRasterPos3i uintptr - gpRasterPos3iv uintptr - gpRasterPos3s uintptr - gpRasterPos3sv uintptr - gpRasterPos3xOES uintptr - gpRasterPos3xvOES uintptr - gpRasterPos4d uintptr - gpRasterPos4dv uintptr - gpRasterPos4f uintptr - gpRasterPos4fv uintptr - gpRasterPos4i uintptr - gpRasterPos4iv uintptr - gpRasterPos4s uintptr - gpRasterPos4sv uintptr - gpRasterPos4xOES uintptr - gpRasterPos4xvOES uintptr - gpRasterSamplesEXT uintptr - gpReadBuffer uintptr - gpReadInstrumentsSGIX uintptr - gpReadPixels uintptr - gpReadnPixels uintptr - gpReadnPixelsARB uintptr - gpReadnPixelsKHR uintptr - gpRectd uintptr - gpRectdv uintptr - gpRectf uintptr - gpRectfv uintptr - gpRecti uintptr - gpRectiv uintptr - gpRects uintptr - gpRectsv uintptr - gpRectxOES uintptr - gpRectxvOES uintptr - gpReferencePlaneSGIX uintptr - gpReleaseKeyedMutexWin32EXT uintptr - gpReleaseShaderCompiler uintptr - gpRenderGpuMaskNV uintptr - gpRenderMode uintptr - gpRenderbufferStorage uintptr - gpRenderbufferStorageEXT uintptr - gpRenderbufferStorageMultisample uintptr - gpRenderbufferStorageMultisampleCoverageNV uintptr - gpRenderbufferStorageMultisampleEXT uintptr - gpReplacementCodePointerSUN uintptr - gpReplacementCodeubSUN uintptr - gpReplacementCodeubvSUN uintptr - gpReplacementCodeuiColor3fVertex3fSUN uintptr - gpReplacementCodeuiColor3fVertex3fvSUN uintptr - gpReplacementCodeuiColor4fNormal3fVertex3fSUN uintptr - gpReplacementCodeuiColor4fNormal3fVertex3fvSUN uintptr - gpReplacementCodeuiColor4ubVertex3fSUN uintptr - gpReplacementCodeuiColor4ubVertex3fvSUN uintptr - gpReplacementCodeuiNormal3fVertex3fSUN uintptr - gpReplacementCodeuiNormal3fVertex3fvSUN uintptr - gpReplacementCodeuiSUN uintptr - gpReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN uintptr - gpReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN uintptr - gpReplacementCodeuiTexCoord2fNormal3fVertex3fSUN uintptr - gpReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN uintptr - gpReplacementCodeuiTexCoord2fVertex3fSUN uintptr - gpReplacementCodeuiTexCoord2fVertex3fvSUN uintptr - gpReplacementCodeuiVertex3fSUN uintptr - gpReplacementCodeuiVertex3fvSUN uintptr - gpReplacementCodeuivSUN uintptr - gpReplacementCodeusSUN uintptr - gpReplacementCodeusvSUN uintptr - gpRequestResidentProgramsNV uintptr - gpResetHistogramEXT uintptr - gpResetMinmaxEXT uintptr - gpResizeBuffersMESA uintptr - gpResolveDepthValuesNV uintptr - gpResumeTransformFeedback uintptr - gpResumeTransformFeedbackNV uintptr - gpRotated uintptr - gpRotatef uintptr - gpRotatexOES uintptr - gpSampleCoverage uintptr - gpSampleCoverageARB uintptr - gpSampleCoveragexOES uintptr - gpSampleMapATI uintptr - gpSampleMaskEXT uintptr - gpSampleMaskIndexedNV uintptr - gpSampleMaskSGIS uintptr - gpSampleMaski uintptr - gpSamplePatternEXT uintptr - gpSamplePatternSGIS uintptr - gpSamplerParameterIiv uintptr - gpSamplerParameterIuiv uintptr - gpSamplerParameterf uintptr - gpSamplerParameterfv uintptr - gpSamplerParameteri uintptr - gpSamplerParameteriv uintptr - gpScaled uintptr - gpScalef uintptr - gpScalexOES uintptr - gpScissor uintptr - gpScissorArrayv uintptr - gpScissorIndexed uintptr - gpScissorIndexedv uintptr - gpSecondaryColor3b uintptr - gpSecondaryColor3bEXT uintptr - gpSecondaryColor3bv uintptr - gpSecondaryColor3bvEXT uintptr - gpSecondaryColor3d uintptr - gpSecondaryColor3dEXT uintptr - gpSecondaryColor3dv uintptr - gpSecondaryColor3dvEXT uintptr - gpSecondaryColor3f uintptr - gpSecondaryColor3fEXT uintptr - gpSecondaryColor3fv uintptr - gpSecondaryColor3fvEXT uintptr - gpSecondaryColor3hNV uintptr - gpSecondaryColor3hvNV uintptr - gpSecondaryColor3i uintptr - gpSecondaryColor3iEXT uintptr - gpSecondaryColor3iv uintptr - gpSecondaryColor3ivEXT uintptr - gpSecondaryColor3s uintptr - gpSecondaryColor3sEXT uintptr - gpSecondaryColor3sv uintptr - gpSecondaryColor3svEXT uintptr - gpSecondaryColor3ub uintptr - gpSecondaryColor3ubEXT uintptr - gpSecondaryColor3ubv uintptr - gpSecondaryColor3ubvEXT uintptr - gpSecondaryColor3ui uintptr - gpSecondaryColor3uiEXT uintptr - gpSecondaryColor3uiv uintptr - gpSecondaryColor3uivEXT uintptr - gpSecondaryColor3us uintptr - gpSecondaryColor3usEXT uintptr - gpSecondaryColor3usv uintptr - gpSecondaryColor3usvEXT uintptr - gpSecondaryColorFormatNV uintptr - gpSecondaryColorPointer uintptr - gpSecondaryColorPointerEXT uintptr - gpSecondaryColorPointerListIBM uintptr - gpSelectBuffer uintptr - gpSelectPerfMonitorCountersAMD uintptr - gpSemaphoreParameterui64vEXT uintptr - gpSeparableFilter2DEXT uintptr - gpSetFenceAPPLE uintptr - gpSetFenceNV uintptr - gpSetFragmentShaderConstantATI uintptr - gpSetInvariantEXT uintptr - gpSetLocalConstantEXT uintptr - gpSetMultisamplefvAMD uintptr - gpShadeModel uintptr - gpShaderBinary uintptr - gpShaderOp1EXT uintptr - gpShaderOp2EXT uintptr - gpShaderOp3EXT uintptr - gpShaderSource uintptr - gpShaderSourceARB uintptr - gpShaderStorageBlockBinding uintptr - gpSharpenTexFuncSGIS uintptr - gpSignalSemaphoreEXT uintptr - gpSignalVkFenceNV uintptr - gpSignalVkSemaphoreNV uintptr - gpSpecializeShaderARB uintptr - gpSpriteParameterfSGIX uintptr - gpSpriteParameterfvSGIX uintptr - gpSpriteParameteriSGIX uintptr - gpSpriteParameterivSGIX uintptr - gpStartInstrumentsSGIX uintptr - gpStateCaptureNV uintptr - gpStencilClearTagEXT uintptr - gpStencilFillPathInstancedNV uintptr - gpStencilFillPathNV uintptr - gpStencilFunc uintptr - gpStencilFuncSeparate uintptr - gpStencilFuncSeparateATI uintptr - gpStencilMask uintptr - gpStencilMaskSeparate uintptr - gpStencilOp uintptr - gpStencilOpSeparate uintptr - gpStencilOpSeparateATI uintptr - gpStencilOpValueAMD uintptr - gpStencilStrokePathInstancedNV uintptr - gpStencilStrokePathNV uintptr - gpStencilThenCoverFillPathInstancedNV uintptr - gpStencilThenCoverFillPathNV uintptr - gpStencilThenCoverStrokePathInstancedNV uintptr - gpStencilThenCoverStrokePathNV uintptr - gpStopInstrumentsSGIX uintptr - gpStringMarkerGREMEDY uintptr - gpSubpixelPrecisionBiasNV uintptr - gpSwizzleEXT uintptr - gpSyncTextureINTEL uintptr - gpTagSampleBufferSGIX uintptr - gpTangent3bEXT uintptr - gpTangent3bvEXT uintptr - gpTangent3dEXT uintptr - gpTangent3dvEXT uintptr - gpTangent3fEXT uintptr - gpTangent3fvEXT uintptr - gpTangent3iEXT uintptr - gpTangent3ivEXT uintptr - gpTangent3sEXT uintptr - gpTangent3svEXT uintptr - gpTangentPointerEXT uintptr - gpTbufferMask3DFX uintptr - gpTessellationFactorAMD uintptr - gpTessellationModeAMD uintptr - gpTestFenceAPPLE uintptr - gpTestFenceNV uintptr - gpTestObjectAPPLE uintptr - gpTexBufferARB uintptr - gpTexBufferEXT uintptr - gpTexBufferRange uintptr - gpTexBumpParameterfvATI uintptr - gpTexBumpParameterivATI uintptr - gpTexCoord1bOES uintptr - gpTexCoord1bvOES uintptr - gpTexCoord1d uintptr - gpTexCoord1dv uintptr - gpTexCoord1f uintptr - gpTexCoord1fv uintptr - gpTexCoord1hNV uintptr - gpTexCoord1hvNV uintptr - gpTexCoord1i uintptr - gpTexCoord1iv uintptr - gpTexCoord1s uintptr - gpTexCoord1sv uintptr - gpTexCoord1xOES uintptr - gpTexCoord1xvOES uintptr - gpTexCoord2bOES uintptr - gpTexCoord2bvOES uintptr - gpTexCoord2d uintptr - gpTexCoord2dv uintptr - gpTexCoord2f uintptr - gpTexCoord2fColor3fVertex3fSUN uintptr - gpTexCoord2fColor3fVertex3fvSUN uintptr - gpTexCoord2fColor4fNormal3fVertex3fSUN uintptr - gpTexCoord2fColor4fNormal3fVertex3fvSUN uintptr - gpTexCoord2fColor4ubVertex3fSUN uintptr - gpTexCoord2fColor4ubVertex3fvSUN uintptr - gpTexCoord2fNormal3fVertex3fSUN uintptr - gpTexCoord2fNormal3fVertex3fvSUN uintptr - gpTexCoord2fVertex3fSUN uintptr - gpTexCoord2fVertex3fvSUN uintptr - gpTexCoord2fv uintptr - gpTexCoord2hNV uintptr - gpTexCoord2hvNV uintptr - gpTexCoord2i uintptr - gpTexCoord2iv uintptr - gpTexCoord2s uintptr - gpTexCoord2sv uintptr - gpTexCoord2xOES uintptr - gpTexCoord2xvOES uintptr - gpTexCoord3bOES uintptr - gpTexCoord3bvOES uintptr - gpTexCoord3d uintptr - gpTexCoord3dv uintptr - gpTexCoord3f uintptr - gpTexCoord3fv uintptr - gpTexCoord3hNV uintptr - gpTexCoord3hvNV uintptr - gpTexCoord3i uintptr - gpTexCoord3iv uintptr - gpTexCoord3s uintptr - gpTexCoord3sv uintptr - gpTexCoord3xOES uintptr - gpTexCoord3xvOES uintptr - gpTexCoord4bOES uintptr - gpTexCoord4bvOES uintptr - gpTexCoord4d uintptr - gpTexCoord4dv uintptr - gpTexCoord4f uintptr - gpTexCoord4fColor4fNormal3fVertex4fSUN uintptr - gpTexCoord4fColor4fNormal3fVertex4fvSUN uintptr - gpTexCoord4fVertex4fSUN uintptr - gpTexCoord4fVertex4fvSUN uintptr - gpTexCoord4fv uintptr - gpTexCoord4hNV uintptr - gpTexCoord4hvNV uintptr - gpTexCoord4i uintptr - gpTexCoord4iv uintptr - gpTexCoord4s uintptr - gpTexCoord4sv uintptr - gpTexCoord4xOES uintptr - gpTexCoord4xvOES uintptr - gpTexCoordFormatNV uintptr - gpTexCoordPointer uintptr - gpTexCoordPointerEXT uintptr - gpTexCoordPointerListIBM uintptr - gpTexCoordPointervINTEL uintptr - gpTexEnvf uintptr - gpTexEnvfv uintptr - gpTexEnvi uintptr - gpTexEnviv uintptr - gpTexEnvxOES uintptr - gpTexEnvxvOES uintptr - gpTexFilterFuncSGIS uintptr - gpTexGend uintptr - gpTexGendv uintptr - gpTexGenf uintptr - gpTexGenfv uintptr - gpTexGeni uintptr - gpTexGeniv uintptr - gpTexGenxOES uintptr - gpTexGenxvOES uintptr - gpTexImage1D uintptr - gpTexImage2D uintptr - gpTexImage2DMultisample uintptr - gpTexImage2DMultisampleCoverageNV uintptr - gpTexImage3D uintptr - gpTexImage3DEXT uintptr - gpTexImage3DMultisample uintptr - gpTexImage3DMultisampleCoverageNV uintptr - gpTexImage4DSGIS uintptr - gpTexPageCommitmentARB uintptr - gpTexParameterIivEXT uintptr - gpTexParameterIuivEXT uintptr - gpTexParameterf uintptr - gpTexParameterfv uintptr - gpTexParameteri uintptr - gpTexParameteriv uintptr - gpTexParameterxOES uintptr - gpTexParameterxvOES uintptr - gpTexRenderbufferNV uintptr - gpTexStorage1D uintptr - gpTexStorage2D uintptr - gpTexStorage2DMultisample uintptr - gpTexStorage3D uintptr - gpTexStorage3DMultisample uintptr - gpTexStorageMem1DEXT uintptr - gpTexStorageMem2DEXT uintptr - gpTexStorageMem2DMultisampleEXT uintptr - gpTexStorageMem3DEXT uintptr - gpTexStorageMem3DMultisampleEXT uintptr - gpTexStorageSparseAMD uintptr - gpTexSubImage1D uintptr - gpTexSubImage1DEXT uintptr - gpTexSubImage2D uintptr - gpTexSubImage2DEXT uintptr - gpTexSubImage3D uintptr - gpTexSubImage3DEXT uintptr - gpTexSubImage4DSGIS uintptr - gpTextureBarrier uintptr - gpTextureBarrierNV uintptr - gpTextureBuffer uintptr - gpTextureBufferEXT uintptr - gpTextureBufferRange uintptr - gpTextureBufferRangeEXT uintptr - gpTextureColorMaskSGIS uintptr - gpTextureImage1DEXT uintptr - gpTextureImage2DEXT uintptr - gpTextureImage2DMultisampleCoverageNV uintptr - gpTextureImage2DMultisampleNV uintptr - gpTextureImage3DEXT uintptr - gpTextureImage3DMultisampleCoverageNV uintptr - gpTextureImage3DMultisampleNV uintptr - gpTextureLightEXT uintptr - gpTextureMaterialEXT uintptr - gpTextureNormalEXT uintptr - gpTexturePageCommitmentEXT uintptr - gpTextureParameterIiv uintptr - gpTextureParameterIivEXT uintptr - gpTextureParameterIuiv uintptr - gpTextureParameterIuivEXT uintptr - gpTextureParameterf uintptr - gpTextureParameterfEXT uintptr - gpTextureParameterfv uintptr - gpTextureParameterfvEXT uintptr - gpTextureParameteri uintptr - gpTextureParameteriEXT uintptr - gpTextureParameteriv uintptr - gpTextureParameterivEXT uintptr - gpTextureRangeAPPLE uintptr - gpTextureRenderbufferEXT uintptr - gpTextureStorage1D uintptr - gpTextureStorage1DEXT uintptr - gpTextureStorage2D uintptr - gpTextureStorage2DEXT uintptr - gpTextureStorage2DMultisample uintptr - gpTextureStorage2DMultisampleEXT uintptr - gpTextureStorage3D uintptr - gpTextureStorage3DEXT uintptr - gpTextureStorage3DMultisample uintptr - gpTextureStorage3DMultisampleEXT uintptr - gpTextureStorageMem1DEXT uintptr - gpTextureStorageMem2DEXT uintptr - gpTextureStorageMem2DMultisampleEXT uintptr - gpTextureStorageMem3DEXT uintptr - gpTextureStorageMem3DMultisampleEXT uintptr - gpTextureStorageSparseAMD uintptr - gpTextureSubImage1D uintptr - gpTextureSubImage1DEXT uintptr - gpTextureSubImage2D uintptr - gpTextureSubImage2DEXT uintptr - gpTextureSubImage3D uintptr - gpTextureSubImage3DEXT uintptr - gpTextureView uintptr - gpTrackMatrixNV uintptr - gpTransformFeedbackAttribsNV uintptr - gpTransformFeedbackBufferBase uintptr - gpTransformFeedbackBufferRange uintptr - gpTransformFeedbackStreamAttribsNV uintptr - gpTransformFeedbackVaryingsEXT uintptr - gpTransformFeedbackVaryingsNV uintptr - gpTransformPathNV uintptr - gpTranslated uintptr - gpTranslatef uintptr - gpTranslatexOES uintptr - gpUniform1d uintptr - gpUniform1dv uintptr - gpUniform1f uintptr - gpUniform1fARB uintptr - gpUniform1fv uintptr - gpUniform1fvARB uintptr - gpUniform1i uintptr - gpUniform1i64ARB uintptr - gpUniform1i64NV uintptr - gpUniform1i64vARB uintptr - gpUniform1i64vNV uintptr - gpUniform1iARB uintptr - gpUniform1iv uintptr - gpUniform1ivARB uintptr - gpUniform1ui64ARB uintptr - gpUniform1ui64NV uintptr - gpUniform1ui64vARB uintptr - gpUniform1ui64vNV uintptr - gpUniform1uiEXT uintptr - gpUniform1uivEXT uintptr - gpUniform2d uintptr - gpUniform2dv uintptr - gpUniform2f uintptr - gpUniform2fARB uintptr - gpUniform2fv uintptr - gpUniform2fvARB uintptr - gpUniform2i uintptr - gpUniform2i64ARB uintptr - gpUniform2i64NV uintptr - gpUniform2i64vARB uintptr - gpUniform2i64vNV uintptr - gpUniform2iARB uintptr - gpUniform2iv uintptr - gpUniform2ivARB uintptr - gpUniform2ui64ARB uintptr - gpUniform2ui64NV uintptr - gpUniform2ui64vARB uintptr - gpUniform2ui64vNV uintptr - gpUniform2uiEXT uintptr - gpUniform2uivEXT uintptr - gpUniform3d uintptr - gpUniform3dv uintptr - gpUniform3f uintptr - gpUniform3fARB uintptr - gpUniform3fv uintptr - gpUniform3fvARB uintptr - gpUniform3i uintptr - gpUniform3i64ARB uintptr - gpUniform3i64NV uintptr - gpUniform3i64vARB uintptr - gpUniform3i64vNV uintptr - gpUniform3iARB uintptr - gpUniform3iv uintptr - gpUniform3ivARB uintptr - gpUniform3ui64ARB uintptr - gpUniform3ui64NV uintptr - gpUniform3ui64vARB uintptr - gpUniform3ui64vNV uintptr - gpUniform3uiEXT uintptr - gpUniform3uivEXT uintptr - gpUniform4d uintptr - gpUniform4dv uintptr - gpUniform4f uintptr - gpUniform4fARB uintptr - gpUniform4fv uintptr - gpUniform4fvARB uintptr - gpUniform4i uintptr - gpUniform4i64ARB uintptr - gpUniform4i64NV uintptr - gpUniform4i64vARB uintptr - gpUniform4i64vNV uintptr - gpUniform4iARB uintptr - gpUniform4iv uintptr - gpUniform4ivARB uintptr - gpUniform4ui64ARB uintptr - gpUniform4ui64NV uintptr - gpUniform4ui64vARB uintptr - gpUniform4ui64vNV uintptr - gpUniform4uiEXT uintptr - gpUniform4uivEXT uintptr - gpUniformBlockBinding uintptr - gpUniformBufferEXT uintptr - gpUniformHandleui64ARB uintptr - gpUniformHandleui64NV uintptr - gpUniformHandleui64vARB uintptr - gpUniformHandleui64vNV uintptr - gpUniformMatrix2dv uintptr - gpUniformMatrix2fv uintptr - gpUniformMatrix2fvARB uintptr - gpUniformMatrix2x3dv uintptr - gpUniformMatrix2x3fv uintptr - gpUniformMatrix2x4dv uintptr - gpUniformMatrix2x4fv uintptr - gpUniformMatrix3dv uintptr - gpUniformMatrix3fv uintptr - gpUniformMatrix3fvARB uintptr - gpUniformMatrix3x2dv uintptr - gpUniformMatrix3x2fv uintptr - gpUniformMatrix3x4dv uintptr - gpUniformMatrix3x4fv uintptr - gpUniformMatrix4dv uintptr - gpUniformMatrix4fv uintptr - gpUniformMatrix4fvARB uintptr - gpUniformMatrix4x2dv uintptr - gpUniformMatrix4x2fv uintptr - gpUniformMatrix4x3dv uintptr - gpUniformMatrix4x3fv uintptr - gpUniformSubroutinesuiv uintptr - gpUniformui64NV uintptr - gpUniformui64vNV uintptr - gpUnlockArraysEXT uintptr - gpUnmapBuffer uintptr - gpUnmapBufferARB uintptr - gpUnmapNamedBuffer uintptr - gpUnmapNamedBufferEXT uintptr - gpUnmapObjectBufferATI uintptr - gpUnmapTexture2DINTEL uintptr - gpUpdateObjectBufferATI uintptr - gpUseProgram uintptr - gpUseProgramObjectARB uintptr - gpUseProgramStages uintptr - gpUseProgramStagesEXT uintptr - gpUseShaderProgramEXT uintptr - gpVDPAUFiniNV uintptr - gpVDPAUGetSurfaceivNV uintptr - gpVDPAUInitNV uintptr - gpVDPAUIsSurfaceNV uintptr - gpVDPAUMapSurfacesNV uintptr - gpVDPAURegisterOutputSurfaceNV uintptr - gpVDPAURegisterVideoSurfaceNV uintptr - gpVDPAUSurfaceAccessNV uintptr - gpVDPAUUnmapSurfacesNV uintptr - gpVDPAUUnregisterSurfaceNV uintptr - gpValidateProgram uintptr - gpValidateProgramARB uintptr - gpValidateProgramPipeline uintptr - gpValidateProgramPipelineEXT uintptr - gpVariantArrayObjectATI uintptr - gpVariantPointerEXT uintptr - gpVariantbvEXT uintptr - gpVariantdvEXT uintptr - gpVariantfvEXT uintptr - gpVariantivEXT uintptr - gpVariantsvEXT uintptr - gpVariantubvEXT uintptr - gpVariantuivEXT uintptr - gpVariantusvEXT uintptr - gpVertex2bOES uintptr - gpVertex2bvOES uintptr - gpVertex2d uintptr - gpVertex2dv uintptr - gpVertex2f uintptr - gpVertex2fv uintptr - gpVertex2hNV uintptr - gpVertex2hvNV uintptr - gpVertex2i uintptr - gpVertex2iv uintptr - gpVertex2s uintptr - gpVertex2sv uintptr - gpVertex2xOES uintptr - gpVertex2xvOES uintptr - gpVertex3bOES uintptr - gpVertex3bvOES uintptr - gpVertex3d uintptr - gpVertex3dv uintptr - gpVertex3f uintptr - gpVertex3fv uintptr - gpVertex3hNV uintptr - gpVertex3hvNV uintptr - gpVertex3i uintptr - gpVertex3iv uintptr - gpVertex3s uintptr - gpVertex3sv uintptr - gpVertex3xOES uintptr - gpVertex3xvOES uintptr - gpVertex4bOES uintptr - gpVertex4bvOES uintptr - gpVertex4d uintptr - gpVertex4dv uintptr - gpVertex4f uintptr - gpVertex4fv uintptr - gpVertex4hNV uintptr - gpVertex4hvNV uintptr - gpVertex4i uintptr - gpVertex4iv uintptr - gpVertex4s uintptr - gpVertex4sv uintptr - gpVertex4xOES uintptr - gpVertex4xvOES uintptr - gpVertexArrayAttribBinding uintptr - gpVertexArrayAttribFormat uintptr - gpVertexArrayAttribIFormat uintptr - gpVertexArrayAttribLFormat uintptr - gpVertexArrayBindVertexBufferEXT uintptr - gpVertexArrayBindingDivisor uintptr - gpVertexArrayColorOffsetEXT uintptr - gpVertexArrayEdgeFlagOffsetEXT uintptr - gpVertexArrayElementBuffer uintptr - gpVertexArrayFogCoordOffsetEXT uintptr - gpVertexArrayIndexOffsetEXT uintptr - gpVertexArrayMultiTexCoordOffsetEXT uintptr - gpVertexArrayNormalOffsetEXT uintptr - gpVertexArrayParameteriAPPLE uintptr - gpVertexArrayRangeAPPLE uintptr - gpVertexArrayRangeNV uintptr - gpVertexArraySecondaryColorOffsetEXT uintptr - gpVertexArrayTexCoordOffsetEXT uintptr - gpVertexArrayVertexAttribBindingEXT uintptr - gpVertexArrayVertexAttribDivisorEXT uintptr - gpVertexArrayVertexAttribFormatEXT uintptr - gpVertexArrayVertexAttribIFormatEXT uintptr - gpVertexArrayVertexAttribIOffsetEXT uintptr - gpVertexArrayVertexAttribLFormatEXT uintptr - gpVertexArrayVertexAttribLOffsetEXT uintptr - gpVertexArrayVertexAttribOffsetEXT uintptr - gpVertexArrayVertexBindingDivisorEXT uintptr - gpVertexArrayVertexBuffer uintptr - gpVertexArrayVertexBuffers uintptr - gpVertexArrayVertexOffsetEXT uintptr - gpVertexAttrib1d uintptr - gpVertexAttrib1dARB uintptr - gpVertexAttrib1dNV uintptr - gpVertexAttrib1dv uintptr - gpVertexAttrib1dvARB uintptr - gpVertexAttrib1dvNV uintptr - gpVertexAttrib1f uintptr - gpVertexAttrib1fARB uintptr - gpVertexAttrib1fNV uintptr - gpVertexAttrib1fv uintptr - gpVertexAttrib1fvARB uintptr - gpVertexAttrib1fvNV uintptr - gpVertexAttrib1hNV uintptr - gpVertexAttrib1hvNV uintptr - gpVertexAttrib1s uintptr - gpVertexAttrib1sARB uintptr - gpVertexAttrib1sNV uintptr - gpVertexAttrib1sv uintptr - gpVertexAttrib1svARB uintptr - gpVertexAttrib1svNV uintptr - gpVertexAttrib2d uintptr - gpVertexAttrib2dARB uintptr - gpVertexAttrib2dNV uintptr - gpVertexAttrib2dv uintptr - gpVertexAttrib2dvARB uintptr - gpVertexAttrib2dvNV uintptr - gpVertexAttrib2f uintptr - gpVertexAttrib2fARB uintptr - gpVertexAttrib2fNV uintptr - gpVertexAttrib2fv uintptr - gpVertexAttrib2fvARB uintptr - gpVertexAttrib2fvNV uintptr - gpVertexAttrib2hNV uintptr - gpVertexAttrib2hvNV uintptr - gpVertexAttrib2s uintptr - gpVertexAttrib2sARB uintptr - gpVertexAttrib2sNV uintptr - gpVertexAttrib2sv uintptr - gpVertexAttrib2svARB uintptr - gpVertexAttrib2svNV uintptr - gpVertexAttrib3d uintptr - gpVertexAttrib3dARB uintptr - gpVertexAttrib3dNV uintptr - gpVertexAttrib3dv uintptr - gpVertexAttrib3dvARB uintptr - gpVertexAttrib3dvNV uintptr - gpVertexAttrib3f uintptr - gpVertexAttrib3fARB uintptr - gpVertexAttrib3fNV uintptr - gpVertexAttrib3fv uintptr - gpVertexAttrib3fvARB uintptr - gpVertexAttrib3fvNV uintptr - gpVertexAttrib3hNV uintptr - gpVertexAttrib3hvNV uintptr - gpVertexAttrib3s uintptr - gpVertexAttrib3sARB uintptr - gpVertexAttrib3sNV uintptr - gpVertexAttrib3sv uintptr - gpVertexAttrib3svARB uintptr - gpVertexAttrib3svNV uintptr - gpVertexAttrib4Nbv uintptr - gpVertexAttrib4NbvARB uintptr - gpVertexAttrib4Niv uintptr - gpVertexAttrib4NivARB uintptr - gpVertexAttrib4Nsv uintptr - gpVertexAttrib4NsvARB uintptr - gpVertexAttrib4Nub uintptr - gpVertexAttrib4NubARB uintptr - gpVertexAttrib4Nubv uintptr - gpVertexAttrib4NubvARB uintptr - gpVertexAttrib4Nuiv uintptr - gpVertexAttrib4NuivARB uintptr - gpVertexAttrib4Nusv uintptr - gpVertexAttrib4NusvARB uintptr - gpVertexAttrib4bv uintptr - gpVertexAttrib4bvARB uintptr - gpVertexAttrib4d uintptr - gpVertexAttrib4dARB uintptr - gpVertexAttrib4dNV uintptr - gpVertexAttrib4dv uintptr - gpVertexAttrib4dvARB uintptr - gpVertexAttrib4dvNV uintptr - gpVertexAttrib4f uintptr - gpVertexAttrib4fARB uintptr - gpVertexAttrib4fNV uintptr - gpVertexAttrib4fv uintptr - gpVertexAttrib4fvARB uintptr - gpVertexAttrib4fvNV uintptr - gpVertexAttrib4hNV uintptr - gpVertexAttrib4hvNV uintptr - gpVertexAttrib4iv uintptr - gpVertexAttrib4ivARB uintptr - gpVertexAttrib4s uintptr - gpVertexAttrib4sARB uintptr - gpVertexAttrib4sNV uintptr - gpVertexAttrib4sv uintptr - gpVertexAttrib4svARB uintptr - gpVertexAttrib4svNV uintptr - gpVertexAttrib4ubNV uintptr - gpVertexAttrib4ubv uintptr - gpVertexAttrib4ubvARB uintptr - gpVertexAttrib4ubvNV uintptr - gpVertexAttrib4uiv uintptr - gpVertexAttrib4uivARB uintptr - gpVertexAttrib4usv uintptr - gpVertexAttrib4usvARB uintptr - gpVertexAttribArrayObjectATI uintptr - gpVertexAttribBinding uintptr - gpVertexAttribDivisorARB uintptr - gpVertexAttribFormat uintptr - gpVertexAttribFormatNV uintptr - gpVertexAttribI1iEXT uintptr - gpVertexAttribI1ivEXT uintptr - gpVertexAttribI1uiEXT uintptr - gpVertexAttribI1uivEXT uintptr - gpVertexAttribI2iEXT uintptr - gpVertexAttribI2ivEXT uintptr - gpVertexAttribI2uiEXT uintptr - gpVertexAttribI2uivEXT uintptr - gpVertexAttribI3iEXT uintptr - gpVertexAttribI3ivEXT uintptr - gpVertexAttribI3uiEXT uintptr - gpVertexAttribI3uivEXT uintptr - gpVertexAttribI4bvEXT uintptr - gpVertexAttribI4iEXT uintptr - gpVertexAttribI4ivEXT uintptr - gpVertexAttribI4svEXT uintptr - gpVertexAttribI4ubvEXT uintptr - gpVertexAttribI4uiEXT uintptr - gpVertexAttribI4uivEXT uintptr - gpVertexAttribI4usvEXT uintptr - gpVertexAttribIFormat uintptr - gpVertexAttribIFormatNV uintptr - gpVertexAttribIPointerEXT uintptr - gpVertexAttribL1d uintptr - gpVertexAttribL1dEXT uintptr - gpVertexAttribL1dv uintptr - gpVertexAttribL1dvEXT uintptr - gpVertexAttribL1i64NV uintptr - gpVertexAttribL1i64vNV uintptr - gpVertexAttribL1ui64ARB uintptr - gpVertexAttribL1ui64NV uintptr - gpVertexAttribL1ui64vARB uintptr - gpVertexAttribL1ui64vNV uintptr - gpVertexAttribL2d uintptr - gpVertexAttribL2dEXT uintptr - gpVertexAttribL2dv uintptr - gpVertexAttribL2dvEXT uintptr - gpVertexAttribL2i64NV uintptr - gpVertexAttribL2i64vNV uintptr - gpVertexAttribL2ui64NV uintptr - gpVertexAttribL2ui64vNV uintptr - gpVertexAttribL3d uintptr - gpVertexAttribL3dEXT uintptr - gpVertexAttribL3dv uintptr - gpVertexAttribL3dvEXT uintptr - gpVertexAttribL3i64NV uintptr - gpVertexAttribL3i64vNV uintptr - gpVertexAttribL3ui64NV uintptr - gpVertexAttribL3ui64vNV uintptr - gpVertexAttribL4d uintptr - gpVertexAttribL4dEXT uintptr - gpVertexAttribL4dv uintptr - gpVertexAttribL4dvEXT uintptr - gpVertexAttribL4i64NV uintptr - gpVertexAttribL4i64vNV uintptr - gpVertexAttribL4ui64NV uintptr - gpVertexAttribL4ui64vNV uintptr - gpVertexAttribLFormat uintptr - gpVertexAttribLFormatNV uintptr - gpVertexAttribLPointer uintptr - gpVertexAttribLPointerEXT uintptr - gpVertexAttribP1ui uintptr - gpVertexAttribP1uiv uintptr - gpVertexAttribP2ui uintptr - gpVertexAttribP2uiv uintptr - gpVertexAttribP3ui uintptr - gpVertexAttribP3uiv uintptr - gpVertexAttribP4ui uintptr - gpVertexAttribP4uiv uintptr - gpVertexAttribParameteriAMD uintptr - gpVertexAttribPointer uintptr - gpVertexAttribPointerARB uintptr - gpVertexAttribPointerNV uintptr - gpVertexAttribs1dvNV uintptr - gpVertexAttribs1fvNV uintptr - gpVertexAttribs1hvNV uintptr - gpVertexAttribs1svNV uintptr - gpVertexAttribs2dvNV uintptr - gpVertexAttribs2fvNV uintptr - gpVertexAttribs2hvNV uintptr - gpVertexAttribs2svNV uintptr - gpVertexAttribs3dvNV uintptr - gpVertexAttribs3fvNV uintptr - gpVertexAttribs3hvNV uintptr - gpVertexAttribs3svNV uintptr - gpVertexAttribs4dvNV uintptr - gpVertexAttribs4fvNV uintptr - gpVertexAttribs4hvNV uintptr - gpVertexAttribs4svNV uintptr - gpVertexAttribs4ubvNV uintptr - gpVertexBindingDivisor uintptr - gpVertexBlendARB uintptr - gpVertexBlendEnvfATI uintptr - gpVertexBlendEnviATI uintptr - gpVertexFormatNV uintptr - gpVertexPointer uintptr - gpVertexPointerEXT uintptr - gpVertexPointerListIBM uintptr - gpVertexPointervINTEL uintptr - gpVertexStream1dATI uintptr - gpVertexStream1dvATI uintptr - gpVertexStream1fATI uintptr - gpVertexStream1fvATI uintptr - gpVertexStream1iATI uintptr - gpVertexStream1ivATI uintptr - gpVertexStream1sATI uintptr - gpVertexStream1svATI uintptr - gpVertexStream2dATI uintptr - gpVertexStream2dvATI uintptr - gpVertexStream2fATI uintptr - gpVertexStream2fvATI uintptr - gpVertexStream2iATI uintptr - gpVertexStream2ivATI uintptr - gpVertexStream2sATI uintptr - gpVertexStream2svATI uintptr - gpVertexStream3dATI uintptr - gpVertexStream3dvATI uintptr - gpVertexStream3fATI uintptr - gpVertexStream3fvATI uintptr - gpVertexStream3iATI uintptr - gpVertexStream3ivATI uintptr - gpVertexStream3sATI uintptr - gpVertexStream3svATI uintptr - gpVertexStream4dATI uintptr - gpVertexStream4dvATI uintptr - gpVertexStream4fATI uintptr - gpVertexStream4fvATI uintptr - gpVertexStream4iATI uintptr - gpVertexStream4ivATI uintptr - gpVertexStream4sATI uintptr - gpVertexStream4svATI uintptr - gpVertexWeightPointerEXT uintptr - gpVertexWeightfEXT uintptr - gpVertexWeightfvEXT uintptr - gpVertexWeighthNV uintptr - gpVertexWeighthvNV uintptr - gpVideoCaptureNV uintptr - gpVideoCaptureStreamParameterdvNV uintptr - gpVideoCaptureStreamParameterfvNV uintptr - gpVideoCaptureStreamParameterivNV uintptr - gpViewport uintptr - gpViewportArrayv uintptr - gpViewportIndexedf uintptr - gpViewportIndexedfv uintptr - gpViewportPositionWScaleNV uintptr - gpViewportSwizzleNV uintptr - gpWaitSemaphoreEXT uintptr - gpWaitSync uintptr - gpWaitVkSemaphoreNV uintptr - gpWeightPathsNV uintptr - gpWeightPointerARB uintptr - gpWeightbvARB uintptr - gpWeightdvARB uintptr - gpWeightfvARB uintptr - gpWeightivARB uintptr - gpWeightsvARB uintptr - gpWeightubvARB uintptr - gpWeightuivARB uintptr - gpWeightusvARB uintptr - gpWindowPos2d uintptr - gpWindowPos2dARB uintptr - gpWindowPos2dMESA uintptr - gpWindowPos2dv uintptr - gpWindowPos2dvARB uintptr - gpWindowPos2dvMESA uintptr - gpWindowPos2f uintptr - gpWindowPos2fARB uintptr - gpWindowPos2fMESA uintptr - gpWindowPos2fv uintptr - gpWindowPos2fvARB uintptr - gpWindowPos2fvMESA uintptr - gpWindowPos2i uintptr - gpWindowPos2iARB uintptr - gpWindowPos2iMESA uintptr - gpWindowPos2iv uintptr - gpWindowPos2ivARB uintptr - gpWindowPos2ivMESA uintptr - gpWindowPos2s uintptr - gpWindowPos2sARB uintptr - gpWindowPos2sMESA uintptr - gpWindowPos2sv uintptr - gpWindowPos2svARB uintptr - gpWindowPos2svMESA uintptr - gpWindowPos3d uintptr - gpWindowPos3dARB uintptr - gpWindowPos3dMESA uintptr - gpWindowPos3dv uintptr - gpWindowPos3dvARB uintptr - gpWindowPos3dvMESA uintptr - gpWindowPos3f uintptr - gpWindowPos3fARB uintptr - gpWindowPos3fMESA uintptr - gpWindowPos3fv uintptr - gpWindowPos3fvARB uintptr - gpWindowPos3fvMESA uintptr - gpWindowPos3i uintptr - gpWindowPos3iARB uintptr - gpWindowPos3iMESA uintptr - gpWindowPos3iv uintptr - gpWindowPos3ivARB uintptr - gpWindowPos3ivMESA uintptr - gpWindowPos3s uintptr - gpWindowPos3sARB uintptr - gpWindowPos3sMESA uintptr - gpWindowPos3sv uintptr - gpWindowPos3svARB uintptr - gpWindowPos3svMESA uintptr - gpWindowPos4dMESA uintptr - gpWindowPos4dvMESA uintptr - gpWindowPos4fMESA uintptr - gpWindowPos4fvMESA uintptr - gpWindowPos4iMESA uintptr - gpWindowPos4ivMESA uintptr - gpWindowPos4sMESA uintptr - gpWindowPos4svMESA uintptr - gpWindowRectanglesEXT uintptr - gpWriteMaskEXT uintptr + gpAttachShader uintptr + gpBindAttribLocation uintptr + gpBindBuffer uintptr + gpBindFramebufferEXT uintptr + gpBindTexture uintptr + gpBlendFunc uintptr + gpBufferData uintptr + gpBufferSubData uintptr + gpCheckFramebufferStatusEXT uintptr + gpCompileShader uintptr + gpCreateProgram uintptr + gpCreateShader uintptr + gpDeleteBuffers uintptr + gpDeleteFramebuffersEXT uintptr + gpDeleteProgram uintptr + gpDeleteShader uintptr + gpDeleteTextures uintptr + gpDisableVertexAttribArray uintptr + gpDrawElements uintptr + gpEnable uintptr + gpEnableVertexAttribArray uintptr + gpFlush uintptr + gpFramebufferTexture2DEXT uintptr + gpGenBuffers uintptr + gpGenFramebuffersEXT uintptr + gpGenTextures uintptr + gpGetDoublei_v uintptr + gpGetDoublei_vEXT uintptr + gpGetError uintptr + gpGetFloati_v uintptr + gpGetFloati_vEXT uintptr + gpGetIntegeri_v uintptr + gpGetIntegerui64i_vNV uintptr + gpGetIntegerv uintptr + gpGetPointeri_vEXT uintptr + gpGetProgramiv uintptr + gpGetShaderInfoLog uintptr + gpGetShaderiv uintptr + gpGetTransformFeedbacki64_v uintptr + gpGetTransformFeedbacki_v uintptr + gpGetUniformLocation uintptr + gpGetUnsignedBytei_vEXT uintptr + gpGetVertexArrayIntegeri_vEXT uintptr + gpGetVertexArrayPointeri_vEXT uintptr + gpIsFramebufferEXT uintptr + gpIsProgram uintptr + gpIsTexture uintptr + gpLinkProgram uintptr + gpPixelStorei uintptr + gpReadPixels uintptr + gpShaderSource uintptr + gpTexImage2D uintptr + gpTexParameteri uintptr + gpTexSubImage2D uintptr + gpUniform1f uintptr + gpUniform1i uintptr + gpUniform2fv uintptr + gpUniform4fv uintptr + gpUniformMatrix4fv uintptr + gpUseProgram uintptr + gpVertexAttribPointer uintptr + gpViewport uintptr ) func boolToUintptr(b bool) uintptr { @@ -2808,3512 +81,157 @@ func boolToUintptr(b bool) uintptr { return 0 } -// operate on the accumulation buffer -func Accum(op uint32, value float32) { - syscall.Syscall(gpAccum, 2, uintptr(op), uintptr(math.Float32bits(value)), 0) -} -func AccumxOES(op uint32, value int32) { - syscall.Syscall(gpAccumxOES, 2, uintptr(op), uintptr(value), 0) -} -func AcquireKeyedMutexWin32EXT(memory uint32, key uint64, timeout uint32) bool { - ret, _, _ := syscall.Syscall(gpAcquireKeyedMutexWin32EXT, 3, uintptr(memory), uintptr(key), uintptr(timeout)) - return ret != 0 -} -func ActiveProgramEXT(program uint32) { - syscall.Syscall(gpActiveProgramEXT, 1, uintptr(program), 0, 0) -} - -// set the active program object for a program pipeline object -func ActiveShaderProgram(pipeline uint32, program uint32) { - syscall.Syscall(gpActiveShaderProgram, 2, uintptr(pipeline), uintptr(program), 0) -} -func ActiveShaderProgramEXT(pipeline uint32, program uint32) { - syscall.Syscall(gpActiveShaderProgramEXT, 2, uintptr(pipeline), uintptr(program), 0) -} -func ActiveStencilFaceEXT(face uint32) { - syscall.Syscall(gpActiveStencilFaceEXT, 1, uintptr(face), 0, 0) -} - -// select active texture unit -func ActiveTexture(texture uint32) { - syscall.Syscall(gpActiveTexture, 1, uintptr(texture), 0, 0) -} -func ActiveTextureARB(texture uint32) { - syscall.Syscall(gpActiveTextureARB, 1, uintptr(texture), 0, 0) -} -func ActiveVaryingNV(program uint32, name *uint8) { - syscall.Syscall(gpActiveVaryingNV, 2, uintptr(program), uintptr(unsafe.Pointer(name)), 0) -} -func AlphaFragmentOp1ATI(op uint32, dst uint32, dstMod uint32, arg1 uint32, arg1Rep uint32, arg1Mod uint32) { - syscall.Syscall6(gpAlphaFragmentOp1ATI, 6, uintptr(op), uintptr(dst), uintptr(dstMod), uintptr(arg1), uintptr(arg1Rep), uintptr(arg1Mod)) -} -func AlphaFragmentOp2ATI(op uint32, dst uint32, dstMod uint32, arg1 uint32, arg1Rep uint32, arg1Mod uint32, arg2 uint32, arg2Rep uint32, arg2Mod uint32) { - syscall.Syscall9(gpAlphaFragmentOp2ATI, 9, uintptr(op), uintptr(dst), uintptr(dstMod), uintptr(arg1), uintptr(arg1Rep), uintptr(arg1Mod), uintptr(arg2), uintptr(arg2Rep), uintptr(arg2Mod)) -} -func AlphaFragmentOp3ATI(op uint32, dst uint32, dstMod uint32, arg1 uint32, arg1Rep uint32, arg1Mod uint32, arg2 uint32, arg2Rep uint32, arg2Mod uint32, arg3 uint32, arg3Rep uint32, arg3Mod uint32) { - syscall.Syscall12(gpAlphaFragmentOp3ATI, 12, uintptr(op), uintptr(dst), uintptr(dstMod), uintptr(arg1), uintptr(arg1Rep), uintptr(arg1Mod), uintptr(arg2), uintptr(arg2Rep), uintptr(arg2Mod), uintptr(arg3), uintptr(arg3Rep), uintptr(arg3Mod)) -} - -// specify the alpha test function -func AlphaFunc(xfunc uint32, ref float32) { - syscall.Syscall(gpAlphaFunc, 2, uintptr(xfunc), uintptr(math.Float32bits(ref)), 0) -} -func AlphaFuncxOES(xfunc uint32, ref int32) { - syscall.Syscall(gpAlphaFuncxOES, 2, uintptr(xfunc), uintptr(ref), 0) -} -func AlphaToCoverageDitherControlNV(mode uint32) { - syscall.Syscall(gpAlphaToCoverageDitherControlNV, 1, uintptr(mode), 0, 0) -} -func ApplyFramebufferAttachmentCMAAINTEL() { - syscall.Syscall(gpApplyFramebufferAttachmentCMAAINTEL, 0, 0, 0, 0) -} -func ApplyTextureEXT(mode uint32) { - syscall.Syscall(gpApplyTextureEXT, 1, uintptr(mode), 0, 0) -} -func AreProgramsResidentNV(n int32, programs *uint32, residences *bool) bool { - ret, _, _ := syscall.Syscall(gpAreProgramsResidentNV, 3, uintptr(n), uintptr(unsafe.Pointer(programs)), uintptr(unsafe.Pointer(residences))) - return ret != 0 -} - -// determine if textures are loaded in texture memory -func AreTexturesResident(n int32, textures *uint32, residences *bool) bool { - ret, _, _ := syscall.Syscall(gpAreTexturesResident, 3, uintptr(n), uintptr(unsafe.Pointer(textures)), uintptr(unsafe.Pointer(residences))) - return ret != 0 -} -func AreTexturesResidentEXT(n int32, textures *uint32, residences *bool) bool { - ret, _, _ := syscall.Syscall(gpAreTexturesResidentEXT, 3, uintptr(n), uintptr(unsafe.Pointer(textures)), uintptr(unsafe.Pointer(residences))) - return ret != 0 -} - -// render a vertex using the specified vertex array element -func ArrayElement(i int32) { - syscall.Syscall(gpArrayElement, 1, uintptr(i), 0, 0) -} -func ArrayElementEXT(i int32) { - syscall.Syscall(gpArrayElementEXT, 1, uintptr(i), 0, 0) -} -func ArrayObjectATI(array uint32, size int32, xtype uint32, stride int32, buffer uint32, offset uint32) { - syscall.Syscall6(gpArrayObjectATI, 6, uintptr(array), uintptr(size), uintptr(xtype), uintptr(stride), uintptr(buffer), uintptr(offset)) -} -func AsyncMarkerSGIX(marker uint32) { - syscall.Syscall(gpAsyncMarkerSGIX, 1, uintptr(marker), 0, 0) -} -func AttachObjectARB(containerObj uintptr, obj uintptr) { - syscall.Syscall(gpAttachObjectARB, 2, uintptr(containerObj), uintptr(obj), 0) -} - -// Attaches a shader object to a program object func AttachShader(program uint32, shader uint32) { syscall.Syscall(gpAttachShader, 2, uintptr(program), uintptr(shader), 0) } -// delimit the vertices of a primitive or a group of like primitives -func Begin(mode uint32) { - syscall.Syscall(gpBegin, 1, uintptr(mode), 0, 0) -} -func BeginConditionalRenderNV(id uint32, mode uint32) { - syscall.Syscall(gpBeginConditionalRenderNV, 2, uintptr(id), uintptr(mode), 0) -} -func BeginConditionalRenderNVX(id uint32) { - syscall.Syscall(gpBeginConditionalRenderNVX, 1, uintptr(id), 0, 0) -} -func BeginFragmentShaderATI() { - syscall.Syscall(gpBeginFragmentShaderATI, 0, 0, 0, 0) -} -func BeginOcclusionQueryNV(id uint32) { - syscall.Syscall(gpBeginOcclusionQueryNV, 1, uintptr(id), 0, 0) -} -func BeginPerfMonitorAMD(monitor uint32) { - syscall.Syscall(gpBeginPerfMonitorAMD, 1, uintptr(monitor), 0, 0) -} -func BeginPerfQueryINTEL(queryHandle uint32) { - syscall.Syscall(gpBeginPerfQueryINTEL, 1, uintptr(queryHandle), 0, 0) -} - -// delimit the boundaries of a query object -func BeginQuery(target uint32, id uint32) { - syscall.Syscall(gpBeginQuery, 2, uintptr(target), uintptr(id), 0) -} -func BeginQueryARB(target uint32, id uint32) { - syscall.Syscall(gpBeginQueryARB, 2, uintptr(target), uintptr(id), 0) -} -func BeginQueryIndexed(target uint32, index uint32, id uint32) { - syscall.Syscall(gpBeginQueryIndexed, 3, uintptr(target), uintptr(index), uintptr(id)) -} -func BeginTransformFeedbackEXT(primitiveMode uint32) { - syscall.Syscall(gpBeginTransformFeedbackEXT, 1, uintptr(primitiveMode), 0, 0) -} -func BeginTransformFeedbackNV(primitiveMode uint32) { - syscall.Syscall(gpBeginTransformFeedbackNV, 1, uintptr(primitiveMode), 0, 0) -} -func BeginVertexShaderEXT() { - syscall.Syscall(gpBeginVertexShaderEXT, 0, 0, 0, 0) -} -func BeginVideoCaptureNV(video_capture_slot uint32) { - syscall.Syscall(gpBeginVideoCaptureNV, 1, uintptr(video_capture_slot), 0, 0) -} - -// Associates a generic vertex attribute index with a named attribute variable func BindAttribLocation(program uint32, index uint32, name *uint8) { syscall.Syscall(gpBindAttribLocation, 3, uintptr(program), uintptr(index), uintptr(unsafe.Pointer(name))) } -func BindAttribLocationARB(programObj uintptr, index uint32, name *uint8) { - syscall.Syscall(gpBindAttribLocationARB, 3, uintptr(programObj), uintptr(index), uintptr(unsafe.Pointer(name))) -} -// bind a named buffer object func BindBuffer(target uint32, buffer uint32) { syscall.Syscall(gpBindBuffer, 2, uintptr(target), uintptr(buffer), 0) } -func BindBufferARB(target uint32, buffer uint32) { - syscall.Syscall(gpBindBufferARB, 2, uintptr(target), uintptr(buffer), 0) -} -// bind a buffer object to an indexed buffer target -func BindBufferBase(target uint32, index uint32, buffer uint32) { - syscall.Syscall(gpBindBufferBase, 3, uintptr(target), uintptr(index), uintptr(buffer)) -} -func BindBufferBaseEXT(target uint32, index uint32, buffer uint32) { - syscall.Syscall(gpBindBufferBaseEXT, 3, uintptr(target), uintptr(index), uintptr(buffer)) -} -func BindBufferBaseNV(target uint32, index uint32, buffer uint32) { - syscall.Syscall(gpBindBufferBaseNV, 3, uintptr(target), uintptr(index), uintptr(buffer)) -} -func BindBufferOffsetEXT(target uint32, index uint32, buffer uint32, offset int) { - syscall.Syscall6(gpBindBufferOffsetEXT, 4, uintptr(target), uintptr(index), uintptr(buffer), uintptr(offset), 0, 0) -} -func BindBufferOffsetNV(target uint32, index uint32, buffer uint32, offset int) { - syscall.Syscall6(gpBindBufferOffsetNV, 4, uintptr(target), uintptr(index), uintptr(buffer), uintptr(offset), 0, 0) -} - -// bind a range within a buffer object to an indexed buffer target -func BindBufferRange(target uint32, index uint32, buffer uint32, offset int, size int) { - syscall.Syscall6(gpBindBufferRange, 5, uintptr(target), uintptr(index), uintptr(buffer), uintptr(offset), uintptr(size), 0) -} -func BindBufferRangeEXT(target uint32, index uint32, buffer uint32, offset int, size int) { - syscall.Syscall6(gpBindBufferRangeEXT, 5, uintptr(target), uintptr(index), uintptr(buffer), uintptr(offset), uintptr(size), 0) -} -func BindBufferRangeNV(target uint32, index uint32, buffer uint32, offset int, size int) { - syscall.Syscall6(gpBindBufferRangeNV, 5, uintptr(target), uintptr(index), uintptr(buffer), uintptr(offset), uintptr(size), 0) -} - -// bind one or more buffer objects to a sequence of indexed buffer targets -func BindBuffersBase(target uint32, first uint32, count int32, buffers *uint32) { - syscall.Syscall6(gpBindBuffersBase, 4, uintptr(target), uintptr(first), uintptr(count), uintptr(unsafe.Pointer(buffers)), 0, 0) -} - -// bind ranges of one or more buffer objects to a sequence of indexed buffer targets -func BindBuffersRange(target uint32, first uint32, count int32, buffers *uint32, offsets *int, sizes *int) { - syscall.Syscall6(gpBindBuffersRange, 6, uintptr(target), uintptr(first), uintptr(count), uintptr(unsafe.Pointer(buffers)), uintptr(unsafe.Pointer(offsets)), uintptr(unsafe.Pointer(sizes))) -} -func BindFragDataLocationEXT(program uint32, color uint32, name *uint8) { - syscall.Syscall(gpBindFragDataLocationEXT, 3, uintptr(program), uintptr(color), uintptr(unsafe.Pointer(name))) -} - -// bind a user-defined varying out variable to a fragment shader color number and index -func BindFragDataLocationIndexed(program uint32, colorNumber uint32, index uint32, name *uint8) { - syscall.Syscall6(gpBindFragDataLocationIndexed, 4, uintptr(program), uintptr(colorNumber), uintptr(index), uintptr(unsafe.Pointer(name)), 0, 0) -} -func BindFragmentShaderATI(id uint32) { - syscall.Syscall(gpBindFragmentShaderATI, 1, uintptr(id), 0, 0) -} - -// bind a framebuffer to a framebuffer target -func BindFramebuffer(target uint32, framebuffer uint32) { - syscall.Syscall(gpBindFramebuffer, 2, uintptr(target), uintptr(framebuffer), 0) -} func BindFramebufferEXT(target uint32, framebuffer uint32) { syscall.Syscall(gpBindFramebufferEXT, 2, uintptr(target), uintptr(framebuffer), 0) } -// bind a level of a texture to an image unit -func BindImageTexture(unit uint32, texture uint32, level int32, layered bool, layer int32, access uint32, format uint32) { - syscall.Syscall9(gpBindImageTexture, 7, uintptr(unit), uintptr(texture), uintptr(level), boolToUintptr(layered), uintptr(layer), uintptr(access), uintptr(format), 0, 0) -} -func BindImageTextureEXT(index uint32, texture uint32, level int32, layered bool, layer int32, access uint32, format int32) { - syscall.Syscall9(gpBindImageTextureEXT, 7, uintptr(index), uintptr(texture), uintptr(level), boolToUintptr(layered), uintptr(layer), uintptr(access), uintptr(format), 0, 0) -} - -// bind one or more named texture images to a sequence of consecutive image units -func BindImageTextures(first uint32, count int32, textures *uint32) { - syscall.Syscall(gpBindImageTextures, 3, uintptr(first), uintptr(count), uintptr(unsafe.Pointer(textures))) -} -func BindLightParameterEXT(light uint32, value uint32) uint32 { - ret, _, _ := syscall.Syscall(gpBindLightParameterEXT, 2, uintptr(light), uintptr(value), 0) - return (uint32)(ret) -} -func BindMaterialParameterEXT(face uint32, value uint32) uint32 { - ret, _, _ := syscall.Syscall(gpBindMaterialParameterEXT, 2, uintptr(face), uintptr(value), 0) - return (uint32)(ret) -} -func BindMultiTextureEXT(texunit uint32, target uint32, texture uint32) { - syscall.Syscall(gpBindMultiTextureEXT, 3, uintptr(texunit), uintptr(target), uintptr(texture)) -} -func BindParameterEXT(value uint32) uint32 { - ret, _, _ := syscall.Syscall(gpBindParameterEXT, 1, uintptr(value), 0, 0) - return (uint32)(ret) -} -func BindProgramARB(target uint32, program uint32) { - syscall.Syscall(gpBindProgramARB, 2, uintptr(target), uintptr(program), 0) -} -func BindProgramNV(target uint32, id uint32) { - syscall.Syscall(gpBindProgramNV, 2, uintptr(target), uintptr(id), 0) -} - -// bind a program pipeline to the current context -func BindProgramPipeline(pipeline uint32) { - syscall.Syscall(gpBindProgramPipeline, 1, uintptr(pipeline), 0, 0) -} -func BindProgramPipelineEXT(pipeline uint32) { - syscall.Syscall(gpBindProgramPipelineEXT, 1, uintptr(pipeline), 0, 0) -} - -// bind a renderbuffer to a renderbuffer target -func BindRenderbuffer(target uint32, renderbuffer uint32) { - syscall.Syscall(gpBindRenderbuffer, 2, uintptr(target), uintptr(renderbuffer), 0) -} -func BindRenderbufferEXT(target uint32, renderbuffer uint32) { - syscall.Syscall(gpBindRenderbufferEXT, 2, uintptr(target), uintptr(renderbuffer), 0) -} - -// bind a named sampler to a texturing target -func BindSampler(unit uint32, sampler uint32) { - syscall.Syscall(gpBindSampler, 2, uintptr(unit), uintptr(sampler), 0) -} - -// bind one or more named sampler objects to a sequence of consecutive sampler units -func BindSamplers(first uint32, count int32, samplers *uint32) { - syscall.Syscall(gpBindSamplers, 3, uintptr(first), uintptr(count), uintptr(unsafe.Pointer(samplers))) -} -func BindTexGenParameterEXT(unit uint32, coord uint32, value uint32) uint32 { - ret, _, _ := syscall.Syscall(gpBindTexGenParameterEXT, 3, uintptr(unit), uintptr(coord), uintptr(value)) - return (uint32)(ret) -} - -// bind a named texture to a texturing target func BindTexture(target uint32, texture uint32) { syscall.Syscall(gpBindTexture, 2, uintptr(target), uintptr(texture), 0) } -func BindTextureEXT(target uint32, texture uint32) { - syscall.Syscall(gpBindTextureEXT, 2, uintptr(target), uintptr(texture), 0) -} -// bind an existing texture object to the specified texture unit -func BindTextureUnit(unit uint32, texture uint32) { - syscall.Syscall(gpBindTextureUnit, 2, uintptr(unit), uintptr(texture), 0) -} -func BindTextureUnitParameterEXT(unit uint32, value uint32) uint32 { - ret, _, _ := syscall.Syscall(gpBindTextureUnitParameterEXT, 2, uintptr(unit), uintptr(value), 0) - return (uint32)(ret) -} - -// bind one or more named textures to a sequence of consecutive texture units -func BindTextures(first uint32, count int32, textures *uint32) { - syscall.Syscall(gpBindTextures, 3, uintptr(first), uintptr(count), uintptr(unsafe.Pointer(textures))) -} - -// bind a transform feedback object -func BindTransformFeedback(target uint32, id uint32) { - syscall.Syscall(gpBindTransformFeedback, 2, uintptr(target), uintptr(id), 0) -} -func BindTransformFeedbackNV(target uint32, id uint32) { - syscall.Syscall(gpBindTransformFeedbackNV, 2, uintptr(target), uintptr(id), 0) -} - -// bind a vertex array object -func BindVertexArray(array uint32) { - syscall.Syscall(gpBindVertexArray, 1, uintptr(array), 0, 0) -} -func BindVertexArrayAPPLE(array uint32) { - syscall.Syscall(gpBindVertexArrayAPPLE, 1, uintptr(array), 0, 0) -} - -// bind a buffer to a vertex buffer bind point -func BindVertexBuffer(bindingindex uint32, buffer uint32, offset int, stride int32) { - syscall.Syscall6(gpBindVertexBuffer, 4, uintptr(bindingindex), uintptr(buffer), uintptr(offset), uintptr(stride), 0, 0) -} - -// attach multiple buffer objects to a vertex array object -func BindVertexBuffers(first uint32, count int32, buffers *uint32, offsets *int, strides *int32) { - syscall.Syscall6(gpBindVertexBuffers, 5, uintptr(first), uintptr(count), uintptr(unsafe.Pointer(buffers)), uintptr(unsafe.Pointer(offsets)), uintptr(unsafe.Pointer(strides)), 0) -} -func BindVertexShaderEXT(id uint32) { - syscall.Syscall(gpBindVertexShaderEXT, 1, uintptr(id), 0, 0) -} -func BindVideoCaptureStreamBufferNV(video_capture_slot uint32, stream uint32, frame_region uint32, offset int) { - syscall.Syscall6(gpBindVideoCaptureStreamBufferNV, 4, uintptr(video_capture_slot), uintptr(stream), uintptr(frame_region), uintptr(offset), 0, 0) -} -func BindVideoCaptureStreamTextureNV(video_capture_slot uint32, stream uint32, frame_region uint32, target uint32, texture uint32) { - syscall.Syscall6(gpBindVideoCaptureStreamTextureNV, 5, uintptr(video_capture_slot), uintptr(stream), uintptr(frame_region), uintptr(target), uintptr(texture), 0) -} -func Binormal3bEXT(bx int8, by int8, bz int8) { - syscall.Syscall(gpBinormal3bEXT, 3, uintptr(bx), uintptr(by), uintptr(bz)) -} -func Binormal3bvEXT(v *int8) { - syscall.Syscall(gpBinormal3bvEXT, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func Binormal3dEXT(bx float64, by float64, bz float64) { - syscall.Syscall(gpBinormal3dEXT, 3, uintptr(math.Float64bits(bx)), uintptr(math.Float64bits(by)), uintptr(math.Float64bits(bz))) -} -func Binormal3dvEXT(v *float64) { - syscall.Syscall(gpBinormal3dvEXT, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func Binormal3fEXT(bx float32, by float32, bz float32) { - syscall.Syscall(gpBinormal3fEXT, 3, uintptr(math.Float32bits(bx)), uintptr(math.Float32bits(by)), uintptr(math.Float32bits(bz))) -} -func Binormal3fvEXT(v *float32) { - syscall.Syscall(gpBinormal3fvEXT, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func Binormal3iEXT(bx int32, by int32, bz int32) { - syscall.Syscall(gpBinormal3iEXT, 3, uintptr(bx), uintptr(by), uintptr(bz)) -} -func Binormal3ivEXT(v *int32) { - syscall.Syscall(gpBinormal3ivEXT, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func Binormal3sEXT(bx int16, by int16, bz int16) { - syscall.Syscall(gpBinormal3sEXT, 3, uintptr(bx), uintptr(by), uintptr(bz)) -} -func Binormal3svEXT(v *int16) { - syscall.Syscall(gpBinormal3svEXT, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func BinormalPointerEXT(xtype uint32, stride int32, pointer unsafe.Pointer) { - syscall.Syscall(gpBinormalPointerEXT, 3, uintptr(xtype), uintptr(stride), uintptr(pointer)) -} - -// draw a bitmap -func Bitmap(width int32, height int32, xorig float32, yorig float32, xmove float32, ymove float32, bitmap *uint8) { - syscall.Syscall9(gpBitmap, 7, uintptr(width), uintptr(height), uintptr(math.Float32bits(xorig)), uintptr(math.Float32bits(yorig)), uintptr(math.Float32bits(xmove)), uintptr(math.Float32bits(ymove)), uintptr(unsafe.Pointer(bitmap)), 0, 0) -} -func BitmapxOES(width int32, height int32, xorig int32, yorig int32, xmove int32, ymove int32, bitmap *uint8) { - syscall.Syscall9(gpBitmapxOES, 7, uintptr(width), uintptr(height), uintptr(xorig), uintptr(yorig), uintptr(xmove), uintptr(ymove), uintptr(unsafe.Pointer(bitmap)), 0, 0) -} -func BlendBarrierKHR() { - syscall.Syscall(gpBlendBarrierKHR, 0, 0, 0, 0) -} -func BlendBarrierNV() { - syscall.Syscall(gpBlendBarrierNV, 0, 0, 0, 0) -} - -// set the blend color -func BlendColor(red float32, green float32, blue float32, alpha float32) { - syscall.Syscall6(gpBlendColor, 4, uintptr(math.Float32bits(red)), uintptr(math.Float32bits(green)), uintptr(math.Float32bits(blue)), uintptr(math.Float32bits(alpha)), 0, 0) -} -func BlendColorEXT(red float32, green float32, blue float32, alpha float32) { - syscall.Syscall6(gpBlendColorEXT, 4, uintptr(math.Float32bits(red)), uintptr(math.Float32bits(green)), uintptr(math.Float32bits(blue)), uintptr(math.Float32bits(alpha)), 0, 0) -} -func BlendColorxOES(red int32, green int32, blue int32, alpha int32) { - syscall.Syscall6(gpBlendColorxOES, 4, uintptr(red), uintptr(green), uintptr(blue), uintptr(alpha), 0, 0) -} - -// specify the equation used for both the RGB blend equation and the Alpha blend equation -func BlendEquation(mode uint32) { - syscall.Syscall(gpBlendEquation, 1, uintptr(mode), 0, 0) -} -func BlendEquationEXT(mode uint32) { - syscall.Syscall(gpBlendEquationEXT, 1, uintptr(mode), 0, 0) -} -func BlendEquationIndexedAMD(buf uint32, mode uint32) { - syscall.Syscall(gpBlendEquationIndexedAMD, 2, uintptr(buf), uintptr(mode), 0) -} - -// set the RGB blend equation and the alpha blend equation separately -func BlendEquationSeparate(modeRGB uint32, modeAlpha uint32) { - syscall.Syscall(gpBlendEquationSeparate, 2, uintptr(modeRGB), uintptr(modeAlpha), 0) -} -func BlendEquationSeparateEXT(modeRGB uint32, modeAlpha uint32) { - syscall.Syscall(gpBlendEquationSeparateEXT, 2, uintptr(modeRGB), uintptr(modeAlpha), 0) -} -func BlendEquationSeparateIndexedAMD(buf uint32, modeRGB uint32, modeAlpha uint32) { - syscall.Syscall(gpBlendEquationSeparateIndexedAMD, 3, uintptr(buf), uintptr(modeRGB), uintptr(modeAlpha)) -} -func BlendEquationSeparateiARB(buf uint32, modeRGB uint32, modeAlpha uint32) { - syscall.Syscall(gpBlendEquationSeparateiARB, 3, uintptr(buf), uintptr(modeRGB), uintptr(modeAlpha)) -} -func BlendEquationiARB(buf uint32, mode uint32) { - syscall.Syscall(gpBlendEquationiARB, 2, uintptr(buf), uintptr(mode), 0) -} - -// specify pixel arithmetic func BlendFunc(sfactor uint32, dfactor uint32) { syscall.Syscall(gpBlendFunc, 2, uintptr(sfactor), uintptr(dfactor), 0) } -func BlendFuncIndexedAMD(buf uint32, src uint32, dst uint32) { - syscall.Syscall(gpBlendFuncIndexedAMD, 3, uintptr(buf), uintptr(src), uintptr(dst)) -} -// specify pixel arithmetic for RGB and alpha components separately -func BlendFuncSeparate(sfactorRGB uint32, dfactorRGB uint32, sfactorAlpha uint32, dfactorAlpha uint32) { - syscall.Syscall6(gpBlendFuncSeparate, 4, uintptr(sfactorRGB), uintptr(dfactorRGB), uintptr(sfactorAlpha), uintptr(dfactorAlpha), 0, 0) -} -func BlendFuncSeparateEXT(sfactorRGB uint32, dfactorRGB uint32, sfactorAlpha uint32, dfactorAlpha uint32) { - syscall.Syscall6(gpBlendFuncSeparateEXT, 4, uintptr(sfactorRGB), uintptr(dfactorRGB), uintptr(sfactorAlpha), uintptr(dfactorAlpha), 0, 0) -} -func BlendFuncSeparateINGR(sfactorRGB uint32, dfactorRGB uint32, sfactorAlpha uint32, dfactorAlpha uint32) { - syscall.Syscall6(gpBlendFuncSeparateINGR, 4, uintptr(sfactorRGB), uintptr(dfactorRGB), uintptr(sfactorAlpha), uintptr(dfactorAlpha), 0, 0) -} -func BlendFuncSeparateIndexedAMD(buf uint32, srcRGB uint32, dstRGB uint32, srcAlpha uint32, dstAlpha uint32) { - syscall.Syscall6(gpBlendFuncSeparateIndexedAMD, 5, uintptr(buf), uintptr(srcRGB), uintptr(dstRGB), uintptr(srcAlpha), uintptr(dstAlpha), 0) -} -func BlendFuncSeparateiARB(buf uint32, srcRGB uint32, dstRGB uint32, srcAlpha uint32, dstAlpha uint32) { - syscall.Syscall6(gpBlendFuncSeparateiARB, 5, uintptr(buf), uintptr(srcRGB), uintptr(dstRGB), uintptr(srcAlpha), uintptr(dstAlpha), 0) -} -func BlendFunciARB(buf uint32, src uint32, dst uint32) { - syscall.Syscall(gpBlendFunciARB, 3, uintptr(buf), uintptr(src), uintptr(dst)) -} -func BlendParameteriNV(pname uint32, value int32) { - syscall.Syscall(gpBlendParameteriNV, 2, uintptr(pname), uintptr(value), 0) -} - -// copy a block of pixels from one framebuffer object to another -func BlitFramebuffer(srcX0 int32, srcY0 int32, srcX1 int32, srcY1 int32, dstX0 int32, dstY0 int32, dstX1 int32, dstY1 int32, mask uint32, filter uint32) { - syscall.Syscall12(gpBlitFramebuffer, 10, uintptr(srcX0), uintptr(srcY0), uintptr(srcX1), uintptr(srcY1), uintptr(dstX0), uintptr(dstY0), uintptr(dstX1), uintptr(dstY1), uintptr(mask), uintptr(filter), 0, 0) -} -func BlitFramebufferEXT(srcX0 int32, srcY0 int32, srcX1 int32, srcY1 int32, dstX0 int32, dstY0 int32, dstX1 int32, dstY1 int32, mask uint32, filter uint32) { - syscall.Syscall12(gpBlitFramebufferEXT, 10, uintptr(srcX0), uintptr(srcY0), uintptr(srcX1), uintptr(srcY1), uintptr(dstX0), uintptr(dstY0), uintptr(dstX1), uintptr(dstY1), uintptr(mask), uintptr(filter), 0, 0) -} - -// copy a block of pixels from one framebuffer object to another -func BlitNamedFramebuffer(readFramebuffer uint32, drawFramebuffer uint32, srcX0 int32, srcY0 int32, srcX1 int32, srcY1 int32, dstX0 int32, dstY0 int32, dstX1 int32, dstY1 int32, mask uint32, filter uint32) { - syscall.Syscall12(gpBlitNamedFramebuffer, 12, uintptr(readFramebuffer), uintptr(drawFramebuffer), uintptr(srcX0), uintptr(srcY0), uintptr(srcX1), uintptr(srcY1), uintptr(dstX0), uintptr(dstY0), uintptr(dstX1), uintptr(dstY1), uintptr(mask), uintptr(filter)) -} -func BufferAddressRangeNV(pname uint32, index uint32, address uint64, length int) { - syscall.Syscall6(gpBufferAddressRangeNV, 4, uintptr(pname), uintptr(index), uintptr(address), uintptr(length), 0, 0) -} - -// creates and initializes a buffer object's data store func BufferData(target uint32, size int, data unsafe.Pointer, usage uint32) { syscall.Syscall6(gpBufferData, 4, uintptr(target), uintptr(size), uintptr(data), uintptr(usage), 0, 0) } -func BufferDataARB(target uint32, size int, data unsafe.Pointer, usage uint32) { - syscall.Syscall6(gpBufferDataARB, 4, uintptr(target), uintptr(size), uintptr(data), uintptr(usage), 0, 0) -} -func BufferPageCommitmentARB(target uint32, offset int, size int, commit bool) { - syscall.Syscall6(gpBufferPageCommitmentARB, 4, uintptr(target), uintptr(offset), uintptr(size), boolToUintptr(commit), 0, 0) -} -func BufferParameteriAPPLE(target uint32, pname uint32, param int32) { - syscall.Syscall(gpBufferParameteriAPPLE, 3, uintptr(target), uintptr(pname), uintptr(param)) -} -// creates and initializes a buffer object's immutable data store -func BufferStorage(target uint32, size int, data unsafe.Pointer, flags uint32) { - syscall.Syscall6(gpBufferStorage, 4, uintptr(target), uintptr(size), uintptr(data), uintptr(flags), 0, 0) -} - -// Parameter clientBuffer has type C.GLeglClientBufferEXT. -func BufferStorageExternalEXT(target uint32, offset int, size int, clientBuffer unsafe.Pointer, flags uint32) { - syscall.Syscall6(gpBufferStorageExternalEXT, 5, uintptr(target), uintptr(offset), uintptr(size), uintptr(clientBuffer), uintptr(flags), 0) -} -func BufferStorageMemEXT(target uint32, size int, memory uint32, offset uint64) { - syscall.Syscall6(gpBufferStorageMemEXT, 4, uintptr(target), uintptr(size), uintptr(memory), uintptr(offset), 0, 0) -} - -// updates a subset of a buffer object's data store func BufferSubData(target uint32, offset int, size int, data unsafe.Pointer) { syscall.Syscall6(gpBufferSubData, 4, uintptr(target), uintptr(offset), uintptr(size), uintptr(data), 0, 0) } -func BufferSubDataARB(target uint32, offset int, size int, data unsafe.Pointer) { - syscall.Syscall6(gpBufferSubDataARB, 4, uintptr(target), uintptr(offset), uintptr(size), uintptr(data), 0, 0) -} -func CallCommandListNV(list uint32) { - syscall.Syscall(gpCallCommandListNV, 1, uintptr(list), 0, 0) -} -// execute a display list -func CallList(list uint32) { - syscall.Syscall(gpCallList, 1, uintptr(list), 0, 0) -} - -// execute a list of display lists -func CallLists(n int32, xtype uint32, lists unsafe.Pointer) { - syscall.Syscall(gpCallLists, 3, uintptr(n), uintptr(xtype), uintptr(lists)) -} - -// check the completeness status of a framebuffer -func CheckFramebufferStatus(target uint32) uint32 { - ret, _, _ := syscall.Syscall(gpCheckFramebufferStatus, 1, uintptr(target), 0, 0) - return (uint32)(ret) -} func CheckFramebufferStatusEXT(target uint32) uint32 { ret, _, _ := syscall.Syscall(gpCheckFramebufferStatusEXT, 1, uintptr(target), 0, 0) return (uint32)(ret) } -// check the completeness status of a framebuffer -func CheckNamedFramebufferStatus(framebuffer uint32, target uint32) uint32 { - ret, _, _ := syscall.Syscall(gpCheckNamedFramebufferStatus, 2, uintptr(framebuffer), uintptr(target), 0) - return (uint32)(ret) -} -func CheckNamedFramebufferStatusEXT(framebuffer uint32, target uint32) uint32 { - ret, _, _ := syscall.Syscall(gpCheckNamedFramebufferStatusEXT, 2, uintptr(framebuffer), uintptr(target), 0) - return (uint32)(ret) -} -func ClampColorARB(target uint32, clamp uint32) { - syscall.Syscall(gpClampColorARB, 2, uintptr(target), uintptr(clamp), 0) -} - -// clear buffers to preset values -func Clear(mask uint32) { - syscall.Syscall(gpClear, 1, uintptr(mask), 0, 0) -} - -// specify clear values for the accumulation buffer -func ClearAccum(red float32, green float32, blue float32, alpha float32) { - syscall.Syscall6(gpClearAccum, 4, uintptr(math.Float32bits(red)), uintptr(math.Float32bits(green)), uintptr(math.Float32bits(blue)), uintptr(math.Float32bits(alpha)), 0, 0) -} -func ClearAccumxOES(red int32, green int32, blue int32, alpha int32) { - syscall.Syscall6(gpClearAccumxOES, 4, uintptr(red), uintptr(green), uintptr(blue), uintptr(alpha), 0, 0) -} - -// fill a buffer object's data store with a fixed value -func ClearBufferData(target uint32, internalformat uint32, format uint32, xtype uint32, data unsafe.Pointer) { - syscall.Syscall6(gpClearBufferData, 5, uintptr(target), uintptr(internalformat), uintptr(format), uintptr(xtype), uintptr(data), 0) -} - -// fill all or part of buffer object's data store with a fixed value -func ClearBufferSubData(target uint32, internalformat uint32, offset int, size int, format uint32, xtype uint32, data unsafe.Pointer) { - syscall.Syscall9(gpClearBufferSubData, 7, uintptr(target), uintptr(internalformat), uintptr(offset), uintptr(size), uintptr(format), uintptr(xtype), uintptr(data), 0, 0) -} - -// specify clear values for the color buffers -func ClearColor(red float32, green float32, blue float32, alpha float32) { - syscall.Syscall6(gpClearColor, 4, uintptr(math.Float32bits(red)), uintptr(math.Float32bits(green)), uintptr(math.Float32bits(blue)), uintptr(math.Float32bits(alpha)), 0, 0) -} -func ClearColorIiEXT(red int32, green int32, blue int32, alpha int32) { - syscall.Syscall6(gpClearColorIiEXT, 4, uintptr(red), uintptr(green), uintptr(blue), uintptr(alpha), 0, 0) -} -func ClearColorIuiEXT(red uint32, green uint32, blue uint32, alpha uint32) { - syscall.Syscall6(gpClearColorIuiEXT, 4, uintptr(red), uintptr(green), uintptr(blue), uintptr(alpha), 0, 0) -} -func ClearColorxOES(red int32, green int32, blue int32, alpha int32) { - syscall.Syscall6(gpClearColorxOES, 4, uintptr(red), uintptr(green), uintptr(blue), uintptr(alpha), 0, 0) -} - -// specify the clear value for the depth buffer -func ClearDepth(depth float64) { - syscall.Syscall(gpClearDepth, 1, uintptr(math.Float64bits(depth)), 0, 0) -} -func ClearDepthdNV(depth float64) { - syscall.Syscall(gpClearDepthdNV, 1, uintptr(math.Float64bits(depth)), 0, 0) -} - -// specify the clear value for the depth buffer -func ClearDepthf(d float32) { - syscall.Syscall(gpClearDepthf, 1, uintptr(math.Float32bits(d)), 0, 0) -} -func ClearDepthfOES(depth float32) { - syscall.Syscall(gpClearDepthfOES, 1, uintptr(math.Float32bits(depth)), 0, 0) -} -func ClearDepthxOES(depth int32) { - syscall.Syscall(gpClearDepthxOES, 1, uintptr(depth), 0, 0) -} - -// specify the clear value for the color index buffers -func ClearIndex(c float32) { - syscall.Syscall(gpClearIndex, 1, uintptr(math.Float32bits(c)), 0, 0) -} - -// fill a buffer object's data store with a fixed value -func ClearNamedBufferData(buffer uint32, internalformat uint32, format uint32, xtype uint32, data unsafe.Pointer) { - syscall.Syscall6(gpClearNamedBufferData, 5, uintptr(buffer), uintptr(internalformat), uintptr(format), uintptr(xtype), uintptr(data), 0) -} -func ClearNamedBufferDataEXT(buffer uint32, internalformat uint32, format uint32, xtype uint32, data unsafe.Pointer) { - syscall.Syscall6(gpClearNamedBufferDataEXT, 5, uintptr(buffer), uintptr(internalformat), uintptr(format), uintptr(xtype), uintptr(data), 0) -} - -// fill all or part of buffer object's data store with a fixed value -func ClearNamedBufferSubData(buffer uint32, internalformat uint32, offset int, size int, format uint32, xtype uint32, data unsafe.Pointer) { - syscall.Syscall9(gpClearNamedBufferSubData, 7, uintptr(buffer), uintptr(internalformat), uintptr(offset), uintptr(size), uintptr(format), uintptr(xtype), uintptr(data), 0, 0) -} -func ClearNamedBufferSubDataEXT(buffer uint32, internalformat uint32, offset int, size int, format uint32, xtype uint32, data unsafe.Pointer) { - syscall.Syscall9(gpClearNamedBufferSubDataEXT, 7, uintptr(buffer), uintptr(internalformat), uintptr(offset), uintptr(size), uintptr(format), uintptr(xtype), uintptr(data), 0, 0) -} -func ClearNamedFramebufferfi(framebuffer uint32, buffer uint32, drawbuffer int32, depth float32, stencil int32) { - syscall.Syscall6(gpClearNamedFramebufferfi, 5, uintptr(framebuffer), uintptr(buffer), uintptr(drawbuffer), uintptr(math.Float32bits(depth)), uintptr(stencil), 0) -} -func ClearNamedFramebufferfv(framebuffer uint32, buffer uint32, drawbuffer int32, value *float32) { - syscall.Syscall6(gpClearNamedFramebufferfv, 4, uintptr(framebuffer), uintptr(buffer), uintptr(drawbuffer), uintptr(unsafe.Pointer(value)), 0, 0) -} -func ClearNamedFramebufferiv(framebuffer uint32, buffer uint32, drawbuffer int32, value *int32) { - syscall.Syscall6(gpClearNamedFramebufferiv, 4, uintptr(framebuffer), uintptr(buffer), uintptr(drawbuffer), uintptr(unsafe.Pointer(value)), 0, 0) -} -func ClearNamedFramebufferuiv(framebuffer uint32, buffer uint32, drawbuffer int32, value *uint32) { - syscall.Syscall6(gpClearNamedFramebufferuiv, 4, uintptr(framebuffer), uintptr(buffer), uintptr(drawbuffer), uintptr(unsafe.Pointer(value)), 0, 0) -} - -// specify the clear value for the stencil buffer -func ClearStencil(s int32) { - syscall.Syscall(gpClearStencil, 1, uintptr(s), 0, 0) -} - -// fills all a texture image with a constant value -func ClearTexImage(texture uint32, level int32, format uint32, xtype uint32, data unsafe.Pointer) { - syscall.Syscall6(gpClearTexImage, 5, uintptr(texture), uintptr(level), uintptr(format), uintptr(xtype), uintptr(data), 0) -} - -// fills all or part of a texture image with a constant value -func ClearTexSubImage(texture uint32, level int32, xoffset int32, yoffset int32, zoffset int32, width int32, height int32, depth int32, format uint32, xtype uint32, data unsafe.Pointer) { - syscall.Syscall12(gpClearTexSubImage, 11, uintptr(texture), uintptr(level), uintptr(xoffset), uintptr(yoffset), uintptr(zoffset), uintptr(width), uintptr(height), uintptr(depth), uintptr(format), uintptr(xtype), uintptr(data), 0) -} - -// select active texture unit -func ClientActiveTexture(texture uint32) { - syscall.Syscall(gpClientActiveTexture, 1, uintptr(texture), 0, 0) -} -func ClientActiveTextureARB(texture uint32) { - syscall.Syscall(gpClientActiveTextureARB, 1, uintptr(texture), 0, 0) -} -func ClientActiveVertexStreamATI(stream uint32) { - syscall.Syscall(gpClientActiveVertexStreamATI, 1, uintptr(stream), 0, 0) -} -func ClientAttribDefaultEXT(mask uint32) { - syscall.Syscall(gpClientAttribDefaultEXT, 1, uintptr(mask), 0, 0) -} - -// block and wait for a sync object to become signaled -func ClientWaitSync(sync uintptr, flags uint32, timeout uint64) uint32 { - ret, _, _ := syscall.Syscall(gpClientWaitSync, 3, uintptr(sync), uintptr(flags), uintptr(timeout)) - return (uint32)(ret) -} - -// control clip coordinate to window coordinate behavior -func ClipControl(origin uint32, depth uint32) { - syscall.Syscall(gpClipControl, 2, uintptr(origin), uintptr(depth), 0) -} - -// specify a plane against which all geometry is clipped -func ClipPlane(plane uint32, equation *float64) { - syscall.Syscall(gpClipPlane, 2, uintptr(plane), uintptr(unsafe.Pointer(equation)), 0) -} -func ClipPlanefOES(plane uint32, equation *float32) { - syscall.Syscall(gpClipPlanefOES, 2, uintptr(plane), uintptr(unsafe.Pointer(equation)), 0) -} -func ClipPlanexOES(plane uint32, equation *int32) { - syscall.Syscall(gpClipPlanexOES, 2, uintptr(plane), uintptr(unsafe.Pointer(equation)), 0) -} -func Color3b(red int8, green int8, blue int8) { - syscall.Syscall(gpColor3b, 3, uintptr(red), uintptr(green), uintptr(blue)) -} -func Color3bv(v *int8) { - syscall.Syscall(gpColor3bv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func Color3d(red float64, green float64, blue float64) { - syscall.Syscall(gpColor3d, 3, uintptr(math.Float64bits(red)), uintptr(math.Float64bits(green)), uintptr(math.Float64bits(blue))) -} -func Color3dv(v *float64) { - syscall.Syscall(gpColor3dv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func Color3f(red float32, green float32, blue float32) { - syscall.Syscall(gpColor3f, 3, uintptr(math.Float32bits(red)), uintptr(math.Float32bits(green)), uintptr(math.Float32bits(blue))) -} -func Color3fVertex3fSUN(r float32, g float32, b float32, x float32, y float32, z float32) { - syscall.Syscall6(gpColor3fVertex3fSUN, 6, uintptr(math.Float32bits(r)), uintptr(math.Float32bits(g)), uintptr(math.Float32bits(b)), uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y)), uintptr(math.Float32bits(z))) -} -func Color3fVertex3fvSUN(c *float32, v *float32) { - syscall.Syscall(gpColor3fVertex3fvSUN, 2, uintptr(unsafe.Pointer(c)), uintptr(unsafe.Pointer(v)), 0) -} -func Color3fv(v *float32) { - syscall.Syscall(gpColor3fv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func Color3hNV(red uint16, green uint16, blue uint16) { - syscall.Syscall(gpColor3hNV, 3, uintptr(red), uintptr(green), uintptr(blue)) -} -func Color3hvNV(v *uint16) { - syscall.Syscall(gpColor3hvNV, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func Color3i(red int32, green int32, blue int32) { - syscall.Syscall(gpColor3i, 3, uintptr(red), uintptr(green), uintptr(blue)) -} -func Color3iv(v *int32) { - syscall.Syscall(gpColor3iv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func Color3s(red int16, green int16, blue int16) { - syscall.Syscall(gpColor3s, 3, uintptr(red), uintptr(green), uintptr(blue)) -} -func Color3sv(v *int16) { - syscall.Syscall(gpColor3sv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func Color3ub(red uint8, green uint8, blue uint8) { - syscall.Syscall(gpColor3ub, 3, uintptr(red), uintptr(green), uintptr(blue)) -} -func Color3ubv(v *uint8) { - syscall.Syscall(gpColor3ubv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func Color3ui(red uint32, green uint32, blue uint32) { - syscall.Syscall(gpColor3ui, 3, uintptr(red), uintptr(green), uintptr(blue)) -} -func Color3uiv(v *uint32) { - syscall.Syscall(gpColor3uiv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func Color3us(red uint16, green uint16, blue uint16) { - syscall.Syscall(gpColor3us, 3, uintptr(red), uintptr(green), uintptr(blue)) -} -func Color3usv(v *uint16) { - syscall.Syscall(gpColor3usv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func Color3xOES(red int32, green int32, blue int32) { - syscall.Syscall(gpColor3xOES, 3, uintptr(red), uintptr(green), uintptr(blue)) -} -func Color3xvOES(components *int32) { - syscall.Syscall(gpColor3xvOES, 1, uintptr(unsafe.Pointer(components)), 0, 0) -} -func Color4b(red int8, green int8, blue int8, alpha int8) { - syscall.Syscall6(gpColor4b, 4, uintptr(red), uintptr(green), uintptr(blue), uintptr(alpha), 0, 0) -} -func Color4bv(v *int8) { - syscall.Syscall(gpColor4bv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func Color4d(red float64, green float64, blue float64, alpha float64) { - syscall.Syscall6(gpColor4d, 4, uintptr(math.Float64bits(red)), uintptr(math.Float64bits(green)), uintptr(math.Float64bits(blue)), uintptr(math.Float64bits(alpha)), 0, 0) -} -func Color4dv(v *float64) { - syscall.Syscall(gpColor4dv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func Color4f(red float32, green float32, blue float32, alpha float32) { - syscall.Syscall6(gpColor4f, 4, uintptr(math.Float32bits(red)), uintptr(math.Float32bits(green)), uintptr(math.Float32bits(blue)), uintptr(math.Float32bits(alpha)), 0, 0) -} -func Color4fNormal3fVertex3fSUN(r float32, g float32, b float32, a float32, nx float32, ny float32, nz float32, x float32, y float32, z float32) { - syscall.Syscall12(gpColor4fNormal3fVertex3fSUN, 10, uintptr(math.Float32bits(r)), uintptr(math.Float32bits(g)), uintptr(math.Float32bits(b)), uintptr(math.Float32bits(a)), uintptr(math.Float32bits(nx)), uintptr(math.Float32bits(ny)), uintptr(math.Float32bits(nz)), uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y)), uintptr(math.Float32bits(z)), 0, 0) -} -func Color4fNormal3fVertex3fvSUN(c *float32, n *float32, v *float32) { - syscall.Syscall(gpColor4fNormal3fVertex3fvSUN, 3, uintptr(unsafe.Pointer(c)), uintptr(unsafe.Pointer(n)), uintptr(unsafe.Pointer(v))) -} -func Color4fv(v *float32) { - syscall.Syscall(gpColor4fv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func Color4hNV(red uint16, green uint16, blue uint16, alpha uint16) { - syscall.Syscall6(gpColor4hNV, 4, uintptr(red), uintptr(green), uintptr(blue), uintptr(alpha), 0, 0) -} -func Color4hvNV(v *uint16) { - syscall.Syscall(gpColor4hvNV, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func Color4i(red int32, green int32, blue int32, alpha int32) { - syscall.Syscall6(gpColor4i, 4, uintptr(red), uintptr(green), uintptr(blue), uintptr(alpha), 0, 0) -} -func Color4iv(v *int32) { - syscall.Syscall(gpColor4iv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func Color4s(red int16, green int16, blue int16, alpha int16) { - syscall.Syscall6(gpColor4s, 4, uintptr(red), uintptr(green), uintptr(blue), uintptr(alpha), 0, 0) -} -func Color4sv(v *int16) { - syscall.Syscall(gpColor4sv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func Color4ub(red uint8, green uint8, blue uint8, alpha uint8) { - syscall.Syscall6(gpColor4ub, 4, uintptr(red), uintptr(green), uintptr(blue), uintptr(alpha), 0, 0) -} -func Color4ubVertex2fSUN(r uint8, g uint8, b uint8, a uint8, x float32, y float32) { - syscall.Syscall6(gpColor4ubVertex2fSUN, 6, uintptr(r), uintptr(g), uintptr(b), uintptr(a), uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y))) -} -func Color4ubVertex2fvSUN(c *uint8, v *float32) { - syscall.Syscall(gpColor4ubVertex2fvSUN, 2, uintptr(unsafe.Pointer(c)), uintptr(unsafe.Pointer(v)), 0) -} -func Color4ubVertex3fSUN(r uint8, g uint8, b uint8, a uint8, x float32, y float32, z float32) { - syscall.Syscall9(gpColor4ubVertex3fSUN, 7, uintptr(r), uintptr(g), uintptr(b), uintptr(a), uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y)), uintptr(math.Float32bits(z)), 0, 0) -} -func Color4ubVertex3fvSUN(c *uint8, v *float32) { - syscall.Syscall(gpColor4ubVertex3fvSUN, 2, uintptr(unsafe.Pointer(c)), uintptr(unsafe.Pointer(v)), 0) -} -func Color4ubv(v *uint8) { - syscall.Syscall(gpColor4ubv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func Color4ui(red uint32, green uint32, blue uint32, alpha uint32) { - syscall.Syscall6(gpColor4ui, 4, uintptr(red), uintptr(green), uintptr(blue), uintptr(alpha), 0, 0) -} -func Color4uiv(v *uint32) { - syscall.Syscall(gpColor4uiv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func Color4us(red uint16, green uint16, blue uint16, alpha uint16) { - syscall.Syscall6(gpColor4us, 4, uintptr(red), uintptr(green), uintptr(blue), uintptr(alpha), 0, 0) -} -func Color4usv(v *uint16) { - syscall.Syscall(gpColor4usv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func Color4xOES(red int32, green int32, blue int32, alpha int32) { - syscall.Syscall6(gpColor4xOES, 4, uintptr(red), uintptr(green), uintptr(blue), uintptr(alpha), 0, 0) -} -func Color4xvOES(components *int32) { - syscall.Syscall(gpColor4xvOES, 1, uintptr(unsafe.Pointer(components)), 0, 0) -} -func ColorFormatNV(size int32, xtype uint32, stride int32) { - syscall.Syscall(gpColorFormatNV, 3, uintptr(size), uintptr(xtype), uintptr(stride)) -} -func ColorFragmentOp1ATI(op uint32, dst uint32, dstMask uint32, dstMod uint32, arg1 uint32, arg1Rep uint32, arg1Mod uint32) { - syscall.Syscall9(gpColorFragmentOp1ATI, 7, uintptr(op), uintptr(dst), uintptr(dstMask), uintptr(dstMod), uintptr(arg1), uintptr(arg1Rep), uintptr(arg1Mod), 0, 0) -} -func ColorFragmentOp2ATI(op uint32, dst uint32, dstMask uint32, dstMod uint32, arg1 uint32, arg1Rep uint32, arg1Mod uint32, arg2 uint32, arg2Rep uint32, arg2Mod uint32) { - syscall.Syscall12(gpColorFragmentOp2ATI, 10, uintptr(op), uintptr(dst), uintptr(dstMask), uintptr(dstMod), uintptr(arg1), uintptr(arg1Rep), uintptr(arg1Mod), uintptr(arg2), uintptr(arg2Rep), uintptr(arg2Mod), 0, 0) -} -func ColorFragmentOp3ATI(op uint32, dst uint32, dstMask uint32, dstMod uint32, arg1 uint32, arg1Rep uint32, arg1Mod uint32, arg2 uint32, arg2Rep uint32, arg2Mod uint32, arg3 uint32, arg3Rep uint32, arg3Mod uint32) { - syscall.Syscall15(gpColorFragmentOp3ATI, 13, uintptr(op), uintptr(dst), uintptr(dstMask), uintptr(dstMod), uintptr(arg1), uintptr(arg1Rep), uintptr(arg1Mod), uintptr(arg2), uintptr(arg2Rep), uintptr(arg2Mod), uintptr(arg3), uintptr(arg3Rep), uintptr(arg3Mod), 0, 0) -} -func ColorMask(red bool, green bool, blue bool, alpha bool) { - syscall.Syscall6(gpColorMask, 4, boolToUintptr(red), boolToUintptr(green), boolToUintptr(blue), boolToUintptr(alpha), 0, 0) -} -func ColorMaskIndexedEXT(index uint32, r bool, g bool, b bool, a bool) { - syscall.Syscall6(gpColorMaskIndexedEXT, 5, uintptr(index), boolToUintptr(r), boolToUintptr(g), boolToUintptr(b), boolToUintptr(a), 0) -} - -// cause a material color to track the current color -func ColorMaterial(face uint32, mode uint32) { - syscall.Syscall(gpColorMaterial, 2, uintptr(face), uintptr(mode), 0) -} - -// define an array of colors -func ColorPointer(size int32, xtype uint32, stride int32, pointer unsafe.Pointer) { - syscall.Syscall6(gpColorPointer, 4, uintptr(size), uintptr(xtype), uintptr(stride), uintptr(pointer), 0, 0) -} -func ColorPointerEXT(size int32, xtype uint32, stride int32, count int32, pointer unsafe.Pointer) { - syscall.Syscall6(gpColorPointerEXT, 5, uintptr(size), uintptr(xtype), uintptr(stride), uintptr(count), uintptr(pointer), 0) -} -func ColorPointerListIBM(size int32, xtype uint32, stride int32, pointer *unsafe.Pointer, ptrstride int32) { - syscall.Syscall6(gpColorPointerListIBM, 5, uintptr(size), uintptr(xtype), uintptr(stride), uintptr(unsafe.Pointer(pointer)), uintptr(ptrstride), 0) -} -func ColorPointervINTEL(size int32, xtype uint32, pointer *unsafe.Pointer) { - syscall.Syscall(gpColorPointervINTEL, 3, uintptr(size), uintptr(xtype), uintptr(unsafe.Pointer(pointer))) -} -func ColorSubTableEXT(target uint32, start int32, count int32, format uint32, xtype uint32, data unsafe.Pointer) { - syscall.Syscall6(gpColorSubTableEXT, 6, uintptr(target), uintptr(start), uintptr(count), uintptr(format), uintptr(xtype), uintptr(data)) -} -func ColorTableEXT(target uint32, internalFormat uint32, width int32, format uint32, xtype uint32, table unsafe.Pointer) { - syscall.Syscall6(gpColorTableEXT, 6, uintptr(target), uintptr(internalFormat), uintptr(width), uintptr(format), uintptr(xtype), uintptr(table)) -} -func ColorTableParameterfvSGI(target uint32, pname uint32, params *float32) { - syscall.Syscall(gpColorTableParameterfvSGI, 3, uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func ColorTableParameterivSGI(target uint32, pname uint32, params *int32) { - syscall.Syscall(gpColorTableParameterivSGI, 3, uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func ColorTableSGI(target uint32, internalformat uint32, width int32, format uint32, xtype uint32, table unsafe.Pointer) { - syscall.Syscall6(gpColorTableSGI, 6, uintptr(target), uintptr(internalformat), uintptr(width), uintptr(format), uintptr(xtype), uintptr(table)) -} -func CombinerInputNV(stage uint32, portion uint32, variable uint32, input uint32, mapping uint32, componentUsage uint32) { - syscall.Syscall6(gpCombinerInputNV, 6, uintptr(stage), uintptr(portion), uintptr(variable), uintptr(input), uintptr(mapping), uintptr(componentUsage)) -} -func CombinerOutputNV(stage uint32, portion uint32, abOutput uint32, cdOutput uint32, sumOutput uint32, scale uint32, bias uint32, abDotProduct bool, cdDotProduct bool, muxSum bool) { - syscall.Syscall12(gpCombinerOutputNV, 10, uintptr(stage), uintptr(portion), uintptr(abOutput), uintptr(cdOutput), uintptr(sumOutput), uintptr(scale), uintptr(bias), boolToUintptr(abDotProduct), boolToUintptr(cdDotProduct), boolToUintptr(muxSum), 0, 0) -} -func CombinerParameterfNV(pname uint32, param float32) { - syscall.Syscall(gpCombinerParameterfNV, 2, uintptr(pname), uintptr(math.Float32bits(param)), 0) -} -func CombinerParameterfvNV(pname uint32, params *float32) { - syscall.Syscall(gpCombinerParameterfvNV, 2, uintptr(pname), uintptr(unsafe.Pointer(params)), 0) -} -func CombinerParameteriNV(pname uint32, param int32) { - syscall.Syscall(gpCombinerParameteriNV, 2, uintptr(pname), uintptr(param), 0) -} -func CombinerParameterivNV(pname uint32, params *int32) { - syscall.Syscall(gpCombinerParameterivNV, 2, uintptr(pname), uintptr(unsafe.Pointer(params)), 0) -} -func CombinerStageParameterfvNV(stage uint32, pname uint32, params *float32) { - syscall.Syscall(gpCombinerStageParameterfvNV, 3, uintptr(stage), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func CommandListSegmentsNV(list uint32, segments uint32) { - syscall.Syscall(gpCommandListSegmentsNV, 2, uintptr(list), uintptr(segments), 0) -} -func CompileCommandListNV(list uint32) { - syscall.Syscall(gpCompileCommandListNV, 1, uintptr(list), 0, 0) -} - -// Compiles a shader object func CompileShader(shader uint32) { syscall.Syscall(gpCompileShader, 1, uintptr(shader), 0, 0) } -func CompileShaderARB(shaderObj uintptr) { - syscall.Syscall(gpCompileShaderARB, 1, uintptr(shaderObj), 0, 0) -} -func CompileShaderIncludeARB(shader uint32, count int32, path **uint8, length *int32) { - syscall.Syscall6(gpCompileShaderIncludeARB, 4, uintptr(shader), uintptr(count), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(length)), 0, 0) -} -func CompressedMultiTexImage1DEXT(texunit uint32, target uint32, level int32, internalformat uint32, width int32, border int32, imageSize int32, bits unsafe.Pointer) { - syscall.Syscall9(gpCompressedMultiTexImage1DEXT, 8, uintptr(texunit), uintptr(target), uintptr(level), uintptr(internalformat), uintptr(width), uintptr(border), uintptr(imageSize), uintptr(bits), 0) -} -func CompressedMultiTexImage2DEXT(texunit uint32, target uint32, level int32, internalformat uint32, width int32, height int32, border int32, imageSize int32, bits unsafe.Pointer) { - syscall.Syscall9(gpCompressedMultiTexImage2DEXT, 9, uintptr(texunit), uintptr(target), uintptr(level), uintptr(internalformat), uintptr(width), uintptr(height), uintptr(border), uintptr(imageSize), uintptr(bits)) -} -func CompressedMultiTexImage3DEXT(texunit uint32, target uint32, level int32, internalformat uint32, width int32, height int32, depth int32, border int32, imageSize int32, bits unsafe.Pointer) { - syscall.Syscall12(gpCompressedMultiTexImage3DEXT, 10, uintptr(texunit), uintptr(target), uintptr(level), uintptr(internalformat), uintptr(width), uintptr(height), uintptr(depth), uintptr(border), uintptr(imageSize), uintptr(bits), 0, 0) -} -func CompressedMultiTexSubImage1DEXT(texunit uint32, target uint32, level int32, xoffset int32, width int32, format uint32, imageSize int32, bits unsafe.Pointer) { - syscall.Syscall9(gpCompressedMultiTexSubImage1DEXT, 8, uintptr(texunit), uintptr(target), uintptr(level), uintptr(xoffset), uintptr(width), uintptr(format), uintptr(imageSize), uintptr(bits), 0) -} -func CompressedMultiTexSubImage2DEXT(texunit uint32, target uint32, level int32, xoffset int32, yoffset int32, width int32, height int32, format uint32, imageSize int32, bits unsafe.Pointer) { - syscall.Syscall12(gpCompressedMultiTexSubImage2DEXT, 10, uintptr(texunit), uintptr(target), uintptr(level), uintptr(xoffset), uintptr(yoffset), uintptr(width), uintptr(height), uintptr(format), uintptr(imageSize), uintptr(bits), 0, 0) -} -func CompressedMultiTexSubImage3DEXT(texunit uint32, target uint32, level int32, xoffset int32, yoffset int32, zoffset int32, width int32, height int32, depth int32, format uint32, imageSize int32, bits unsafe.Pointer) { - syscall.Syscall12(gpCompressedMultiTexSubImage3DEXT, 12, uintptr(texunit), uintptr(target), uintptr(level), uintptr(xoffset), uintptr(yoffset), uintptr(zoffset), uintptr(width), uintptr(height), uintptr(depth), uintptr(format), uintptr(imageSize), uintptr(bits)) -} -// specify a one-dimensional texture image in a compressed format -func CompressedTexImage1D(target uint32, level int32, internalformat uint32, width int32, border int32, imageSize int32, data unsafe.Pointer) { - syscall.Syscall9(gpCompressedTexImage1D, 7, uintptr(target), uintptr(level), uintptr(internalformat), uintptr(width), uintptr(border), uintptr(imageSize), uintptr(data), 0, 0) -} -func CompressedTexImage1DARB(target uint32, level int32, internalformat uint32, width int32, border int32, imageSize int32, data unsafe.Pointer) { - syscall.Syscall9(gpCompressedTexImage1DARB, 7, uintptr(target), uintptr(level), uintptr(internalformat), uintptr(width), uintptr(border), uintptr(imageSize), uintptr(data), 0, 0) -} - -// specify a two-dimensional texture image in a compressed format -func CompressedTexImage2D(target uint32, level int32, internalformat uint32, width int32, height int32, border int32, imageSize int32, data unsafe.Pointer) { - syscall.Syscall9(gpCompressedTexImage2D, 8, uintptr(target), uintptr(level), uintptr(internalformat), uintptr(width), uintptr(height), uintptr(border), uintptr(imageSize), uintptr(data), 0) -} -func CompressedTexImage2DARB(target uint32, level int32, internalformat uint32, width int32, height int32, border int32, imageSize int32, data unsafe.Pointer) { - syscall.Syscall9(gpCompressedTexImage2DARB, 8, uintptr(target), uintptr(level), uintptr(internalformat), uintptr(width), uintptr(height), uintptr(border), uintptr(imageSize), uintptr(data), 0) -} - -// specify a three-dimensional texture image in a compressed format -func CompressedTexImage3D(target uint32, level int32, internalformat uint32, width int32, height int32, depth int32, border int32, imageSize int32, data unsafe.Pointer) { - syscall.Syscall9(gpCompressedTexImage3D, 9, uintptr(target), uintptr(level), uintptr(internalformat), uintptr(width), uintptr(height), uintptr(depth), uintptr(border), uintptr(imageSize), uintptr(data)) -} -func CompressedTexImage3DARB(target uint32, level int32, internalformat uint32, width int32, height int32, depth int32, border int32, imageSize int32, data unsafe.Pointer) { - syscall.Syscall9(gpCompressedTexImage3DARB, 9, uintptr(target), uintptr(level), uintptr(internalformat), uintptr(width), uintptr(height), uintptr(depth), uintptr(border), uintptr(imageSize), uintptr(data)) -} - -// specify a one-dimensional texture subimage in a compressed format -func CompressedTexSubImage1D(target uint32, level int32, xoffset int32, width int32, format uint32, imageSize int32, data unsafe.Pointer) { - syscall.Syscall9(gpCompressedTexSubImage1D, 7, uintptr(target), uintptr(level), uintptr(xoffset), uintptr(width), uintptr(format), uintptr(imageSize), uintptr(data), 0, 0) -} -func CompressedTexSubImage1DARB(target uint32, level int32, xoffset int32, width int32, format uint32, imageSize int32, data unsafe.Pointer) { - syscall.Syscall9(gpCompressedTexSubImage1DARB, 7, uintptr(target), uintptr(level), uintptr(xoffset), uintptr(width), uintptr(format), uintptr(imageSize), uintptr(data), 0, 0) -} - -// specify a two-dimensional texture subimage in a compressed format -func CompressedTexSubImage2D(target uint32, level int32, xoffset int32, yoffset int32, width int32, height int32, format uint32, imageSize int32, data unsafe.Pointer) { - syscall.Syscall9(gpCompressedTexSubImage2D, 9, uintptr(target), uintptr(level), uintptr(xoffset), uintptr(yoffset), uintptr(width), uintptr(height), uintptr(format), uintptr(imageSize), uintptr(data)) -} -func CompressedTexSubImage2DARB(target uint32, level int32, xoffset int32, yoffset int32, width int32, height int32, format uint32, imageSize int32, data unsafe.Pointer) { - syscall.Syscall9(gpCompressedTexSubImage2DARB, 9, uintptr(target), uintptr(level), uintptr(xoffset), uintptr(yoffset), uintptr(width), uintptr(height), uintptr(format), uintptr(imageSize), uintptr(data)) -} - -// specify a three-dimensional texture subimage in a compressed format -func CompressedTexSubImage3D(target uint32, level int32, xoffset int32, yoffset int32, zoffset int32, width int32, height int32, depth int32, format uint32, imageSize int32, data unsafe.Pointer) { - syscall.Syscall12(gpCompressedTexSubImage3D, 11, uintptr(target), uintptr(level), uintptr(xoffset), uintptr(yoffset), uintptr(zoffset), uintptr(width), uintptr(height), uintptr(depth), uintptr(format), uintptr(imageSize), uintptr(data), 0) -} -func CompressedTexSubImage3DARB(target uint32, level int32, xoffset int32, yoffset int32, zoffset int32, width int32, height int32, depth int32, format uint32, imageSize int32, data unsafe.Pointer) { - syscall.Syscall12(gpCompressedTexSubImage3DARB, 11, uintptr(target), uintptr(level), uintptr(xoffset), uintptr(yoffset), uintptr(zoffset), uintptr(width), uintptr(height), uintptr(depth), uintptr(format), uintptr(imageSize), uintptr(data), 0) -} -func CompressedTextureImage1DEXT(texture uint32, target uint32, level int32, internalformat uint32, width int32, border int32, imageSize int32, bits unsafe.Pointer) { - syscall.Syscall9(gpCompressedTextureImage1DEXT, 8, uintptr(texture), uintptr(target), uintptr(level), uintptr(internalformat), uintptr(width), uintptr(border), uintptr(imageSize), uintptr(bits), 0) -} -func CompressedTextureImage2DEXT(texture uint32, target uint32, level int32, internalformat uint32, width int32, height int32, border int32, imageSize int32, bits unsafe.Pointer) { - syscall.Syscall9(gpCompressedTextureImage2DEXT, 9, uintptr(texture), uintptr(target), uintptr(level), uintptr(internalformat), uintptr(width), uintptr(height), uintptr(border), uintptr(imageSize), uintptr(bits)) -} -func CompressedTextureImage3DEXT(texture uint32, target uint32, level int32, internalformat uint32, width int32, height int32, depth int32, border int32, imageSize int32, bits unsafe.Pointer) { - syscall.Syscall12(gpCompressedTextureImage3DEXT, 10, uintptr(texture), uintptr(target), uintptr(level), uintptr(internalformat), uintptr(width), uintptr(height), uintptr(depth), uintptr(border), uintptr(imageSize), uintptr(bits), 0, 0) -} - -// specify a one-dimensional texture subimage in a compressed format -func CompressedTextureSubImage1D(texture uint32, level int32, xoffset int32, width int32, format uint32, imageSize int32, data unsafe.Pointer) { - syscall.Syscall9(gpCompressedTextureSubImage1D, 7, uintptr(texture), uintptr(level), uintptr(xoffset), uintptr(width), uintptr(format), uintptr(imageSize), uintptr(data), 0, 0) -} -func CompressedTextureSubImage1DEXT(texture uint32, target uint32, level int32, xoffset int32, width int32, format uint32, imageSize int32, bits unsafe.Pointer) { - syscall.Syscall9(gpCompressedTextureSubImage1DEXT, 8, uintptr(texture), uintptr(target), uintptr(level), uintptr(xoffset), uintptr(width), uintptr(format), uintptr(imageSize), uintptr(bits), 0) -} - -// specify a two-dimensional texture subimage in a compressed format -func CompressedTextureSubImage2D(texture uint32, level int32, xoffset int32, yoffset int32, width int32, height int32, format uint32, imageSize int32, data unsafe.Pointer) { - syscall.Syscall9(gpCompressedTextureSubImage2D, 9, uintptr(texture), uintptr(level), uintptr(xoffset), uintptr(yoffset), uintptr(width), uintptr(height), uintptr(format), uintptr(imageSize), uintptr(data)) -} -func CompressedTextureSubImage2DEXT(texture uint32, target uint32, level int32, xoffset int32, yoffset int32, width int32, height int32, format uint32, imageSize int32, bits unsafe.Pointer) { - syscall.Syscall12(gpCompressedTextureSubImage2DEXT, 10, uintptr(texture), uintptr(target), uintptr(level), uintptr(xoffset), uintptr(yoffset), uintptr(width), uintptr(height), uintptr(format), uintptr(imageSize), uintptr(bits), 0, 0) -} - -// specify a three-dimensional texture subimage in a compressed format -func CompressedTextureSubImage3D(texture uint32, level int32, xoffset int32, yoffset int32, zoffset int32, width int32, height int32, depth int32, format uint32, imageSize int32, data unsafe.Pointer) { - syscall.Syscall12(gpCompressedTextureSubImage3D, 11, uintptr(texture), uintptr(level), uintptr(xoffset), uintptr(yoffset), uintptr(zoffset), uintptr(width), uintptr(height), uintptr(depth), uintptr(format), uintptr(imageSize), uintptr(data), 0) -} -func CompressedTextureSubImage3DEXT(texture uint32, target uint32, level int32, xoffset int32, yoffset int32, zoffset int32, width int32, height int32, depth int32, format uint32, imageSize int32, bits unsafe.Pointer) { - syscall.Syscall12(gpCompressedTextureSubImage3DEXT, 12, uintptr(texture), uintptr(target), uintptr(level), uintptr(xoffset), uintptr(yoffset), uintptr(zoffset), uintptr(width), uintptr(height), uintptr(depth), uintptr(format), uintptr(imageSize), uintptr(bits)) -} -func ConservativeRasterParameterfNV(pname uint32, value float32) { - syscall.Syscall(gpConservativeRasterParameterfNV, 2, uintptr(pname), uintptr(math.Float32bits(value)), 0) -} -func ConservativeRasterParameteriNV(pname uint32, param int32) { - syscall.Syscall(gpConservativeRasterParameteriNV, 2, uintptr(pname), uintptr(param), 0) -} -func ConvolutionFilter1DEXT(target uint32, internalformat uint32, width int32, format uint32, xtype uint32, image unsafe.Pointer) { - syscall.Syscall6(gpConvolutionFilter1DEXT, 6, uintptr(target), uintptr(internalformat), uintptr(width), uintptr(format), uintptr(xtype), uintptr(image)) -} -func ConvolutionFilter2DEXT(target uint32, internalformat uint32, width int32, height int32, format uint32, xtype uint32, image unsafe.Pointer) { - syscall.Syscall9(gpConvolutionFilter2DEXT, 7, uintptr(target), uintptr(internalformat), uintptr(width), uintptr(height), uintptr(format), uintptr(xtype), uintptr(image), 0, 0) -} -func ConvolutionParameterfEXT(target uint32, pname uint32, params float32) { - syscall.Syscall(gpConvolutionParameterfEXT, 3, uintptr(target), uintptr(pname), uintptr(math.Float32bits(params))) -} -func ConvolutionParameterfvEXT(target uint32, pname uint32, params *float32) { - syscall.Syscall(gpConvolutionParameterfvEXT, 3, uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func ConvolutionParameteriEXT(target uint32, pname uint32, params int32) { - syscall.Syscall(gpConvolutionParameteriEXT, 3, uintptr(target), uintptr(pname), uintptr(params)) -} -func ConvolutionParameterivEXT(target uint32, pname uint32, params *int32) { - syscall.Syscall(gpConvolutionParameterivEXT, 3, uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func ConvolutionParameterxOES(target uint32, pname uint32, param int32) { - syscall.Syscall(gpConvolutionParameterxOES, 3, uintptr(target), uintptr(pname), uintptr(param)) -} -func ConvolutionParameterxvOES(target uint32, pname uint32, params *int32) { - syscall.Syscall(gpConvolutionParameterxvOES, 3, uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params))) -} - -// copy all or part of the data store of a buffer object to the data store of another buffer object -func CopyBufferSubData(readTarget uint32, writeTarget uint32, readOffset int, writeOffset int, size int) { - syscall.Syscall6(gpCopyBufferSubData, 5, uintptr(readTarget), uintptr(writeTarget), uintptr(readOffset), uintptr(writeOffset), uintptr(size), 0) -} -func CopyColorSubTableEXT(target uint32, start int32, x int32, y int32, width int32) { - syscall.Syscall6(gpCopyColorSubTableEXT, 5, uintptr(target), uintptr(start), uintptr(x), uintptr(y), uintptr(width), 0) -} -func CopyColorTableSGI(target uint32, internalformat uint32, x int32, y int32, width int32) { - syscall.Syscall6(gpCopyColorTableSGI, 5, uintptr(target), uintptr(internalformat), uintptr(x), uintptr(y), uintptr(width), 0) -} -func CopyConvolutionFilter1DEXT(target uint32, internalformat uint32, x int32, y int32, width int32) { - syscall.Syscall6(gpCopyConvolutionFilter1DEXT, 5, uintptr(target), uintptr(internalformat), uintptr(x), uintptr(y), uintptr(width), 0) -} -func CopyConvolutionFilter2DEXT(target uint32, internalformat uint32, x int32, y int32, width int32, height int32) { - syscall.Syscall6(gpCopyConvolutionFilter2DEXT, 6, uintptr(target), uintptr(internalformat), uintptr(x), uintptr(y), uintptr(width), uintptr(height)) -} - -// perform a raw data copy between two images -func CopyImageSubData(srcName uint32, srcTarget uint32, srcLevel int32, srcX int32, srcY int32, srcZ int32, dstName uint32, dstTarget uint32, dstLevel int32, dstX int32, dstY int32, dstZ int32, srcWidth int32, srcHeight int32, srcDepth int32) { - syscall.Syscall15(gpCopyImageSubData, 15, uintptr(srcName), uintptr(srcTarget), uintptr(srcLevel), uintptr(srcX), uintptr(srcY), uintptr(srcZ), uintptr(dstName), uintptr(dstTarget), uintptr(dstLevel), uintptr(dstX), uintptr(dstY), uintptr(dstZ), uintptr(srcWidth), uintptr(srcHeight), uintptr(srcDepth)) -} -func CopyImageSubDataNV(srcName uint32, srcTarget uint32, srcLevel int32, srcX int32, srcY int32, srcZ int32, dstName uint32, dstTarget uint32, dstLevel int32, dstX int32, dstY int32, dstZ int32, width int32, height int32, depth int32) { - syscall.Syscall15(gpCopyImageSubDataNV, 15, uintptr(srcName), uintptr(srcTarget), uintptr(srcLevel), uintptr(srcX), uintptr(srcY), uintptr(srcZ), uintptr(dstName), uintptr(dstTarget), uintptr(dstLevel), uintptr(dstX), uintptr(dstY), uintptr(dstZ), uintptr(width), uintptr(height), uintptr(depth)) -} -func CopyMultiTexImage1DEXT(texunit uint32, target uint32, level int32, internalformat uint32, x int32, y int32, width int32, border int32) { - syscall.Syscall9(gpCopyMultiTexImage1DEXT, 8, uintptr(texunit), uintptr(target), uintptr(level), uintptr(internalformat), uintptr(x), uintptr(y), uintptr(width), uintptr(border), 0) -} -func CopyMultiTexImage2DEXT(texunit uint32, target uint32, level int32, internalformat uint32, x int32, y int32, width int32, height int32, border int32) { - syscall.Syscall9(gpCopyMultiTexImage2DEXT, 9, uintptr(texunit), uintptr(target), uintptr(level), uintptr(internalformat), uintptr(x), uintptr(y), uintptr(width), uintptr(height), uintptr(border)) -} -func CopyMultiTexSubImage1DEXT(texunit uint32, target uint32, level int32, xoffset int32, x int32, y int32, width int32) { - syscall.Syscall9(gpCopyMultiTexSubImage1DEXT, 7, uintptr(texunit), uintptr(target), uintptr(level), uintptr(xoffset), uintptr(x), uintptr(y), uintptr(width), 0, 0) -} -func CopyMultiTexSubImage2DEXT(texunit uint32, target uint32, level int32, xoffset int32, yoffset int32, x int32, y int32, width int32, height int32) { - syscall.Syscall9(gpCopyMultiTexSubImage2DEXT, 9, uintptr(texunit), uintptr(target), uintptr(level), uintptr(xoffset), uintptr(yoffset), uintptr(x), uintptr(y), uintptr(width), uintptr(height)) -} -func CopyMultiTexSubImage3DEXT(texunit uint32, target uint32, level int32, xoffset int32, yoffset int32, zoffset int32, x int32, y int32, width int32, height int32) { - syscall.Syscall12(gpCopyMultiTexSubImage3DEXT, 10, uintptr(texunit), uintptr(target), uintptr(level), uintptr(xoffset), uintptr(yoffset), uintptr(zoffset), uintptr(x), uintptr(y), uintptr(width), uintptr(height), 0, 0) -} - -// copy all or part of the data store of a buffer object to the data store of another buffer object -func CopyNamedBufferSubData(readBuffer uint32, writeBuffer uint32, readOffset int, writeOffset int, size int) { - syscall.Syscall6(gpCopyNamedBufferSubData, 5, uintptr(readBuffer), uintptr(writeBuffer), uintptr(readOffset), uintptr(writeOffset), uintptr(size), 0) -} -func CopyPathNV(resultPath uint32, srcPath uint32) { - syscall.Syscall(gpCopyPathNV, 2, uintptr(resultPath), uintptr(srcPath), 0) -} - -// copy pixels in the frame buffer -func CopyPixels(x int32, y int32, width int32, height int32, xtype uint32) { - syscall.Syscall6(gpCopyPixels, 5, uintptr(x), uintptr(y), uintptr(width), uintptr(height), uintptr(xtype), 0) -} - -// copy pixels into a 1D texture image -func CopyTexImage1D(target uint32, level int32, internalformat uint32, x int32, y int32, width int32, border int32) { - syscall.Syscall9(gpCopyTexImage1D, 7, uintptr(target), uintptr(level), uintptr(internalformat), uintptr(x), uintptr(y), uintptr(width), uintptr(border), 0, 0) -} -func CopyTexImage1DEXT(target uint32, level int32, internalformat uint32, x int32, y int32, width int32, border int32) { - syscall.Syscall9(gpCopyTexImage1DEXT, 7, uintptr(target), uintptr(level), uintptr(internalformat), uintptr(x), uintptr(y), uintptr(width), uintptr(border), 0, 0) -} - -// copy pixels into a 2D texture image -func CopyTexImage2D(target uint32, level int32, internalformat uint32, x int32, y int32, width int32, height int32, border int32) { - syscall.Syscall9(gpCopyTexImage2D, 8, uintptr(target), uintptr(level), uintptr(internalformat), uintptr(x), uintptr(y), uintptr(width), uintptr(height), uintptr(border), 0) -} -func CopyTexImage2DEXT(target uint32, level int32, internalformat uint32, x int32, y int32, width int32, height int32, border int32) { - syscall.Syscall9(gpCopyTexImage2DEXT, 8, uintptr(target), uintptr(level), uintptr(internalformat), uintptr(x), uintptr(y), uintptr(width), uintptr(height), uintptr(border), 0) -} - -// copy a one-dimensional texture subimage -func CopyTexSubImage1D(target uint32, level int32, xoffset int32, x int32, y int32, width int32) { - syscall.Syscall6(gpCopyTexSubImage1D, 6, uintptr(target), uintptr(level), uintptr(xoffset), uintptr(x), uintptr(y), uintptr(width)) -} -func CopyTexSubImage1DEXT(target uint32, level int32, xoffset int32, x int32, y int32, width int32) { - syscall.Syscall6(gpCopyTexSubImage1DEXT, 6, uintptr(target), uintptr(level), uintptr(xoffset), uintptr(x), uintptr(y), uintptr(width)) -} - -// copy a two-dimensional texture subimage -func CopyTexSubImage2D(target uint32, level int32, xoffset int32, yoffset int32, x int32, y int32, width int32, height int32) { - syscall.Syscall9(gpCopyTexSubImage2D, 8, uintptr(target), uintptr(level), uintptr(xoffset), uintptr(yoffset), uintptr(x), uintptr(y), uintptr(width), uintptr(height), 0) -} -func CopyTexSubImage2DEXT(target uint32, level int32, xoffset int32, yoffset int32, x int32, y int32, width int32, height int32) { - syscall.Syscall9(gpCopyTexSubImage2DEXT, 8, uintptr(target), uintptr(level), uintptr(xoffset), uintptr(yoffset), uintptr(x), uintptr(y), uintptr(width), uintptr(height), 0) -} - -// copy a three-dimensional texture subimage -func CopyTexSubImage3D(target uint32, level int32, xoffset int32, yoffset int32, zoffset int32, x int32, y int32, width int32, height int32) { - syscall.Syscall9(gpCopyTexSubImage3D, 9, uintptr(target), uintptr(level), uintptr(xoffset), uintptr(yoffset), uintptr(zoffset), uintptr(x), uintptr(y), uintptr(width), uintptr(height)) -} -func CopyTexSubImage3DEXT(target uint32, level int32, xoffset int32, yoffset int32, zoffset int32, x int32, y int32, width int32, height int32) { - syscall.Syscall9(gpCopyTexSubImage3DEXT, 9, uintptr(target), uintptr(level), uintptr(xoffset), uintptr(yoffset), uintptr(zoffset), uintptr(x), uintptr(y), uintptr(width), uintptr(height)) -} -func CopyTextureImage1DEXT(texture uint32, target uint32, level int32, internalformat uint32, x int32, y int32, width int32, border int32) { - syscall.Syscall9(gpCopyTextureImage1DEXT, 8, uintptr(texture), uintptr(target), uintptr(level), uintptr(internalformat), uintptr(x), uintptr(y), uintptr(width), uintptr(border), 0) -} -func CopyTextureImage2DEXT(texture uint32, target uint32, level int32, internalformat uint32, x int32, y int32, width int32, height int32, border int32) { - syscall.Syscall9(gpCopyTextureImage2DEXT, 9, uintptr(texture), uintptr(target), uintptr(level), uintptr(internalformat), uintptr(x), uintptr(y), uintptr(width), uintptr(height), uintptr(border)) -} - -// copy a one-dimensional texture subimage -func CopyTextureSubImage1D(texture uint32, level int32, xoffset int32, x int32, y int32, width int32) { - syscall.Syscall6(gpCopyTextureSubImage1D, 6, uintptr(texture), uintptr(level), uintptr(xoffset), uintptr(x), uintptr(y), uintptr(width)) -} -func CopyTextureSubImage1DEXT(texture uint32, target uint32, level int32, xoffset int32, x int32, y int32, width int32) { - syscall.Syscall9(gpCopyTextureSubImage1DEXT, 7, uintptr(texture), uintptr(target), uintptr(level), uintptr(xoffset), uintptr(x), uintptr(y), uintptr(width), 0, 0) -} - -// copy a two-dimensional texture subimage -func CopyTextureSubImage2D(texture uint32, level int32, xoffset int32, yoffset int32, x int32, y int32, width int32, height int32) { - syscall.Syscall9(gpCopyTextureSubImage2D, 8, uintptr(texture), uintptr(level), uintptr(xoffset), uintptr(yoffset), uintptr(x), uintptr(y), uintptr(width), uintptr(height), 0) -} -func CopyTextureSubImage2DEXT(texture uint32, target uint32, level int32, xoffset int32, yoffset int32, x int32, y int32, width int32, height int32) { - syscall.Syscall9(gpCopyTextureSubImage2DEXT, 9, uintptr(texture), uintptr(target), uintptr(level), uintptr(xoffset), uintptr(yoffset), uintptr(x), uintptr(y), uintptr(width), uintptr(height)) -} - -// copy a three-dimensional texture subimage -func CopyTextureSubImage3D(texture uint32, level int32, xoffset int32, yoffset int32, zoffset int32, x int32, y int32, width int32, height int32) { - syscall.Syscall9(gpCopyTextureSubImage3D, 9, uintptr(texture), uintptr(level), uintptr(xoffset), uintptr(yoffset), uintptr(zoffset), uintptr(x), uintptr(y), uintptr(width), uintptr(height)) -} -func CopyTextureSubImage3DEXT(texture uint32, target uint32, level int32, xoffset int32, yoffset int32, zoffset int32, x int32, y int32, width int32, height int32) { - syscall.Syscall12(gpCopyTextureSubImage3DEXT, 10, uintptr(texture), uintptr(target), uintptr(level), uintptr(xoffset), uintptr(yoffset), uintptr(zoffset), uintptr(x), uintptr(y), uintptr(width), uintptr(height), 0, 0) -} -func CoverFillPathInstancedNV(numPaths int32, pathNameType uint32, paths unsafe.Pointer, pathBase uint32, coverMode uint32, transformType uint32, transformValues *float32) { - syscall.Syscall9(gpCoverFillPathInstancedNV, 7, uintptr(numPaths), uintptr(pathNameType), uintptr(paths), uintptr(pathBase), uintptr(coverMode), uintptr(transformType), uintptr(unsafe.Pointer(transformValues)), 0, 0) -} -func CoverFillPathNV(path uint32, coverMode uint32) { - syscall.Syscall(gpCoverFillPathNV, 2, uintptr(path), uintptr(coverMode), 0) -} -func CoverStrokePathInstancedNV(numPaths int32, pathNameType uint32, paths unsafe.Pointer, pathBase uint32, coverMode uint32, transformType uint32, transformValues *float32) { - syscall.Syscall9(gpCoverStrokePathInstancedNV, 7, uintptr(numPaths), uintptr(pathNameType), uintptr(paths), uintptr(pathBase), uintptr(coverMode), uintptr(transformType), uintptr(unsafe.Pointer(transformValues)), 0, 0) -} -func CoverStrokePathNV(path uint32, coverMode uint32) { - syscall.Syscall(gpCoverStrokePathNV, 2, uintptr(path), uintptr(coverMode), 0) -} -func CoverageModulationNV(components uint32) { - syscall.Syscall(gpCoverageModulationNV, 1, uintptr(components), 0, 0) -} -func CoverageModulationTableNV(n int32, v *float32) { - syscall.Syscall(gpCoverageModulationTableNV, 2, uintptr(n), uintptr(unsafe.Pointer(v)), 0) -} - -// create buffer objects -func CreateBuffers(n int32, buffers *uint32) { - syscall.Syscall(gpCreateBuffers, 2, uintptr(n), uintptr(unsafe.Pointer(buffers)), 0) -} -func CreateCommandListsNV(n int32, lists *uint32) { - syscall.Syscall(gpCreateCommandListsNV, 2, uintptr(n), uintptr(unsafe.Pointer(lists)), 0) -} - -// create framebuffer objects -func CreateFramebuffers(n int32, framebuffers *uint32) { - syscall.Syscall(gpCreateFramebuffers, 2, uintptr(n), uintptr(unsafe.Pointer(framebuffers)), 0) -} -func CreateMemoryObjectsEXT(n int32, memoryObjects *uint32) { - syscall.Syscall(gpCreateMemoryObjectsEXT, 2, uintptr(n), uintptr(unsafe.Pointer(memoryObjects)), 0) -} -func CreatePerfQueryINTEL(queryId uint32, queryHandle *uint32) { - syscall.Syscall(gpCreatePerfQueryINTEL, 2, uintptr(queryId), uintptr(unsafe.Pointer(queryHandle)), 0) -} - -// Creates a program object func CreateProgram() uint32 { ret, _, _ := syscall.Syscall(gpCreateProgram, 0, 0, 0, 0) return (uint32)(ret) } -func CreateProgramObjectARB() uintptr { - ret, _, _ := syscall.Syscall(gpCreateProgramObjectARB, 0, 0, 0, 0) - return (uintptr)(ret) -} -// create program pipeline objects -func CreateProgramPipelines(n int32, pipelines *uint32) { - syscall.Syscall(gpCreateProgramPipelines, 2, uintptr(n), uintptr(unsafe.Pointer(pipelines)), 0) -} - -// create query objects -func CreateQueries(target uint32, n int32, ids *uint32) { - syscall.Syscall(gpCreateQueries, 3, uintptr(target), uintptr(n), uintptr(unsafe.Pointer(ids))) -} - -// create renderbuffer objects -func CreateRenderbuffers(n int32, renderbuffers *uint32) { - syscall.Syscall(gpCreateRenderbuffers, 2, uintptr(n), uintptr(unsafe.Pointer(renderbuffers)), 0) -} - -// create sampler objects -func CreateSamplers(n int32, samplers *uint32) { - syscall.Syscall(gpCreateSamplers, 2, uintptr(n), uintptr(unsafe.Pointer(samplers)), 0) -} - -// Creates a shader object func CreateShader(xtype uint32) uint32 { ret, _, _ := syscall.Syscall(gpCreateShader, 1, uintptr(xtype), 0, 0) return (uint32)(ret) } -func CreateShaderObjectARB(shaderType uint32) uintptr { - ret, _, _ := syscall.Syscall(gpCreateShaderObjectARB, 1, uintptr(shaderType), 0, 0) - return (uintptr)(ret) -} -func CreateShaderProgramEXT(xtype uint32, xstring *uint8) uint32 { - ret, _, _ := syscall.Syscall(gpCreateShaderProgramEXT, 2, uintptr(xtype), uintptr(unsafe.Pointer(xstring)), 0) - return (uint32)(ret) -} -// create a stand-alone program from an array of null-terminated source code strings -func CreateShaderProgramv(xtype uint32, count int32, strings **uint8) uint32 { - ret, _, _ := syscall.Syscall(gpCreateShaderProgramv, 3, uintptr(xtype), uintptr(count), uintptr(unsafe.Pointer(strings))) - return (uint32)(ret) -} -func CreateShaderProgramvEXT(xtype uint32, count int32, strings **uint8) uint32 { - ret, _, _ := syscall.Syscall(gpCreateShaderProgramvEXT, 3, uintptr(xtype), uintptr(count), uintptr(unsafe.Pointer(strings))) - return (uint32)(ret) -} -func CreateStatesNV(n int32, states *uint32) { - syscall.Syscall(gpCreateStatesNV, 2, uintptr(n), uintptr(unsafe.Pointer(states)), 0) -} - -// Parameter context has type *C.struct__cl_context. -// Parameter event has type *C.struct__cl_event. -func CreateSyncFromCLeventARB(context unsafe.Pointer, event unsafe.Pointer, flags uint32) uintptr { - ret, _, _ := syscall.Syscall(gpCreateSyncFromCLeventARB, 3, uintptr(context), uintptr(event), uintptr(flags)) - return (uintptr)(ret) -} - -// create texture objects -func CreateTextures(target uint32, n int32, textures *uint32) { - syscall.Syscall(gpCreateTextures, 3, uintptr(target), uintptr(n), uintptr(unsafe.Pointer(textures))) -} - -// create transform feedback objects -func CreateTransformFeedbacks(n int32, ids *uint32) { - syscall.Syscall(gpCreateTransformFeedbacks, 2, uintptr(n), uintptr(unsafe.Pointer(ids)), 0) -} - -// create vertex array objects -func CreateVertexArrays(n int32, arrays *uint32) { - syscall.Syscall(gpCreateVertexArrays, 2, uintptr(n), uintptr(unsafe.Pointer(arrays)), 0) -} - -// specify whether front- or back-facing facets can be culled -func CullFace(mode uint32) { - syscall.Syscall(gpCullFace, 1, uintptr(mode), 0, 0) -} -func CullParameterdvEXT(pname uint32, params *float64) { - syscall.Syscall(gpCullParameterdvEXT, 2, uintptr(pname), uintptr(unsafe.Pointer(params)), 0) -} -func CullParameterfvEXT(pname uint32, params *float32) { - syscall.Syscall(gpCullParameterfvEXT, 2, uintptr(pname), uintptr(unsafe.Pointer(params)), 0) -} -func CurrentPaletteMatrixARB(index int32) { - syscall.Syscall(gpCurrentPaletteMatrixARB, 1, uintptr(index), 0, 0) -} - -// specify a callback to receive debugging messages from the GL -// Parameter callback has type C.GLDEBUGPROC. -func DebugMessageCallback(callback unsafe.Pointer, userParam unsafe.Pointer) { - syscall.Syscall(gpDebugMessageCallback, 2, syscall.NewCallback(callback), uintptr(userParam), 0) -} - -// Parameter callback has type C.GLDEBUGPROCAMD. -func DebugMessageCallbackAMD(callback unsafe.Pointer, userParam unsafe.Pointer) { - syscall.Syscall(gpDebugMessageCallbackAMD, 2, uintptr(callback), uintptr(userParam), 0) -} - -// Parameter callback has type C.GLDEBUGPROCARB. -func DebugMessageCallbackARB(callback unsafe.Pointer, userParam unsafe.Pointer) { - syscall.Syscall(gpDebugMessageCallbackARB, 2, syscall.NewCallback(callback), uintptr(userParam), 0) -} - -// Parameter callback has type C.GLDEBUGPROCKHR. -func DebugMessageCallbackKHR(callback unsafe.Pointer, userParam unsafe.Pointer) { - syscall.Syscall(gpDebugMessageCallbackKHR, 2, syscall.NewCallback(callback), uintptr(userParam), 0) -} - -// control the reporting of debug messages in a debug context -func DebugMessageControl(source uint32, xtype uint32, severity uint32, count int32, ids *uint32, enabled bool) { - syscall.Syscall6(gpDebugMessageControl, 6, uintptr(source), uintptr(xtype), uintptr(severity), uintptr(count), uintptr(unsafe.Pointer(ids)), boolToUintptr(enabled)) -} -func DebugMessageControlARB(source uint32, xtype uint32, severity uint32, count int32, ids *uint32, enabled bool) { - syscall.Syscall6(gpDebugMessageControlARB, 6, uintptr(source), uintptr(xtype), uintptr(severity), uintptr(count), uintptr(unsafe.Pointer(ids)), boolToUintptr(enabled)) -} -func DebugMessageControlKHR(source uint32, xtype uint32, severity uint32, count int32, ids *uint32, enabled bool) { - syscall.Syscall6(gpDebugMessageControlKHR, 6, uintptr(source), uintptr(xtype), uintptr(severity), uintptr(count), uintptr(unsafe.Pointer(ids)), boolToUintptr(enabled)) -} -func DebugMessageEnableAMD(category uint32, severity uint32, count int32, ids *uint32, enabled bool) { - syscall.Syscall6(gpDebugMessageEnableAMD, 5, uintptr(category), uintptr(severity), uintptr(count), uintptr(unsafe.Pointer(ids)), boolToUintptr(enabled), 0) -} - -// inject an application-supplied message into the debug message queue -func DebugMessageInsert(source uint32, xtype uint32, id uint32, severity uint32, length int32, buf *uint8) { - syscall.Syscall6(gpDebugMessageInsert, 6, uintptr(source), uintptr(xtype), uintptr(id), uintptr(severity), uintptr(length), uintptr(unsafe.Pointer(buf))) -} -func DebugMessageInsertAMD(category uint32, severity uint32, id uint32, length int32, buf *uint8) { - syscall.Syscall6(gpDebugMessageInsertAMD, 5, uintptr(category), uintptr(severity), uintptr(id), uintptr(length), uintptr(unsafe.Pointer(buf)), 0) -} -func DebugMessageInsertARB(source uint32, xtype uint32, id uint32, severity uint32, length int32, buf *uint8) { - syscall.Syscall6(gpDebugMessageInsertARB, 6, uintptr(source), uintptr(xtype), uintptr(id), uintptr(severity), uintptr(length), uintptr(unsafe.Pointer(buf))) -} -func DebugMessageInsertKHR(source uint32, xtype uint32, id uint32, severity uint32, length int32, buf *uint8) { - syscall.Syscall6(gpDebugMessageInsertKHR, 6, uintptr(source), uintptr(xtype), uintptr(id), uintptr(severity), uintptr(length), uintptr(unsafe.Pointer(buf))) -} -func DeformSGIX(mask uint32) { - syscall.Syscall(gpDeformSGIX, 1, uintptr(mask), 0, 0) -} -func DeformationMap3dSGIX(target uint32, u1 float64, u2 float64, ustride int32, uorder int32, v1 float64, v2 float64, vstride int32, vorder int32, w1 float64, w2 float64, wstride int32, worder int32, points *float64) { - syscall.Syscall15(gpDeformationMap3dSGIX, 14, uintptr(target), uintptr(math.Float64bits(u1)), uintptr(math.Float64bits(u2)), uintptr(ustride), uintptr(uorder), uintptr(math.Float64bits(v1)), uintptr(math.Float64bits(v2)), uintptr(vstride), uintptr(vorder), uintptr(math.Float64bits(w1)), uintptr(math.Float64bits(w2)), uintptr(wstride), uintptr(worder), uintptr(unsafe.Pointer(points)), 0) -} -func DeformationMap3fSGIX(target uint32, u1 float32, u2 float32, ustride int32, uorder int32, v1 float32, v2 float32, vstride int32, vorder int32, w1 float32, w2 float32, wstride int32, worder int32, points *float32) { - syscall.Syscall15(gpDeformationMap3fSGIX, 14, uintptr(target), uintptr(math.Float32bits(u1)), uintptr(math.Float32bits(u2)), uintptr(ustride), uintptr(uorder), uintptr(math.Float32bits(v1)), uintptr(math.Float32bits(v2)), uintptr(vstride), uintptr(vorder), uintptr(math.Float32bits(w1)), uintptr(math.Float32bits(w2)), uintptr(wstride), uintptr(worder), uintptr(unsafe.Pointer(points)), 0) -} -func DeleteAsyncMarkersSGIX(marker uint32, xrange int32) { - syscall.Syscall(gpDeleteAsyncMarkersSGIX, 2, uintptr(marker), uintptr(xrange), 0) -} - -// delete named buffer objects func DeleteBuffers(n int32, buffers *uint32) { syscall.Syscall(gpDeleteBuffers, 2, uintptr(n), uintptr(unsafe.Pointer(buffers)), 0) } -func DeleteBuffersARB(n int32, buffers *uint32) { - syscall.Syscall(gpDeleteBuffersARB, 2, uintptr(n), uintptr(unsafe.Pointer(buffers)), 0) -} -func DeleteCommandListsNV(n int32, lists *uint32) { - syscall.Syscall(gpDeleteCommandListsNV, 2, uintptr(n), uintptr(unsafe.Pointer(lists)), 0) -} -func DeleteFencesAPPLE(n int32, fences *uint32) { - syscall.Syscall(gpDeleteFencesAPPLE, 2, uintptr(n), uintptr(unsafe.Pointer(fences)), 0) -} -func DeleteFencesNV(n int32, fences *uint32) { - syscall.Syscall(gpDeleteFencesNV, 2, uintptr(n), uintptr(unsafe.Pointer(fences)), 0) -} -func DeleteFragmentShaderATI(id uint32) { - syscall.Syscall(gpDeleteFragmentShaderATI, 1, uintptr(id), 0, 0) -} -// delete framebuffer objects -func DeleteFramebuffers(n int32, framebuffers *uint32) { - syscall.Syscall(gpDeleteFramebuffers, 2, uintptr(n), uintptr(unsafe.Pointer(framebuffers)), 0) -} func DeleteFramebuffersEXT(n int32, framebuffers *uint32) { syscall.Syscall(gpDeleteFramebuffersEXT, 2, uintptr(n), uintptr(unsafe.Pointer(framebuffers)), 0) } -// delete a contiguous group of display lists -func DeleteLists(list uint32, xrange int32) { - syscall.Syscall(gpDeleteLists, 2, uintptr(list), uintptr(xrange), 0) -} -func DeleteMemoryObjectsEXT(n int32, memoryObjects *uint32) { - syscall.Syscall(gpDeleteMemoryObjectsEXT, 2, uintptr(n), uintptr(unsafe.Pointer(memoryObjects)), 0) -} -func DeleteNamedStringARB(namelen int32, name *uint8) { - syscall.Syscall(gpDeleteNamedStringARB, 2, uintptr(namelen), uintptr(unsafe.Pointer(name)), 0) -} -func DeleteNamesAMD(identifier uint32, num uint32, names *uint32) { - syscall.Syscall(gpDeleteNamesAMD, 3, uintptr(identifier), uintptr(num), uintptr(unsafe.Pointer(names))) -} -func DeleteObjectARB(obj uintptr) { - syscall.Syscall(gpDeleteObjectARB, 1, uintptr(obj), 0, 0) -} -func DeleteOcclusionQueriesNV(n int32, ids *uint32) { - syscall.Syscall(gpDeleteOcclusionQueriesNV, 2, uintptr(n), uintptr(unsafe.Pointer(ids)), 0) -} -func DeletePathsNV(path uint32, xrange int32) { - syscall.Syscall(gpDeletePathsNV, 2, uintptr(path), uintptr(xrange), 0) -} -func DeletePerfMonitorsAMD(n int32, monitors *uint32) { - syscall.Syscall(gpDeletePerfMonitorsAMD, 2, uintptr(n), uintptr(unsafe.Pointer(monitors)), 0) -} -func DeletePerfQueryINTEL(queryHandle uint32) { - syscall.Syscall(gpDeletePerfQueryINTEL, 1, uintptr(queryHandle), 0, 0) -} - -// Deletes a program object func DeleteProgram(program uint32) { syscall.Syscall(gpDeleteProgram, 1, uintptr(program), 0, 0) } -// delete program pipeline objects -func DeleteProgramPipelines(n int32, pipelines *uint32) { - syscall.Syscall(gpDeleteProgramPipelines, 2, uintptr(n), uintptr(unsafe.Pointer(pipelines)), 0) -} -func DeleteProgramPipelinesEXT(n int32, pipelines *uint32) { - syscall.Syscall(gpDeleteProgramPipelinesEXT, 2, uintptr(n), uintptr(unsafe.Pointer(pipelines)), 0) -} -func DeleteProgramsARB(n int32, programs *uint32) { - syscall.Syscall(gpDeleteProgramsARB, 2, uintptr(n), uintptr(unsafe.Pointer(programs)), 0) -} -func DeleteProgramsNV(n int32, programs *uint32) { - syscall.Syscall(gpDeleteProgramsNV, 2, uintptr(n), uintptr(unsafe.Pointer(programs)), 0) -} - -// delete named query objects -func DeleteQueries(n int32, ids *uint32) { - syscall.Syscall(gpDeleteQueries, 2, uintptr(n), uintptr(unsafe.Pointer(ids)), 0) -} -func DeleteQueriesARB(n int32, ids *uint32) { - syscall.Syscall(gpDeleteQueriesARB, 2, uintptr(n), uintptr(unsafe.Pointer(ids)), 0) -} -func DeleteQueryResourceTagNV(n int32, tagIds *int32) { - syscall.Syscall(gpDeleteQueryResourceTagNV, 2, uintptr(n), uintptr(unsafe.Pointer(tagIds)), 0) -} - -// delete renderbuffer objects -func DeleteRenderbuffers(n int32, renderbuffers *uint32) { - syscall.Syscall(gpDeleteRenderbuffers, 2, uintptr(n), uintptr(unsafe.Pointer(renderbuffers)), 0) -} -func DeleteRenderbuffersEXT(n int32, renderbuffers *uint32) { - syscall.Syscall(gpDeleteRenderbuffersEXT, 2, uintptr(n), uintptr(unsafe.Pointer(renderbuffers)), 0) -} - -// delete named sampler objects -func DeleteSamplers(count int32, samplers *uint32) { - syscall.Syscall(gpDeleteSamplers, 2, uintptr(count), uintptr(unsafe.Pointer(samplers)), 0) -} -func DeleteSemaphoresEXT(n int32, semaphores *uint32) { - syscall.Syscall(gpDeleteSemaphoresEXT, 2, uintptr(n), uintptr(unsafe.Pointer(semaphores)), 0) -} - -// Deletes a shader object func DeleteShader(shader uint32) { syscall.Syscall(gpDeleteShader, 1, uintptr(shader), 0, 0) } -func DeleteStatesNV(n int32, states *uint32) { - syscall.Syscall(gpDeleteStatesNV, 2, uintptr(n), uintptr(unsafe.Pointer(states)), 0) -} -// delete a sync object -func DeleteSync(sync uintptr) { - syscall.Syscall(gpDeleteSync, 1, uintptr(sync), 0, 0) -} - -// delete named textures func DeleteTextures(n int32, textures *uint32) { syscall.Syscall(gpDeleteTextures, 2, uintptr(n), uintptr(unsafe.Pointer(textures)), 0) } -func DeleteTexturesEXT(n int32, textures *uint32) { - syscall.Syscall(gpDeleteTexturesEXT, 2, uintptr(n), uintptr(unsafe.Pointer(textures)), 0) -} -// delete transform feedback objects -func DeleteTransformFeedbacks(n int32, ids *uint32) { - syscall.Syscall(gpDeleteTransformFeedbacks, 2, uintptr(n), uintptr(unsafe.Pointer(ids)), 0) -} -func DeleteTransformFeedbacksNV(n int32, ids *uint32) { - syscall.Syscall(gpDeleteTransformFeedbacksNV, 2, uintptr(n), uintptr(unsafe.Pointer(ids)), 0) -} - -// delete vertex array objects -func DeleteVertexArrays(n int32, arrays *uint32) { - syscall.Syscall(gpDeleteVertexArrays, 2, uintptr(n), uintptr(unsafe.Pointer(arrays)), 0) -} -func DeleteVertexArraysAPPLE(n int32, arrays *uint32) { - syscall.Syscall(gpDeleteVertexArraysAPPLE, 2, uintptr(n), uintptr(unsafe.Pointer(arrays)), 0) -} -func DeleteVertexShaderEXT(id uint32) { - syscall.Syscall(gpDeleteVertexShaderEXT, 1, uintptr(id), 0, 0) -} -func DepthBoundsEXT(zmin float64, zmax float64) { - syscall.Syscall(gpDepthBoundsEXT, 2, uintptr(math.Float64bits(zmin)), uintptr(math.Float64bits(zmax)), 0) -} -func DepthBoundsdNV(zmin float64, zmax float64) { - syscall.Syscall(gpDepthBoundsdNV, 2, uintptr(math.Float64bits(zmin)), uintptr(math.Float64bits(zmax)), 0) -} - -// specify the value used for depth buffer comparisons -func DepthFunc(xfunc uint32) { - syscall.Syscall(gpDepthFunc, 1, uintptr(xfunc), 0, 0) -} - -// enable or disable writing into the depth buffer -func DepthMask(flag bool) { - syscall.Syscall(gpDepthMask, 1, boolToUintptr(flag), 0, 0) -} - -// specify mapping of depth values from normalized device coordinates to window coordinates -func DepthRange(n float64, f float64) { - syscall.Syscall(gpDepthRange, 2, uintptr(math.Float64bits(n)), uintptr(math.Float64bits(f)), 0) -} -func DepthRangeArrayv(first uint32, count int32, v *float64) { - syscall.Syscall(gpDepthRangeArrayv, 3, uintptr(first), uintptr(count), uintptr(unsafe.Pointer(v))) -} - -// specify mapping of depth values from normalized device coordinates to window coordinates for a specified viewport -func DepthRangeIndexed(index uint32, n float64, f float64) { - syscall.Syscall(gpDepthRangeIndexed, 3, uintptr(index), uintptr(math.Float64bits(n)), uintptr(math.Float64bits(f))) -} -func DepthRangedNV(zNear float64, zFar float64) { - syscall.Syscall(gpDepthRangedNV, 2, uintptr(math.Float64bits(zNear)), uintptr(math.Float64bits(zFar)), 0) -} - -// specify mapping of depth values from normalized device coordinates to window coordinates -func DepthRangef(n float32, f float32) { - syscall.Syscall(gpDepthRangef, 2, uintptr(math.Float32bits(n)), uintptr(math.Float32bits(f)), 0) -} -func DepthRangefOES(n float32, f float32) { - syscall.Syscall(gpDepthRangefOES, 2, uintptr(math.Float32bits(n)), uintptr(math.Float32bits(f)), 0) -} -func DepthRangexOES(n int32, f int32) { - syscall.Syscall(gpDepthRangexOES, 2, uintptr(n), uintptr(f), 0) -} -func DetachObjectARB(containerObj uintptr, attachedObj uintptr) { - syscall.Syscall(gpDetachObjectARB, 2, uintptr(containerObj), uintptr(attachedObj), 0) -} - -// Detaches a shader object from a program object to which it is attached -func DetachShader(program uint32, shader uint32) { - syscall.Syscall(gpDetachShader, 2, uintptr(program), uintptr(shader), 0) -} -func DetailTexFuncSGIS(target uint32, n int32, points *float32) { - syscall.Syscall(gpDetailTexFuncSGIS, 3, uintptr(target), uintptr(n), uintptr(unsafe.Pointer(points))) -} -func Disable(cap uint32) { - syscall.Syscall(gpDisable, 1, uintptr(cap), 0, 0) -} -func DisableClientState(array uint32) { - syscall.Syscall(gpDisableClientState, 1, uintptr(array), 0, 0) -} -func DisableClientStateIndexedEXT(array uint32, index uint32) { - syscall.Syscall(gpDisableClientStateIndexedEXT, 2, uintptr(array), uintptr(index), 0) -} -func DisableClientStateiEXT(array uint32, index uint32) { - syscall.Syscall(gpDisableClientStateiEXT, 2, uintptr(array), uintptr(index), 0) -} -func DisableIndexedEXT(target uint32, index uint32) { - syscall.Syscall(gpDisableIndexedEXT, 2, uintptr(target), uintptr(index), 0) -} -func DisableVariantClientStateEXT(id uint32) { - syscall.Syscall(gpDisableVariantClientStateEXT, 1, uintptr(id), 0, 0) -} - -// Enable or disable a generic vertex attribute array -func DisableVertexArrayAttrib(vaobj uint32, index uint32) { - syscall.Syscall(gpDisableVertexArrayAttrib, 2, uintptr(vaobj), uintptr(index), 0) -} -func DisableVertexArrayAttribEXT(vaobj uint32, index uint32) { - syscall.Syscall(gpDisableVertexArrayAttribEXT, 2, uintptr(vaobj), uintptr(index), 0) -} -func DisableVertexArrayEXT(vaobj uint32, array uint32) { - syscall.Syscall(gpDisableVertexArrayEXT, 2, uintptr(vaobj), uintptr(array), 0) -} -func DisableVertexAttribAPPLE(index uint32, pname uint32) { - syscall.Syscall(gpDisableVertexAttribAPPLE, 2, uintptr(index), uintptr(pname), 0) -} - -// Enable or disable a generic vertex attribute array func DisableVertexAttribArray(index uint32) { syscall.Syscall(gpDisableVertexAttribArray, 1, uintptr(index), 0, 0) } -func DisableVertexAttribArrayARB(index uint32) { - syscall.Syscall(gpDisableVertexAttribArrayARB, 1, uintptr(index), 0, 0) -} -// launch one or more compute work groups -func DispatchCompute(num_groups_x uint32, num_groups_y uint32, num_groups_z uint32) { - syscall.Syscall(gpDispatchCompute, 3, uintptr(num_groups_x), uintptr(num_groups_y), uintptr(num_groups_z)) -} -func DispatchComputeGroupSizeARB(num_groups_x uint32, num_groups_y uint32, num_groups_z uint32, group_size_x uint32, group_size_y uint32, group_size_z uint32) { - syscall.Syscall6(gpDispatchComputeGroupSizeARB, 6, uintptr(num_groups_x), uintptr(num_groups_y), uintptr(num_groups_z), uintptr(group_size_x), uintptr(group_size_y), uintptr(group_size_z)) -} - -// launch one or more compute work groups using parameters stored in a buffer -func DispatchComputeIndirect(indirect int) { - syscall.Syscall(gpDispatchComputeIndirect, 1, uintptr(indirect), 0, 0) -} - -// render primitives from array data -func DrawArrays(mode uint32, first int32, count int32) { - syscall.Syscall(gpDrawArrays, 3, uintptr(mode), uintptr(first), uintptr(count)) -} -func DrawArraysEXT(mode uint32, first int32, count int32) { - syscall.Syscall(gpDrawArraysEXT, 3, uintptr(mode), uintptr(first), uintptr(count)) -} - -// render primitives from array data, taking parameters from memory -func DrawArraysIndirect(mode uint32, indirect unsafe.Pointer) { - syscall.Syscall(gpDrawArraysIndirect, 2, uintptr(mode), uintptr(indirect), 0) -} -func DrawArraysInstancedARB(mode uint32, first int32, count int32, primcount int32) { - syscall.Syscall6(gpDrawArraysInstancedARB, 4, uintptr(mode), uintptr(first), uintptr(count), uintptr(primcount), 0, 0) -} - -// draw multiple instances of a range of elements with offset applied to instanced attributes -func DrawArraysInstancedBaseInstance(mode uint32, first int32, count int32, instancecount int32, baseinstance uint32) { - syscall.Syscall6(gpDrawArraysInstancedBaseInstance, 5, uintptr(mode), uintptr(first), uintptr(count), uintptr(instancecount), uintptr(baseinstance), 0) -} -func DrawArraysInstancedEXT(mode uint32, start int32, count int32, primcount int32) { - syscall.Syscall6(gpDrawArraysInstancedEXT, 4, uintptr(mode), uintptr(start), uintptr(count), uintptr(primcount), 0, 0) -} - -// specify which color buffers are to be drawn into -func DrawBuffer(buf uint32) { - syscall.Syscall(gpDrawBuffer, 1, uintptr(buf), 0, 0) -} - -// Specifies a list of color buffers to be drawn into -func DrawBuffers(n int32, bufs *uint32) { - syscall.Syscall(gpDrawBuffers, 2, uintptr(n), uintptr(unsafe.Pointer(bufs)), 0) -} -func DrawBuffersARB(n int32, bufs *uint32) { - syscall.Syscall(gpDrawBuffersARB, 2, uintptr(n), uintptr(unsafe.Pointer(bufs)), 0) -} -func DrawBuffersATI(n int32, bufs *uint32) { - syscall.Syscall(gpDrawBuffersATI, 2, uintptr(n), uintptr(unsafe.Pointer(bufs)), 0) -} -func DrawCommandsAddressNV(primitiveMode uint32, indirects *uint64, sizes *int32, count uint32) { - syscall.Syscall6(gpDrawCommandsAddressNV, 4, uintptr(primitiveMode), uintptr(unsafe.Pointer(indirects)), uintptr(unsafe.Pointer(sizes)), uintptr(count), 0, 0) -} -func DrawCommandsNV(primitiveMode uint32, buffer uint32, indirects *int, sizes *int32, count uint32) { - syscall.Syscall6(gpDrawCommandsNV, 5, uintptr(primitiveMode), uintptr(buffer), uintptr(unsafe.Pointer(indirects)), uintptr(unsafe.Pointer(sizes)), uintptr(count), 0) -} -func DrawCommandsStatesAddressNV(indirects *uint64, sizes *int32, states *uint32, fbos *uint32, count uint32) { - syscall.Syscall6(gpDrawCommandsStatesAddressNV, 5, uintptr(unsafe.Pointer(indirects)), uintptr(unsafe.Pointer(sizes)), uintptr(unsafe.Pointer(states)), uintptr(unsafe.Pointer(fbos)), uintptr(count), 0) -} -func DrawCommandsStatesNV(buffer uint32, indirects *int, sizes *int32, states *uint32, fbos *uint32, count uint32) { - syscall.Syscall6(gpDrawCommandsStatesNV, 6, uintptr(buffer), uintptr(unsafe.Pointer(indirects)), uintptr(unsafe.Pointer(sizes)), uintptr(unsafe.Pointer(states)), uintptr(unsafe.Pointer(fbos)), uintptr(count)) -} -func DrawElementArrayAPPLE(mode uint32, first int32, count int32) { - syscall.Syscall(gpDrawElementArrayAPPLE, 3, uintptr(mode), uintptr(first), uintptr(count)) -} -func DrawElementArrayATI(mode uint32, count int32) { - syscall.Syscall(gpDrawElementArrayATI, 2, uintptr(mode), uintptr(count), 0) -} - -// render primitives from array data func DrawElements(mode uint32, count int32, xtype uint32, indices uintptr) { syscall.Syscall6(gpDrawElements, 4, uintptr(mode), uintptr(count), uintptr(xtype), uintptr(indices), 0, 0) } -// render primitives from array data with a per-element offset -func DrawElementsBaseVertex(mode uint32, count int32, xtype uint32, indices unsafe.Pointer, basevertex int32) { - syscall.Syscall6(gpDrawElementsBaseVertex, 5, uintptr(mode), uintptr(count), uintptr(xtype), uintptr(indices), uintptr(basevertex), 0) -} - -// render indexed primitives from array data, taking parameters from memory -func DrawElementsIndirect(mode uint32, xtype uint32, indirect unsafe.Pointer) { - syscall.Syscall(gpDrawElementsIndirect, 3, uintptr(mode), uintptr(xtype), uintptr(indirect)) -} -func DrawElementsInstancedARB(mode uint32, count int32, xtype uint32, indices unsafe.Pointer, primcount int32) { - syscall.Syscall6(gpDrawElementsInstancedARB, 5, uintptr(mode), uintptr(count), uintptr(xtype), uintptr(indices), uintptr(primcount), 0) -} - -// draw multiple instances of a set of elements with offset applied to instanced attributes -func DrawElementsInstancedBaseInstance(mode uint32, count int32, xtype uint32, indices unsafe.Pointer, instancecount int32, baseinstance uint32) { - syscall.Syscall6(gpDrawElementsInstancedBaseInstance, 6, uintptr(mode), uintptr(count), uintptr(xtype), uintptr(indices), uintptr(instancecount), uintptr(baseinstance)) -} - -// render multiple instances of a set of primitives from array data with a per-element offset -func DrawElementsInstancedBaseVertex(mode uint32, count int32, xtype uint32, indices unsafe.Pointer, instancecount int32, basevertex int32) { - syscall.Syscall6(gpDrawElementsInstancedBaseVertex, 6, uintptr(mode), uintptr(count), uintptr(xtype), uintptr(indices), uintptr(instancecount), uintptr(basevertex)) -} - -// render multiple instances of a set of primitives from array data with a per-element offset -func DrawElementsInstancedBaseVertexBaseInstance(mode uint32, count int32, xtype uint32, indices unsafe.Pointer, instancecount int32, basevertex int32, baseinstance uint32) { - syscall.Syscall9(gpDrawElementsInstancedBaseVertexBaseInstance, 7, uintptr(mode), uintptr(count), uintptr(xtype), uintptr(indices), uintptr(instancecount), uintptr(basevertex), uintptr(baseinstance), 0, 0) -} -func DrawElementsInstancedEXT(mode uint32, count int32, xtype uint32, indices unsafe.Pointer, primcount int32) { - syscall.Syscall6(gpDrawElementsInstancedEXT, 5, uintptr(mode), uintptr(count), uintptr(xtype), uintptr(indices), uintptr(primcount), 0) -} -func DrawMeshArraysSUN(mode uint32, first int32, count int32, width int32) { - syscall.Syscall6(gpDrawMeshArraysSUN, 4, uintptr(mode), uintptr(first), uintptr(count), uintptr(width), 0, 0) -} - -// write a block of pixels to the frame buffer -func DrawPixels(width int32, height int32, format uint32, xtype uint32, pixels unsafe.Pointer) { - syscall.Syscall6(gpDrawPixels, 5, uintptr(width), uintptr(height), uintptr(format), uintptr(xtype), uintptr(pixels), 0) -} -func DrawRangeElementArrayAPPLE(mode uint32, start uint32, end uint32, first int32, count int32) { - syscall.Syscall6(gpDrawRangeElementArrayAPPLE, 5, uintptr(mode), uintptr(start), uintptr(end), uintptr(first), uintptr(count), 0) -} -func DrawRangeElementArrayATI(mode uint32, start uint32, end uint32, count int32) { - syscall.Syscall6(gpDrawRangeElementArrayATI, 4, uintptr(mode), uintptr(start), uintptr(end), uintptr(count), 0, 0) -} - -// render primitives from array data -func DrawRangeElements(mode uint32, start uint32, end uint32, count int32, xtype uint32, indices unsafe.Pointer) { - syscall.Syscall6(gpDrawRangeElements, 6, uintptr(mode), uintptr(start), uintptr(end), uintptr(count), uintptr(xtype), uintptr(indices)) -} - -// render primitives from array data with a per-element offset -func DrawRangeElementsBaseVertex(mode uint32, start uint32, end uint32, count int32, xtype uint32, indices unsafe.Pointer, basevertex int32) { - syscall.Syscall9(gpDrawRangeElementsBaseVertex, 7, uintptr(mode), uintptr(start), uintptr(end), uintptr(count), uintptr(xtype), uintptr(indices), uintptr(basevertex), 0, 0) -} -func DrawRangeElementsEXT(mode uint32, start uint32, end uint32, count int32, xtype uint32, indices unsafe.Pointer) { - syscall.Syscall6(gpDrawRangeElementsEXT, 6, uintptr(mode), uintptr(start), uintptr(end), uintptr(count), uintptr(xtype), uintptr(indices)) -} -func DrawTextureNV(texture uint32, sampler uint32, x0 float32, y0 float32, x1 float32, y1 float32, z float32, s0 float32, t0 float32, s1 float32, t1 float32) { - syscall.Syscall12(gpDrawTextureNV, 11, uintptr(texture), uintptr(sampler), uintptr(math.Float32bits(x0)), uintptr(math.Float32bits(y0)), uintptr(math.Float32bits(x1)), uintptr(math.Float32bits(y1)), uintptr(math.Float32bits(z)), uintptr(math.Float32bits(s0)), uintptr(math.Float32bits(t0)), uintptr(math.Float32bits(s1)), uintptr(math.Float32bits(t1)), 0) -} - -// render primitives using a count derived from a transform feedback object -func DrawTransformFeedback(mode uint32, id uint32) { - syscall.Syscall(gpDrawTransformFeedback, 2, uintptr(mode), uintptr(id), 0) -} - -// render multiple instances of primitives using a count derived from a transform feedback object -func DrawTransformFeedbackInstanced(mode uint32, id uint32, instancecount int32) { - syscall.Syscall(gpDrawTransformFeedbackInstanced, 3, uintptr(mode), uintptr(id), uintptr(instancecount)) -} -func DrawTransformFeedbackNV(mode uint32, id uint32) { - syscall.Syscall(gpDrawTransformFeedbackNV, 2, uintptr(mode), uintptr(id), 0) -} - -// render primitives using a count derived from a specifed stream of a transform feedback object -func DrawTransformFeedbackStream(mode uint32, id uint32, stream uint32) { - syscall.Syscall(gpDrawTransformFeedbackStream, 3, uintptr(mode), uintptr(id), uintptr(stream)) -} - -// render multiple instances of primitives using a count derived from a specifed stream of a transform feedback object -func DrawTransformFeedbackStreamInstanced(mode uint32, id uint32, stream uint32, instancecount int32) { - syscall.Syscall6(gpDrawTransformFeedbackStreamInstanced, 4, uintptr(mode), uintptr(id), uintptr(stream), uintptr(instancecount), 0, 0) -} -func DrawVkImageNV(vkImage uint64, sampler uint32, x0 float32, y0 float32, x1 float32, y1 float32, z float32, s0 float32, t0 float32, s1 float32, t1 float32) { - syscall.Syscall12(gpDrawVkImageNV, 11, uintptr(vkImage), uintptr(sampler), uintptr(math.Float32bits(x0)), uintptr(math.Float32bits(y0)), uintptr(math.Float32bits(x1)), uintptr(math.Float32bits(y1)), uintptr(math.Float32bits(z)), uintptr(math.Float32bits(s0)), uintptr(math.Float32bits(t0)), uintptr(math.Float32bits(s1)), uintptr(math.Float32bits(t1)), 0) -} - -// Parameter image has type C.GLeglImageOES. -func EGLImageTargetTexStorageEXT(target uint32, image unsafe.Pointer, attrib_list *int32) { - syscall.Syscall(gpEGLImageTargetTexStorageEXT, 3, uintptr(target), uintptr(image), uintptr(unsafe.Pointer(attrib_list))) -} - -// Parameter image has type C.GLeglImageOES. -func EGLImageTargetTextureStorageEXT(texture uint32, image unsafe.Pointer, attrib_list *int32) { - syscall.Syscall(gpEGLImageTargetTextureStorageEXT, 3, uintptr(texture), uintptr(image), uintptr(unsafe.Pointer(attrib_list))) -} - -// flag edges as either boundary or nonboundary -func EdgeFlag(flag bool) { - syscall.Syscall(gpEdgeFlag, 1, boolToUintptr(flag), 0, 0) -} -func EdgeFlagFormatNV(stride int32) { - syscall.Syscall(gpEdgeFlagFormatNV, 1, uintptr(stride), 0, 0) -} - -// define an array of edge flags -func EdgeFlagPointer(stride int32, pointer unsafe.Pointer) { - syscall.Syscall(gpEdgeFlagPointer, 2, uintptr(stride), uintptr(pointer), 0) -} -func EdgeFlagPointerEXT(stride int32, count int32, pointer *bool) { - syscall.Syscall(gpEdgeFlagPointerEXT, 3, uintptr(stride), uintptr(count), uintptr(unsafe.Pointer(pointer))) -} -func EdgeFlagPointerListIBM(stride int32, pointer **bool, ptrstride int32) { - syscall.Syscall(gpEdgeFlagPointerListIBM, 3, uintptr(stride), uintptr(unsafe.Pointer(pointer)), uintptr(ptrstride)) -} -func EdgeFlagv(flag *bool) { - syscall.Syscall(gpEdgeFlagv, 1, uintptr(unsafe.Pointer(flag)), 0, 0) -} -func ElementPointerAPPLE(xtype uint32, pointer unsafe.Pointer) { - syscall.Syscall(gpElementPointerAPPLE, 2, uintptr(xtype), uintptr(pointer), 0) -} -func ElementPointerATI(xtype uint32, pointer unsafe.Pointer) { - syscall.Syscall(gpElementPointerATI, 2, uintptr(xtype), uintptr(pointer), 0) -} - -// enable or disable server-side GL capabilities func Enable(cap uint32) { syscall.Syscall(gpEnable, 1, uintptr(cap), 0, 0) } -// enable or disable client-side capability -func EnableClientState(array uint32) { - syscall.Syscall(gpEnableClientState, 1, uintptr(array), 0, 0) -} -func EnableClientStateIndexedEXT(array uint32, index uint32) { - syscall.Syscall(gpEnableClientStateIndexedEXT, 2, uintptr(array), uintptr(index), 0) -} -func EnableClientStateiEXT(array uint32, index uint32) { - syscall.Syscall(gpEnableClientStateiEXT, 2, uintptr(array), uintptr(index), 0) -} -func EnableIndexedEXT(target uint32, index uint32) { - syscall.Syscall(gpEnableIndexedEXT, 2, uintptr(target), uintptr(index), 0) -} -func EnableVariantClientStateEXT(id uint32) { - syscall.Syscall(gpEnableVariantClientStateEXT, 1, uintptr(id), 0, 0) -} - -// Enable or disable a generic vertex attribute array -func EnableVertexArrayAttrib(vaobj uint32, index uint32) { - syscall.Syscall(gpEnableVertexArrayAttrib, 2, uintptr(vaobj), uintptr(index), 0) -} -func EnableVertexArrayAttribEXT(vaobj uint32, index uint32) { - syscall.Syscall(gpEnableVertexArrayAttribEXT, 2, uintptr(vaobj), uintptr(index), 0) -} -func EnableVertexArrayEXT(vaobj uint32, array uint32) { - syscall.Syscall(gpEnableVertexArrayEXT, 2, uintptr(vaobj), uintptr(array), 0) -} -func EnableVertexAttribAPPLE(index uint32, pname uint32) { - syscall.Syscall(gpEnableVertexAttribAPPLE, 2, uintptr(index), uintptr(pname), 0) -} - -// Enable or disable a generic vertex attribute array func EnableVertexAttribArray(index uint32) { syscall.Syscall(gpEnableVertexAttribArray, 1, uintptr(index), 0, 0) } -func EnableVertexAttribArrayARB(index uint32) { - syscall.Syscall(gpEnableVertexAttribArrayARB, 1, uintptr(index), 0, 0) -} -func End() { - syscall.Syscall(gpEnd, 0, 0, 0, 0) -} -func EndConditionalRenderNV() { - syscall.Syscall(gpEndConditionalRenderNV, 0, 0, 0, 0) -} -func EndConditionalRenderNVX() { - syscall.Syscall(gpEndConditionalRenderNVX, 0, 0, 0, 0) -} -func EndFragmentShaderATI() { - syscall.Syscall(gpEndFragmentShaderATI, 0, 0, 0, 0) -} -func EndList() { - syscall.Syscall(gpEndList, 0, 0, 0, 0) -} -func EndOcclusionQueryNV() { - syscall.Syscall(gpEndOcclusionQueryNV, 0, 0, 0, 0) -} -func EndPerfMonitorAMD(monitor uint32) { - syscall.Syscall(gpEndPerfMonitorAMD, 1, uintptr(monitor), 0, 0) -} -func EndPerfQueryINTEL(queryHandle uint32) { - syscall.Syscall(gpEndPerfQueryINTEL, 1, uintptr(queryHandle), 0, 0) -} -func EndQuery(target uint32) { - syscall.Syscall(gpEndQuery, 1, uintptr(target), 0, 0) -} -func EndQueryARB(target uint32) { - syscall.Syscall(gpEndQueryARB, 1, uintptr(target), 0, 0) -} -func EndQueryIndexed(target uint32, index uint32) { - syscall.Syscall(gpEndQueryIndexed, 2, uintptr(target), uintptr(index), 0) -} -func EndTransformFeedbackEXT() { - syscall.Syscall(gpEndTransformFeedbackEXT, 0, 0, 0, 0) -} -func EndTransformFeedbackNV() { - syscall.Syscall(gpEndTransformFeedbackNV, 0, 0, 0, 0) -} -func EndVertexShaderEXT() { - syscall.Syscall(gpEndVertexShaderEXT, 0, 0, 0, 0) -} -func EndVideoCaptureNV(video_capture_slot uint32) { - syscall.Syscall(gpEndVideoCaptureNV, 1, uintptr(video_capture_slot), 0, 0) -} -func EvalCoord1d(u float64) { - syscall.Syscall(gpEvalCoord1d, 1, uintptr(math.Float64bits(u)), 0, 0) -} -func EvalCoord1dv(u *float64) { - syscall.Syscall(gpEvalCoord1dv, 1, uintptr(unsafe.Pointer(u)), 0, 0) -} -func EvalCoord1f(u float32) { - syscall.Syscall(gpEvalCoord1f, 1, uintptr(math.Float32bits(u)), 0, 0) -} -func EvalCoord1fv(u *float32) { - syscall.Syscall(gpEvalCoord1fv, 1, uintptr(unsafe.Pointer(u)), 0, 0) -} -func EvalCoord1xOES(u int32) { - syscall.Syscall(gpEvalCoord1xOES, 1, uintptr(u), 0, 0) -} -func EvalCoord1xvOES(coords *int32) { - syscall.Syscall(gpEvalCoord1xvOES, 1, uintptr(unsafe.Pointer(coords)), 0, 0) -} -func EvalCoord2d(u float64, v float64) { - syscall.Syscall(gpEvalCoord2d, 2, uintptr(math.Float64bits(u)), uintptr(math.Float64bits(v)), 0) -} -func EvalCoord2dv(u *float64) { - syscall.Syscall(gpEvalCoord2dv, 1, uintptr(unsafe.Pointer(u)), 0, 0) -} -func EvalCoord2f(u float32, v float32) { - syscall.Syscall(gpEvalCoord2f, 2, uintptr(math.Float32bits(u)), uintptr(math.Float32bits(v)), 0) -} -func EvalCoord2fv(u *float32) { - syscall.Syscall(gpEvalCoord2fv, 1, uintptr(unsafe.Pointer(u)), 0, 0) -} -func EvalCoord2xOES(u int32, v int32) { - syscall.Syscall(gpEvalCoord2xOES, 2, uintptr(u), uintptr(v), 0) -} -func EvalCoord2xvOES(coords *int32) { - syscall.Syscall(gpEvalCoord2xvOES, 1, uintptr(unsafe.Pointer(coords)), 0, 0) -} -func EvalMapsNV(target uint32, mode uint32) { - syscall.Syscall(gpEvalMapsNV, 2, uintptr(target), uintptr(mode), 0) -} -func EvalMesh1(mode uint32, i1 int32, i2 int32) { - syscall.Syscall(gpEvalMesh1, 3, uintptr(mode), uintptr(i1), uintptr(i2)) -} -func EvalMesh2(mode uint32, i1 int32, i2 int32, j1 int32, j2 int32) { - syscall.Syscall6(gpEvalMesh2, 5, uintptr(mode), uintptr(i1), uintptr(i2), uintptr(j1), uintptr(j2), 0) -} -func EvalPoint1(i int32) { - syscall.Syscall(gpEvalPoint1, 1, uintptr(i), 0, 0) -} -func EvalPoint2(i int32, j int32) { - syscall.Syscall(gpEvalPoint2, 2, uintptr(i), uintptr(j), 0) -} -func EvaluateDepthValuesARB() { - syscall.Syscall(gpEvaluateDepthValuesARB, 0, 0, 0, 0) -} -func ExecuteProgramNV(target uint32, id uint32, params *float32) { - syscall.Syscall(gpExecuteProgramNV, 3, uintptr(target), uintptr(id), uintptr(unsafe.Pointer(params))) -} -func ExtractComponentEXT(res uint32, src uint32, num uint32) { - syscall.Syscall(gpExtractComponentEXT, 3, uintptr(res), uintptr(src), uintptr(num)) -} -// controls feedback mode -func FeedbackBuffer(size int32, xtype uint32, buffer *float32) { - syscall.Syscall(gpFeedbackBuffer, 3, uintptr(size), uintptr(xtype), uintptr(unsafe.Pointer(buffer))) -} -func FeedbackBufferxOES(n int32, xtype uint32, buffer *int32) { - syscall.Syscall(gpFeedbackBufferxOES, 3, uintptr(n), uintptr(xtype), uintptr(unsafe.Pointer(buffer))) -} - -// create a new sync object and insert it into the GL command stream -func FenceSync(condition uint32, flags uint32) uintptr { - ret, _, _ := syscall.Syscall(gpFenceSync, 2, uintptr(condition), uintptr(flags), 0) - return (uintptr)(ret) -} -func FinalCombinerInputNV(variable uint32, input uint32, mapping uint32, componentUsage uint32) { - syscall.Syscall6(gpFinalCombinerInputNV, 4, uintptr(variable), uintptr(input), uintptr(mapping), uintptr(componentUsage), 0, 0) -} - -// block until all GL execution is complete -func Finish() { - syscall.Syscall(gpFinish, 0, 0, 0, 0) -} -func FinishAsyncSGIX(markerp *uint32) int32 { - ret, _, _ := syscall.Syscall(gpFinishAsyncSGIX, 1, uintptr(unsafe.Pointer(markerp)), 0, 0) - return (int32)(ret) -} -func FinishFenceAPPLE(fence uint32) { - syscall.Syscall(gpFinishFenceAPPLE, 1, uintptr(fence), 0, 0) -} -func FinishFenceNV(fence uint32) { - syscall.Syscall(gpFinishFenceNV, 1, uintptr(fence), 0, 0) -} -func FinishObjectAPPLE(object uint32, name int32) { - syscall.Syscall(gpFinishObjectAPPLE, 2, uintptr(object), uintptr(name), 0) -} -func FinishTextureSUNX() { - syscall.Syscall(gpFinishTextureSUNX, 0, 0, 0, 0) -} - -// force execution of GL commands in finite time func Flush() { syscall.Syscall(gpFlush, 0, 0, 0, 0) } -// indicate modifications to a range of a mapped buffer -func FlushMappedBufferRange(target uint32, offset int, length int) { - syscall.Syscall(gpFlushMappedBufferRange, 3, uintptr(target), uintptr(offset), uintptr(length)) -} -func FlushMappedBufferRangeAPPLE(target uint32, offset int, size int) { - syscall.Syscall(gpFlushMappedBufferRangeAPPLE, 3, uintptr(target), uintptr(offset), uintptr(size)) -} - -// indicate modifications to a range of a mapped buffer -func FlushMappedNamedBufferRange(buffer uint32, offset int, length int) { - syscall.Syscall(gpFlushMappedNamedBufferRange, 3, uintptr(buffer), uintptr(offset), uintptr(length)) -} -func FlushMappedNamedBufferRangeEXT(buffer uint32, offset int, length int) { - syscall.Syscall(gpFlushMappedNamedBufferRangeEXT, 3, uintptr(buffer), uintptr(offset), uintptr(length)) -} -func FlushPixelDataRangeNV(target uint32) { - syscall.Syscall(gpFlushPixelDataRangeNV, 1, uintptr(target), 0, 0) -} -func FlushRasterSGIX() { - syscall.Syscall(gpFlushRasterSGIX, 0, 0, 0, 0) -} -func FlushStaticDataIBM(target uint32) { - syscall.Syscall(gpFlushStaticDataIBM, 1, uintptr(target), 0, 0) -} -func FlushVertexArrayRangeAPPLE(length int32, pointer unsafe.Pointer) { - syscall.Syscall(gpFlushVertexArrayRangeAPPLE, 2, uintptr(length), uintptr(pointer), 0) -} -func FlushVertexArrayRangeNV() { - syscall.Syscall(gpFlushVertexArrayRangeNV, 0, 0, 0, 0) -} -func FogCoordFormatNV(xtype uint32, stride int32) { - syscall.Syscall(gpFogCoordFormatNV, 2, uintptr(xtype), uintptr(stride), 0) -} - -// define an array of fog coordinates -func FogCoordPointer(xtype uint32, stride int32, pointer unsafe.Pointer) { - syscall.Syscall(gpFogCoordPointer, 3, uintptr(xtype), uintptr(stride), uintptr(pointer)) -} -func FogCoordPointerEXT(xtype uint32, stride int32, pointer unsafe.Pointer) { - syscall.Syscall(gpFogCoordPointerEXT, 3, uintptr(xtype), uintptr(stride), uintptr(pointer)) -} -func FogCoordPointerListIBM(xtype uint32, stride int32, pointer *unsafe.Pointer, ptrstride int32) { - syscall.Syscall6(gpFogCoordPointerListIBM, 4, uintptr(xtype), uintptr(stride), uintptr(unsafe.Pointer(pointer)), uintptr(ptrstride), 0, 0) -} -func FogCoordd(coord float64) { - syscall.Syscall(gpFogCoordd, 1, uintptr(math.Float64bits(coord)), 0, 0) -} -func FogCoorddEXT(coord float64) { - syscall.Syscall(gpFogCoorddEXT, 1, uintptr(math.Float64bits(coord)), 0, 0) -} -func FogCoorddv(coord *float64) { - syscall.Syscall(gpFogCoorddv, 1, uintptr(unsafe.Pointer(coord)), 0, 0) -} -func FogCoorddvEXT(coord *float64) { - syscall.Syscall(gpFogCoorddvEXT, 1, uintptr(unsafe.Pointer(coord)), 0, 0) -} -func FogCoordf(coord float32) { - syscall.Syscall(gpFogCoordf, 1, uintptr(math.Float32bits(coord)), 0, 0) -} -func FogCoordfEXT(coord float32) { - syscall.Syscall(gpFogCoordfEXT, 1, uintptr(math.Float32bits(coord)), 0, 0) -} -func FogCoordfv(coord *float32) { - syscall.Syscall(gpFogCoordfv, 1, uintptr(unsafe.Pointer(coord)), 0, 0) -} -func FogCoordfvEXT(coord *float32) { - syscall.Syscall(gpFogCoordfvEXT, 1, uintptr(unsafe.Pointer(coord)), 0, 0) -} -func FogCoordhNV(fog uint16) { - syscall.Syscall(gpFogCoordhNV, 1, uintptr(fog), 0, 0) -} -func FogCoordhvNV(fog *uint16) { - syscall.Syscall(gpFogCoordhvNV, 1, uintptr(unsafe.Pointer(fog)), 0, 0) -} -func FogFuncSGIS(n int32, points *float32) { - syscall.Syscall(gpFogFuncSGIS, 2, uintptr(n), uintptr(unsafe.Pointer(points)), 0) -} -func Fogf(pname uint32, param float32) { - syscall.Syscall(gpFogf, 2, uintptr(pname), uintptr(math.Float32bits(param)), 0) -} -func Fogfv(pname uint32, params *float32) { - syscall.Syscall(gpFogfv, 2, uintptr(pname), uintptr(unsafe.Pointer(params)), 0) -} -func Fogi(pname uint32, param int32) { - syscall.Syscall(gpFogi, 2, uintptr(pname), uintptr(param), 0) -} -func Fogiv(pname uint32, params *int32) { - syscall.Syscall(gpFogiv, 2, uintptr(pname), uintptr(unsafe.Pointer(params)), 0) -} -func FogxOES(pname uint32, param int32) { - syscall.Syscall(gpFogxOES, 2, uintptr(pname), uintptr(param), 0) -} -func FogxvOES(pname uint32, param *int32) { - syscall.Syscall(gpFogxvOES, 2, uintptr(pname), uintptr(unsafe.Pointer(param)), 0) -} -func FragmentColorMaterialSGIX(face uint32, mode uint32) { - syscall.Syscall(gpFragmentColorMaterialSGIX, 2, uintptr(face), uintptr(mode), 0) -} -func FragmentCoverageColorNV(color uint32) { - syscall.Syscall(gpFragmentCoverageColorNV, 1, uintptr(color), 0, 0) -} -func FragmentLightModelfSGIX(pname uint32, param float32) { - syscall.Syscall(gpFragmentLightModelfSGIX, 2, uintptr(pname), uintptr(math.Float32bits(param)), 0) -} -func FragmentLightModelfvSGIX(pname uint32, params *float32) { - syscall.Syscall(gpFragmentLightModelfvSGIX, 2, uintptr(pname), uintptr(unsafe.Pointer(params)), 0) -} -func FragmentLightModeliSGIX(pname uint32, param int32) { - syscall.Syscall(gpFragmentLightModeliSGIX, 2, uintptr(pname), uintptr(param), 0) -} -func FragmentLightModelivSGIX(pname uint32, params *int32) { - syscall.Syscall(gpFragmentLightModelivSGIX, 2, uintptr(pname), uintptr(unsafe.Pointer(params)), 0) -} -func FragmentLightfSGIX(light uint32, pname uint32, param float32) { - syscall.Syscall(gpFragmentLightfSGIX, 3, uintptr(light), uintptr(pname), uintptr(math.Float32bits(param))) -} -func FragmentLightfvSGIX(light uint32, pname uint32, params *float32) { - syscall.Syscall(gpFragmentLightfvSGIX, 3, uintptr(light), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func FragmentLightiSGIX(light uint32, pname uint32, param int32) { - syscall.Syscall(gpFragmentLightiSGIX, 3, uintptr(light), uintptr(pname), uintptr(param)) -} -func FragmentLightivSGIX(light uint32, pname uint32, params *int32) { - syscall.Syscall(gpFragmentLightivSGIX, 3, uintptr(light), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func FragmentMaterialfSGIX(face uint32, pname uint32, param float32) { - syscall.Syscall(gpFragmentMaterialfSGIX, 3, uintptr(face), uintptr(pname), uintptr(math.Float32bits(param))) -} -func FragmentMaterialfvSGIX(face uint32, pname uint32, params *float32) { - syscall.Syscall(gpFragmentMaterialfvSGIX, 3, uintptr(face), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func FragmentMaterialiSGIX(face uint32, pname uint32, param int32) { - syscall.Syscall(gpFragmentMaterialiSGIX, 3, uintptr(face), uintptr(pname), uintptr(param)) -} -func FragmentMaterialivSGIX(face uint32, pname uint32, params *int32) { - syscall.Syscall(gpFragmentMaterialivSGIX, 3, uintptr(face), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func FrameTerminatorGREMEDY() { - syscall.Syscall(gpFrameTerminatorGREMEDY, 0, 0, 0, 0) -} -func FrameZoomSGIX(factor int32) { - syscall.Syscall(gpFrameZoomSGIX, 1, uintptr(factor), 0, 0) -} -func FramebufferDrawBufferEXT(framebuffer uint32, mode uint32) { - syscall.Syscall(gpFramebufferDrawBufferEXT, 2, uintptr(framebuffer), uintptr(mode), 0) -} -func FramebufferDrawBuffersEXT(framebuffer uint32, n int32, bufs *uint32) { - syscall.Syscall(gpFramebufferDrawBuffersEXT, 3, uintptr(framebuffer), uintptr(n), uintptr(unsafe.Pointer(bufs))) -} -func FramebufferFetchBarrierEXT() { - syscall.Syscall(gpFramebufferFetchBarrierEXT, 0, 0, 0, 0) -} - -// set a named parameter of a framebuffer object -func FramebufferParameteri(target uint32, pname uint32, param int32) { - syscall.Syscall(gpFramebufferParameteri, 3, uintptr(target), uintptr(pname), uintptr(param)) -} -func FramebufferReadBufferEXT(framebuffer uint32, mode uint32) { - syscall.Syscall(gpFramebufferReadBufferEXT, 2, uintptr(framebuffer), uintptr(mode), 0) -} - -// attach a renderbuffer as a logical buffer of a framebuffer object -func FramebufferRenderbuffer(target uint32, attachment uint32, renderbuffertarget uint32, renderbuffer uint32) { - syscall.Syscall6(gpFramebufferRenderbuffer, 4, uintptr(target), uintptr(attachment), uintptr(renderbuffertarget), uintptr(renderbuffer), 0, 0) -} -func FramebufferRenderbufferEXT(target uint32, attachment uint32, renderbuffertarget uint32, renderbuffer uint32) { - syscall.Syscall6(gpFramebufferRenderbufferEXT, 4, uintptr(target), uintptr(attachment), uintptr(renderbuffertarget), uintptr(renderbuffer), 0, 0) -} -func FramebufferSampleLocationsfvARB(target uint32, start uint32, count int32, v *float32) { - syscall.Syscall6(gpFramebufferSampleLocationsfvARB, 4, uintptr(target), uintptr(start), uintptr(count), uintptr(unsafe.Pointer(v)), 0, 0) -} -func FramebufferSampleLocationsfvNV(target uint32, start uint32, count int32, v *float32) { - syscall.Syscall6(gpFramebufferSampleLocationsfvNV, 4, uintptr(target), uintptr(start), uintptr(count), uintptr(unsafe.Pointer(v)), 0, 0) -} -func FramebufferSamplePositionsfvAMD(target uint32, numsamples uint32, pixelindex uint32, values *float32) { - syscall.Syscall6(gpFramebufferSamplePositionsfvAMD, 4, uintptr(target), uintptr(numsamples), uintptr(pixelindex), uintptr(unsafe.Pointer(values)), 0, 0) -} -func FramebufferTexture1D(target uint32, attachment uint32, textarget uint32, texture uint32, level int32) { - syscall.Syscall6(gpFramebufferTexture1D, 5, uintptr(target), uintptr(attachment), uintptr(textarget), uintptr(texture), uintptr(level), 0) -} -func FramebufferTexture1DEXT(target uint32, attachment uint32, textarget uint32, texture uint32, level int32) { - syscall.Syscall6(gpFramebufferTexture1DEXT, 5, uintptr(target), uintptr(attachment), uintptr(textarget), uintptr(texture), uintptr(level), 0) -} - -// attach a level of a texture object as a logical buffer to the currently bound framebuffer object -func FramebufferTexture2D(target uint32, attachment uint32, textarget uint32, texture uint32, level int32) { - syscall.Syscall6(gpFramebufferTexture2D, 5, uintptr(target), uintptr(attachment), uintptr(textarget), uintptr(texture), uintptr(level), 0) -} func FramebufferTexture2DEXT(target uint32, attachment uint32, textarget uint32, texture uint32, level int32) { syscall.Syscall6(gpFramebufferTexture2DEXT, 5, uintptr(target), uintptr(attachment), uintptr(textarget), uintptr(texture), uintptr(level), 0) } -func FramebufferTexture3D(target uint32, attachment uint32, textarget uint32, texture uint32, level int32, zoffset int32) { - syscall.Syscall6(gpFramebufferTexture3D, 6, uintptr(target), uintptr(attachment), uintptr(textarget), uintptr(texture), uintptr(level), uintptr(zoffset)) -} -func FramebufferTexture3DEXT(target uint32, attachment uint32, textarget uint32, texture uint32, level int32, zoffset int32) { - syscall.Syscall6(gpFramebufferTexture3DEXT, 6, uintptr(target), uintptr(attachment), uintptr(textarget), uintptr(texture), uintptr(level), uintptr(zoffset)) -} -func FramebufferTextureARB(target uint32, attachment uint32, texture uint32, level int32) { - syscall.Syscall6(gpFramebufferTextureARB, 4, uintptr(target), uintptr(attachment), uintptr(texture), uintptr(level), 0, 0) -} -func FramebufferTextureEXT(target uint32, attachment uint32, texture uint32, level int32) { - syscall.Syscall6(gpFramebufferTextureEXT, 4, uintptr(target), uintptr(attachment), uintptr(texture), uintptr(level), 0, 0) -} -func FramebufferTextureFaceARB(target uint32, attachment uint32, texture uint32, level int32, face uint32) { - syscall.Syscall6(gpFramebufferTextureFaceARB, 5, uintptr(target), uintptr(attachment), uintptr(texture), uintptr(level), uintptr(face), 0) -} -func FramebufferTextureFaceEXT(target uint32, attachment uint32, texture uint32, level int32, face uint32) { - syscall.Syscall6(gpFramebufferTextureFaceEXT, 5, uintptr(target), uintptr(attachment), uintptr(texture), uintptr(level), uintptr(face), 0) -} -// attach a single layer of a texture object as a logical buffer of a framebuffer object -func FramebufferTextureLayer(target uint32, attachment uint32, texture uint32, level int32, layer int32) { - syscall.Syscall6(gpFramebufferTextureLayer, 5, uintptr(target), uintptr(attachment), uintptr(texture), uintptr(level), uintptr(layer), 0) -} -func FramebufferTextureLayerARB(target uint32, attachment uint32, texture uint32, level int32, layer int32) { - syscall.Syscall6(gpFramebufferTextureLayerARB, 5, uintptr(target), uintptr(attachment), uintptr(texture), uintptr(level), uintptr(layer), 0) -} -func FramebufferTextureLayerEXT(target uint32, attachment uint32, texture uint32, level int32, layer int32) { - syscall.Syscall6(gpFramebufferTextureLayerEXT, 5, uintptr(target), uintptr(attachment), uintptr(texture), uintptr(level), uintptr(layer), 0) -} -func FramebufferTextureMultiviewOVR(target uint32, attachment uint32, texture uint32, level int32, baseViewIndex int32, numViews int32) { - syscall.Syscall6(gpFramebufferTextureMultiviewOVR, 6, uintptr(target), uintptr(attachment), uintptr(texture), uintptr(level), uintptr(baseViewIndex), uintptr(numViews)) -} -func FreeObjectBufferATI(buffer uint32) { - syscall.Syscall(gpFreeObjectBufferATI, 1, uintptr(buffer), 0, 0) -} - -// define front- and back-facing polygons -func FrontFace(mode uint32) { - syscall.Syscall(gpFrontFace, 1, uintptr(mode), 0, 0) -} - -// multiply the current matrix by a perspective matrix -func Frustum(left float64, right float64, bottom float64, top float64, zNear float64, zFar float64) { - syscall.Syscall6(gpFrustum, 6, uintptr(math.Float64bits(left)), uintptr(math.Float64bits(right)), uintptr(math.Float64bits(bottom)), uintptr(math.Float64bits(top)), uintptr(math.Float64bits(zNear)), uintptr(math.Float64bits(zFar))) -} -func FrustumfOES(l float32, r float32, b float32, t float32, n float32, f float32) { - syscall.Syscall6(gpFrustumfOES, 6, uintptr(math.Float32bits(l)), uintptr(math.Float32bits(r)), uintptr(math.Float32bits(b)), uintptr(math.Float32bits(t)), uintptr(math.Float32bits(n)), uintptr(math.Float32bits(f))) -} -func FrustumxOES(l int32, r int32, b int32, t int32, n int32, f int32) { - syscall.Syscall6(gpFrustumxOES, 6, uintptr(l), uintptr(r), uintptr(b), uintptr(t), uintptr(n), uintptr(f)) -} -func GenAsyncMarkersSGIX(xrange int32) uint32 { - ret, _, _ := syscall.Syscall(gpGenAsyncMarkersSGIX, 1, uintptr(xrange), 0, 0) - return (uint32)(ret) -} - -// generate buffer object names func GenBuffers(n int32, buffers *uint32) { syscall.Syscall(gpGenBuffers, 2, uintptr(n), uintptr(unsafe.Pointer(buffers)), 0) } -func GenBuffersARB(n int32, buffers *uint32) { - syscall.Syscall(gpGenBuffersARB, 2, uintptr(n), uintptr(unsafe.Pointer(buffers)), 0) -} -func GenFencesAPPLE(n int32, fences *uint32) { - syscall.Syscall(gpGenFencesAPPLE, 2, uintptr(n), uintptr(unsafe.Pointer(fences)), 0) -} -func GenFencesNV(n int32, fences *uint32) { - syscall.Syscall(gpGenFencesNV, 2, uintptr(n), uintptr(unsafe.Pointer(fences)), 0) -} -func GenFragmentShadersATI(xrange uint32) uint32 { - ret, _, _ := syscall.Syscall(gpGenFragmentShadersATI, 1, uintptr(xrange), 0, 0) - return (uint32)(ret) -} -// generate framebuffer object names -func GenFramebuffers(n int32, framebuffers *uint32) { - syscall.Syscall(gpGenFramebuffers, 2, uintptr(n), uintptr(unsafe.Pointer(framebuffers)), 0) -} func GenFramebuffersEXT(n int32, framebuffers *uint32) { syscall.Syscall(gpGenFramebuffersEXT, 2, uintptr(n), uintptr(unsafe.Pointer(framebuffers)), 0) } -// generate a contiguous set of empty display lists -func GenLists(xrange int32) uint32 { - ret, _, _ := syscall.Syscall(gpGenLists, 1, uintptr(xrange), 0, 0) - return (uint32)(ret) -} -func GenNamesAMD(identifier uint32, num uint32, names *uint32) { - syscall.Syscall(gpGenNamesAMD, 3, uintptr(identifier), uintptr(num), uintptr(unsafe.Pointer(names))) -} -func GenOcclusionQueriesNV(n int32, ids *uint32) { - syscall.Syscall(gpGenOcclusionQueriesNV, 2, uintptr(n), uintptr(unsafe.Pointer(ids)), 0) -} -func GenPathsNV(xrange int32) uint32 { - ret, _, _ := syscall.Syscall(gpGenPathsNV, 1, uintptr(xrange), 0, 0) - return (uint32)(ret) -} -func GenPerfMonitorsAMD(n int32, monitors *uint32) { - syscall.Syscall(gpGenPerfMonitorsAMD, 2, uintptr(n), uintptr(unsafe.Pointer(monitors)), 0) -} - -// reserve program pipeline object names -func GenProgramPipelines(n int32, pipelines *uint32) { - syscall.Syscall(gpGenProgramPipelines, 2, uintptr(n), uintptr(unsafe.Pointer(pipelines)), 0) -} -func GenProgramPipelinesEXT(n int32, pipelines *uint32) { - syscall.Syscall(gpGenProgramPipelinesEXT, 2, uintptr(n), uintptr(unsafe.Pointer(pipelines)), 0) -} -func GenProgramsARB(n int32, programs *uint32) { - syscall.Syscall(gpGenProgramsARB, 2, uintptr(n), uintptr(unsafe.Pointer(programs)), 0) -} -func GenProgramsNV(n int32, programs *uint32) { - syscall.Syscall(gpGenProgramsNV, 2, uintptr(n), uintptr(unsafe.Pointer(programs)), 0) -} - -// generate query object names -func GenQueries(n int32, ids *uint32) { - syscall.Syscall(gpGenQueries, 2, uintptr(n), uintptr(unsafe.Pointer(ids)), 0) -} -func GenQueriesARB(n int32, ids *uint32) { - syscall.Syscall(gpGenQueriesARB, 2, uintptr(n), uintptr(unsafe.Pointer(ids)), 0) -} -func GenQueryResourceTagNV(n int32, tagIds *int32) { - syscall.Syscall(gpGenQueryResourceTagNV, 2, uintptr(n), uintptr(unsafe.Pointer(tagIds)), 0) -} - -// generate renderbuffer object names -func GenRenderbuffers(n int32, renderbuffers *uint32) { - syscall.Syscall(gpGenRenderbuffers, 2, uintptr(n), uintptr(unsafe.Pointer(renderbuffers)), 0) -} -func GenRenderbuffersEXT(n int32, renderbuffers *uint32) { - syscall.Syscall(gpGenRenderbuffersEXT, 2, uintptr(n), uintptr(unsafe.Pointer(renderbuffers)), 0) -} - -// generate sampler object names -func GenSamplers(count int32, samplers *uint32) { - syscall.Syscall(gpGenSamplers, 2, uintptr(count), uintptr(unsafe.Pointer(samplers)), 0) -} -func GenSemaphoresEXT(n int32, semaphores *uint32) { - syscall.Syscall(gpGenSemaphoresEXT, 2, uintptr(n), uintptr(unsafe.Pointer(semaphores)), 0) -} -func GenSymbolsEXT(datatype uint32, storagetype uint32, xrange uint32, components uint32) uint32 { - ret, _, _ := syscall.Syscall6(gpGenSymbolsEXT, 4, uintptr(datatype), uintptr(storagetype), uintptr(xrange), uintptr(components), 0, 0) - return (uint32)(ret) -} - -// generate texture names func GenTextures(n int32, textures *uint32) { syscall.Syscall(gpGenTextures, 2, uintptr(n), uintptr(unsafe.Pointer(textures)), 0) } -func GenTexturesEXT(n int32, textures *uint32) { - syscall.Syscall(gpGenTexturesEXT, 2, uintptr(n), uintptr(unsafe.Pointer(textures)), 0) -} -// reserve transform feedback object names -func GenTransformFeedbacks(n int32, ids *uint32) { - syscall.Syscall(gpGenTransformFeedbacks, 2, uintptr(n), uintptr(unsafe.Pointer(ids)), 0) -} -func GenTransformFeedbacksNV(n int32, ids *uint32) { - syscall.Syscall(gpGenTransformFeedbacksNV, 2, uintptr(n), uintptr(unsafe.Pointer(ids)), 0) -} - -// generate vertex array object names -func GenVertexArrays(n int32, arrays *uint32) { - syscall.Syscall(gpGenVertexArrays, 2, uintptr(n), uintptr(unsafe.Pointer(arrays)), 0) -} -func GenVertexArraysAPPLE(n int32, arrays *uint32) { - syscall.Syscall(gpGenVertexArraysAPPLE, 2, uintptr(n), uintptr(unsafe.Pointer(arrays)), 0) -} -func GenVertexShadersEXT(xrange uint32) uint32 { - ret, _, _ := syscall.Syscall(gpGenVertexShadersEXT, 1, uintptr(xrange), 0, 0) - return (uint32)(ret) -} - -// generate mipmaps for a specified texture object -func GenerateMipmap(target uint32) { - syscall.Syscall(gpGenerateMipmap, 1, uintptr(target), 0, 0) -} -func GenerateMipmapEXT(target uint32) { - syscall.Syscall(gpGenerateMipmapEXT, 1, uintptr(target), 0, 0) -} -func GenerateMultiTexMipmapEXT(texunit uint32, target uint32) { - syscall.Syscall(gpGenerateMultiTexMipmapEXT, 2, uintptr(texunit), uintptr(target), 0) -} - -// generate mipmaps for a specified texture object -func GenerateTextureMipmap(texture uint32) { - syscall.Syscall(gpGenerateTextureMipmap, 1, uintptr(texture), 0, 0) -} -func GenerateTextureMipmapEXT(texture uint32, target uint32) { - syscall.Syscall(gpGenerateTextureMipmapEXT, 2, uintptr(texture), uintptr(target), 0) -} - -// retrieve information about the set of active atomic counter buffers for a program -func GetActiveAtomicCounterBufferiv(program uint32, bufferIndex uint32, pname uint32, params *int32) { - syscall.Syscall6(gpGetActiveAtomicCounterBufferiv, 4, uintptr(program), uintptr(bufferIndex), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} - -// Returns information about an active attribute variable for the specified program object -func GetActiveAttrib(program uint32, index uint32, bufSize int32, length *int32, size *int32, xtype *uint32, name *uint8) { - syscall.Syscall9(gpGetActiveAttrib, 7, uintptr(program), uintptr(index), uintptr(bufSize), uintptr(unsafe.Pointer(length)), uintptr(unsafe.Pointer(size)), uintptr(unsafe.Pointer(xtype)), uintptr(unsafe.Pointer(name)), 0, 0) -} -func GetActiveAttribARB(programObj uintptr, index uint32, maxLength int32, length *int32, size *int32, xtype *uint32, name *uint8) { - syscall.Syscall9(gpGetActiveAttribARB, 7, uintptr(programObj), uintptr(index), uintptr(maxLength), uintptr(unsafe.Pointer(length)), uintptr(unsafe.Pointer(size)), uintptr(unsafe.Pointer(xtype)), uintptr(unsafe.Pointer(name)), 0, 0) -} - -// query the name of an active shader subroutine -func GetActiveSubroutineName(program uint32, shadertype uint32, index uint32, bufsize int32, length *int32, name *uint8) { - syscall.Syscall6(gpGetActiveSubroutineName, 6, uintptr(program), uintptr(shadertype), uintptr(index), uintptr(bufsize), uintptr(unsafe.Pointer(length)), uintptr(unsafe.Pointer(name))) -} - -// query the name of an active shader subroutine uniform -func GetActiveSubroutineUniformName(program uint32, shadertype uint32, index uint32, bufsize int32, length *int32, name *uint8) { - syscall.Syscall6(gpGetActiveSubroutineUniformName, 6, uintptr(program), uintptr(shadertype), uintptr(index), uintptr(bufsize), uintptr(unsafe.Pointer(length)), uintptr(unsafe.Pointer(name))) -} -func GetActiveSubroutineUniformiv(program uint32, shadertype uint32, index uint32, pname uint32, values *int32) { - syscall.Syscall6(gpGetActiveSubroutineUniformiv, 5, uintptr(program), uintptr(shadertype), uintptr(index), uintptr(pname), uintptr(unsafe.Pointer(values)), 0) -} - -// Returns information about an active uniform variable for the specified program object -func GetActiveUniform(program uint32, index uint32, bufSize int32, length *int32, size *int32, xtype *uint32, name *uint8) { - syscall.Syscall9(gpGetActiveUniform, 7, uintptr(program), uintptr(index), uintptr(bufSize), uintptr(unsafe.Pointer(length)), uintptr(unsafe.Pointer(size)), uintptr(unsafe.Pointer(xtype)), uintptr(unsafe.Pointer(name)), 0, 0) -} -func GetActiveUniformARB(programObj uintptr, index uint32, maxLength int32, length *int32, size *int32, xtype *uint32, name *uint8) { - syscall.Syscall9(gpGetActiveUniformARB, 7, uintptr(programObj), uintptr(index), uintptr(maxLength), uintptr(unsafe.Pointer(length)), uintptr(unsafe.Pointer(size)), uintptr(unsafe.Pointer(xtype)), uintptr(unsafe.Pointer(name)), 0, 0) -} - -// retrieve the name of an active uniform block -func GetActiveUniformBlockName(program uint32, uniformBlockIndex uint32, bufSize int32, length *int32, uniformBlockName *uint8) { - syscall.Syscall6(gpGetActiveUniformBlockName, 5, uintptr(program), uintptr(uniformBlockIndex), uintptr(bufSize), uintptr(unsafe.Pointer(length)), uintptr(unsafe.Pointer(uniformBlockName)), 0) -} - -// query information about an active uniform block -func GetActiveUniformBlockiv(program uint32, uniformBlockIndex uint32, pname uint32, params *int32) { - syscall.Syscall6(gpGetActiveUniformBlockiv, 4, uintptr(program), uintptr(uniformBlockIndex), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} - -// query the name of an active uniform -func GetActiveUniformName(program uint32, uniformIndex uint32, bufSize int32, length *int32, uniformName *uint8) { - syscall.Syscall6(gpGetActiveUniformName, 5, uintptr(program), uintptr(uniformIndex), uintptr(bufSize), uintptr(unsafe.Pointer(length)), uintptr(unsafe.Pointer(uniformName)), 0) -} - -// Returns information about several active uniform variables for the specified program object -func GetActiveUniformsiv(program uint32, uniformCount int32, uniformIndices *uint32, pname uint32, params *int32) { - syscall.Syscall6(gpGetActiveUniformsiv, 5, uintptr(program), uintptr(uniformCount), uintptr(unsafe.Pointer(uniformIndices)), uintptr(pname), uintptr(unsafe.Pointer(params)), 0) -} -func GetActiveVaryingNV(program uint32, index uint32, bufSize int32, length *int32, size *int32, xtype *uint32, name *uint8) { - syscall.Syscall9(gpGetActiveVaryingNV, 7, uintptr(program), uintptr(index), uintptr(bufSize), uintptr(unsafe.Pointer(length)), uintptr(unsafe.Pointer(size)), uintptr(unsafe.Pointer(xtype)), uintptr(unsafe.Pointer(name)), 0, 0) -} -func GetArrayObjectfvATI(array uint32, pname uint32, params *float32) { - syscall.Syscall(gpGetArrayObjectfvATI, 3, uintptr(array), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetArrayObjectivATI(array uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetArrayObjectivATI, 3, uintptr(array), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetAttachedObjectsARB(containerObj uintptr, maxCount int32, count *int32, obj *uintptr) { - syscall.Syscall6(gpGetAttachedObjectsARB, 4, uintptr(containerObj), uintptr(maxCount), uintptr(unsafe.Pointer(count)), uintptr(unsafe.Pointer(obj)), 0, 0) -} - -// Returns the handles of the shader objects attached to a program object -func GetAttachedShaders(program uint32, maxCount int32, count *int32, shaders *uint32) { - syscall.Syscall6(gpGetAttachedShaders, 4, uintptr(program), uintptr(maxCount), uintptr(unsafe.Pointer(count)), uintptr(unsafe.Pointer(shaders)), 0, 0) -} - -// Returns the location of an attribute variable -func GetAttribLocation(program uint32, name *uint8) int32 { - ret, _, _ := syscall.Syscall(gpGetAttribLocation, 2, uintptr(program), uintptr(unsafe.Pointer(name)), 0) - return (int32)(ret) -} -func GetAttribLocationARB(programObj uintptr, name *uint8) int32 { - ret, _, _ := syscall.Syscall(gpGetAttribLocationARB, 2, uintptr(programObj), uintptr(unsafe.Pointer(name)), 0) - return (int32)(ret) -} -func GetBooleanIndexedvEXT(target uint32, index uint32, data *bool) { - syscall.Syscall(gpGetBooleanIndexedvEXT, 3, uintptr(target), uintptr(index), uintptr(unsafe.Pointer(data))) -} -func GetBooleanv(pname uint32, data *bool) { - syscall.Syscall(gpGetBooleanv, 2, uintptr(pname), uintptr(unsafe.Pointer(data)), 0) -} - -// return parameters of a buffer object -func GetBufferParameteriv(target uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetBufferParameteriv, 3, uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetBufferParameterivARB(target uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetBufferParameterivARB, 3, uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetBufferParameterui64vNV(target uint32, pname uint32, params *uint64) { - syscall.Syscall(gpGetBufferParameterui64vNV, 3, uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params))) -} - -// return the pointer to a mapped buffer object's data store -func GetBufferPointerv(target uint32, pname uint32, params *unsafe.Pointer) { - syscall.Syscall(gpGetBufferPointerv, 3, uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetBufferPointervARB(target uint32, pname uint32, params *unsafe.Pointer) { - syscall.Syscall(gpGetBufferPointervARB, 3, uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params))) -} - -// returns a subset of a buffer object's data store -func GetBufferSubData(target uint32, offset int, size int, data unsafe.Pointer) { - syscall.Syscall6(gpGetBufferSubData, 4, uintptr(target), uintptr(offset), uintptr(size), uintptr(data), 0, 0) -} -func GetBufferSubDataARB(target uint32, offset int, size int, data unsafe.Pointer) { - syscall.Syscall6(gpGetBufferSubDataARB, 4, uintptr(target), uintptr(offset), uintptr(size), uintptr(data), 0, 0) -} - -// return the coefficients of the specified clipping plane -func GetClipPlane(plane uint32, equation *float64) { - syscall.Syscall(gpGetClipPlane, 2, uintptr(plane), uintptr(unsafe.Pointer(equation)), 0) -} -func GetClipPlanefOES(plane uint32, equation *float32) { - syscall.Syscall(gpGetClipPlanefOES, 2, uintptr(plane), uintptr(unsafe.Pointer(equation)), 0) -} -func GetClipPlanexOES(plane uint32, equation *int32) { - syscall.Syscall(gpGetClipPlanexOES, 2, uintptr(plane), uintptr(unsafe.Pointer(equation)), 0) -} -func GetColorTableEXT(target uint32, format uint32, xtype uint32, data unsafe.Pointer) { - syscall.Syscall6(gpGetColorTableEXT, 4, uintptr(target), uintptr(format), uintptr(xtype), uintptr(data), 0, 0) -} -func GetColorTableParameterfvEXT(target uint32, pname uint32, params *float32) { - syscall.Syscall(gpGetColorTableParameterfvEXT, 3, uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetColorTableParameterfvSGI(target uint32, pname uint32, params *float32) { - syscall.Syscall(gpGetColorTableParameterfvSGI, 3, uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetColorTableParameterivEXT(target uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetColorTableParameterivEXT, 3, uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetColorTableParameterivSGI(target uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetColorTableParameterivSGI, 3, uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetColorTableSGI(target uint32, format uint32, xtype uint32, table unsafe.Pointer) { - syscall.Syscall6(gpGetColorTableSGI, 4, uintptr(target), uintptr(format), uintptr(xtype), uintptr(table), 0, 0) -} -func GetCombinerInputParameterfvNV(stage uint32, portion uint32, variable uint32, pname uint32, params *float32) { - syscall.Syscall6(gpGetCombinerInputParameterfvNV, 5, uintptr(stage), uintptr(portion), uintptr(variable), uintptr(pname), uintptr(unsafe.Pointer(params)), 0) -} -func GetCombinerInputParameterivNV(stage uint32, portion uint32, variable uint32, pname uint32, params *int32) { - syscall.Syscall6(gpGetCombinerInputParameterivNV, 5, uintptr(stage), uintptr(portion), uintptr(variable), uintptr(pname), uintptr(unsafe.Pointer(params)), 0) -} -func GetCombinerOutputParameterfvNV(stage uint32, portion uint32, pname uint32, params *float32) { - syscall.Syscall6(gpGetCombinerOutputParameterfvNV, 4, uintptr(stage), uintptr(portion), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} -func GetCombinerOutputParameterivNV(stage uint32, portion uint32, pname uint32, params *int32) { - syscall.Syscall6(gpGetCombinerOutputParameterivNV, 4, uintptr(stage), uintptr(portion), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} -func GetCombinerStageParameterfvNV(stage uint32, pname uint32, params *float32) { - syscall.Syscall(gpGetCombinerStageParameterfvNV, 3, uintptr(stage), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetCommandHeaderNV(tokenID uint32, size uint32) uint32 { - ret, _, _ := syscall.Syscall(gpGetCommandHeaderNV, 2, uintptr(tokenID), uintptr(size), 0) - return (uint32)(ret) -} -func GetCompressedMultiTexImageEXT(texunit uint32, target uint32, lod int32, img unsafe.Pointer) { - syscall.Syscall6(gpGetCompressedMultiTexImageEXT, 4, uintptr(texunit), uintptr(target), uintptr(lod), uintptr(img), 0, 0) -} - -// return a compressed texture image -func GetCompressedTexImage(target uint32, level int32, img unsafe.Pointer) { - syscall.Syscall(gpGetCompressedTexImage, 3, uintptr(target), uintptr(level), uintptr(img)) -} -func GetCompressedTexImageARB(target uint32, level int32, img unsafe.Pointer) { - syscall.Syscall(gpGetCompressedTexImageARB, 3, uintptr(target), uintptr(level), uintptr(img)) -} - -// return a compressed texture image -func GetCompressedTextureImage(texture uint32, level int32, bufSize int32, pixels unsafe.Pointer) { - syscall.Syscall6(gpGetCompressedTextureImage, 4, uintptr(texture), uintptr(level), uintptr(bufSize), uintptr(pixels), 0, 0) -} -func GetCompressedTextureImageEXT(texture uint32, target uint32, lod int32, img unsafe.Pointer) { - syscall.Syscall6(gpGetCompressedTextureImageEXT, 4, uintptr(texture), uintptr(target), uintptr(lod), uintptr(img), 0, 0) -} - -// retrieve a sub-region of a compressed texture image from a compressed texture object -func GetCompressedTextureSubImage(texture uint32, level int32, xoffset int32, yoffset int32, zoffset int32, width int32, height int32, depth int32, bufSize int32, pixels unsafe.Pointer) { - syscall.Syscall12(gpGetCompressedTextureSubImage, 10, uintptr(texture), uintptr(level), uintptr(xoffset), uintptr(yoffset), uintptr(zoffset), uintptr(width), uintptr(height), uintptr(depth), uintptr(bufSize), uintptr(pixels), 0, 0) -} -func GetConvolutionFilterEXT(target uint32, format uint32, xtype uint32, image unsafe.Pointer) { - syscall.Syscall6(gpGetConvolutionFilterEXT, 4, uintptr(target), uintptr(format), uintptr(xtype), uintptr(image), 0, 0) -} -func GetConvolutionParameterfvEXT(target uint32, pname uint32, params *float32) { - syscall.Syscall(gpGetConvolutionParameterfvEXT, 3, uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetConvolutionParameterivEXT(target uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetConvolutionParameterivEXT, 3, uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetConvolutionParameterxvOES(target uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetConvolutionParameterxvOES, 3, uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetCoverageModulationTableNV(bufsize int32, v *float32) { - syscall.Syscall(gpGetCoverageModulationTableNV, 2, uintptr(bufsize), uintptr(unsafe.Pointer(v)), 0) -} - -// retrieve messages from the debug message log -func GetDebugMessageLog(count uint32, bufSize int32, sources *uint32, types *uint32, ids *uint32, severities *uint32, lengths *int32, messageLog *uint8) uint32 { - ret, _, _ := syscall.Syscall9(gpGetDebugMessageLog, 8, uintptr(count), uintptr(bufSize), uintptr(unsafe.Pointer(sources)), uintptr(unsafe.Pointer(types)), uintptr(unsafe.Pointer(ids)), uintptr(unsafe.Pointer(severities)), uintptr(unsafe.Pointer(lengths)), uintptr(unsafe.Pointer(messageLog)), 0) - return (uint32)(ret) -} -func GetDebugMessageLogAMD(count uint32, bufsize int32, categories *uint32, severities *uint32, ids *uint32, lengths *int32, message *uint8) uint32 { - ret, _, _ := syscall.Syscall9(gpGetDebugMessageLogAMD, 7, uintptr(count), uintptr(bufsize), uintptr(unsafe.Pointer(categories)), uintptr(unsafe.Pointer(severities)), uintptr(unsafe.Pointer(ids)), uintptr(unsafe.Pointer(lengths)), uintptr(unsafe.Pointer(message)), 0, 0) - return (uint32)(ret) -} -func GetDebugMessageLogARB(count uint32, bufSize int32, sources *uint32, types *uint32, ids *uint32, severities *uint32, lengths *int32, messageLog *uint8) uint32 { - ret, _, _ := syscall.Syscall9(gpGetDebugMessageLogARB, 8, uintptr(count), uintptr(bufSize), uintptr(unsafe.Pointer(sources)), uintptr(unsafe.Pointer(types)), uintptr(unsafe.Pointer(ids)), uintptr(unsafe.Pointer(severities)), uintptr(unsafe.Pointer(lengths)), uintptr(unsafe.Pointer(messageLog)), 0) - return (uint32)(ret) -} -func GetDebugMessageLogKHR(count uint32, bufSize int32, sources *uint32, types *uint32, ids *uint32, severities *uint32, lengths *int32, messageLog *uint8) uint32 { - ret, _, _ := syscall.Syscall9(gpGetDebugMessageLogKHR, 8, uintptr(count), uintptr(bufSize), uintptr(unsafe.Pointer(sources)), uintptr(unsafe.Pointer(types)), uintptr(unsafe.Pointer(ids)), uintptr(unsafe.Pointer(severities)), uintptr(unsafe.Pointer(lengths)), uintptr(unsafe.Pointer(messageLog)), 0) - return (uint32)(ret) -} -func GetDetailTexFuncSGIS(target uint32, points *float32) { - syscall.Syscall(gpGetDetailTexFuncSGIS, 2, uintptr(target), uintptr(unsafe.Pointer(points)), 0) -} -func GetDoubleIndexedvEXT(target uint32, index uint32, data *float64) { - syscall.Syscall(gpGetDoubleIndexedvEXT, 3, uintptr(target), uintptr(index), uintptr(unsafe.Pointer(data))) -} func GetDoublei_v(target uint32, index uint32, data *float64) { syscall.Syscall(gpGetDoublei_v, 3, uintptr(target), uintptr(index), uintptr(unsafe.Pointer(data))) } func GetDoublei_vEXT(pname uint32, index uint32, params *float64) { syscall.Syscall(gpGetDoublei_vEXT, 3, uintptr(pname), uintptr(index), uintptr(unsafe.Pointer(params))) } -func GetDoublev(pname uint32, data *float64) { - syscall.Syscall(gpGetDoublev, 2, uintptr(pname), uintptr(unsafe.Pointer(data)), 0) -} -// return error information func GetError() uint32 { ret, _, _ := syscall.Syscall(gpGetError, 0, 0, 0, 0) return (uint32)(ret) } -func GetFenceivNV(fence uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetFenceivNV, 3, uintptr(fence), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetFinalCombinerInputParameterfvNV(variable uint32, pname uint32, params *float32) { - syscall.Syscall(gpGetFinalCombinerInputParameterfvNV, 3, uintptr(variable), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetFinalCombinerInputParameterivNV(variable uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetFinalCombinerInputParameterivNV, 3, uintptr(variable), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetFirstPerfQueryIdINTEL(queryId *uint32) { - syscall.Syscall(gpGetFirstPerfQueryIdINTEL, 1, uintptr(unsafe.Pointer(queryId)), 0, 0) -} -func GetFixedvOES(pname uint32, params *int32) { - syscall.Syscall(gpGetFixedvOES, 2, uintptr(pname), uintptr(unsafe.Pointer(params)), 0) -} -func GetFloatIndexedvEXT(target uint32, index uint32, data *float32) { - syscall.Syscall(gpGetFloatIndexedvEXT, 3, uintptr(target), uintptr(index), uintptr(unsafe.Pointer(data))) -} func GetFloati_v(target uint32, index uint32, data *float32) { syscall.Syscall(gpGetFloati_v, 3, uintptr(target), uintptr(index), uintptr(unsafe.Pointer(data))) } func GetFloati_vEXT(pname uint32, index uint32, params *float32) { syscall.Syscall(gpGetFloati_vEXT, 3, uintptr(pname), uintptr(index), uintptr(unsafe.Pointer(params))) } -func GetFloatv(pname uint32, data *float32) { - syscall.Syscall(gpGetFloatv, 2, uintptr(pname), uintptr(unsafe.Pointer(data)), 0) -} -func GetFogFuncSGIS(points *float32) { - syscall.Syscall(gpGetFogFuncSGIS, 1, uintptr(unsafe.Pointer(points)), 0, 0) -} -// query the bindings of color indices to user-defined varying out variables -func GetFragDataIndex(program uint32, name *uint8) int32 { - ret, _, _ := syscall.Syscall(gpGetFragDataIndex, 2, uintptr(program), uintptr(unsafe.Pointer(name)), 0) - return (int32)(ret) -} -func GetFragDataLocationEXT(program uint32, name *uint8) int32 { - ret, _, _ := syscall.Syscall(gpGetFragDataLocationEXT, 2, uintptr(program), uintptr(unsafe.Pointer(name)), 0) - return (int32)(ret) -} -func GetFragmentLightfvSGIX(light uint32, pname uint32, params *float32) { - syscall.Syscall(gpGetFragmentLightfvSGIX, 3, uintptr(light), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetFragmentLightivSGIX(light uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetFragmentLightivSGIX, 3, uintptr(light), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetFragmentMaterialfvSGIX(face uint32, pname uint32, params *float32) { - syscall.Syscall(gpGetFragmentMaterialfvSGIX, 3, uintptr(face), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetFragmentMaterialivSGIX(face uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetFragmentMaterialivSGIX, 3, uintptr(face), uintptr(pname), uintptr(unsafe.Pointer(params))) -} - -// retrieve information about attachments of a bound framebuffer object -func GetFramebufferAttachmentParameteriv(target uint32, attachment uint32, pname uint32, params *int32) { - syscall.Syscall6(gpGetFramebufferAttachmentParameteriv, 4, uintptr(target), uintptr(attachment), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} -func GetFramebufferAttachmentParameterivEXT(target uint32, attachment uint32, pname uint32, params *int32) { - syscall.Syscall6(gpGetFramebufferAttachmentParameterivEXT, 4, uintptr(target), uintptr(attachment), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} -func GetFramebufferParameterfvAMD(target uint32, pname uint32, numsamples uint32, pixelindex uint32, size int32, values *float32) { - syscall.Syscall6(gpGetFramebufferParameterfvAMD, 6, uintptr(target), uintptr(pname), uintptr(numsamples), uintptr(pixelindex), uintptr(size), uintptr(unsafe.Pointer(values))) -} - -// retrieve a named parameter from a framebuffer -func GetFramebufferParameteriv(target uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetFramebufferParameteriv, 3, uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetFramebufferParameterivEXT(framebuffer uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetFramebufferParameterivEXT, 3, uintptr(framebuffer), uintptr(pname), uintptr(unsafe.Pointer(params))) -} - -// check if the rendering context has not been lost due to software or hardware issues -func GetGraphicsResetStatus() uint32 { - ret, _, _ := syscall.Syscall(gpGetGraphicsResetStatus, 0, 0, 0, 0) - return (uint32)(ret) -} -func GetGraphicsResetStatusARB() uint32 { - ret, _, _ := syscall.Syscall(gpGetGraphicsResetStatusARB, 0, 0, 0, 0) - return (uint32)(ret) -} -func GetGraphicsResetStatusKHR() uint32 { - ret, _, _ := syscall.Syscall(gpGetGraphicsResetStatusKHR, 0, 0, 0, 0) - return (uint32)(ret) -} -func GetHandleARB(pname uint32) uintptr { - ret, _, _ := syscall.Syscall(gpGetHandleARB, 1, uintptr(pname), 0, 0) - return (uintptr)(ret) -} -func GetHistogramEXT(target uint32, reset bool, format uint32, xtype uint32, values unsafe.Pointer) { - syscall.Syscall6(gpGetHistogramEXT, 5, uintptr(target), boolToUintptr(reset), uintptr(format), uintptr(xtype), uintptr(values), 0) -} -func GetHistogramParameterfvEXT(target uint32, pname uint32, params *float32) { - syscall.Syscall(gpGetHistogramParameterfvEXT, 3, uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetHistogramParameterivEXT(target uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetHistogramParameterivEXT, 3, uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetHistogramParameterxvOES(target uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetHistogramParameterxvOES, 3, uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetImageHandleARB(texture uint32, level int32, layered bool, layer int32, format uint32) uint64 { - ret, _, _ := syscall.Syscall6(gpGetImageHandleARB, 5, uintptr(texture), uintptr(level), boolToUintptr(layered), uintptr(layer), uintptr(format), 0) - return (uint64)(ret) -} -func GetImageHandleNV(texture uint32, level int32, layered bool, layer int32, format uint32) uint64 { - ret, _, _ := syscall.Syscall6(gpGetImageHandleNV, 5, uintptr(texture), uintptr(level), boolToUintptr(layered), uintptr(layer), uintptr(format), 0) - return (uint64)(ret) -} -func GetImageTransformParameterfvHP(target uint32, pname uint32, params *float32) { - syscall.Syscall(gpGetImageTransformParameterfvHP, 3, uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetImageTransformParameterivHP(target uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetImageTransformParameterivHP, 3, uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetInfoLogARB(obj uintptr, maxLength int32, length *int32, infoLog *uint8) { - syscall.Syscall6(gpGetInfoLogARB, 4, uintptr(obj), uintptr(maxLength), uintptr(unsafe.Pointer(length)), uintptr(unsafe.Pointer(infoLog)), 0, 0) -} -func GetInstrumentsSGIX() int32 { - ret, _, _ := syscall.Syscall(gpGetInstrumentsSGIX, 0, 0, 0, 0) - return (int32)(ret) -} -func GetInteger64v(pname uint32, data *int64) { - syscall.Syscall(gpGetInteger64v, 2, uintptr(pname), uintptr(unsafe.Pointer(data)), 0) -} -func GetIntegerIndexedvEXT(target uint32, index uint32, data *int32) { - syscall.Syscall(gpGetIntegerIndexedvEXT, 3, uintptr(target), uintptr(index), uintptr(unsafe.Pointer(data))) -} func GetIntegeri_v(target uint32, index uint32, data *int32) { syscall.Syscall(gpGetIntegeri_v, 3, uintptr(target), uintptr(index), uintptr(unsafe.Pointer(data))) } func GetIntegerui64i_vNV(value uint32, index uint32, result *uint64) { syscall.Syscall(gpGetIntegerui64i_vNV, 3, uintptr(value), uintptr(index), uintptr(unsafe.Pointer(result))) } -func GetIntegerui64vNV(value uint32, result *uint64) { - syscall.Syscall(gpGetIntegerui64vNV, 2, uintptr(value), uintptr(unsafe.Pointer(result)), 0) -} func GetIntegerv(pname uint32, data *int32) { syscall.Syscall(gpGetIntegerv, 2, uintptr(pname), uintptr(unsafe.Pointer(data)), 0) } -func GetInternalformatSampleivNV(target uint32, internalformat uint32, samples int32, pname uint32, bufSize int32, params *int32) { - syscall.Syscall6(gpGetInternalformatSampleivNV, 6, uintptr(target), uintptr(internalformat), uintptr(samples), uintptr(pname), uintptr(bufSize), uintptr(unsafe.Pointer(params))) -} -func GetInternalformati64v(target uint32, internalformat uint32, pname uint32, bufSize int32, params *int64) { - syscall.Syscall6(gpGetInternalformati64v, 5, uintptr(target), uintptr(internalformat), uintptr(pname), uintptr(bufSize), uintptr(unsafe.Pointer(params)), 0) -} -// retrieve information about implementation-dependent support for internal formats -func GetInternalformativ(target uint32, internalformat uint32, pname uint32, bufSize int32, params *int32) { - syscall.Syscall6(gpGetInternalformativ, 5, uintptr(target), uintptr(internalformat), uintptr(pname), uintptr(bufSize), uintptr(unsafe.Pointer(params)), 0) -} -func GetInvariantBooleanvEXT(id uint32, value uint32, data *bool) { - syscall.Syscall(gpGetInvariantBooleanvEXT, 3, uintptr(id), uintptr(value), uintptr(unsafe.Pointer(data))) -} -func GetInvariantFloatvEXT(id uint32, value uint32, data *float32) { - syscall.Syscall(gpGetInvariantFloatvEXT, 3, uintptr(id), uintptr(value), uintptr(unsafe.Pointer(data))) -} -func GetInvariantIntegervEXT(id uint32, value uint32, data *int32) { - syscall.Syscall(gpGetInvariantIntegervEXT, 3, uintptr(id), uintptr(value), uintptr(unsafe.Pointer(data))) -} -func GetLightfv(light uint32, pname uint32, params *float32) { - syscall.Syscall(gpGetLightfv, 3, uintptr(light), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetLightiv(light uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetLightiv, 3, uintptr(light), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetLightxOES(light uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetLightxOES, 3, uintptr(light), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetLightxvOES(light uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetLightxvOES, 3, uintptr(light), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetListParameterfvSGIX(list uint32, pname uint32, params *float32) { - syscall.Syscall(gpGetListParameterfvSGIX, 3, uintptr(list), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetListParameterivSGIX(list uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetListParameterivSGIX, 3, uintptr(list), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetLocalConstantBooleanvEXT(id uint32, value uint32, data *bool) { - syscall.Syscall(gpGetLocalConstantBooleanvEXT, 3, uintptr(id), uintptr(value), uintptr(unsafe.Pointer(data))) -} -func GetLocalConstantFloatvEXT(id uint32, value uint32, data *float32) { - syscall.Syscall(gpGetLocalConstantFloatvEXT, 3, uintptr(id), uintptr(value), uintptr(unsafe.Pointer(data))) -} -func GetLocalConstantIntegervEXT(id uint32, value uint32, data *int32) { - syscall.Syscall(gpGetLocalConstantIntegervEXT, 3, uintptr(id), uintptr(value), uintptr(unsafe.Pointer(data))) -} -func GetMapAttribParameterfvNV(target uint32, index uint32, pname uint32, params *float32) { - syscall.Syscall6(gpGetMapAttribParameterfvNV, 4, uintptr(target), uintptr(index), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} -func GetMapAttribParameterivNV(target uint32, index uint32, pname uint32, params *int32) { - syscall.Syscall6(gpGetMapAttribParameterivNV, 4, uintptr(target), uintptr(index), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} -func GetMapControlPointsNV(target uint32, index uint32, xtype uint32, ustride int32, vstride int32, packed bool, points unsafe.Pointer) { - syscall.Syscall9(gpGetMapControlPointsNV, 7, uintptr(target), uintptr(index), uintptr(xtype), uintptr(ustride), uintptr(vstride), boolToUintptr(packed), uintptr(points), 0, 0) -} -func GetMapParameterfvNV(target uint32, pname uint32, params *float32) { - syscall.Syscall(gpGetMapParameterfvNV, 3, uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetMapParameterivNV(target uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetMapParameterivNV, 3, uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetMapdv(target uint32, query uint32, v *float64) { - syscall.Syscall(gpGetMapdv, 3, uintptr(target), uintptr(query), uintptr(unsafe.Pointer(v))) -} -func GetMapfv(target uint32, query uint32, v *float32) { - syscall.Syscall(gpGetMapfv, 3, uintptr(target), uintptr(query), uintptr(unsafe.Pointer(v))) -} -func GetMapiv(target uint32, query uint32, v *int32) { - syscall.Syscall(gpGetMapiv, 3, uintptr(target), uintptr(query), uintptr(unsafe.Pointer(v))) -} -func GetMapxvOES(target uint32, query uint32, v *int32) { - syscall.Syscall(gpGetMapxvOES, 3, uintptr(target), uintptr(query), uintptr(unsafe.Pointer(v))) -} -func GetMaterialfv(face uint32, pname uint32, params *float32) { - syscall.Syscall(gpGetMaterialfv, 3, uintptr(face), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetMaterialiv(face uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetMaterialiv, 3, uintptr(face), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetMaterialxOES(face uint32, pname uint32, param int32) { - syscall.Syscall(gpGetMaterialxOES, 3, uintptr(face), uintptr(pname), uintptr(param)) -} -func GetMaterialxvOES(face uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetMaterialxvOES, 3, uintptr(face), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetMemoryObjectParameterivEXT(memoryObject uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetMemoryObjectParameterivEXT, 3, uintptr(memoryObject), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetMinmaxEXT(target uint32, reset bool, format uint32, xtype uint32, values unsafe.Pointer) { - syscall.Syscall6(gpGetMinmaxEXT, 5, uintptr(target), boolToUintptr(reset), uintptr(format), uintptr(xtype), uintptr(values), 0) -} -func GetMinmaxParameterfvEXT(target uint32, pname uint32, params *float32) { - syscall.Syscall(gpGetMinmaxParameterfvEXT, 3, uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetMinmaxParameterivEXT(target uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetMinmaxParameterivEXT, 3, uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetMultiTexEnvfvEXT(texunit uint32, target uint32, pname uint32, params *float32) { - syscall.Syscall6(gpGetMultiTexEnvfvEXT, 4, uintptr(texunit), uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} -func GetMultiTexEnvivEXT(texunit uint32, target uint32, pname uint32, params *int32) { - syscall.Syscall6(gpGetMultiTexEnvivEXT, 4, uintptr(texunit), uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} -func GetMultiTexGendvEXT(texunit uint32, coord uint32, pname uint32, params *float64) { - syscall.Syscall6(gpGetMultiTexGendvEXT, 4, uintptr(texunit), uintptr(coord), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} -func GetMultiTexGenfvEXT(texunit uint32, coord uint32, pname uint32, params *float32) { - syscall.Syscall6(gpGetMultiTexGenfvEXT, 4, uintptr(texunit), uintptr(coord), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} -func GetMultiTexGenivEXT(texunit uint32, coord uint32, pname uint32, params *int32) { - syscall.Syscall6(gpGetMultiTexGenivEXT, 4, uintptr(texunit), uintptr(coord), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} -func GetMultiTexImageEXT(texunit uint32, target uint32, level int32, format uint32, xtype uint32, pixels unsafe.Pointer) { - syscall.Syscall6(gpGetMultiTexImageEXT, 6, uintptr(texunit), uintptr(target), uintptr(level), uintptr(format), uintptr(xtype), uintptr(pixels)) -} -func GetMultiTexLevelParameterfvEXT(texunit uint32, target uint32, level int32, pname uint32, params *float32) { - syscall.Syscall6(gpGetMultiTexLevelParameterfvEXT, 5, uintptr(texunit), uintptr(target), uintptr(level), uintptr(pname), uintptr(unsafe.Pointer(params)), 0) -} -func GetMultiTexLevelParameterivEXT(texunit uint32, target uint32, level int32, pname uint32, params *int32) { - syscall.Syscall6(gpGetMultiTexLevelParameterivEXT, 5, uintptr(texunit), uintptr(target), uintptr(level), uintptr(pname), uintptr(unsafe.Pointer(params)), 0) -} -func GetMultiTexParameterIivEXT(texunit uint32, target uint32, pname uint32, params *int32) { - syscall.Syscall6(gpGetMultiTexParameterIivEXT, 4, uintptr(texunit), uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} -func GetMultiTexParameterIuivEXT(texunit uint32, target uint32, pname uint32, params *uint32) { - syscall.Syscall6(gpGetMultiTexParameterIuivEXT, 4, uintptr(texunit), uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} -func GetMultiTexParameterfvEXT(texunit uint32, target uint32, pname uint32, params *float32) { - syscall.Syscall6(gpGetMultiTexParameterfvEXT, 4, uintptr(texunit), uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} -func GetMultiTexParameterivEXT(texunit uint32, target uint32, pname uint32, params *int32) { - syscall.Syscall6(gpGetMultiTexParameterivEXT, 4, uintptr(texunit), uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} - -// retrieve the location of a sample -func GetMultisamplefv(pname uint32, index uint32, val *float32) { - syscall.Syscall(gpGetMultisamplefv, 3, uintptr(pname), uintptr(index), uintptr(unsafe.Pointer(val))) -} -func GetMultisamplefvNV(pname uint32, index uint32, val *float32) { - syscall.Syscall(gpGetMultisamplefvNV, 3, uintptr(pname), uintptr(index), uintptr(unsafe.Pointer(val))) -} - -// return parameters of a buffer object -func GetNamedBufferParameteri64v(buffer uint32, pname uint32, params *int64) { - syscall.Syscall(gpGetNamedBufferParameteri64v, 3, uintptr(buffer), uintptr(pname), uintptr(unsafe.Pointer(params))) -} - -// return parameters of a buffer object -func GetNamedBufferParameteriv(buffer uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetNamedBufferParameteriv, 3, uintptr(buffer), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetNamedBufferParameterivEXT(buffer uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetNamedBufferParameterivEXT, 3, uintptr(buffer), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetNamedBufferParameterui64vNV(buffer uint32, pname uint32, params *uint64) { - syscall.Syscall(gpGetNamedBufferParameterui64vNV, 3, uintptr(buffer), uintptr(pname), uintptr(unsafe.Pointer(params))) -} - -// return the pointer to a mapped buffer object's data store -func GetNamedBufferPointerv(buffer uint32, pname uint32, params *unsafe.Pointer) { - syscall.Syscall(gpGetNamedBufferPointerv, 3, uintptr(buffer), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetNamedBufferPointervEXT(buffer uint32, pname uint32, params *unsafe.Pointer) { - syscall.Syscall(gpGetNamedBufferPointervEXT, 3, uintptr(buffer), uintptr(pname), uintptr(unsafe.Pointer(params))) -} - -// returns a subset of a buffer object's data store -func GetNamedBufferSubData(buffer uint32, offset int, size int, data unsafe.Pointer) { - syscall.Syscall6(gpGetNamedBufferSubData, 4, uintptr(buffer), uintptr(offset), uintptr(size), uintptr(data), 0, 0) -} -func GetNamedBufferSubDataEXT(buffer uint32, offset int, size int, data unsafe.Pointer) { - syscall.Syscall6(gpGetNamedBufferSubDataEXT, 4, uintptr(buffer), uintptr(offset), uintptr(size), uintptr(data), 0, 0) -} - -// retrieve information about attachments of a framebuffer object -func GetNamedFramebufferAttachmentParameteriv(framebuffer uint32, attachment uint32, pname uint32, params *int32) { - syscall.Syscall6(gpGetNamedFramebufferAttachmentParameteriv, 4, uintptr(framebuffer), uintptr(attachment), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} -func GetNamedFramebufferAttachmentParameterivEXT(framebuffer uint32, attachment uint32, pname uint32, params *int32) { - syscall.Syscall6(gpGetNamedFramebufferAttachmentParameterivEXT, 4, uintptr(framebuffer), uintptr(attachment), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} -func GetNamedFramebufferParameterfvAMD(framebuffer uint32, pname uint32, numsamples uint32, pixelindex uint32, size int32, values *float32) { - syscall.Syscall6(gpGetNamedFramebufferParameterfvAMD, 6, uintptr(framebuffer), uintptr(pname), uintptr(numsamples), uintptr(pixelindex), uintptr(size), uintptr(unsafe.Pointer(values))) -} - -// query a named parameter of a framebuffer object -func GetNamedFramebufferParameteriv(framebuffer uint32, pname uint32, param *int32) { - syscall.Syscall(gpGetNamedFramebufferParameteriv, 3, uintptr(framebuffer), uintptr(pname), uintptr(unsafe.Pointer(param))) -} -func GetNamedFramebufferParameterivEXT(framebuffer uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetNamedFramebufferParameterivEXT, 3, uintptr(framebuffer), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetNamedProgramLocalParameterIivEXT(program uint32, target uint32, index uint32, params *int32) { - syscall.Syscall6(gpGetNamedProgramLocalParameterIivEXT, 4, uintptr(program), uintptr(target), uintptr(index), uintptr(unsafe.Pointer(params)), 0, 0) -} -func GetNamedProgramLocalParameterIuivEXT(program uint32, target uint32, index uint32, params *uint32) { - syscall.Syscall6(gpGetNamedProgramLocalParameterIuivEXT, 4, uintptr(program), uintptr(target), uintptr(index), uintptr(unsafe.Pointer(params)), 0, 0) -} -func GetNamedProgramLocalParameterdvEXT(program uint32, target uint32, index uint32, params *float64) { - syscall.Syscall6(gpGetNamedProgramLocalParameterdvEXT, 4, uintptr(program), uintptr(target), uintptr(index), uintptr(unsafe.Pointer(params)), 0, 0) -} -func GetNamedProgramLocalParameterfvEXT(program uint32, target uint32, index uint32, params *float32) { - syscall.Syscall6(gpGetNamedProgramLocalParameterfvEXT, 4, uintptr(program), uintptr(target), uintptr(index), uintptr(unsafe.Pointer(params)), 0, 0) -} -func GetNamedProgramStringEXT(program uint32, target uint32, pname uint32, xstring unsafe.Pointer) { - syscall.Syscall6(gpGetNamedProgramStringEXT, 4, uintptr(program), uintptr(target), uintptr(pname), uintptr(xstring), 0, 0) -} -func GetNamedProgramivEXT(program uint32, target uint32, pname uint32, params *int32) { - syscall.Syscall6(gpGetNamedProgramivEXT, 4, uintptr(program), uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} - -// query a named parameter of a renderbuffer object -func GetNamedRenderbufferParameteriv(renderbuffer uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetNamedRenderbufferParameteriv, 3, uintptr(renderbuffer), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetNamedRenderbufferParameterivEXT(renderbuffer uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetNamedRenderbufferParameterivEXT, 3, uintptr(renderbuffer), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetNamedStringARB(namelen int32, name *uint8, bufSize int32, stringlen *int32, xstring *uint8) { - syscall.Syscall6(gpGetNamedStringARB, 5, uintptr(namelen), uintptr(unsafe.Pointer(name)), uintptr(bufSize), uintptr(unsafe.Pointer(stringlen)), uintptr(unsafe.Pointer(xstring)), 0) -} -func GetNamedStringivARB(namelen int32, name *uint8, pname uint32, params *int32) { - syscall.Syscall6(gpGetNamedStringivARB, 4, uintptr(namelen), uintptr(unsafe.Pointer(name)), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} -func GetNextPerfQueryIdINTEL(queryId uint32, nextQueryId *uint32) { - syscall.Syscall(gpGetNextPerfQueryIdINTEL, 2, uintptr(queryId), uintptr(unsafe.Pointer(nextQueryId)), 0) -} -func GetObjectBufferfvATI(buffer uint32, pname uint32, params *float32) { - syscall.Syscall(gpGetObjectBufferfvATI, 3, uintptr(buffer), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetObjectBufferivATI(buffer uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetObjectBufferivATI, 3, uintptr(buffer), uintptr(pname), uintptr(unsafe.Pointer(params))) -} - -// retrieve the label of a named object identified within a namespace -func GetObjectLabel(identifier uint32, name uint32, bufSize int32, length *int32, label *uint8) { - syscall.Syscall6(gpGetObjectLabel, 5, uintptr(identifier), uintptr(name), uintptr(bufSize), uintptr(unsafe.Pointer(length)), uintptr(unsafe.Pointer(label)), 0) -} -func GetObjectLabelEXT(xtype uint32, object uint32, bufSize int32, length *int32, label *uint8) { - syscall.Syscall6(gpGetObjectLabelEXT, 5, uintptr(xtype), uintptr(object), uintptr(bufSize), uintptr(unsafe.Pointer(length)), uintptr(unsafe.Pointer(label)), 0) -} -func GetObjectLabelKHR(identifier uint32, name uint32, bufSize int32, length *int32, label *uint8) { - syscall.Syscall6(gpGetObjectLabelKHR, 5, uintptr(identifier), uintptr(name), uintptr(bufSize), uintptr(unsafe.Pointer(length)), uintptr(unsafe.Pointer(label)), 0) -} -func GetObjectParameterfvARB(obj uintptr, pname uint32, params *float32) { - syscall.Syscall(gpGetObjectParameterfvARB, 3, uintptr(obj), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetObjectParameterivAPPLE(objectType uint32, name uint32, pname uint32, params *int32) { - syscall.Syscall6(gpGetObjectParameterivAPPLE, 4, uintptr(objectType), uintptr(name), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} -func GetObjectParameterivARB(obj uintptr, pname uint32, params *int32) { - syscall.Syscall(gpGetObjectParameterivARB, 3, uintptr(obj), uintptr(pname), uintptr(unsafe.Pointer(params))) -} - -// retrieve the label of a sync object identified by a pointer -func GetObjectPtrLabel(ptr unsafe.Pointer, bufSize int32, length *int32, label *uint8) { - syscall.Syscall6(gpGetObjectPtrLabel, 4, uintptr(ptr), uintptr(bufSize), uintptr(unsafe.Pointer(length)), uintptr(unsafe.Pointer(label)), 0, 0) -} -func GetObjectPtrLabelKHR(ptr unsafe.Pointer, bufSize int32, length *int32, label *uint8) { - syscall.Syscall6(gpGetObjectPtrLabelKHR, 4, uintptr(ptr), uintptr(bufSize), uintptr(unsafe.Pointer(length)), uintptr(unsafe.Pointer(label)), 0, 0) -} -func GetOcclusionQueryivNV(id uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetOcclusionQueryivNV, 3, uintptr(id), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetOcclusionQueryuivNV(id uint32, pname uint32, params *uint32) { - syscall.Syscall(gpGetOcclusionQueryuivNV, 3, uintptr(id), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetPathCommandsNV(path uint32, commands *uint8) { - syscall.Syscall(gpGetPathCommandsNV, 2, uintptr(path), uintptr(unsafe.Pointer(commands)), 0) -} -func GetPathCoordsNV(path uint32, coords *float32) { - syscall.Syscall(gpGetPathCoordsNV, 2, uintptr(path), uintptr(unsafe.Pointer(coords)), 0) -} -func GetPathDashArrayNV(path uint32, dashArray *float32) { - syscall.Syscall(gpGetPathDashArrayNV, 2, uintptr(path), uintptr(unsafe.Pointer(dashArray)), 0) -} -func GetPathLengthNV(path uint32, startSegment int32, numSegments int32) float32 { - ret, _, _ := syscall.Syscall(gpGetPathLengthNV, 3, uintptr(path), uintptr(startSegment), uintptr(numSegments)) - return math.Float32frombits(uint32(ret)) -} -func GetPathMetricRangeNV(metricQueryMask uint32, firstPathName uint32, numPaths int32, stride int32, metrics *float32) { - syscall.Syscall6(gpGetPathMetricRangeNV, 5, uintptr(metricQueryMask), uintptr(firstPathName), uintptr(numPaths), uintptr(stride), uintptr(unsafe.Pointer(metrics)), 0) -} -func GetPathMetricsNV(metricQueryMask uint32, numPaths int32, pathNameType uint32, paths unsafe.Pointer, pathBase uint32, stride int32, metrics *float32) { - syscall.Syscall9(gpGetPathMetricsNV, 7, uintptr(metricQueryMask), uintptr(numPaths), uintptr(pathNameType), uintptr(paths), uintptr(pathBase), uintptr(stride), uintptr(unsafe.Pointer(metrics)), 0, 0) -} -func GetPathParameterfvNV(path uint32, pname uint32, value *float32) { - syscall.Syscall(gpGetPathParameterfvNV, 3, uintptr(path), uintptr(pname), uintptr(unsafe.Pointer(value))) -} -func GetPathParameterivNV(path uint32, pname uint32, value *int32) { - syscall.Syscall(gpGetPathParameterivNV, 3, uintptr(path), uintptr(pname), uintptr(unsafe.Pointer(value))) -} -func GetPathSpacingNV(pathListMode uint32, numPaths int32, pathNameType uint32, paths unsafe.Pointer, pathBase uint32, advanceScale float32, kerningScale float32, transformType uint32, returnedSpacing *float32) { - syscall.Syscall9(gpGetPathSpacingNV, 9, uintptr(pathListMode), uintptr(numPaths), uintptr(pathNameType), uintptr(paths), uintptr(pathBase), uintptr(math.Float32bits(advanceScale)), uintptr(math.Float32bits(kerningScale)), uintptr(transformType), uintptr(unsafe.Pointer(returnedSpacing))) -} -func GetPerfCounterInfoINTEL(queryId uint32, counterId uint32, counterNameLength uint32, counterName *uint8, counterDescLength uint32, counterDesc *uint8, counterOffset *uint32, counterDataSize *uint32, counterTypeEnum *uint32, counterDataTypeEnum *uint32, rawCounterMaxValue *uint64) { - syscall.Syscall12(gpGetPerfCounterInfoINTEL, 11, uintptr(queryId), uintptr(counterId), uintptr(counterNameLength), uintptr(unsafe.Pointer(counterName)), uintptr(counterDescLength), uintptr(unsafe.Pointer(counterDesc)), uintptr(unsafe.Pointer(counterOffset)), uintptr(unsafe.Pointer(counterDataSize)), uintptr(unsafe.Pointer(counterTypeEnum)), uintptr(unsafe.Pointer(counterDataTypeEnum)), uintptr(unsafe.Pointer(rawCounterMaxValue)), 0) -} -func GetPerfMonitorCounterDataAMD(monitor uint32, pname uint32, dataSize int32, data *uint32, bytesWritten *int32) { - syscall.Syscall6(gpGetPerfMonitorCounterDataAMD, 5, uintptr(monitor), uintptr(pname), uintptr(dataSize), uintptr(unsafe.Pointer(data)), uintptr(unsafe.Pointer(bytesWritten)), 0) -} -func GetPerfMonitorCounterInfoAMD(group uint32, counter uint32, pname uint32, data unsafe.Pointer) { - syscall.Syscall6(gpGetPerfMonitorCounterInfoAMD, 4, uintptr(group), uintptr(counter), uintptr(pname), uintptr(data), 0, 0) -} -func GetPerfMonitorCounterStringAMD(group uint32, counter uint32, bufSize int32, length *int32, counterString *uint8) { - syscall.Syscall6(gpGetPerfMonitorCounterStringAMD, 5, uintptr(group), uintptr(counter), uintptr(bufSize), uintptr(unsafe.Pointer(length)), uintptr(unsafe.Pointer(counterString)), 0) -} -func GetPerfMonitorCountersAMD(group uint32, numCounters *int32, maxActiveCounters *int32, counterSize int32, counters *uint32) { - syscall.Syscall6(gpGetPerfMonitorCountersAMD, 5, uintptr(group), uintptr(unsafe.Pointer(numCounters)), uintptr(unsafe.Pointer(maxActiveCounters)), uintptr(counterSize), uintptr(unsafe.Pointer(counters)), 0) -} -func GetPerfMonitorGroupStringAMD(group uint32, bufSize int32, length *int32, groupString *uint8) { - syscall.Syscall6(gpGetPerfMonitorGroupStringAMD, 4, uintptr(group), uintptr(bufSize), uintptr(unsafe.Pointer(length)), uintptr(unsafe.Pointer(groupString)), 0, 0) -} -func GetPerfMonitorGroupsAMD(numGroups *int32, groupsSize int32, groups *uint32) { - syscall.Syscall(gpGetPerfMonitorGroupsAMD, 3, uintptr(unsafe.Pointer(numGroups)), uintptr(groupsSize), uintptr(unsafe.Pointer(groups))) -} -func GetPerfQueryDataINTEL(queryHandle uint32, flags uint32, dataSize int32, data unsafe.Pointer, bytesWritten *uint32) { - syscall.Syscall6(gpGetPerfQueryDataINTEL, 5, uintptr(queryHandle), uintptr(flags), uintptr(dataSize), uintptr(data), uintptr(unsafe.Pointer(bytesWritten)), 0) -} -func GetPerfQueryIdByNameINTEL(queryName *uint8, queryId *uint32) { - syscall.Syscall(gpGetPerfQueryIdByNameINTEL, 2, uintptr(unsafe.Pointer(queryName)), uintptr(unsafe.Pointer(queryId)), 0) -} -func GetPerfQueryInfoINTEL(queryId uint32, queryNameLength uint32, queryName *uint8, dataSize *uint32, noCounters *uint32, noInstances *uint32, capsMask *uint32) { - syscall.Syscall9(gpGetPerfQueryInfoINTEL, 7, uintptr(queryId), uintptr(queryNameLength), uintptr(unsafe.Pointer(queryName)), uintptr(unsafe.Pointer(dataSize)), uintptr(unsafe.Pointer(noCounters)), uintptr(unsafe.Pointer(noInstances)), uintptr(unsafe.Pointer(capsMask)), 0, 0) -} -func GetPixelMapfv(xmap uint32, values *float32) { - syscall.Syscall(gpGetPixelMapfv, 2, uintptr(xmap), uintptr(unsafe.Pointer(values)), 0) -} -func GetPixelMapuiv(xmap uint32, values *uint32) { - syscall.Syscall(gpGetPixelMapuiv, 2, uintptr(xmap), uintptr(unsafe.Pointer(values)), 0) -} -func GetPixelMapusv(xmap uint32, values *uint16) { - syscall.Syscall(gpGetPixelMapusv, 2, uintptr(xmap), uintptr(unsafe.Pointer(values)), 0) -} -func GetPixelMapxv(xmap uint32, size int32, values *int32) { - syscall.Syscall(gpGetPixelMapxv, 3, uintptr(xmap), uintptr(size), uintptr(unsafe.Pointer(values))) -} -func GetPixelTexGenParameterfvSGIS(pname uint32, params *float32) { - syscall.Syscall(gpGetPixelTexGenParameterfvSGIS, 2, uintptr(pname), uintptr(unsafe.Pointer(params)), 0) -} -func GetPixelTexGenParameterivSGIS(pname uint32, params *int32) { - syscall.Syscall(gpGetPixelTexGenParameterivSGIS, 2, uintptr(pname), uintptr(unsafe.Pointer(params)), 0) -} -func GetPixelTransformParameterfvEXT(target uint32, pname uint32, params *float32) { - syscall.Syscall(gpGetPixelTransformParameterfvEXT, 3, uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetPixelTransformParameterivEXT(target uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetPixelTransformParameterivEXT, 3, uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetPointerIndexedvEXT(target uint32, index uint32, data *unsafe.Pointer) { - syscall.Syscall(gpGetPointerIndexedvEXT, 3, uintptr(target), uintptr(index), uintptr(unsafe.Pointer(data))) -} func GetPointeri_vEXT(pname uint32, index uint32, params *unsafe.Pointer) { syscall.Syscall(gpGetPointeri_vEXT, 3, uintptr(pname), uintptr(index), uintptr(unsafe.Pointer(params))) } -// return the address of the specified pointer -func GetPointerv(pname uint32, params *unsafe.Pointer) { - syscall.Syscall(gpGetPointerv, 2, uintptr(pname), uintptr(unsafe.Pointer(params)), 0) -} -func GetPointervEXT(pname uint32, params *unsafe.Pointer) { - syscall.Syscall(gpGetPointervEXT, 2, uintptr(pname), uintptr(unsafe.Pointer(params)), 0) -} -func GetPointervKHR(pname uint32, params *unsafe.Pointer) { - syscall.Syscall(gpGetPointervKHR, 2, uintptr(pname), uintptr(unsafe.Pointer(params)), 0) -} - -// return the polygon stipple pattern -func GetPolygonStipple(mask *uint8) { - syscall.Syscall(gpGetPolygonStipple, 1, uintptr(unsafe.Pointer(mask)), 0, 0) -} - -// return a binary representation of a program object's compiled and linked executable source -func GetProgramBinary(program uint32, bufSize int32, length *int32, binaryFormat *uint32, binary unsafe.Pointer) { - syscall.Syscall6(gpGetProgramBinary, 5, uintptr(program), uintptr(bufSize), uintptr(unsafe.Pointer(length)), uintptr(unsafe.Pointer(binaryFormat)), uintptr(binary), 0) -} -func GetProgramEnvParameterIivNV(target uint32, index uint32, params *int32) { - syscall.Syscall(gpGetProgramEnvParameterIivNV, 3, uintptr(target), uintptr(index), uintptr(unsafe.Pointer(params))) -} -func GetProgramEnvParameterIuivNV(target uint32, index uint32, params *uint32) { - syscall.Syscall(gpGetProgramEnvParameterIuivNV, 3, uintptr(target), uintptr(index), uintptr(unsafe.Pointer(params))) -} -func GetProgramEnvParameterdvARB(target uint32, index uint32, params *float64) { - syscall.Syscall(gpGetProgramEnvParameterdvARB, 3, uintptr(target), uintptr(index), uintptr(unsafe.Pointer(params))) -} -func GetProgramEnvParameterfvARB(target uint32, index uint32, params *float32) { - syscall.Syscall(gpGetProgramEnvParameterfvARB, 3, uintptr(target), uintptr(index), uintptr(unsafe.Pointer(params))) -} - -// Returns the information log for a program object -func GetProgramInfoLog(program uint32, bufSize int32, length *int32, infoLog *uint8) { - syscall.Syscall6(gpGetProgramInfoLog, 4, uintptr(program), uintptr(bufSize), uintptr(unsafe.Pointer(length)), uintptr(unsafe.Pointer(infoLog)), 0, 0) -} -func GetProgramInterfaceiv(program uint32, programInterface uint32, pname uint32, params *int32) { - syscall.Syscall6(gpGetProgramInterfaceiv, 4, uintptr(program), uintptr(programInterface), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} -func GetProgramLocalParameterIivNV(target uint32, index uint32, params *int32) { - syscall.Syscall(gpGetProgramLocalParameterIivNV, 3, uintptr(target), uintptr(index), uintptr(unsafe.Pointer(params))) -} -func GetProgramLocalParameterIuivNV(target uint32, index uint32, params *uint32) { - syscall.Syscall(gpGetProgramLocalParameterIuivNV, 3, uintptr(target), uintptr(index), uintptr(unsafe.Pointer(params))) -} -func GetProgramLocalParameterdvARB(target uint32, index uint32, params *float64) { - syscall.Syscall(gpGetProgramLocalParameterdvARB, 3, uintptr(target), uintptr(index), uintptr(unsafe.Pointer(params))) -} -func GetProgramLocalParameterfvARB(target uint32, index uint32, params *float32) { - syscall.Syscall(gpGetProgramLocalParameterfvARB, 3, uintptr(target), uintptr(index), uintptr(unsafe.Pointer(params))) -} -func GetProgramNamedParameterdvNV(id uint32, len int32, name *uint8, params *float64) { - syscall.Syscall6(gpGetProgramNamedParameterdvNV, 4, uintptr(id), uintptr(len), uintptr(unsafe.Pointer(name)), uintptr(unsafe.Pointer(params)), 0, 0) -} -func GetProgramNamedParameterfvNV(id uint32, len int32, name *uint8, params *float32) { - syscall.Syscall6(gpGetProgramNamedParameterfvNV, 4, uintptr(id), uintptr(len), uintptr(unsafe.Pointer(name)), uintptr(unsafe.Pointer(params)), 0, 0) -} -func GetProgramParameterdvNV(target uint32, index uint32, pname uint32, params *float64) { - syscall.Syscall6(gpGetProgramParameterdvNV, 4, uintptr(target), uintptr(index), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} -func GetProgramParameterfvNV(target uint32, index uint32, pname uint32, params *float32) { - syscall.Syscall6(gpGetProgramParameterfvNV, 4, uintptr(target), uintptr(index), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} - -// retrieve the info log string from a program pipeline object -func GetProgramPipelineInfoLog(pipeline uint32, bufSize int32, length *int32, infoLog *uint8) { - syscall.Syscall6(gpGetProgramPipelineInfoLog, 4, uintptr(pipeline), uintptr(bufSize), uintptr(unsafe.Pointer(length)), uintptr(unsafe.Pointer(infoLog)), 0, 0) -} -func GetProgramPipelineInfoLogEXT(pipeline uint32, bufSize int32, length *int32, infoLog *uint8) { - syscall.Syscall6(gpGetProgramPipelineInfoLogEXT, 4, uintptr(pipeline), uintptr(bufSize), uintptr(unsafe.Pointer(length)), uintptr(unsafe.Pointer(infoLog)), 0, 0) -} -func GetProgramPipelineiv(pipeline uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetProgramPipelineiv, 3, uintptr(pipeline), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetProgramPipelineivEXT(pipeline uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetProgramPipelineivEXT, 3, uintptr(pipeline), uintptr(pname), uintptr(unsafe.Pointer(params))) -} - -// query the index of a named resource within a program -func GetProgramResourceIndex(program uint32, programInterface uint32, name *uint8) uint32 { - ret, _, _ := syscall.Syscall(gpGetProgramResourceIndex, 3, uintptr(program), uintptr(programInterface), uintptr(unsafe.Pointer(name))) - return (uint32)(ret) -} - -// query the location of a named resource within a program -func GetProgramResourceLocation(program uint32, programInterface uint32, name *uint8) int32 { - ret, _, _ := syscall.Syscall(gpGetProgramResourceLocation, 3, uintptr(program), uintptr(programInterface), uintptr(unsafe.Pointer(name))) - return (int32)(ret) -} - -// query the fragment color index of a named variable within a program -func GetProgramResourceLocationIndex(program uint32, programInterface uint32, name *uint8) int32 { - ret, _, _ := syscall.Syscall(gpGetProgramResourceLocationIndex, 3, uintptr(program), uintptr(programInterface), uintptr(unsafe.Pointer(name))) - return (int32)(ret) -} - -// query the name of an indexed resource within a program -func GetProgramResourceName(program uint32, programInterface uint32, index uint32, bufSize int32, length *int32, name *uint8) { - syscall.Syscall6(gpGetProgramResourceName, 6, uintptr(program), uintptr(programInterface), uintptr(index), uintptr(bufSize), uintptr(unsafe.Pointer(length)), uintptr(unsafe.Pointer(name))) -} -func GetProgramResourcefvNV(program uint32, programInterface uint32, index uint32, propCount int32, props *uint32, bufSize int32, length *int32, params *float32) { - syscall.Syscall9(gpGetProgramResourcefvNV, 8, uintptr(program), uintptr(programInterface), uintptr(index), uintptr(propCount), uintptr(unsafe.Pointer(props)), uintptr(bufSize), uintptr(unsafe.Pointer(length)), uintptr(unsafe.Pointer(params)), 0) -} -func GetProgramResourceiv(program uint32, programInterface uint32, index uint32, propCount int32, props *uint32, bufSize int32, length *int32, params *int32) { - syscall.Syscall9(gpGetProgramResourceiv, 8, uintptr(program), uintptr(programInterface), uintptr(index), uintptr(propCount), uintptr(unsafe.Pointer(props)), uintptr(bufSize), uintptr(unsafe.Pointer(length)), uintptr(unsafe.Pointer(params)), 0) -} -func GetProgramStageiv(program uint32, shadertype uint32, pname uint32, values *int32) { - syscall.Syscall6(gpGetProgramStageiv, 4, uintptr(program), uintptr(shadertype), uintptr(pname), uintptr(unsafe.Pointer(values)), 0, 0) -} -func GetProgramStringARB(target uint32, pname uint32, xstring unsafe.Pointer) { - syscall.Syscall(gpGetProgramStringARB, 3, uintptr(target), uintptr(pname), uintptr(xstring)) -} -func GetProgramStringNV(id uint32, pname uint32, program *uint8) { - syscall.Syscall(gpGetProgramStringNV, 3, uintptr(id), uintptr(pname), uintptr(unsafe.Pointer(program))) -} -func GetProgramSubroutineParameteruivNV(target uint32, index uint32, param *uint32) { - syscall.Syscall(gpGetProgramSubroutineParameteruivNV, 3, uintptr(target), uintptr(index), uintptr(unsafe.Pointer(param))) -} - -// Returns a parameter from a program object func GetProgramiv(program uint32, pname uint32, params *int32) { syscall.Syscall(gpGetProgramiv, 3, uintptr(program), uintptr(pname), uintptr(unsafe.Pointer(params))) } -func GetProgramivARB(target uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetProgramivARB, 3, uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetProgramivNV(id uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetProgramivNV, 3, uintptr(id), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetQueryBufferObjecti64v(id uint32, buffer uint32, pname uint32, offset int) { - syscall.Syscall6(gpGetQueryBufferObjecti64v, 4, uintptr(id), uintptr(buffer), uintptr(pname), uintptr(offset), 0, 0) -} -func GetQueryBufferObjectiv(id uint32, buffer uint32, pname uint32, offset int) { - syscall.Syscall6(gpGetQueryBufferObjectiv, 4, uintptr(id), uintptr(buffer), uintptr(pname), uintptr(offset), 0, 0) -} -func GetQueryBufferObjectui64v(id uint32, buffer uint32, pname uint32, offset int) { - syscall.Syscall6(gpGetQueryBufferObjectui64v, 4, uintptr(id), uintptr(buffer), uintptr(pname), uintptr(offset), 0, 0) -} -func GetQueryBufferObjectuiv(id uint32, buffer uint32, pname uint32, offset int) { - syscall.Syscall6(gpGetQueryBufferObjectuiv, 4, uintptr(id), uintptr(buffer), uintptr(pname), uintptr(offset), 0, 0) -} -// return parameters of an indexed query object target -func GetQueryIndexediv(target uint32, index uint32, pname uint32, params *int32) { - syscall.Syscall6(gpGetQueryIndexediv, 4, uintptr(target), uintptr(index), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} -func GetQueryObjecti64v(id uint32, pname uint32, params *int64) { - syscall.Syscall(gpGetQueryObjecti64v, 3, uintptr(id), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetQueryObjecti64vEXT(id uint32, pname uint32, params *int64) { - syscall.Syscall(gpGetQueryObjecti64vEXT, 3, uintptr(id), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetQueryObjectiv(id uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetQueryObjectiv, 3, uintptr(id), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetQueryObjectivARB(id uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetQueryObjectivARB, 3, uintptr(id), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetQueryObjectui64v(id uint32, pname uint32, params *uint64) { - syscall.Syscall(gpGetQueryObjectui64v, 3, uintptr(id), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetQueryObjectui64vEXT(id uint32, pname uint32, params *uint64) { - syscall.Syscall(gpGetQueryObjectui64vEXT, 3, uintptr(id), uintptr(pname), uintptr(unsafe.Pointer(params))) -} - -// return parameters of a query object -func GetQueryObjectuiv(id uint32, pname uint32, params *uint32) { - syscall.Syscall(gpGetQueryObjectuiv, 3, uintptr(id), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetQueryObjectuivARB(id uint32, pname uint32, params *uint32) { - syscall.Syscall(gpGetQueryObjectuivARB, 3, uintptr(id), uintptr(pname), uintptr(unsafe.Pointer(params))) -} - -// return parameters of a query object target -func GetQueryiv(target uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetQueryiv, 3, uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetQueryivARB(target uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetQueryivARB, 3, uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params))) -} - -// retrieve information about a bound renderbuffer object -func GetRenderbufferParameteriv(target uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetRenderbufferParameteriv, 3, uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetRenderbufferParameterivEXT(target uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetRenderbufferParameterivEXT, 3, uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetSamplerParameterIiv(sampler uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetSamplerParameterIiv, 3, uintptr(sampler), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetSamplerParameterIuiv(sampler uint32, pname uint32, params *uint32) { - syscall.Syscall(gpGetSamplerParameterIuiv, 3, uintptr(sampler), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetSamplerParameterfv(sampler uint32, pname uint32, params *float32) { - syscall.Syscall(gpGetSamplerParameterfv, 3, uintptr(sampler), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetSamplerParameteriv(sampler uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetSamplerParameteriv, 3, uintptr(sampler), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetSemaphoreParameterui64vEXT(semaphore uint32, pname uint32, params *uint64) { - syscall.Syscall(gpGetSemaphoreParameterui64vEXT, 3, uintptr(semaphore), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetSeparableFilterEXT(target uint32, format uint32, xtype uint32, row unsafe.Pointer, column unsafe.Pointer, span unsafe.Pointer) { - syscall.Syscall6(gpGetSeparableFilterEXT, 6, uintptr(target), uintptr(format), uintptr(xtype), uintptr(row), uintptr(column), uintptr(span)) -} - -// Returns the information log for a shader object func GetShaderInfoLog(shader uint32, bufSize int32, length *int32, infoLog *uint8) { syscall.Syscall6(gpGetShaderInfoLog, 4, uintptr(shader), uintptr(bufSize), uintptr(unsafe.Pointer(length)), uintptr(unsafe.Pointer(infoLog)), 0, 0) } -// retrieve the range and precision for numeric formats supported by the shader compiler -func GetShaderPrecisionFormat(shadertype uint32, precisiontype uint32, xrange *int32, precision *int32) { - syscall.Syscall6(gpGetShaderPrecisionFormat, 4, uintptr(shadertype), uintptr(precisiontype), uintptr(unsafe.Pointer(xrange)), uintptr(unsafe.Pointer(precision)), 0, 0) -} - -// Returns the source code string from a shader object -func GetShaderSource(shader uint32, bufSize int32, length *int32, source *uint8) { - syscall.Syscall6(gpGetShaderSource, 4, uintptr(shader), uintptr(bufSize), uintptr(unsafe.Pointer(length)), uintptr(unsafe.Pointer(source)), 0, 0) -} -func GetShaderSourceARB(obj uintptr, maxLength int32, length *int32, source *uint8) { - syscall.Syscall6(gpGetShaderSourceARB, 4, uintptr(obj), uintptr(maxLength), uintptr(unsafe.Pointer(length)), uintptr(unsafe.Pointer(source)), 0, 0) -} - -// Returns a parameter from a shader object func GetShaderiv(shader uint32, pname uint32, params *int32) { syscall.Syscall(gpGetShaderiv, 3, uintptr(shader), uintptr(pname), uintptr(unsafe.Pointer(params))) } -func GetSharpenTexFuncSGIS(target uint32, points *float32) { - syscall.Syscall(gpGetSharpenTexFuncSGIS, 2, uintptr(target), uintptr(unsafe.Pointer(points)), 0) -} -func GetStageIndexNV(shadertype uint32) uint16 { - ret, _, _ := syscall.Syscall(gpGetStageIndexNV, 1, uintptr(shadertype), 0, 0) - return (uint16)(ret) -} -// return a string describing the current GL connection -func GetString(name uint32) *uint8 { - ret, _, _ := syscall.Syscall(gpGetString, 1, uintptr(name), 0, 0) - return (*uint8)(unsafe.Pointer(ret)) -} - -// retrieve the index of a subroutine uniform of a given shader stage within a program -func GetSubroutineIndex(program uint32, shadertype uint32, name *uint8) uint32 { - ret, _, _ := syscall.Syscall(gpGetSubroutineIndex, 3, uintptr(program), uintptr(shadertype), uintptr(unsafe.Pointer(name))) - return (uint32)(ret) -} - -// retrieve the location of a subroutine uniform of a given shader stage within a program -func GetSubroutineUniformLocation(program uint32, shadertype uint32, name *uint8) int32 { - ret, _, _ := syscall.Syscall(gpGetSubroutineUniformLocation, 3, uintptr(program), uintptr(shadertype), uintptr(unsafe.Pointer(name))) - return (int32)(ret) -} - -// query the properties of a sync object -func GetSynciv(sync uintptr, pname uint32, bufSize int32, length *int32, values *int32) { - syscall.Syscall6(gpGetSynciv, 5, uintptr(sync), uintptr(pname), uintptr(bufSize), uintptr(unsafe.Pointer(length)), uintptr(unsafe.Pointer(values)), 0) -} -func GetTexBumpParameterfvATI(pname uint32, param *float32) { - syscall.Syscall(gpGetTexBumpParameterfvATI, 2, uintptr(pname), uintptr(unsafe.Pointer(param)), 0) -} -func GetTexBumpParameterivATI(pname uint32, param *int32) { - syscall.Syscall(gpGetTexBumpParameterivATI, 2, uintptr(pname), uintptr(unsafe.Pointer(param)), 0) -} -func GetTexEnvfv(target uint32, pname uint32, params *float32) { - syscall.Syscall(gpGetTexEnvfv, 3, uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetTexEnviv(target uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetTexEnviv, 3, uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetTexEnvxvOES(target uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetTexEnvxvOES, 3, uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetTexFilterFuncSGIS(target uint32, filter uint32, weights *float32) { - syscall.Syscall(gpGetTexFilterFuncSGIS, 3, uintptr(target), uintptr(filter), uintptr(unsafe.Pointer(weights))) -} -func GetTexGendv(coord uint32, pname uint32, params *float64) { - syscall.Syscall(gpGetTexGendv, 3, uintptr(coord), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetTexGenfv(coord uint32, pname uint32, params *float32) { - syscall.Syscall(gpGetTexGenfv, 3, uintptr(coord), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetTexGeniv(coord uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetTexGeniv, 3, uintptr(coord), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetTexGenxvOES(coord uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetTexGenxvOES, 3, uintptr(coord), uintptr(pname), uintptr(unsafe.Pointer(params))) -} - -// return a texture image -func GetTexImage(target uint32, level int32, format uint32, xtype uint32, pixels unsafe.Pointer) { - syscall.Syscall6(gpGetTexImage, 5, uintptr(target), uintptr(level), uintptr(format), uintptr(xtype), uintptr(pixels), 0) -} -func GetTexLevelParameterfv(target uint32, level int32, pname uint32, params *float32) { - syscall.Syscall6(gpGetTexLevelParameterfv, 4, uintptr(target), uintptr(level), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} -func GetTexLevelParameteriv(target uint32, level int32, pname uint32, params *int32) { - syscall.Syscall6(gpGetTexLevelParameteriv, 4, uintptr(target), uintptr(level), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} -func GetTexLevelParameterxvOES(target uint32, level int32, pname uint32, params *int32) { - syscall.Syscall6(gpGetTexLevelParameterxvOES, 4, uintptr(target), uintptr(level), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} -func GetTexParameterIivEXT(target uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetTexParameterIivEXT, 3, uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetTexParameterIuivEXT(target uint32, pname uint32, params *uint32) { - syscall.Syscall(gpGetTexParameterIuivEXT, 3, uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetTexParameterPointervAPPLE(target uint32, pname uint32, params *unsafe.Pointer) { - syscall.Syscall(gpGetTexParameterPointervAPPLE, 3, uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetTexParameterfv(target uint32, pname uint32, params *float32) { - syscall.Syscall(gpGetTexParameterfv, 3, uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetTexParameteriv(target uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetTexParameteriv, 3, uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetTexParameterxvOES(target uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetTexParameterxvOES, 3, uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetTextureHandleARB(texture uint32) uint64 { - ret, _, _ := syscall.Syscall(gpGetTextureHandleARB, 1, uintptr(texture), 0, 0) - return (uint64)(ret) -} -func GetTextureHandleNV(texture uint32) uint64 { - ret, _, _ := syscall.Syscall(gpGetTextureHandleNV, 1, uintptr(texture), 0, 0) - return (uint64)(ret) -} - -// return a texture image -func GetTextureImage(texture uint32, level int32, format uint32, xtype uint32, bufSize int32, pixels unsafe.Pointer) { - syscall.Syscall6(gpGetTextureImage, 6, uintptr(texture), uintptr(level), uintptr(format), uintptr(xtype), uintptr(bufSize), uintptr(pixels)) -} -func GetTextureImageEXT(texture uint32, target uint32, level int32, format uint32, xtype uint32, pixels unsafe.Pointer) { - syscall.Syscall6(gpGetTextureImageEXT, 6, uintptr(texture), uintptr(target), uintptr(level), uintptr(format), uintptr(xtype), uintptr(pixels)) -} -func GetTextureLevelParameterfv(texture uint32, level int32, pname uint32, params *float32) { - syscall.Syscall6(gpGetTextureLevelParameterfv, 4, uintptr(texture), uintptr(level), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} -func GetTextureLevelParameterfvEXT(texture uint32, target uint32, level int32, pname uint32, params *float32) { - syscall.Syscall6(gpGetTextureLevelParameterfvEXT, 5, uintptr(texture), uintptr(target), uintptr(level), uintptr(pname), uintptr(unsafe.Pointer(params)), 0) -} -func GetTextureLevelParameteriv(texture uint32, level int32, pname uint32, params *int32) { - syscall.Syscall6(gpGetTextureLevelParameteriv, 4, uintptr(texture), uintptr(level), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} -func GetTextureLevelParameterivEXT(texture uint32, target uint32, level int32, pname uint32, params *int32) { - syscall.Syscall6(gpGetTextureLevelParameterivEXT, 5, uintptr(texture), uintptr(target), uintptr(level), uintptr(pname), uintptr(unsafe.Pointer(params)), 0) -} -func GetTextureParameterIiv(texture uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetTextureParameterIiv, 3, uintptr(texture), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetTextureParameterIivEXT(texture uint32, target uint32, pname uint32, params *int32) { - syscall.Syscall6(gpGetTextureParameterIivEXT, 4, uintptr(texture), uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} -func GetTextureParameterIuiv(texture uint32, pname uint32, params *uint32) { - syscall.Syscall(gpGetTextureParameterIuiv, 3, uintptr(texture), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetTextureParameterIuivEXT(texture uint32, target uint32, pname uint32, params *uint32) { - syscall.Syscall6(gpGetTextureParameterIuivEXT, 4, uintptr(texture), uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} -func GetTextureParameterfv(texture uint32, pname uint32, params *float32) { - syscall.Syscall(gpGetTextureParameterfv, 3, uintptr(texture), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetTextureParameterfvEXT(texture uint32, target uint32, pname uint32, params *float32) { - syscall.Syscall6(gpGetTextureParameterfvEXT, 4, uintptr(texture), uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} -func GetTextureParameteriv(texture uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetTextureParameteriv, 3, uintptr(texture), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetTextureParameterivEXT(texture uint32, target uint32, pname uint32, params *int32) { - syscall.Syscall6(gpGetTextureParameterivEXT, 4, uintptr(texture), uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} -func GetTextureSamplerHandleARB(texture uint32, sampler uint32) uint64 { - ret, _, _ := syscall.Syscall(gpGetTextureSamplerHandleARB, 2, uintptr(texture), uintptr(sampler), 0) - return (uint64)(ret) -} -func GetTextureSamplerHandleNV(texture uint32, sampler uint32) uint64 { - ret, _, _ := syscall.Syscall(gpGetTextureSamplerHandleNV, 2, uintptr(texture), uintptr(sampler), 0) - return (uint64)(ret) -} - -// retrieve a sub-region of a texture image from a texture object -func GetTextureSubImage(texture uint32, level int32, xoffset int32, yoffset int32, zoffset int32, width int32, height int32, depth int32, format uint32, xtype uint32, bufSize int32, pixels unsafe.Pointer) { - syscall.Syscall12(gpGetTextureSubImage, 12, uintptr(texture), uintptr(level), uintptr(xoffset), uintptr(yoffset), uintptr(zoffset), uintptr(width), uintptr(height), uintptr(depth), uintptr(format), uintptr(xtype), uintptr(bufSize), uintptr(pixels)) -} -func GetTrackMatrixivNV(target uint32, address uint32, pname uint32, params *int32) { - syscall.Syscall6(gpGetTrackMatrixivNV, 4, uintptr(target), uintptr(address), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} -func GetTransformFeedbackVaryingEXT(program uint32, index uint32, bufSize int32, length *int32, size *int32, xtype *uint32, name *uint8) { - syscall.Syscall9(gpGetTransformFeedbackVaryingEXT, 7, uintptr(program), uintptr(index), uintptr(bufSize), uintptr(unsafe.Pointer(length)), uintptr(unsafe.Pointer(size)), uintptr(unsafe.Pointer(xtype)), uintptr(unsafe.Pointer(name)), 0, 0) -} -func GetTransformFeedbackVaryingNV(program uint32, index uint32, location *int32) { - syscall.Syscall(gpGetTransformFeedbackVaryingNV, 3, uintptr(program), uintptr(index), uintptr(unsafe.Pointer(location))) -} func GetTransformFeedbacki64_v(xfb uint32, pname uint32, index uint32, param *int64) { syscall.Syscall6(gpGetTransformFeedbacki64_v, 4, uintptr(xfb), uintptr(pname), uintptr(index), uintptr(unsafe.Pointer(param)), 0, 0) } @@ -6321,10386 +239,292 @@ func GetTransformFeedbacki_v(xfb uint32, pname uint32, index uint32, param *int3 syscall.Syscall6(gpGetTransformFeedbacki_v, 4, uintptr(xfb), uintptr(pname), uintptr(index), uintptr(unsafe.Pointer(param)), 0, 0) } -// query the state of a transform feedback object. -func GetTransformFeedbackiv(xfb uint32, pname uint32, param *int32) { - syscall.Syscall(gpGetTransformFeedbackiv, 3, uintptr(xfb), uintptr(pname), uintptr(unsafe.Pointer(param))) -} - -// retrieve the index of a named uniform block -func GetUniformBlockIndex(program uint32, uniformBlockName *uint8) uint32 { - ret, _, _ := syscall.Syscall(gpGetUniformBlockIndex, 2, uintptr(program), uintptr(unsafe.Pointer(uniformBlockName)), 0) - return (uint32)(ret) -} -func GetUniformBufferSizeEXT(program uint32, location int32) int32 { - ret, _, _ := syscall.Syscall(gpGetUniformBufferSizeEXT, 2, uintptr(program), uintptr(location), 0) - return (int32)(ret) -} - -// retrieve the index of a named uniform block -func GetUniformIndices(program uint32, uniformCount int32, uniformNames **uint8, uniformIndices *uint32) { - syscall.Syscall6(gpGetUniformIndices, 4, uintptr(program), uintptr(uniformCount), uintptr(unsafe.Pointer(uniformNames)), uintptr(unsafe.Pointer(uniformIndices)), 0, 0) -} - -// Returns the location of a uniform variable func GetUniformLocation(program uint32, name *uint8) int32 { ret, _, _ := syscall.Syscall(gpGetUniformLocation, 2, uintptr(program), uintptr(unsafe.Pointer(name)), 0) return (int32)(ret) } -func GetUniformLocationARB(programObj uintptr, name *uint8) int32 { - ret, _, _ := syscall.Syscall(gpGetUniformLocationARB, 2, uintptr(programObj), uintptr(unsafe.Pointer(name)), 0) - return (int32)(ret) -} -func GetUniformOffsetEXT(program uint32, location int32) int { - ret, _, _ := syscall.Syscall(gpGetUniformOffsetEXT, 2, uintptr(program), uintptr(location), 0) - return (int)(ret) -} -func GetUniformSubroutineuiv(shadertype uint32, location int32, params *uint32) { - syscall.Syscall(gpGetUniformSubroutineuiv, 3, uintptr(shadertype), uintptr(location), uintptr(unsafe.Pointer(params))) -} -func GetUniformdv(program uint32, location int32, params *float64) { - syscall.Syscall(gpGetUniformdv, 3, uintptr(program), uintptr(location), uintptr(unsafe.Pointer(params))) -} -// Returns the value of a uniform variable -func GetUniformfv(program uint32, location int32, params *float32) { - syscall.Syscall(gpGetUniformfv, 3, uintptr(program), uintptr(location), uintptr(unsafe.Pointer(params))) -} -func GetUniformfvARB(programObj uintptr, location int32, params *float32) { - syscall.Syscall(gpGetUniformfvARB, 3, uintptr(programObj), uintptr(location), uintptr(unsafe.Pointer(params))) -} -func GetUniformi64vARB(program uint32, location int32, params *int64) { - syscall.Syscall(gpGetUniformi64vARB, 3, uintptr(program), uintptr(location), uintptr(unsafe.Pointer(params))) -} -func GetUniformi64vNV(program uint32, location int32, params *int64) { - syscall.Syscall(gpGetUniformi64vNV, 3, uintptr(program), uintptr(location), uintptr(unsafe.Pointer(params))) -} - -// Returns the value of a uniform variable -func GetUniformiv(program uint32, location int32, params *int32) { - syscall.Syscall(gpGetUniformiv, 3, uintptr(program), uintptr(location), uintptr(unsafe.Pointer(params))) -} -func GetUniformivARB(programObj uintptr, location int32, params *int32) { - syscall.Syscall(gpGetUniformivARB, 3, uintptr(programObj), uintptr(location), uintptr(unsafe.Pointer(params))) -} -func GetUniformui64vARB(program uint32, location int32, params *uint64) { - syscall.Syscall(gpGetUniformui64vARB, 3, uintptr(program), uintptr(location), uintptr(unsafe.Pointer(params))) -} -func GetUniformui64vNV(program uint32, location int32, params *uint64) { - syscall.Syscall(gpGetUniformui64vNV, 3, uintptr(program), uintptr(location), uintptr(unsafe.Pointer(params))) -} -func GetUniformuivEXT(program uint32, location int32, params *uint32) { - syscall.Syscall(gpGetUniformuivEXT, 3, uintptr(program), uintptr(location), uintptr(unsafe.Pointer(params))) -} func GetUnsignedBytei_vEXT(target uint32, index uint32, data *uint8) { syscall.Syscall(gpGetUnsignedBytei_vEXT, 3, uintptr(target), uintptr(index), uintptr(unsafe.Pointer(data))) } -func GetUnsignedBytevEXT(pname uint32, data *uint8) { - syscall.Syscall(gpGetUnsignedBytevEXT, 2, uintptr(pname), uintptr(unsafe.Pointer(data)), 0) -} -func GetVariantArrayObjectfvATI(id uint32, pname uint32, params *float32) { - syscall.Syscall(gpGetVariantArrayObjectfvATI, 3, uintptr(id), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetVariantArrayObjectivATI(id uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetVariantArrayObjectivATI, 3, uintptr(id), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetVariantBooleanvEXT(id uint32, value uint32, data *bool) { - syscall.Syscall(gpGetVariantBooleanvEXT, 3, uintptr(id), uintptr(value), uintptr(unsafe.Pointer(data))) -} -func GetVariantFloatvEXT(id uint32, value uint32, data *float32) { - syscall.Syscall(gpGetVariantFloatvEXT, 3, uintptr(id), uintptr(value), uintptr(unsafe.Pointer(data))) -} -func GetVariantIntegervEXT(id uint32, value uint32, data *int32) { - syscall.Syscall(gpGetVariantIntegervEXT, 3, uintptr(id), uintptr(value), uintptr(unsafe.Pointer(data))) -} -func GetVariantPointervEXT(id uint32, value uint32, data *unsafe.Pointer) { - syscall.Syscall(gpGetVariantPointervEXT, 3, uintptr(id), uintptr(value), uintptr(unsafe.Pointer(data))) -} -func GetVaryingLocationNV(program uint32, name *uint8) int32 { - ret, _, _ := syscall.Syscall(gpGetVaryingLocationNV, 2, uintptr(program), uintptr(unsafe.Pointer(name)), 0) - return (int32)(ret) -} -func GetVertexArrayIndexed64iv(vaobj uint32, index uint32, pname uint32, param *int64) { - syscall.Syscall6(gpGetVertexArrayIndexed64iv, 4, uintptr(vaobj), uintptr(index), uintptr(pname), uintptr(unsafe.Pointer(param)), 0, 0) -} -func GetVertexArrayIndexediv(vaobj uint32, index uint32, pname uint32, param *int32) { - syscall.Syscall6(gpGetVertexArrayIndexediv, 4, uintptr(vaobj), uintptr(index), uintptr(pname), uintptr(unsafe.Pointer(param)), 0, 0) -} func GetVertexArrayIntegeri_vEXT(vaobj uint32, index uint32, pname uint32, param *int32) { syscall.Syscall6(gpGetVertexArrayIntegeri_vEXT, 4, uintptr(vaobj), uintptr(index), uintptr(pname), uintptr(unsafe.Pointer(param)), 0, 0) } -func GetVertexArrayIntegervEXT(vaobj uint32, pname uint32, param *int32) { - syscall.Syscall(gpGetVertexArrayIntegervEXT, 3, uintptr(vaobj), uintptr(pname), uintptr(unsafe.Pointer(param))) -} func GetVertexArrayPointeri_vEXT(vaobj uint32, index uint32, pname uint32, param *unsafe.Pointer) { syscall.Syscall6(gpGetVertexArrayPointeri_vEXT, 4, uintptr(vaobj), uintptr(index), uintptr(pname), uintptr(unsafe.Pointer(param)), 0, 0) } -func GetVertexArrayPointervEXT(vaobj uint32, pname uint32, param *unsafe.Pointer) { - syscall.Syscall(gpGetVertexArrayPointervEXT, 3, uintptr(vaobj), uintptr(pname), uintptr(unsafe.Pointer(param))) -} -// retrieve parameters of a vertex array object -func GetVertexArrayiv(vaobj uint32, pname uint32, param *int32) { - syscall.Syscall(gpGetVertexArrayiv, 3, uintptr(vaobj), uintptr(pname), uintptr(unsafe.Pointer(param))) -} -func GetVertexAttribArrayObjectfvATI(index uint32, pname uint32, params *float32) { - syscall.Syscall(gpGetVertexAttribArrayObjectfvATI, 3, uintptr(index), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetVertexAttribArrayObjectivATI(index uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetVertexAttribArrayObjectivATI, 3, uintptr(index), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetVertexAttribIivEXT(index uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetVertexAttribIivEXT, 3, uintptr(index), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetVertexAttribIuivEXT(index uint32, pname uint32, params *uint32) { - syscall.Syscall(gpGetVertexAttribIuivEXT, 3, uintptr(index), uintptr(pname), uintptr(unsafe.Pointer(params))) -} - -// Return a generic vertex attribute parameter -func GetVertexAttribLdv(index uint32, pname uint32, params *float64) { - syscall.Syscall(gpGetVertexAttribLdv, 3, uintptr(index), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetVertexAttribLdvEXT(index uint32, pname uint32, params *float64) { - syscall.Syscall(gpGetVertexAttribLdvEXT, 3, uintptr(index), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetVertexAttribLi64vNV(index uint32, pname uint32, params *int64) { - syscall.Syscall(gpGetVertexAttribLi64vNV, 3, uintptr(index), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetVertexAttribLui64vARB(index uint32, pname uint32, params *uint64) { - syscall.Syscall(gpGetVertexAttribLui64vARB, 3, uintptr(index), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetVertexAttribLui64vNV(index uint32, pname uint32, params *uint64) { - syscall.Syscall(gpGetVertexAttribLui64vNV, 3, uintptr(index), uintptr(pname), uintptr(unsafe.Pointer(params))) -} - -// return the address of the specified generic vertex attribute pointer -func GetVertexAttribPointerv(index uint32, pname uint32, pointer *unsafe.Pointer) { - syscall.Syscall(gpGetVertexAttribPointerv, 3, uintptr(index), uintptr(pname), uintptr(unsafe.Pointer(pointer))) -} -func GetVertexAttribPointervARB(index uint32, pname uint32, pointer *unsafe.Pointer) { - syscall.Syscall(gpGetVertexAttribPointervARB, 3, uintptr(index), uintptr(pname), uintptr(unsafe.Pointer(pointer))) -} -func GetVertexAttribPointervNV(index uint32, pname uint32, pointer *unsafe.Pointer) { - syscall.Syscall(gpGetVertexAttribPointervNV, 3, uintptr(index), uintptr(pname), uintptr(unsafe.Pointer(pointer))) -} - -// Return a generic vertex attribute parameter -func GetVertexAttribdv(index uint32, pname uint32, params *float64) { - syscall.Syscall(gpGetVertexAttribdv, 3, uintptr(index), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetVertexAttribdvARB(index uint32, pname uint32, params *float64) { - syscall.Syscall(gpGetVertexAttribdvARB, 3, uintptr(index), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetVertexAttribdvNV(index uint32, pname uint32, params *float64) { - syscall.Syscall(gpGetVertexAttribdvNV, 3, uintptr(index), uintptr(pname), uintptr(unsafe.Pointer(params))) -} - -// Return a generic vertex attribute parameter -func GetVertexAttribfv(index uint32, pname uint32, params *float32) { - syscall.Syscall(gpGetVertexAttribfv, 3, uintptr(index), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetVertexAttribfvARB(index uint32, pname uint32, params *float32) { - syscall.Syscall(gpGetVertexAttribfvARB, 3, uintptr(index), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetVertexAttribfvNV(index uint32, pname uint32, params *float32) { - syscall.Syscall(gpGetVertexAttribfvNV, 3, uintptr(index), uintptr(pname), uintptr(unsafe.Pointer(params))) -} - -// Return a generic vertex attribute parameter -func GetVertexAttribiv(index uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetVertexAttribiv, 3, uintptr(index), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetVertexAttribivARB(index uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetVertexAttribivARB, 3, uintptr(index), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetVertexAttribivNV(index uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetVertexAttribivNV, 3, uintptr(index), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetVideoCaptureStreamdvNV(video_capture_slot uint32, stream uint32, pname uint32, params *float64) { - syscall.Syscall6(gpGetVideoCaptureStreamdvNV, 4, uintptr(video_capture_slot), uintptr(stream), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} -func GetVideoCaptureStreamfvNV(video_capture_slot uint32, stream uint32, pname uint32, params *float32) { - syscall.Syscall6(gpGetVideoCaptureStreamfvNV, 4, uintptr(video_capture_slot), uintptr(stream), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} -func GetVideoCaptureStreamivNV(video_capture_slot uint32, stream uint32, pname uint32, params *int32) { - syscall.Syscall6(gpGetVideoCaptureStreamivNV, 4, uintptr(video_capture_slot), uintptr(stream), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} -func GetVideoCaptureivNV(video_capture_slot uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetVideoCaptureivNV, 3, uintptr(video_capture_slot), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetVideoi64vNV(video_slot uint32, pname uint32, params *int64) { - syscall.Syscall(gpGetVideoi64vNV, 3, uintptr(video_slot), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetVideoivNV(video_slot uint32, pname uint32, params *int32) { - syscall.Syscall(gpGetVideoivNV, 3, uintptr(video_slot), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetVideoui64vNV(video_slot uint32, pname uint32, params *uint64) { - syscall.Syscall(gpGetVideoui64vNV, 3, uintptr(video_slot), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func GetVideouivNV(video_slot uint32, pname uint32, params *uint32) { - syscall.Syscall(gpGetVideouivNV, 3, uintptr(video_slot), uintptr(pname), uintptr(unsafe.Pointer(params))) -} - -// Return value has type C.GLVULKANPROCNV. -func GetVkProcAddrNV(name *uint8) unsafe.Pointer { - ret, _, _ := syscall.Syscall(gpGetVkProcAddrNV, 1, uintptr(unsafe.Pointer(name)), 0, 0) - return (unsafe.Pointer)(ret) -} -func GetnCompressedTexImageARB(target uint32, lod int32, bufSize int32, img unsafe.Pointer) { - syscall.Syscall6(gpGetnCompressedTexImageARB, 4, uintptr(target), uintptr(lod), uintptr(bufSize), uintptr(img), 0, 0) -} -func GetnTexImageARB(target uint32, level int32, format uint32, xtype uint32, bufSize int32, img unsafe.Pointer) { - syscall.Syscall6(gpGetnTexImageARB, 6, uintptr(target), uintptr(level), uintptr(format), uintptr(xtype), uintptr(bufSize), uintptr(img)) -} -func GetnUniformdvARB(program uint32, location int32, bufSize int32, params *float64) { - syscall.Syscall6(gpGetnUniformdvARB, 4, uintptr(program), uintptr(location), uintptr(bufSize), uintptr(unsafe.Pointer(params)), 0, 0) -} -func GetnUniformfv(program uint32, location int32, bufSize int32, params *float32) { - syscall.Syscall6(gpGetnUniformfv, 4, uintptr(program), uintptr(location), uintptr(bufSize), uintptr(unsafe.Pointer(params)), 0, 0) -} -func GetnUniformfvARB(program uint32, location int32, bufSize int32, params *float32) { - syscall.Syscall6(gpGetnUniformfvARB, 4, uintptr(program), uintptr(location), uintptr(bufSize), uintptr(unsafe.Pointer(params)), 0, 0) -} -func GetnUniformfvKHR(program uint32, location int32, bufSize int32, params *float32) { - syscall.Syscall6(gpGetnUniformfvKHR, 4, uintptr(program), uintptr(location), uintptr(bufSize), uintptr(unsafe.Pointer(params)), 0, 0) -} -func GetnUniformi64vARB(program uint32, location int32, bufSize int32, params *int64) { - syscall.Syscall6(gpGetnUniformi64vARB, 4, uintptr(program), uintptr(location), uintptr(bufSize), uintptr(unsafe.Pointer(params)), 0, 0) -} -func GetnUniformiv(program uint32, location int32, bufSize int32, params *int32) { - syscall.Syscall6(gpGetnUniformiv, 4, uintptr(program), uintptr(location), uintptr(bufSize), uintptr(unsafe.Pointer(params)), 0, 0) -} -func GetnUniformivARB(program uint32, location int32, bufSize int32, params *int32) { - syscall.Syscall6(gpGetnUniformivARB, 4, uintptr(program), uintptr(location), uintptr(bufSize), uintptr(unsafe.Pointer(params)), 0, 0) -} -func GetnUniformivKHR(program uint32, location int32, bufSize int32, params *int32) { - syscall.Syscall6(gpGetnUniformivKHR, 4, uintptr(program), uintptr(location), uintptr(bufSize), uintptr(unsafe.Pointer(params)), 0, 0) -} -func GetnUniformui64vARB(program uint32, location int32, bufSize int32, params *uint64) { - syscall.Syscall6(gpGetnUniformui64vARB, 4, uintptr(program), uintptr(location), uintptr(bufSize), uintptr(unsafe.Pointer(params)), 0, 0) -} -func GetnUniformuiv(program uint32, location int32, bufSize int32, params *uint32) { - syscall.Syscall6(gpGetnUniformuiv, 4, uintptr(program), uintptr(location), uintptr(bufSize), uintptr(unsafe.Pointer(params)), 0, 0) -} -func GetnUniformuivARB(program uint32, location int32, bufSize int32, params *uint32) { - syscall.Syscall6(gpGetnUniformuivARB, 4, uintptr(program), uintptr(location), uintptr(bufSize), uintptr(unsafe.Pointer(params)), 0, 0) -} -func GetnUniformuivKHR(program uint32, location int32, bufSize int32, params *uint32) { - syscall.Syscall6(gpGetnUniformuivKHR, 4, uintptr(program), uintptr(location), uintptr(bufSize), uintptr(unsafe.Pointer(params)), 0, 0) -} -func GlobalAlphaFactorbSUN(factor int8) { - syscall.Syscall(gpGlobalAlphaFactorbSUN, 1, uintptr(factor), 0, 0) -} -func GlobalAlphaFactordSUN(factor float64) { - syscall.Syscall(gpGlobalAlphaFactordSUN, 1, uintptr(math.Float64bits(factor)), 0, 0) -} -func GlobalAlphaFactorfSUN(factor float32) { - syscall.Syscall(gpGlobalAlphaFactorfSUN, 1, uintptr(math.Float32bits(factor)), 0, 0) -} -func GlobalAlphaFactoriSUN(factor int32) { - syscall.Syscall(gpGlobalAlphaFactoriSUN, 1, uintptr(factor), 0, 0) -} -func GlobalAlphaFactorsSUN(factor int16) { - syscall.Syscall(gpGlobalAlphaFactorsSUN, 1, uintptr(factor), 0, 0) -} -func GlobalAlphaFactorubSUN(factor uint8) { - syscall.Syscall(gpGlobalAlphaFactorubSUN, 1, uintptr(factor), 0, 0) -} -func GlobalAlphaFactoruiSUN(factor uint32) { - syscall.Syscall(gpGlobalAlphaFactoruiSUN, 1, uintptr(factor), 0, 0) -} -func GlobalAlphaFactorusSUN(factor uint16) { - syscall.Syscall(gpGlobalAlphaFactorusSUN, 1, uintptr(factor), 0, 0) -} - -// specify implementation-specific hints -func Hint(target uint32, mode uint32) { - syscall.Syscall(gpHint, 2, uintptr(target), uintptr(mode), 0) -} -func HintPGI(target uint32, mode int32) { - syscall.Syscall(gpHintPGI, 2, uintptr(target), uintptr(mode), 0) -} -func HistogramEXT(target uint32, width int32, internalformat uint32, sink bool) { - syscall.Syscall6(gpHistogramEXT, 4, uintptr(target), uintptr(width), uintptr(internalformat), boolToUintptr(sink), 0, 0) -} -func IglooInterfaceSGIX(pname uint32, params unsafe.Pointer) { - syscall.Syscall(gpIglooInterfaceSGIX, 2, uintptr(pname), uintptr(params), 0) -} -func ImageTransformParameterfHP(target uint32, pname uint32, param float32) { - syscall.Syscall(gpImageTransformParameterfHP, 3, uintptr(target), uintptr(pname), uintptr(math.Float32bits(param))) -} -func ImageTransformParameterfvHP(target uint32, pname uint32, params *float32) { - syscall.Syscall(gpImageTransformParameterfvHP, 3, uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func ImageTransformParameteriHP(target uint32, pname uint32, param int32) { - syscall.Syscall(gpImageTransformParameteriHP, 3, uintptr(target), uintptr(pname), uintptr(param)) -} -func ImageTransformParameterivHP(target uint32, pname uint32, params *int32) { - syscall.Syscall(gpImageTransformParameterivHP, 3, uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func ImportMemoryFdEXT(memory uint32, size uint64, handleType uint32, fd int32) { - syscall.Syscall6(gpImportMemoryFdEXT, 4, uintptr(memory), uintptr(size), uintptr(handleType), uintptr(fd), 0, 0) -} -func ImportMemoryWin32HandleEXT(memory uint32, size uint64, handleType uint32, handle unsafe.Pointer) { - syscall.Syscall6(gpImportMemoryWin32HandleEXT, 4, uintptr(memory), uintptr(size), uintptr(handleType), uintptr(handle), 0, 0) -} -func ImportMemoryWin32NameEXT(memory uint32, size uint64, handleType uint32, name unsafe.Pointer) { - syscall.Syscall6(gpImportMemoryWin32NameEXT, 4, uintptr(memory), uintptr(size), uintptr(handleType), uintptr(name), 0, 0) -} -func ImportSemaphoreFdEXT(semaphore uint32, handleType uint32, fd int32) { - syscall.Syscall(gpImportSemaphoreFdEXT, 3, uintptr(semaphore), uintptr(handleType), uintptr(fd)) -} -func ImportSemaphoreWin32HandleEXT(semaphore uint32, handleType uint32, handle unsafe.Pointer) { - syscall.Syscall(gpImportSemaphoreWin32HandleEXT, 3, uintptr(semaphore), uintptr(handleType), uintptr(handle)) -} -func ImportSemaphoreWin32NameEXT(semaphore uint32, handleType uint32, name unsafe.Pointer) { - syscall.Syscall(gpImportSemaphoreWin32NameEXT, 3, uintptr(semaphore), uintptr(handleType), uintptr(name)) -} -func ImportSyncEXT(external_sync_type uint32, external_sync int, flags uint32) uintptr { - ret, _, _ := syscall.Syscall(gpImportSyncEXT, 3, uintptr(external_sync_type), uintptr(external_sync), uintptr(flags)) - return (uintptr)(ret) -} -func IndexFormatNV(xtype uint32, stride int32) { - syscall.Syscall(gpIndexFormatNV, 2, uintptr(xtype), uintptr(stride), 0) -} -func IndexFuncEXT(xfunc uint32, ref float32) { - syscall.Syscall(gpIndexFuncEXT, 2, uintptr(xfunc), uintptr(math.Float32bits(ref)), 0) -} - -// control the writing of individual bits in the color index buffers -func IndexMask(mask uint32) { - syscall.Syscall(gpIndexMask, 1, uintptr(mask), 0, 0) -} -func IndexMaterialEXT(face uint32, mode uint32) { - syscall.Syscall(gpIndexMaterialEXT, 2, uintptr(face), uintptr(mode), 0) -} - -// define an array of color indexes -func IndexPointer(xtype uint32, stride int32, pointer unsafe.Pointer) { - syscall.Syscall(gpIndexPointer, 3, uintptr(xtype), uintptr(stride), uintptr(pointer)) -} -func IndexPointerEXT(xtype uint32, stride int32, count int32, pointer unsafe.Pointer) { - syscall.Syscall6(gpIndexPointerEXT, 4, uintptr(xtype), uintptr(stride), uintptr(count), uintptr(pointer), 0, 0) -} -func IndexPointerListIBM(xtype uint32, stride int32, pointer *unsafe.Pointer, ptrstride int32) { - syscall.Syscall6(gpIndexPointerListIBM, 4, uintptr(xtype), uintptr(stride), uintptr(unsafe.Pointer(pointer)), uintptr(ptrstride), 0, 0) -} -func Indexd(c float64) { - syscall.Syscall(gpIndexd, 1, uintptr(math.Float64bits(c)), 0, 0) -} -func Indexdv(c *float64) { - syscall.Syscall(gpIndexdv, 1, uintptr(unsafe.Pointer(c)), 0, 0) -} -func Indexf(c float32) { - syscall.Syscall(gpIndexf, 1, uintptr(math.Float32bits(c)), 0, 0) -} -func Indexfv(c *float32) { - syscall.Syscall(gpIndexfv, 1, uintptr(unsafe.Pointer(c)), 0, 0) -} -func Indexi(c int32) { - syscall.Syscall(gpIndexi, 1, uintptr(c), 0, 0) -} -func Indexiv(c *int32) { - syscall.Syscall(gpIndexiv, 1, uintptr(unsafe.Pointer(c)), 0, 0) -} -func Indexs(c int16) { - syscall.Syscall(gpIndexs, 1, uintptr(c), 0, 0) -} -func Indexsv(c *int16) { - syscall.Syscall(gpIndexsv, 1, uintptr(unsafe.Pointer(c)), 0, 0) -} -func Indexub(c uint8) { - syscall.Syscall(gpIndexub, 1, uintptr(c), 0, 0) -} -func Indexubv(c *uint8) { - syscall.Syscall(gpIndexubv, 1, uintptr(unsafe.Pointer(c)), 0, 0) -} -func IndexxOES(component int32) { - syscall.Syscall(gpIndexxOES, 1, uintptr(component), 0, 0) -} -func IndexxvOES(component *int32) { - syscall.Syscall(gpIndexxvOES, 1, uintptr(unsafe.Pointer(component)), 0, 0) -} - -// initialize the name stack -func InitNames() { - syscall.Syscall(gpInitNames, 0, 0, 0, 0) -} -func InsertComponentEXT(res uint32, src uint32, num uint32) { - syscall.Syscall(gpInsertComponentEXT, 3, uintptr(res), uintptr(src), uintptr(num)) -} -func InsertEventMarkerEXT(length int32, marker *uint8) { - syscall.Syscall(gpInsertEventMarkerEXT, 2, uintptr(length), uintptr(unsafe.Pointer(marker)), 0) -} -func InstrumentsBufferSGIX(size int32, buffer *int32) { - syscall.Syscall(gpInstrumentsBufferSGIX, 2, uintptr(size), uintptr(unsafe.Pointer(buffer)), 0) -} - -// simultaneously specify and enable several interleaved arrays -func InterleavedArrays(format uint32, stride int32, pointer unsafe.Pointer) { - syscall.Syscall(gpInterleavedArrays, 3, uintptr(format), uintptr(stride), uintptr(pointer)) -} -func InterpolatePathsNV(resultPath uint32, pathA uint32, pathB uint32, weight float32) { - syscall.Syscall6(gpInterpolatePathsNV, 4, uintptr(resultPath), uintptr(pathA), uintptr(pathB), uintptr(math.Float32bits(weight)), 0, 0) -} - -// invalidate the content of a buffer object's data store -func InvalidateBufferData(buffer uint32) { - syscall.Syscall(gpInvalidateBufferData, 1, uintptr(buffer), 0, 0) -} - -// invalidate a region of a buffer object's data store -func InvalidateBufferSubData(buffer uint32, offset int, length int) { - syscall.Syscall(gpInvalidateBufferSubData, 3, uintptr(buffer), uintptr(offset), uintptr(length)) -} - -// invalidate the content of some or all of a framebuffer's attachments -func InvalidateFramebuffer(target uint32, numAttachments int32, attachments *uint32) { - syscall.Syscall(gpInvalidateFramebuffer, 3, uintptr(target), uintptr(numAttachments), uintptr(unsafe.Pointer(attachments))) -} - -// invalidate the content of some or all of a framebuffer's attachments -func InvalidateNamedFramebufferData(framebuffer uint32, numAttachments int32, attachments *uint32) { - syscall.Syscall(gpInvalidateNamedFramebufferData, 3, uintptr(framebuffer), uintptr(numAttachments), uintptr(unsafe.Pointer(attachments))) -} - -// invalidate the content of a region of some or all of a framebuffer's attachments -func InvalidateNamedFramebufferSubData(framebuffer uint32, numAttachments int32, attachments *uint32, x int32, y int32, width int32, height int32) { - syscall.Syscall9(gpInvalidateNamedFramebufferSubData, 7, uintptr(framebuffer), uintptr(numAttachments), uintptr(unsafe.Pointer(attachments)), uintptr(x), uintptr(y), uintptr(width), uintptr(height), 0, 0) -} - -// invalidate the content of a region of some or all of a framebuffer's attachments -func InvalidateSubFramebuffer(target uint32, numAttachments int32, attachments *uint32, x int32, y int32, width int32, height int32) { - syscall.Syscall9(gpInvalidateSubFramebuffer, 7, uintptr(target), uintptr(numAttachments), uintptr(unsafe.Pointer(attachments)), uintptr(x), uintptr(y), uintptr(width), uintptr(height), 0, 0) -} - -// invalidate the entirety a texture image -func InvalidateTexImage(texture uint32, level int32) { - syscall.Syscall(gpInvalidateTexImage, 2, uintptr(texture), uintptr(level), 0) -} - -// invalidate a region of a texture image -func InvalidateTexSubImage(texture uint32, level int32, xoffset int32, yoffset int32, zoffset int32, width int32, height int32, depth int32) { - syscall.Syscall9(gpInvalidateTexSubImage, 8, uintptr(texture), uintptr(level), uintptr(xoffset), uintptr(yoffset), uintptr(zoffset), uintptr(width), uintptr(height), uintptr(depth), 0) -} -func IsAsyncMarkerSGIX(marker uint32) bool { - ret, _, _ := syscall.Syscall(gpIsAsyncMarkerSGIX, 1, uintptr(marker), 0, 0) - return ret != 0 -} - -// determine if a name corresponds to a buffer object -func IsBuffer(buffer uint32) bool { - ret, _, _ := syscall.Syscall(gpIsBuffer, 1, uintptr(buffer), 0, 0) - return ret != 0 -} -func IsBufferARB(buffer uint32) bool { - ret, _, _ := syscall.Syscall(gpIsBufferARB, 1, uintptr(buffer), 0, 0) - return ret != 0 -} -func IsBufferResidentNV(target uint32) bool { - ret, _, _ := syscall.Syscall(gpIsBufferResidentNV, 1, uintptr(target), 0, 0) - return ret != 0 -} -func IsCommandListNV(list uint32) bool { - ret, _, _ := syscall.Syscall(gpIsCommandListNV, 1, uintptr(list), 0, 0) - return ret != 0 -} -func IsEnabled(cap uint32) bool { - ret, _, _ := syscall.Syscall(gpIsEnabled, 1, uintptr(cap), 0, 0) - return ret != 0 -} -func IsEnabledIndexedEXT(target uint32, index uint32) bool { - ret, _, _ := syscall.Syscall(gpIsEnabledIndexedEXT, 2, uintptr(target), uintptr(index), 0) - return ret != 0 -} -func IsFenceAPPLE(fence uint32) bool { - ret, _, _ := syscall.Syscall(gpIsFenceAPPLE, 1, uintptr(fence), 0, 0) - return ret != 0 -} -func IsFenceNV(fence uint32) bool { - ret, _, _ := syscall.Syscall(gpIsFenceNV, 1, uintptr(fence), 0, 0) - return ret != 0 -} - -// determine if a name corresponds to a framebuffer object -func IsFramebuffer(framebuffer uint32) bool { - ret, _, _ := syscall.Syscall(gpIsFramebuffer, 1, uintptr(framebuffer), 0, 0) - return ret != 0 -} func IsFramebufferEXT(framebuffer uint32) bool { ret, _, _ := syscall.Syscall(gpIsFramebufferEXT, 1, uintptr(framebuffer), 0, 0) return ret != 0 } -func IsImageHandleResidentARB(handle uint64) bool { - ret, _, _ := syscall.Syscall(gpIsImageHandleResidentARB, 1, uintptr(handle), 0, 0) - return ret != 0 -} -func IsImageHandleResidentNV(handle uint64) bool { - ret, _, _ := syscall.Syscall(gpIsImageHandleResidentNV, 1, uintptr(handle), 0, 0) - return ret != 0 -} -// determine if a name corresponds to a display list -func IsList(list uint32) bool { - ret, _, _ := syscall.Syscall(gpIsList, 1, uintptr(list), 0, 0) - return ret != 0 -} -func IsMemoryObjectEXT(memoryObject uint32) bool { - ret, _, _ := syscall.Syscall(gpIsMemoryObjectEXT, 1, uintptr(memoryObject), 0, 0) - return ret != 0 -} -func IsNameAMD(identifier uint32, name uint32) bool { - ret, _, _ := syscall.Syscall(gpIsNameAMD, 2, uintptr(identifier), uintptr(name), 0) - return ret != 0 -} -func IsNamedBufferResidentNV(buffer uint32) bool { - ret, _, _ := syscall.Syscall(gpIsNamedBufferResidentNV, 1, uintptr(buffer), 0, 0) - return ret != 0 -} -func IsNamedStringARB(namelen int32, name *uint8) bool { - ret, _, _ := syscall.Syscall(gpIsNamedStringARB, 2, uintptr(namelen), uintptr(unsafe.Pointer(name)), 0) - return ret != 0 -} -func IsObjectBufferATI(buffer uint32) bool { - ret, _, _ := syscall.Syscall(gpIsObjectBufferATI, 1, uintptr(buffer), 0, 0) - return ret != 0 -} -func IsOcclusionQueryNV(id uint32) bool { - ret, _, _ := syscall.Syscall(gpIsOcclusionQueryNV, 1, uintptr(id), 0, 0) - return ret != 0 -} -func IsPathNV(path uint32) bool { - ret, _, _ := syscall.Syscall(gpIsPathNV, 1, uintptr(path), 0, 0) - return ret != 0 -} -func IsPointInFillPathNV(path uint32, mask uint32, x float32, y float32) bool { - ret, _, _ := syscall.Syscall6(gpIsPointInFillPathNV, 4, uintptr(path), uintptr(mask), uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y)), 0, 0) - return ret != 0 -} -func IsPointInStrokePathNV(path uint32, x float32, y float32) bool { - ret, _, _ := syscall.Syscall(gpIsPointInStrokePathNV, 3, uintptr(path), uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y))) - return ret != 0 -} - -// Determines if a name corresponds to a program object func IsProgram(program uint32) bool { ret, _, _ := syscall.Syscall(gpIsProgram, 1, uintptr(program), 0, 0) return ret != 0 } -func IsProgramARB(program uint32) bool { - ret, _, _ := syscall.Syscall(gpIsProgramARB, 1, uintptr(program), 0, 0) - return ret != 0 -} -func IsProgramNV(id uint32) bool { - ret, _, _ := syscall.Syscall(gpIsProgramNV, 1, uintptr(id), 0, 0) - return ret != 0 -} -// determine if a name corresponds to a program pipeline object -func IsProgramPipeline(pipeline uint32) bool { - ret, _, _ := syscall.Syscall(gpIsProgramPipeline, 1, uintptr(pipeline), 0, 0) - return ret != 0 -} -func IsProgramPipelineEXT(pipeline uint32) bool { - ret, _, _ := syscall.Syscall(gpIsProgramPipelineEXT, 1, uintptr(pipeline), 0, 0) - return ret != 0 -} - -// determine if a name corresponds to a query object -func IsQuery(id uint32) bool { - ret, _, _ := syscall.Syscall(gpIsQuery, 1, uintptr(id), 0, 0) - return ret != 0 -} -func IsQueryARB(id uint32) bool { - ret, _, _ := syscall.Syscall(gpIsQueryARB, 1, uintptr(id), 0, 0) - return ret != 0 -} - -// determine if a name corresponds to a renderbuffer object -func IsRenderbuffer(renderbuffer uint32) bool { - ret, _, _ := syscall.Syscall(gpIsRenderbuffer, 1, uintptr(renderbuffer), 0, 0) - return ret != 0 -} -func IsRenderbufferEXT(renderbuffer uint32) bool { - ret, _, _ := syscall.Syscall(gpIsRenderbufferEXT, 1, uintptr(renderbuffer), 0, 0) - return ret != 0 -} - -// determine if a name corresponds to a sampler object -func IsSampler(sampler uint32) bool { - ret, _, _ := syscall.Syscall(gpIsSampler, 1, uintptr(sampler), 0, 0) - return ret != 0 -} -func IsSemaphoreEXT(semaphore uint32) bool { - ret, _, _ := syscall.Syscall(gpIsSemaphoreEXT, 1, uintptr(semaphore), 0, 0) - return ret != 0 -} - -// Determines if a name corresponds to a shader object -func IsShader(shader uint32) bool { - ret, _, _ := syscall.Syscall(gpIsShader, 1, uintptr(shader), 0, 0) - return ret != 0 -} -func IsStateNV(state uint32) bool { - ret, _, _ := syscall.Syscall(gpIsStateNV, 1, uintptr(state), 0, 0) - return ret != 0 -} - -// determine if a name corresponds to a sync object -func IsSync(sync uintptr) bool { - ret, _, _ := syscall.Syscall(gpIsSync, 1, uintptr(sync), 0, 0) - return ret != 0 -} - -// determine if a name corresponds to a texture func IsTexture(texture uint32) bool { ret, _, _ := syscall.Syscall(gpIsTexture, 1, uintptr(texture), 0, 0) return ret != 0 } -func IsTextureEXT(texture uint32) bool { - ret, _, _ := syscall.Syscall(gpIsTextureEXT, 1, uintptr(texture), 0, 0) - return ret != 0 -} -func IsTextureHandleResidentARB(handle uint64) bool { - ret, _, _ := syscall.Syscall(gpIsTextureHandleResidentARB, 1, uintptr(handle), 0, 0) - return ret != 0 -} -func IsTextureHandleResidentNV(handle uint64) bool { - ret, _, _ := syscall.Syscall(gpIsTextureHandleResidentNV, 1, uintptr(handle), 0, 0) - return ret != 0 -} -// determine if a name corresponds to a transform feedback object -func IsTransformFeedback(id uint32) bool { - ret, _, _ := syscall.Syscall(gpIsTransformFeedback, 1, uintptr(id), 0, 0) - return ret != 0 -} -func IsTransformFeedbackNV(id uint32) bool { - ret, _, _ := syscall.Syscall(gpIsTransformFeedbackNV, 1, uintptr(id), 0, 0) - return ret != 0 -} -func IsVariantEnabledEXT(id uint32, cap uint32) bool { - ret, _, _ := syscall.Syscall(gpIsVariantEnabledEXT, 2, uintptr(id), uintptr(cap), 0) - return ret != 0 -} - -// determine if a name corresponds to a vertex array object -func IsVertexArray(array uint32) bool { - ret, _, _ := syscall.Syscall(gpIsVertexArray, 1, uintptr(array), 0, 0) - return ret != 0 -} -func IsVertexArrayAPPLE(array uint32) bool { - ret, _, _ := syscall.Syscall(gpIsVertexArrayAPPLE, 1, uintptr(array), 0, 0) - return ret != 0 -} -func IsVertexAttribEnabledAPPLE(index uint32, pname uint32) bool { - ret, _, _ := syscall.Syscall(gpIsVertexAttribEnabledAPPLE, 2, uintptr(index), uintptr(pname), 0) - return ret != 0 -} -func LGPUCopyImageSubDataNVX(sourceGpu uint32, destinationGpuMask uint32, srcName uint32, srcTarget uint32, srcLevel int32, srcX int32, srxY int32, srcZ int32, dstName uint32, dstTarget uint32, dstLevel int32, dstX int32, dstY int32, dstZ int32, width int32, height int32, depth int32) { - panic("\"LGPUCopyImageSubDataNVX\" is not implemented") -} -func LGPUInterlockNVX() { - syscall.Syscall(gpLGPUInterlockNVX, 0, 0, 0, 0) -} -func LGPUNamedBufferSubDataNVX(gpuMask uint32, buffer uint32, offset int, size int, data unsafe.Pointer) { - syscall.Syscall6(gpLGPUNamedBufferSubDataNVX, 5, uintptr(gpuMask), uintptr(buffer), uintptr(offset), uintptr(size), uintptr(data), 0) -} -func LabelObjectEXT(xtype uint32, object uint32, length int32, label *uint8) { - syscall.Syscall6(gpLabelObjectEXT, 4, uintptr(xtype), uintptr(object), uintptr(length), uintptr(unsafe.Pointer(label)), 0, 0) -} -func LightEnviSGIX(pname uint32, param int32) { - syscall.Syscall(gpLightEnviSGIX, 2, uintptr(pname), uintptr(param), 0) -} -func LightModelf(pname uint32, param float32) { - syscall.Syscall(gpLightModelf, 2, uintptr(pname), uintptr(math.Float32bits(param)), 0) -} -func LightModelfv(pname uint32, params *float32) { - syscall.Syscall(gpLightModelfv, 2, uintptr(pname), uintptr(unsafe.Pointer(params)), 0) -} -func LightModeli(pname uint32, param int32) { - syscall.Syscall(gpLightModeli, 2, uintptr(pname), uintptr(param), 0) -} -func LightModeliv(pname uint32, params *int32) { - syscall.Syscall(gpLightModeliv, 2, uintptr(pname), uintptr(unsafe.Pointer(params)), 0) -} -func LightModelxOES(pname uint32, param int32) { - syscall.Syscall(gpLightModelxOES, 2, uintptr(pname), uintptr(param), 0) -} -func LightModelxvOES(pname uint32, param *int32) { - syscall.Syscall(gpLightModelxvOES, 2, uintptr(pname), uintptr(unsafe.Pointer(param)), 0) -} -func Lightf(light uint32, pname uint32, param float32) { - syscall.Syscall(gpLightf, 3, uintptr(light), uintptr(pname), uintptr(math.Float32bits(param))) -} -func Lightfv(light uint32, pname uint32, params *float32) { - syscall.Syscall(gpLightfv, 3, uintptr(light), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func Lighti(light uint32, pname uint32, param int32) { - syscall.Syscall(gpLighti, 3, uintptr(light), uintptr(pname), uintptr(param)) -} -func Lightiv(light uint32, pname uint32, params *int32) { - syscall.Syscall(gpLightiv, 3, uintptr(light), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func LightxOES(light uint32, pname uint32, param int32) { - syscall.Syscall(gpLightxOES, 3, uintptr(light), uintptr(pname), uintptr(param)) -} -func LightxvOES(light uint32, pname uint32, params *int32) { - syscall.Syscall(gpLightxvOES, 3, uintptr(light), uintptr(pname), uintptr(unsafe.Pointer(params))) -} - -// specify the line stipple pattern -func LineStipple(factor int32, pattern uint16) { - syscall.Syscall(gpLineStipple, 2, uintptr(factor), uintptr(pattern), 0) -} - -// specify the width of rasterized lines -func LineWidth(width float32) { - syscall.Syscall(gpLineWidth, 1, uintptr(math.Float32bits(width)), 0, 0) -} -func LineWidthxOES(width int32) { - syscall.Syscall(gpLineWidthxOES, 1, uintptr(width), 0, 0) -} - -// Links a program object func LinkProgram(program uint32) { syscall.Syscall(gpLinkProgram, 1, uintptr(program), 0, 0) } -func LinkProgramARB(programObj uintptr) { - syscall.Syscall(gpLinkProgramARB, 1, uintptr(programObj), 0, 0) -} -// set the display-list base for -func ListBase(base uint32) { - syscall.Syscall(gpListBase, 1, uintptr(base), 0, 0) -} -func ListDrawCommandsStatesClientNV(list uint32, segment uint32, indirects *unsafe.Pointer, sizes *int32, states *uint32, fbos *uint32, count uint32) { - syscall.Syscall9(gpListDrawCommandsStatesClientNV, 7, uintptr(list), uintptr(segment), uintptr(unsafe.Pointer(indirects)), uintptr(unsafe.Pointer(sizes)), uintptr(unsafe.Pointer(states)), uintptr(unsafe.Pointer(fbos)), uintptr(count), 0, 0) -} -func ListParameterfSGIX(list uint32, pname uint32, param float32) { - syscall.Syscall(gpListParameterfSGIX, 3, uintptr(list), uintptr(pname), uintptr(math.Float32bits(param))) -} -func ListParameterfvSGIX(list uint32, pname uint32, params *float32) { - syscall.Syscall(gpListParameterfvSGIX, 3, uintptr(list), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func ListParameteriSGIX(list uint32, pname uint32, param int32) { - syscall.Syscall(gpListParameteriSGIX, 3, uintptr(list), uintptr(pname), uintptr(param)) -} -func ListParameterivSGIX(list uint32, pname uint32, params *int32) { - syscall.Syscall(gpListParameterivSGIX, 3, uintptr(list), uintptr(pname), uintptr(unsafe.Pointer(params))) -} - -// replace the current matrix with the identity matrix -func LoadIdentity() { - syscall.Syscall(gpLoadIdentity, 0, 0, 0, 0) -} -func LoadIdentityDeformationMapSGIX(mask uint32) { - syscall.Syscall(gpLoadIdentityDeformationMapSGIX, 1, uintptr(mask), 0, 0) -} -func LoadMatrixd(m *float64) { - syscall.Syscall(gpLoadMatrixd, 1, uintptr(unsafe.Pointer(m)), 0, 0) -} -func LoadMatrixf(m *float32) { - syscall.Syscall(gpLoadMatrixf, 1, uintptr(unsafe.Pointer(m)), 0, 0) -} -func LoadMatrixxOES(m *int32) { - syscall.Syscall(gpLoadMatrixxOES, 1, uintptr(unsafe.Pointer(m)), 0, 0) -} - -// load a name onto the name stack -func LoadName(name uint32) { - syscall.Syscall(gpLoadName, 1, uintptr(name), 0, 0) -} -func LoadProgramNV(target uint32, id uint32, len int32, program *uint8) { - syscall.Syscall6(gpLoadProgramNV, 4, uintptr(target), uintptr(id), uintptr(len), uintptr(unsafe.Pointer(program)), 0, 0) -} -func LoadTransposeMatrixd(m *float64) { - syscall.Syscall(gpLoadTransposeMatrixd, 1, uintptr(unsafe.Pointer(m)), 0, 0) -} -func LoadTransposeMatrixdARB(m *float64) { - syscall.Syscall(gpLoadTransposeMatrixdARB, 1, uintptr(unsafe.Pointer(m)), 0, 0) -} -func LoadTransposeMatrixf(m *float32) { - syscall.Syscall(gpLoadTransposeMatrixf, 1, uintptr(unsafe.Pointer(m)), 0, 0) -} -func LoadTransposeMatrixfARB(m *float32) { - syscall.Syscall(gpLoadTransposeMatrixfARB, 1, uintptr(unsafe.Pointer(m)), 0, 0) -} -func LoadTransposeMatrixxOES(m *int32) { - syscall.Syscall(gpLoadTransposeMatrixxOES, 1, uintptr(unsafe.Pointer(m)), 0, 0) -} -func LockArraysEXT(first int32, count int32) { - syscall.Syscall(gpLockArraysEXT, 2, uintptr(first), uintptr(count), 0) -} - -// specify a logical pixel operation for rendering -func LogicOp(opcode uint32) { - syscall.Syscall(gpLogicOp, 1, uintptr(opcode), 0, 0) -} -func MakeBufferNonResidentNV(target uint32) { - syscall.Syscall(gpMakeBufferNonResidentNV, 1, uintptr(target), 0, 0) -} -func MakeBufferResidentNV(target uint32, access uint32) { - syscall.Syscall(gpMakeBufferResidentNV, 2, uintptr(target), uintptr(access), 0) -} -func MakeImageHandleNonResidentARB(handle uint64) { - syscall.Syscall(gpMakeImageHandleNonResidentARB, 1, uintptr(handle), 0, 0) -} -func MakeImageHandleNonResidentNV(handle uint64) { - syscall.Syscall(gpMakeImageHandleNonResidentNV, 1, uintptr(handle), 0, 0) -} -func MakeImageHandleResidentARB(handle uint64, access uint32) { - syscall.Syscall(gpMakeImageHandleResidentARB, 2, uintptr(handle), uintptr(access), 0) -} -func MakeImageHandleResidentNV(handle uint64, access uint32) { - syscall.Syscall(gpMakeImageHandleResidentNV, 2, uintptr(handle), uintptr(access), 0) -} -func MakeNamedBufferNonResidentNV(buffer uint32) { - syscall.Syscall(gpMakeNamedBufferNonResidentNV, 1, uintptr(buffer), 0, 0) -} -func MakeNamedBufferResidentNV(buffer uint32, access uint32) { - syscall.Syscall(gpMakeNamedBufferResidentNV, 2, uintptr(buffer), uintptr(access), 0) -} -func MakeTextureHandleNonResidentARB(handle uint64) { - syscall.Syscall(gpMakeTextureHandleNonResidentARB, 1, uintptr(handle), 0, 0) -} -func MakeTextureHandleNonResidentNV(handle uint64) { - syscall.Syscall(gpMakeTextureHandleNonResidentNV, 1, uintptr(handle), 0, 0) -} -func MakeTextureHandleResidentARB(handle uint64) { - syscall.Syscall(gpMakeTextureHandleResidentARB, 1, uintptr(handle), 0, 0) -} -func MakeTextureHandleResidentNV(handle uint64) { - syscall.Syscall(gpMakeTextureHandleResidentNV, 1, uintptr(handle), 0, 0) -} -func Map1d(target uint32, u1 float64, u2 float64, stride int32, order int32, points *float64) { - syscall.Syscall6(gpMap1d, 6, uintptr(target), uintptr(math.Float64bits(u1)), uintptr(math.Float64bits(u2)), uintptr(stride), uintptr(order), uintptr(unsafe.Pointer(points))) -} -func Map1f(target uint32, u1 float32, u2 float32, stride int32, order int32, points *float32) { - syscall.Syscall6(gpMap1f, 6, uintptr(target), uintptr(math.Float32bits(u1)), uintptr(math.Float32bits(u2)), uintptr(stride), uintptr(order), uintptr(unsafe.Pointer(points))) -} -func Map1xOES(target uint32, u1 int32, u2 int32, stride int32, order int32, points int32) { - syscall.Syscall6(gpMap1xOES, 6, uintptr(target), uintptr(u1), uintptr(u2), uintptr(stride), uintptr(order), uintptr(points)) -} -func Map2d(target uint32, u1 float64, u2 float64, ustride int32, uorder int32, v1 float64, v2 float64, vstride int32, vorder int32, points *float64) { - syscall.Syscall12(gpMap2d, 10, uintptr(target), uintptr(math.Float64bits(u1)), uintptr(math.Float64bits(u2)), uintptr(ustride), uintptr(uorder), uintptr(math.Float64bits(v1)), uintptr(math.Float64bits(v2)), uintptr(vstride), uintptr(vorder), uintptr(unsafe.Pointer(points)), 0, 0) -} -func Map2f(target uint32, u1 float32, u2 float32, ustride int32, uorder int32, v1 float32, v2 float32, vstride int32, vorder int32, points *float32) { - syscall.Syscall12(gpMap2f, 10, uintptr(target), uintptr(math.Float32bits(u1)), uintptr(math.Float32bits(u2)), uintptr(ustride), uintptr(uorder), uintptr(math.Float32bits(v1)), uintptr(math.Float32bits(v2)), uintptr(vstride), uintptr(vorder), uintptr(unsafe.Pointer(points)), 0, 0) -} -func Map2xOES(target uint32, u1 int32, u2 int32, ustride int32, uorder int32, v1 int32, v2 int32, vstride int32, vorder int32, points int32) { - syscall.Syscall12(gpMap2xOES, 10, uintptr(target), uintptr(u1), uintptr(u2), uintptr(ustride), uintptr(uorder), uintptr(v1), uintptr(v2), uintptr(vstride), uintptr(vorder), uintptr(points), 0, 0) -} - -// map all of a buffer object's data store into the client's address space -func MapBuffer(target uint32, access uint32) unsafe.Pointer { - ret, _, _ := syscall.Syscall(gpMapBuffer, 2, uintptr(target), uintptr(access), 0) - return (unsafe.Pointer)(ret) -} -func MapBufferARB(target uint32, access uint32) unsafe.Pointer { - ret, _, _ := syscall.Syscall(gpMapBufferARB, 2, uintptr(target), uintptr(access), 0) - return (unsafe.Pointer)(ret) -} - -// map all or part of a buffer object's data store into the client's address space -func MapBufferRange(target uint32, offset int, length int, access uint32) unsafe.Pointer { - ret, _, _ := syscall.Syscall6(gpMapBufferRange, 4, uintptr(target), uintptr(offset), uintptr(length), uintptr(access), 0, 0) - return (unsafe.Pointer)(ret) -} -func MapControlPointsNV(target uint32, index uint32, xtype uint32, ustride int32, vstride int32, uorder int32, vorder int32, packed bool, points unsafe.Pointer) { - syscall.Syscall9(gpMapControlPointsNV, 9, uintptr(target), uintptr(index), uintptr(xtype), uintptr(ustride), uintptr(vstride), uintptr(uorder), uintptr(vorder), boolToUintptr(packed), uintptr(points)) -} -func MapGrid1d(un int32, u1 float64, u2 float64) { - syscall.Syscall(gpMapGrid1d, 3, uintptr(un), uintptr(math.Float64bits(u1)), uintptr(math.Float64bits(u2))) -} -func MapGrid1f(un int32, u1 float32, u2 float32) { - syscall.Syscall(gpMapGrid1f, 3, uintptr(un), uintptr(math.Float32bits(u1)), uintptr(math.Float32bits(u2))) -} -func MapGrid1xOES(n int32, u1 int32, u2 int32) { - syscall.Syscall(gpMapGrid1xOES, 3, uintptr(n), uintptr(u1), uintptr(u2)) -} -func MapGrid2d(un int32, u1 float64, u2 float64, vn int32, v1 float64, v2 float64) { - syscall.Syscall6(gpMapGrid2d, 6, uintptr(un), uintptr(math.Float64bits(u1)), uintptr(math.Float64bits(u2)), uintptr(vn), uintptr(math.Float64bits(v1)), uintptr(math.Float64bits(v2))) -} -func MapGrid2f(un int32, u1 float32, u2 float32, vn int32, v1 float32, v2 float32) { - syscall.Syscall6(gpMapGrid2f, 6, uintptr(un), uintptr(math.Float32bits(u1)), uintptr(math.Float32bits(u2)), uintptr(vn), uintptr(math.Float32bits(v1)), uintptr(math.Float32bits(v2))) -} -func MapGrid2xOES(n int32, u1 int32, u2 int32, v1 int32, v2 int32) { - syscall.Syscall6(gpMapGrid2xOES, 5, uintptr(n), uintptr(u1), uintptr(u2), uintptr(v1), uintptr(v2), 0) -} - -// map all of a buffer object's data store into the client's address space -func MapNamedBuffer(buffer uint32, access uint32) unsafe.Pointer { - ret, _, _ := syscall.Syscall(gpMapNamedBuffer, 2, uintptr(buffer), uintptr(access), 0) - return (unsafe.Pointer)(ret) -} -func MapNamedBufferEXT(buffer uint32, access uint32) unsafe.Pointer { - ret, _, _ := syscall.Syscall(gpMapNamedBufferEXT, 2, uintptr(buffer), uintptr(access), 0) - return (unsafe.Pointer)(ret) -} - -// map all or part of a buffer object's data store into the client's address space -func MapNamedBufferRange(buffer uint32, offset int, length int, access uint32) unsafe.Pointer { - ret, _, _ := syscall.Syscall6(gpMapNamedBufferRange, 4, uintptr(buffer), uintptr(offset), uintptr(length), uintptr(access), 0, 0) - return (unsafe.Pointer)(ret) -} -func MapNamedBufferRangeEXT(buffer uint32, offset int, length int, access uint32) unsafe.Pointer { - ret, _, _ := syscall.Syscall6(gpMapNamedBufferRangeEXT, 4, uintptr(buffer), uintptr(offset), uintptr(length), uintptr(access), 0, 0) - return (unsafe.Pointer)(ret) -} -func MapObjectBufferATI(buffer uint32) unsafe.Pointer { - ret, _, _ := syscall.Syscall(gpMapObjectBufferATI, 1, uintptr(buffer), 0, 0) - return (unsafe.Pointer)(ret) -} -func MapParameterfvNV(target uint32, pname uint32, params *float32) { - syscall.Syscall(gpMapParameterfvNV, 3, uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func MapParameterivNV(target uint32, pname uint32, params *int32) { - syscall.Syscall(gpMapParameterivNV, 3, uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func MapTexture2DINTEL(texture uint32, level int32, access uint32, stride *int32, layout *uint32) unsafe.Pointer { - ret, _, _ := syscall.Syscall6(gpMapTexture2DINTEL, 5, uintptr(texture), uintptr(level), uintptr(access), uintptr(unsafe.Pointer(stride)), uintptr(unsafe.Pointer(layout)), 0) - return (unsafe.Pointer)(ret) -} -func MapVertexAttrib1dAPPLE(index uint32, size uint32, u1 float64, u2 float64, stride int32, order int32, points *float64) { - syscall.Syscall9(gpMapVertexAttrib1dAPPLE, 7, uintptr(index), uintptr(size), uintptr(math.Float64bits(u1)), uintptr(math.Float64bits(u2)), uintptr(stride), uintptr(order), uintptr(unsafe.Pointer(points)), 0, 0) -} -func MapVertexAttrib1fAPPLE(index uint32, size uint32, u1 float32, u2 float32, stride int32, order int32, points *float32) { - syscall.Syscall9(gpMapVertexAttrib1fAPPLE, 7, uintptr(index), uintptr(size), uintptr(math.Float32bits(u1)), uintptr(math.Float32bits(u2)), uintptr(stride), uintptr(order), uintptr(unsafe.Pointer(points)), 0, 0) -} -func MapVertexAttrib2dAPPLE(index uint32, size uint32, u1 float64, u2 float64, ustride int32, uorder int32, v1 float64, v2 float64, vstride int32, vorder int32, points *float64) { - syscall.Syscall12(gpMapVertexAttrib2dAPPLE, 11, uintptr(index), uintptr(size), uintptr(math.Float64bits(u1)), uintptr(math.Float64bits(u2)), uintptr(ustride), uintptr(uorder), uintptr(math.Float64bits(v1)), uintptr(math.Float64bits(v2)), uintptr(vstride), uintptr(vorder), uintptr(unsafe.Pointer(points)), 0) -} -func MapVertexAttrib2fAPPLE(index uint32, size uint32, u1 float32, u2 float32, ustride int32, uorder int32, v1 float32, v2 float32, vstride int32, vorder int32, points *float32) { - syscall.Syscall12(gpMapVertexAttrib2fAPPLE, 11, uintptr(index), uintptr(size), uintptr(math.Float32bits(u1)), uintptr(math.Float32bits(u2)), uintptr(ustride), uintptr(uorder), uintptr(math.Float32bits(v1)), uintptr(math.Float32bits(v2)), uintptr(vstride), uintptr(vorder), uintptr(unsafe.Pointer(points)), 0) -} -func Materialf(face uint32, pname uint32, param float32) { - syscall.Syscall(gpMaterialf, 3, uintptr(face), uintptr(pname), uintptr(math.Float32bits(param))) -} -func Materialfv(face uint32, pname uint32, params *float32) { - syscall.Syscall(gpMaterialfv, 3, uintptr(face), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func Materiali(face uint32, pname uint32, param int32) { - syscall.Syscall(gpMateriali, 3, uintptr(face), uintptr(pname), uintptr(param)) -} -func Materialiv(face uint32, pname uint32, params *int32) { - syscall.Syscall(gpMaterialiv, 3, uintptr(face), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func MaterialxOES(face uint32, pname uint32, param int32) { - syscall.Syscall(gpMaterialxOES, 3, uintptr(face), uintptr(pname), uintptr(param)) -} -func MaterialxvOES(face uint32, pname uint32, param *int32) { - syscall.Syscall(gpMaterialxvOES, 3, uintptr(face), uintptr(pname), uintptr(unsafe.Pointer(param))) -} -func MatrixFrustumEXT(mode uint32, left float64, right float64, bottom float64, top float64, zNear float64, zFar float64) { - syscall.Syscall9(gpMatrixFrustumEXT, 7, uintptr(mode), uintptr(math.Float64bits(left)), uintptr(math.Float64bits(right)), uintptr(math.Float64bits(bottom)), uintptr(math.Float64bits(top)), uintptr(math.Float64bits(zNear)), uintptr(math.Float64bits(zFar)), 0, 0) -} -func MatrixIndexPointerARB(size int32, xtype uint32, stride int32, pointer unsafe.Pointer) { - syscall.Syscall6(gpMatrixIndexPointerARB, 4, uintptr(size), uintptr(xtype), uintptr(stride), uintptr(pointer), 0, 0) -} -func MatrixIndexubvARB(size int32, indices *uint8) { - syscall.Syscall(gpMatrixIndexubvARB, 2, uintptr(size), uintptr(unsafe.Pointer(indices)), 0) -} -func MatrixIndexuivARB(size int32, indices *uint32) { - syscall.Syscall(gpMatrixIndexuivARB, 2, uintptr(size), uintptr(unsafe.Pointer(indices)), 0) -} -func MatrixIndexusvARB(size int32, indices *uint16) { - syscall.Syscall(gpMatrixIndexusvARB, 2, uintptr(size), uintptr(unsafe.Pointer(indices)), 0) -} -func MatrixLoad3x2fNV(matrixMode uint32, m *float32) { - syscall.Syscall(gpMatrixLoad3x2fNV, 2, uintptr(matrixMode), uintptr(unsafe.Pointer(m)), 0) -} -func MatrixLoad3x3fNV(matrixMode uint32, m *float32) { - syscall.Syscall(gpMatrixLoad3x3fNV, 2, uintptr(matrixMode), uintptr(unsafe.Pointer(m)), 0) -} -func MatrixLoadIdentityEXT(mode uint32) { - syscall.Syscall(gpMatrixLoadIdentityEXT, 1, uintptr(mode), 0, 0) -} -func MatrixLoadTranspose3x3fNV(matrixMode uint32, m *float32) { - syscall.Syscall(gpMatrixLoadTranspose3x3fNV, 2, uintptr(matrixMode), uintptr(unsafe.Pointer(m)), 0) -} -func MatrixLoadTransposedEXT(mode uint32, m *float64) { - syscall.Syscall(gpMatrixLoadTransposedEXT, 2, uintptr(mode), uintptr(unsafe.Pointer(m)), 0) -} -func MatrixLoadTransposefEXT(mode uint32, m *float32) { - syscall.Syscall(gpMatrixLoadTransposefEXT, 2, uintptr(mode), uintptr(unsafe.Pointer(m)), 0) -} -func MatrixLoaddEXT(mode uint32, m *float64) { - syscall.Syscall(gpMatrixLoaddEXT, 2, uintptr(mode), uintptr(unsafe.Pointer(m)), 0) -} -func MatrixLoadfEXT(mode uint32, m *float32) { - syscall.Syscall(gpMatrixLoadfEXT, 2, uintptr(mode), uintptr(unsafe.Pointer(m)), 0) -} - -// specify which matrix is the current matrix -func MatrixMode(mode uint32) { - syscall.Syscall(gpMatrixMode, 1, uintptr(mode), 0, 0) -} -func MatrixMult3x2fNV(matrixMode uint32, m *float32) { - syscall.Syscall(gpMatrixMult3x2fNV, 2, uintptr(matrixMode), uintptr(unsafe.Pointer(m)), 0) -} -func MatrixMult3x3fNV(matrixMode uint32, m *float32) { - syscall.Syscall(gpMatrixMult3x3fNV, 2, uintptr(matrixMode), uintptr(unsafe.Pointer(m)), 0) -} -func MatrixMultTranspose3x3fNV(matrixMode uint32, m *float32) { - syscall.Syscall(gpMatrixMultTranspose3x3fNV, 2, uintptr(matrixMode), uintptr(unsafe.Pointer(m)), 0) -} -func MatrixMultTransposedEXT(mode uint32, m *float64) { - syscall.Syscall(gpMatrixMultTransposedEXT, 2, uintptr(mode), uintptr(unsafe.Pointer(m)), 0) -} -func MatrixMultTransposefEXT(mode uint32, m *float32) { - syscall.Syscall(gpMatrixMultTransposefEXT, 2, uintptr(mode), uintptr(unsafe.Pointer(m)), 0) -} -func MatrixMultdEXT(mode uint32, m *float64) { - syscall.Syscall(gpMatrixMultdEXT, 2, uintptr(mode), uintptr(unsafe.Pointer(m)), 0) -} -func MatrixMultfEXT(mode uint32, m *float32) { - syscall.Syscall(gpMatrixMultfEXT, 2, uintptr(mode), uintptr(unsafe.Pointer(m)), 0) -} -func MatrixOrthoEXT(mode uint32, left float64, right float64, bottom float64, top float64, zNear float64, zFar float64) { - syscall.Syscall9(gpMatrixOrthoEXT, 7, uintptr(mode), uintptr(math.Float64bits(left)), uintptr(math.Float64bits(right)), uintptr(math.Float64bits(bottom)), uintptr(math.Float64bits(top)), uintptr(math.Float64bits(zNear)), uintptr(math.Float64bits(zFar)), 0, 0) -} -func MatrixPopEXT(mode uint32) { - syscall.Syscall(gpMatrixPopEXT, 1, uintptr(mode), 0, 0) -} -func MatrixPushEXT(mode uint32) { - syscall.Syscall(gpMatrixPushEXT, 1, uintptr(mode), 0, 0) -} -func MatrixRotatedEXT(mode uint32, angle float64, x float64, y float64, z float64) { - syscall.Syscall6(gpMatrixRotatedEXT, 5, uintptr(mode), uintptr(math.Float64bits(angle)), uintptr(math.Float64bits(x)), uintptr(math.Float64bits(y)), uintptr(math.Float64bits(z)), 0) -} -func MatrixRotatefEXT(mode uint32, angle float32, x float32, y float32, z float32) { - syscall.Syscall6(gpMatrixRotatefEXT, 5, uintptr(mode), uintptr(math.Float32bits(angle)), uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y)), uintptr(math.Float32bits(z)), 0) -} -func MatrixScaledEXT(mode uint32, x float64, y float64, z float64) { - syscall.Syscall6(gpMatrixScaledEXT, 4, uintptr(mode), uintptr(math.Float64bits(x)), uintptr(math.Float64bits(y)), uintptr(math.Float64bits(z)), 0, 0) -} -func MatrixScalefEXT(mode uint32, x float32, y float32, z float32) { - syscall.Syscall6(gpMatrixScalefEXT, 4, uintptr(mode), uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y)), uintptr(math.Float32bits(z)), 0, 0) -} -func MatrixTranslatedEXT(mode uint32, x float64, y float64, z float64) { - syscall.Syscall6(gpMatrixTranslatedEXT, 4, uintptr(mode), uintptr(math.Float64bits(x)), uintptr(math.Float64bits(y)), uintptr(math.Float64bits(z)), 0, 0) -} -func MatrixTranslatefEXT(mode uint32, x float32, y float32, z float32) { - syscall.Syscall6(gpMatrixTranslatefEXT, 4, uintptr(mode), uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y)), uintptr(math.Float32bits(z)), 0, 0) -} -func MaxShaderCompilerThreadsARB(count uint32) { - syscall.Syscall(gpMaxShaderCompilerThreadsARB, 1, uintptr(count), 0, 0) -} -func MaxShaderCompilerThreadsKHR(count uint32) { - syscall.Syscall(gpMaxShaderCompilerThreadsKHR, 1, uintptr(count), 0, 0) -} - -// defines a barrier ordering memory transactions -func MemoryBarrier(barriers uint32) { - syscall.Syscall(gpMemoryBarrier, 1, uintptr(barriers), 0, 0) -} -func MemoryBarrierByRegion(barriers uint32) { - syscall.Syscall(gpMemoryBarrierByRegion, 1, uintptr(barriers), 0, 0) -} -func MemoryBarrierEXT(barriers uint32) { - syscall.Syscall(gpMemoryBarrierEXT, 1, uintptr(barriers), 0, 0) -} -func MemoryObjectParameterivEXT(memoryObject uint32, pname uint32, params *int32) { - syscall.Syscall(gpMemoryObjectParameterivEXT, 3, uintptr(memoryObject), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func MinSampleShadingARB(value float32) { - syscall.Syscall(gpMinSampleShadingARB, 1, uintptr(math.Float32bits(value)), 0, 0) -} -func MinmaxEXT(target uint32, internalformat uint32, sink bool) { - syscall.Syscall(gpMinmaxEXT, 3, uintptr(target), uintptr(internalformat), boolToUintptr(sink)) -} -func MultMatrixd(m *float64) { - syscall.Syscall(gpMultMatrixd, 1, uintptr(unsafe.Pointer(m)), 0, 0) -} -func MultMatrixf(m *float32) { - syscall.Syscall(gpMultMatrixf, 1, uintptr(unsafe.Pointer(m)), 0, 0) -} -func MultMatrixxOES(m *int32) { - syscall.Syscall(gpMultMatrixxOES, 1, uintptr(unsafe.Pointer(m)), 0, 0) -} -func MultTransposeMatrixd(m *float64) { - syscall.Syscall(gpMultTransposeMatrixd, 1, uintptr(unsafe.Pointer(m)), 0, 0) -} -func MultTransposeMatrixdARB(m *float64) { - syscall.Syscall(gpMultTransposeMatrixdARB, 1, uintptr(unsafe.Pointer(m)), 0, 0) -} -func MultTransposeMatrixf(m *float32) { - syscall.Syscall(gpMultTransposeMatrixf, 1, uintptr(unsafe.Pointer(m)), 0, 0) -} -func MultTransposeMatrixfARB(m *float32) { - syscall.Syscall(gpMultTransposeMatrixfARB, 1, uintptr(unsafe.Pointer(m)), 0, 0) -} -func MultTransposeMatrixxOES(m *int32) { - syscall.Syscall(gpMultTransposeMatrixxOES, 1, uintptr(unsafe.Pointer(m)), 0, 0) -} - -// render multiple sets of primitives from array data -func MultiDrawArrays(mode uint32, first *int32, count *int32, drawcount int32) { - syscall.Syscall6(gpMultiDrawArrays, 4, uintptr(mode), uintptr(unsafe.Pointer(first)), uintptr(unsafe.Pointer(count)), uintptr(drawcount), 0, 0) -} -func MultiDrawArraysEXT(mode uint32, first *int32, count *int32, primcount int32) { - syscall.Syscall6(gpMultiDrawArraysEXT, 4, uintptr(mode), uintptr(unsafe.Pointer(first)), uintptr(unsafe.Pointer(count)), uintptr(primcount), 0, 0) -} - -// render multiple sets of primitives from array data, taking parameters from memory -func MultiDrawArraysIndirect(mode uint32, indirect unsafe.Pointer, drawcount int32, stride int32) { - syscall.Syscall6(gpMultiDrawArraysIndirect, 4, uintptr(mode), uintptr(indirect), uintptr(drawcount), uintptr(stride), 0, 0) -} -func MultiDrawArraysIndirectAMD(mode uint32, indirect unsafe.Pointer, primcount int32, stride int32) { - syscall.Syscall6(gpMultiDrawArraysIndirectAMD, 4, uintptr(mode), uintptr(indirect), uintptr(primcount), uintptr(stride), 0, 0) -} -func MultiDrawArraysIndirectBindlessCountNV(mode uint32, indirect unsafe.Pointer, drawCount int32, maxDrawCount int32, stride int32, vertexBufferCount int32) { - syscall.Syscall6(gpMultiDrawArraysIndirectBindlessCountNV, 6, uintptr(mode), uintptr(indirect), uintptr(drawCount), uintptr(maxDrawCount), uintptr(stride), uintptr(vertexBufferCount)) -} -func MultiDrawArraysIndirectBindlessNV(mode uint32, indirect unsafe.Pointer, drawCount int32, stride int32, vertexBufferCount int32) { - syscall.Syscall6(gpMultiDrawArraysIndirectBindlessNV, 5, uintptr(mode), uintptr(indirect), uintptr(drawCount), uintptr(stride), uintptr(vertexBufferCount), 0) -} -func MultiDrawArraysIndirectCountARB(mode uint32, indirect unsafe.Pointer, drawcount int, maxdrawcount int32, stride int32) { - syscall.Syscall6(gpMultiDrawArraysIndirectCountARB, 5, uintptr(mode), uintptr(indirect), uintptr(drawcount), uintptr(maxdrawcount), uintptr(stride), 0) -} -func MultiDrawElementArrayAPPLE(mode uint32, first *int32, count *int32, primcount int32) { - syscall.Syscall6(gpMultiDrawElementArrayAPPLE, 4, uintptr(mode), uintptr(unsafe.Pointer(first)), uintptr(unsafe.Pointer(count)), uintptr(primcount), 0, 0) -} - -// render multiple sets of primitives by specifying indices of array data elements -func MultiDrawElements(mode uint32, count *int32, xtype uint32, indices *unsafe.Pointer, drawcount int32) { - syscall.Syscall6(gpMultiDrawElements, 5, uintptr(mode), uintptr(unsafe.Pointer(count)), uintptr(xtype), uintptr(unsafe.Pointer(indices)), uintptr(drawcount), 0) -} - -// render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index -func MultiDrawElementsBaseVertex(mode uint32, count *int32, xtype uint32, indices *unsafe.Pointer, drawcount int32, basevertex *int32) { - syscall.Syscall6(gpMultiDrawElementsBaseVertex, 6, uintptr(mode), uintptr(unsafe.Pointer(count)), uintptr(xtype), uintptr(unsafe.Pointer(indices)), uintptr(drawcount), uintptr(unsafe.Pointer(basevertex))) -} -func MultiDrawElementsEXT(mode uint32, count *int32, xtype uint32, indices *unsafe.Pointer, primcount int32) { - syscall.Syscall6(gpMultiDrawElementsEXT, 5, uintptr(mode), uintptr(unsafe.Pointer(count)), uintptr(xtype), uintptr(unsafe.Pointer(indices)), uintptr(primcount), 0) -} - -// render indexed primitives from array data, taking parameters from memory -func MultiDrawElementsIndirect(mode uint32, xtype uint32, indirect unsafe.Pointer, drawcount int32, stride int32) { - syscall.Syscall6(gpMultiDrawElementsIndirect, 5, uintptr(mode), uintptr(xtype), uintptr(indirect), uintptr(drawcount), uintptr(stride), 0) -} -func MultiDrawElementsIndirectAMD(mode uint32, xtype uint32, indirect unsafe.Pointer, primcount int32, stride int32) { - syscall.Syscall6(gpMultiDrawElementsIndirectAMD, 5, uintptr(mode), uintptr(xtype), uintptr(indirect), uintptr(primcount), uintptr(stride), 0) -} -func MultiDrawElementsIndirectBindlessCountNV(mode uint32, xtype uint32, indirect unsafe.Pointer, drawCount int32, maxDrawCount int32, stride int32, vertexBufferCount int32) { - syscall.Syscall9(gpMultiDrawElementsIndirectBindlessCountNV, 7, uintptr(mode), uintptr(xtype), uintptr(indirect), uintptr(drawCount), uintptr(maxDrawCount), uintptr(stride), uintptr(vertexBufferCount), 0, 0) -} -func MultiDrawElementsIndirectBindlessNV(mode uint32, xtype uint32, indirect unsafe.Pointer, drawCount int32, stride int32, vertexBufferCount int32) { - syscall.Syscall6(gpMultiDrawElementsIndirectBindlessNV, 6, uintptr(mode), uintptr(xtype), uintptr(indirect), uintptr(drawCount), uintptr(stride), uintptr(vertexBufferCount)) -} -func MultiDrawElementsIndirectCountARB(mode uint32, xtype uint32, indirect unsafe.Pointer, drawcount int, maxdrawcount int32, stride int32) { - syscall.Syscall6(gpMultiDrawElementsIndirectCountARB, 6, uintptr(mode), uintptr(xtype), uintptr(indirect), uintptr(drawcount), uintptr(maxdrawcount), uintptr(stride)) -} -func MultiDrawRangeElementArrayAPPLE(mode uint32, start uint32, end uint32, first *int32, count *int32, primcount int32) { - syscall.Syscall6(gpMultiDrawRangeElementArrayAPPLE, 6, uintptr(mode), uintptr(start), uintptr(end), uintptr(unsafe.Pointer(first)), uintptr(unsafe.Pointer(count)), uintptr(primcount)) -} -func MultiModeDrawArraysIBM(mode *uint32, first *int32, count *int32, primcount int32, modestride int32) { - syscall.Syscall6(gpMultiModeDrawArraysIBM, 5, uintptr(unsafe.Pointer(mode)), uintptr(unsafe.Pointer(first)), uintptr(unsafe.Pointer(count)), uintptr(primcount), uintptr(modestride), 0) -} -func MultiModeDrawElementsIBM(mode *uint32, count *int32, xtype uint32, indices *unsafe.Pointer, primcount int32, modestride int32) { - syscall.Syscall6(gpMultiModeDrawElementsIBM, 6, uintptr(unsafe.Pointer(mode)), uintptr(unsafe.Pointer(count)), uintptr(xtype), uintptr(unsafe.Pointer(indices)), uintptr(primcount), uintptr(modestride)) -} -func MultiTexBufferEXT(texunit uint32, target uint32, internalformat uint32, buffer uint32) { - syscall.Syscall6(gpMultiTexBufferEXT, 4, uintptr(texunit), uintptr(target), uintptr(internalformat), uintptr(buffer), 0, 0) -} -func MultiTexCoord1bOES(texture uint32, s int8) { - syscall.Syscall(gpMultiTexCoord1bOES, 2, uintptr(texture), uintptr(s), 0) -} -func MultiTexCoord1bvOES(texture uint32, coords *int8) { - syscall.Syscall(gpMultiTexCoord1bvOES, 2, uintptr(texture), uintptr(unsafe.Pointer(coords)), 0) -} -func MultiTexCoord1d(target uint32, s float64) { - syscall.Syscall(gpMultiTexCoord1d, 2, uintptr(target), uintptr(math.Float64bits(s)), 0) -} -func MultiTexCoord1dARB(target uint32, s float64) { - syscall.Syscall(gpMultiTexCoord1dARB, 2, uintptr(target), uintptr(math.Float64bits(s)), 0) -} -func MultiTexCoord1dv(target uint32, v *float64) { - syscall.Syscall(gpMultiTexCoord1dv, 2, uintptr(target), uintptr(unsafe.Pointer(v)), 0) -} -func MultiTexCoord1dvARB(target uint32, v *float64) { - syscall.Syscall(gpMultiTexCoord1dvARB, 2, uintptr(target), uintptr(unsafe.Pointer(v)), 0) -} -func MultiTexCoord1f(target uint32, s float32) { - syscall.Syscall(gpMultiTexCoord1f, 2, uintptr(target), uintptr(math.Float32bits(s)), 0) -} -func MultiTexCoord1fARB(target uint32, s float32) { - syscall.Syscall(gpMultiTexCoord1fARB, 2, uintptr(target), uintptr(math.Float32bits(s)), 0) -} -func MultiTexCoord1fv(target uint32, v *float32) { - syscall.Syscall(gpMultiTexCoord1fv, 2, uintptr(target), uintptr(unsafe.Pointer(v)), 0) -} -func MultiTexCoord1fvARB(target uint32, v *float32) { - syscall.Syscall(gpMultiTexCoord1fvARB, 2, uintptr(target), uintptr(unsafe.Pointer(v)), 0) -} -func MultiTexCoord1hNV(target uint32, s uint16) { - syscall.Syscall(gpMultiTexCoord1hNV, 2, uintptr(target), uintptr(s), 0) -} -func MultiTexCoord1hvNV(target uint32, v *uint16) { - syscall.Syscall(gpMultiTexCoord1hvNV, 2, uintptr(target), uintptr(unsafe.Pointer(v)), 0) -} -func MultiTexCoord1i(target uint32, s int32) { - syscall.Syscall(gpMultiTexCoord1i, 2, uintptr(target), uintptr(s), 0) -} -func MultiTexCoord1iARB(target uint32, s int32) { - syscall.Syscall(gpMultiTexCoord1iARB, 2, uintptr(target), uintptr(s), 0) -} -func MultiTexCoord1iv(target uint32, v *int32) { - syscall.Syscall(gpMultiTexCoord1iv, 2, uintptr(target), uintptr(unsafe.Pointer(v)), 0) -} -func MultiTexCoord1ivARB(target uint32, v *int32) { - syscall.Syscall(gpMultiTexCoord1ivARB, 2, uintptr(target), uintptr(unsafe.Pointer(v)), 0) -} -func MultiTexCoord1s(target uint32, s int16) { - syscall.Syscall(gpMultiTexCoord1s, 2, uintptr(target), uintptr(s), 0) -} -func MultiTexCoord1sARB(target uint32, s int16) { - syscall.Syscall(gpMultiTexCoord1sARB, 2, uintptr(target), uintptr(s), 0) -} -func MultiTexCoord1sv(target uint32, v *int16) { - syscall.Syscall(gpMultiTexCoord1sv, 2, uintptr(target), uintptr(unsafe.Pointer(v)), 0) -} -func MultiTexCoord1svARB(target uint32, v *int16) { - syscall.Syscall(gpMultiTexCoord1svARB, 2, uintptr(target), uintptr(unsafe.Pointer(v)), 0) -} -func MultiTexCoord1xOES(texture uint32, s int32) { - syscall.Syscall(gpMultiTexCoord1xOES, 2, uintptr(texture), uintptr(s), 0) -} -func MultiTexCoord1xvOES(texture uint32, coords *int32) { - syscall.Syscall(gpMultiTexCoord1xvOES, 2, uintptr(texture), uintptr(unsafe.Pointer(coords)), 0) -} -func MultiTexCoord2bOES(texture uint32, s int8, t int8) { - syscall.Syscall(gpMultiTexCoord2bOES, 3, uintptr(texture), uintptr(s), uintptr(t)) -} -func MultiTexCoord2bvOES(texture uint32, coords *int8) { - syscall.Syscall(gpMultiTexCoord2bvOES, 2, uintptr(texture), uintptr(unsafe.Pointer(coords)), 0) -} -func MultiTexCoord2d(target uint32, s float64, t float64) { - syscall.Syscall(gpMultiTexCoord2d, 3, uintptr(target), uintptr(math.Float64bits(s)), uintptr(math.Float64bits(t))) -} -func MultiTexCoord2dARB(target uint32, s float64, t float64) { - syscall.Syscall(gpMultiTexCoord2dARB, 3, uintptr(target), uintptr(math.Float64bits(s)), uintptr(math.Float64bits(t))) -} -func MultiTexCoord2dv(target uint32, v *float64) { - syscall.Syscall(gpMultiTexCoord2dv, 2, uintptr(target), uintptr(unsafe.Pointer(v)), 0) -} -func MultiTexCoord2dvARB(target uint32, v *float64) { - syscall.Syscall(gpMultiTexCoord2dvARB, 2, uintptr(target), uintptr(unsafe.Pointer(v)), 0) -} -func MultiTexCoord2f(target uint32, s float32, t float32) { - syscall.Syscall(gpMultiTexCoord2f, 3, uintptr(target), uintptr(math.Float32bits(s)), uintptr(math.Float32bits(t))) -} -func MultiTexCoord2fARB(target uint32, s float32, t float32) { - syscall.Syscall(gpMultiTexCoord2fARB, 3, uintptr(target), uintptr(math.Float32bits(s)), uintptr(math.Float32bits(t))) -} -func MultiTexCoord2fv(target uint32, v *float32) { - syscall.Syscall(gpMultiTexCoord2fv, 2, uintptr(target), uintptr(unsafe.Pointer(v)), 0) -} -func MultiTexCoord2fvARB(target uint32, v *float32) { - syscall.Syscall(gpMultiTexCoord2fvARB, 2, uintptr(target), uintptr(unsafe.Pointer(v)), 0) -} -func MultiTexCoord2hNV(target uint32, s uint16, t uint16) { - syscall.Syscall(gpMultiTexCoord2hNV, 3, uintptr(target), uintptr(s), uintptr(t)) -} -func MultiTexCoord2hvNV(target uint32, v *uint16) { - syscall.Syscall(gpMultiTexCoord2hvNV, 2, uintptr(target), uintptr(unsafe.Pointer(v)), 0) -} -func MultiTexCoord2i(target uint32, s int32, t int32) { - syscall.Syscall(gpMultiTexCoord2i, 3, uintptr(target), uintptr(s), uintptr(t)) -} -func MultiTexCoord2iARB(target uint32, s int32, t int32) { - syscall.Syscall(gpMultiTexCoord2iARB, 3, uintptr(target), uintptr(s), uintptr(t)) -} -func MultiTexCoord2iv(target uint32, v *int32) { - syscall.Syscall(gpMultiTexCoord2iv, 2, uintptr(target), uintptr(unsafe.Pointer(v)), 0) -} -func MultiTexCoord2ivARB(target uint32, v *int32) { - syscall.Syscall(gpMultiTexCoord2ivARB, 2, uintptr(target), uintptr(unsafe.Pointer(v)), 0) -} -func MultiTexCoord2s(target uint32, s int16, t int16) { - syscall.Syscall(gpMultiTexCoord2s, 3, uintptr(target), uintptr(s), uintptr(t)) -} -func MultiTexCoord2sARB(target uint32, s int16, t int16) { - syscall.Syscall(gpMultiTexCoord2sARB, 3, uintptr(target), uintptr(s), uintptr(t)) -} -func MultiTexCoord2sv(target uint32, v *int16) { - syscall.Syscall(gpMultiTexCoord2sv, 2, uintptr(target), uintptr(unsafe.Pointer(v)), 0) -} -func MultiTexCoord2svARB(target uint32, v *int16) { - syscall.Syscall(gpMultiTexCoord2svARB, 2, uintptr(target), uintptr(unsafe.Pointer(v)), 0) -} -func MultiTexCoord2xOES(texture uint32, s int32, t int32) { - syscall.Syscall(gpMultiTexCoord2xOES, 3, uintptr(texture), uintptr(s), uintptr(t)) -} -func MultiTexCoord2xvOES(texture uint32, coords *int32) { - syscall.Syscall(gpMultiTexCoord2xvOES, 2, uintptr(texture), uintptr(unsafe.Pointer(coords)), 0) -} -func MultiTexCoord3bOES(texture uint32, s int8, t int8, r int8) { - syscall.Syscall6(gpMultiTexCoord3bOES, 4, uintptr(texture), uintptr(s), uintptr(t), uintptr(r), 0, 0) -} -func MultiTexCoord3bvOES(texture uint32, coords *int8) { - syscall.Syscall(gpMultiTexCoord3bvOES, 2, uintptr(texture), uintptr(unsafe.Pointer(coords)), 0) -} -func MultiTexCoord3d(target uint32, s float64, t float64, r float64) { - syscall.Syscall6(gpMultiTexCoord3d, 4, uintptr(target), uintptr(math.Float64bits(s)), uintptr(math.Float64bits(t)), uintptr(math.Float64bits(r)), 0, 0) -} -func MultiTexCoord3dARB(target uint32, s float64, t float64, r float64) { - syscall.Syscall6(gpMultiTexCoord3dARB, 4, uintptr(target), uintptr(math.Float64bits(s)), uintptr(math.Float64bits(t)), uintptr(math.Float64bits(r)), 0, 0) -} -func MultiTexCoord3dv(target uint32, v *float64) { - syscall.Syscall(gpMultiTexCoord3dv, 2, uintptr(target), uintptr(unsafe.Pointer(v)), 0) -} -func MultiTexCoord3dvARB(target uint32, v *float64) { - syscall.Syscall(gpMultiTexCoord3dvARB, 2, uintptr(target), uintptr(unsafe.Pointer(v)), 0) -} -func MultiTexCoord3f(target uint32, s float32, t float32, r float32) { - syscall.Syscall6(gpMultiTexCoord3f, 4, uintptr(target), uintptr(math.Float32bits(s)), uintptr(math.Float32bits(t)), uintptr(math.Float32bits(r)), 0, 0) -} -func MultiTexCoord3fARB(target uint32, s float32, t float32, r float32) { - syscall.Syscall6(gpMultiTexCoord3fARB, 4, uintptr(target), uintptr(math.Float32bits(s)), uintptr(math.Float32bits(t)), uintptr(math.Float32bits(r)), 0, 0) -} -func MultiTexCoord3fv(target uint32, v *float32) { - syscall.Syscall(gpMultiTexCoord3fv, 2, uintptr(target), uintptr(unsafe.Pointer(v)), 0) -} -func MultiTexCoord3fvARB(target uint32, v *float32) { - syscall.Syscall(gpMultiTexCoord3fvARB, 2, uintptr(target), uintptr(unsafe.Pointer(v)), 0) -} -func MultiTexCoord3hNV(target uint32, s uint16, t uint16, r uint16) { - syscall.Syscall6(gpMultiTexCoord3hNV, 4, uintptr(target), uintptr(s), uintptr(t), uintptr(r), 0, 0) -} -func MultiTexCoord3hvNV(target uint32, v *uint16) { - syscall.Syscall(gpMultiTexCoord3hvNV, 2, uintptr(target), uintptr(unsafe.Pointer(v)), 0) -} -func MultiTexCoord3i(target uint32, s int32, t int32, r int32) { - syscall.Syscall6(gpMultiTexCoord3i, 4, uintptr(target), uintptr(s), uintptr(t), uintptr(r), 0, 0) -} -func MultiTexCoord3iARB(target uint32, s int32, t int32, r int32) { - syscall.Syscall6(gpMultiTexCoord3iARB, 4, uintptr(target), uintptr(s), uintptr(t), uintptr(r), 0, 0) -} -func MultiTexCoord3iv(target uint32, v *int32) { - syscall.Syscall(gpMultiTexCoord3iv, 2, uintptr(target), uintptr(unsafe.Pointer(v)), 0) -} -func MultiTexCoord3ivARB(target uint32, v *int32) { - syscall.Syscall(gpMultiTexCoord3ivARB, 2, uintptr(target), uintptr(unsafe.Pointer(v)), 0) -} -func MultiTexCoord3s(target uint32, s int16, t int16, r int16) { - syscall.Syscall6(gpMultiTexCoord3s, 4, uintptr(target), uintptr(s), uintptr(t), uintptr(r), 0, 0) -} -func MultiTexCoord3sARB(target uint32, s int16, t int16, r int16) { - syscall.Syscall6(gpMultiTexCoord3sARB, 4, uintptr(target), uintptr(s), uintptr(t), uintptr(r), 0, 0) -} -func MultiTexCoord3sv(target uint32, v *int16) { - syscall.Syscall(gpMultiTexCoord3sv, 2, uintptr(target), uintptr(unsafe.Pointer(v)), 0) -} -func MultiTexCoord3svARB(target uint32, v *int16) { - syscall.Syscall(gpMultiTexCoord3svARB, 2, uintptr(target), uintptr(unsafe.Pointer(v)), 0) -} -func MultiTexCoord3xOES(texture uint32, s int32, t int32, r int32) { - syscall.Syscall6(gpMultiTexCoord3xOES, 4, uintptr(texture), uintptr(s), uintptr(t), uintptr(r), 0, 0) -} -func MultiTexCoord3xvOES(texture uint32, coords *int32) { - syscall.Syscall(gpMultiTexCoord3xvOES, 2, uintptr(texture), uintptr(unsafe.Pointer(coords)), 0) -} -func MultiTexCoord4bOES(texture uint32, s int8, t int8, r int8, q int8) { - syscall.Syscall6(gpMultiTexCoord4bOES, 5, uintptr(texture), uintptr(s), uintptr(t), uintptr(r), uintptr(q), 0) -} -func MultiTexCoord4bvOES(texture uint32, coords *int8) { - syscall.Syscall(gpMultiTexCoord4bvOES, 2, uintptr(texture), uintptr(unsafe.Pointer(coords)), 0) -} -func MultiTexCoord4d(target uint32, s float64, t float64, r float64, q float64) { - syscall.Syscall6(gpMultiTexCoord4d, 5, uintptr(target), uintptr(math.Float64bits(s)), uintptr(math.Float64bits(t)), uintptr(math.Float64bits(r)), uintptr(math.Float64bits(q)), 0) -} -func MultiTexCoord4dARB(target uint32, s float64, t float64, r float64, q float64) { - syscall.Syscall6(gpMultiTexCoord4dARB, 5, uintptr(target), uintptr(math.Float64bits(s)), uintptr(math.Float64bits(t)), uintptr(math.Float64bits(r)), uintptr(math.Float64bits(q)), 0) -} -func MultiTexCoord4dv(target uint32, v *float64) { - syscall.Syscall(gpMultiTexCoord4dv, 2, uintptr(target), uintptr(unsafe.Pointer(v)), 0) -} -func MultiTexCoord4dvARB(target uint32, v *float64) { - syscall.Syscall(gpMultiTexCoord4dvARB, 2, uintptr(target), uintptr(unsafe.Pointer(v)), 0) -} -func MultiTexCoord4f(target uint32, s float32, t float32, r float32, q float32) { - syscall.Syscall6(gpMultiTexCoord4f, 5, uintptr(target), uintptr(math.Float32bits(s)), uintptr(math.Float32bits(t)), uintptr(math.Float32bits(r)), uintptr(math.Float32bits(q)), 0) -} -func MultiTexCoord4fARB(target uint32, s float32, t float32, r float32, q float32) { - syscall.Syscall6(gpMultiTexCoord4fARB, 5, uintptr(target), uintptr(math.Float32bits(s)), uintptr(math.Float32bits(t)), uintptr(math.Float32bits(r)), uintptr(math.Float32bits(q)), 0) -} -func MultiTexCoord4fv(target uint32, v *float32) { - syscall.Syscall(gpMultiTexCoord4fv, 2, uintptr(target), uintptr(unsafe.Pointer(v)), 0) -} -func MultiTexCoord4fvARB(target uint32, v *float32) { - syscall.Syscall(gpMultiTexCoord4fvARB, 2, uintptr(target), uintptr(unsafe.Pointer(v)), 0) -} -func MultiTexCoord4hNV(target uint32, s uint16, t uint16, r uint16, q uint16) { - syscall.Syscall6(gpMultiTexCoord4hNV, 5, uintptr(target), uintptr(s), uintptr(t), uintptr(r), uintptr(q), 0) -} -func MultiTexCoord4hvNV(target uint32, v *uint16) { - syscall.Syscall(gpMultiTexCoord4hvNV, 2, uintptr(target), uintptr(unsafe.Pointer(v)), 0) -} -func MultiTexCoord4i(target uint32, s int32, t int32, r int32, q int32) { - syscall.Syscall6(gpMultiTexCoord4i, 5, uintptr(target), uintptr(s), uintptr(t), uintptr(r), uintptr(q), 0) -} -func MultiTexCoord4iARB(target uint32, s int32, t int32, r int32, q int32) { - syscall.Syscall6(gpMultiTexCoord4iARB, 5, uintptr(target), uintptr(s), uintptr(t), uintptr(r), uintptr(q), 0) -} -func MultiTexCoord4iv(target uint32, v *int32) { - syscall.Syscall(gpMultiTexCoord4iv, 2, uintptr(target), uintptr(unsafe.Pointer(v)), 0) -} -func MultiTexCoord4ivARB(target uint32, v *int32) { - syscall.Syscall(gpMultiTexCoord4ivARB, 2, uintptr(target), uintptr(unsafe.Pointer(v)), 0) -} -func MultiTexCoord4s(target uint32, s int16, t int16, r int16, q int16) { - syscall.Syscall6(gpMultiTexCoord4s, 5, uintptr(target), uintptr(s), uintptr(t), uintptr(r), uintptr(q), 0) -} -func MultiTexCoord4sARB(target uint32, s int16, t int16, r int16, q int16) { - syscall.Syscall6(gpMultiTexCoord4sARB, 5, uintptr(target), uintptr(s), uintptr(t), uintptr(r), uintptr(q), 0) -} -func MultiTexCoord4sv(target uint32, v *int16) { - syscall.Syscall(gpMultiTexCoord4sv, 2, uintptr(target), uintptr(unsafe.Pointer(v)), 0) -} -func MultiTexCoord4svARB(target uint32, v *int16) { - syscall.Syscall(gpMultiTexCoord4svARB, 2, uintptr(target), uintptr(unsafe.Pointer(v)), 0) -} -func MultiTexCoord4xOES(texture uint32, s int32, t int32, r int32, q int32) { - syscall.Syscall6(gpMultiTexCoord4xOES, 5, uintptr(texture), uintptr(s), uintptr(t), uintptr(r), uintptr(q), 0) -} -func MultiTexCoord4xvOES(texture uint32, coords *int32) { - syscall.Syscall(gpMultiTexCoord4xvOES, 2, uintptr(texture), uintptr(unsafe.Pointer(coords)), 0) -} -func MultiTexCoordPointerEXT(texunit uint32, size int32, xtype uint32, stride int32, pointer unsafe.Pointer) { - syscall.Syscall6(gpMultiTexCoordPointerEXT, 5, uintptr(texunit), uintptr(size), uintptr(xtype), uintptr(stride), uintptr(pointer), 0) -} -func MultiTexEnvfEXT(texunit uint32, target uint32, pname uint32, param float32) { - syscall.Syscall6(gpMultiTexEnvfEXT, 4, uintptr(texunit), uintptr(target), uintptr(pname), uintptr(math.Float32bits(param)), 0, 0) -} -func MultiTexEnvfvEXT(texunit uint32, target uint32, pname uint32, params *float32) { - syscall.Syscall6(gpMultiTexEnvfvEXT, 4, uintptr(texunit), uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} -func MultiTexEnviEXT(texunit uint32, target uint32, pname uint32, param int32) { - syscall.Syscall6(gpMultiTexEnviEXT, 4, uintptr(texunit), uintptr(target), uintptr(pname), uintptr(param), 0, 0) -} -func MultiTexEnvivEXT(texunit uint32, target uint32, pname uint32, params *int32) { - syscall.Syscall6(gpMultiTexEnvivEXT, 4, uintptr(texunit), uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} -func MultiTexGendEXT(texunit uint32, coord uint32, pname uint32, param float64) { - syscall.Syscall6(gpMultiTexGendEXT, 4, uintptr(texunit), uintptr(coord), uintptr(pname), uintptr(math.Float64bits(param)), 0, 0) -} -func MultiTexGendvEXT(texunit uint32, coord uint32, pname uint32, params *float64) { - syscall.Syscall6(gpMultiTexGendvEXT, 4, uintptr(texunit), uintptr(coord), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} -func MultiTexGenfEXT(texunit uint32, coord uint32, pname uint32, param float32) { - syscall.Syscall6(gpMultiTexGenfEXT, 4, uintptr(texunit), uintptr(coord), uintptr(pname), uintptr(math.Float32bits(param)), 0, 0) -} -func MultiTexGenfvEXT(texunit uint32, coord uint32, pname uint32, params *float32) { - syscall.Syscall6(gpMultiTexGenfvEXT, 4, uintptr(texunit), uintptr(coord), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} -func MultiTexGeniEXT(texunit uint32, coord uint32, pname uint32, param int32) { - syscall.Syscall6(gpMultiTexGeniEXT, 4, uintptr(texunit), uintptr(coord), uintptr(pname), uintptr(param), 0, 0) -} -func MultiTexGenivEXT(texunit uint32, coord uint32, pname uint32, params *int32) { - syscall.Syscall6(gpMultiTexGenivEXT, 4, uintptr(texunit), uintptr(coord), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} -func MultiTexImage1DEXT(texunit uint32, target uint32, level int32, internalformat int32, width int32, border int32, format uint32, xtype uint32, pixels unsafe.Pointer) { - syscall.Syscall9(gpMultiTexImage1DEXT, 9, uintptr(texunit), uintptr(target), uintptr(level), uintptr(internalformat), uintptr(width), uintptr(border), uintptr(format), uintptr(xtype), uintptr(pixels)) -} -func MultiTexImage2DEXT(texunit uint32, target uint32, level int32, internalformat int32, width int32, height int32, border int32, format uint32, xtype uint32, pixels unsafe.Pointer) { - syscall.Syscall12(gpMultiTexImage2DEXT, 10, uintptr(texunit), uintptr(target), uintptr(level), uintptr(internalformat), uintptr(width), uintptr(height), uintptr(border), uintptr(format), uintptr(xtype), uintptr(pixels), 0, 0) -} -func MultiTexImage3DEXT(texunit uint32, target uint32, level int32, internalformat int32, width int32, height int32, depth int32, border int32, format uint32, xtype uint32, pixels unsafe.Pointer) { - syscall.Syscall12(gpMultiTexImage3DEXT, 11, uintptr(texunit), uintptr(target), uintptr(level), uintptr(internalformat), uintptr(width), uintptr(height), uintptr(depth), uintptr(border), uintptr(format), uintptr(xtype), uintptr(pixels), 0) -} -func MultiTexParameterIivEXT(texunit uint32, target uint32, pname uint32, params *int32) { - syscall.Syscall6(gpMultiTexParameterIivEXT, 4, uintptr(texunit), uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} -func MultiTexParameterIuivEXT(texunit uint32, target uint32, pname uint32, params *uint32) { - syscall.Syscall6(gpMultiTexParameterIuivEXT, 4, uintptr(texunit), uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} -func MultiTexParameterfEXT(texunit uint32, target uint32, pname uint32, param float32) { - syscall.Syscall6(gpMultiTexParameterfEXT, 4, uintptr(texunit), uintptr(target), uintptr(pname), uintptr(math.Float32bits(param)), 0, 0) -} -func MultiTexParameterfvEXT(texunit uint32, target uint32, pname uint32, params *float32) { - syscall.Syscall6(gpMultiTexParameterfvEXT, 4, uintptr(texunit), uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} -func MultiTexParameteriEXT(texunit uint32, target uint32, pname uint32, param int32) { - syscall.Syscall6(gpMultiTexParameteriEXT, 4, uintptr(texunit), uintptr(target), uintptr(pname), uintptr(param), 0, 0) -} -func MultiTexParameterivEXT(texunit uint32, target uint32, pname uint32, params *int32) { - syscall.Syscall6(gpMultiTexParameterivEXT, 4, uintptr(texunit), uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} -func MultiTexRenderbufferEXT(texunit uint32, target uint32, renderbuffer uint32) { - syscall.Syscall(gpMultiTexRenderbufferEXT, 3, uintptr(texunit), uintptr(target), uintptr(renderbuffer)) -} -func MultiTexSubImage1DEXT(texunit uint32, target uint32, level int32, xoffset int32, width int32, format uint32, xtype uint32, pixels unsafe.Pointer) { - syscall.Syscall9(gpMultiTexSubImage1DEXT, 8, uintptr(texunit), uintptr(target), uintptr(level), uintptr(xoffset), uintptr(width), uintptr(format), uintptr(xtype), uintptr(pixels), 0) -} -func MultiTexSubImage2DEXT(texunit uint32, target uint32, level int32, xoffset int32, yoffset int32, width int32, height int32, format uint32, xtype uint32, pixels unsafe.Pointer) { - syscall.Syscall12(gpMultiTexSubImage2DEXT, 10, uintptr(texunit), uintptr(target), uintptr(level), uintptr(xoffset), uintptr(yoffset), uintptr(width), uintptr(height), uintptr(format), uintptr(xtype), uintptr(pixels), 0, 0) -} -func MultiTexSubImage3DEXT(texunit uint32, target uint32, level int32, xoffset int32, yoffset int32, zoffset int32, width int32, height int32, depth int32, format uint32, xtype uint32, pixels unsafe.Pointer) { - syscall.Syscall12(gpMultiTexSubImage3DEXT, 12, uintptr(texunit), uintptr(target), uintptr(level), uintptr(xoffset), uintptr(yoffset), uintptr(zoffset), uintptr(width), uintptr(height), uintptr(depth), uintptr(format), uintptr(xtype), uintptr(pixels)) -} -func MulticastBarrierNV() { - syscall.Syscall(gpMulticastBarrierNV, 0, 0, 0, 0) -} -func MulticastBlitFramebufferNV(srcGpu uint32, dstGpu uint32, srcX0 int32, srcY0 int32, srcX1 int32, srcY1 int32, dstX0 int32, dstY0 int32, dstX1 int32, dstY1 int32, mask uint32, filter uint32) { - syscall.Syscall12(gpMulticastBlitFramebufferNV, 12, uintptr(srcGpu), uintptr(dstGpu), uintptr(srcX0), uintptr(srcY0), uintptr(srcX1), uintptr(srcY1), uintptr(dstX0), uintptr(dstY0), uintptr(dstX1), uintptr(dstY1), uintptr(mask), uintptr(filter)) -} -func MulticastBufferSubDataNV(gpuMask uint32, buffer uint32, offset int, size int, data unsafe.Pointer) { - syscall.Syscall6(gpMulticastBufferSubDataNV, 5, uintptr(gpuMask), uintptr(buffer), uintptr(offset), uintptr(size), uintptr(data), 0) -} -func MulticastCopyBufferSubDataNV(readGpu uint32, writeGpuMask uint32, readBuffer uint32, writeBuffer uint32, readOffset int, writeOffset int, size int) { - syscall.Syscall9(gpMulticastCopyBufferSubDataNV, 7, uintptr(readGpu), uintptr(writeGpuMask), uintptr(readBuffer), uintptr(writeBuffer), uintptr(readOffset), uintptr(writeOffset), uintptr(size), 0, 0) -} -func MulticastCopyImageSubDataNV(srcGpu uint32, dstGpuMask uint32, srcName uint32, srcTarget uint32, srcLevel int32, srcX int32, srcY int32, srcZ int32, dstName uint32, dstTarget uint32, dstLevel int32, dstX int32, dstY int32, dstZ int32, srcWidth int32, srcHeight int32, srcDepth int32) { - panic("\"MulticastCopyImageSubDataNV\" is not implemented") -} -func MulticastFramebufferSampleLocationsfvNV(gpu uint32, framebuffer uint32, start uint32, count int32, v *float32) { - syscall.Syscall6(gpMulticastFramebufferSampleLocationsfvNV, 5, uintptr(gpu), uintptr(framebuffer), uintptr(start), uintptr(count), uintptr(unsafe.Pointer(v)), 0) -} -func MulticastGetQueryObjecti64vNV(gpu uint32, id uint32, pname uint32, params *int64) { - syscall.Syscall6(gpMulticastGetQueryObjecti64vNV, 4, uintptr(gpu), uintptr(id), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} -func MulticastGetQueryObjectivNV(gpu uint32, id uint32, pname uint32, params *int32) { - syscall.Syscall6(gpMulticastGetQueryObjectivNV, 4, uintptr(gpu), uintptr(id), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} -func MulticastGetQueryObjectui64vNV(gpu uint32, id uint32, pname uint32, params *uint64) { - syscall.Syscall6(gpMulticastGetQueryObjectui64vNV, 4, uintptr(gpu), uintptr(id), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} -func MulticastGetQueryObjectuivNV(gpu uint32, id uint32, pname uint32, params *uint32) { - syscall.Syscall6(gpMulticastGetQueryObjectuivNV, 4, uintptr(gpu), uintptr(id), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} -func MulticastWaitSyncNV(signalGpu uint32, waitGpuMask uint32) { - syscall.Syscall(gpMulticastWaitSyncNV, 2, uintptr(signalGpu), uintptr(waitGpuMask), 0) -} - -// creates and initializes a buffer object's data store -func NamedBufferData(buffer uint32, size int, data unsafe.Pointer, usage uint32) { - syscall.Syscall6(gpNamedBufferData, 4, uintptr(buffer), uintptr(size), uintptr(data), uintptr(usage), 0, 0) -} -func NamedBufferDataEXT(buffer uint32, size int, data unsafe.Pointer, usage uint32) { - syscall.Syscall6(gpNamedBufferDataEXT, 4, uintptr(buffer), uintptr(size), uintptr(data), uintptr(usage), 0, 0) -} -func NamedBufferPageCommitmentARB(buffer uint32, offset int, size int, commit bool) { - syscall.Syscall6(gpNamedBufferPageCommitmentARB, 4, uintptr(buffer), uintptr(offset), uintptr(size), boolToUintptr(commit), 0, 0) -} -func NamedBufferPageCommitmentEXT(buffer uint32, offset int, size int, commit bool) { - syscall.Syscall6(gpNamedBufferPageCommitmentEXT, 4, uintptr(buffer), uintptr(offset), uintptr(size), boolToUintptr(commit), 0, 0) -} - -// creates and initializes a buffer object's immutable data store -func NamedBufferStorage(buffer uint32, size int, data unsafe.Pointer, flags uint32) { - syscall.Syscall6(gpNamedBufferStorage, 4, uintptr(buffer), uintptr(size), uintptr(data), uintptr(flags), 0, 0) -} -func NamedBufferStorageEXT(buffer uint32, size int, data unsafe.Pointer, flags uint32) { - syscall.Syscall6(gpNamedBufferStorageEXT, 4, uintptr(buffer), uintptr(size), uintptr(data), uintptr(flags), 0, 0) -} - -// Parameter clientBuffer has type C.GLeglClientBufferEXT. -func NamedBufferStorageExternalEXT(buffer uint32, offset int, size int, clientBuffer unsafe.Pointer, flags uint32) { - syscall.Syscall6(gpNamedBufferStorageExternalEXT, 5, uintptr(buffer), uintptr(offset), uintptr(size), uintptr(clientBuffer), uintptr(flags), 0) -} -func NamedBufferStorageMemEXT(buffer uint32, size int, memory uint32, offset uint64) { - syscall.Syscall6(gpNamedBufferStorageMemEXT, 4, uintptr(buffer), uintptr(size), uintptr(memory), uintptr(offset), 0, 0) -} - -// updates a subset of a buffer object's data store -func NamedBufferSubData(buffer uint32, offset int, size int, data unsafe.Pointer) { - syscall.Syscall6(gpNamedBufferSubData, 4, uintptr(buffer), uintptr(offset), uintptr(size), uintptr(data), 0, 0) -} -func NamedBufferSubDataEXT(buffer uint32, offset int, size int, data unsafe.Pointer) { - syscall.Syscall6(gpNamedBufferSubDataEXT, 4, uintptr(buffer), uintptr(offset), uintptr(size), uintptr(data), 0, 0) -} -func NamedCopyBufferSubDataEXT(readBuffer uint32, writeBuffer uint32, readOffset int, writeOffset int, size int) { - syscall.Syscall6(gpNamedCopyBufferSubDataEXT, 5, uintptr(readBuffer), uintptr(writeBuffer), uintptr(readOffset), uintptr(writeOffset), uintptr(size), 0) -} - -// specify which color buffers are to be drawn into -func NamedFramebufferDrawBuffer(framebuffer uint32, buf uint32) { - syscall.Syscall(gpNamedFramebufferDrawBuffer, 2, uintptr(framebuffer), uintptr(buf), 0) -} - -// Specifies a list of color buffers to be drawn into -func NamedFramebufferDrawBuffers(framebuffer uint32, n int32, bufs *uint32) { - syscall.Syscall(gpNamedFramebufferDrawBuffers, 3, uintptr(framebuffer), uintptr(n), uintptr(unsafe.Pointer(bufs))) -} - -// set a named parameter of a framebuffer object -func NamedFramebufferParameteri(framebuffer uint32, pname uint32, param int32) { - syscall.Syscall(gpNamedFramebufferParameteri, 3, uintptr(framebuffer), uintptr(pname), uintptr(param)) -} -func NamedFramebufferParameteriEXT(framebuffer uint32, pname uint32, param int32) { - syscall.Syscall(gpNamedFramebufferParameteriEXT, 3, uintptr(framebuffer), uintptr(pname), uintptr(param)) -} - -// select a color buffer source for pixels -func NamedFramebufferReadBuffer(framebuffer uint32, src uint32) { - syscall.Syscall(gpNamedFramebufferReadBuffer, 2, uintptr(framebuffer), uintptr(src), 0) -} - -// attach a renderbuffer as a logical buffer of a framebuffer object -func NamedFramebufferRenderbuffer(framebuffer uint32, attachment uint32, renderbuffertarget uint32, renderbuffer uint32) { - syscall.Syscall6(gpNamedFramebufferRenderbuffer, 4, uintptr(framebuffer), uintptr(attachment), uintptr(renderbuffertarget), uintptr(renderbuffer), 0, 0) -} -func NamedFramebufferRenderbufferEXT(framebuffer uint32, attachment uint32, renderbuffertarget uint32, renderbuffer uint32) { - syscall.Syscall6(gpNamedFramebufferRenderbufferEXT, 4, uintptr(framebuffer), uintptr(attachment), uintptr(renderbuffertarget), uintptr(renderbuffer), 0, 0) -} -func NamedFramebufferSampleLocationsfvARB(framebuffer uint32, start uint32, count int32, v *float32) { - syscall.Syscall6(gpNamedFramebufferSampleLocationsfvARB, 4, uintptr(framebuffer), uintptr(start), uintptr(count), uintptr(unsafe.Pointer(v)), 0, 0) -} -func NamedFramebufferSampleLocationsfvNV(framebuffer uint32, start uint32, count int32, v *float32) { - syscall.Syscall6(gpNamedFramebufferSampleLocationsfvNV, 4, uintptr(framebuffer), uintptr(start), uintptr(count), uintptr(unsafe.Pointer(v)), 0, 0) -} -func NamedFramebufferSamplePositionsfvAMD(framebuffer uint32, numsamples uint32, pixelindex uint32, values *float32) { - syscall.Syscall6(gpNamedFramebufferSamplePositionsfvAMD, 4, uintptr(framebuffer), uintptr(numsamples), uintptr(pixelindex), uintptr(unsafe.Pointer(values)), 0, 0) -} -func NamedFramebufferTexture(framebuffer uint32, attachment uint32, texture uint32, level int32) { - syscall.Syscall6(gpNamedFramebufferTexture, 4, uintptr(framebuffer), uintptr(attachment), uintptr(texture), uintptr(level), 0, 0) -} -func NamedFramebufferTexture1DEXT(framebuffer uint32, attachment uint32, textarget uint32, texture uint32, level int32) { - syscall.Syscall6(gpNamedFramebufferTexture1DEXT, 5, uintptr(framebuffer), uintptr(attachment), uintptr(textarget), uintptr(texture), uintptr(level), 0) -} -func NamedFramebufferTexture2DEXT(framebuffer uint32, attachment uint32, textarget uint32, texture uint32, level int32) { - syscall.Syscall6(gpNamedFramebufferTexture2DEXT, 5, uintptr(framebuffer), uintptr(attachment), uintptr(textarget), uintptr(texture), uintptr(level), 0) -} -func NamedFramebufferTexture3DEXT(framebuffer uint32, attachment uint32, textarget uint32, texture uint32, level int32, zoffset int32) { - syscall.Syscall6(gpNamedFramebufferTexture3DEXT, 6, uintptr(framebuffer), uintptr(attachment), uintptr(textarget), uintptr(texture), uintptr(level), uintptr(zoffset)) -} -func NamedFramebufferTextureEXT(framebuffer uint32, attachment uint32, texture uint32, level int32) { - syscall.Syscall6(gpNamedFramebufferTextureEXT, 4, uintptr(framebuffer), uintptr(attachment), uintptr(texture), uintptr(level), 0, 0) -} -func NamedFramebufferTextureFaceEXT(framebuffer uint32, attachment uint32, texture uint32, level int32, face uint32) { - syscall.Syscall6(gpNamedFramebufferTextureFaceEXT, 5, uintptr(framebuffer), uintptr(attachment), uintptr(texture), uintptr(level), uintptr(face), 0) -} - -// attach a single layer of a texture object as a logical buffer of a framebuffer object -func NamedFramebufferTextureLayer(framebuffer uint32, attachment uint32, texture uint32, level int32, layer int32) { - syscall.Syscall6(gpNamedFramebufferTextureLayer, 5, uintptr(framebuffer), uintptr(attachment), uintptr(texture), uintptr(level), uintptr(layer), 0) -} -func NamedFramebufferTextureLayerEXT(framebuffer uint32, attachment uint32, texture uint32, level int32, layer int32) { - syscall.Syscall6(gpNamedFramebufferTextureLayerEXT, 5, uintptr(framebuffer), uintptr(attachment), uintptr(texture), uintptr(level), uintptr(layer), 0) -} -func NamedProgramLocalParameter4dEXT(program uint32, target uint32, index uint32, x float64, y float64, z float64, w float64) { - syscall.Syscall9(gpNamedProgramLocalParameter4dEXT, 7, uintptr(program), uintptr(target), uintptr(index), uintptr(math.Float64bits(x)), uintptr(math.Float64bits(y)), uintptr(math.Float64bits(z)), uintptr(math.Float64bits(w)), 0, 0) -} -func NamedProgramLocalParameter4dvEXT(program uint32, target uint32, index uint32, params *float64) { - syscall.Syscall6(gpNamedProgramLocalParameter4dvEXT, 4, uintptr(program), uintptr(target), uintptr(index), uintptr(unsafe.Pointer(params)), 0, 0) -} -func NamedProgramLocalParameter4fEXT(program uint32, target uint32, index uint32, x float32, y float32, z float32, w float32) { - syscall.Syscall9(gpNamedProgramLocalParameter4fEXT, 7, uintptr(program), uintptr(target), uintptr(index), uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y)), uintptr(math.Float32bits(z)), uintptr(math.Float32bits(w)), 0, 0) -} -func NamedProgramLocalParameter4fvEXT(program uint32, target uint32, index uint32, params *float32) { - syscall.Syscall6(gpNamedProgramLocalParameter4fvEXT, 4, uintptr(program), uintptr(target), uintptr(index), uintptr(unsafe.Pointer(params)), 0, 0) -} -func NamedProgramLocalParameterI4iEXT(program uint32, target uint32, index uint32, x int32, y int32, z int32, w int32) { - syscall.Syscall9(gpNamedProgramLocalParameterI4iEXT, 7, uintptr(program), uintptr(target), uintptr(index), uintptr(x), uintptr(y), uintptr(z), uintptr(w), 0, 0) -} -func NamedProgramLocalParameterI4ivEXT(program uint32, target uint32, index uint32, params *int32) { - syscall.Syscall6(gpNamedProgramLocalParameterI4ivEXT, 4, uintptr(program), uintptr(target), uintptr(index), uintptr(unsafe.Pointer(params)), 0, 0) -} -func NamedProgramLocalParameterI4uiEXT(program uint32, target uint32, index uint32, x uint32, y uint32, z uint32, w uint32) { - syscall.Syscall9(gpNamedProgramLocalParameterI4uiEXT, 7, uintptr(program), uintptr(target), uintptr(index), uintptr(x), uintptr(y), uintptr(z), uintptr(w), 0, 0) -} -func NamedProgramLocalParameterI4uivEXT(program uint32, target uint32, index uint32, params *uint32) { - syscall.Syscall6(gpNamedProgramLocalParameterI4uivEXT, 4, uintptr(program), uintptr(target), uintptr(index), uintptr(unsafe.Pointer(params)), 0, 0) -} -func NamedProgramLocalParameters4fvEXT(program uint32, target uint32, index uint32, count int32, params *float32) { - syscall.Syscall6(gpNamedProgramLocalParameters4fvEXT, 5, uintptr(program), uintptr(target), uintptr(index), uintptr(count), uintptr(unsafe.Pointer(params)), 0) -} -func NamedProgramLocalParametersI4ivEXT(program uint32, target uint32, index uint32, count int32, params *int32) { - syscall.Syscall6(gpNamedProgramLocalParametersI4ivEXT, 5, uintptr(program), uintptr(target), uintptr(index), uintptr(count), uintptr(unsafe.Pointer(params)), 0) -} -func NamedProgramLocalParametersI4uivEXT(program uint32, target uint32, index uint32, count int32, params *uint32) { - syscall.Syscall6(gpNamedProgramLocalParametersI4uivEXT, 5, uintptr(program), uintptr(target), uintptr(index), uintptr(count), uintptr(unsafe.Pointer(params)), 0) -} -func NamedProgramStringEXT(program uint32, target uint32, format uint32, len int32, xstring unsafe.Pointer) { - syscall.Syscall6(gpNamedProgramStringEXT, 5, uintptr(program), uintptr(target), uintptr(format), uintptr(len), uintptr(xstring), 0) -} - -// establish data storage, format and dimensions of a renderbuffer object's image -func NamedRenderbufferStorage(renderbuffer uint32, internalformat uint32, width int32, height int32) { - syscall.Syscall6(gpNamedRenderbufferStorage, 4, uintptr(renderbuffer), uintptr(internalformat), uintptr(width), uintptr(height), 0, 0) -} -func NamedRenderbufferStorageEXT(renderbuffer uint32, internalformat uint32, width int32, height int32) { - syscall.Syscall6(gpNamedRenderbufferStorageEXT, 4, uintptr(renderbuffer), uintptr(internalformat), uintptr(width), uintptr(height), 0, 0) -} - -// establish data storage, format, dimensions and sample count of a renderbuffer object's image -func NamedRenderbufferStorageMultisample(renderbuffer uint32, samples int32, internalformat uint32, width int32, height int32) { - syscall.Syscall6(gpNamedRenderbufferStorageMultisample, 5, uintptr(renderbuffer), uintptr(samples), uintptr(internalformat), uintptr(width), uintptr(height), 0) -} -func NamedRenderbufferStorageMultisampleCoverageEXT(renderbuffer uint32, coverageSamples int32, colorSamples int32, internalformat uint32, width int32, height int32) { - syscall.Syscall6(gpNamedRenderbufferStorageMultisampleCoverageEXT, 6, uintptr(renderbuffer), uintptr(coverageSamples), uintptr(colorSamples), uintptr(internalformat), uintptr(width), uintptr(height)) -} -func NamedRenderbufferStorageMultisampleEXT(renderbuffer uint32, samples int32, internalformat uint32, width int32, height int32) { - syscall.Syscall6(gpNamedRenderbufferStorageMultisampleEXT, 5, uintptr(renderbuffer), uintptr(samples), uintptr(internalformat), uintptr(width), uintptr(height), 0) -} -func NamedStringARB(xtype uint32, namelen int32, name *uint8, stringlen int32, xstring *uint8) { - syscall.Syscall6(gpNamedStringARB, 5, uintptr(xtype), uintptr(namelen), uintptr(unsafe.Pointer(name)), uintptr(stringlen), uintptr(unsafe.Pointer(xstring)), 0) -} - -// create or replace a display list -func NewList(list uint32, mode uint32) { - syscall.Syscall(gpNewList, 2, uintptr(list), uintptr(mode), 0) -} -func NewObjectBufferATI(size int32, pointer unsafe.Pointer, usage uint32) uint32 { - ret, _, _ := syscall.Syscall(gpNewObjectBufferATI, 3, uintptr(size), uintptr(pointer), uintptr(usage)) - return (uint32)(ret) -} -func Normal3b(nx int8, ny int8, nz int8) { - syscall.Syscall(gpNormal3b, 3, uintptr(nx), uintptr(ny), uintptr(nz)) -} -func Normal3bv(v *int8) { - syscall.Syscall(gpNormal3bv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func Normal3d(nx float64, ny float64, nz float64) { - syscall.Syscall(gpNormal3d, 3, uintptr(math.Float64bits(nx)), uintptr(math.Float64bits(ny)), uintptr(math.Float64bits(nz))) -} -func Normal3dv(v *float64) { - syscall.Syscall(gpNormal3dv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func Normal3f(nx float32, ny float32, nz float32) { - syscall.Syscall(gpNormal3f, 3, uintptr(math.Float32bits(nx)), uintptr(math.Float32bits(ny)), uintptr(math.Float32bits(nz))) -} -func Normal3fVertex3fSUN(nx float32, ny float32, nz float32, x float32, y float32, z float32) { - syscall.Syscall6(gpNormal3fVertex3fSUN, 6, uintptr(math.Float32bits(nx)), uintptr(math.Float32bits(ny)), uintptr(math.Float32bits(nz)), uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y)), uintptr(math.Float32bits(z))) -} -func Normal3fVertex3fvSUN(n *float32, v *float32) { - syscall.Syscall(gpNormal3fVertex3fvSUN, 2, uintptr(unsafe.Pointer(n)), uintptr(unsafe.Pointer(v)), 0) -} -func Normal3fv(v *float32) { - syscall.Syscall(gpNormal3fv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func Normal3hNV(nx uint16, ny uint16, nz uint16) { - syscall.Syscall(gpNormal3hNV, 3, uintptr(nx), uintptr(ny), uintptr(nz)) -} -func Normal3hvNV(v *uint16) { - syscall.Syscall(gpNormal3hvNV, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func Normal3i(nx int32, ny int32, nz int32) { - syscall.Syscall(gpNormal3i, 3, uintptr(nx), uintptr(ny), uintptr(nz)) -} -func Normal3iv(v *int32) { - syscall.Syscall(gpNormal3iv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func Normal3s(nx int16, ny int16, nz int16) { - syscall.Syscall(gpNormal3s, 3, uintptr(nx), uintptr(ny), uintptr(nz)) -} -func Normal3sv(v *int16) { - syscall.Syscall(gpNormal3sv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func Normal3xOES(nx int32, ny int32, nz int32) { - syscall.Syscall(gpNormal3xOES, 3, uintptr(nx), uintptr(ny), uintptr(nz)) -} -func Normal3xvOES(coords *int32) { - syscall.Syscall(gpNormal3xvOES, 1, uintptr(unsafe.Pointer(coords)), 0, 0) -} -func NormalFormatNV(xtype uint32, stride int32) { - syscall.Syscall(gpNormalFormatNV, 2, uintptr(xtype), uintptr(stride), 0) -} - -// define an array of normals -func NormalPointer(xtype uint32, stride int32, pointer unsafe.Pointer) { - syscall.Syscall(gpNormalPointer, 3, uintptr(xtype), uintptr(stride), uintptr(pointer)) -} -func NormalPointerEXT(xtype uint32, stride int32, count int32, pointer unsafe.Pointer) { - syscall.Syscall6(gpNormalPointerEXT, 4, uintptr(xtype), uintptr(stride), uintptr(count), uintptr(pointer), 0, 0) -} -func NormalPointerListIBM(xtype uint32, stride int32, pointer *unsafe.Pointer, ptrstride int32) { - syscall.Syscall6(gpNormalPointerListIBM, 4, uintptr(xtype), uintptr(stride), uintptr(unsafe.Pointer(pointer)), uintptr(ptrstride), 0, 0) -} -func NormalPointervINTEL(xtype uint32, pointer *unsafe.Pointer) { - syscall.Syscall(gpNormalPointervINTEL, 2, uintptr(xtype), uintptr(unsafe.Pointer(pointer)), 0) -} -func NormalStream3bATI(stream uint32, nx int8, ny int8, nz int8) { - syscall.Syscall6(gpNormalStream3bATI, 4, uintptr(stream), uintptr(nx), uintptr(ny), uintptr(nz), 0, 0) -} -func NormalStream3bvATI(stream uint32, coords *int8) { - syscall.Syscall(gpNormalStream3bvATI, 2, uintptr(stream), uintptr(unsafe.Pointer(coords)), 0) -} -func NormalStream3dATI(stream uint32, nx float64, ny float64, nz float64) { - syscall.Syscall6(gpNormalStream3dATI, 4, uintptr(stream), uintptr(math.Float64bits(nx)), uintptr(math.Float64bits(ny)), uintptr(math.Float64bits(nz)), 0, 0) -} -func NormalStream3dvATI(stream uint32, coords *float64) { - syscall.Syscall(gpNormalStream3dvATI, 2, uintptr(stream), uintptr(unsafe.Pointer(coords)), 0) -} -func NormalStream3fATI(stream uint32, nx float32, ny float32, nz float32) { - syscall.Syscall6(gpNormalStream3fATI, 4, uintptr(stream), uintptr(math.Float32bits(nx)), uintptr(math.Float32bits(ny)), uintptr(math.Float32bits(nz)), 0, 0) -} -func NormalStream3fvATI(stream uint32, coords *float32) { - syscall.Syscall(gpNormalStream3fvATI, 2, uintptr(stream), uintptr(unsafe.Pointer(coords)), 0) -} -func NormalStream3iATI(stream uint32, nx int32, ny int32, nz int32) { - syscall.Syscall6(gpNormalStream3iATI, 4, uintptr(stream), uintptr(nx), uintptr(ny), uintptr(nz), 0, 0) -} -func NormalStream3ivATI(stream uint32, coords *int32) { - syscall.Syscall(gpNormalStream3ivATI, 2, uintptr(stream), uintptr(unsafe.Pointer(coords)), 0) -} -func NormalStream3sATI(stream uint32, nx int16, ny int16, nz int16) { - syscall.Syscall6(gpNormalStream3sATI, 4, uintptr(stream), uintptr(nx), uintptr(ny), uintptr(nz), 0, 0) -} -func NormalStream3svATI(stream uint32, coords *int16) { - syscall.Syscall(gpNormalStream3svATI, 2, uintptr(stream), uintptr(unsafe.Pointer(coords)), 0) -} - -// label a named object identified within a namespace -func ObjectLabel(identifier uint32, name uint32, length int32, label *uint8) { - syscall.Syscall6(gpObjectLabel, 4, uintptr(identifier), uintptr(name), uintptr(length), uintptr(unsafe.Pointer(label)), 0, 0) -} -func ObjectLabelKHR(identifier uint32, name uint32, length int32, label *uint8) { - syscall.Syscall6(gpObjectLabelKHR, 4, uintptr(identifier), uintptr(name), uintptr(length), uintptr(unsafe.Pointer(label)), 0, 0) -} - -// label a a sync object identified by a pointer -func ObjectPtrLabel(ptr unsafe.Pointer, length int32, label *uint8) { - syscall.Syscall(gpObjectPtrLabel, 3, uintptr(ptr), uintptr(length), uintptr(unsafe.Pointer(label))) -} -func ObjectPtrLabelKHR(ptr unsafe.Pointer, length int32, label *uint8) { - syscall.Syscall(gpObjectPtrLabelKHR, 3, uintptr(ptr), uintptr(length), uintptr(unsafe.Pointer(label))) -} -func ObjectPurgeableAPPLE(objectType uint32, name uint32, option uint32) uint32 { - ret, _, _ := syscall.Syscall(gpObjectPurgeableAPPLE, 3, uintptr(objectType), uintptr(name), uintptr(option)) - return (uint32)(ret) -} -func ObjectUnpurgeableAPPLE(objectType uint32, name uint32, option uint32) uint32 { - ret, _, _ := syscall.Syscall(gpObjectUnpurgeableAPPLE, 3, uintptr(objectType), uintptr(name), uintptr(option)) - return (uint32)(ret) -} - -// multiply the current matrix with an orthographic matrix -func Ortho(left float64, right float64, bottom float64, top float64, zNear float64, zFar float64) { - syscall.Syscall6(gpOrtho, 6, uintptr(math.Float64bits(left)), uintptr(math.Float64bits(right)), uintptr(math.Float64bits(bottom)), uintptr(math.Float64bits(top)), uintptr(math.Float64bits(zNear)), uintptr(math.Float64bits(zFar))) -} -func OrthofOES(l float32, r float32, b float32, t float32, n float32, f float32) { - syscall.Syscall6(gpOrthofOES, 6, uintptr(math.Float32bits(l)), uintptr(math.Float32bits(r)), uintptr(math.Float32bits(b)), uintptr(math.Float32bits(t)), uintptr(math.Float32bits(n)), uintptr(math.Float32bits(f))) -} -func OrthoxOES(l int32, r int32, b int32, t int32, n int32, f int32) { - syscall.Syscall6(gpOrthoxOES, 6, uintptr(l), uintptr(r), uintptr(b), uintptr(t), uintptr(n), uintptr(f)) -} -func PNTrianglesfATI(pname uint32, param float32) { - syscall.Syscall(gpPNTrianglesfATI, 2, uintptr(pname), uintptr(math.Float32bits(param)), 0) -} -func PNTrianglesiATI(pname uint32, param int32) { - syscall.Syscall(gpPNTrianglesiATI, 2, uintptr(pname), uintptr(param), 0) -} -func PassTexCoordATI(dst uint32, coord uint32, swizzle uint32) { - syscall.Syscall(gpPassTexCoordATI, 3, uintptr(dst), uintptr(coord), uintptr(swizzle)) -} - -// place a marker in the feedback buffer -func PassThrough(token float32) { - syscall.Syscall(gpPassThrough, 1, uintptr(math.Float32bits(token)), 0, 0) -} -func PassThroughxOES(token int32) { - syscall.Syscall(gpPassThroughxOES, 1, uintptr(token), 0, 0) -} -func PatchParameterfv(pname uint32, values *float32) { - syscall.Syscall(gpPatchParameterfv, 2, uintptr(pname), uintptr(unsafe.Pointer(values)), 0) -} - -// specifies the parameters for patch primitives -func PatchParameteri(pname uint32, value int32) { - syscall.Syscall(gpPatchParameteri, 2, uintptr(pname), uintptr(value), 0) -} -func PathCommandsNV(path uint32, numCommands int32, commands *uint8, numCoords int32, coordType uint32, coords unsafe.Pointer) { - syscall.Syscall6(gpPathCommandsNV, 6, uintptr(path), uintptr(numCommands), uintptr(unsafe.Pointer(commands)), uintptr(numCoords), uintptr(coordType), uintptr(coords)) -} -func PathCoordsNV(path uint32, numCoords int32, coordType uint32, coords unsafe.Pointer) { - syscall.Syscall6(gpPathCoordsNV, 4, uintptr(path), uintptr(numCoords), uintptr(coordType), uintptr(coords), 0, 0) -} -func PathCoverDepthFuncNV(xfunc uint32) { - syscall.Syscall(gpPathCoverDepthFuncNV, 1, uintptr(xfunc), 0, 0) -} -func PathDashArrayNV(path uint32, dashCount int32, dashArray *float32) { - syscall.Syscall(gpPathDashArrayNV, 3, uintptr(path), uintptr(dashCount), uintptr(unsafe.Pointer(dashArray))) -} -func PathGlyphIndexArrayNV(firstPathName uint32, fontTarget uint32, fontName unsafe.Pointer, fontStyle uint32, firstGlyphIndex uint32, numGlyphs int32, pathParameterTemplate uint32, emScale float32) uint32 { - ret, _, _ := syscall.Syscall9(gpPathGlyphIndexArrayNV, 8, uintptr(firstPathName), uintptr(fontTarget), uintptr(fontName), uintptr(fontStyle), uintptr(firstGlyphIndex), uintptr(numGlyphs), uintptr(pathParameterTemplate), uintptr(math.Float32bits(emScale)), 0) - return (uint32)(ret) -} -func PathGlyphIndexRangeNV(fontTarget uint32, fontName unsafe.Pointer, fontStyle uint32, pathParameterTemplate uint32, emScale float32, baseAndCount *uint32) uint32 { - ret, _, _ := syscall.Syscall6(gpPathGlyphIndexRangeNV, 6, uintptr(fontTarget), uintptr(fontName), uintptr(fontStyle), uintptr(pathParameterTemplate), uintptr(math.Float32bits(emScale)), uintptr(unsafe.Pointer(baseAndCount))) - return (uint32)(ret) -} -func PathGlyphRangeNV(firstPathName uint32, fontTarget uint32, fontName unsafe.Pointer, fontStyle uint32, firstGlyph uint32, numGlyphs int32, handleMissingGlyphs uint32, pathParameterTemplate uint32, emScale float32) { - syscall.Syscall9(gpPathGlyphRangeNV, 9, uintptr(firstPathName), uintptr(fontTarget), uintptr(fontName), uintptr(fontStyle), uintptr(firstGlyph), uintptr(numGlyphs), uintptr(handleMissingGlyphs), uintptr(pathParameterTemplate), uintptr(math.Float32bits(emScale))) -} -func PathGlyphsNV(firstPathName uint32, fontTarget uint32, fontName unsafe.Pointer, fontStyle uint32, numGlyphs int32, xtype uint32, charcodes unsafe.Pointer, handleMissingGlyphs uint32, pathParameterTemplate uint32, emScale float32) { - syscall.Syscall12(gpPathGlyphsNV, 10, uintptr(firstPathName), uintptr(fontTarget), uintptr(fontName), uintptr(fontStyle), uintptr(numGlyphs), uintptr(xtype), uintptr(charcodes), uintptr(handleMissingGlyphs), uintptr(pathParameterTemplate), uintptr(math.Float32bits(emScale)), 0, 0) -} -func PathMemoryGlyphIndexArrayNV(firstPathName uint32, fontTarget uint32, fontSize int, fontData unsafe.Pointer, faceIndex int32, firstGlyphIndex uint32, numGlyphs int32, pathParameterTemplate uint32, emScale float32) uint32 { - ret, _, _ := syscall.Syscall9(gpPathMemoryGlyphIndexArrayNV, 9, uintptr(firstPathName), uintptr(fontTarget), uintptr(fontSize), uintptr(fontData), uintptr(faceIndex), uintptr(firstGlyphIndex), uintptr(numGlyphs), uintptr(pathParameterTemplate), uintptr(math.Float32bits(emScale))) - return (uint32)(ret) -} -func PathParameterfNV(path uint32, pname uint32, value float32) { - syscall.Syscall(gpPathParameterfNV, 3, uintptr(path), uintptr(pname), uintptr(math.Float32bits(value))) -} -func PathParameterfvNV(path uint32, pname uint32, value *float32) { - syscall.Syscall(gpPathParameterfvNV, 3, uintptr(path), uintptr(pname), uintptr(unsafe.Pointer(value))) -} -func PathParameteriNV(path uint32, pname uint32, value int32) { - syscall.Syscall(gpPathParameteriNV, 3, uintptr(path), uintptr(pname), uintptr(value)) -} -func PathParameterivNV(path uint32, pname uint32, value *int32) { - syscall.Syscall(gpPathParameterivNV, 3, uintptr(path), uintptr(pname), uintptr(unsafe.Pointer(value))) -} -func PathStencilDepthOffsetNV(factor float32, units float32) { - syscall.Syscall(gpPathStencilDepthOffsetNV, 2, uintptr(math.Float32bits(factor)), uintptr(math.Float32bits(units)), 0) -} -func PathStencilFuncNV(xfunc uint32, ref int32, mask uint32) { - syscall.Syscall(gpPathStencilFuncNV, 3, uintptr(xfunc), uintptr(ref), uintptr(mask)) -} -func PathStringNV(path uint32, format uint32, length int32, pathString unsafe.Pointer) { - syscall.Syscall6(gpPathStringNV, 4, uintptr(path), uintptr(format), uintptr(length), uintptr(pathString), 0, 0) -} -func PathSubCommandsNV(path uint32, commandStart int32, commandsToDelete int32, numCommands int32, commands *uint8, numCoords int32, coordType uint32, coords unsafe.Pointer) { - syscall.Syscall9(gpPathSubCommandsNV, 8, uintptr(path), uintptr(commandStart), uintptr(commandsToDelete), uintptr(numCommands), uintptr(unsafe.Pointer(commands)), uintptr(numCoords), uintptr(coordType), uintptr(coords), 0) -} -func PathSubCoordsNV(path uint32, coordStart int32, numCoords int32, coordType uint32, coords unsafe.Pointer) { - syscall.Syscall6(gpPathSubCoordsNV, 5, uintptr(path), uintptr(coordStart), uintptr(numCoords), uintptr(coordType), uintptr(coords), 0) -} - -// pause transform feedback operations -func PauseTransformFeedback() { - syscall.Syscall(gpPauseTransformFeedback, 0, 0, 0, 0) -} -func PauseTransformFeedbackNV() { - syscall.Syscall(gpPauseTransformFeedbackNV, 0, 0, 0, 0) -} -func PixelDataRangeNV(target uint32, length int32, pointer unsafe.Pointer) { - syscall.Syscall(gpPixelDataRangeNV, 3, uintptr(target), uintptr(length), uintptr(pointer)) -} -func PixelMapfv(xmap uint32, mapsize int32, values *float32) { - syscall.Syscall(gpPixelMapfv, 3, uintptr(xmap), uintptr(mapsize), uintptr(unsafe.Pointer(values))) -} -func PixelMapuiv(xmap uint32, mapsize int32, values *uint32) { - syscall.Syscall(gpPixelMapuiv, 3, uintptr(xmap), uintptr(mapsize), uintptr(unsafe.Pointer(values))) -} -func PixelMapusv(xmap uint32, mapsize int32, values *uint16) { - syscall.Syscall(gpPixelMapusv, 3, uintptr(xmap), uintptr(mapsize), uintptr(unsafe.Pointer(values))) -} -func PixelMapx(xmap uint32, size int32, values *int32) { - syscall.Syscall(gpPixelMapx, 3, uintptr(xmap), uintptr(size), uintptr(unsafe.Pointer(values))) -} -func PixelStoref(pname uint32, param float32) { - syscall.Syscall(gpPixelStoref, 2, uintptr(pname), uintptr(math.Float32bits(param)), 0) -} - -// set pixel storage modes func PixelStorei(pname uint32, param int32) { syscall.Syscall(gpPixelStorei, 2, uintptr(pname), uintptr(param), 0) } -func PixelStorex(pname uint32, param int32) { - syscall.Syscall(gpPixelStorex, 2, uintptr(pname), uintptr(param), 0) -} -func PixelTexGenParameterfSGIS(pname uint32, param float32) { - syscall.Syscall(gpPixelTexGenParameterfSGIS, 2, uintptr(pname), uintptr(math.Float32bits(param)), 0) -} -func PixelTexGenParameterfvSGIS(pname uint32, params *float32) { - syscall.Syscall(gpPixelTexGenParameterfvSGIS, 2, uintptr(pname), uintptr(unsafe.Pointer(params)), 0) -} -func PixelTexGenParameteriSGIS(pname uint32, param int32) { - syscall.Syscall(gpPixelTexGenParameteriSGIS, 2, uintptr(pname), uintptr(param), 0) -} -func PixelTexGenParameterivSGIS(pname uint32, params *int32) { - syscall.Syscall(gpPixelTexGenParameterivSGIS, 2, uintptr(pname), uintptr(unsafe.Pointer(params)), 0) -} -func PixelTexGenSGIX(mode uint32) { - syscall.Syscall(gpPixelTexGenSGIX, 1, uintptr(mode), 0, 0) -} -func PixelTransferf(pname uint32, param float32) { - syscall.Syscall(gpPixelTransferf, 2, uintptr(pname), uintptr(math.Float32bits(param)), 0) -} -func PixelTransferi(pname uint32, param int32) { - syscall.Syscall(gpPixelTransferi, 2, uintptr(pname), uintptr(param), 0) -} -func PixelTransferxOES(pname uint32, param int32) { - syscall.Syscall(gpPixelTransferxOES, 2, uintptr(pname), uintptr(param), 0) -} -func PixelTransformParameterfEXT(target uint32, pname uint32, param float32) { - syscall.Syscall(gpPixelTransformParameterfEXT, 3, uintptr(target), uintptr(pname), uintptr(math.Float32bits(param))) -} -func PixelTransformParameterfvEXT(target uint32, pname uint32, params *float32) { - syscall.Syscall(gpPixelTransformParameterfvEXT, 3, uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func PixelTransformParameteriEXT(target uint32, pname uint32, param int32) { - syscall.Syscall(gpPixelTransformParameteriEXT, 3, uintptr(target), uintptr(pname), uintptr(param)) -} -func PixelTransformParameterivEXT(target uint32, pname uint32, params *int32) { - syscall.Syscall(gpPixelTransformParameterivEXT, 3, uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -// specify the pixel zoom factors -func PixelZoom(xfactor float32, yfactor float32) { - syscall.Syscall(gpPixelZoom, 2, uintptr(math.Float32bits(xfactor)), uintptr(math.Float32bits(yfactor)), 0) -} -func PixelZoomxOES(xfactor int32, yfactor int32) { - syscall.Syscall(gpPixelZoomxOES, 2, uintptr(xfactor), uintptr(yfactor), 0) -} -func PointAlongPathNV(path uint32, startSegment int32, numSegments int32, distance float32, x *float32, y *float32, tangentX *float32, tangentY *float32) bool { - ret, _, _ := syscall.Syscall9(gpPointAlongPathNV, 8, uintptr(path), uintptr(startSegment), uintptr(numSegments), uintptr(math.Float32bits(distance)), uintptr(unsafe.Pointer(x)), uintptr(unsafe.Pointer(y)), uintptr(unsafe.Pointer(tangentX)), uintptr(unsafe.Pointer(tangentY)), 0) - return ret != 0 -} -func PointParameterf(pname uint32, param float32) { - syscall.Syscall(gpPointParameterf, 2, uintptr(pname), uintptr(math.Float32bits(param)), 0) -} -func PointParameterfARB(pname uint32, param float32) { - syscall.Syscall(gpPointParameterfARB, 2, uintptr(pname), uintptr(math.Float32bits(param)), 0) -} -func PointParameterfEXT(pname uint32, param float32) { - syscall.Syscall(gpPointParameterfEXT, 2, uintptr(pname), uintptr(math.Float32bits(param)), 0) -} -func PointParameterfSGIS(pname uint32, param float32) { - syscall.Syscall(gpPointParameterfSGIS, 2, uintptr(pname), uintptr(math.Float32bits(param)), 0) -} -func PointParameterfv(pname uint32, params *float32) { - syscall.Syscall(gpPointParameterfv, 2, uintptr(pname), uintptr(unsafe.Pointer(params)), 0) -} -func PointParameterfvARB(pname uint32, params *float32) { - syscall.Syscall(gpPointParameterfvARB, 2, uintptr(pname), uintptr(unsafe.Pointer(params)), 0) -} -func PointParameterfvEXT(pname uint32, params *float32) { - syscall.Syscall(gpPointParameterfvEXT, 2, uintptr(pname), uintptr(unsafe.Pointer(params)), 0) -} -func PointParameterfvSGIS(pname uint32, params *float32) { - syscall.Syscall(gpPointParameterfvSGIS, 2, uintptr(pname), uintptr(unsafe.Pointer(params)), 0) -} -func PointParameteri(pname uint32, param int32) { - syscall.Syscall(gpPointParameteri, 2, uintptr(pname), uintptr(param), 0) -} -func PointParameteriNV(pname uint32, param int32) { - syscall.Syscall(gpPointParameteriNV, 2, uintptr(pname), uintptr(param), 0) -} -func PointParameteriv(pname uint32, params *int32) { - syscall.Syscall(gpPointParameteriv, 2, uintptr(pname), uintptr(unsafe.Pointer(params)), 0) -} -func PointParameterivNV(pname uint32, params *int32) { - syscall.Syscall(gpPointParameterivNV, 2, uintptr(pname), uintptr(unsafe.Pointer(params)), 0) -} -func PointParameterxOES(pname uint32, param int32) { - syscall.Syscall(gpPointParameterxOES, 2, uintptr(pname), uintptr(param), 0) -} -func PointParameterxvOES(pname uint32, params *int32) { - syscall.Syscall(gpPointParameterxvOES, 2, uintptr(pname), uintptr(unsafe.Pointer(params)), 0) -} - -// specify the diameter of rasterized points -func PointSize(size float32) { - syscall.Syscall(gpPointSize, 1, uintptr(math.Float32bits(size)), 0, 0) -} -func PointSizexOES(size int32) { - syscall.Syscall(gpPointSizexOES, 1, uintptr(size), 0, 0) -} -func PollAsyncSGIX(markerp *uint32) int32 { - ret, _, _ := syscall.Syscall(gpPollAsyncSGIX, 1, uintptr(unsafe.Pointer(markerp)), 0, 0) - return (int32)(ret) -} -func PollInstrumentsSGIX(marker_p *int32) int32 { - ret, _, _ := syscall.Syscall(gpPollInstrumentsSGIX, 1, uintptr(unsafe.Pointer(marker_p)), 0, 0) - return (int32)(ret) -} - -// select a polygon rasterization mode -func PolygonMode(face uint32, mode uint32) { - syscall.Syscall(gpPolygonMode, 2, uintptr(face), uintptr(mode), 0) -} - -// set the scale and units used to calculate depth values -func PolygonOffset(factor float32, units float32) { - syscall.Syscall(gpPolygonOffset, 2, uintptr(math.Float32bits(factor)), uintptr(math.Float32bits(units)), 0) -} -func PolygonOffsetClamp(factor float32, units float32, clamp float32) { - syscall.Syscall(gpPolygonOffsetClamp, 3, uintptr(math.Float32bits(factor)), uintptr(math.Float32bits(units)), uintptr(math.Float32bits(clamp))) -} -func PolygonOffsetClampEXT(factor float32, units float32, clamp float32) { - syscall.Syscall(gpPolygonOffsetClampEXT, 3, uintptr(math.Float32bits(factor)), uintptr(math.Float32bits(units)), uintptr(math.Float32bits(clamp))) -} -func PolygonOffsetEXT(factor float32, bias float32) { - syscall.Syscall(gpPolygonOffsetEXT, 2, uintptr(math.Float32bits(factor)), uintptr(math.Float32bits(bias)), 0) -} -func PolygonOffsetxOES(factor int32, units int32) { - syscall.Syscall(gpPolygonOffsetxOES, 2, uintptr(factor), uintptr(units), 0) -} - -// set the polygon stippling pattern -func PolygonStipple(mask *uint8) { - syscall.Syscall(gpPolygonStipple, 1, uintptr(unsafe.Pointer(mask)), 0, 0) -} -func PopAttrib() { - syscall.Syscall(gpPopAttrib, 0, 0, 0, 0) -} -func PopClientAttrib() { - syscall.Syscall(gpPopClientAttrib, 0, 0, 0, 0) -} - -// pop the active debug group -func PopDebugGroup() { - syscall.Syscall(gpPopDebugGroup, 0, 0, 0, 0) -} -func PopDebugGroupKHR() { - syscall.Syscall(gpPopDebugGroupKHR, 0, 0, 0, 0) -} -func PopGroupMarkerEXT() { - syscall.Syscall(gpPopGroupMarkerEXT, 0, 0, 0, 0) -} -func PopMatrix() { - syscall.Syscall(gpPopMatrix, 0, 0, 0, 0) -} -func PopName() { - syscall.Syscall(gpPopName, 0, 0, 0, 0) -} -func PresentFrameDualFillNV(video_slot uint32, minPresentTime uint64, beginPresentTimeId uint32, presentDurationId uint32, xtype uint32, target0 uint32, fill0 uint32, target1 uint32, fill1 uint32, target2 uint32, fill2 uint32, target3 uint32, fill3 uint32) { - syscall.Syscall15(gpPresentFrameDualFillNV, 13, uintptr(video_slot), uintptr(minPresentTime), uintptr(beginPresentTimeId), uintptr(presentDurationId), uintptr(xtype), uintptr(target0), uintptr(fill0), uintptr(target1), uintptr(fill1), uintptr(target2), uintptr(fill2), uintptr(target3), uintptr(fill3), 0, 0) -} -func PresentFrameKeyedNV(video_slot uint32, minPresentTime uint64, beginPresentTimeId uint32, presentDurationId uint32, xtype uint32, target0 uint32, fill0 uint32, key0 uint32, target1 uint32, fill1 uint32, key1 uint32) { - syscall.Syscall12(gpPresentFrameKeyedNV, 11, uintptr(video_slot), uintptr(minPresentTime), uintptr(beginPresentTimeId), uintptr(presentDurationId), uintptr(xtype), uintptr(target0), uintptr(fill0), uintptr(key0), uintptr(target1), uintptr(fill1), uintptr(key1), 0) -} -func PrimitiveBoundingBoxARB(minX float32, minY float32, minZ float32, minW float32, maxX float32, maxY float32, maxZ float32, maxW float32) { - syscall.Syscall9(gpPrimitiveBoundingBoxARB, 8, uintptr(math.Float32bits(minX)), uintptr(math.Float32bits(minY)), uintptr(math.Float32bits(minZ)), uintptr(math.Float32bits(minW)), uintptr(math.Float32bits(maxX)), uintptr(math.Float32bits(maxY)), uintptr(math.Float32bits(maxZ)), uintptr(math.Float32bits(maxW)), 0) -} -func PrimitiveRestartIndexNV(index uint32) { - syscall.Syscall(gpPrimitiveRestartIndexNV, 1, uintptr(index), 0, 0) -} -func PrimitiveRestartNV() { - syscall.Syscall(gpPrimitiveRestartNV, 0, 0, 0, 0) -} - -// set texture residence priority -func PrioritizeTextures(n int32, textures *uint32, priorities *float32) { - syscall.Syscall(gpPrioritizeTextures, 3, uintptr(n), uintptr(unsafe.Pointer(textures)), uintptr(unsafe.Pointer(priorities))) -} -func PrioritizeTexturesEXT(n int32, textures *uint32, priorities *float32) { - syscall.Syscall(gpPrioritizeTexturesEXT, 3, uintptr(n), uintptr(unsafe.Pointer(textures)), uintptr(unsafe.Pointer(priorities))) -} -func PrioritizeTexturesxOES(n int32, textures *uint32, priorities *int32) { - syscall.Syscall(gpPrioritizeTexturesxOES, 3, uintptr(n), uintptr(unsafe.Pointer(textures)), uintptr(unsafe.Pointer(priorities))) -} - -// load a program object with a program binary -func ProgramBinary(program uint32, binaryFormat uint32, binary unsafe.Pointer, length int32) { - syscall.Syscall6(gpProgramBinary, 4, uintptr(program), uintptr(binaryFormat), uintptr(binary), uintptr(length), 0, 0) -} -func ProgramBufferParametersIivNV(target uint32, bindingIndex uint32, wordIndex uint32, count int32, params *int32) { - syscall.Syscall6(gpProgramBufferParametersIivNV, 5, uintptr(target), uintptr(bindingIndex), uintptr(wordIndex), uintptr(count), uintptr(unsafe.Pointer(params)), 0) -} -func ProgramBufferParametersIuivNV(target uint32, bindingIndex uint32, wordIndex uint32, count int32, params *uint32) { - syscall.Syscall6(gpProgramBufferParametersIuivNV, 5, uintptr(target), uintptr(bindingIndex), uintptr(wordIndex), uintptr(count), uintptr(unsafe.Pointer(params)), 0) -} -func ProgramBufferParametersfvNV(target uint32, bindingIndex uint32, wordIndex uint32, count int32, params *float32) { - syscall.Syscall6(gpProgramBufferParametersfvNV, 5, uintptr(target), uintptr(bindingIndex), uintptr(wordIndex), uintptr(count), uintptr(unsafe.Pointer(params)), 0) -} -func ProgramEnvParameter4dARB(target uint32, index uint32, x float64, y float64, z float64, w float64) { - syscall.Syscall6(gpProgramEnvParameter4dARB, 6, uintptr(target), uintptr(index), uintptr(math.Float64bits(x)), uintptr(math.Float64bits(y)), uintptr(math.Float64bits(z)), uintptr(math.Float64bits(w))) -} -func ProgramEnvParameter4dvARB(target uint32, index uint32, params *float64) { - syscall.Syscall(gpProgramEnvParameter4dvARB, 3, uintptr(target), uintptr(index), uintptr(unsafe.Pointer(params))) -} -func ProgramEnvParameter4fARB(target uint32, index uint32, x float32, y float32, z float32, w float32) { - syscall.Syscall6(gpProgramEnvParameter4fARB, 6, uintptr(target), uintptr(index), uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y)), uintptr(math.Float32bits(z)), uintptr(math.Float32bits(w))) -} -func ProgramEnvParameter4fvARB(target uint32, index uint32, params *float32) { - syscall.Syscall(gpProgramEnvParameter4fvARB, 3, uintptr(target), uintptr(index), uintptr(unsafe.Pointer(params))) -} -func ProgramEnvParameterI4iNV(target uint32, index uint32, x int32, y int32, z int32, w int32) { - syscall.Syscall6(gpProgramEnvParameterI4iNV, 6, uintptr(target), uintptr(index), uintptr(x), uintptr(y), uintptr(z), uintptr(w)) -} -func ProgramEnvParameterI4ivNV(target uint32, index uint32, params *int32) { - syscall.Syscall(gpProgramEnvParameterI4ivNV, 3, uintptr(target), uintptr(index), uintptr(unsafe.Pointer(params))) -} -func ProgramEnvParameterI4uiNV(target uint32, index uint32, x uint32, y uint32, z uint32, w uint32) { - syscall.Syscall6(gpProgramEnvParameterI4uiNV, 6, uintptr(target), uintptr(index), uintptr(x), uintptr(y), uintptr(z), uintptr(w)) -} -func ProgramEnvParameterI4uivNV(target uint32, index uint32, params *uint32) { - syscall.Syscall(gpProgramEnvParameterI4uivNV, 3, uintptr(target), uintptr(index), uintptr(unsafe.Pointer(params))) -} -func ProgramEnvParameters4fvEXT(target uint32, index uint32, count int32, params *float32) { - syscall.Syscall6(gpProgramEnvParameters4fvEXT, 4, uintptr(target), uintptr(index), uintptr(count), uintptr(unsafe.Pointer(params)), 0, 0) -} -func ProgramEnvParametersI4ivNV(target uint32, index uint32, count int32, params *int32) { - syscall.Syscall6(gpProgramEnvParametersI4ivNV, 4, uintptr(target), uintptr(index), uintptr(count), uintptr(unsafe.Pointer(params)), 0, 0) -} -func ProgramEnvParametersI4uivNV(target uint32, index uint32, count int32, params *uint32) { - syscall.Syscall6(gpProgramEnvParametersI4uivNV, 4, uintptr(target), uintptr(index), uintptr(count), uintptr(unsafe.Pointer(params)), 0, 0) -} -func ProgramLocalParameter4dARB(target uint32, index uint32, x float64, y float64, z float64, w float64) { - syscall.Syscall6(gpProgramLocalParameter4dARB, 6, uintptr(target), uintptr(index), uintptr(math.Float64bits(x)), uintptr(math.Float64bits(y)), uintptr(math.Float64bits(z)), uintptr(math.Float64bits(w))) -} -func ProgramLocalParameter4dvARB(target uint32, index uint32, params *float64) { - syscall.Syscall(gpProgramLocalParameter4dvARB, 3, uintptr(target), uintptr(index), uintptr(unsafe.Pointer(params))) -} -func ProgramLocalParameter4fARB(target uint32, index uint32, x float32, y float32, z float32, w float32) { - syscall.Syscall6(gpProgramLocalParameter4fARB, 6, uintptr(target), uintptr(index), uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y)), uintptr(math.Float32bits(z)), uintptr(math.Float32bits(w))) -} -func ProgramLocalParameter4fvARB(target uint32, index uint32, params *float32) { - syscall.Syscall(gpProgramLocalParameter4fvARB, 3, uintptr(target), uintptr(index), uintptr(unsafe.Pointer(params))) -} -func ProgramLocalParameterI4iNV(target uint32, index uint32, x int32, y int32, z int32, w int32) { - syscall.Syscall6(gpProgramLocalParameterI4iNV, 6, uintptr(target), uintptr(index), uintptr(x), uintptr(y), uintptr(z), uintptr(w)) -} -func ProgramLocalParameterI4ivNV(target uint32, index uint32, params *int32) { - syscall.Syscall(gpProgramLocalParameterI4ivNV, 3, uintptr(target), uintptr(index), uintptr(unsafe.Pointer(params))) -} -func ProgramLocalParameterI4uiNV(target uint32, index uint32, x uint32, y uint32, z uint32, w uint32) { - syscall.Syscall6(gpProgramLocalParameterI4uiNV, 6, uintptr(target), uintptr(index), uintptr(x), uintptr(y), uintptr(z), uintptr(w)) -} -func ProgramLocalParameterI4uivNV(target uint32, index uint32, params *uint32) { - syscall.Syscall(gpProgramLocalParameterI4uivNV, 3, uintptr(target), uintptr(index), uintptr(unsafe.Pointer(params))) -} -func ProgramLocalParameters4fvEXT(target uint32, index uint32, count int32, params *float32) { - syscall.Syscall6(gpProgramLocalParameters4fvEXT, 4, uintptr(target), uintptr(index), uintptr(count), uintptr(unsafe.Pointer(params)), 0, 0) -} -func ProgramLocalParametersI4ivNV(target uint32, index uint32, count int32, params *int32) { - syscall.Syscall6(gpProgramLocalParametersI4ivNV, 4, uintptr(target), uintptr(index), uintptr(count), uintptr(unsafe.Pointer(params)), 0, 0) -} -func ProgramLocalParametersI4uivNV(target uint32, index uint32, count int32, params *uint32) { - syscall.Syscall6(gpProgramLocalParametersI4uivNV, 4, uintptr(target), uintptr(index), uintptr(count), uintptr(unsafe.Pointer(params)), 0, 0) -} -func ProgramNamedParameter4dNV(id uint32, len int32, name *uint8, x float64, y float64, z float64, w float64) { - syscall.Syscall9(gpProgramNamedParameter4dNV, 7, uintptr(id), uintptr(len), uintptr(unsafe.Pointer(name)), uintptr(math.Float64bits(x)), uintptr(math.Float64bits(y)), uintptr(math.Float64bits(z)), uintptr(math.Float64bits(w)), 0, 0) -} -func ProgramNamedParameter4dvNV(id uint32, len int32, name *uint8, v *float64) { - syscall.Syscall6(gpProgramNamedParameter4dvNV, 4, uintptr(id), uintptr(len), uintptr(unsafe.Pointer(name)), uintptr(unsafe.Pointer(v)), 0, 0) -} -func ProgramNamedParameter4fNV(id uint32, len int32, name *uint8, x float32, y float32, z float32, w float32) { - syscall.Syscall9(gpProgramNamedParameter4fNV, 7, uintptr(id), uintptr(len), uintptr(unsafe.Pointer(name)), uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y)), uintptr(math.Float32bits(z)), uintptr(math.Float32bits(w)), 0, 0) -} -func ProgramNamedParameter4fvNV(id uint32, len int32, name *uint8, v *float32) { - syscall.Syscall6(gpProgramNamedParameter4fvNV, 4, uintptr(id), uintptr(len), uintptr(unsafe.Pointer(name)), uintptr(unsafe.Pointer(v)), 0, 0) -} -func ProgramParameter4dNV(target uint32, index uint32, x float64, y float64, z float64, w float64) { - syscall.Syscall6(gpProgramParameter4dNV, 6, uintptr(target), uintptr(index), uintptr(math.Float64bits(x)), uintptr(math.Float64bits(y)), uintptr(math.Float64bits(z)), uintptr(math.Float64bits(w))) -} -func ProgramParameter4dvNV(target uint32, index uint32, v *float64) { - syscall.Syscall(gpProgramParameter4dvNV, 3, uintptr(target), uintptr(index), uintptr(unsafe.Pointer(v))) -} -func ProgramParameter4fNV(target uint32, index uint32, x float32, y float32, z float32, w float32) { - syscall.Syscall6(gpProgramParameter4fNV, 6, uintptr(target), uintptr(index), uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y)), uintptr(math.Float32bits(z)), uintptr(math.Float32bits(w))) -} -func ProgramParameter4fvNV(target uint32, index uint32, v *float32) { - syscall.Syscall(gpProgramParameter4fvNV, 3, uintptr(target), uintptr(index), uintptr(unsafe.Pointer(v))) -} - -// specify a parameter for a program object -func ProgramParameteri(program uint32, pname uint32, value int32) { - syscall.Syscall(gpProgramParameteri, 3, uintptr(program), uintptr(pname), uintptr(value)) -} -func ProgramParameteriARB(program uint32, pname uint32, value int32) { - syscall.Syscall(gpProgramParameteriARB, 3, uintptr(program), uintptr(pname), uintptr(value)) -} -func ProgramParameteriEXT(program uint32, pname uint32, value int32) { - syscall.Syscall(gpProgramParameteriEXT, 3, uintptr(program), uintptr(pname), uintptr(value)) -} -func ProgramParameters4dvNV(target uint32, index uint32, count int32, v *float64) { - syscall.Syscall6(gpProgramParameters4dvNV, 4, uintptr(target), uintptr(index), uintptr(count), uintptr(unsafe.Pointer(v)), 0, 0) -} -func ProgramParameters4fvNV(target uint32, index uint32, count int32, v *float32) { - syscall.Syscall6(gpProgramParameters4fvNV, 4, uintptr(target), uintptr(index), uintptr(count), uintptr(unsafe.Pointer(v)), 0, 0) -} -func ProgramPathFragmentInputGenNV(program uint32, location int32, genMode uint32, components int32, coeffs *float32) { - syscall.Syscall6(gpProgramPathFragmentInputGenNV, 5, uintptr(program), uintptr(location), uintptr(genMode), uintptr(components), uintptr(unsafe.Pointer(coeffs)), 0) -} -func ProgramStringARB(target uint32, format uint32, len int32, xstring unsafe.Pointer) { - syscall.Syscall6(gpProgramStringARB, 4, uintptr(target), uintptr(format), uintptr(len), uintptr(xstring), 0, 0) -} -func ProgramSubroutineParametersuivNV(target uint32, count int32, params *uint32) { - syscall.Syscall(gpProgramSubroutineParametersuivNV, 3, uintptr(target), uintptr(count), uintptr(unsafe.Pointer(params))) -} -func ProgramUniform1d(program uint32, location int32, v0 float64) { - syscall.Syscall(gpProgramUniform1d, 3, uintptr(program), uintptr(location), uintptr(math.Float64bits(v0))) -} -func ProgramUniform1dEXT(program uint32, location int32, x float64) { - syscall.Syscall(gpProgramUniform1dEXT, 3, uintptr(program), uintptr(location), uintptr(math.Float64bits(x))) -} -func ProgramUniform1dv(program uint32, location int32, count int32, value *float64) { - syscall.Syscall6(gpProgramUniform1dv, 4, uintptr(program), uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value)), 0, 0) -} -func ProgramUniform1dvEXT(program uint32, location int32, count int32, value *float64) { - syscall.Syscall6(gpProgramUniform1dvEXT, 4, uintptr(program), uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value)), 0, 0) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniform1f(program uint32, location int32, v0 float32) { - syscall.Syscall(gpProgramUniform1f, 3, uintptr(program), uintptr(location), uintptr(math.Float32bits(v0))) -} -func ProgramUniform1fEXT(program uint32, location int32, v0 float32) { - syscall.Syscall(gpProgramUniform1fEXT, 3, uintptr(program), uintptr(location), uintptr(math.Float32bits(v0))) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniform1fv(program uint32, location int32, count int32, value *float32) { - syscall.Syscall6(gpProgramUniform1fv, 4, uintptr(program), uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value)), 0, 0) -} -func ProgramUniform1fvEXT(program uint32, location int32, count int32, value *float32) { - syscall.Syscall6(gpProgramUniform1fvEXT, 4, uintptr(program), uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value)), 0, 0) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniform1i(program uint32, location int32, v0 int32) { - syscall.Syscall(gpProgramUniform1i, 3, uintptr(program), uintptr(location), uintptr(v0)) -} -func ProgramUniform1i64ARB(program uint32, location int32, x int64) { - syscall.Syscall(gpProgramUniform1i64ARB, 3, uintptr(program), uintptr(location), uintptr(x)) -} -func ProgramUniform1i64NV(program uint32, location int32, x int64) { - syscall.Syscall(gpProgramUniform1i64NV, 3, uintptr(program), uintptr(location), uintptr(x)) -} -func ProgramUniform1i64vARB(program uint32, location int32, count int32, value *int64) { - syscall.Syscall6(gpProgramUniform1i64vARB, 4, uintptr(program), uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value)), 0, 0) -} -func ProgramUniform1i64vNV(program uint32, location int32, count int32, value *int64) { - syscall.Syscall6(gpProgramUniform1i64vNV, 4, uintptr(program), uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value)), 0, 0) -} -func ProgramUniform1iEXT(program uint32, location int32, v0 int32) { - syscall.Syscall(gpProgramUniform1iEXT, 3, uintptr(program), uintptr(location), uintptr(v0)) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniform1iv(program uint32, location int32, count int32, value *int32) { - syscall.Syscall6(gpProgramUniform1iv, 4, uintptr(program), uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value)), 0, 0) -} -func ProgramUniform1ivEXT(program uint32, location int32, count int32, value *int32) { - syscall.Syscall6(gpProgramUniform1ivEXT, 4, uintptr(program), uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value)), 0, 0) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniform1ui(program uint32, location int32, v0 uint32) { - syscall.Syscall(gpProgramUniform1ui, 3, uintptr(program), uintptr(location), uintptr(v0)) -} -func ProgramUniform1ui64ARB(program uint32, location int32, x uint64) { - syscall.Syscall(gpProgramUniform1ui64ARB, 3, uintptr(program), uintptr(location), uintptr(x)) -} -func ProgramUniform1ui64NV(program uint32, location int32, x uint64) { - syscall.Syscall(gpProgramUniform1ui64NV, 3, uintptr(program), uintptr(location), uintptr(x)) -} -func ProgramUniform1ui64vARB(program uint32, location int32, count int32, value *uint64) { - syscall.Syscall6(gpProgramUniform1ui64vARB, 4, uintptr(program), uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value)), 0, 0) -} -func ProgramUniform1ui64vNV(program uint32, location int32, count int32, value *uint64) { - syscall.Syscall6(gpProgramUniform1ui64vNV, 4, uintptr(program), uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value)), 0, 0) -} -func ProgramUniform1uiEXT(program uint32, location int32, v0 uint32) { - syscall.Syscall(gpProgramUniform1uiEXT, 3, uintptr(program), uintptr(location), uintptr(v0)) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniform1uiv(program uint32, location int32, count int32, value *uint32) { - syscall.Syscall6(gpProgramUniform1uiv, 4, uintptr(program), uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value)), 0, 0) -} -func ProgramUniform1uivEXT(program uint32, location int32, count int32, value *uint32) { - syscall.Syscall6(gpProgramUniform1uivEXT, 4, uintptr(program), uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value)), 0, 0) -} -func ProgramUniform2d(program uint32, location int32, v0 float64, v1 float64) { - syscall.Syscall6(gpProgramUniform2d, 4, uintptr(program), uintptr(location), uintptr(math.Float64bits(v0)), uintptr(math.Float64bits(v1)), 0, 0) -} -func ProgramUniform2dEXT(program uint32, location int32, x float64, y float64) { - syscall.Syscall6(gpProgramUniform2dEXT, 4, uintptr(program), uintptr(location), uintptr(math.Float64bits(x)), uintptr(math.Float64bits(y)), 0, 0) -} -func ProgramUniform2dv(program uint32, location int32, count int32, value *float64) { - syscall.Syscall6(gpProgramUniform2dv, 4, uintptr(program), uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value)), 0, 0) -} -func ProgramUniform2dvEXT(program uint32, location int32, count int32, value *float64) { - syscall.Syscall6(gpProgramUniform2dvEXT, 4, uintptr(program), uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value)), 0, 0) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniform2f(program uint32, location int32, v0 float32, v1 float32) { - syscall.Syscall6(gpProgramUniform2f, 4, uintptr(program), uintptr(location), uintptr(math.Float32bits(v0)), uintptr(math.Float32bits(v1)), 0, 0) -} -func ProgramUniform2fEXT(program uint32, location int32, v0 float32, v1 float32) { - syscall.Syscall6(gpProgramUniform2fEXT, 4, uintptr(program), uintptr(location), uintptr(math.Float32bits(v0)), uintptr(math.Float32bits(v1)), 0, 0) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniform2fv(program uint32, location int32, count int32, value *float32) { - syscall.Syscall6(gpProgramUniform2fv, 4, uintptr(program), uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value)), 0, 0) -} -func ProgramUniform2fvEXT(program uint32, location int32, count int32, value *float32) { - syscall.Syscall6(gpProgramUniform2fvEXT, 4, uintptr(program), uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value)), 0, 0) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniform2i(program uint32, location int32, v0 int32, v1 int32) { - syscall.Syscall6(gpProgramUniform2i, 4, uintptr(program), uintptr(location), uintptr(v0), uintptr(v1), 0, 0) -} -func ProgramUniform2i64ARB(program uint32, location int32, x int64, y int64) { - syscall.Syscall6(gpProgramUniform2i64ARB, 4, uintptr(program), uintptr(location), uintptr(x), uintptr(y), 0, 0) -} -func ProgramUniform2i64NV(program uint32, location int32, x int64, y int64) { - syscall.Syscall6(gpProgramUniform2i64NV, 4, uintptr(program), uintptr(location), uintptr(x), uintptr(y), 0, 0) -} -func ProgramUniform2i64vARB(program uint32, location int32, count int32, value *int64) { - syscall.Syscall6(gpProgramUniform2i64vARB, 4, uintptr(program), uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value)), 0, 0) -} -func ProgramUniform2i64vNV(program uint32, location int32, count int32, value *int64) { - syscall.Syscall6(gpProgramUniform2i64vNV, 4, uintptr(program), uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value)), 0, 0) -} -func ProgramUniform2iEXT(program uint32, location int32, v0 int32, v1 int32) { - syscall.Syscall6(gpProgramUniform2iEXT, 4, uintptr(program), uintptr(location), uintptr(v0), uintptr(v1), 0, 0) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniform2iv(program uint32, location int32, count int32, value *int32) { - syscall.Syscall6(gpProgramUniform2iv, 4, uintptr(program), uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value)), 0, 0) -} -func ProgramUniform2ivEXT(program uint32, location int32, count int32, value *int32) { - syscall.Syscall6(gpProgramUniform2ivEXT, 4, uintptr(program), uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value)), 0, 0) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniform2ui(program uint32, location int32, v0 uint32, v1 uint32) { - syscall.Syscall6(gpProgramUniform2ui, 4, uintptr(program), uintptr(location), uintptr(v0), uintptr(v1), 0, 0) -} -func ProgramUniform2ui64ARB(program uint32, location int32, x uint64, y uint64) { - syscall.Syscall6(gpProgramUniform2ui64ARB, 4, uintptr(program), uintptr(location), uintptr(x), uintptr(y), 0, 0) -} -func ProgramUniform2ui64NV(program uint32, location int32, x uint64, y uint64) { - syscall.Syscall6(gpProgramUniform2ui64NV, 4, uintptr(program), uintptr(location), uintptr(x), uintptr(y), 0, 0) -} -func ProgramUniform2ui64vARB(program uint32, location int32, count int32, value *uint64) { - syscall.Syscall6(gpProgramUniform2ui64vARB, 4, uintptr(program), uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value)), 0, 0) -} -func ProgramUniform2ui64vNV(program uint32, location int32, count int32, value *uint64) { - syscall.Syscall6(gpProgramUniform2ui64vNV, 4, uintptr(program), uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value)), 0, 0) -} -func ProgramUniform2uiEXT(program uint32, location int32, v0 uint32, v1 uint32) { - syscall.Syscall6(gpProgramUniform2uiEXT, 4, uintptr(program), uintptr(location), uintptr(v0), uintptr(v1), 0, 0) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniform2uiv(program uint32, location int32, count int32, value *uint32) { - syscall.Syscall6(gpProgramUniform2uiv, 4, uintptr(program), uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value)), 0, 0) -} -func ProgramUniform2uivEXT(program uint32, location int32, count int32, value *uint32) { - syscall.Syscall6(gpProgramUniform2uivEXT, 4, uintptr(program), uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value)), 0, 0) -} -func ProgramUniform3d(program uint32, location int32, v0 float64, v1 float64, v2 float64) { - syscall.Syscall6(gpProgramUniform3d, 5, uintptr(program), uintptr(location), uintptr(math.Float64bits(v0)), uintptr(math.Float64bits(v1)), uintptr(math.Float64bits(v2)), 0) -} -func ProgramUniform3dEXT(program uint32, location int32, x float64, y float64, z float64) { - syscall.Syscall6(gpProgramUniform3dEXT, 5, uintptr(program), uintptr(location), uintptr(math.Float64bits(x)), uintptr(math.Float64bits(y)), uintptr(math.Float64bits(z)), 0) -} -func ProgramUniform3dv(program uint32, location int32, count int32, value *float64) { - syscall.Syscall6(gpProgramUniform3dv, 4, uintptr(program), uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value)), 0, 0) -} -func ProgramUniform3dvEXT(program uint32, location int32, count int32, value *float64) { - syscall.Syscall6(gpProgramUniform3dvEXT, 4, uintptr(program), uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value)), 0, 0) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniform3f(program uint32, location int32, v0 float32, v1 float32, v2 float32) { - syscall.Syscall6(gpProgramUniform3f, 5, uintptr(program), uintptr(location), uintptr(math.Float32bits(v0)), uintptr(math.Float32bits(v1)), uintptr(math.Float32bits(v2)), 0) -} -func ProgramUniform3fEXT(program uint32, location int32, v0 float32, v1 float32, v2 float32) { - syscall.Syscall6(gpProgramUniform3fEXT, 5, uintptr(program), uintptr(location), uintptr(math.Float32bits(v0)), uintptr(math.Float32bits(v1)), uintptr(math.Float32bits(v2)), 0) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniform3fv(program uint32, location int32, count int32, value *float32) { - syscall.Syscall6(gpProgramUniform3fv, 4, uintptr(program), uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value)), 0, 0) -} -func ProgramUniform3fvEXT(program uint32, location int32, count int32, value *float32) { - syscall.Syscall6(gpProgramUniform3fvEXT, 4, uintptr(program), uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value)), 0, 0) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniform3i(program uint32, location int32, v0 int32, v1 int32, v2 int32) { - syscall.Syscall6(gpProgramUniform3i, 5, uintptr(program), uintptr(location), uintptr(v0), uintptr(v1), uintptr(v2), 0) -} -func ProgramUniform3i64ARB(program uint32, location int32, x int64, y int64, z int64) { - syscall.Syscall6(gpProgramUniform3i64ARB, 5, uintptr(program), uintptr(location), uintptr(x), uintptr(y), uintptr(z), 0) -} -func ProgramUniform3i64NV(program uint32, location int32, x int64, y int64, z int64) { - syscall.Syscall6(gpProgramUniform3i64NV, 5, uintptr(program), uintptr(location), uintptr(x), uintptr(y), uintptr(z), 0) -} -func ProgramUniform3i64vARB(program uint32, location int32, count int32, value *int64) { - syscall.Syscall6(gpProgramUniform3i64vARB, 4, uintptr(program), uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value)), 0, 0) -} -func ProgramUniform3i64vNV(program uint32, location int32, count int32, value *int64) { - syscall.Syscall6(gpProgramUniform3i64vNV, 4, uintptr(program), uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value)), 0, 0) -} -func ProgramUniform3iEXT(program uint32, location int32, v0 int32, v1 int32, v2 int32) { - syscall.Syscall6(gpProgramUniform3iEXT, 5, uintptr(program), uintptr(location), uintptr(v0), uintptr(v1), uintptr(v2), 0) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniform3iv(program uint32, location int32, count int32, value *int32) { - syscall.Syscall6(gpProgramUniform3iv, 4, uintptr(program), uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value)), 0, 0) -} -func ProgramUniform3ivEXT(program uint32, location int32, count int32, value *int32) { - syscall.Syscall6(gpProgramUniform3ivEXT, 4, uintptr(program), uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value)), 0, 0) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniform3ui(program uint32, location int32, v0 uint32, v1 uint32, v2 uint32) { - syscall.Syscall6(gpProgramUniform3ui, 5, uintptr(program), uintptr(location), uintptr(v0), uintptr(v1), uintptr(v2), 0) -} -func ProgramUniform3ui64ARB(program uint32, location int32, x uint64, y uint64, z uint64) { - syscall.Syscall6(gpProgramUniform3ui64ARB, 5, uintptr(program), uintptr(location), uintptr(x), uintptr(y), uintptr(z), 0) -} -func ProgramUniform3ui64NV(program uint32, location int32, x uint64, y uint64, z uint64) { - syscall.Syscall6(gpProgramUniform3ui64NV, 5, uintptr(program), uintptr(location), uintptr(x), uintptr(y), uintptr(z), 0) -} -func ProgramUniform3ui64vARB(program uint32, location int32, count int32, value *uint64) { - syscall.Syscall6(gpProgramUniform3ui64vARB, 4, uintptr(program), uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value)), 0, 0) -} -func ProgramUniform3ui64vNV(program uint32, location int32, count int32, value *uint64) { - syscall.Syscall6(gpProgramUniform3ui64vNV, 4, uintptr(program), uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value)), 0, 0) -} -func ProgramUniform3uiEXT(program uint32, location int32, v0 uint32, v1 uint32, v2 uint32) { - syscall.Syscall6(gpProgramUniform3uiEXT, 5, uintptr(program), uintptr(location), uintptr(v0), uintptr(v1), uintptr(v2), 0) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniform3uiv(program uint32, location int32, count int32, value *uint32) { - syscall.Syscall6(gpProgramUniform3uiv, 4, uintptr(program), uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value)), 0, 0) -} -func ProgramUniform3uivEXT(program uint32, location int32, count int32, value *uint32) { - syscall.Syscall6(gpProgramUniform3uivEXT, 4, uintptr(program), uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value)), 0, 0) -} -func ProgramUniform4d(program uint32, location int32, v0 float64, v1 float64, v2 float64, v3 float64) { - syscall.Syscall6(gpProgramUniform4d, 6, uintptr(program), uintptr(location), uintptr(math.Float64bits(v0)), uintptr(math.Float64bits(v1)), uintptr(math.Float64bits(v2)), uintptr(math.Float64bits(v3))) -} -func ProgramUniform4dEXT(program uint32, location int32, x float64, y float64, z float64, w float64) { - syscall.Syscall6(gpProgramUniform4dEXT, 6, uintptr(program), uintptr(location), uintptr(math.Float64bits(x)), uintptr(math.Float64bits(y)), uintptr(math.Float64bits(z)), uintptr(math.Float64bits(w))) -} -func ProgramUniform4dv(program uint32, location int32, count int32, value *float64) { - syscall.Syscall6(gpProgramUniform4dv, 4, uintptr(program), uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value)), 0, 0) -} -func ProgramUniform4dvEXT(program uint32, location int32, count int32, value *float64) { - syscall.Syscall6(gpProgramUniform4dvEXT, 4, uintptr(program), uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value)), 0, 0) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniform4f(program uint32, location int32, v0 float32, v1 float32, v2 float32, v3 float32) { - syscall.Syscall6(gpProgramUniform4f, 6, uintptr(program), uintptr(location), uintptr(math.Float32bits(v0)), uintptr(math.Float32bits(v1)), uintptr(math.Float32bits(v2)), uintptr(math.Float32bits(v3))) -} -func ProgramUniform4fEXT(program uint32, location int32, v0 float32, v1 float32, v2 float32, v3 float32) { - syscall.Syscall6(gpProgramUniform4fEXT, 6, uintptr(program), uintptr(location), uintptr(math.Float32bits(v0)), uintptr(math.Float32bits(v1)), uintptr(math.Float32bits(v2)), uintptr(math.Float32bits(v3))) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniform4fv(program uint32, location int32, count int32, value *float32) { - syscall.Syscall6(gpProgramUniform4fv, 4, uintptr(program), uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value)), 0, 0) -} -func ProgramUniform4fvEXT(program uint32, location int32, count int32, value *float32) { - syscall.Syscall6(gpProgramUniform4fvEXT, 4, uintptr(program), uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value)), 0, 0) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniform4i(program uint32, location int32, v0 int32, v1 int32, v2 int32, v3 int32) { - syscall.Syscall6(gpProgramUniform4i, 6, uintptr(program), uintptr(location), uintptr(v0), uintptr(v1), uintptr(v2), uintptr(v3)) -} -func ProgramUniform4i64ARB(program uint32, location int32, x int64, y int64, z int64, w int64) { - syscall.Syscall6(gpProgramUniform4i64ARB, 6, uintptr(program), uintptr(location), uintptr(x), uintptr(y), uintptr(z), uintptr(w)) -} -func ProgramUniform4i64NV(program uint32, location int32, x int64, y int64, z int64, w int64) { - syscall.Syscall6(gpProgramUniform4i64NV, 6, uintptr(program), uintptr(location), uintptr(x), uintptr(y), uintptr(z), uintptr(w)) -} -func ProgramUniform4i64vARB(program uint32, location int32, count int32, value *int64) { - syscall.Syscall6(gpProgramUniform4i64vARB, 4, uintptr(program), uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value)), 0, 0) -} -func ProgramUniform4i64vNV(program uint32, location int32, count int32, value *int64) { - syscall.Syscall6(gpProgramUniform4i64vNV, 4, uintptr(program), uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value)), 0, 0) -} -func ProgramUniform4iEXT(program uint32, location int32, v0 int32, v1 int32, v2 int32, v3 int32) { - syscall.Syscall6(gpProgramUniform4iEXT, 6, uintptr(program), uintptr(location), uintptr(v0), uintptr(v1), uintptr(v2), uintptr(v3)) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniform4iv(program uint32, location int32, count int32, value *int32) { - syscall.Syscall6(gpProgramUniform4iv, 4, uintptr(program), uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value)), 0, 0) -} -func ProgramUniform4ivEXT(program uint32, location int32, count int32, value *int32) { - syscall.Syscall6(gpProgramUniform4ivEXT, 4, uintptr(program), uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value)), 0, 0) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniform4ui(program uint32, location int32, v0 uint32, v1 uint32, v2 uint32, v3 uint32) { - syscall.Syscall6(gpProgramUniform4ui, 6, uintptr(program), uintptr(location), uintptr(v0), uintptr(v1), uintptr(v2), uintptr(v3)) -} -func ProgramUniform4ui64ARB(program uint32, location int32, x uint64, y uint64, z uint64, w uint64) { - syscall.Syscall6(gpProgramUniform4ui64ARB, 6, uintptr(program), uintptr(location), uintptr(x), uintptr(y), uintptr(z), uintptr(w)) -} -func ProgramUniform4ui64NV(program uint32, location int32, x uint64, y uint64, z uint64, w uint64) { - syscall.Syscall6(gpProgramUniform4ui64NV, 6, uintptr(program), uintptr(location), uintptr(x), uintptr(y), uintptr(z), uintptr(w)) -} -func ProgramUniform4ui64vARB(program uint32, location int32, count int32, value *uint64) { - syscall.Syscall6(gpProgramUniform4ui64vARB, 4, uintptr(program), uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value)), 0, 0) -} -func ProgramUniform4ui64vNV(program uint32, location int32, count int32, value *uint64) { - syscall.Syscall6(gpProgramUniform4ui64vNV, 4, uintptr(program), uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value)), 0, 0) -} -func ProgramUniform4uiEXT(program uint32, location int32, v0 uint32, v1 uint32, v2 uint32, v3 uint32) { - syscall.Syscall6(gpProgramUniform4uiEXT, 6, uintptr(program), uintptr(location), uintptr(v0), uintptr(v1), uintptr(v2), uintptr(v3)) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniform4uiv(program uint32, location int32, count int32, value *uint32) { - syscall.Syscall6(gpProgramUniform4uiv, 4, uintptr(program), uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value)), 0, 0) -} -func ProgramUniform4uivEXT(program uint32, location int32, count int32, value *uint32) { - syscall.Syscall6(gpProgramUniform4uivEXT, 4, uintptr(program), uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value)), 0, 0) -} -func ProgramUniformHandleui64ARB(program uint32, location int32, value uint64) { - syscall.Syscall(gpProgramUniformHandleui64ARB, 3, uintptr(program), uintptr(location), uintptr(value)) -} -func ProgramUniformHandleui64NV(program uint32, location int32, value uint64) { - syscall.Syscall(gpProgramUniformHandleui64NV, 3, uintptr(program), uintptr(location), uintptr(value)) -} -func ProgramUniformHandleui64vARB(program uint32, location int32, count int32, values *uint64) { - syscall.Syscall6(gpProgramUniformHandleui64vARB, 4, uintptr(program), uintptr(location), uintptr(count), uintptr(unsafe.Pointer(values)), 0, 0) -} -func ProgramUniformHandleui64vNV(program uint32, location int32, count int32, values *uint64) { - syscall.Syscall6(gpProgramUniformHandleui64vNV, 4, uintptr(program), uintptr(location), uintptr(count), uintptr(unsafe.Pointer(values)), 0, 0) -} -func ProgramUniformMatrix2dv(program uint32, location int32, count int32, transpose bool, value *float64) { - syscall.Syscall6(gpProgramUniformMatrix2dv, 5, uintptr(program), uintptr(location), uintptr(count), boolToUintptr(transpose), uintptr(unsafe.Pointer(value)), 0) -} -func ProgramUniformMatrix2dvEXT(program uint32, location int32, count int32, transpose bool, value *float64) { - syscall.Syscall6(gpProgramUniformMatrix2dvEXT, 5, uintptr(program), uintptr(location), uintptr(count), boolToUintptr(transpose), uintptr(unsafe.Pointer(value)), 0) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniformMatrix2fv(program uint32, location int32, count int32, transpose bool, value *float32) { - syscall.Syscall6(gpProgramUniformMatrix2fv, 5, uintptr(program), uintptr(location), uintptr(count), boolToUintptr(transpose), uintptr(unsafe.Pointer(value)), 0) -} -func ProgramUniformMatrix2fvEXT(program uint32, location int32, count int32, transpose bool, value *float32) { - syscall.Syscall6(gpProgramUniformMatrix2fvEXT, 5, uintptr(program), uintptr(location), uintptr(count), boolToUintptr(transpose), uintptr(unsafe.Pointer(value)), 0) -} -func ProgramUniformMatrix2x3dv(program uint32, location int32, count int32, transpose bool, value *float64) { - syscall.Syscall6(gpProgramUniformMatrix2x3dv, 5, uintptr(program), uintptr(location), uintptr(count), boolToUintptr(transpose), uintptr(unsafe.Pointer(value)), 0) -} -func ProgramUniformMatrix2x3dvEXT(program uint32, location int32, count int32, transpose bool, value *float64) { - syscall.Syscall6(gpProgramUniformMatrix2x3dvEXT, 5, uintptr(program), uintptr(location), uintptr(count), boolToUintptr(transpose), uintptr(unsafe.Pointer(value)), 0) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniformMatrix2x3fv(program uint32, location int32, count int32, transpose bool, value *float32) { - syscall.Syscall6(gpProgramUniformMatrix2x3fv, 5, uintptr(program), uintptr(location), uintptr(count), boolToUintptr(transpose), uintptr(unsafe.Pointer(value)), 0) -} -func ProgramUniformMatrix2x3fvEXT(program uint32, location int32, count int32, transpose bool, value *float32) { - syscall.Syscall6(gpProgramUniformMatrix2x3fvEXT, 5, uintptr(program), uintptr(location), uintptr(count), boolToUintptr(transpose), uintptr(unsafe.Pointer(value)), 0) -} -func ProgramUniformMatrix2x4dv(program uint32, location int32, count int32, transpose bool, value *float64) { - syscall.Syscall6(gpProgramUniformMatrix2x4dv, 5, uintptr(program), uintptr(location), uintptr(count), boolToUintptr(transpose), uintptr(unsafe.Pointer(value)), 0) -} -func ProgramUniformMatrix2x4dvEXT(program uint32, location int32, count int32, transpose bool, value *float64) { - syscall.Syscall6(gpProgramUniformMatrix2x4dvEXT, 5, uintptr(program), uintptr(location), uintptr(count), boolToUintptr(transpose), uintptr(unsafe.Pointer(value)), 0) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniformMatrix2x4fv(program uint32, location int32, count int32, transpose bool, value *float32) { - syscall.Syscall6(gpProgramUniformMatrix2x4fv, 5, uintptr(program), uintptr(location), uintptr(count), boolToUintptr(transpose), uintptr(unsafe.Pointer(value)), 0) -} -func ProgramUniformMatrix2x4fvEXT(program uint32, location int32, count int32, transpose bool, value *float32) { - syscall.Syscall6(gpProgramUniformMatrix2x4fvEXT, 5, uintptr(program), uintptr(location), uintptr(count), boolToUintptr(transpose), uintptr(unsafe.Pointer(value)), 0) -} -func ProgramUniformMatrix3dv(program uint32, location int32, count int32, transpose bool, value *float64) { - syscall.Syscall6(gpProgramUniformMatrix3dv, 5, uintptr(program), uintptr(location), uintptr(count), boolToUintptr(transpose), uintptr(unsafe.Pointer(value)), 0) -} -func ProgramUniformMatrix3dvEXT(program uint32, location int32, count int32, transpose bool, value *float64) { - syscall.Syscall6(gpProgramUniformMatrix3dvEXT, 5, uintptr(program), uintptr(location), uintptr(count), boolToUintptr(transpose), uintptr(unsafe.Pointer(value)), 0) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniformMatrix3fv(program uint32, location int32, count int32, transpose bool, value *float32) { - syscall.Syscall6(gpProgramUniformMatrix3fv, 5, uintptr(program), uintptr(location), uintptr(count), boolToUintptr(transpose), uintptr(unsafe.Pointer(value)), 0) -} -func ProgramUniformMatrix3fvEXT(program uint32, location int32, count int32, transpose bool, value *float32) { - syscall.Syscall6(gpProgramUniformMatrix3fvEXT, 5, uintptr(program), uintptr(location), uintptr(count), boolToUintptr(transpose), uintptr(unsafe.Pointer(value)), 0) -} -func ProgramUniformMatrix3x2dv(program uint32, location int32, count int32, transpose bool, value *float64) { - syscall.Syscall6(gpProgramUniformMatrix3x2dv, 5, uintptr(program), uintptr(location), uintptr(count), boolToUintptr(transpose), uintptr(unsafe.Pointer(value)), 0) -} -func ProgramUniformMatrix3x2dvEXT(program uint32, location int32, count int32, transpose bool, value *float64) { - syscall.Syscall6(gpProgramUniformMatrix3x2dvEXT, 5, uintptr(program), uintptr(location), uintptr(count), boolToUintptr(transpose), uintptr(unsafe.Pointer(value)), 0) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniformMatrix3x2fv(program uint32, location int32, count int32, transpose bool, value *float32) { - syscall.Syscall6(gpProgramUniformMatrix3x2fv, 5, uintptr(program), uintptr(location), uintptr(count), boolToUintptr(transpose), uintptr(unsafe.Pointer(value)), 0) -} -func ProgramUniformMatrix3x2fvEXT(program uint32, location int32, count int32, transpose bool, value *float32) { - syscall.Syscall6(gpProgramUniformMatrix3x2fvEXT, 5, uintptr(program), uintptr(location), uintptr(count), boolToUintptr(transpose), uintptr(unsafe.Pointer(value)), 0) -} -func ProgramUniformMatrix3x4dv(program uint32, location int32, count int32, transpose bool, value *float64) { - syscall.Syscall6(gpProgramUniformMatrix3x4dv, 5, uintptr(program), uintptr(location), uintptr(count), boolToUintptr(transpose), uintptr(unsafe.Pointer(value)), 0) -} -func ProgramUniformMatrix3x4dvEXT(program uint32, location int32, count int32, transpose bool, value *float64) { - syscall.Syscall6(gpProgramUniformMatrix3x4dvEXT, 5, uintptr(program), uintptr(location), uintptr(count), boolToUintptr(transpose), uintptr(unsafe.Pointer(value)), 0) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniformMatrix3x4fv(program uint32, location int32, count int32, transpose bool, value *float32) { - syscall.Syscall6(gpProgramUniformMatrix3x4fv, 5, uintptr(program), uintptr(location), uintptr(count), boolToUintptr(transpose), uintptr(unsafe.Pointer(value)), 0) -} -func ProgramUniformMatrix3x4fvEXT(program uint32, location int32, count int32, transpose bool, value *float32) { - syscall.Syscall6(gpProgramUniformMatrix3x4fvEXT, 5, uintptr(program), uintptr(location), uintptr(count), boolToUintptr(transpose), uintptr(unsafe.Pointer(value)), 0) -} -func ProgramUniformMatrix4dv(program uint32, location int32, count int32, transpose bool, value *float64) { - syscall.Syscall6(gpProgramUniformMatrix4dv, 5, uintptr(program), uintptr(location), uintptr(count), boolToUintptr(transpose), uintptr(unsafe.Pointer(value)), 0) -} -func ProgramUniformMatrix4dvEXT(program uint32, location int32, count int32, transpose bool, value *float64) { - syscall.Syscall6(gpProgramUniformMatrix4dvEXT, 5, uintptr(program), uintptr(location), uintptr(count), boolToUintptr(transpose), uintptr(unsafe.Pointer(value)), 0) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniformMatrix4fv(program uint32, location int32, count int32, transpose bool, value *float32) { - syscall.Syscall6(gpProgramUniformMatrix4fv, 5, uintptr(program), uintptr(location), uintptr(count), boolToUintptr(transpose), uintptr(unsafe.Pointer(value)), 0) -} -func ProgramUniformMatrix4fvEXT(program uint32, location int32, count int32, transpose bool, value *float32) { - syscall.Syscall6(gpProgramUniformMatrix4fvEXT, 5, uintptr(program), uintptr(location), uintptr(count), boolToUintptr(transpose), uintptr(unsafe.Pointer(value)), 0) -} -func ProgramUniformMatrix4x2dv(program uint32, location int32, count int32, transpose bool, value *float64) { - syscall.Syscall6(gpProgramUniformMatrix4x2dv, 5, uintptr(program), uintptr(location), uintptr(count), boolToUintptr(transpose), uintptr(unsafe.Pointer(value)), 0) -} -func ProgramUniformMatrix4x2dvEXT(program uint32, location int32, count int32, transpose bool, value *float64) { - syscall.Syscall6(gpProgramUniformMatrix4x2dvEXT, 5, uintptr(program), uintptr(location), uintptr(count), boolToUintptr(transpose), uintptr(unsafe.Pointer(value)), 0) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniformMatrix4x2fv(program uint32, location int32, count int32, transpose bool, value *float32) { - syscall.Syscall6(gpProgramUniformMatrix4x2fv, 5, uintptr(program), uintptr(location), uintptr(count), boolToUintptr(transpose), uintptr(unsafe.Pointer(value)), 0) -} -func ProgramUniformMatrix4x2fvEXT(program uint32, location int32, count int32, transpose bool, value *float32) { - syscall.Syscall6(gpProgramUniformMatrix4x2fvEXT, 5, uintptr(program), uintptr(location), uintptr(count), boolToUintptr(transpose), uintptr(unsafe.Pointer(value)), 0) -} -func ProgramUniformMatrix4x3dv(program uint32, location int32, count int32, transpose bool, value *float64) { - syscall.Syscall6(gpProgramUniformMatrix4x3dv, 5, uintptr(program), uintptr(location), uintptr(count), boolToUintptr(transpose), uintptr(unsafe.Pointer(value)), 0) -} -func ProgramUniformMatrix4x3dvEXT(program uint32, location int32, count int32, transpose bool, value *float64) { - syscall.Syscall6(gpProgramUniformMatrix4x3dvEXT, 5, uintptr(program), uintptr(location), uintptr(count), boolToUintptr(transpose), uintptr(unsafe.Pointer(value)), 0) -} - -// Specify the value of a uniform variable for a specified program object -func ProgramUniformMatrix4x3fv(program uint32, location int32, count int32, transpose bool, value *float32) { - syscall.Syscall6(gpProgramUniformMatrix4x3fv, 5, uintptr(program), uintptr(location), uintptr(count), boolToUintptr(transpose), uintptr(unsafe.Pointer(value)), 0) -} -func ProgramUniformMatrix4x3fvEXT(program uint32, location int32, count int32, transpose bool, value *float32) { - syscall.Syscall6(gpProgramUniformMatrix4x3fvEXT, 5, uintptr(program), uintptr(location), uintptr(count), boolToUintptr(transpose), uintptr(unsafe.Pointer(value)), 0) -} -func ProgramUniformui64NV(program uint32, location int32, value uint64) { - syscall.Syscall(gpProgramUniformui64NV, 3, uintptr(program), uintptr(location), uintptr(value)) -} -func ProgramUniformui64vNV(program uint32, location int32, count int32, value *uint64) { - syscall.Syscall6(gpProgramUniformui64vNV, 4, uintptr(program), uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value)), 0, 0) -} -func ProgramVertexLimitNV(target uint32, limit int32) { - syscall.Syscall(gpProgramVertexLimitNV, 2, uintptr(target), uintptr(limit), 0) -} - -// specifiy the vertex to be used as the source of data for flat shaded varyings -func ProvokingVertex(mode uint32) { - syscall.Syscall(gpProvokingVertex, 1, uintptr(mode), 0, 0) -} -func ProvokingVertexEXT(mode uint32) { - syscall.Syscall(gpProvokingVertexEXT, 1, uintptr(mode), 0, 0) -} - -// push and pop the server attribute stack -func PushAttrib(mask uint32) { - syscall.Syscall(gpPushAttrib, 1, uintptr(mask), 0, 0) -} - -// push and pop the client attribute stack -func PushClientAttrib(mask uint32) { - syscall.Syscall(gpPushClientAttrib, 1, uintptr(mask), 0, 0) -} -func PushClientAttribDefaultEXT(mask uint32) { - syscall.Syscall(gpPushClientAttribDefaultEXT, 1, uintptr(mask), 0, 0) -} - -// push a named debug group into the command stream -func PushDebugGroup(source uint32, id uint32, length int32, message *uint8) { - syscall.Syscall6(gpPushDebugGroup, 4, uintptr(source), uintptr(id), uintptr(length), uintptr(unsafe.Pointer(message)), 0, 0) -} -func PushDebugGroupKHR(source uint32, id uint32, length int32, message *uint8) { - syscall.Syscall6(gpPushDebugGroupKHR, 4, uintptr(source), uintptr(id), uintptr(length), uintptr(unsafe.Pointer(message)), 0, 0) -} -func PushGroupMarkerEXT(length int32, marker *uint8) { - syscall.Syscall(gpPushGroupMarkerEXT, 2, uintptr(length), uintptr(unsafe.Pointer(marker)), 0) -} - -// push and pop the current matrix stack -func PushMatrix() { - syscall.Syscall(gpPushMatrix, 0, 0, 0, 0) -} - -// push and pop the name stack -func PushName(name uint32) { - syscall.Syscall(gpPushName, 1, uintptr(name), 0, 0) -} - -// record the GL time into a query object after all previous commands have reached the GL server but have not yet necessarily executed. -func QueryCounter(id uint32, target uint32) { - syscall.Syscall(gpQueryCounter, 2, uintptr(id), uintptr(target), 0) -} - -// return the values of the current matrix -func QueryMatrixxOES(mantissa *int32, exponent *int32) uint32 { - ret, _, _ := syscall.Syscall(gpQueryMatrixxOES, 2, uintptr(unsafe.Pointer(mantissa)), uintptr(unsafe.Pointer(exponent)), 0) - return (uint32)(ret) -} -func QueryObjectParameteruiAMD(target uint32, id uint32, pname uint32, param uint32) { - syscall.Syscall6(gpQueryObjectParameteruiAMD, 4, uintptr(target), uintptr(id), uintptr(pname), uintptr(param), 0, 0) -} -func QueryResourceNV(queryType uint32, tagId int32, bufSize uint32, buffer *int32) int32 { - ret, _, _ := syscall.Syscall6(gpQueryResourceNV, 4, uintptr(queryType), uintptr(tagId), uintptr(bufSize), uintptr(unsafe.Pointer(buffer)), 0, 0) - return (int32)(ret) -} -func QueryResourceTagNV(tagId int32, tagString *uint8) { - syscall.Syscall(gpQueryResourceTagNV, 2, uintptr(tagId), uintptr(unsafe.Pointer(tagString)), 0) -} -func RasterPos2d(x float64, y float64) { - syscall.Syscall(gpRasterPos2d, 2, uintptr(math.Float64bits(x)), uintptr(math.Float64bits(y)), 0) -} -func RasterPos2dv(v *float64) { - syscall.Syscall(gpRasterPos2dv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func RasterPos2f(x float32, y float32) { - syscall.Syscall(gpRasterPos2f, 2, uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y)), 0) -} -func RasterPos2fv(v *float32) { - syscall.Syscall(gpRasterPos2fv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func RasterPos2i(x int32, y int32) { - syscall.Syscall(gpRasterPos2i, 2, uintptr(x), uintptr(y), 0) -} -func RasterPos2iv(v *int32) { - syscall.Syscall(gpRasterPos2iv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func RasterPos2s(x int16, y int16) { - syscall.Syscall(gpRasterPos2s, 2, uintptr(x), uintptr(y), 0) -} -func RasterPos2sv(v *int16) { - syscall.Syscall(gpRasterPos2sv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func RasterPos2xOES(x int32, y int32) { - syscall.Syscall(gpRasterPos2xOES, 2, uintptr(x), uintptr(y), 0) -} -func RasterPos2xvOES(coords *int32) { - syscall.Syscall(gpRasterPos2xvOES, 1, uintptr(unsafe.Pointer(coords)), 0, 0) -} -func RasterPos3d(x float64, y float64, z float64) { - syscall.Syscall(gpRasterPos3d, 3, uintptr(math.Float64bits(x)), uintptr(math.Float64bits(y)), uintptr(math.Float64bits(z))) -} -func RasterPos3dv(v *float64) { - syscall.Syscall(gpRasterPos3dv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func RasterPos3f(x float32, y float32, z float32) { - syscall.Syscall(gpRasterPos3f, 3, uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y)), uintptr(math.Float32bits(z))) -} -func RasterPos3fv(v *float32) { - syscall.Syscall(gpRasterPos3fv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func RasterPos3i(x int32, y int32, z int32) { - syscall.Syscall(gpRasterPos3i, 3, uintptr(x), uintptr(y), uintptr(z)) -} -func RasterPos3iv(v *int32) { - syscall.Syscall(gpRasterPos3iv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func RasterPos3s(x int16, y int16, z int16) { - syscall.Syscall(gpRasterPos3s, 3, uintptr(x), uintptr(y), uintptr(z)) -} -func RasterPos3sv(v *int16) { - syscall.Syscall(gpRasterPos3sv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func RasterPos3xOES(x int32, y int32, z int32) { - syscall.Syscall(gpRasterPos3xOES, 3, uintptr(x), uintptr(y), uintptr(z)) -} -func RasterPos3xvOES(coords *int32) { - syscall.Syscall(gpRasterPos3xvOES, 1, uintptr(unsafe.Pointer(coords)), 0, 0) -} -func RasterPos4d(x float64, y float64, z float64, w float64) { - syscall.Syscall6(gpRasterPos4d, 4, uintptr(math.Float64bits(x)), uintptr(math.Float64bits(y)), uintptr(math.Float64bits(z)), uintptr(math.Float64bits(w)), 0, 0) -} -func RasterPos4dv(v *float64) { - syscall.Syscall(gpRasterPos4dv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func RasterPos4f(x float32, y float32, z float32, w float32) { - syscall.Syscall6(gpRasterPos4f, 4, uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y)), uintptr(math.Float32bits(z)), uintptr(math.Float32bits(w)), 0, 0) -} -func RasterPos4fv(v *float32) { - syscall.Syscall(gpRasterPos4fv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func RasterPos4i(x int32, y int32, z int32, w int32) { - syscall.Syscall6(gpRasterPos4i, 4, uintptr(x), uintptr(y), uintptr(z), uintptr(w), 0, 0) -} -func RasterPos4iv(v *int32) { - syscall.Syscall(gpRasterPos4iv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func RasterPos4s(x int16, y int16, z int16, w int16) { - syscall.Syscall6(gpRasterPos4s, 4, uintptr(x), uintptr(y), uintptr(z), uintptr(w), 0, 0) -} -func RasterPos4sv(v *int16) { - syscall.Syscall(gpRasterPos4sv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func RasterPos4xOES(x int32, y int32, z int32, w int32) { - syscall.Syscall6(gpRasterPos4xOES, 4, uintptr(x), uintptr(y), uintptr(z), uintptr(w), 0, 0) -} -func RasterPos4xvOES(coords *int32) { - syscall.Syscall(gpRasterPos4xvOES, 1, uintptr(unsafe.Pointer(coords)), 0, 0) -} -func RasterSamplesEXT(samples uint32, fixedsamplelocations bool) { - syscall.Syscall(gpRasterSamplesEXT, 2, uintptr(samples), boolToUintptr(fixedsamplelocations), 0) -} - -// select a color buffer source for pixels -func ReadBuffer(src uint32) { - syscall.Syscall(gpReadBuffer, 1, uintptr(src), 0, 0) -} -func ReadInstrumentsSGIX(marker int32) { - syscall.Syscall(gpReadInstrumentsSGIX, 1, uintptr(marker), 0, 0) -} - -// read a block of pixels from the frame buffer func ReadPixels(x int32, y int32, width int32, height int32, format uint32, xtype uint32, pixels unsafe.Pointer) { syscall.Syscall9(gpReadPixels, 7, uintptr(x), uintptr(y), uintptr(width), uintptr(height), uintptr(format), uintptr(xtype), uintptr(pixels), 0, 0) } -// read a block of pixels from the frame buffer -func ReadnPixels(x int32, y int32, width int32, height int32, format uint32, xtype uint32, bufSize int32, data unsafe.Pointer) { - syscall.Syscall9(gpReadnPixels, 8, uintptr(x), uintptr(y), uintptr(width), uintptr(height), uintptr(format), uintptr(xtype), uintptr(bufSize), uintptr(data), 0) -} -func ReadnPixelsARB(x int32, y int32, width int32, height int32, format uint32, xtype uint32, bufSize int32, data unsafe.Pointer) { - syscall.Syscall9(gpReadnPixelsARB, 8, uintptr(x), uintptr(y), uintptr(width), uintptr(height), uintptr(format), uintptr(xtype), uintptr(bufSize), uintptr(data), 0) -} -func ReadnPixelsKHR(x int32, y int32, width int32, height int32, format uint32, xtype uint32, bufSize int32, data unsafe.Pointer) { - syscall.Syscall9(gpReadnPixelsKHR, 8, uintptr(x), uintptr(y), uintptr(width), uintptr(height), uintptr(format), uintptr(xtype), uintptr(bufSize), uintptr(data), 0) -} -func Rectd(x1 float64, y1 float64, x2 float64, y2 float64) { - syscall.Syscall6(gpRectd, 4, uintptr(math.Float64bits(x1)), uintptr(math.Float64bits(y1)), uintptr(math.Float64bits(x2)), uintptr(math.Float64bits(y2)), 0, 0) -} -func Rectdv(v1 *float64, v2 *float64) { - syscall.Syscall(gpRectdv, 2, uintptr(unsafe.Pointer(v1)), uintptr(unsafe.Pointer(v2)), 0) -} -func Rectf(x1 float32, y1 float32, x2 float32, y2 float32) { - syscall.Syscall6(gpRectf, 4, uintptr(math.Float32bits(x1)), uintptr(math.Float32bits(y1)), uintptr(math.Float32bits(x2)), uintptr(math.Float32bits(y2)), 0, 0) -} -func Rectfv(v1 *float32, v2 *float32) { - syscall.Syscall(gpRectfv, 2, uintptr(unsafe.Pointer(v1)), uintptr(unsafe.Pointer(v2)), 0) -} -func Recti(x1 int32, y1 int32, x2 int32, y2 int32) { - syscall.Syscall6(gpRecti, 4, uintptr(x1), uintptr(y1), uintptr(x2), uintptr(y2), 0, 0) -} -func Rectiv(v1 *int32, v2 *int32) { - syscall.Syscall(gpRectiv, 2, uintptr(unsafe.Pointer(v1)), uintptr(unsafe.Pointer(v2)), 0) -} -func Rects(x1 int16, y1 int16, x2 int16, y2 int16) { - syscall.Syscall6(gpRects, 4, uintptr(x1), uintptr(y1), uintptr(x2), uintptr(y2), 0, 0) -} -func Rectsv(v1 *int16, v2 *int16) { - syscall.Syscall(gpRectsv, 2, uintptr(unsafe.Pointer(v1)), uintptr(unsafe.Pointer(v2)), 0) -} -func RectxOES(x1 int32, y1 int32, x2 int32, y2 int32) { - syscall.Syscall6(gpRectxOES, 4, uintptr(x1), uintptr(y1), uintptr(x2), uintptr(y2), 0, 0) -} -func RectxvOES(v1 *int32, v2 *int32) { - syscall.Syscall(gpRectxvOES, 2, uintptr(unsafe.Pointer(v1)), uintptr(unsafe.Pointer(v2)), 0) -} -func ReferencePlaneSGIX(equation *float64) { - syscall.Syscall(gpReferencePlaneSGIX, 1, uintptr(unsafe.Pointer(equation)), 0, 0) -} -func ReleaseKeyedMutexWin32EXT(memory uint32, key uint64) bool { - ret, _, _ := syscall.Syscall(gpReleaseKeyedMutexWin32EXT, 2, uintptr(memory), uintptr(key), 0) - return ret != 0 -} - -// release resources consumed by the implementation's shader compiler -func ReleaseShaderCompiler() { - syscall.Syscall(gpReleaseShaderCompiler, 0, 0, 0, 0) -} -func RenderGpuMaskNV(mask uint32) { - syscall.Syscall(gpRenderGpuMaskNV, 1, uintptr(mask), 0, 0) -} - -// set rasterization mode -func RenderMode(mode uint32) int32 { - ret, _, _ := syscall.Syscall(gpRenderMode, 1, uintptr(mode), 0, 0) - return (int32)(ret) -} - -// establish data storage, format and dimensions of a renderbuffer object's image -func RenderbufferStorage(target uint32, internalformat uint32, width int32, height int32) { - syscall.Syscall6(gpRenderbufferStorage, 4, uintptr(target), uintptr(internalformat), uintptr(width), uintptr(height), 0, 0) -} -func RenderbufferStorageEXT(target uint32, internalformat uint32, width int32, height int32) { - syscall.Syscall6(gpRenderbufferStorageEXT, 4, uintptr(target), uintptr(internalformat), uintptr(width), uintptr(height), 0, 0) -} - -// establish data storage, format, dimensions and sample count of a renderbuffer object's image -func RenderbufferStorageMultisample(target uint32, samples int32, internalformat uint32, width int32, height int32) { - syscall.Syscall6(gpRenderbufferStorageMultisample, 5, uintptr(target), uintptr(samples), uintptr(internalformat), uintptr(width), uintptr(height), 0) -} -func RenderbufferStorageMultisampleCoverageNV(target uint32, coverageSamples int32, colorSamples int32, internalformat uint32, width int32, height int32) { - syscall.Syscall6(gpRenderbufferStorageMultisampleCoverageNV, 6, uintptr(target), uintptr(coverageSamples), uintptr(colorSamples), uintptr(internalformat), uintptr(width), uintptr(height)) -} -func RenderbufferStorageMultisampleEXT(target uint32, samples int32, internalformat uint32, width int32, height int32) { - syscall.Syscall6(gpRenderbufferStorageMultisampleEXT, 5, uintptr(target), uintptr(samples), uintptr(internalformat), uintptr(width), uintptr(height), 0) -} -func ReplacementCodePointerSUN(xtype uint32, stride int32, pointer *unsafe.Pointer) { - syscall.Syscall(gpReplacementCodePointerSUN, 3, uintptr(xtype), uintptr(stride), uintptr(unsafe.Pointer(pointer))) -} -func ReplacementCodeubSUN(code uint8) { - syscall.Syscall(gpReplacementCodeubSUN, 1, uintptr(code), 0, 0) -} -func ReplacementCodeubvSUN(code *uint8) { - syscall.Syscall(gpReplacementCodeubvSUN, 1, uintptr(unsafe.Pointer(code)), 0, 0) -} -func ReplacementCodeuiColor3fVertex3fSUN(rc uint32, r float32, g float32, b float32, x float32, y float32, z float32) { - syscall.Syscall9(gpReplacementCodeuiColor3fVertex3fSUN, 7, uintptr(rc), uintptr(math.Float32bits(r)), uintptr(math.Float32bits(g)), uintptr(math.Float32bits(b)), uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y)), uintptr(math.Float32bits(z)), 0, 0) -} -func ReplacementCodeuiColor3fVertex3fvSUN(rc *uint32, c *float32, v *float32) { - syscall.Syscall(gpReplacementCodeuiColor3fVertex3fvSUN, 3, uintptr(unsafe.Pointer(rc)), uintptr(unsafe.Pointer(c)), uintptr(unsafe.Pointer(v))) -} -func ReplacementCodeuiColor4fNormal3fVertex3fSUN(rc uint32, r float32, g float32, b float32, a float32, nx float32, ny float32, nz float32, x float32, y float32, z float32) { - syscall.Syscall12(gpReplacementCodeuiColor4fNormal3fVertex3fSUN, 11, uintptr(rc), uintptr(math.Float32bits(r)), uintptr(math.Float32bits(g)), uintptr(math.Float32bits(b)), uintptr(math.Float32bits(a)), uintptr(math.Float32bits(nx)), uintptr(math.Float32bits(ny)), uintptr(math.Float32bits(nz)), uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y)), uintptr(math.Float32bits(z)), 0) -} -func ReplacementCodeuiColor4fNormal3fVertex3fvSUN(rc *uint32, c *float32, n *float32, v *float32) { - syscall.Syscall6(gpReplacementCodeuiColor4fNormal3fVertex3fvSUN, 4, uintptr(unsafe.Pointer(rc)), uintptr(unsafe.Pointer(c)), uintptr(unsafe.Pointer(n)), uintptr(unsafe.Pointer(v)), 0, 0) -} -func ReplacementCodeuiColor4ubVertex3fSUN(rc uint32, r uint8, g uint8, b uint8, a uint8, x float32, y float32, z float32) { - syscall.Syscall9(gpReplacementCodeuiColor4ubVertex3fSUN, 8, uintptr(rc), uintptr(r), uintptr(g), uintptr(b), uintptr(a), uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y)), uintptr(math.Float32bits(z)), 0) -} -func ReplacementCodeuiColor4ubVertex3fvSUN(rc *uint32, c *uint8, v *float32) { - syscall.Syscall(gpReplacementCodeuiColor4ubVertex3fvSUN, 3, uintptr(unsafe.Pointer(rc)), uintptr(unsafe.Pointer(c)), uintptr(unsafe.Pointer(v))) -} -func ReplacementCodeuiNormal3fVertex3fSUN(rc uint32, nx float32, ny float32, nz float32, x float32, y float32, z float32) { - syscall.Syscall9(gpReplacementCodeuiNormal3fVertex3fSUN, 7, uintptr(rc), uintptr(math.Float32bits(nx)), uintptr(math.Float32bits(ny)), uintptr(math.Float32bits(nz)), uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y)), uintptr(math.Float32bits(z)), 0, 0) -} -func ReplacementCodeuiNormal3fVertex3fvSUN(rc *uint32, n *float32, v *float32) { - syscall.Syscall(gpReplacementCodeuiNormal3fVertex3fvSUN, 3, uintptr(unsafe.Pointer(rc)), uintptr(unsafe.Pointer(n)), uintptr(unsafe.Pointer(v))) -} -func ReplacementCodeuiSUN(code uint32) { - syscall.Syscall(gpReplacementCodeuiSUN, 1, uintptr(code), 0, 0) -} -func ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN(rc uint32, s float32, t float32, r float32, g float32, b float32, a float32, nx float32, ny float32, nz float32, x float32, y float32, z float32) { - syscall.Syscall15(gpReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN, 13, uintptr(rc), uintptr(math.Float32bits(s)), uintptr(math.Float32bits(t)), uintptr(math.Float32bits(r)), uintptr(math.Float32bits(g)), uintptr(math.Float32bits(b)), uintptr(math.Float32bits(a)), uintptr(math.Float32bits(nx)), uintptr(math.Float32bits(ny)), uintptr(math.Float32bits(nz)), uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y)), uintptr(math.Float32bits(z)), 0, 0) -} -func ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(rc *uint32, tc *float32, c *float32, n *float32, v *float32) { - syscall.Syscall6(gpReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN, 5, uintptr(unsafe.Pointer(rc)), uintptr(unsafe.Pointer(tc)), uintptr(unsafe.Pointer(c)), uintptr(unsafe.Pointer(n)), uintptr(unsafe.Pointer(v)), 0) -} -func ReplacementCodeuiTexCoord2fNormal3fVertex3fSUN(rc uint32, s float32, t float32, nx float32, ny float32, nz float32, x float32, y float32, z float32) { - syscall.Syscall9(gpReplacementCodeuiTexCoord2fNormal3fVertex3fSUN, 9, uintptr(rc), uintptr(math.Float32bits(s)), uintptr(math.Float32bits(t)), uintptr(math.Float32bits(nx)), uintptr(math.Float32bits(ny)), uintptr(math.Float32bits(nz)), uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y)), uintptr(math.Float32bits(z))) -} -func ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(rc *uint32, tc *float32, n *float32, v *float32) { - syscall.Syscall6(gpReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN, 4, uintptr(unsafe.Pointer(rc)), uintptr(unsafe.Pointer(tc)), uintptr(unsafe.Pointer(n)), uintptr(unsafe.Pointer(v)), 0, 0) -} -func ReplacementCodeuiTexCoord2fVertex3fSUN(rc uint32, s float32, t float32, x float32, y float32, z float32) { - syscall.Syscall6(gpReplacementCodeuiTexCoord2fVertex3fSUN, 6, uintptr(rc), uintptr(math.Float32bits(s)), uintptr(math.Float32bits(t)), uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y)), uintptr(math.Float32bits(z))) -} -func ReplacementCodeuiTexCoord2fVertex3fvSUN(rc *uint32, tc *float32, v *float32) { - syscall.Syscall(gpReplacementCodeuiTexCoord2fVertex3fvSUN, 3, uintptr(unsafe.Pointer(rc)), uintptr(unsafe.Pointer(tc)), uintptr(unsafe.Pointer(v))) -} -func ReplacementCodeuiVertex3fSUN(rc uint32, x float32, y float32, z float32) { - syscall.Syscall6(gpReplacementCodeuiVertex3fSUN, 4, uintptr(rc), uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y)), uintptr(math.Float32bits(z)), 0, 0) -} -func ReplacementCodeuiVertex3fvSUN(rc *uint32, v *float32) { - syscall.Syscall(gpReplacementCodeuiVertex3fvSUN, 2, uintptr(unsafe.Pointer(rc)), uintptr(unsafe.Pointer(v)), 0) -} -func ReplacementCodeuivSUN(code *uint32) { - syscall.Syscall(gpReplacementCodeuivSUN, 1, uintptr(unsafe.Pointer(code)), 0, 0) -} -func ReplacementCodeusSUN(code uint16) { - syscall.Syscall(gpReplacementCodeusSUN, 1, uintptr(code), 0, 0) -} -func ReplacementCodeusvSUN(code *uint16) { - syscall.Syscall(gpReplacementCodeusvSUN, 1, uintptr(unsafe.Pointer(code)), 0, 0) -} -func RequestResidentProgramsNV(n int32, programs *uint32) { - syscall.Syscall(gpRequestResidentProgramsNV, 2, uintptr(n), uintptr(unsafe.Pointer(programs)), 0) -} -func ResetHistogramEXT(target uint32) { - syscall.Syscall(gpResetHistogramEXT, 1, uintptr(target), 0, 0) -} -func ResetMinmaxEXT(target uint32) { - syscall.Syscall(gpResetMinmaxEXT, 1, uintptr(target), 0, 0) -} -func ResizeBuffersMESA() { - syscall.Syscall(gpResizeBuffersMESA, 0, 0, 0, 0) -} -func ResolveDepthValuesNV() { - syscall.Syscall(gpResolveDepthValuesNV, 0, 0, 0, 0) -} - -// resume transform feedback operations -func ResumeTransformFeedback() { - syscall.Syscall(gpResumeTransformFeedback, 0, 0, 0, 0) -} -func ResumeTransformFeedbackNV() { - syscall.Syscall(gpResumeTransformFeedbackNV, 0, 0, 0, 0) -} -func Rotated(angle float64, x float64, y float64, z float64) { - syscall.Syscall6(gpRotated, 4, uintptr(math.Float64bits(angle)), uintptr(math.Float64bits(x)), uintptr(math.Float64bits(y)), uintptr(math.Float64bits(z)), 0, 0) -} -func Rotatef(angle float32, x float32, y float32, z float32) { - syscall.Syscall6(gpRotatef, 4, uintptr(math.Float32bits(angle)), uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y)), uintptr(math.Float32bits(z)), 0, 0) -} -func RotatexOES(angle int32, x int32, y int32, z int32) { - syscall.Syscall6(gpRotatexOES, 4, uintptr(angle), uintptr(x), uintptr(y), uintptr(z), 0, 0) -} - -// specify multisample coverage parameters -func SampleCoverage(value float32, invert bool) { - syscall.Syscall(gpSampleCoverage, 2, uintptr(math.Float32bits(value)), boolToUintptr(invert), 0) -} -func SampleCoverageARB(value float32, invert bool) { - syscall.Syscall(gpSampleCoverageARB, 2, uintptr(math.Float32bits(value)), boolToUintptr(invert), 0) -} -func SampleCoveragexOES(value int32, invert bool) { - syscall.Syscall(gpSampleCoveragexOES, 2, uintptr(value), boolToUintptr(invert), 0) -} -func SampleMapATI(dst uint32, interp uint32, swizzle uint32) { - syscall.Syscall(gpSampleMapATI, 3, uintptr(dst), uintptr(interp), uintptr(swizzle)) -} -func SampleMaskEXT(value float32, invert bool) { - syscall.Syscall(gpSampleMaskEXT, 2, uintptr(math.Float32bits(value)), boolToUintptr(invert), 0) -} -func SampleMaskIndexedNV(index uint32, mask uint32) { - syscall.Syscall(gpSampleMaskIndexedNV, 2, uintptr(index), uintptr(mask), 0) -} -func SampleMaskSGIS(value float32, invert bool) { - syscall.Syscall(gpSampleMaskSGIS, 2, uintptr(math.Float32bits(value)), boolToUintptr(invert), 0) -} - -// set the value of a sub-word of the sample mask -func SampleMaski(maskNumber uint32, mask uint32) { - syscall.Syscall(gpSampleMaski, 2, uintptr(maskNumber), uintptr(mask), 0) -} -func SamplePatternEXT(pattern uint32) { - syscall.Syscall(gpSamplePatternEXT, 1, uintptr(pattern), 0, 0) -} -func SamplePatternSGIS(pattern uint32) { - syscall.Syscall(gpSamplePatternSGIS, 1, uintptr(pattern), 0, 0) -} -func SamplerParameterIiv(sampler uint32, pname uint32, param *int32) { - syscall.Syscall(gpSamplerParameterIiv, 3, uintptr(sampler), uintptr(pname), uintptr(unsafe.Pointer(param))) -} -func SamplerParameterIuiv(sampler uint32, pname uint32, param *uint32) { - syscall.Syscall(gpSamplerParameterIuiv, 3, uintptr(sampler), uintptr(pname), uintptr(unsafe.Pointer(param))) -} -func SamplerParameterf(sampler uint32, pname uint32, param float32) { - syscall.Syscall(gpSamplerParameterf, 3, uintptr(sampler), uintptr(pname), uintptr(math.Float32bits(param))) -} -func SamplerParameterfv(sampler uint32, pname uint32, param *float32) { - syscall.Syscall(gpSamplerParameterfv, 3, uintptr(sampler), uintptr(pname), uintptr(unsafe.Pointer(param))) -} -func SamplerParameteri(sampler uint32, pname uint32, param int32) { - syscall.Syscall(gpSamplerParameteri, 3, uintptr(sampler), uintptr(pname), uintptr(param)) -} -func SamplerParameteriv(sampler uint32, pname uint32, param *int32) { - syscall.Syscall(gpSamplerParameteriv, 3, uintptr(sampler), uintptr(pname), uintptr(unsafe.Pointer(param))) -} -func Scaled(x float64, y float64, z float64) { - syscall.Syscall(gpScaled, 3, uintptr(math.Float64bits(x)), uintptr(math.Float64bits(y)), uintptr(math.Float64bits(z))) -} -func Scalef(x float32, y float32, z float32) { - syscall.Syscall(gpScalef, 3, uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y)), uintptr(math.Float32bits(z))) -} -func ScalexOES(x int32, y int32, z int32) { - syscall.Syscall(gpScalexOES, 3, uintptr(x), uintptr(y), uintptr(z)) -} - -// define the scissor box -func Scissor(x int32, y int32, width int32, height int32) { - syscall.Syscall6(gpScissor, 4, uintptr(x), uintptr(y), uintptr(width), uintptr(height), 0, 0) -} -func ScissorArrayv(first uint32, count int32, v *int32) { - syscall.Syscall(gpScissorArrayv, 3, uintptr(first), uintptr(count), uintptr(unsafe.Pointer(v))) -} - -// define the scissor box for a specific viewport -func ScissorIndexed(index uint32, left int32, bottom int32, width int32, height int32) { - syscall.Syscall6(gpScissorIndexed, 5, uintptr(index), uintptr(left), uintptr(bottom), uintptr(width), uintptr(height), 0) -} -func ScissorIndexedv(index uint32, v *int32) { - syscall.Syscall(gpScissorIndexedv, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func SecondaryColor3b(red int8, green int8, blue int8) { - syscall.Syscall(gpSecondaryColor3b, 3, uintptr(red), uintptr(green), uintptr(blue)) -} -func SecondaryColor3bEXT(red int8, green int8, blue int8) { - syscall.Syscall(gpSecondaryColor3bEXT, 3, uintptr(red), uintptr(green), uintptr(blue)) -} -func SecondaryColor3bv(v *int8) { - syscall.Syscall(gpSecondaryColor3bv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func SecondaryColor3bvEXT(v *int8) { - syscall.Syscall(gpSecondaryColor3bvEXT, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func SecondaryColor3d(red float64, green float64, blue float64) { - syscall.Syscall(gpSecondaryColor3d, 3, uintptr(math.Float64bits(red)), uintptr(math.Float64bits(green)), uintptr(math.Float64bits(blue))) -} -func SecondaryColor3dEXT(red float64, green float64, blue float64) { - syscall.Syscall(gpSecondaryColor3dEXT, 3, uintptr(math.Float64bits(red)), uintptr(math.Float64bits(green)), uintptr(math.Float64bits(blue))) -} -func SecondaryColor3dv(v *float64) { - syscall.Syscall(gpSecondaryColor3dv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func SecondaryColor3dvEXT(v *float64) { - syscall.Syscall(gpSecondaryColor3dvEXT, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func SecondaryColor3f(red float32, green float32, blue float32) { - syscall.Syscall(gpSecondaryColor3f, 3, uintptr(math.Float32bits(red)), uintptr(math.Float32bits(green)), uintptr(math.Float32bits(blue))) -} -func SecondaryColor3fEXT(red float32, green float32, blue float32) { - syscall.Syscall(gpSecondaryColor3fEXT, 3, uintptr(math.Float32bits(red)), uintptr(math.Float32bits(green)), uintptr(math.Float32bits(blue))) -} -func SecondaryColor3fv(v *float32) { - syscall.Syscall(gpSecondaryColor3fv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func SecondaryColor3fvEXT(v *float32) { - syscall.Syscall(gpSecondaryColor3fvEXT, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func SecondaryColor3hNV(red uint16, green uint16, blue uint16) { - syscall.Syscall(gpSecondaryColor3hNV, 3, uintptr(red), uintptr(green), uintptr(blue)) -} -func SecondaryColor3hvNV(v *uint16) { - syscall.Syscall(gpSecondaryColor3hvNV, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func SecondaryColor3i(red int32, green int32, blue int32) { - syscall.Syscall(gpSecondaryColor3i, 3, uintptr(red), uintptr(green), uintptr(blue)) -} -func SecondaryColor3iEXT(red int32, green int32, blue int32) { - syscall.Syscall(gpSecondaryColor3iEXT, 3, uintptr(red), uintptr(green), uintptr(blue)) -} -func SecondaryColor3iv(v *int32) { - syscall.Syscall(gpSecondaryColor3iv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func SecondaryColor3ivEXT(v *int32) { - syscall.Syscall(gpSecondaryColor3ivEXT, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func SecondaryColor3s(red int16, green int16, blue int16) { - syscall.Syscall(gpSecondaryColor3s, 3, uintptr(red), uintptr(green), uintptr(blue)) -} -func SecondaryColor3sEXT(red int16, green int16, blue int16) { - syscall.Syscall(gpSecondaryColor3sEXT, 3, uintptr(red), uintptr(green), uintptr(blue)) -} -func SecondaryColor3sv(v *int16) { - syscall.Syscall(gpSecondaryColor3sv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func SecondaryColor3svEXT(v *int16) { - syscall.Syscall(gpSecondaryColor3svEXT, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func SecondaryColor3ub(red uint8, green uint8, blue uint8) { - syscall.Syscall(gpSecondaryColor3ub, 3, uintptr(red), uintptr(green), uintptr(blue)) -} -func SecondaryColor3ubEXT(red uint8, green uint8, blue uint8) { - syscall.Syscall(gpSecondaryColor3ubEXT, 3, uintptr(red), uintptr(green), uintptr(blue)) -} -func SecondaryColor3ubv(v *uint8) { - syscall.Syscall(gpSecondaryColor3ubv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func SecondaryColor3ubvEXT(v *uint8) { - syscall.Syscall(gpSecondaryColor3ubvEXT, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func SecondaryColor3ui(red uint32, green uint32, blue uint32) { - syscall.Syscall(gpSecondaryColor3ui, 3, uintptr(red), uintptr(green), uintptr(blue)) -} -func SecondaryColor3uiEXT(red uint32, green uint32, blue uint32) { - syscall.Syscall(gpSecondaryColor3uiEXT, 3, uintptr(red), uintptr(green), uintptr(blue)) -} -func SecondaryColor3uiv(v *uint32) { - syscall.Syscall(gpSecondaryColor3uiv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func SecondaryColor3uivEXT(v *uint32) { - syscall.Syscall(gpSecondaryColor3uivEXT, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func SecondaryColor3us(red uint16, green uint16, blue uint16) { - syscall.Syscall(gpSecondaryColor3us, 3, uintptr(red), uintptr(green), uintptr(blue)) -} -func SecondaryColor3usEXT(red uint16, green uint16, blue uint16) { - syscall.Syscall(gpSecondaryColor3usEXT, 3, uintptr(red), uintptr(green), uintptr(blue)) -} -func SecondaryColor3usv(v *uint16) { - syscall.Syscall(gpSecondaryColor3usv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func SecondaryColor3usvEXT(v *uint16) { - syscall.Syscall(gpSecondaryColor3usvEXT, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func SecondaryColorFormatNV(size int32, xtype uint32, stride int32) { - syscall.Syscall(gpSecondaryColorFormatNV, 3, uintptr(size), uintptr(xtype), uintptr(stride)) -} - -// define an array of secondary colors -func SecondaryColorPointer(size int32, xtype uint32, stride int32, pointer unsafe.Pointer) { - syscall.Syscall6(gpSecondaryColorPointer, 4, uintptr(size), uintptr(xtype), uintptr(stride), uintptr(pointer), 0, 0) -} -func SecondaryColorPointerEXT(size int32, xtype uint32, stride int32, pointer unsafe.Pointer) { - syscall.Syscall6(gpSecondaryColorPointerEXT, 4, uintptr(size), uintptr(xtype), uintptr(stride), uintptr(pointer), 0, 0) -} -func SecondaryColorPointerListIBM(size int32, xtype uint32, stride int32, pointer *unsafe.Pointer, ptrstride int32) { - syscall.Syscall6(gpSecondaryColorPointerListIBM, 5, uintptr(size), uintptr(xtype), uintptr(stride), uintptr(unsafe.Pointer(pointer)), uintptr(ptrstride), 0) -} - -// establish a buffer for selection mode values -func SelectBuffer(size int32, buffer *uint32) { - syscall.Syscall(gpSelectBuffer, 2, uintptr(size), uintptr(unsafe.Pointer(buffer)), 0) -} -func SelectPerfMonitorCountersAMD(monitor uint32, enable bool, group uint32, numCounters int32, counterList *uint32) { - syscall.Syscall6(gpSelectPerfMonitorCountersAMD, 5, uintptr(monitor), boolToUintptr(enable), uintptr(group), uintptr(numCounters), uintptr(unsafe.Pointer(counterList)), 0) -} -func SemaphoreParameterui64vEXT(semaphore uint32, pname uint32, params *uint64) { - syscall.Syscall(gpSemaphoreParameterui64vEXT, 3, uintptr(semaphore), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func SeparableFilter2DEXT(target uint32, internalformat uint32, width int32, height int32, format uint32, xtype uint32, row unsafe.Pointer, column unsafe.Pointer) { - syscall.Syscall9(gpSeparableFilter2DEXT, 8, uintptr(target), uintptr(internalformat), uintptr(width), uintptr(height), uintptr(format), uintptr(xtype), uintptr(row), uintptr(column), 0) -} -func SetFenceAPPLE(fence uint32) { - syscall.Syscall(gpSetFenceAPPLE, 1, uintptr(fence), 0, 0) -} -func SetFenceNV(fence uint32, condition uint32) { - syscall.Syscall(gpSetFenceNV, 2, uintptr(fence), uintptr(condition), 0) -} -func SetFragmentShaderConstantATI(dst uint32, value *float32) { - syscall.Syscall(gpSetFragmentShaderConstantATI, 2, uintptr(dst), uintptr(unsafe.Pointer(value)), 0) -} -func SetInvariantEXT(id uint32, xtype uint32, addr unsafe.Pointer) { - syscall.Syscall(gpSetInvariantEXT, 3, uintptr(id), uintptr(xtype), uintptr(addr)) -} -func SetLocalConstantEXT(id uint32, xtype uint32, addr unsafe.Pointer) { - syscall.Syscall(gpSetLocalConstantEXT, 3, uintptr(id), uintptr(xtype), uintptr(addr)) -} -func SetMultisamplefvAMD(pname uint32, index uint32, val *float32) { - syscall.Syscall(gpSetMultisamplefvAMD, 3, uintptr(pname), uintptr(index), uintptr(unsafe.Pointer(val))) -} - -// select flat or smooth shading -func ShadeModel(mode uint32) { - syscall.Syscall(gpShadeModel, 1, uintptr(mode), 0, 0) -} - -// load pre-compiled shader binaries -func ShaderBinary(count int32, shaders *uint32, binaryformat uint32, binary unsafe.Pointer, length int32) { - syscall.Syscall6(gpShaderBinary, 5, uintptr(count), uintptr(unsafe.Pointer(shaders)), uintptr(binaryformat), uintptr(binary), uintptr(length), 0) -} -func ShaderOp1EXT(op uint32, res uint32, arg1 uint32) { - syscall.Syscall(gpShaderOp1EXT, 3, uintptr(op), uintptr(res), uintptr(arg1)) -} -func ShaderOp2EXT(op uint32, res uint32, arg1 uint32, arg2 uint32) { - syscall.Syscall6(gpShaderOp2EXT, 4, uintptr(op), uintptr(res), uintptr(arg1), uintptr(arg2), 0, 0) -} -func ShaderOp3EXT(op uint32, res uint32, arg1 uint32, arg2 uint32, arg3 uint32) { - syscall.Syscall6(gpShaderOp3EXT, 5, uintptr(op), uintptr(res), uintptr(arg1), uintptr(arg2), uintptr(arg3), 0) -} - -// Replaces the source code in a shader object func ShaderSource(shader uint32, count int32, xstring **uint8, length *int32) { syscall.Syscall6(gpShaderSource, 4, uintptr(shader), uintptr(count), uintptr(unsafe.Pointer(xstring)), uintptr(unsafe.Pointer(length)), 0, 0) } -func ShaderSourceARB(shaderObj uintptr, count int32, xstring **uint8, length *int32) { - syscall.Syscall6(gpShaderSourceARB, 4, uintptr(shaderObj), uintptr(count), uintptr(unsafe.Pointer(xstring)), uintptr(unsafe.Pointer(length)), 0, 0) -} -// change an active shader storage block binding -func ShaderStorageBlockBinding(program uint32, storageBlockIndex uint32, storageBlockBinding uint32) { - syscall.Syscall(gpShaderStorageBlockBinding, 3, uintptr(program), uintptr(storageBlockIndex), uintptr(storageBlockBinding)) -} -func SharpenTexFuncSGIS(target uint32, n int32, points *float32) { - syscall.Syscall(gpSharpenTexFuncSGIS, 3, uintptr(target), uintptr(n), uintptr(unsafe.Pointer(points))) -} -func SignalSemaphoreEXT(semaphore uint32, numBufferBarriers uint32, buffers *uint32, numTextureBarriers uint32, textures *uint32, dstLayouts *uint32) { - syscall.Syscall6(gpSignalSemaphoreEXT, 6, uintptr(semaphore), uintptr(numBufferBarriers), uintptr(unsafe.Pointer(buffers)), uintptr(numTextureBarriers), uintptr(unsafe.Pointer(textures)), uintptr(unsafe.Pointer(dstLayouts))) -} -func SignalVkFenceNV(vkFence uint64) { - syscall.Syscall(gpSignalVkFenceNV, 1, uintptr(vkFence), 0, 0) -} -func SignalVkSemaphoreNV(vkSemaphore uint64) { - syscall.Syscall(gpSignalVkSemaphoreNV, 1, uintptr(vkSemaphore), 0, 0) -} -func SpecializeShaderARB(shader uint32, pEntryPoint *uint8, numSpecializationConstants uint32, pConstantIndex *uint32, pConstantValue *uint32) { - syscall.Syscall6(gpSpecializeShaderARB, 5, uintptr(shader), uintptr(unsafe.Pointer(pEntryPoint)), uintptr(numSpecializationConstants), uintptr(unsafe.Pointer(pConstantIndex)), uintptr(unsafe.Pointer(pConstantValue)), 0) -} -func SpriteParameterfSGIX(pname uint32, param float32) { - syscall.Syscall(gpSpriteParameterfSGIX, 2, uintptr(pname), uintptr(math.Float32bits(param)), 0) -} -func SpriteParameterfvSGIX(pname uint32, params *float32) { - syscall.Syscall(gpSpriteParameterfvSGIX, 2, uintptr(pname), uintptr(unsafe.Pointer(params)), 0) -} -func SpriteParameteriSGIX(pname uint32, param int32) { - syscall.Syscall(gpSpriteParameteriSGIX, 2, uintptr(pname), uintptr(param), 0) -} -func SpriteParameterivSGIX(pname uint32, params *int32) { - syscall.Syscall(gpSpriteParameterivSGIX, 2, uintptr(pname), uintptr(unsafe.Pointer(params)), 0) -} -func StartInstrumentsSGIX() { - syscall.Syscall(gpStartInstrumentsSGIX, 0, 0, 0, 0) -} -func StateCaptureNV(state uint32, mode uint32) { - syscall.Syscall(gpStateCaptureNV, 2, uintptr(state), uintptr(mode), 0) -} -func StencilClearTagEXT(stencilTagBits int32, stencilClearTag uint32) { - syscall.Syscall(gpStencilClearTagEXT, 2, uintptr(stencilTagBits), uintptr(stencilClearTag), 0) -} -func StencilFillPathInstancedNV(numPaths int32, pathNameType uint32, paths unsafe.Pointer, pathBase uint32, fillMode uint32, mask uint32, transformType uint32, transformValues *float32) { - syscall.Syscall9(gpStencilFillPathInstancedNV, 8, uintptr(numPaths), uintptr(pathNameType), uintptr(paths), uintptr(pathBase), uintptr(fillMode), uintptr(mask), uintptr(transformType), uintptr(unsafe.Pointer(transformValues)), 0) -} -func StencilFillPathNV(path uint32, fillMode uint32, mask uint32) { - syscall.Syscall(gpStencilFillPathNV, 3, uintptr(path), uintptr(fillMode), uintptr(mask)) -} - -// set front and back function and reference value for stencil testing -func StencilFunc(xfunc uint32, ref int32, mask uint32) { - syscall.Syscall(gpStencilFunc, 3, uintptr(xfunc), uintptr(ref), uintptr(mask)) -} - -// set front and/or back function and reference value for stencil testing -func StencilFuncSeparate(face uint32, xfunc uint32, ref int32, mask uint32) { - syscall.Syscall6(gpStencilFuncSeparate, 4, uintptr(face), uintptr(xfunc), uintptr(ref), uintptr(mask), 0, 0) -} -func StencilFuncSeparateATI(frontfunc uint32, backfunc uint32, ref int32, mask uint32) { - syscall.Syscall6(gpStencilFuncSeparateATI, 4, uintptr(frontfunc), uintptr(backfunc), uintptr(ref), uintptr(mask), 0, 0) -} - -// control the front and back writing of individual bits in the stencil planes -func StencilMask(mask uint32) { - syscall.Syscall(gpStencilMask, 1, uintptr(mask), 0, 0) -} - -// control the front and/or back writing of individual bits in the stencil planes -func StencilMaskSeparate(face uint32, mask uint32) { - syscall.Syscall(gpStencilMaskSeparate, 2, uintptr(face), uintptr(mask), 0) -} - -// set front and back stencil test actions -func StencilOp(fail uint32, zfail uint32, zpass uint32) { - syscall.Syscall(gpStencilOp, 3, uintptr(fail), uintptr(zfail), uintptr(zpass)) -} - -// set front and/or back stencil test actions -func StencilOpSeparate(face uint32, sfail uint32, dpfail uint32, dppass uint32) { - syscall.Syscall6(gpStencilOpSeparate, 4, uintptr(face), uintptr(sfail), uintptr(dpfail), uintptr(dppass), 0, 0) -} -func StencilOpSeparateATI(face uint32, sfail uint32, dpfail uint32, dppass uint32) { - syscall.Syscall6(gpStencilOpSeparateATI, 4, uintptr(face), uintptr(sfail), uintptr(dpfail), uintptr(dppass), 0, 0) -} -func StencilOpValueAMD(face uint32, value uint32) { - syscall.Syscall(gpStencilOpValueAMD, 2, uintptr(face), uintptr(value), 0) -} -func StencilStrokePathInstancedNV(numPaths int32, pathNameType uint32, paths unsafe.Pointer, pathBase uint32, reference int32, mask uint32, transformType uint32, transformValues *float32) { - syscall.Syscall9(gpStencilStrokePathInstancedNV, 8, uintptr(numPaths), uintptr(pathNameType), uintptr(paths), uintptr(pathBase), uintptr(reference), uintptr(mask), uintptr(transformType), uintptr(unsafe.Pointer(transformValues)), 0) -} -func StencilStrokePathNV(path uint32, reference int32, mask uint32) { - syscall.Syscall(gpStencilStrokePathNV, 3, uintptr(path), uintptr(reference), uintptr(mask)) -} -func StencilThenCoverFillPathInstancedNV(numPaths int32, pathNameType uint32, paths unsafe.Pointer, pathBase uint32, fillMode uint32, mask uint32, coverMode uint32, transformType uint32, transformValues *float32) { - syscall.Syscall9(gpStencilThenCoverFillPathInstancedNV, 9, uintptr(numPaths), uintptr(pathNameType), uintptr(paths), uintptr(pathBase), uintptr(fillMode), uintptr(mask), uintptr(coverMode), uintptr(transformType), uintptr(unsafe.Pointer(transformValues))) -} -func StencilThenCoverFillPathNV(path uint32, fillMode uint32, mask uint32, coverMode uint32) { - syscall.Syscall6(gpStencilThenCoverFillPathNV, 4, uintptr(path), uintptr(fillMode), uintptr(mask), uintptr(coverMode), 0, 0) -} -func StencilThenCoverStrokePathInstancedNV(numPaths int32, pathNameType uint32, paths unsafe.Pointer, pathBase uint32, reference int32, mask uint32, coverMode uint32, transformType uint32, transformValues *float32) { - syscall.Syscall9(gpStencilThenCoverStrokePathInstancedNV, 9, uintptr(numPaths), uintptr(pathNameType), uintptr(paths), uintptr(pathBase), uintptr(reference), uintptr(mask), uintptr(coverMode), uintptr(transformType), uintptr(unsafe.Pointer(transformValues))) -} -func StencilThenCoverStrokePathNV(path uint32, reference int32, mask uint32, coverMode uint32) { - syscall.Syscall6(gpStencilThenCoverStrokePathNV, 4, uintptr(path), uintptr(reference), uintptr(mask), uintptr(coverMode), 0, 0) -} -func StopInstrumentsSGIX(marker int32) { - syscall.Syscall(gpStopInstrumentsSGIX, 1, uintptr(marker), 0, 0) -} -func StringMarkerGREMEDY(len int32, xstring unsafe.Pointer) { - syscall.Syscall(gpStringMarkerGREMEDY, 2, uintptr(len), uintptr(xstring), 0) -} -func SubpixelPrecisionBiasNV(xbits uint32, ybits uint32) { - syscall.Syscall(gpSubpixelPrecisionBiasNV, 2, uintptr(xbits), uintptr(ybits), 0) -} -func SwizzleEXT(res uint32, in uint32, outX uint32, outY uint32, outZ uint32, outW uint32) { - syscall.Syscall6(gpSwizzleEXT, 6, uintptr(res), uintptr(in), uintptr(outX), uintptr(outY), uintptr(outZ), uintptr(outW)) -} -func SyncTextureINTEL(texture uint32) { - syscall.Syscall(gpSyncTextureINTEL, 1, uintptr(texture), 0, 0) -} -func TagSampleBufferSGIX() { - syscall.Syscall(gpTagSampleBufferSGIX, 0, 0, 0, 0) -} -func Tangent3bEXT(tx int8, ty int8, tz int8) { - syscall.Syscall(gpTangent3bEXT, 3, uintptr(tx), uintptr(ty), uintptr(tz)) -} -func Tangent3bvEXT(v *int8) { - syscall.Syscall(gpTangent3bvEXT, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func Tangent3dEXT(tx float64, ty float64, tz float64) { - syscall.Syscall(gpTangent3dEXT, 3, uintptr(math.Float64bits(tx)), uintptr(math.Float64bits(ty)), uintptr(math.Float64bits(tz))) -} -func Tangent3dvEXT(v *float64) { - syscall.Syscall(gpTangent3dvEXT, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func Tangent3fEXT(tx float32, ty float32, tz float32) { - syscall.Syscall(gpTangent3fEXT, 3, uintptr(math.Float32bits(tx)), uintptr(math.Float32bits(ty)), uintptr(math.Float32bits(tz))) -} -func Tangent3fvEXT(v *float32) { - syscall.Syscall(gpTangent3fvEXT, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func Tangent3iEXT(tx int32, ty int32, tz int32) { - syscall.Syscall(gpTangent3iEXT, 3, uintptr(tx), uintptr(ty), uintptr(tz)) -} -func Tangent3ivEXT(v *int32) { - syscall.Syscall(gpTangent3ivEXT, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func Tangent3sEXT(tx int16, ty int16, tz int16) { - syscall.Syscall(gpTangent3sEXT, 3, uintptr(tx), uintptr(ty), uintptr(tz)) -} -func Tangent3svEXT(v *int16) { - syscall.Syscall(gpTangent3svEXT, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func TangentPointerEXT(xtype uint32, stride int32, pointer unsafe.Pointer) { - syscall.Syscall(gpTangentPointerEXT, 3, uintptr(xtype), uintptr(stride), uintptr(pointer)) -} -func TbufferMask3DFX(mask uint32) { - syscall.Syscall(gpTbufferMask3DFX, 1, uintptr(mask), 0, 0) -} -func TessellationFactorAMD(factor float32) { - syscall.Syscall(gpTessellationFactorAMD, 1, uintptr(math.Float32bits(factor)), 0, 0) -} -func TessellationModeAMD(mode uint32) { - syscall.Syscall(gpTessellationModeAMD, 1, uintptr(mode), 0, 0) -} -func TestFenceAPPLE(fence uint32) bool { - ret, _, _ := syscall.Syscall(gpTestFenceAPPLE, 1, uintptr(fence), 0, 0) - return ret != 0 -} -func TestFenceNV(fence uint32) bool { - ret, _, _ := syscall.Syscall(gpTestFenceNV, 1, uintptr(fence), 0, 0) - return ret != 0 -} -func TestObjectAPPLE(object uint32, name uint32) bool { - ret, _, _ := syscall.Syscall(gpTestObjectAPPLE, 2, uintptr(object), uintptr(name), 0) - return ret != 0 -} -func TexBufferARB(target uint32, internalformat uint32, buffer uint32) { - syscall.Syscall(gpTexBufferARB, 3, uintptr(target), uintptr(internalformat), uintptr(buffer)) -} -func TexBufferEXT(target uint32, internalformat uint32, buffer uint32) { - syscall.Syscall(gpTexBufferEXT, 3, uintptr(target), uintptr(internalformat), uintptr(buffer)) -} - -// attach a range of a buffer object's data store to a buffer texture object -func TexBufferRange(target uint32, internalformat uint32, buffer uint32, offset int, size int) { - syscall.Syscall6(gpTexBufferRange, 5, uintptr(target), uintptr(internalformat), uintptr(buffer), uintptr(offset), uintptr(size), 0) -} -func TexBumpParameterfvATI(pname uint32, param *float32) { - syscall.Syscall(gpTexBumpParameterfvATI, 2, uintptr(pname), uintptr(unsafe.Pointer(param)), 0) -} -func TexBumpParameterivATI(pname uint32, param *int32) { - syscall.Syscall(gpTexBumpParameterivATI, 2, uintptr(pname), uintptr(unsafe.Pointer(param)), 0) -} -func TexCoord1bOES(s int8) { - syscall.Syscall(gpTexCoord1bOES, 1, uintptr(s), 0, 0) -} -func TexCoord1bvOES(coords *int8) { - syscall.Syscall(gpTexCoord1bvOES, 1, uintptr(unsafe.Pointer(coords)), 0, 0) -} -func TexCoord1d(s float64) { - syscall.Syscall(gpTexCoord1d, 1, uintptr(math.Float64bits(s)), 0, 0) -} -func TexCoord1dv(v *float64) { - syscall.Syscall(gpTexCoord1dv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func TexCoord1f(s float32) { - syscall.Syscall(gpTexCoord1f, 1, uintptr(math.Float32bits(s)), 0, 0) -} -func TexCoord1fv(v *float32) { - syscall.Syscall(gpTexCoord1fv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func TexCoord1hNV(s uint16) { - syscall.Syscall(gpTexCoord1hNV, 1, uintptr(s), 0, 0) -} -func TexCoord1hvNV(v *uint16) { - syscall.Syscall(gpTexCoord1hvNV, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func TexCoord1i(s int32) { - syscall.Syscall(gpTexCoord1i, 1, uintptr(s), 0, 0) -} -func TexCoord1iv(v *int32) { - syscall.Syscall(gpTexCoord1iv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func TexCoord1s(s int16) { - syscall.Syscall(gpTexCoord1s, 1, uintptr(s), 0, 0) -} -func TexCoord1sv(v *int16) { - syscall.Syscall(gpTexCoord1sv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func TexCoord1xOES(s int32) { - syscall.Syscall(gpTexCoord1xOES, 1, uintptr(s), 0, 0) -} -func TexCoord1xvOES(coords *int32) { - syscall.Syscall(gpTexCoord1xvOES, 1, uintptr(unsafe.Pointer(coords)), 0, 0) -} -func TexCoord2bOES(s int8, t int8) { - syscall.Syscall(gpTexCoord2bOES, 2, uintptr(s), uintptr(t), 0) -} -func TexCoord2bvOES(coords *int8) { - syscall.Syscall(gpTexCoord2bvOES, 1, uintptr(unsafe.Pointer(coords)), 0, 0) -} -func TexCoord2d(s float64, t float64) { - syscall.Syscall(gpTexCoord2d, 2, uintptr(math.Float64bits(s)), uintptr(math.Float64bits(t)), 0) -} -func TexCoord2dv(v *float64) { - syscall.Syscall(gpTexCoord2dv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func TexCoord2f(s float32, t float32) { - syscall.Syscall(gpTexCoord2f, 2, uintptr(math.Float32bits(s)), uintptr(math.Float32bits(t)), 0) -} -func TexCoord2fColor3fVertex3fSUN(s float32, t float32, r float32, g float32, b float32, x float32, y float32, z float32) { - syscall.Syscall9(gpTexCoord2fColor3fVertex3fSUN, 8, uintptr(math.Float32bits(s)), uintptr(math.Float32bits(t)), uintptr(math.Float32bits(r)), uintptr(math.Float32bits(g)), uintptr(math.Float32bits(b)), uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y)), uintptr(math.Float32bits(z)), 0) -} -func TexCoord2fColor3fVertex3fvSUN(tc *float32, c *float32, v *float32) { - syscall.Syscall(gpTexCoord2fColor3fVertex3fvSUN, 3, uintptr(unsafe.Pointer(tc)), uintptr(unsafe.Pointer(c)), uintptr(unsafe.Pointer(v))) -} -func TexCoord2fColor4fNormal3fVertex3fSUN(s float32, t float32, r float32, g float32, b float32, a float32, nx float32, ny float32, nz float32, x float32, y float32, z float32) { - syscall.Syscall12(gpTexCoord2fColor4fNormal3fVertex3fSUN, 12, uintptr(math.Float32bits(s)), uintptr(math.Float32bits(t)), uintptr(math.Float32bits(r)), uintptr(math.Float32bits(g)), uintptr(math.Float32bits(b)), uintptr(math.Float32bits(a)), uintptr(math.Float32bits(nx)), uintptr(math.Float32bits(ny)), uintptr(math.Float32bits(nz)), uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y)), uintptr(math.Float32bits(z))) -} -func TexCoord2fColor4fNormal3fVertex3fvSUN(tc *float32, c *float32, n *float32, v *float32) { - syscall.Syscall6(gpTexCoord2fColor4fNormal3fVertex3fvSUN, 4, uintptr(unsafe.Pointer(tc)), uintptr(unsafe.Pointer(c)), uintptr(unsafe.Pointer(n)), uintptr(unsafe.Pointer(v)), 0, 0) -} -func TexCoord2fColor4ubVertex3fSUN(s float32, t float32, r uint8, g uint8, b uint8, a uint8, x float32, y float32, z float32) { - syscall.Syscall9(gpTexCoord2fColor4ubVertex3fSUN, 9, uintptr(math.Float32bits(s)), uintptr(math.Float32bits(t)), uintptr(r), uintptr(g), uintptr(b), uintptr(a), uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y)), uintptr(math.Float32bits(z))) -} -func TexCoord2fColor4ubVertex3fvSUN(tc *float32, c *uint8, v *float32) { - syscall.Syscall(gpTexCoord2fColor4ubVertex3fvSUN, 3, uintptr(unsafe.Pointer(tc)), uintptr(unsafe.Pointer(c)), uintptr(unsafe.Pointer(v))) -} -func TexCoord2fNormal3fVertex3fSUN(s float32, t float32, nx float32, ny float32, nz float32, x float32, y float32, z float32) { - syscall.Syscall9(gpTexCoord2fNormal3fVertex3fSUN, 8, uintptr(math.Float32bits(s)), uintptr(math.Float32bits(t)), uintptr(math.Float32bits(nx)), uintptr(math.Float32bits(ny)), uintptr(math.Float32bits(nz)), uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y)), uintptr(math.Float32bits(z)), 0) -} -func TexCoord2fNormal3fVertex3fvSUN(tc *float32, n *float32, v *float32) { - syscall.Syscall(gpTexCoord2fNormal3fVertex3fvSUN, 3, uintptr(unsafe.Pointer(tc)), uintptr(unsafe.Pointer(n)), uintptr(unsafe.Pointer(v))) -} -func TexCoord2fVertex3fSUN(s float32, t float32, x float32, y float32, z float32) { - syscall.Syscall6(gpTexCoord2fVertex3fSUN, 5, uintptr(math.Float32bits(s)), uintptr(math.Float32bits(t)), uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y)), uintptr(math.Float32bits(z)), 0) -} -func TexCoord2fVertex3fvSUN(tc *float32, v *float32) { - syscall.Syscall(gpTexCoord2fVertex3fvSUN, 2, uintptr(unsafe.Pointer(tc)), uintptr(unsafe.Pointer(v)), 0) -} -func TexCoord2fv(v *float32) { - syscall.Syscall(gpTexCoord2fv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func TexCoord2hNV(s uint16, t uint16) { - syscall.Syscall(gpTexCoord2hNV, 2, uintptr(s), uintptr(t), 0) -} -func TexCoord2hvNV(v *uint16) { - syscall.Syscall(gpTexCoord2hvNV, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func TexCoord2i(s int32, t int32) { - syscall.Syscall(gpTexCoord2i, 2, uintptr(s), uintptr(t), 0) -} -func TexCoord2iv(v *int32) { - syscall.Syscall(gpTexCoord2iv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func TexCoord2s(s int16, t int16) { - syscall.Syscall(gpTexCoord2s, 2, uintptr(s), uintptr(t), 0) -} -func TexCoord2sv(v *int16) { - syscall.Syscall(gpTexCoord2sv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func TexCoord2xOES(s int32, t int32) { - syscall.Syscall(gpTexCoord2xOES, 2, uintptr(s), uintptr(t), 0) -} -func TexCoord2xvOES(coords *int32) { - syscall.Syscall(gpTexCoord2xvOES, 1, uintptr(unsafe.Pointer(coords)), 0, 0) -} -func TexCoord3bOES(s int8, t int8, r int8) { - syscall.Syscall(gpTexCoord3bOES, 3, uintptr(s), uintptr(t), uintptr(r)) -} -func TexCoord3bvOES(coords *int8) { - syscall.Syscall(gpTexCoord3bvOES, 1, uintptr(unsafe.Pointer(coords)), 0, 0) -} -func TexCoord3d(s float64, t float64, r float64) { - syscall.Syscall(gpTexCoord3d, 3, uintptr(math.Float64bits(s)), uintptr(math.Float64bits(t)), uintptr(math.Float64bits(r))) -} -func TexCoord3dv(v *float64) { - syscall.Syscall(gpTexCoord3dv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func TexCoord3f(s float32, t float32, r float32) { - syscall.Syscall(gpTexCoord3f, 3, uintptr(math.Float32bits(s)), uintptr(math.Float32bits(t)), uintptr(math.Float32bits(r))) -} -func TexCoord3fv(v *float32) { - syscall.Syscall(gpTexCoord3fv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func TexCoord3hNV(s uint16, t uint16, r uint16) { - syscall.Syscall(gpTexCoord3hNV, 3, uintptr(s), uintptr(t), uintptr(r)) -} -func TexCoord3hvNV(v *uint16) { - syscall.Syscall(gpTexCoord3hvNV, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func TexCoord3i(s int32, t int32, r int32) { - syscall.Syscall(gpTexCoord3i, 3, uintptr(s), uintptr(t), uintptr(r)) -} -func TexCoord3iv(v *int32) { - syscall.Syscall(gpTexCoord3iv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func TexCoord3s(s int16, t int16, r int16) { - syscall.Syscall(gpTexCoord3s, 3, uintptr(s), uintptr(t), uintptr(r)) -} -func TexCoord3sv(v *int16) { - syscall.Syscall(gpTexCoord3sv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func TexCoord3xOES(s int32, t int32, r int32) { - syscall.Syscall(gpTexCoord3xOES, 3, uintptr(s), uintptr(t), uintptr(r)) -} -func TexCoord3xvOES(coords *int32) { - syscall.Syscall(gpTexCoord3xvOES, 1, uintptr(unsafe.Pointer(coords)), 0, 0) -} -func TexCoord4bOES(s int8, t int8, r int8, q int8) { - syscall.Syscall6(gpTexCoord4bOES, 4, uintptr(s), uintptr(t), uintptr(r), uintptr(q), 0, 0) -} -func TexCoord4bvOES(coords *int8) { - syscall.Syscall(gpTexCoord4bvOES, 1, uintptr(unsafe.Pointer(coords)), 0, 0) -} -func TexCoord4d(s float64, t float64, r float64, q float64) { - syscall.Syscall6(gpTexCoord4d, 4, uintptr(math.Float64bits(s)), uintptr(math.Float64bits(t)), uintptr(math.Float64bits(r)), uintptr(math.Float64bits(q)), 0, 0) -} -func TexCoord4dv(v *float64) { - syscall.Syscall(gpTexCoord4dv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func TexCoord4f(s float32, t float32, r float32, q float32) { - syscall.Syscall6(gpTexCoord4f, 4, uintptr(math.Float32bits(s)), uintptr(math.Float32bits(t)), uintptr(math.Float32bits(r)), uintptr(math.Float32bits(q)), 0, 0) -} -func TexCoord4fColor4fNormal3fVertex4fSUN(s float32, t float32, p float32, q float32, r float32, g float32, b float32, a float32, nx float32, ny float32, nz float32, x float32, y float32, z float32, w float32) { - syscall.Syscall15(gpTexCoord4fColor4fNormal3fVertex4fSUN, 15, uintptr(math.Float32bits(s)), uintptr(math.Float32bits(t)), uintptr(math.Float32bits(p)), uintptr(math.Float32bits(q)), uintptr(math.Float32bits(r)), uintptr(math.Float32bits(g)), uintptr(math.Float32bits(b)), uintptr(math.Float32bits(a)), uintptr(math.Float32bits(nx)), uintptr(math.Float32bits(ny)), uintptr(math.Float32bits(nz)), uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y)), uintptr(math.Float32bits(z)), uintptr(math.Float32bits(w))) -} -func TexCoord4fColor4fNormal3fVertex4fvSUN(tc *float32, c *float32, n *float32, v *float32) { - syscall.Syscall6(gpTexCoord4fColor4fNormal3fVertex4fvSUN, 4, uintptr(unsafe.Pointer(tc)), uintptr(unsafe.Pointer(c)), uintptr(unsafe.Pointer(n)), uintptr(unsafe.Pointer(v)), 0, 0) -} -func TexCoord4fVertex4fSUN(s float32, t float32, p float32, q float32, x float32, y float32, z float32, w float32) { - syscall.Syscall9(gpTexCoord4fVertex4fSUN, 8, uintptr(math.Float32bits(s)), uintptr(math.Float32bits(t)), uintptr(math.Float32bits(p)), uintptr(math.Float32bits(q)), uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y)), uintptr(math.Float32bits(z)), uintptr(math.Float32bits(w)), 0) -} -func TexCoord4fVertex4fvSUN(tc *float32, v *float32) { - syscall.Syscall(gpTexCoord4fVertex4fvSUN, 2, uintptr(unsafe.Pointer(tc)), uintptr(unsafe.Pointer(v)), 0) -} -func TexCoord4fv(v *float32) { - syscall.Syscall(gpTexCoord4fv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func TexCoord4hNV(s uint16, t uint16, r uint16, q uint16) { - syscall.Syscall6(gpTexCoord4hNV, 4, uintptr(s), uintptr(t), uintptr(r), uintptr(q), 0, 0) -} -func TexCoord4hvNV(v *uint16) { - syscall.Syscall(gpTexCoord4hvNV, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func TexCoord4i(s int32, t int32, r int32, q int32) { - syscall.Syscall6(gpTexCoord4i, 4, uintptr(s), uintptr(t), uintptr(r), uintptr(q), 0, 0) -} -func TexCoord4iv(v *int32) { - syscall.Syscall(gpTexCoord4iv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func TexCoord4s(s int16, t int16, r int16, q int16) { - syscall.Syscall6(gpTexCoord4s, 4, uintptr(s), uintptr(t), uintptr(r), uintptr(q), 0, 0) -} -func TexCoord4sv(v *int16) { - syscall.Syscall(gpTexCoord4sv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func TexCoord4xOES(s int32, t int32, r int32, q int32) { - syscall.Syscall6(gpTexCoord4xOES, 4, uintptr(s), uintptr(t), uintptr(r), uintptr(q), 0, 0) -} -func TexCoord4xvOES(coords *int32) { - syscall.Syscall(gpTexCoord4xvOES, 1, uintptr(unsafe.Pointer(coords)), 0, 0) -} -func TexCoordFormatNV(size int32, xtype uint32, stride int32) { - syscall.Syscall(gpTexCoordFormatNV, 3, uintptr(size), uintptr(xtype), uintptr(stride)) -} - -// define an array of texture coordinates -func TexCoordPointer(size int32, xtype uint32, stride int32, pointer unsafe.Pointer) { - syscall.Syscall6(gpTexCoordPointer, 4, uintptr(size), uintptr(xtype), uintptr(stride), uintptr(pointer), 0, 0) -} -func TexCoordPointerEXT(size int32, xtype uint32, stride int32, count int32, pointer unsafe.Pointer) { - syscall.Syscall6(gpTexCoordPointerEXT, 5, uintptr(size), uintptr(xtype), uintptr(stride), uintptr(count), uintptr(pointer), 0) -} -func TexCoordPointerListIBM(size int32, xtype uint32, stride int32, pointer *unsafe.Pointer, ptrstride int32) { - syscall.Syscall6(gpTexCoordPointerListIBM, 5, uintptr(size), uintptr(xtype), uintptr(stride), uintptr(unsafe.Pointer(pointer)), uintptr(ptrstride), 0) -} -func TexCoordPointervINTEL(size int32, xtype uint32, pointer *unsafe.Pointer) { - syscall.Syscall(gpTexCoordPointervINTEL, 3, uintptr(size), uintptr(xtype), uintptr(unsafe.Pointer(pointer))) -} -func TexEnvf(target uint32, pname uint32, param float32) { - syscall.Syscall(gpTexEnvf, 3, uintptr(target), uintptr(pname), uintptr(math.Float32bits(param))) -} -func TexEnvfv(target uint32, pname uint32, params *float32) { - syscall.Syscall(gpTexEnvfv, 3, uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func TexEnvi(target uint32, pname uint32, param int32) { - syscall.Syscall(gpTexEnvi, 3, uintptr(target), uintptr(pname), uintptr(param)) -} -func TexEnviv(target uint32, pname uint32, params *int32) { - syscall.Syscall(gpTexEnviv, 3, uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func TexEnvxOES(target uint32, pname uint32, param int32) { - syscall.Syscall(gpTexEnvxOES, 3, uintptr(target), uintptr(pname), uintptr(param)) -} -func TexEnvxvOES(target uint32, pname uint32, params *int32) { - syscall.Syscall(gpTexEnvxvOES, 3, uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func TexFilterFuncSGIS(target uint32, filter uint32, n int32, weights *float32) { - syscall.Syscall6(gpTexFilterFuncSGIS, 4, uintptr(target), uintptr(filter), uintptr(n), uintptr(unsafe.Pointer(weights)), 0, 0) -} -func TexGend(coord uint32, pname uint32, param float64) { - syscall.Syscall(gpTexGend, 3, uintptr(coord), uintptr(pname), uintptr(math.Float64bits(param))) -} -func TexGendv(coord uint32, pname uint32, params *float64) { - syscall.Syscall(gpTexGendv, 3, uintptr(coord), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func TexGenf(coord uint32, pname uint32, param float32) { - syscall.Syscall(gpTexGenf, 3, uintptr(coord), uintptr(pname), uintptr(math.Float32bits(param))) -} -func TexGenfv(coord uint32, pname uint32, params *float32) { - syscall.Syscall(gpTexGenfv, 3, uintptr(coord), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func TexGeni(coord uint32, pname uint32, param int32) { - syscall.Syscall(gpTexGeni, 3, uintptr(coord), uintptr(pname), uintptr(param)) -} -func TexGeniv(coord uint32, pname uint32, params *int32) { - syscall.Syscall(gpTexGeniv, 3, uintptr(coord), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func TexGenxOES(coord uint32, pname uint32, param int32) { - syscall.Syscall(gpTexGenxOES, 3, uintptr(coord), uintptr(pname), uintptr(param)) -} -func TexGenxvOES(coord uint32, pname uint32, params *int32) { - syscall.Syscall(gpTexGenxvOES, 3, uintptr(coord), uintptr(pname), uintptr(unsafe.Pointer(params))) -} - -// specify a one-dimensional texture image -func TexImage1D(target uint32, level int32, internalformat int32, width int32, border int32, format uint32, xtype uint32, pixels unsafe.Pointer) { - syscall.Syscall9(gpTexImage1D, 8, uintptr(target), uintptr(level), uintptr(internalformat), uintptr(width), uintptr(border), uintptr(format), uintptr(xtype), uintptr(pixels), 0) -} - -// specify a two-dimensional texture image func TexImage2D(target uint32, level int32, internalformat int32, width int32, height int32, border int32, format uint32, xtype uint32, pixels unsafe.Pointer) { syscall.Syscall9(gpTexImage2D, 9, uintptr(target), uintptr(level), uintptr(internalformat), uintptr(width), uintptr(height), uintptr(border), uintptr(format), uintptr(xtype), uintptr(pixels)) } -// establish the data storage, format, dimensions, and number of samples of a multisample texture's image -func TexImage2DMultisample(target uint32, samples int32, internalformat uint32, width int32, height int32, fixedsamplelocations bool) { - syscall.Syscall6(gpTexImage2DMultisample, 6, uintptr(target), uintptr(samples), uintptr(internalformat), uintptr(width), uintptr(height), boolToUintptr(fixedsamplelocations)) -} -func TexImage2DMultisampleCoverageNV(target uint32, coverageSamples int32, colorSamples int32, internalFormat int32, width int32, height int32, fixedSampleLocations bool) { - syscall.Syscall9(gpTexImage2DMultisampleCoverageNV, 7, uintptr(target), uintptr(coverageSamples), uintptr(colorSamples), uintptr(internalFormat), uintptr(width), uintptr(height), boolToUintptr(fixedSampleLocations), 0, 0) -} - -// specify a three-dimensional texture image -func TexImage3D(target uint32, level int32, internalformat int32, width int32, height int32, depth int32, border int32, format uint32, xtype uint32, pixels unsafe.Pointer) { - syscall.Syscall12(gpTexImage3D, 10, uintptr(target), uintptr(level), uintptr(internalformat), uintptr(width), uintptr(height), uintptr(depth), uintptr(border), uintptr(format), uintptr(xtype), uintptr(pixels), 0, 0) -} -func TexImage3DEXT(target uint32, level int32, internalformat uint32, width int32, height int32, depth int32, border int32, format uint32, xtype uint32, pixels unsafe.Pointer) { - syscall.Syscall12(gpTexImage3DEXT, 10, uintptr(target), uintptr(level), uintptr(internalformat), uintptr(width), uintptr(height), uintptr(depth), uintptr(border), uintptr(format), uintptr(xtype), uintptr(pixels), 0, 0) -} - -// establish the data storage, format, dimensions, and number of samples of a multisample texture's image -func TexImage3DMultisample(target uint32, samples int32, internalformat uint32, width int32, height int32, depth int32, fixedsamplelocations bool) { - syscall.Syscall9(gpTexImage3DMultisample, 7, uintptr(target), uintptr(samples), uintptr(internalformat), uintptr(width), uintptr(height), uintptr(depth), boolToUintptr(fixedsamplelocations), 0, 0) -} -func TexImage3DMultisampleCoverageNV(target uint32, coverageSamples int32, colorSamples int32, internalFormat int32, width int32, height int32, depth int32, fixedSampleLocations bool) { - syscall.Syscall9(gpTexImage3DMultisampleCoverageNV, 8, uintptr(target), uintptr(coverageSamples), uintptr(colorSamples), uintptr(internalFormat), uintptr(width), uintptr(height), uintptr(depth), boolToUintptr(fixedSampleLocations), 0) -} -func TexImage4DSGIS(target uint32, level int32, internalformat uint32, width int32, height int32, depth int32, size4d int32, border int32, format uint32, xtype uint32, pixels unsafe.Pointer) { - syscall.Syscall12(gpTexImage4DSGIS, 11, uintptr(target), uintptr(level), uintptr(internalformat), uintptr(width), uintptr(height), uintptr(depth), uintptr(size4d), uintptr(border), uintptr(format), uintptr(xtype), uintptr(pixels), 0) -} -func TexPageCommitmentARB(target uint32, level int32, xoffset int32, yoffset int32, zoffset int32, width int32, height int32, depth int32, commit bool) { - syscall.Syscall9(gpTexPageCommitmentARB, 9, uintptr(target), uintptr(level), uintptr(xoffset), uintptr(yoffset), uintptr(zoffset), uintptr(width), uintptr(height), uintptr(depth), boolToUintptr(commit)) -} -func TexParameterIivEXT(target uint32, pname uint32, params *int32) { - syscall.Syscall(gpTexParameterIivEXT, 3, uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func TexParameterIuivEXT(target uint32, pname uint32, params *uint32) { - syscall.Syscall(gpTexParameterIuivEXT, 3, uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func TexParameterf(target uint32, pname uint32, param float32) { - syscall.Syscall(gpTexParameterf, 3, uintptr(target), uintptr(pname), uintptr(math.Float32bits(param))) -} -func TexParameterfv(target uint32, pname uint32, params *float32) { - syscall.Syscall(gpTexParameterfv, 3, uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params))) -} func TexParameteri(target uint32, pname uint32, param int32) { syscall.Syscall(gpTexParameteri, 3, uintptr(target), uintptr(pname), uintptr(param)) } -func TexParameteriv(target uint32, pname uint32, params *int32) { - syscall.Syscall(gpTexParameteriv, 3, uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func TexParameterxOES(target uint32, pname uint32, param int32) { - syscall.Syscall(gpTexParameterxOES, 3, uintptr(target), uintptr(pname), uintptr(param)) -} -func TexParameterxvOES(target uint32, pname uint32, params *int32) { - syscall.Syscall(gpTexParameterxvOES, 3, uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func TexRenderbufferNV(target uint32, renderbuffer uint32) { - syscall.Syscall(gpTexRenderbufferNV, 2, uintptr(target), uintptr(renderbuffer), 0) -} -// simultaneously specify storage for all levels of a one-dimensional texture -func TexStorage1D(target uint32, levels int32, internalformat uint32, width int32) { - syscall.Syscall6(gpTexStorage1D, 4, uintptr(target), uintptr(levels), uintptr(internalformat), uintptr(width), 0, 0) -} - -// simultaneously specify storage for all levels of a two-dimensional or one-dimensional array texture -func TexStorage2D(target uint32, levels int32, internalformat uint32, width int32, height int32) { - syscall.Syscall6(gpTexStorage2D, 5, uintptr(target), uintptr(levels), uintptr(internalformat), uintptr(width), uintptr(height), 0) -} - -// specify storage for a two-dimensional multisample texture -func TexStorage2DMultisample(target uint32, samples int32, internalformat uint32, width int32, height int32, fixedsamplelocations bool) { - syscall.Syscall6(gpTexStorage2DMultisample, 6, uintptr(target), uintptr(samples), uintptr(internalformat), uintptr(width), uintptr(height), boolToUintptr(fixedsamplelocations)) -} - -// simultaneously specify storage for all levels of a three-dimensional, two-dimensional array or cube-map array texture -func TexStorage3D(target uint32, levels int32, internalformat uint32, width int32, height int32, depth int32) { - syscall.Syscall6(gpTexStorage3D, 6, uintptr(target), uintptr(levels), uintptr(internalformat), uintptr(width), uintptr(height), uintptr(depth)) -} - -// specify storage for a two-dimensional multisample array texture -func TexStorage3DMultisample(target uint32, samples int32, internalformat uint32, width int32, height int32, depth int32, fixedsamplelocations bool) { - syscall.Syscall9(gpTexStorage3DMultisample, 7, uintptr(target), uintptr(samples), uintptr(internalformat), uintptr(width), uintptr(height), uintptr(depth), boolToUintptr(fixedsamplelocations), 0, 0) -} -func TexStorageMem1DEXT(target uint32, levels int32, internalFormat uint32, width int32, memory uint32, offset uint64) { - syscall.Syscall6(gpTexStorageMem1DEXT, 6, uintptr(target), uintptr(levels), uintptr(internalFormat), uintptr(width), uintptr(memory), uintptr(offset)) -} -func TexStorageMem2DEXT(target uint32, levels int32, internalFormat uint32, width int32, height int32, memory uint32, offset uint64) { - syscall.Syscall9(gpTexStorageMem2DEXT, 7, uintptr(target), uintptr(levels), uintptr(internalFormat), uintptr(width), uintptr(height), uintptr(memory), uintptr(offset), 0, 0) -} -func TexStorageMem2DMultisampleEXT(target uint32, samples int32, internalFormat uint32, width int32, height int32, fixedSampleLocations bool, memory uint32, offset uint64) { - syscall.Syscall9(gpTexStorageMem2DMultisampleEXT, 8, uintptr(target), uintptr(samples), uintptr(internalFormat), uintptr(width), uintptr(height), boolToUintptr(fixedSampleLocations), uintptr(memory), uintptr(offset), 0) -} -func TexStorageMem3DEXT(target uint32, levels int32, internalFormat uint32, width int32, height int32, depth int32, memory uint32, offset uint64) { - syscall.Syscall9(gpTexStorageMem3DEXT, 8, uintptr(target), uintptr(levels), uintptr(internalFormat), uintptr(width), uintptr(height), uintptr(depth), uintptr(memory), uintptr(offset), 0) -} -func TexStorageMem3DMultisampleEXT(target uint32, samples int32, internalFormat uint32, width int32, height int32, depth int32, fixedSampleLocations bool, memory uint32, offset uint64) { - syscall.Syscall9(gpTexStorageMem3DMultisampleEXT, 9, uintptr(target), uintptr(samples), uintptr(internalFormat), uintptr(width), uintptr(height), uintptr(depth), boolToUintptr(fixedSampleLocations), uintptr(memory), uintptr(offset)) -} -func TexStorageSparseAMD(target uint32, internalFormat uint32, width int32, height int32, depth int32, layers int32, flags uint32) { - syscall.Syscall9(gpTexStorageSparseAMD, 7, uintptr(target), uintptr(internalFormat), uintptr(width), uintptr(height), uintptr(depth), uintptr(layers), uintptr(flags), 0, 0) -} - -// specify a one-dimensional texture subimage -func TexSubImage1D(target uint32, level int32, xoffset int32, width int32, format uint32, xtype uint32, pixels unsafe.Pointer) { - syscall.Syscall9(gpTexSubImage1D, 7, uintptr(target), uintptr(level), uintptr(xoffset), uintptr(width), uintptr(format), uintptr(xtype), uintptr(pixels), 0, 0) -} -func TexSubImage1DEXT(target uint32, level int32, xoffset int32, width int32, format uint32, xtype uint32, pixels unsafe.Pointer) { - syscall.Syscall9(gpTexSubImage1DEXT, 7, uintptr(target), uintptr(level), uintptr(xoffset), uintptr(width), uintptr(format), uintptr(xtype), uintptr(pixels), 0, 0) -} - -// specify a two-dimensional texture subimage func TexSubImage2D(target uint32, level int32, xoffset int32, yoffset int32, width int32, height int32, format uint32, xtype uint32, pixels unsafe.Pointer) { syscall.Syscall9(gpTexSubImage2D, 9, uintptr(target), uintptr(level), uintptr(xoffset), uintptr(yoffset), uintptr(width), uintptr(height), uintptr(format), uintptr(xtype), uintptr(pixels)) } -func TexSubImage2DEXT(target uint32, level int32, xoffset int32, yoffset int32, width int32, height int32, format uint32, xtype uint32, pixels unsafe.Pointer) { - syscall.Syscall9(gpTexSubImage2DEXT, 9, uintptr(target), uintptr(level), uintptr(xoffset), uintptr(yoffset), uintptr(width), uintptr(height), uintptr(format), uintptr(xtype), uintptr(pixels)) -} -// specify a three-dimensional texture subimage -func TexSubImage3D(target uint32, level int32, xoffset int32, yoffset int32, zoffset int32, width int32, height int32, depth int32, format uint32, xtype uint32, pixels unsafe.Pointer) { - syscall.Syscall12(gpTexSubImage3D, 11, uintptr(target), uintptr(level), uintptr(xoffset), uintptr(yoffset), uintptr(zoffset), uintptr(width), uintptr(height), uintptr(depth), uintptr(format), uintptr(xtype), uintptr(pixels), 0) -} -func TexSubImage3DEXT(target uint32, level int32, xoffset int32, yoffset int32, zoffset int32, width int32, height int32, depth int32, format uint32, xtype uint32, pixels unsafe.Pointer) { - syscall.Syscall12(gpTexSubImage3DEXT, 11, uintptr(target), uintptr(level), uintptr(xoffset), uintptr(yoffset), uintptr(zoffset), uintptr(width), uintptr(height), uintptr(depth), uintptr(format), uintptr(xtype), uintptr(pixels), 0) -} -func TexSubImage4DSGIS(target uint32, level int32, xoffset int32, yoffset int32, zoffset int32, woffset int32, width int32, height int32, depth int32, size4d int32, format uint32, xtype uint32, pixels unsafe.Pointer) { - syscall.Syscall15(gpTexSubImage4DSGIS, 13, uintptr(target), uintptr(level), uintptr(xoffset), uintptr(yoffset), uintptr(zoffset), uintptr(woffset), uintptr(width), uintptr(height), uintptr(depth), uintptr(size4d), uintptr(format), uintptr(xtype), uintptr(pixels), 0, 0) -} - -// controls the ordering of reads and writes to rendered fragments across drawing commands -func TextureBarrier() { - syscall.Syscall(gpTextureBarrier, 0, 0, 0, 0) -} -func TextureBarrierNV() { - syscall.Syscall(gpTextureBarrierNV, 0, 0, 0, 0) -} - -// attach a buffer object's data store to a buffer texture object -func TextureBuffer(texture uint32, internalformat uint32, buffer uint32) { - syscall.Syscall(gpTextureBuffer, 3, uintptr(texture), uintptr(internalformat), uintptr(buffer)) -} -func TextureBufferEXT(texture uint32, target uint32, internalformat uint32, buffer uint32) { - syscall.Syscall6(gpTextureBufferEXT, 4, uintptr(texture), uintptr(target), uintptr(internalformat), uintptr(buffer), 0, 0) -} - -// attach a range of a buffer object's data store to a buffer texture object -func TextureBufferRange(texture uint32, internalformat uint32, buffer uint32, offset int, size int) { - syscall.Syscall6(gpTextureBufferRange, 5, uintptr(texture), uintptr(internalformat), uintptr(buffer), uintptr(offset), uintptr(size), 0) -} -func TextureBufferRangeEXT(texture uint32, target uint32, internalformat uint32, buffer uint32, offset int, size int) { - syscall.Syscall6(gpTextureBufferRangeEXT, 6, uintptr(texture), uintptr(target), uintptr(internalformat), uintptr(buffer), uintptr(offset), uintptr(size)) -} -func TextureColorMaskSGIS(red bool, green bool, blue bool, alpha bool) { - syscall.Syscall6(gpTextureColorMaskSGIS, 4, boolToUintptr(red), boolToUintptr(green), boolToUintptr(blue), boolToUintptr(alpha), 0, 0) -} -func TextureImage1DEXT(texture uint32, target uint32, level int32, internalformat int32, width int32, border int32, format uint32, xtype uint32, pixels unsafe.Pointer) { - syscall.Syscall9(gpTextureImage1DEXT, 9, uintptr(texture), uintptr(target), uintptr(level), uintptr(internalformat), uintptr(width), uintptr(border), uintptr(format), uintptr(xtype), uintptr(pixels)) -} -func TextureImage2DEXT(texture uint32, target uint32, level int32, internalformat int32, width int32, height int32, border int32, format uint32, xtype uint32, pixels unsafe.Pointer) { - syscall.Syscall12(gpTextureImage2DEXT, 10, uintptr(texture), uintptr(target), uintptr(level), uintptr(internalformat), uintptr(width), uintptr(height), uintptr(border), uintptr(format), uintptr(xtype), uintptr(pixels), 0, 0) -} -func TextureImage2DMultisampleCoverageNV(texture uint32, target uint32, coverageSamples int32, colorSamples int32, internalFormat int32, width int32, height int32, fixedSampleLocations bool) { - syscall.Syscall9(gpTextureImage2DMultisampleCoverageNV, 8, uintptr(texture), uintptr(target), uintptr(coverageSamples), uintptr(colorSamples), uintptr(internalFormat), uintptr(width), uintptr(height), boolToUintptr(fixedSampleLocations), 0) -} -func TextureImage2DMultisampleNV(texture uint32, target uint32, samples int32, internalFormat int32, width int32, height int32, fixedSampleLocations bool) { - syscall.Syscall9(gpTextureImage2DMultisampleNV, 7, uintptr(texture), uintptr(target), uintptr(samples), uintptr(internalFormat), uintptr(width), uintptr(height), boolToUintptr(fixedSampleLocations), 0, 0) -} -func TextureImage3DEXT(texture uint32, target uint32, level int32, internalformat int32, width int32, height int32, depth int32, border int32, format uint32, xtype uint32, pixels unsafe.Pointer) { - syscall.Syscall12(gpTextureImage3DEXT, 11, uintptr(texture), uintptr(target), uintptr(level), uintptr(internalformat), uintptr(width), uintptr(height), uintptr(depth), uintptr(border), uintptr(format), uintptr(xtype), uintptr(pixels), 0) -} -func TextureImage3DMultisampleCoverageNV(texture uint32, target uint32, coverageSamples int32, colorSamples int32, internalFormat int32, width int32, height int32, depth int32, fixedSampleLocations bool) { - syscall.Syscall9(gpTextureImage3DMultisampleCoverageNV, 9, uintptr(texture), uintptr(target), uintptr(coverageSamples), uintptr(colorSamples), uintptr(internalFormat), uintptr(width), uintptr(height), uintptr(depth), boolToUintptr(fixedSampleLocations)) -} -func TextureImage3DMultisampleNV(texture uint32, target uint32, samples int32, internalFormat int32, width int32, height int32, depth int32, fixedSampleLocations bool) { - syscall.Syscall9(gpTextureImage3DMultisampleNV, 8, uintptr(texture), uintptr(target), uintptr(samples), uintptr(internalFormat), uintptr(width), uintptr(height), uintptr(depth), boolToUintptr(fixedSampleLocations), 0) -} -func TextureLightEXT(pname uint32) { - syscall.Syscall(gpTextureLightEXT, 1, uintptr(pname), 0, 0) -} -func TextureMaterialEXT(face uint32, mode uint32) { - syscall.Syscall(gpTextureMaterialEXT, 2, uintptr(face), uintptr(mode), 0) -} -func TextureNormalEXT(mode uint32) { - syscall.Syscall(gpTextureNormalEXT, 1, uintptr(mode), 0, 0) -} -func TexturePageCommitmentEXT(texture uint32, level int32, xoffset int32, yoffset int32, zoffset int32, width int32, height int32, depth int32, commit bool) { - syscall.Syscall9(gpTexturePageCommitmentEXT, 9, uintptr(texture), uintptr(level), uintptr(xoffset), uintptr(yoffset), uintptr(zoffset), uintptr(width), uintptr(height), uintptr(depth), boolToUintptr(commit)) -} -func TextureParameterIiv(texture uint32, pname uint32, params *int32) { - syscall.Syscall(gpTextureParameterIiv, 3, uintptr(texture), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func TextureParameterIivEXT(texture uint32, target uint32, pname uint32, params *int32) { - syscall.Syscall6(gpTextureParameterIivEXT, 4, uintptr(texture), uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} -func TextureParameterIuiv(texture uint32, pname uint32, params *uint32) { - syscall.Syscall(gpTextureParameterIuiv, 3, uintptr(texture), uintptr(pname), uintptr(unsafe.Pointer(params))) -} -func TextureParameterIuivEXT(texture uint32, target uint32, pname uint32, params *uint32) { - syscall.Syscall6(gpTextureParameterIuivEXT, 4, uintptr(texture), uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} -func TextureParameterf(texture uint32, pname uint32, param float32) { - syscall.Syscall(gpTextureParameterf, 3, uintptr(texture), uintptr(pname), uintptr(math.Float32bits(param))) -} -func TextureParameterfEXT(texture uint32, target uint32, pname uint32, param float32) { - syscall.Syscall6(gpTextureParameterfEXT, 4, uintptr(texture), uintptr(target), uintptr(pname), uintptr(math.Float32bits(param)), 0, 0) -} -func TextureParameterfv(texture uint32, pname uint32, param *float32) { - syscall.Syscall(gpTextureParameterfv, 3, uintptr(texture), uintptr(pname), uintptr(unsafe.Pointer(param))) -} -func TextureParameterfvEXT(texture uint32, target uint32, pname uint32, params *float32) { - syscall.Syscall6(gpTextureParameterfvEXT, 4, uintptr(texture), uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} -func TextureParameteri(texture uint32, pname uint32, param int32) { - syscall.Syscall(gpTextureParameteri, 3, uintptr(texture), uintptr(pname), uintptr(param)) -} -func TextureParameteriEXT(texture uint32, target uint32, pname uint32, param int32) { - syscall.Syscall6(gpTextureParameteriEXT, 4, uintptr(texture), uintptr(target), uintptr(pname), uintptr(param), 0, 0) -} -func TextureParameteriv(texture uint32, pname uint32, param *int32) { - syscall.Syscall(gpTextureParameteriv, 3, uintptr(texture), uintptr(pname), uintptr(unsafe.Pointer(param))) -} -func TextureParameterivEXT(texture uint32, target uint32, pname uint32, params *int32) { - syscall.Syscall6(gpTextureParameterivEXT, 4, uintptr(texture), uintptr(target), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} -func TextureRangeAPPLE(target uint32, length int32, pointer unsafe.Pointer) { - syscall.Syscall(gpTextureRangeAPPLE, 3, uintptr(target), uintptr(length), uintptr(pointer)) -} -func TextureRenderbufferEXT(texture uint32, target uint32, renderbuffer uint32) { - syscall.Syscall(gpTextureRenderbufferEXT, 3, uintptr(texture), uintptr(target), uintptr(renderbuffer)) -} - -// simultaneously specify storage for all levels of a one-dimensional texture -func TextureStorage1D(texture uint32, levels int32, internalformat uint32, width int32) { - syscall.Syscall6(gpTextureStorage1D, 4, uintptr(texture), uintptr(levels), uintptr(internalformat), uintptr(width), 0, 0) -} -func TextureStorage1DEXT(texture uint32, target uint32, levels int32, internalformat uint32, width int32) { - syscall.Syscall6(gpTextureStorage1DEXT, 5, uintptr(texture), uintptr(target), uintptr(levels), uintptr(internalformat), uintptr(width), 0) -} - -// simultaneously specify storage for all levels of a two-dimensional or one-dimensional array texture -func TextureStorage2D(texture uint32, levels int32, internalformat uint32, width int32, height int32) { - syscall.Syscall6(gpTextureStorage2D, 5, uintptr(texture), uintptr(levels), uintptr(internalformat), uintptr(width), uintptr(height), 0) -} -func TextureStorage2DEXT(texture uint32, target uint32, levels int32, internalformat uint32, width int32, height int32) { - syscall.Syscall6(gpTextureStorage2DEXT, 6, uintptr(texture), uintptr(target), uintptr(levels), uintptr(internalformat), uintptr(width), uintptr(height)) -} - -// specify storage for a two-dimensional multisample texture -func TextureStorage2DMultisample(texture uint32, samples int32, internalformat uint32, width int32, height int32, fixedsamplelocations bool) { - syscall.Syscall6(gpTextureStorage2DMultisample, 6, uintptr(texture), uintptr(samples), uintptr(internalformat), uintptr(width), uintptr(height), boolToUintptr(fixedsamplelocations)) -} -func TextureStorage2DMultisampleEXT(texture uint32, target uint32, samples int32, internalformat uint32, width int32, height int32, fixedsamplelocations bool) { - syscall.Syscall9(gpTextureStorage2DMultisampleEXT, 7, uintptr(texture), uintptr(target), uintptr(samples), uintptr(internalformat), uintptr(width), uintptr(height), boolToUintptr(fixedsamplelocations), 0, 0) -} - -// simultaneously specify storage for all levels of a three-dimensional, two-dimensional array or cube-map array texture -func TextureStorage3D(texture uint32, levels int32, internalformat uint32, width int32, height int32, depth int32) { - syscall.Syscall6(gpTextureStorage3D, 6, uintptr(texture), uintptr(levels), uintptr(internalformat), uintptr(width), uintptr(height), uintptr(depth)) -} -func TextureStorage3DEXT(texture uint32, target uint32, levels int32, internalformat uint32, width int32, height int32, depth int32) { - syscall.Syscall9(gpTextureStorage3DEXT, 7, uintptr(texture), uintptr(target), uintptr(levels), uintptr(internalformat), uintptr(width), uintptr(height), uintptr(depth), 0, 0) -} - -// specify storage for a two-dimensional multisample array texture -func TextureStorage3DMultisample(texture uint32, samples int32, internalformat uint32, width int32, height int32, depth int32, fixedsamplelocations bool) { - syscall.Syscall9(gpTextureStorage3DMultisample, 7, uintptr(texture), uintptr(samples), uintptr(internalformat), uintptr(width), uintptr(height), uintptr(depth), boolToUintptr(fixedsamplelocations), 0, 0) -} -func TextureStorage3DMultisampleEXT(texture uint32, target uint32, samples int32, internalformat uint32, width int32, height int32, depth int32, fixedsamplelocations bool) { - syscall.Syscall9(gpTextureStorage3DMultisampleEXT, 8, uintptr(texture), uintptr(target), uintptr(samples), uintptr(internalformat), uintptr(width), uintptr(height), uintptr(depth), boolToUintptr(fixedsamplelocations), 0) -} -func TextureStorageMem1DEXT(texture uint32, levels int32, internalFormat uint32, width int32, memory uint32, offset uint64) { - syscall.Syscall6(gpTextureStorageMem1DEXT, 6, uintptr(texture), uintptr(levels), uintptr(internalFormat), uintptr(width), uintptr(memory), uintptr(offset)) -} -func TextureStorageMem2DEXT(texture uint32, levels int32, internalFormat uint32, width int32, height int32, memory uint32, offset uint64) { - syscall.Syscall9(gpTextureStorageMem2DEXT, 7, uintptr(texture), uintptr(levels), uintptr(internalFormat), uintptr(width), uintptr(height), uintptr(memory), uintptr(offset), 0, 0) -} -func TextureStorageMem2DMultisampleEXT(texture uint32, samples int32, internalFormat uint32, width int32, height int32, fixedSampleLocations bool, memory uint32, offset uint64) { - syscall.Syscall9(gpTextureStorageMem2DMultisampleEXT, 8, uintptr(texture), uintptr(samples), uintptr(internalFormat), uintptr(width), uintptr(height), boolToUintptr(fixedSampleLocations), uintptr(memory), uintptr(offset), 0) -} -func TextureStorageMem3DEXT(texture uint32, levels int32, internalFormat uint32, width int32, height int32, depth int32, memory uint32, offset uint64) { - syscall.Syscall9(gpTextureStorageMem3DEXT, 8, uintptr(texture), uintptr(levels), uintptr(internalFormat), uintptr(width), uintptr(height), uintptr(depth), uintptr(memory), uintptr(offset), 0) -} -func TextureStorageMem3DMultisampleEXT(texture uint32, samples int32, internalFormat uint32, width int32, height int32, depth int32, fixedSampleLocations bool, memory uint32, offset uint64) { - syscall.Syscall9(gpTextureStorageMem3DMultisampleEXT, 9, uintptr(texture), uintptr(samples), uintptr(internalFormat), uintptr(width), uintptr(height), uintptr(depth), boolToUintptr(fixedSampleLocations), uintptr(memory), uintptr(offset)) -} -func TextureStorageSparseAMD(texture uint32, target uint32, internalFormat uint32, width int32, height int32, depth int32, layers int32, flags uint32) { - syscall.Syscall9(gpTextureStorageSparseAMD, 8, uintptr(texture), uintptr(target), uintptr(internalFormat), uintptr(width), uintptr(height), uintptr(depth), uintptr(layers), uintptr(flags), 0) -} - -// specify a one-dimensional texture subimage -func TextureSubImage1D(texture uint32, level int32, xoffset int32, width int32, format uint32, xtype uint32, pixels unsafe.Pointer) { - syscall.Syscall9(gpTextureSubImage1D, 7, uintptr(texture), uintptr(level), uintptr(xoffset), uintptr(width), uintptr(format), uintptr(xtype), uintptr(pixels), 0, 0) -} -func TextureSubImage1DEXT(texture uint32, target uint32, level int32, xoffset int32, width int32, format uint32, xtype uint32, pixels unsafe.Pointer) { - syscall.Syscall9(gpTextureSubImage1DEXT, 8, uintptr(texture), uintptr(target), uintptr(level), uintptr(xoffset), uintptr(width), uintptr(format), uintptr(xtype), uintptr(pixels), 0) -} - -// specify a two-dimensional texture subimage -func TextureSubImage2D(texture uint32, level int32, xoffset int32, yoffset int32, width int32, height int32, format uint32, xtype uint32, pixels unsafe.Pointer) { - syscall.Syscall9(gpTextureSubImage2D, 9, uintptr(texture), uintptr(level), uintptr(xoffset), uintptr(yoffset), uintptr(width), uintptr(height), uintptr(format), uintptr(xtype), uintptr(pixels)) -} -func TextureSubImage2DEXT(texture uint32, target uint32, level int32, xoffset int32, yoffset int32, width int32, height int32, format uint32, xtype uint32, pixels unsafe.Pointer) { - syscall.Syscall12(gpTextureSubImage2DEXT, 10, uintptr(texture), uintptr(target), uintptr(level), uintptr(xoffset), uintptr(yoffset), uintptr(width), uintptr(height), uintptr(format), uintptr(xtype), uintptr(pixels), 0, 0) -} - -// specify a three-dimensional texture subimage -func TextureSubImage3D(texture uint32, level int32, xoffset int32, yoffset int32, zoffset int32, width int32, height int32, depth int32, format uint32, xtype uint32, pixels unsafe.Pointer) { - syscall.Syscall12(gpTextureSubImage3D, 11, uintptr(texture), uintptr(level), uintptr(xoffset), uintptr(yoffset), uintptr(zoffset), uintptr(width), uintptr(height), uintptr(depth), uintptr(format), uintptr(xtype), uintptr(pixels), 0) -} -func TextureSubImage3DEXT(texture uint32, target uint32, level int32, xoffset int32, yoffset int32, zoffset int32, width int32, height int32, depth int32, format uint32, xtype uint32, pixels unsafe.Pointer) { - syscall.Syscall12(gpTextureSubImage3DEXT, 12, uintptr(texture), uintptr(target), uintptr(level), uintptr(xoffset), uintptr(yoffset), uintptr(zoffset), uintptr(width), uintptr(height), uintptr(depth), uintptr(format), uintptr(xtype), uintptr(pixels)) -} - -// initialize a texture as a data alias of another texture's data store -func TextureView(texture uint32, target uint32, origtexture uint32, internalformat uint32, minlevel uint32, numlevels uint32, minlayer uint32, numlayers uint32) { - syscall.Syscall9(gpTextureView, 8, uintptr(texture), uintptr(target), uintptr(origtexture), uintptr(internalformat), uintptr(minlevel), uintptr(numlevels), uintptr(minlayer), uintptr(numlayers), 0) -} -func TrackMatrixNV(target uint32, address uint32, matrix uint32, transform uint32) { - syscall.Syscall6(gpTrackMatrixNV, 4, uintptr(target), uintptr(address), uintptr(matrix), uintptr(transform), 0, 0) -} -func TransformFeedbackAttribsNV(count int32, attribs *int32, bufferMode uint32) { - syscall.Syscall(gpTransformFeedbackAttribsNV, 3, uintptr(count), uintptr(unsafe.Pointer(attribs)), uintptr(bufferMode)) -} - -// bind a buffer object to a transform feedback buffer object -func TransformFeedbackBufferBase(xfb uint32, index uint32, buffer uint32) { - syscall.Syscall(gpTransformFeedbackBufferBase, 3, uintptr(xfb), uintptr(index), uintptr(buffer)) -} - -// bind a range within a buffer object to a transform feedback buffer object -func TransformFeedbackBufferRange(xfb uint32, index uint32, buffer uint32, offset int, size int) { - syscall.Syscall6(gpTransformFeedbackBufferRange, 5, uintptr(xfb), uintptr(index), uintptr(buffer), uintptr(offset), uintptr(size), 0) -} -func TransformFeedbackStreamAttribsNV(count int32, attribs *int32, nbuffers int32, bufstreams *int32, bufferMode uint32) { - syscall.Syscall6(gpTransformFeedbackStreamAttribsNV, 5, uintptr(count), uintptr(unsafe.Pointer(attribs)), uintptr(nbuffers), uintptr(unsafe.Pointer(bufstreams)), uintptr(bufferMode), 0) -} -func TransformFeedbackVaryingsEXT(program uint32, count int32, varyings **uint8, bufferMode uint32) { - syscall.Syscall6(gpTransformFeedbackVaryingsEXT, 4, uintptr(program), uintptr(count), uintptr(unsafe.Pointer(varyings)), uintptr(bufferMode), 0, 0) -} -func TransformFeedbackVaryingsNV(program uint32, count int32, locations *int32, bufferMode uint32) { - syscall.Syscall6(gpTransformFeedbackVaryingsNV, 4, uintptr(program), uintptr(count), uintptr(unsafe.Pointer(locations)), uintptr(bufferMode), 0, 0) -} -func TransformPathNV(resultPath uint32, srcPath uint32, transformType uint32, transformValues *float32) { - syscall.Syscall6(gpTransformPathNV, 4, uintptr(resultPath), uintptr(srcPath), uintptr(transformType), uintptr(unsafe.Pointer(transformValues)), 0, 0) -} -func Translated(x float64, y float64, z float64) { - syscall.Syscall(gpTranslated, 3, uintptr(math.Float64bits(x)), uintptr(math.Float64bits(y)), uintptr(math.Float64bits(z))) -} -func Translatef(x float32, y float32, z float32) { - syscall.Syscall(gpTranslatef, 3, uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y)), uintptr(math.Float32bits(z))) -} -func TranslatexOES(x int32, y int32, z int32) { - syscall.Syscall(gpTranslatexOES, 3, uintptr(x), uintptr(y), uintptr(z)) -} -func Uniform1d(location int32, x float64) { - syscall.Syscall(gpUniform1d, 2, uintptr(location), uintptr(math.Float64bits(x)), 0) -} -func Uniform1dv(location int32, count int32, value *float64) { - syscall.Syscall(gpUniform1dv, 3, uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value))) -} - -// Specify the value of a uniform variable for the current program object func Uniform1f(location int32, v0 float32) { syscall.Syscall(gpUniform1f, 2, uintptr(location), uintptr(math.Float32bits(v0)), 0) } -func Uniform1fARB(location int32, v0 float32) { - syscall.Syscall(gpUniform1fARB, 2, uintptr(location), uintptr(math.Float32bits(v0)), 0) -} -// Specify the value of a uniform variable for the current program object -func Uniform1fv(location int32, count int32, value *float32) { - syscall.Syscall(gpUniform1fv, 3, uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value))) -} -func Uniform1fvARB(location int32, count int32, value *float32) { - syscall.Syscall(gpUniform1fvARB, 3, uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value))) -} - -// Specify the value of a uniform variable for the current program object func Uniform1i(location int32, v0 int32) { syscall.Syscall(gpUniform1i, 2, uintptr(location), uintptr(v0), 0) } -func Uniform1i64ARB(location int32, x int64) { - syscall.Syscall(gpUniform1i64ARB, 2, uintptr(location), uintptr(x), 0) -} -func Uniform1i64NV(location int32, x int64) { - syscall.Syscall(gpUniform1i64NV, 2, uintptr(location), uintptr(x), 0) -} -func Uniform1i64vARB(location int32, count int32, value *int64) { - syscall.Syscall(gpUniform1i64vARB, 3, uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value))) -} -func Uniform1i64vNV(location int32, count int32, value *int64) { - syscall.Syscall(gpUniform1i64vNV, 3, uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value))) -} -func Uniform1iARB(location int32, v0 int32) { - syscall.Syscall(gpUniform1iARB, 2, uintptr(location), uintptr(v0), 0) -} -// Specify the value of a uniform variable for the current program object -func Uniform1iv(location int32, count int32, value *int32) { - syscall.Syscall(gpUniform1iv, 3, uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value))) -} -func Uniform1ivARB(location int32, count int32, value *int32) { - syscall.Syscall(gpUniform1ivARB, 3, uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value))) -} -func Uniform1ui64ARB(location int32, x uint64) { - syscall.Syscall(gpUniform1ui64ARB, 2, uintptr(location), uintptr(x), 0) -} -func Uniform1ui64NV(location int32, x uint64) { - syscall.Syscall(gpUniform1ui64NV, 2, uintptr(location), uintptr(x), 0) -} -func Uniform1ui64vARB(location int32, count int32, value *uint64) { - syscall.Syscall(gpUniform1ui64vARB, 3, uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value))) -} -func Uniform1ui64vNV(location int32, count int32, value *uint64) { - syscall.Syscall(gpUniform1ui64vNV, 3, uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value))) -} -func Uniform1uiEXT(location int32, v0 uint32) { - syscall.Syscall(gpUniform1uiEXT, 2, uintptr(location), uintptr(v0), 0) -} -func Uniform1uivEXT(location int32, count int32, value *uint32) { - syscall.Syscall(gpUniform1uivEXT, 3, uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value))) -} -func Uniform2d(location int32, x float64, y float64) { - syscall.Syscall(gpUniform2d, 3, uintptr(location), uintptr(math.Float64bits(x)), uintptr(math.Float64bits(y))) -} -func Uniform2dv(location int32, count int32, value *float64) { - syscall.Syscall(gpUniform2dv, 3, uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value))) -} - -// Specify the value of a uniform variable for the current program object -func Uniform2f(location int32, v0 float32, v1 float32) { - syscall.Syscall(gpUniform2f, 3, uintptr(location), uintptr(math.Float32bits(v0)), uintptr(math.Float32bits(v1))) -} -func Uniform2fARB(location int32, v0 float32, v1 float32) { - syscall.Syscall(gpUniform2fARB, 3, uintptr(location), uintptr(math.Float32bits(v0)), uintptr(math.Float32bits(v1))) -} - -// Specify the value of a uniform variable for the current program object func Uniform2fv(location int32, count int32, value *float32) { syscall.Syscall(gpUniform2fv, 3, uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value))) } -func Uniform2fvARB(location int32, count int32, value *float32) { - syscall.Syscall(gpUniform2fvARB, 3, uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value))) -} -// Specify the value of a uniform variable for the current program object -func Uniform2i(location int32, v0 int32, v1 int32) { - syscall.Syscall(gpUniform2i, 3, uintptr(location), uintptr(v0), uintptr(v1)) -} -func Uniform2i64ARB(location int32, x int64, y int64) { - syscall.Syscall(gpUniform2i64ARB, 3, uintptr(location), uintptr(x), uintptr(y)) -} -func Uniform2i64NV(location int32, x int64, y int64) { - syscall.Syscall(gpUniform2i64NV, 3, uintptr(location), uintptr(x), uintptr(y)) -} -func Uniform2i64vARB(location int32, count int32, value *int64) { - syscall.Syscall(gpUniform2i64vARB, 3, uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value))) -} -func Uniform2i64vNV(location int32, count int32, value *int64) { - syscall.Syscall(gpUniform2i64vNV, 3, uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value))) -} -func Uniform2iARB(location int32, v0 int32, v1 int32) { - syscall.Syscall(gpUniform2iARB, 3, uintptr(location), uintptr(v0), uintptr(v1)) -} - -// Specify the value of a uniform variable for the current program object -func Uniform2iv(location int32, count int32, value *int32) { - syscall.Syscall(gpUniform2iv, 3, uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value))) -} -func Uniform2ivARB(location int32, count int32, value *int32) { - syscall.Syscall(gpUniform2ivARB, 3, uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value))) -} -func Uniform2ui64ARB(location int32, x uint64, y uint64) { - syscall.Syscall(gpUniform2ui64ARB, 3, uintptr(location), uintptr(x), uintptr(y)) -} -func Uniform2ui64NV(location int32, x uint64, y uint64) { - syscall.Syscall(gpUniform2ui64NV, 3, uintptr(location), uintptr(x), uintptr(y)) -} -func Uniform2ui64vARB(location int32, count int32, value *uint64) { - syscall.Syscall(gpUniform2ui64vARB, 3, uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value))) -} -func Uniform2ui64vNV(location int32, count int32, value *uint64) { - syscall.Syscall(gpUniform2ui64vNV, 3, uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value))) -} -func Uniform2uiEXT(location int32, v0 uint32, v1 uint32) { - syscall.Syscall(gpUniform2uiEXT, 3, uintptr(location), uintptr(v0), uintptr(v1)) -} -func Uniform2uivEXT(location int32, count int32, value *uint32) { - syscall.Syscall(gpUniform2uivEXT, 3, uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value))) -} -func Uniform3d(location int32, x float64, y float64, z float64) { - syscall.Syscall6(gpUniform3d, 4, uintptr(location), uintptr(math.Float64bits(x)), uintptr(math.Float64bits(y)), uintptr(math.Float64bits(z)), 0, 0) -} -func Uniform3dv(location int32, count int32, value *float64) { - syscall.Syscall(gpUniform3dv, 3, uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value))) -} - -// Specify the value of a uniform variable for the current program object -func Uniform3f(location int32, v0 float32, v1 float32, v2 float32) { - syscall.Syscall6(gpUniform3f, 4, uintptr(location), uintptr(math.Float32bits(v0)), uintptr(math.Float32bits(v1)), uintptr(math.Float32bits(v2)), 0, 0) -} -func Uniform3fARB(location int32, v0 float32, v1 float32, v2 float32) { - syscall.Syscall6(gpUniform3fARB, 4, uintptr(location), uintptr(math.Float32bits(v0)), uintptr(math.Float32bits(v1)), uintptr(math.Float32bits(v2)), 0, 0) -} - -// Specify the value of a uniform variable for the current program object -func Uniform3fv(location int32, count int32, value *float32) { - syscall.Syscall(gpUniform3fv, 3, uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value))) -} -func Uniform3fvARB(location int32, count int32, value *float32) { - syscall.Syscall(gpUniform3fvARB, 3, uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value))) -} - -// Specify the value of a uniform variable for the current program object -func Uniform3i(location int32, v0 int32, v1 int32, v2 int32) { - syscall.Syscall6(gpUniform3i, 4, uintptr(location), uintptr(v0), uintptr(v1), uintptr(v2), 0, 0) -} -func Uniform3i64ARB(location int32, x int64, y int64, z int64) { - syscall.Syscall6(gpUniform3i64ARB, 4, uintptr(location), uintptr(x), uintptr(y), uintptr(z), 0, 0) -} -func Uniform3i64NV(location int32, x int64, y int64, z int64) { - syscall.Syscall6(gpUniform3i64NV, 4, uintptr(location), uintptr(x), uintptr(y), uintptr(z), 0, 0) -} -func Uniform3i64vARB(location int32, count int32, value *int64) { - syscall.Syscall(gpUniform3i64vARB, 3, uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value))) -} -func Uniform3i64vNV(location int32, count int32, value *int64) { - syscall.Syscall(gpUniform3i64vNV, 3, uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value))) -} -func Uniform3iARB(location int32, v0 int32, v1 int32, v2 int32) { - syscall.Syscall6(gpUniform3iARB, 4, uintptr(location), uintptr(v0), uintptr(v1), uintptr(v2), 0, 0) -} - -// Specify the value of a uniform variable for the current program object -func Uniform3iv(location int32, count int32, value *int32) { - syscall.Syscall(gpUniform3iv, 3, uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value))) -} -func Uniform3ivARB(location int32, count int32, value *int32) { - syscall.Syscall(gpUniform3ivARB, 3, uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value))) -} -func Uniform3ui64ARB(location int32, x uint64, y uint64, z uint64) { - syscall.Syscall6(gpUniform3ui64ARB, 4, uintptr(location), uintptr(x), uintptr(y), uintptr(z), 0, 0) -} -func Uniform3ui64NV(location int32, x uint64, y uint64, z uint64) { - syscall.Syscall6(gpUniform3ui64NV, 4, uintptr(location), uintptr(x), uintptr(y), uintptr(z), 0, 0) -} -func Uniform3ui64vARB(location int32, count int32, value *uint64) { - syscall.Syscall(gpUniform3ui64vARB, 3, uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value))) -} -func Uniform3ui64vNV(location int32, count int32, value *uint64) { - syscall.Syscall(gpUniform3ui64vNV, 3, uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value))) -} -func Uniform3uiEXT(location int32, v0 uint32, v1 uint32, v2 uint32) { - syscall.Syscall6(gpUniform3uiEXT, 4, uintptr(location), uintptr(v0), uintptr(v1), uintptr(v2), 0, 0) -} -func Uniform3uivEXT(location int32, count int32, value *uint32) { - syscall.Syscall(gpUniform3uivEXT, 3, uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value))) -} -func Uniform4d(location int32, x float64, y float64, z float64, w float64) { - syscall.Syscall6(gpUniform4d, 5, uintptr(location), uintptr(math.Float64bits(x)), uintptr(math.Float64bits(y)), uintptr(math.Float64bits(z)), uintptr(math.Float64bits(w)), 0) -} -func Uniform4dv(location int32, count int32, value *float64) { - syscall.Syscall(gpUniform4dv, 3, uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value))) -} - -// Specify the value of a uniform variable for the current program object -func Uniform4f(location int32, v0 float32, v1 float32, v2 float32, v3 float32) { - syscall.Syscall6(gpUniform4f, 5, uintptr(location), uintptr(math.Float32bits(v0)), uintptr(math.Float32bits(v1)), uintptr(math.Float32bits(v2)), uintptr(math.Float32bits(v3)), 0) -} -func Uniform4fARB(location int32, v0 float32, v1 float32, v2 float32, v3 float32) { - syscall.Syscall6(gpUniform4fARB, 5, uintptr(location), uintptr(math.Float32bits(v0)), uintptr(math.Float32bits(v1)), uintptr(math.Float32bits(v2)), uintptr(math.Float32bits(v3)), 0) -} - -// Specify the value of a uniform variable for the current program object func Uniform4fv(location int32, count int32, value *float32) { syscall.Syscall(gpUniform4fv, 3, uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value))) } -func Uniform4fvARB(location int32, count int32, value *float32) { - syscall.Syscall(gpUniform4fvARB, 3, uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value))) -} -// Specify the value of a uniform variable for the current program object -func Uniform4i(location int32, v0 int32, v1 int32, v2 int32, v3 int32) { - syscall.Syscall6(gpUniform4i, 5, uintptr(location), uintptr(v0), uintptr(v1), uintptr(v2), uintptr(v3), 0) -} -func Uniform4i64ARB(location int32, x int64, y int64, z int64, w int64) { - syscall.Syscall6(gpUniform4i64ARB, 5, uintptr(location), uintptr(x), uintptr(y), uintptr(z), uintptr(w), 0) -} -func Uniform4i64NV(location int32, x int64, y int64, z int64, w int64) { - syscall.Syscall6(gpUniform4i64NV, 5, uintptr(location), uintptr(x), uintptr(y), uintptr(z), uintptr(w), 0) -} -func Uniform4i64vARB(location int32, count int32, value *int64) { - syscall.Syscall(gpUniform4i64vARB, 3, uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value))) -} -func Uniform4i64vNV(location int32, count int32, value *int64) { - syscall.Syscall(gpUniform4i64vNV, 3, uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value))) -} -func Uniform4iARB(location int32, v0 int32, v1 int32, v2 int32, v3 int32) { - syscall.Syscall6(gpUniform4iARB, 5, uintptr(location), uintptr(v0), uintptr(v1), uintptr(v2), uintptr(v3), 0) -} - -// Specify the value of a uniform variable for the current program object -func Uniform4iv(location int32, count int32, value *int32) { - syscall.Syscall(gpUniform4iv, 3, uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value))) -} -func Uniform4ivARB(location int32, count int32, value *int32) { - syscall.Syscall(gpUniform4ivARB, 3, uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value))) -} -func Uniform4ui64ARB(location int32, x uint64, y uint64, z uint64, w uint64) { - syscall.Syscall6(gpUniform4ui64ARB, 5, uintptr(location), uintptr(x), uintptr(y), uintptr(z), uintptr(w), 0) -} -func Uniform4ui64NV(location int32, x uint64, y uint64, z uint64, w uint64) { - syscall.Syscall6(gpUniform4ui64NV, 5, uintptr(location), uintptr(x), uintptr(y), uintptr(z), uintptr(w), 0) -} -func Uniform4ui64vARB(location int32, count int32, value *uint64) { - syscall.Syscall(gpUniform4ui64vARB, 3, uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value))) -} -func Uniform4ui64vNV(location int32, count int32, value *uint64) { - syscall.Syscall(gpUniform4ui64vNV, 3, uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value))) -} -func Uniform4uiEXT(location int32, v0 uint32, v1 uint32, v2 uint32, v3 uint32) { - syscall.Syscall6(gpUniform4uiEXT, 5, uintptr(location), uintptr(v0), uintptr(v1), uintptr(v2), uintptr(v3), 0) -} -func Uniform4uivEXT(location int32, count int32, value *uint32) { - syscall.Syscall(gpUniform4uivEXT, 3, uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value))) -} - -// assign a binding point to an active uniform block -func UniformBlockBinding(program uint32, uniformBlockIndex uint32, uniformBlockBinding uint32) { - syscall.Syscall(gpUniformBlockBinding, 3, uintptr(program), uintptr(uniformBlockIndex), uintptr(uniformBlockBinding)) -} -func UniformBufferEXT(program uint32, location int32, buffer uint32) { - syscall.Syscall(gpUniformBufferEXT, 3, uintptr(program), uintptr(location), uintptr(buffer)) -} -func UniformHandleui64ARB(location int32, value uint64) { - syscall.Syscall(gpUniformHandleui64ARB, 2, uintptr(location), uintptr(value), 0) -} -func UniformHandleui64NV(location int32, value uint64) { - syscall.Syscall(gpUniformHandleui64NV, 2, uintptr(location), uintptr(value), 0) -} -func UniformHandleui64vARB(location int32, count int32, value *uint64) { - syscall.Syscall(gpUniformHandleui64vARB, 3, uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value))) -} -func UniformHandleui64vNV(location int32, count int32, value *uint64) { - syscall.Syscall(gpUniformHandleui64vNV, 3, uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value))) -} -func UniformMatrix2dv(location int32, count int32, transpose bool, value *float64) { - syscall.Syscall6(gpUniformMatrix2dv, 4, uintptr(location), uintptr(count), boolToUintptr(transpose), uintptr(unsafe.Pointer(value)), 0, 0) -} - -// Specify the value of a uniform variable for the current program object -func UniformMatrix2fv(location int32, count int32, transpose bool, value *float32) { - syscall.Syscall6(gpUniformMatrix2fv, 4, uintptr(location), uintptr(count), boolToUintptr(transpose), uintptr(unsafe.Pointer(value)), 0, 0) -} -func UniformMatrix2fvARB(location int32, count int32, transpose bool, value *float32) { - syscall.Syscall6(gpUniformMatrix2fvARB, 4, uintptr(location), uintptr(count), boolToUintptr(transpose), uintptr(unsafe.Pointer(value)), 0, 0) -} -func UniformMatrix2x3dv(location int32, count int32, transpose bool, value *float64) { - syscall.Syscall6(gpUniformMatrix2x3dv, 4, uintptr(location), uintptr(count), boolToUintptr(transpose), uintptr(unsafe.Pointer(value)), 0, 0) -} - -// Specify the value of a uniform variable for the current program object -func UniformMatrix2x3fv(location int32, count int32, transpose bool, value *float32) { - syscall.Syscall6(gpUniformMatrix2x3fv, 4, uintptr(location), uintptr(count), boolToUintptr(transpose), uintptr(unsafe.Pointer(value)), 0, 0) -} -func UniformMatrix2x4dv(location int32, count int32, transpose bool, value *float64) { - syscall.Syscall6(gpUniformMatrix2x4dv, 4, uintptr(location), uintptr(count), boolToUintptr(transpose), uintptr(unsafe.Pointer(value)), 0, 0) -} - -// Specify the value of a uniform variable for the current program object -func UniformMatrix2x4fv(location int32, count int32, transpose bool, value *float32) { - syscall.Syscall6(gpUniformMatrix2x4fv, 4, uintptr(location), uintptr(count), boolToUintptr(transpose), uintptr(unsafe.Pointer(value)), 0, 0) -} -func UniformMatrix3dv(location int32, count int32, transpose bool, value *float64) { - syscall.Syscall6(gpUniformMatrix3dv, 4, uintptr(location), uintptr(count), boolToUintptr(transpose), uintptr(unsafe.Pointer(value)), 0, 0) -} - -// Specify the value of a uniform variable for the current program object -func UniformMatrix3fv(location int32, count int32, transpose bool, value *float32) { - syscall.Syscall6(gpUniformMatrix3fv, 4, uintptr(location), uintptr(count), boolToUintptr(transpose), uintptr(unsafe.Pointer(value)), 0, 0) -} -func UniformMatrix3fvARB(location int32, count int32, transpose bool, value *float32) { - syscall.Syscall6(gpUniformMatrix3fvARB, 4, uintptr(location), uintptr(count), boolToUintptr(transpose), uintptr(unsafe.Pointer(value)), 0, 0) -} -func UniformMatrix3x2dv(location int32, count int32, transpose bool, value *float64) { - syscall.Syscall6(gpUniformMatrix3x2dv, 4, uintptr(location), uintptr(count), boolToUintptr(transpose), uintptr(unsafe.Pointer(value)), 0, 0) -} - -// Specify the value of a uniform variable for the current program object -func UniformMatrix3x2fv(location int32, count int32, transpose bool, value *float32) { - syscall.Syscall6(gpUniformMatrix3x2fv, 4, uintptr(location), uintptr(count), boolToUintptr(transpose), uintptr(unsafe.Pointer(value)), 0, 0) -} -func UniformMatrix3x4dv(location int32, count int32, transpose bool, value *float64) { - syscall.Syscall6(gpUniformMatrix3x4dv, 4, uintptr(location), uintptr(count), boolToUintptr(transpose), uintptr(unsafe.Pointer(value)), 0, 0) -} - -// Specify the value of a uniform variable for the current program object -func UniformMatrix3x4fv(location int32, count int32, transpose bool, value *float32) { - syscall.Syscall6(gpUniformMatrix3x4fv, 4, uintptr(location), uintptr(count), boolToUintptr(transpose), uintptr(unsafe.Pointer(value)), 0, 0) -} -func UniformMatrix4dv(location int32, count int32, transpose bool, value *float64) { - syscall.Syscall6(gpUniformMatrix4dv, 4, uintptr(location), uintptr(count), boolToUintptr(transpose), uintptr(unsafe.Pointer(value)), 0, 0) -} - -// Specify the value of a uniform variable for the current program object func UniformMatrix4fv(location int32, count int32, transpose bool, value *float32) { syscall.Syscall6(gpUniformMatrix4fv, 4, uintptr(location), uintptr(count), boolToUintptr(transpose), uintptr(unsafe.Pointer(value)), 0, 0) } -func UniformMatrix4fvARB(location int32, count int32, transpose bool, value *float32) { - syscall.Syscall6(gpUniformMatrix4fvARB, 4, uintptr(location), uintptr(count), boolToUintptr(transpose), uintptr(unsafe.Pointer(value)), 0, 0) -} -func UniformMatrix4x2dv(location int32, count int32, transpose bool, value *float64) { - syscall.Syscall6(gpUniformMatrix4x2dv, 4, uintptr(location), uintptr(count), boolToUintptr(transpose), uintptr(unsafe.Pointer(value)), 0, 0) -} -// Specify the value of a uniform variable for the current program object -func UniformMatrix4x2fv(location int32, count int32, transpose bool, value *float32) { - syscall.Syscall6(gpUniformMatrix4x2fv, 4, uintptr(location), uintptr(count), boolToUintptr(transpose), uintptr(unsafe.Pointer(value)), 0, 0) -} -func UniformMatrix4x3dv(location int32, count int32, transpose bool, value *float64) { - syscall.Syscall6(gpUniformMatrix4x3dv, 4, uintptr(location), uintptr(count), boolToUintptr(transpose), uintptr(unsafe.Pointer(value)), 0, 0) -} - -// Specify the value of a uniform variable for the current program object -func UniformMatrix4x3fv(location int32, count int32, transpose bool, value *float32) { - syscall.Syscall6(gpUniformMatrix4x3fv, 4, uintptr(location), uintptr(count), boolToUintptr(transpose), uintptr(unsafe.Pointer(value)), 0, 0) -} -func UniformSubroutinesuiv(shadertype uint32, count int32, indices *uint32) { - syscall.Syscall(gpUniformSubroutinesuiv, 3, uintptr(shadertype), uintptr(count), uintptr(unsafe.Pointer(indices))) -} -func Uniformui64NV(location int32, value uint64) { - syscall.Syscall(gpUniformui64NV, 2, uintptr(location), uintptr(value), 0) -} -func Uniformui64vNV(location int32, count int32, value *uint64) { - syscall.Syscall(gpUniformui64vNV, 3, uintptr(location), uintptr(count), uintptr(unsafe.Pointer(value))) -} -func UnlockArraysEXT() { - syscall.Syscall(gpUnlockArraysEXT, 0, 0, 0, 0) -} - -// release the mapping of a buffer object's data store into the client's address space -func UnmapBuffer(target uint32) bool { - ret, _, _ := syscall.Syscall(gpUnmapBuffer, 1, uintptr(target), 0, 0) - return ret != 0 -} -func UnmapBufferARB(target uint32) bool { - ret, _, _ := syscall.Syscall(gpUnmapBufferARB, 1, uintptr(target), 0, 0) - return ret != 0 -} - -// release the mapping of a buffer object's data store into the client's address space -func UnmapNamedBuffer(buffer uint32) bool { - ret, _, _ := syscall.Syscall(gpUnmapNamedBuffer, 1, uintptr(buffer), 0, 0) - return ret != 0 -} -func UnmapNamedBufferEXT(buffer uint32) bool { - ret, _, _ := syscall.Syscall(gpUnmapNamedBufferEXT, 1, uintptr(buffer), 0, 0) - return ret != 0 -} -func UnmapObjectBufferATI(buffer uint32) { - syscall.Syscall(gpUnmapObjectBufferATI, 1, uintptr(buffer), 0, 0) -} -func UnmapTexture2DINTEL(texture uint32, level int32) { - syscall.Syscall(gpUnmapTexture2DINTEL, 2, uintptr(texture), uintptr(level), 0) -} -func UpdateObjectBufferATI(buffer uint32, offset uint32, size int32, pointer unsafe.Pointer, preserve uint32) { - syscall.Syscall6(gpUpdateObjectBufferATI, 5, uintptr(buffer), uintptr(offset), uintptr(size), uintptr(pointer), uintptr(preserve), 0) -} - -// Installs a program object as part of current rendering state func UseProgram(program uint32) { syscall.Syscall(gpUseProgram, 1, uintptr(program), 0, 0) } -func UseProgramObjectARB(programObj uintptr) { - syscall.Syscall(gpUseProgramObjectARB, 1, uintptr(programObj), 0, 0) -} -// bind stages of a program object to a program pipeline -func UseProgramStages(pipeline uint32, stages uint32, program uint32) { - syscall.Syscall(gpUseProgramStages, 3, uintptr(pipeline), uintptr(stages), uintptr(program)) -} -func UseProgramStagesEXT(pipeline uint32, stages uint32, program uint32) { - syscall.Syscall(gpUseProgramStagesEXT, 3, uintptr(pipeline), uintptr(stages), uintptr(program)) -} -func UseShaderProgramEXT(xtype uint32, program uint32) { - syscall.Syscall(gpUseShaderProgramEXT, 2, uintptr(xtype), uintptr(program), 0) -} -func VDPAUFiniNV() { - syscall.Syscall(gpVDPAUFiniNV, 0, 0, 0, 0) -} -func VDPAUGetSurfaceivNV(surface uintptr, pname uint32, bufSize int32, length *int32, values *int32) { - syscall.Syscall6(gpVDPAUGetSurfaceivNV, 5, uintptr(surface), uintptr(pname), uintptr(bufSize), uintptr(unsafe.Pointer(length)), uintptr(unsafe.Pointer(values)), 0) -} -func VDPAUInitNV(vdpDevice unsafe.Pointer, getProcAddress unsafe.Pointer) { - syscall.Syscall(gpVDPAUInitNV, 2, uintptr(vdpDevice), uintptr(getProcAddress), 0) -} -func VDPAUIsSurfaceNV(surface uintptr) bool { - ret, _, _ := syscall.Syscall(gpVDPAUIsSurfaceNV, 1, uintptr(surface), 0, 0) - return ret != 0 -} -func VDPAUMapSurfacesNV(numSurfaces int32, surfaces *uintptr) { - syscall.Syscall(gpVDPAUMapSurfacesNV, 2, uintptr(numSurfaces), uintptr(unsafe.Pointer(surfaces)), 0) -} -func VDPAURegisterOutputSurfaceNV(vdpSurface unsafe.Pointer, target uint32, numTextureNames int32, textureNames *uint32) uintptr { - ret, _, _ := syscall.Syscall6(gpVDPAURegisterOutputSurfaceNV, 4, uintptr(vdpSurface), uintptr(target), uintptr(numTextureNames), uintptr(unsafe.Pointer(textureNames)), 0, 0) - return (uintptr)(ret) -} -func VDPAURegisterVideoSurfaceNV(vdpSurface unsafe.Pointer, target uint32, numTextureNames int32, textureNames *uint32) uintptr { - ret, _, _ := syscall.Syscall6(gpVDPAURegisterVideoSurfaceNV, 4, uintptr(vdpSurface), uintptr(target), uintptr(numTextureNames), uintptr(unsafe.Pointer(textureNames)), 0, 0) - return (uintptr)(ret) -} -func VDPAUSurfaceAccessNV(surface uintptr, access uint32) { - syscall.Syscall(gpVDPAUSurfaceAccessNV, 2, uintptr(surface), uintptr(access), 0) -} -func VDPAUUnmapSurfacesNV(numSurface int32, surfaces *uintptr) { - syscall.Syscall(gpVDPAUUnmapSurfacesNV, 2, uintptr(numSurface), uintptr(unsafe.Pointer(surfaces)), 0) -} -func VDPAUUnregisterSurfaceNV(surface uintptr) { - syscall.Syscall(gpVDPAUUnregisterSurfaceNV, 1, uintptr(surface), 0, 0) -} - -// Validates a program object -func ValidateProgram(program uint32) { - syscall.Syscall(gpValidateProgram, 1, uintptr(program), 0, 0) -} -func ValidateProgramARB(programObj uintptr) { - syscall.Syscall(gpValidateProgramARB, 1, uintptr(programObj), 0, 0) -} - -// validate a program pipeline object against current GL state -func ValidateProgramPipeline(pipeline uint32) { - syscall.Syscall(gpValidateProgramPipeline, 1, uintptr(pipeline), 0, 0) -} -func ValidateProgramPipelineEXT(pipeline uint32) { - syscall.Syscall(gpValidateProgramPipelineEXT, 1, uintptr(pipeline), 0, 0) -} -func VariantArrayObjectATI(id uint32, xtype uint32, stride int32, buffer uint32, offset uint32) { - syscall.Syscall6(gpVariantArrayObjectATI, 5, uintptr(id), uintptr(xtype), uintptr(stride), uintptr(buffer), uintptr(offset), 0) -} -func VariantPointerEXT(id uint32, xtype uint32, stride uint32, addr unsafe.Pointer) { - syscall.Syscall6(gpVariantPointerEXT, 4, uintptr(id), uintptr(xtype), uintptr(stride), uintptr(addr), 0, 0) -} -func VariantbvEXT(id uint32, addr *int8) { - syscall.Syscall(gpVariantbvEXT, 2, uintptr(id), uintptr(unsafe.Pointer(addr)), 0) -} -func VariantdvEXT(id uint32, addr *float64) { - syscall.Syscall(gpVariantdvEXT, 2, uintptr(id), uintptr(unsafe.Pointer(addr)), 0) -} -func VariantfvEXT(id uint32, addr *float32) { - syscall.Syscall(gpVariantfvEXT, 2, uintptr(id), uintptr(unsafe.Pointer(addr)), 0) -} -func VariantivEXT(id uint32, addr *int32) { - syscall.Syscall(gpVariantivEXT, 2, uintptr(id), uintptr(unsafe.Pointer(addr)), 0) -} -func VariantsvEXT(id uint32, addr *int16) { - syscall.Syscall(gpVariantsvEXT, 2, uintptr(id), uintptr(unsafe.Pointer(addr)), 0) -} -func VariantubvEXT(id uint32, addr *uint8) { - syscall.Syscall(gpVariantubvEXT, 2, uintptr(id), uintptr(unsafe.Pointer(addr)), 0) -} -func VariantuivEXT(id uint32, addr *uint32) { - syscall.Syscall(gpVariantuivEXT, 2, uintptr(id), uintptr(unsafe.Pointer(addr)), 0) -} -func VariantusvEXT(id uint32, addr *uint16) { - syscall.Syscall(gpVariantusvEXT, 2, uintptr(id), uintptr(unsafe.Pointer(addr)), 0) -} -func Vertex2bOES(x int8, y int8) { - syscall.Syscall(gpVertex2bOES, 2, uintptr(x), uintptr(y), 0) -} -func Vertex2bvOES(coords *int8) { - syscall.Syscall(gpVertex2bvOES, 1, uintptr(unsafe.Pointer(coords)), 0, 0) -} -func Vertex2d(x float64, y float64) { - syscall.Syscall(gpVertex2d, 2, uintptr(math.Float64bits(x)), uintptr(math.Float64bits(y)), 0) -} -func Vertex2dv(v *float64) { - syscall.Syscall(gpVertex2dv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func Vertex2f(x float32, y float32) { - syscall.Syscall(gpVertex2f, 2, uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y)), 0) -} -func Vertex2fv(v *float32) { - syscall.Syscall(gpVertex2fv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func Vertex2hNV(x uint16, y uint16) { - syscall.Syscall(gpVertex2hNV, 2, uintptr(x), uintptr(y), 0) -} -func Vertex2hvNV(v *uint16) { - syscall.Syscall(gpVertex2hvNV, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func Vertex2i(x int32, y int32) { - syscall.Syscall(gpVertex2i, 2, uintptr(x), uintptr(y), 0) -} -func Vertex2iv(v *int32) { - syscall.Syscall(gpVertex2iv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func Vertex2s(x int16, y int16) { - syscall.Syscall(gpVertex2s, 2, uintptr(x), uintptr(y), 0) -} -func Vertex2sv(v *int16) { - syscall.Syscall(gpVertex2sv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func Vertex2xOES(x int32) { - syscall.Syscall(gpVertex2xOES, 1, uintptr(x), 0, 0) -} -func Vertex2xvOES(coords *int32) { - syscall.Syscall(gpVertex2xvOES, 1, uintptr(unsafe.Pointer(coords)), 0, 0) -} -func Vertex3bOES(x int8, y int8, z int8) { - syscall.Syscall(gpVertex3bOES, 3, uintptr(x), uintptr(y), uintptr(z)) -} -func Vertex3bvOES(coords *int8) { - syscall.Syscall(gpVertex3bvOES, 1, uintptr(unsafe.Pointer(coords)), 0, 0) -} -func Vertex3d(x float64, y float64, z float64) { - syscall.Syscall(gpVertex3d, 3, uintptr(math.Float64bits(x)), uintptr(math.Float64bits(y)), uintptr(math.Float64bits(z))) -} -func Vertex3dv(v *float64) { - syscall.Syscall(gpVertex3dv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func Vertex3f(x float32, y float32, z float32) { - syscall.Syscall(gpVertex3f, 3, uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y)), uintptr(math.Float32bits(z))) -} -func Vertex3fv(v *float32) { - syscall.Syscall(gpVertex3fv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func Vertex3hNV(x uint16, y uint16, z uint16) { - syscall.Syscall(gpVertex3hNV, 3, uintptr(x), uintptr(y), uintptr(z)) -} -func Vertex3hvNV(v *uint16) { - syscall.Syscall(gpVertex3hvNV, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func Vertex3i(x int32, y int32, z int32) { - syscall.Syscall(gpVertex3i, 3, uintptr(x), uintptr(y), uintptr(z)) -} -func Vertex3iv(v *int32) { - syscall.Syscall(gpVertex3iv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func Vertex3s(x int16, y int16, z int16) { - syscall.Syscall(gpVertex3s, 3, uintptr(x), uintptr(y), uintptr(z)) -} -func Vertex3sv(v *int16) { - syscall.Syscall(gpVertex3sv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func Vertex3xOES(x int32, y int32) { - syscall.Syscall(gpVertex3xOES, 2, uintptr(x), uintptr(y), 0) -} -func Vertex3xvOES(coords *int32) { - syscall.Syscall(gpVertex3xvOES, 1, uintptr(unsafe.Pointer(coords)), 0, 0) -} -func Vertex4bOES(x int8, y int8, z int8, w int8) { - syscall.Syscall6(gpVertex4bOES, 4, uintptr(x), uintptr(y), uintptr(z), uintptr(w), 0, 0) -} -func Vertex4bvOES(coords *int8) { - syscall.Syscall(gpVertex4bvOES, 1, uintptr(unsafe.Pointer(coords)), 0, 0) -} -func Vertex4d(x float64, y float64, z float64, w float64) { - syscall.Syscall6(gpVertex4d, 4, uintptr(math.Float64bits(x)), uintptr(math.Float64bits(y)), uintptr(math.Float64bits(z)), uintptr(math.Float64bits(w)), 0, 0) -} -func Vertex4dv(v *float64) { - syscall.Syscall(gpVertex4dv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func Vertex4f(x float32, y float32, z float32, w float32) { - syscall.Syscall6(gpVertex4f, 4, uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y)), uintptr(math.Float32bits(z)), uintptr(math.Float32bits(w)), 0, 0) -} -func Vertex4fv(v *float32) { - syscall.Syscall(gpVertex4fv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func Vertex4hNV(x uint16, y uint16, z uint16, w uint16) { - syscall.Syscall6(gpVertex4hNV, 4, uintptr(x), uintptr(y), uintptr(z), uintptr(w), 0, 0) -} -func Vertex4hvNV(v *uint16) { - syscall.Syscall(gpVertex4hvNV, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func Vertex4i(x int32, y int32, z int32, w int32) { - syscall.Syscall6(gpVertex4i, 4, uintptr(x), uintptr(y), uintptr(z), uintptr(w), 0, 0) -} -func Vertex4iv(v *int32) { - syscall.Syscall(gpVertex4iv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func Vertex4s(x int16, y int16, z int16, w int16) { - syscall.Syscall6(gpVertex4s, 4, uintptr(x), uintptr(y), uintptr(z), uintptr(w), 0, 0) -} -func Vertex4sv(v *int16) { - syscall.Syscall(gpVertex4sv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func Vertex4xOES(x int32, y int32, z int32) { - syscall.Syscall(gpVertex4xOES, 3, uintptr(x), uintptr(y), uintptr(z)) -} -func Vertex4xvOES(coords *int32) { - syscall.Syscall(gpVertex4xvOES, 1, uintptr(unsafe.Pointer(coords)), 0, 0) -} -func VertexArrayAttribBinding(vaobj uint32, attribindex uint32, bindingindex uint32) { - syscall.Syscall(gpVertexArrayAttribBinding, 3, uintptr(vaobj), uintptr(attribindex), uintptr(bindingindex)) -} - -// specify the organization of vertex arrays -func VertexArrayAttribFormat(vaobj uint32, attribindex uint32, size int32, xtype uint32, normalized bool, relativeoffset uint32) { - syscall.Syscall6(gpVertexArrayAttribFormat, 6, uintptr(vaobj), uintptr(attribindex), uintptr(size), uintptr(xtype), boolToUintptr(normalized), uintptr(relativeoffset)) -} -func VertexArrayAttribIFormat(vaobj uint32, attribindex uint32, size int32, xtype uint32, relativeoffset uint32) { - syscall.Syscall6(gpVertexArrayAttribIFormat, 5, uintptr(vaobj), uintptr(attribindex), uintptr(size), uintptr(xtype), uintptr(relativeoffset), 0) -} -func VertexArrayAttribLFormat(vaobj uint32, attribindex uint32, size int32, xtype uint32, relativeoffset uint32) { - syscall.Syscall6(gpVertexArrayAttribLFormat, 5, uintptr(vaobj), uintptr(attribindex), uintptr(size), uintptr(xtype), uintptr(relativeoffset), 0) -} -func VertexArrayBindVertexBufferEXT(vaobj uint32, bindingindex uint32, buffer uint32, offset int, stride int32) { - syscall.Syscall6(gpVertexArrayBindVertexBufferEXT, 5, uintptr(vaobj), uintptr(bindingindex), uintptr(buffer), uintptr(offset), uintptr(stride), 0) -} - -// modify the rate at which generic vertex attributes advance -func VertexArrayBindingDivisor(vaobj uint32, bindingindex uint32, divisor uint32) { - syscall.Syscall(gpVertexArrayBindingDivisor, 3, uintptr(vaobj), uintptr(bindingindex), uintptr(divisor)) -} -func VertexArrayColorOffsetEXT(vaobj uint32, buffer uint32, size int32, xtype uint32, stride int32, offset int) { - syscall.Syscall6(gpVertexArrayColorOffsetEXT, 6, uintptr(vaobj), uintptr(buffer), uintptr(size), uintptr(xtype), uintptr(stride), uintptr(offset)) -} -func VertexArrayEdgeFlagOffsetEXT(vaobj uint32, buffer uint32, stride int32, offset int) { - syscall.Syscall6(gpVertexArrayEdgeFlagOffsetEXT, 4, uintptr(vaobj), uintptr(buffer), uintptr(stride), uintptr(offset), 0, 0) -} - -// configures element array buffer binding of a vertex array object -func VertexArrayElementBuffer(vaobj uint32, buffer uint32) { - syscall.Syscall(gpVertexArrayElementBuffer, 2, uintptr(vaobj), uintptr(buffer), 0) -} -func VertexArrayFogCoordOffsetEXT(vaobj uint32, buffer uint32, xtype uint32, stride int32, offset int) { - syscall.Syscall6(gpVertexArrayFogCoordOffsetEXT, 5, uintptr(vaobj), uintptr(buffer), uintptr(xtype), uintptr(stride), uintptr(offset), 0) -} -func VertexArrayIndexOffsetEXT(vaobj uint32, buffer uint32, xtype uint32, stride int32, offset int) { - syscall.Syscall6(gpVertexArrayIndexOffsetEXT, 5, uintptr(vaobj), uintptr(buffer), uintptr(xtype), uintptr(stride), uintptr(offset), 0) -} -func VertexArrayMultiTexCoordOffsetEXT(vaobj uint32, buffer uint32, texunit uint32, size int32, xtype uint32, stride int32, offset int) { - syscall.Syscall9(gpVertexArrayMultiTexCoordOffsetEXT, 7, uintptr(vaobj), uintptr(buffer), uintptr(texunit), uintptr(size), uintptr(xtype), uintptr(stride), uintptr(offset), 0, 0) -} -func VertexArrayNormalOffsetEXT(vaobj uint32, buffer uint32, xtype uint32, stride int32, offset int) { - syscall.Syscall6(gpVertexArrayNormalOffsetEXT, 5, uintptr(vaobj), uintptr(buffer), uintptr(xtype), uintptr(stride), uintptr(offset), 0) -} -func VertexArrayParameteriAPPLE(pname uint32, param int32) { - syscall.Syscall(gpVertexArrayParameteriAPPLE, 2, uintptr(pname), uintptr(param), 0) -} -func VertexArrayRangeAPPLE(length int32, pointer unsafe.Pointer) { - syscall.Syscall(gpVertexArrayRangeAPPLE, 2, uintptr(length), uintptr(pointer), 0) -} -func VertexArrayRangeNV(length int32, pointer unsafe.Pointer) { - syscall.Syscall(gpVertexArrayRangeNV, 2, uintptr(length), uintptr(pointer), 0) -} -func VertexArraySecondaryColorOffsetEXT(vaobj uint32, buffer uint32, size int32, xtype uint32, stride int32, offset int) { - syscall.Syscall6(gpVertexArraySecondaryColorOffsetEXT, 6, uintptr(vaobj), uintptr(buffer), uintptr(size), uintptr(xtype), uintptr(stride), uintptr(offset)) -} -func VertexArrayTexCoordOffsetEXT(vaobj uint32, buffer uint32, size int32, xtype uint32, stride int32, offset int) { - syscall.Syscall6(gpVertexArrayTexCoordOffsetEXT, 6, uintptr(vaobj), uintptr(buffer), uintptr(size), uintptr(xtype), uintptr(stride), uintptr(offset)) -} -func VertexArrayVertexAttribBindingEXT(vaobj uint32, attribindex uint32, bindingindex uint32) { - syscall.Syscall(gpVertexArrayVertexAttribBindingEXT, 3, uintptr(vaobj), uintptr(attribindex), uintptr(bindingindex)) -} -func VertexArrayVertexAttribDivisorEXT(vaobj uint32, index uint32, divisor uint32) { - syscall.Syscall(gpVertexArrayVertexAttribDivisorEXT, 3, uintptr(vaobj), uintptr(index), uintptr(divisor)) -} -func VertexArrayVertexAttribFormatEXT(vaobj uint32, attribindex uint32, size int32, xtype uint32, normalized bool, relativeoffset uint32) { - syscall.Syscall6(gpVertexArrayVertexAttribFormatEXT, 6, uintptr(vaobj), uintptr(attribindex), uintptr(size), uintptr(xtype), boolToUintptr(normalized), uintptr(relativeoffset)) -} -func VertexArrayVertexAttribIFormatEXT(vaobj uint32, attribindex uint32, size int32, xtype uint32, relativeoffset uint32) { - syscall.Syscall6(gpVertexArrayVertexAttribIFormatEXT, 5, uintptr(vaobj), uintptr(attribindex), uintptr(size), uintptr(xtype), uintptr(relativeoffset), 0) -} -func VertexArrayVertexAttribIOffsetEXT(vaobj uint32, buffer uint32, index uint32, size int32, xtype uint32, stride int32, offset int) { - syscall.Syscall9(gpVertexArrayVertexAttribIOffsetEXT, 7, uintptr(vaobj), uintptr(buffer), uintptr(index), uintptr(size), uintptr(xtype), uintptr(stride), uintptr(offset), 0, 0) -} -func VertexArrayVertexAttribLFormatEXT(vaobj uint32, attribindex uint32, size int32, xtype uint32, relativeoffset uint32) { - syscall.Syscall6(gpVertexArrayVertexAttribLFormatEXT, 5, uintptr(vaobj), uintptr(attribindex), uintptr(size), uintptr(xtype), uintptr(relativeoffset), 0) -} -func VertexArrayVertexAttribLOffsetEXT(vaobj uint32, buffer uint32, index uint32, size int32, xtype uint32, stride int32, offset int) { - syscall.Syscall9(gpVertexArrayVertexAttribLOffsetEXT, 7, uintptr(vaobj), uintptr(buffer), uintptr(index), uintptr(size), uintptr(xtype), uintptr(stride), uintptr(offset), 0, 0) -} -func VertexArrayVertexAttribOffsetEXT(vaobj uint32, buffer uint32, index uint32, size int32, xtype uint32, normalized bool, stride int32, offset int) { - syscall.Syscall9(gpVertexArrayVertexAttribOffsetEXT, 8, uintptr(vaobj), uintptr(buffer), uintptr(index), uintptr(size), uintptr(xtype), boolToUintptr(normalized), uintptr(stride), uintptr(offset), 0) -} -func VertexArrayVertexBindingDivisorEXT(vaobj uint32, bindingindex uint32, divisor uint32) { - syscall.Syscall(gpVertexArrayVertexBindingDivisorEXT, 3, uintptr(vaobj), uintptr(bindingindex), uintptr(divisor)) -} - -// bind a buffer to a vertex buffer bind point -func VertexArrayVertexBuffer(vaobj uint32, bindingindex uint32, buffer uint32, offset int, stride int32) { - syscall.Syscall6(gpVertexArrayVertexBuffer, 5, uintptr(vaobj), uintptr(bindingindex), uintptr(buffer), uintptr(offset), uintptr(stride), 0) -} - -// attach multiple buffer objects to a vertex array object -func VertexArrayVertexBuffers(vaobj uint32, first uint32, count int32, buffers *uint32, offsets *int, strides *int32) { - syscall.Syscall6(gpVertexArrayVertexBuffers, 6, uintptr(vaobj), uintptr(first), uintptr(count), uintptr(unsafe.Pointer(buffers)), uintptr(unsafe.Pointer(offsets)), uintptr(unsafe.Pointer(strides))) -} -func VertexArrayVertexOffsetEXT(vaobj uint32, buffer uint32, size int32, xtype uint32, stride int32, offset int) { - syscall.Syscall6(gpVertexArrayVertexOffsetEXT, 6, uintptr(vaobj), uintptr(buffer), uintptr(size), uintptr(xtype), uintptr(stride), uintptr(offset)) -} -func VertexAttrib1d(index uint32, x float64) { - syscall.Syscall(gpVertexAttrib1d, 2, uintptr(index), uintptr(math.Float64bits(x)), 0) -} -func VertexAttrib1dARB(index uint32, x float64) { - syscall.Syscall(gpVertexAttrib1dARB, 2, uintptr(index), uintptr(math.Float64bits(x)), 0) -} -func VertexAttrib1dNV(index uint32, x float64) { - syscall.Syscall(gpVertexAttrib1dNV, 2, uintptr(index), uintptr(math.Float64bits(x)), 0) -} -func VertexAttrib1dv(index uint32, v *float64) { - syscall.Syscall(gpVertexAttrib1dv, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib1dvARB(index uint32, v *float64) { - syscall.Syscall(gpVertexAttrib1dvARB, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib1dvNV(index uint32, v *float64) { - syscall.Syscall(gpVertexAttrib1dvNV, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib1f(index uint32, x float32) { - syscall.Syscall(gpVertexAttrib1f, 2, uintptr(index), uintptr(math.Float32bits(x)), 0) -} -func VertexAttrib1fARB(index uint32, x float32) { - syscall.Syscall(gpVertexAttrib1fARB, 2, uintptr(index), uintptr(math.Float32bits(x)), 0) -} -func VertexAttrib1fNV(index uint32, x float32) { - syscall.Syscall(gpVertexAttrib1fNV, 2, uintptr(index), uintptr(math.Float32bits(x)), 0) -} -func VertexAttrib1fv(index uint32, v *float32) { - syscall.Syscall(gpVertexAttrib1fv, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib1fvARB(index uint32, v *float32) { - syscall.Syscall(gpVertexAttrib1fvARB, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib1fvNV(index uint32, v *float32) { - syscall.Syscall(gpVertexAttrib1fvNV, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib1hNV(index uint32, x uint16) { - syscall.Syscall(gpVertexAttrib1hNV, 2, uintptr(index), uintptr(x), 0) -} -func VertexAttrib1hvNV(index uint32, v *uint16) { - syscall.Syscall(gpVertexAttrib1hvNV, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib1s(index uint32, x int16) { - syscall.Syscall(gpVertexAttrib1s, 2, uintptr(index), uintptr(x), 0) -} -func VertexAttrib1sARB(index uint32, x int16) { - syscall.Syscall(gpVertexAttrib1sARB, 2, uintptr(index), uintptr(x), 0) -} -func VertexAttrib1sNV(index uint32, x int16) { - syscall.Syscall(gpVertexAttrib1sNV, 2, uintptr(index), uintptr(x), 0) -} -func VertexAttrib1sv(index uint32, v *int16) { - syscall.Syscall(gpVertexAttrib1sv, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib1svARB(index uint32, v *int16) { - syscall.Syscall(gpVertexAttrib1svARB, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib1svNV(index uint32, v *int16) { - syscall.Syscall(gpVertexAttrib1svNV, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib2d(index uint32, x float64, y float64) { - syscall.Syscall(gpVertexAttrib2d, 3, uintptr(index), uintptr(math.Float64bits(x)), uintptr(math.Float64bits(y))) -} -func VertexAttrib2dARB(index uint32, x float64, y float64) { - syscall.Syscall(gpVertexAttrib2dARB, 3, uintptr(index), uintptr(math.Float64bits(x)), uintptr(math.Float64bits(y))) -} -func VertexAttrib2dNV(index uint32, x float64, y float64) { - syscall.Syscall(gpVertexAttrib2dNV, 3, uintptr(index), uintptr(math.Float64bits(x)), uintptr(math.Float64bits(y))) -} -func VertexAttrib2dv(index uint32, v *float64) { - syscall.Syscall(gpVertexAttrib2dv, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib2dvARB(index uint32, v *float64) { - syscall.Syscall(gpVertexAttrib2dvARB, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib2dvNV(index uint32, v *float64) { - syscall.Syscall(gpVertexAttrib2dvNV, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib2f(index uint32, x float32, y float32) { - syscall.Syscall(gpVertexAttrib2f, 3, uintptr(index), uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y))) -} -func VertexAttrib2fARB(index uint32, x float32, y float32) { - syscall.Syscall(gpVertexAttrib2fARB, 3, uintptr(index), uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y))) -} -func VertexAttrib2fNV(index uint32, x float32, y float32) { - syscall.Syscall(gpVertexAttrib2fNV, 3, uintptr(index), uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y))) -} -func VertexAttrib2fv(index uint32, v *float32) { - syscall.Syscall(gpVertexAttrib2fv, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib2fvARB(index uint32, v *float32) { - syscall.Syscall(gpVertexAttrib2fvARB, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib2fvNV(index uint32, v *float32) { - syscall.Syscall(gpVertexAttrib2fvNV, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib2hNV(index uint32, x uint16, y uint16) { - syscall.Syscall(gpVertexAttrib2hNV, 3, uintptr(index), uintptr(x), uintptr(y)) -} -func VertexAttrib2hvNV(index uint32, v *uint16) { - syscall.Syscall(gpVertexAttrib2hvNV, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib2s(index uint32, x int16, y int16) { - syscall.Syscall(gpVertexAttrib2s, 3, uintptr(index), uintptr(x), uintptr(y)) -} -func VertexAttrib2sARB(index uint32, x int16, y int16) { - syscall.Syscall(gpVertexAttrib2sARB, 3, uintptr(index), uintptr(x), uintptr(y)) -} -func VertexAttrib2sNV(index uint32, x int16, y int16) { - syscall.Syscall(gpVertexAttrib2sNV, 3, uintptr(index), uintptr(x), uintptr(y)) -} -func VertexAttrib2sv(index uint32, v *int16) { - syscall.Syscall(gpVertexAttrib2sv, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib2svARB(index uint32, v *int16) { - syscall.Syscall(gpVertexAttrib2svARB, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib2svNV(index uint32, v *int16) { - syscall.Syscall(gpVertexAttrib2svNV, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib3d(index uint32, x float64, y float64, z float64) { - syscall.Syscall6(gpVertexAttrib3d, 4, uintptr(index), uintptr(math.Float64bits(x)), uintptr(math.Float64bits(y)), uintptr(math.Float64bits(z)), 0, 0) -} -func VertexAttrib3dARB(index uint32, x float64, y float64, z float64) { - syscall.Syscall6(gpVertexAttrib3dARB, 4, uintptr(index), uintptr(math.Float64bits(x)), uintptr(math.Float64bits(y)), uintptr(math.Float64bits(z)), 0, 0) -} -func VertexAttrib3dNV(index uint32, x float64, y float64, z float64) { - syscall.Syscall6(gpVertexAttrib3dNV, 4, uintptr(index), uintptr(math.Float64bits(x)), uintptr(math.Float64bits(y)), uintptr(math.Float64bits(z)), 0, 0) -} -func VertexAttrib3dv(index uint32, v *float64) { - syscall.Syscall(gpVertexAttrib3dv, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib3dvARB(index uint32, v *float64) { - syscall.Syscall(gpVertexAttrib3dvARB, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib3dvNV(index uint32, v *float64) { - syscall.Syscall(gpVertexAttrib3dvNV, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib3f(index uint32, x float32, y float32, z float32) { - syscall.Syscall6(gpVertexAttrib3f, 4, uintptr(index), uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y)), uintptr(math.Float32bits(z)), 0, 0) -} -func VertexAttrib3fARB(index uint32, x float32, y float32, z float32) { - syscall.Syscall6(gpVertexAttrib3fARB, 4, uintptr(index), uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y)), uintptr(math.Float32bits(z)), 0, 0) -} -func VertexAttrib3fNV(index uint32, x float32, y float32, z float32) { - syscall.Syscall6(gpVertexAttrib3fNV, 4, uintptr(index), uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y)), uintptr(math.Float32bits(z)), 0, 0) -} -func VertexAttrib3fv(index uint32, v *float32) { - syscall.Syscall(gpVertexAttrib3fv, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib3fvARB(index uint32, v *float32) { - syscall.Syscall(gpVertexAttrib3fvARB, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib3fvNV(index uint32, v *float32) { - syscall.Syscall(gpVertexAttrib3fvNV, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib3hNV(index uint32, x uint16, y uint16, z uint16) { - syscall.Syscall6(gpVertexAttrib3hNV, 4, uintptr(index), uintptr(x), uintptr(y), uintptr(z), 0, 0) -} -func VertexAttrib3hvNV(index uint32, v *uint16) { - syscall.Syscall(gpVertexAttrib3hvNV, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib3s(index uint32, x int16, y int16, z int16) { - syscall.Syscall6(gpVertexAttrib3s, 4, uintptr(index), uintptr(x), uintptr(y), uintptr(z), 0, 0) -} -func VertexAttrib3sARB(index uint32, x int16, y int16, z int16) { - syscall.Syscall6(gpVertexAttrib3sARB, 4, uintptr(index), uintptr(x), uintptr(y), uintptr(z), 0, 0) -} -func VertexAttrib3sNV(index uint32, x int16, y int16, z int16) { - syscall.Syscall6(gpVertexAttrib3sNV, 4, uintptr(index), uintptr(x), uintptr(y), uintptr(z), 0, 0) -} -func VertexAttrib3sv(index uint32, v *int16) { - syscall.Syscall(gpVertexAttrib3sv, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib3svARB(index uint32, v *int16) { - syscall.Syscall(gpVertexAttrib3svARB, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib3svNV(index uint32, v *int16) { - syscall.Syscall(gpVertexAttrib3svNV, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib4Nbv(index uint32, v *int8) { - syscall.Syscall(gpVertexAttrib4Nbv, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib4NbvARB(index uint32, v *int8) { - syscall.Syscall(gpVertexAttrib4NbvARB, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib4Niv(index uint32, v *int32) { - syscall.Syscall(gpVertexAttrib4Niv, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib4NivARB(index uint32, v *int32) { - syscall.Syscall(gpVertexAttrib4NivARB, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib4Nsv(index uint32, v *int16) { - syscall.Syscall(gpVertexAttrib4Nsv, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib4NsvARB(index uint32, v *int16) { - syscall.Syscall(gpVertexAttrib4NsvARB, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib4Nub(index uint32, x uint8, y uint8, z uint8, w uint8) { - syscall.Syscall6(gpVertexAttrib4Nub, 5, uintptr(index), uintptr(x), uintptr(y), uintptr(z), uintptr(w), 0) -} -func VertexAttrib4NubARB(index uint32, x uint8, y uint8, z uint8, w uint8) { - syscall.Syscall6(gpVertexAttrib4NubARB, 5, uintptr(index), uintptr(x), uintptr(y), uintptr(z), uintptr(w), 0) -} -func VertexAttrib4Nubv(index uint32, v *uint8) { - syscall.Syscall(gpVertexAttrib4Nubv, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib4NubvARB(index uint32, v *uint8) { - syscall.Syscall(gpVertexAttrib4NubvARB, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib4Nuiv(index uint32, v *uint32) { - syscall.Syscall(gpVertexAttrib4Nuiv, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib4NuivARB(index uint32, v *uint32) { - syscall.Syscall(gpVertexAttrib4NuivARB, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib4Nusv(index uint32, v *uint16) { - syscall.Syscall(gpVertexAttrib4Nusv, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib4NusvARB(index uint32, v *uint16) { - syscall.Syscall(gpVertexAttrib4NusvARB, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib4bv(index uint32, v *int8) { - syscall.Syscall(gpVertexAttrib4bv, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib4bvARB(index uint32, v *int8) { - syscall.Syscall(gpVertexAttrib4bvARB, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib4d(index uint32, x float64, y float64, z float64, w float64) { - syscall.Syscall6(gpVertexAttrib4d, 5, uintptr(index), uintptr(math.Float64bits(x)), uintptr(math.Float64bits(y)), uintptr(math.Float64bits(z)), uintptr(math.Float64bits(w)), 0) -} -func VertexAttrib4dARB(index uint32, x float64, y float64, z float64, w float64) { - syscall.Syscall6(gpVertexAttrib4dARB, 5, uintptr(index), uintptr(math.Float64bits(x)), uintptr(math.Float64bits(y)), uintptr(math.Float64bits(z)), uintptr(math.Float64bits(w)), 0) -} -func VertexAttrib4dNV(index uint32, x float64, y float64, z float64, w float64) { - syscall.Syscall6(gpVertexAttrib4dNV, 5, uintptr(index), uintptr(math.Float64bits(x)), uintptr(math.Float64bits(y)), uintptr(math.Float64bits(z)), uintptr(math.Float64bits(w)), 0) -} -func VertexAttrib4dv(index uint32, v *float64) { - syscall.Syscall(gpVertexAttrib4dv, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib4dvARB(index uint32, v *float64) { - syscall.Syscall(gpVertexAttrib4dvARB, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib4dvNV(index uint32, v *float64) { - syscall.Syscall(gpVertexAttrib4dvNV, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib4f(index uint32, x float32, y float32, z float32, w float32) { - syscall.Syscall6(gpVertexAttrib4f, 5, uintptr(index), uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y)), uintptr(math.Float32bits(z)), uintptr(math.Float32bits(w)), 0) -} -func VertexAttrib4fARB(index uint32, x float32, y float32, z float32, w float32) { - syscall.Syscall6(gpVertexAttrib4fARB, 5, uintptr(index), uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y)), uintptr(math.Float32bits(z)), uintptr(math.Float32bits(w)), 0) -} -func VertexAttrib4fNV(index uint32, x float32, y float32, z float32, w float32) { - syscall.Syscall6(gpVertexAttrib4fNV, 5, uintptr(index), uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y)), uintptr(math.Float32bits(z)), uintptr(math.Float32bits(w)), 0) -} -func VertexAttrib4fv(index uint32, v *float32) { - syscall.Syscall(gpVertexAttrib4fv, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib4fvARB(index uint32, v *float32) { - syscall.Syscall(gpVertexAttrib4fvARB, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib4fvNV(index uint32, v *float32) { - syscall.Syscall(gpVertexAttrib4fvNV, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib4hNV(index uint32, x uint16, y uint16, z uint16, w uint16) { - syscall.Syscall6(gpVertexAttrib4hNV, 5, uintptr(index), uintptr(x), uintptr(y), uintptr(z), uintptr(w), 0) -} -func VertexAttrib4hvNV(index uint32, v *uint16) { - syscall.Syscall(gpVertexAttrib4hvNV, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib4iv(index uint32, v *int32) { - syscall.Syscall(gpVertexAttrib4iv, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib4ivARB(index uint32, v *int32) { - syscall.Syscall(gpVertexAttrib4ivARB, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib4s(index uint32, x int16, y int16, z int16, w int16) { - syscall.Syscall6(gpVertexAttrib4s, 5, uintptr(index), uintptr(x), uintptr(y), uintptr(z), uintptr(w), 0) -} -func VertexAttrib4sARB(index uint32, x int16, y int16, z int16, w int16) { - syscall.Syscall6(gpVertexAttrib4sARB, 5, uintptr(index), uintptr(x), uintptr(y), uintptr(z), uintptr(w), 0) -} -func VertexAttrib4sNV(index uint32, x int16, y int16, z int16, w int16) { - syscall.Syscall6(gpVertexAttrib4sNV, 5, uintptr(index), uintptr(x), uintptr(y), uintptr(z), uintptr(w), 0) -} -func VertexAttrib4sv(index uint32, v *int16) { - syscall.Syscall(gpVertexAttrib4sv, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib4svARB(index uint32, v *int16) { - syscall.Syscall(gpVertexAttrib4svARB, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib4svNV(index uint32, v *int16) { - syscall.Syscall(gpVertexAttrib4svNV, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib4ubNV(index uint32, x uint8, y uint8, z uint8, w uint8) { - syscall.Syscall6(gpVertexAttrib4ubNV, 5, uintptr(index), uintptr(x), uintptr(y), uintptr(z), uintptr(w), 0) -} -func VertexAttrib4ubv(index uint32, v *uint8) { - syscall.Syscall(gpVertexAttrib4ubv, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib4ubvARB(index uint32, v *uint8) { - syscall.Syscall(gpVertexAttrib4ubvARB, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib4ubvNV(index uint32, v *uint8) { - syscall.Syscall(gpVertexAttrib4ubvNV, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib4uiv(index uint32, v *uint32) { - syscall.Syscall(gpVertexAttrib4uiv, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib4uivARB(index uint32, v *uint32) { - syscall.Syscall(gpVertexAttrib4uivARB, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib4usv(index uint32, v *uint16) { - syscall.Syscall(gpVertexAttrib4usv, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttrib4usvARB(index uint32, v *uint16) { - syscall.Syscall(gpVertexAttrib4usvARB, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttribArrayObjectATI(index uint32, size int32, xtype uint32, normalized bool, stride int32, buffer uint32, offset uint32) { - syscall.Syscall9(gpVertexAttribArrayObjectATI, 7, uintptr(index), uintptr(size), uintptr(xtype), boolToUintptr(normalized), uintptr(stride), uintptr(buffer), uintptr(offset), 0, 0) -} - -// associate a vertex attribute and a vertex buffer binding for a vertex array object -func VertexAttribBinding(attribindex uint32, bindingindex uint32) { - syscall.Syscall(gpVertexAttribBinding, 2, uintptr(attribindex), uintptr(bindingindex), 0) -} -func VertexAttribDivisorARB(index uint32, divisor uint32) { - syscall.Syscall(gpVertexAttribDivisorARB, 2, uintptr(index), uintptr(divisor), 0) -} - -// specify the organization of vertex arrays -func VertexAttribFormat(attribindex uint32, size int32, xtype uint32, normalized bool, relativeoffset uint32) { - syscall.Syscall6(gpVertexAttribFormat, 5, uintptr(attribindex), uintptr(size), uintptr(xtype), boolToUintptr(normalized), uintptr(relativeoffset), 0) -} -func VertexAttribFormatNV(index uint32, size int32, xtype uint32, normalized bool, stride int32) { - syscall.Syscall6(gpVertexAttribFormatNV, 5, uintptr(index), uintptr(size), uintptr(xtype), boolToUintptr(normalized), uintptr(stride), 0) -} -func VertexAttribI1iEXT(index uint32, x int32) { - syscall.Syscall(gpVertexAttribI1iEXT, 2, uintptr(index), uintptr(x), 0) -} -func VertexAttribI1ivEXT(index uint32, v *int32) { - syscall.Syscall(gpVertexAttribI1ivEXT, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttribI1uiEXT(index uint32, x uint32) { - syscall.Syscall(gpVertexAttribI1uiEXT, 2, uintptr(index), uintptr(x), 0) -} -func VertexAttribI1uivEXT(index uint32, v *uint32) { - syscall.Syscall(gpVertexAttribI1uivEXT, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttribI2iEXT(index uint32, x int32, y int32) { - syscall.Syscall(gpVertexAttribI2iEXT, 3, uintptr(index), uintptr(x), uintptr(y)) -} -func VertexAttribI2ivEXT(index uint32, v *int32) { - syscall.Syscall(gpVertexAttribI2ivEXT, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttribI2uiEXT(index uint32, x uint32, y uint32) { - syscall.Syscall(gpVertexAttribI2uiEXT, 3, uintptr(index), uintptr(x), uintptr(y)) -} -func VertexAttribI2uivEXT(index uint32, v *uint32) { - syscall.Syscall(gpVertexAttribI2uivEXT, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttribI3iEXT(index uint32, x int32, y int32, z int32) { - syscall.Syscall6(gpVertexAttribI3iEXT, 4, uintptr(index), uintptr(x), uintptr(y), uintptr(z), 0, 0) -} -func VertexAttribI3ivEXT(index uint32, v *int32) { - syscall.Syscall(gpVertexAttribI3ivEXT, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttribI3uiEXT(index uint32, x uint32, y uint32, z uint32) { - syscall.Syscall6(gpVertexAttribI3uiEXT, 4, uintptr(index), uintptr(x), uintptr(y), uintptr(z), 0, 0) -} -func VertexAttribI3uivEXT(index uint32, v *uint32) { - syscall.Syscall(gpVertexAttribI3uivEXT, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttribI4bvEXT(index uint32, v *int8) { - syscall.Syscall(gpVertexAttribI4bvEXT, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttribI4iEXT(index uint32, x int32, y int32, z int32, w int32) { - syscall.Syscall6(gpVertexAttribI4iEXT, 5, uintptr(index), uintptr(x), uintptr(y), uintptr(z), uintptr(w), 0) -} -func VertexAttribI4ivEXT(index uint32, v *int32) { - syscall.Syscall(gpVertexAttribI4ivEXT, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttribI4svEXT(index uint32, v *int16) { - syscall.Syscall(gpVertexAttribI4svEXT, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttribI4ubvEXT(index uint32, v *uint8) { - syscall.Syscall(gpVertexAttribI4ubvEXT, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttribI4uiEXT(index uint32, x uint32, y uint32, z uint32, w uint32) { - syscall.Syscall6(gpVertexAttribI4uiEXT, 5, uintptr(index), uintptr(x), uintptr(y), uintptr(z), uintptr(w), 0) -} -func VertexAttribI4uivEXT(index uint32, v *uint32) { - syscall.Syscall(gpVertexAttribI4uivEXT, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttribI4usvEXT(index uint32, v *uint16) { - syscall.Syscall(gpVertexAttribI4usvEXT, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttribIFormat(attribindex uint32, size int32, xtype uint32, relativeoffset uint32) { - syscall.Syscall6(gpVertexAttribIFormat, 4, uintptr(attribindex), uintptr(size), uintptr(xtype), uintptr(relativeoffset), 0, 0) -} -func VertexAttribIFormatNV(index uint32, size int32, xtype uint32, stride int32) { - syscall.Syscall6(gpVertexAttribIFormatNV, 4, uintptr(index), uintptr(size), uintptr(xtype), uintptr(stride), 0, 0) -} -func VertexAttribIPointerEXT(index uint32, size int32, xtype uint32, stride int32, pointer unsafe.Pointer) { - syscall.Syscall6(gpVertexAttribIPointerEXT, 5, uintptr(index), uintptr(size), uintptr(xtype), uintptr(stride), uintptr(pointer), 0) -} -func VertexAttribL1d(index uint32, x float64) { - syscall.Syscall(gpVertexAttribL1d, 2, uintptr(index), uintptr(math.Float64bits(x)), 0) -} -func VertexAttribL1dEXT(index uint32, x float64) { - syscall.Syscall(gpVertexAttribL1dEXT, 2, uintptr(index), uintptr(math.Float64bits(x)), 0) -} -func VertexAttribL1dv(index uint32, v *float64) { - syscall.Syscall(gpVertexAttribL1dv, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttribL1dvEXT(index uint32, v *float64) { - syscall.Syscall(gpVertexAttribL1dvEXT, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttribL1i64NV(index uint32, x int64) { - syscall.Syscall(gpVertexAttribL1i64NV, 2, uintptr(index), uintptr(x), 0) -} -func VertexAttribL1i64vNV(index uint32, v *int64) { - syscall.Syscall(gpVertexAttribL1i64vNV, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttribL1ui64ARB(index uint32, x uint64) { - syscall.Syscall(gpVertexAttribL1ui64ARB, 2, uintptr(index), uintptr(x), 0) -} -func VertexAttribL1ui64NV(index uint32, x uint64) { - syscall.Syscall(gpVertexAttribL1ui64NV, 2, uintptr(index), uintptr(x), 0) -} -func VertexAttribL1ui64vARB(index uint32, v *uint64) { - syscall.Syscall(gpVertexAttribL1ui64vARB, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttribL1ui64vNV(index uint32, v *uint64) { - syscall.Syscall(gpVertexAttribL1ui64vNV, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttribL2d(index uint32, x float64, y float64) { - syscall.Syscall(gpVertexAttribL2d, 3, uintptr(index), uintptr(math.Float64bits(x)), uintptr(math.Float64bits(y))) -} -func VertexAttribL2dEXT(index uint32, x float64, y float64) { - syscall.Syscall(gpVertexAttribL2dEXT, 3, uintptr(index), uintptr(math.Float64bits(x)), uintptr(math.Float64bits(y))) -} -func VertexAttribL2dv(index uint32, v *float64) { - syscall.Syscall(gpVertexAttribL2dv, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttribL2dvEXT(index uint32, v *float64) { - syscall.Syscall(gpVertexAttribL2dvEXT, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttribL2i64NV(index uint32, x int64, y int64) { - syscall.Syscall(gpVertexAttribL2i64NV, 3, uintptr(index), uintptr(x), uintptr(y)) -} -func VertexAttribL2i64vNV(index uint32, v *int64) { - syscall.Syscall(gpVertexAttribL2i64vNV, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttribL2ui64NV(index uint32, x uint64, y uint64) { - syscall.Syscall(gpVertexAttribL2ui64NV, 3, uintptr(index), uintptr(x), uintptr(y)) -} -func VertexAttribL2ui64vNV(index uint32, v *uint64) { - syscall.Syscall(gpVertexAttribL2ui64vNV, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttribL3d(index uint32, x float64, y float64, z float64) { - syscall.Syscall6(gpVertexAttribL3d, 4, uintptr(index), uintptr(math.Float64bits(x)), uintptr(math.Float64bits(y)), uintptr(math.Float64bits(z)), 0, 0) -} -func VertexAttribL3dEXT(index uint32, x float64, y float64, z float64) { - syscall.Syscall6(gpVertexAttribL3dEXT, 4, uintptr(index), uintptr(math.Float64bits(x)), uintptr(math.Float64bits(y)), uintptr(math.Float64bits(z)), 0, 0) -} -func VertexAttribL3dv(index uint32, v *float64) { - syscall.Syscall(gpVertexAttribL3dv, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttribL3dvEXT(index uint32, v *float64) { - syscall.Syscall(gpVertexAttribL3dvEXT, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttribL3i64NV(index uint32, x int64, y int64, z int64) { - syscall.Syscall6(gpVertexAttribL3i64NV, 4, uintptr(index), uintptr(x), uintptr(y), uintptr(z), 0, 0) -} -func VertexAttribL3i64vNV(index uint32, v *int64) { - syscall.Syscall(gpVertexAttribL3i64vNV, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttribL3ui64NV(index uint32, x uint64, y uint64, z uint64) { - syscall.Syscall6(gpVertexAttribL3ui64NV, 4, uintptr(index), uintptr(x), uintptr(y), uintptr(z), 0, 0) -} -func VertexAttribL3ui64vNV(index uint32, v *uint64) { - syscall.Syscall(gpVertexAttribL3ui64vNV, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttribL4d(index uint32, x float64, y float64, z float64, w float64) { - syscall.Syscall6(gpVertexAttribL4d, 5, uintptr(index), uintptr(math.Float64bits(x)), uintptr(math.Float64bits(y)), uintptr(math.Float64bits(z)), uintptr(math.Float64bits(w)), 0) -} -func VertexAttribL4dEXT(index uint32, x float64, y float64, z float64, w float64) { - syscall.Syscall6(gpVertexAttribL4dEXT, 5, uintptr(index), uintptr(math.Float64bits(x)), uintptr(math.Float64bits(y)), uintptr(math.Float64bits(z)), uintptr(math.Float64bits(w)), 0) -} -func VertexAttribL4dv(index uint32, v *float64) { - syscall.Syscall(gpVertexAttribL4dv, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttribL4dvEXT(index uint32, v *float64) { - syscall.Syscall(gpVertexAttribL4dvEXT, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttribL4i64NV(index uint32, x int64, y int64, z int64, w int64) { - syscall.Syscall6(gpVertexAttribL4i64NV, 5, uintptr(index), uintptr(x), uintptr(y), uintptr(z), uintptr(w), 0) -} -func VertexAttribL4i64vNV(index uint32, v *int64) { - syscall.Syscall(gpVertexAttribL4i64vNV, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttribL4ui64NV(index uint32, x uint64, y uint64, z uint64, w uint64) { - syscall.Syscall6(gpVertexAttribL4ui64NV, 5, uintptr(index), uintptr(x), uintptr(y), uintptr(z), uintptr(w), 0) -} -func VertexAttribL4ui64vNV(index uint32, v *uint64) { - syscall.Syscall(gpVertexAttribL4ui64vNV, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func VertexAttribLFormat(attribindex uint32, size int32, xtype uint32, relativeoffset uint32) { - syscall.Syscall6(gpVertexAttribLFormat, 4, uintptr(attribindex), uintptr(size), uintptr(xtype), uintptr(relativeoffset), 0, 0) -} -func VertexAttribLFormatNV(index uint32, size int32, xtype uint32, stride int32) { - syscall.Syscall6(gpVertexAttribLFormatNV, 4, uintptr(index), uintptr(size), uintptr(xtype), uintptr(stride), 0, 0) -} -func VertexAttribLPointer(index uint32, size int32, xtype uint32, stride int32, pointer unsafe.Pointer) { - syscall.Syscall6(gpVertexAttribLPointer, 5, uintptr(index), uintptr(size), uintptr(xtype), uintptr(stride), uintptr(pointer), 0) -} -func VertexAttribLPointerEXT(index uint32, size int32, xtype uint32, stride int32, pointer unsafe.Pointer) { - syscall.Syscall6(gpVertexAttribLPointerEXT, 5, uintptr(index), uintptr(size), uintptr(xtype), uintptr(stride), uintptr(pointer), 0) -} -func VertexAttribP1ui(index uint32, xtype uint32, normalized bool, value uint32) { - syscall.Syscall6(gpVertexAttribP1ui, 4, uintptr(index), uintptr(xtype), boolToUintptr(normalized), uintptr(value), 0, 0) -} -func VertexAttribP1uiv(index uint32, xtype uint32, normalized bool, value *uint32) { - syscall.Syscall6(gpVertexAttribP1uiv, 4, uintptr(index), uintptr(xtype), boolToUintptr(normalized), uintptr(unsafe.Pointer(value)), 0, 0) -} -func VertexAttribP2ui(index uint32, xtype uint32, normalized bool, value uint32) { - syscall.Syscall6(gpVertexAttribP2ui, 4, uintptr(index), uintptr(xtype), boolToUintptr(normalized), uintptr(value), 0, 0) -} -func VertexAttribP2uiv(index uint32, xtype uint32, normalized bool, value *uint32) { - syscall.Syscall6(gpVertexAttribP2uiv, 4, uintptr(index), uintptr(xtype), boolToUintptr(normalized), uintptr(unsafe.Pointer(value)), 0, 0) -} -func VertexAttribP3ui(index uint32, xtype uint32, normalized bool, value uint32) { - syscall.Syscall6(gpVertexAttribP3ui, 4, uintptr(index), uintptr(xtype), boolToUintptr(normalized), uintptr(value), 0, 0) -} -func VertexAttribP3uiv(index uint32, xtype uint32, normalized bool, value *uint32) { - syscall.Syscall6(gpVertexAttribP3uiv, 4, uintptr(index), uintptr(xtype), boolToUintptr(normalized), uintptr(unsafe.Pointer(value)), 0, 0) -} -func VertexAttribP4ui(index uint32, xtype uint32, normalized bool, value uint32) { - syscall.Syscall6(gpVertexAttribP4ui, 4, uintptr(index), uintptr(xtype), boolToUintptr(normalized), uintptr(value), 0, 0) -} -func VertexAttribP4uiv(index uint32, xtype uint32, normalized bool, value *uint32) { - syscall.Syscall6(gpVertexAttribP4uiv, 4, uintptr(index), uintptr(xtype), boolToUintptr(normalized), uintptr(unsafe.Pointer(value)), 0, 0) -} -func VertexAttribParameteriAMD(index uint32, pname uint32, param int32) { - syscall.Syscall(gpVertexAttribParameteriAMD, 3, uintptr(index), uintptr(pname), uintptr(param)) -} - -// define an array of generic vertex attribute data func VertexAttribPointer(index uint32, size int32, xtype uint32, normalized bool, stride int32, pointer uintptr) { syscall.Syscall6(gpVertexAttribPointer, 6, uintptr(index), uintptr(size), uintptr(xtype), boolToUintptr(normalized), uintptr(stride), uintptr(pointer)) } -func VertexAttribPointerARB(index uint32, size int32, xtype uint32, normalized bool, stride int32, pointer unsafe.Pointer) { - syscall.Syscall6(gpVertexAttribPointerARB, 6, uintptr(index), uintptr(size), uintptr(xtype), boolToUintptr(normalized), uintptr(stride), uintptr(pointer)) -} -func VertexAttribPointerNV(index uint32, fsize int32, xtype uint32, stride int32, pointer unsafe.Pointer) { - syscall.Syscall6(gpVertexAttribPointerNV, 5, uintptr(index), uintptr(fsize), uintptr(xtype), uintptr(stride), uintptr(pointer), 0) -} -func VertexAttribs1dvNV(index uint32, count int32, v *float64) { - syscall.Syscall(gpVertexAttribs1dvNV, 3, uintptr(index), uintptr(count), uintptr(unsafe.Pointer(v))) -} -func VertexAttribs1fvNV(index uint32, count int32, v *float32) { - syscall.Syscall(gpVertexAttribs1fvNV, 3, uintptr(index), uintptr(count), uintptr(unsafe.Pointer(v))) -} -func VertexAttribs1hvNV(index uint32, n int32, v *uint16) { - syscall.Syscall(gpVertexAttribs1hvNV, 3, uintptr(index), uintptr(n), uintptr(unsafe.Pointer(v))) -} -func VertexAttribs1svNV(index uint32, count int32, v *int16) { - syscall.Syscall(gpVertexAttribs1svNV, 3, uintptr(index), uintptr(count), uintptr(unsafe.Pointer(v))) -} -func VertexAttribs2dvNV(index uint32, count int32, v *float64) { - syscall.Syscall(gpVertexAttribs2dvNV, 3, uintptr(index), uintptr(count), uintptr(unsafe.Pointer(v))) -} -func VertexAttribs2fvNV(index uint32, count int32, v *float32) { - syscall.Syscall(gpVertexAttribs2fvNV, 3, uintptr(index), uintptr(count), uintptr(unsafe.Pointer(v))) -} -func VertexAttribs2hvNV(index uint32, n int32, v *uint16) { - syscall.Syscall(gpVertexAttribs2hvNV, 3, uintptr(index), uintptr(n), uintptr(unsafe.Pointer(v))) -} -func VertexAttribs2svNV(index uint32, count int32, v *int16) { - syscall.Syscall(gpVertexAttribs2svNV, 3, uintptr(index), uintptr(count), uintptr(unsafe.Pointer(v))) -} -func VertexAttribs3dvNV(index uint32, count int32, v *float64) { - syscall.Syscall(gpVertexAttribs3dvNV, 3, uintptr(index), uintptr(count), uintptr(unsafe.Pointer(v))) -} -func VertexAttribs3fvNV(index uint32, count int32, v *float32) { - syscall.Syscall(gpVertexAttribs3fvNV, 3, uintptr(index), uintptr(count), uintptr(unsafe.Pointer(v))) -} -func VertexAttribs3hvNV(index uint32, n int32, v *uint16) { - syscall.Syscall(gpVertexAttribs3hvNV, 3, uintptr(index), uintptr(n), uintptr(unsafe.Pointer(v))) -} -func VertexAttribs3svNV(index uint32, count int32, v *int16) { - syscall.Syscall(gpVertexAttribs3svNV, 3, uintptr(index), uintptr(count), uintptr(unsafe.Pointer(v))) -} -func VertexAttribs4dvNV(index uint32, count int32, v *float64) { - syscall.Syscall(gpVertexAttribs4dvNV, 3, uintptr(index), uintptr(count), uintptr(unsafe.Pointer(v))) -} -func VertexAttribs4fvNV(index uint32, count int32, v *float32) { - syscall.Syscall(gpVertexAttribs4fvNV, 3, uintptr(index), uintptr(count), uintptr(unsafe.Pointer(v))) -} -func VertexAttribs4hvNV(index uint32, n int32, v *uint16) { - syscall.Syscall(gpVertexAttribs4hvNV, 3, uintptr(index), uintptr(n), uintptr(unsafe.Pointer(v))) -} -func VertexAttribs4svNV(index uint32, count int32, v *int16) { - syscall.Syscall(gpVertexAttribs4svNV, 3, uintptr(index), uintptr(count), uintptr(unsafe.Pointer(v))) -} -func VertexAttribs4ubvNV(index uint32, count int32, v *uint8) { - syscall.Syscall(gpVertexAttribs4ubvNV, 3, uintptr(index), uintptr(count), uintptr(unsafe.Pointer(v))) -} -// modify the rate at which generic vertex attributes advance -func VertexBindingDivisor(bindingindex uint32, divisor uint32) { - syscall.Syscall(gpVertexBindingDivisor, 2, uintptr(bindingindex), uintptr(divisor), 0) -} -func VertexBlendARB(count int32) { - syscall.Syscall(gpVertexBlendARB, 1, uintptr(count), 0, 0) -} -func VertexBlendEnvfATI(pname uint32, param float32) { - syscall.Syscall(gpVertexBlendEnvfATI, 2, uintptr(pname), uintptr(math.Float32bits(param)), 0) -} -func VertexBlendEnviATI(pname uint32, param int32) { - syscall.Syscall(gpVertexBlendEnviATI, 2, uintptr(pname), uintptr(param), 0) -} -func VertexFormatNV(size int32, xtype uint32, stride int32) { - syscall.Syscall(gpVertexFormatNV, 3, uintptr(size), uintptr(xtype), uintptr(stride)) -} - -// define an array of vertex data -func VertexPointer(size int32, xtype uint32, stride int32, pointer unsafe.Pointer) { - syscall.Syscall6(gpVertexPointer, 4, uintptr(size), uintptr(xtype), uintptr(stride), uintptr(pointer), 0, 0) -} -func VertexPointerEXT(size int32, xtype uint32, stride int32, count int32, pointer unsafe.Pointer) { - syscall.Syscall6(gpVertexPointerEXT, 5, uintptr(size), uintptr(xtype), uintptr(stride), uintptr(count), uintptr(pointer), 0) -} -func VertexPointerListIBM(size int32, xtype uint32, stride int32, pointer *unsafe.Pointer, ptrstride int32) { - syscall.Syscall6(gpVertexPointerListIBM, 5, uintptr(size), uintptr(xtype), uintptr(stride), uintptr(unsafe.Pointer(pointer)), uintptr(ptrstride), 0) -} -func VertexPointervINTEL(size int32, xtype uint32, pointer *unsafe.Pointer) { - syscall.Syscall(gpVertexPointervINTEL, 3, uintptr(size), uintptr(xtype), uintptr(unsafe.Pointer(pointer))) -} -func VertexStream1dATI(stream uint32, x float64) { - syscall.Syscall(gpVertexStream1dATI, 2, uintptr(stream), uintptr(math.Float64bits(x)), 0) -} -func VertexStream1dvATI(stream uint32, coords *float64) { - syscall.Syscall(gpVertexStream1dvATI, 2, uintptr(stream), uintptr(unsafe.Pointer(coords)), 0) -} -func VertexStream1fATI(stream uint32, x float32) { - syscall.Syscall(gpVertexStream1fATI, 2, uintptr(stream), uintptr(math.Float32bits(x)), 0) -} -func VertexStream1fvATI(stream uint32, coords *float32) { - syscall.Syscall(gpVertexStream1fvATI, 2, uintptr(stream), uintptr(unsafe.Pointer(coords)), 0) -} -func VertexStream1iATI(stream uint32, x int32) { - syscall.Syscall(gpVertexStream1iATI, 2, uintptr(stream), uintptr(x), 0) -} -func VertexStream1ivATI(stream uint32, coords *int32) { - syscall.Syscall(gpVertexStream1ivATI, 2, uintptr(stream), uintptr(unsafe.Pointer(coords)), 0) -} -func VertexStream1sATI(stream uint32, x int16) { - syscall.Syscall(gpVertexStream1sATI, 2, uintptr(stream), uintptr(x), 0) -} -func VertexStream1svATI(stream uint32, coords *int16) { - syscall.Syscall(gpVertexStream1svATI, 2, uintptr(stream), uintptr(unsafe.Pointer(coords)), 0) -} -func VertexStream2dATI(stream uint32, x float64, y float64) { - syscall.Syscall(gpVertexStream2dATI, 3, uintptr(stream), uintptr(math.Float64bits(x)), uintptr(math.Float64bits(y))) -} -func VertexStream2dvATI(stream uint32, coords *float64) { - syscall.Syscall(gpVertexStream2dvATI, 2, uintptr(stream), uintptr(unsafe.Pointer(coords)), 0) -} -func VertexStream2fATI(stream uint32, x float32, y float32) { - syscall.Syscall(gpVertexStream2fATI, 3, uintptr(stream), uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y))) -} -func VertexStream2fvATI(stream uint32, coords *float32) { - syscall.Syscall(gpVertexStream2fvATI, 2, uintptr(stream), uintptr(unsafe.Pointer(coords)), 0) -} -func VertexStream2iATI(stream uint32, x int32, y int32) { - syscall.Syscall(gpVertexStream2iATI, 3, uintptr(stream), uintptr(x), uintptr(y)) -} -func VertexStream2ivATI(stream uint32, coords *int32) { - syscall.Syscall(gpVertexStream2ivATI, 2, uintptr(stream), uintptr(unsafe.Pointer(coords)), 0) -} -func VertexStream2sATI(stream uint32, x int16, y int16) { - syscall.Syscall(gpVertexStream2sATI, 3, uintptr(stream), uintptr(x), uintptr(y)) -} -func VertexStream2svATI(stream uint32, coords *int16) { - syscall.Syscall(gpVertexStream2svATI, 2, uintptr(stream), uintptr(unsafe.Pointer(coords)), 0) -} -func VertexStream3dATI(stream uint32, x float64, y float64, z float64) { - syscall.Syscall6(gpVertexStream3dATI, 4, uintptr(stream), uintptr(math.Float64bits(x)), uintptr(math.Float64bits(y)), uintptr(math.Float64bits(z)), 0, 0) -} -func VertexStream3dvATI(stream uint32, coords *float64) { - syscall.Syscall(gpVertexStream3dvATI, 2, uintptr(stream), uintptr(unsafe.Pointer(coords)), 0) -} -func VertexStream3fATI(stream uint32, x float32, y float32, z float32) { - syscall.Syscall6(gpVertexStream3fATI, 4, uintptr(stream), uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y)), uintptr(math.Float32bits(z)), 0, 0) -} -func VertexStream3fvATI(stream uint32, coords *float32) { - syscall.Syscall(gpVertexStream3fvATI, 2, uintptr(stream), uintptr(unsafe.Pointer(coords)), 0) -} -func VertexStream3iATI(stream uint32, x int32, y int32, z int32) { - syscall.Syscall6(gpVertexStream3iATI, 4, uintptr(stream), uintptr(x), uintptr(y), uintptr(z), 0, 0) -} -func VertexStream3ivATI(stream uint32, coords *int32) { - syscall.Syscall(gpVertexStream3ivATI, 2, uintptr(stream), uintptr(unsafe.Pointer(coords)), 0) -} -func VertexStream3sATI(stream uint32, x int16, y int16, z int16) { - syscall.Syscall6(gpVertexStream3sATI, 4, uintptr(stream), uintptr(x), uintptr(y), uintptr(z), 0, 0) -} -func VertexStream3svATI(stream uint32, coords *int16) { - syscall.Syscall(gpVertexStream3svATI, 2, uintptr(stream), uintptr(unsafe.Pointer(coords)), 0) -} -func VertexStream4dATI(stream uint32, x float64, y float64, z float64, w float64) { - syscall.Syscall6(gpVertexStream4dATI, 5, uintptr(stream), uintptr(math.Float64bits(x)), uintptr(math.Float64bits(y)), uintptr(math.Float64bits(z)), uintptr(math.Float64bits(w)), 0) -} -func VertexStream4dvATI(stream uint32, coords *float64) { - syscall.Syscall(gpVertexStream4dvATI, 2, uintptr(stream), uintptr(unsafe.Pointer(coords)), 0) -} -func VertexStream4fATI(stream uint32, x float32, y float32, z float32, w float32) { - syscall.Syscall6(gpVertexStream4fATI, 5, uintptr(stream), uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y)), uintptr(math.Float32bits(z)), uintptr(math.Float32bits(w)), 0) -} -func VertexStream4fvATI(stream uint32, coords *float32) { - syscall.Syscall(gpVertexStream4fvATI, 2, uintptr(stream), uintptr(unsafe.Pointer(coords)), 0) -} -func VertexStream4iATI(stream uint32, x int32, y int32, z int32, w int32) { - syscall.Syscall6(gpVertexStream4iATI, 5, uintptr(stream), uintptr(x), uintptr(y), uintptr(z), uintptr(w), 0) -} -func VertexStream4ivATI(stream uint32, coords *int32) { - syscall.Syscall(gpVertexStream4ivATI, 2, uintptr(stream), uintptr(unsafe.Pointer(coords)), 0) -} -func VertexStream4sATI(stream uint32, x int16, y int16, z int16, w int16) { - syscall.Syscall6(gpVertexStream4sATI, 5, uintptr(stream), uintptr(x), uintptr(y), uintptr(z), uintptr(w), 0) -} -func VertexStream4svATI(stream uint32, coords *int16) { - syscall.Syscall(gpVertexStream4svATI, 2, uintptr(stream), uintptr(unsafe.Pointer(coords)), 0) -} -func VertexWeightPointerEXT(size int32, xtype uint32, stride int32, pointer unsafe.Pointer) { - syscall.Syscall6(gpVertexWeightPointerEXT, 4, uintptr(size), uintptr(xtype), uintptr(stride), uintptr(pointer), 0, 0) -} -func VertexWeightfEXT(weight float32) { - syscall.Syscall(gpVertexWeightfEXT, 1, uintptr(math.Float32bits(weight)), 0, 0) -} -func VertexWeightfvEXT(weight *float32) { - syscall.Syscall(gpVertexWeightfvEXT, 1, uintptr(unsafe.Pointer(weight)), 0, 0) -} -func VertexWeighthNV(weight uint16) { - syscall.Syscall(gpVertexWeighthNV, 1, uintptr(weight), 0, 0) -} -func VertexWeighthvNV(weight *uint16) { - syscall.Syscall(gpVertexWeighthvNV, 1, uintptr(unsafe.Pointer(weight)), 0, 0) -} -func VideoCaptureNV(video_capture_slot uint32, sequence_num *uint32, capture_time *uint64) uint32 { - ret, _, _ := syscall.Syscall(gpVideoCaptureNV, 3, uintptr(video_capture_slot), uintptr(unsafe.Pointer(sequence_num)), uintptr(unsafe.Pointer(capture_time))) - return (uint32)(ret) -} -func VideoCaptureStreamParameterdvNV(video_capture_slot uint32, stream uint32, pname uint32, params *float64) { - syscall.Syscall6(gpVideoCaptureStreamParameterdvNV, 4, uintptr(video_capture_slot), uintptr(stream), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} -func VideoCaptureStreamParameterfvNV(video_capture_slot uint32, stream uint32, pname uint32, params *float32) { - syscall.Syscall6(gpVideoCaptureStreamParameterfvNV, 4, uintptr(video_capture_slot), uintptr(stream), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} -func VideoCaptureStreamParameterivNV(video_capture_slot uint32, stream uint32, pname uint32, params *int32) { - syscall.Syscall6(gpVideoCaptureStreamParameterivNV, 4, uintptr(video_capture_slot), uintptr(stream), uintptr(pname), uintptr(unsafe.Pointer(params)), 0, 0) -} - -// set the viewport func Viewport(x int32, y int32, width int32, height int32) { syscall.Syscall6(gpViewport, 4, uintptr(x), uintptr(y), uintptr(width), uintptr(height), 0, 0) } -func ViewportArrayv(first uint32, count int32, v *float32) { - syscall.Syscall(gpViewportArrayv, 3, uintptr(first), uintptr(count), uintptr(unsafe.Pointer(v))) -} -func ViewportIndexedf(index uint32, x float32, y float32, w float32, h float32) { - syscall.Syscall6(gpViewportIndexedf, 5, uintptr(index), uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y)), uintptr(math.Float32bits(w)), uintptr(math.Float32bits(h)), 0) -} -func ViewportIndexedfv(index uint32, v *float32) { - syscall.Syscall(gpViewportIndexedfv, 2, uintptr(index), uintptr(unsafe.Pointer(v)), 0) -} -func ViewportPositionWScaleNV(index uint32, xcoeff float32, ycoeff float32) { - syscall.Syscall(gpViewportPositionWScaleNV, 3, uintptr(index), uintptr(math.Float32bits(xcoeff)), uintptr(math.Float32bits(ycoeff))) -} -func ViewportSwizzleNV(index uint32, swizzlex uint32, swizzley uint32, swizzlez uint32, swizzlew uint32) { - syscall.Syscall6(gpViewportSwizzleNV, 5, uintptr(index), uintptr(swizzlex), uintptr(swizzley), uintptr(swizzlez), uintptr(swizzlew), 0) -} -func WaitSemaphoreEXT(semaphore uint32, numBufferBarriers uint32, buffers *uint32, numTextureBarriers uint32, textures *uint32, srcLayouts *uint32) { - syscall.Syscall6(gpWaitSemaphoreEXT, 6, uintptr(semaphore), uintptr(numBufferBarriers), uintptr(unsafe.Pointer(buffers)), uintptr(numTextureBarriers), uintptr(unsafe.Pointer(textures)), uintptr(unsafe.Pointer(srcLayouts))) -} - -// instruct the GL server to block until the specified sync object becomes signaled -func WaitSync(sync uintptr, flags uint32, timeout uint64) { - syscall.Syscall(gpWaitSync, 3, uintptr(sync), uintptr(flags), uintptr(timeout)) -} -func WaitVkSemaphoreNV(vkSemaphore uint64) { - syscall.Syscall(gpWaitVkSemaphoreNV, 1, uintptr(vkSemaphore), 0, 0) -} -func WeightPathsNV(resultPath uint32, numPaths int32, paths *uint32, weights *float32) { - syscall.Syscall6(gpWeightPathsNV, 4, uintptr(resultPath), uintptr(numPaths), uintptr(unsafe.Pointer(paths)), uintptr(unsafe.Pointer(weights)), 0, 0) -} -func WeightPointerARB(size int32, xtype uint32, stride int32, pointer unsafe.Pointer) { - syscall.Syscall6(gpWeightPointerARB, 4, uintptr(size), uintptr(xtype), uintptr(stride), uintptr(pointer), 0, 0) -} -func WeightbvARB(size int32, weights *int8) { - syscall.Syscall(gpWeightbvARB, 2, uintptr(size), uintptr(unsafe.Pointer(weights)), 0) -} -func WeightdvARB(size int32, weights *float64) { - syscall.Syscall(gpWeightdvARB, 2, uintptr(size), uintptr(unsafe.Pointer(weights)), 0) -} -func WeightfvARB(size int32, weights *float32) { - syscall.Syscall(gpWeightfvARB, 2, uintptr(size), uintptr(unsafe.Pointer(weights)), 0) -} -func WeightivARB(size int32, weights *int32) { - syscall.Syscall(gpWeightivARB, 2, uintptr(size), uintptr(unsafe.Pointer(weights)), 0) -} -func WeightsvARB(size int32, weights *int16) { - syscall.Syscall(gpWeightsvARB, 2, uintptr(size), uintptr(unsafe.Pointer(weights)), 0) -} -func WeightubvARB(size int32, weights *uint8) { - syscall.Syscall(gpWeightubvARB, 2, uintptr(size), uintptr(unsafe.Pointer(weights)), 0) -} -func WeightuivARB(size int32, weights *uint32) { - syscall.Syscall(gpWeightuivARB, 2, uintptr(size), uintptr(unsafe.Pointer(weights)), 0) -} -func WeightusvARB(size int32, weights *uint16) { - syscall.Syscall(gpWeightusvARB, 2, uintptr(size), uintptr(unsafe.Pointer(weights)), 0) -} -func WindowPos2d(x float64, y float64) { - syscall.Syscall(gpWindowPos2d, 2, uintptr(math.Float64bits(x)), uintptr(math.Float64bits(y)), 0) -} -func WindowPos2dARB(x float64, y float64) { - syscall.Syscall(gpWindowPos2dARB, 2, uintptr(math.Float64bits(x)), uintptr(math.Float64bits(y)), 0) -} -func WindowPos2dMESA(x float64, y float64) { - syscall.Syscall(gpWindowPos2dMESA, 2, uintptr(math.Float64bits(x)), uintptr(math.Float64bits(y)), 0) -} -func WindowPos2dv(v *float64) { - syscall.Syscall(gpWindowPos2dv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func WindowPos2dvARB(v *float64) { - syscall.Syscall(gpWindowPos2dvARB, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func WindowPos2dvMESA(v *float64) { - syscall.Syscall(gpWindowPos2dvMESA, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func WindowPos2f(x float32, y float32) { - syscall.Syscall(gpWindowPos2f, 2, uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y)), 0) -} -func WindowPos2fARB(x float32, y float32) { - syscall.Syscall(gpWindowPos2fARB, 2, uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y)), 0) -} -func WindowPos2fMESA(x float32, y float32) { - syscall.Syscall(gpWindowPos2fMESA, 2, uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y)), 0) -} -func WindowPos2fv(v *float32) { - syscall.Syscall(gpWindowPos2fv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func WindowPos2fvARB(v *float32) { - syscall.Syscall(gpWindowPos2fvARB, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func WindowPos2fvMESA(v *float32) { - syscall.Syscall(gpWindowPos2fvMESA, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func WindowPos2i(x int32, y int32) { - syscall.Syscall(gpWindowPos2i, 2, uintptr(x), uintptr(y), 0) -} -func WindowPos2iARB(x int32, y int32) { - syscall.Syscall(gpWindowPos2iARB, 2, uintptr(x), uintptr(y), 0) -} -func WindowPos2iMESA(x int32, y int32) { - syscall.Syscall(gpWindowPos2iMESA, 2, uintptr(x), uintptr(y), 0) -} -func WindowPos2iv(v *int32) { - syscall.Syscall(gpWindowPos2iv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func WindowPos2ivARB(v *int32) { - syscall.Syscall(gpWindowPos2ivARB, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func WindowPos2ivMESA(v *int32) { - syscall.Syscall(gpWindowPos2ivMESA, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func WindowPos2s(x int16, y int16) { - syscall.Syscall(gpWindowPos2s, 2, uintptr(x), uintptr(y), 0) -} -func WindowPos2sARB(x int16, y int16) { - syscall.Syscall(gpWindowPos2sARB, 2, uintptr(x), uintptr(y), 0) -} -func WindowPos2sMESA(x int16, y int16) { - syscall.Syscall(gpWindowPos2sMESA, 2, uintptr(x), uintptr(y), 0) -} -func WindowPos2sv(v *int16) { - syscall.Syscall(gpWindowPos2sv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func WindowPos2svARB(v *int16) { - syscall.Syscall(gpWindowPos2svARB, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func WindowPos2svMESA(v *int16) { - syscall.Syscall(gpWindowPos2svMESA, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func WindowPos3d(x float64, y float64, z float64) { - syscall.Syscall(gpWindowPos3d, 3, uintptr(math.Float64bits(x)), uintptr(math.Float64bits(y)), uintptr(math.Float64bits(z))) -} -func WindowPos3dARB(x float64, y float64, z float64) { - syscall.Syscall(gpWindowPos3dARB, 3, uintptr(math.Float64bits(x)), uintptr(math.Float64bits(y)), uintptr(math.Float64bits(z))) -} -func WindowPos3dMESA(x float64, y float64, z float64) { - syscall.Syscall(gpWindowPos3dMESA, 3, uintptr(math.Float64bits(x)), uintptr(math.Float64bits(y)), uintptr(math.Float64bits(z))) -} -func WindowPos3dv(v *float64) { - syscall.Syscall(gpWindowPos3dv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func WindowPos3dvARB(v *float64) { - syscall.Syscall(gpWindowPos3dvARB, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func WindowPos3dvMESA(v *float64) { - syscall.Syscall(gpWindowPos3dvMESA, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func WindowPos3f(x float32, y float32, z float32) { - syscall.Syscall(gpWindowPos3f, 3, uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y)), uintptr(math.Float32bits(z))) -} -func WindowPos3fARB(x float32, y float32, z float32) { - syscall.Syscall(gpWindowPos3fARB, 3, uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y)), uintptr(math.Float32bits(z))) -} -func WindowPos3fMESA(x float32, y float32, z float32) { - syscall.Syscall(gpWindowPos3fMESA, 3, uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y)), uintptr(math.Float32bits(z))) -} -func WindowPos3fv(v *float32) { - syscall.Syscall(gpWindowPos3fv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func WindowPos3fvARB(v *float32) { - syscall.Syscall(gpWindowPos3fvARB, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func WindowPos3fvMESA(v *float32) { - syscall.Syscall(gpWindowPos3fvMESA, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func WindowPos3i(x int32, y int32, z int32) { - syscall.Syscall(gpWindowPos3i, 3, uintptr(x), uintptr(y), uintptr(z)) -} -func WindowPos3iARB(x int32, y int32, z int32) { - syscall.Syscall(gpWindowPos3iARB, 3, uintptr(x), uintptr(y), uintptr(z)) -} -func WindowPos3iMESA(x int32, y int32, z int32) { - syscall.Syscall(gpWindowPos3iMESA, 3, uintptr(x), uintptr(y), uintptr(z)) -} -func WindowPos3iv(v *int32) { - syscall.Syscall(gpWindowPos3iv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func WindowPos3ivARB(v *int32) { - syscall.Syscall(gpWindowPos3ivARB, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func WindowPos3ivMESA(v *int32) { - syscall.Syscall(gpWindowPos3ivMESA, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func WindowPos3s(x int16, y int16, z int16) { - syscall.Syscall(gpWindowPos3s, 3, uintptr(x), uintptr(y), uintptr(z)) -} -func WindowPos3sARB(x int16, y int16, z int16) { - syscall.Syscall(gpWindowPos3sARB, 3, uintptr(x), uintptr(y), uintptr(z)) -} -func WindowPos3sMESA(x int16, y int16, z int16) { - syscall.Syscall(gpWindowPos3sMESA, 3, uintptr(x), uintptr(y), uintptr(z)) -} -func WindowPos3sv(v *int16) { - syscall.Syscall(gpWindowPos3sv, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func WindowPos3svARB(v *int16) { - syscall.Syscall(gpWindowPos3svARB, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func WindowPos3svMESA(v *int16) { - syscall.Syscall(gpWindowPos3svMESA, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func WindowPos4dMESA(x float64, y float64, z float64, w float64) { - syscall.Syscall6(gpWindowPos4dMESA, 4, uintptr(math.Float64bits(x)), uintptr(math.Float64bits(y)), uintptr(math.Float64bits(z)), uintptr(math.Float64bits(w)), 0, 0) -} -func WindowPos4dvMESA(v *float64) { - syscall.Syscall(gpWindowPos4dvMESA, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func WindowPos4fMESA(x float32, y float32, z float32, w float32) { - syscall.Syscall6(gpWindowPos4fMESA, 4, uintptr(math.Float32bits(x)), uintptr(math.Float32bits(y)), uintptr(math.Float32bits(z)), uintptr(math.Float32bits(w)), 0, 0) -} -func WindowPos4fvMESA(v *float32) { - syscall.Syscall(gpWindowPos4fvMESA, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func WindowPos4iMESA(x int32, y int32, z int32, w int32) { - syscall.Syscall6(gpWindowPos4iMESA, 4, uintptr(x), uintptr(y), uintptr(z), uintptr(w), 0, 0) -} -func WindowPos4ivMESA(v *int32) { - syscall.Syscall(gpWindowPos4ivMESA, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func WindowPos4sMESA(x int16, y int16, z int16, w int16) { - syscall.Syscall6(gpWindowPos4sMESA, 4, uintptr(x), uintptr(y), uintptr(z), uintptr(w), 0, 0) -} -func WindowPos4svMESA(v *int16) { - syscall.Syscall(gpWindowPos4svMESA, 1, uintptr(unsafe.Pointer(v)), 0, 0) -} -func WindowRectanglesEXT(mode uint32, count int32, box *int32) { - syscall.Syscall(gpWindowRectanglesEXT, 3, uintptr(mode), uintptr(count), uintptr(unsafe.Pointer(box))) -} -func WriteMaskEXT(res uint32, in uint32, outX uint32, outY uint32, outZ uint32, outW uint32) { - syscall.Syscall6(gpWriteMaskEXT, 6, uintptr(res), uintptr(in), uintptr(outX), uintptr(outY), uintptr(outZ), uintptr(outW)) -} // InitWithProcAddrFunc intializes the package using the specified OpenGL // function pointer loading function. For more cases Init should be used -// instead. func InitWithProcAddrFunc(getProcAddr func(name string) unsafe.Pointer) error { - gpAccum = uintptr(getProcAddr("glAccum")) - if gpAccum == 0 { - return errors.New("glAccum") - } - gpAccumxOES = uintptr(getProcAddr("glAccumxOES")) - gpAcquireKeyedMutexWin32EXT = uintptr(getProcAddr("glAcquireKeyedMutexWin32EXT")) - gpActiveProgramEXT = uintptr(getProcAddr("glActiveProgramEXT")) - gpActiveShaderProgram = uintptr(getProcAddr("glActiveShaderProgram")) - gpActiveShaderProgramEXT = uintptr(getProcAddr("glActiveShaderProgramEXT")) - gpActiveStencilFaceEXT = uintptr(getProcAddr("glActiveStencilFaceEXT")) - gpActiveTexture = uintptr(getProcAddr("glActiveTexture")) - if gpActiveTexture == 0 { - return errors.New("glActiveTexture") - } - gpActiveTextureARB = uintptr(getProcAddr("glActiveTextureARB")) - gpActiveVaryingNV = uintptr(getProcAddr("glActiveVaryingNV")) - gpAlphaFragmentOp1ATI = uintptr(getProcAddr("glAlphaFragmentOp1ATI")) - gpAlphaFragmentOp2ATI = uintptr(getProcAddr("glAlphaFragmentOp2ATI")) - gpAlphaFragmentOp3ATI = uintptr(getProcAddr("glAlphaFragmentOp3ATI")) - gpAlphaFunc = uintptr(getProcAddr("glAlphaFunc")) - if gpAlphaFunc == 0 { - return errors.New("glAlphaFunc") - } - gpAlphaFuncxOES = uintptr(getProcAddr("glAlphaFuncxOES")) - gpAlphaToCoverageDitherControlNV = uintptr(getProcAddr("glAlphaToCoverageDitherControlNV")) - gpApplyFramebufferAttachmentCMAAINTEL = uintptr(getProcAddr("glApplyFramebufferAttachmentCMAAINTEL")) - gpApplyTextureEXT = uintptr(getProcAddr("glApplyTextureEXT")) - gpAreProgramsResidentNV = uintptr(getProcAddr("glAreProgramsResidentNV")) - gpAreTexturesResident = uintptr(getProcAddr("glAreTexturesResident")) - if gpAreTexturesResident == 0 { - return errors.New("glAreTexturesResident") - } - gpAreTexturesResidentEXT = uintptr(getProcAddr("glAreTexturesResidentEXT")) - gpArrayElement = uintptr(getProcAddr("glArrayElement")) - if gpArrayElement == 0 { - return errors.New("glArrayElement") - } - gpArrayElementEXT = uintptr(getProcAddr("glArrayElementEXT")) - gpArrayObjectATI = uintptr(getProcAddr("glArrayObjectATI")) - gpAsyncMarkerSGIX = uintptr(getProcAddr("glAsyncMarkerSGIX")) - gpAttachObjectARB = uintptr(getProcAddr("glAttachObjectARB")) gpAttachShader = uintptr(getProcAddr("glAttachShader")) if gpAttachShader == 0 { return errors.New("glAttachShader") } - gpBegin = uintptr(getProcAddr("glBegin")) - if gpBegin == 0 { - return errors.New("glBegin") - } - gpBeginConditionalRenderNV = uintptr(getProcAddr("glBeginConditionalRenderNV")) - gpBeginConditionalRenderNVX = uintptr(getProcAddr("glBeginConditionalRenderNVX")) - gpBeginFragmentShaderATI = uintptr(getProcAddr("glBeginFragmentShaderATI")) - gpBeginOcclusionQueryNV = uintptr(getProcAddr("glBeginOcclusionQueryNV")) - gpBeginPerfMonitorAMD = uintptr(getProcAddr("glBeginPerfMonitorAMD")) - gpBeginPerfQueryINTEL = uintptr(getProcAddr("glBeginPerfQueryINTEL")) - gpBeginQuery = uintptr(getProcAddr("glBeginQuery")) - if gpBeginQuery == 0 { - return errors.New("glBeginQuery") - } - gpBeginQueryARB = uintptr(getProcAddr("glBeginQueryARB")) - gpBeginQueryIndexed = uintptr(getProcAddr("glBeginQueryIndexed")) - gpBeginTransformFeedbackEXT = uintptr(getProcAddr("glBeginTransformFeedbackEXT")) - gpBeginTransformFeedbackNV = uintptr(getProcAddr("glBeginTransformFeedbackNV")) - gpBeginVertexShaderEXT = uintptr(getProcAddr("glBeginVertexShaderEXT")) - gpBeginVideoCaptureNV = uintptr(getProcAddr("glBeginVideoCaptureNV")) gpBindAttribLocation = uintptr(getProcAddr("glBindAttribLocation")) if gpBindAttribLocation == 0 { return errors.New("glBindAttribLocation") } - gpBindAttribLocationARB = uintptr(getProcAddr("glBindAttribLocationARB")) gpBindBuffer = uintptr(getProcAddr("glBindBuffer")) if gpBindBuffer == 0 { return errors.New("glBindBuffer") } - gpBindBufferARB = uintptr(getProcAddr("glBindBufferARB")) - gpBindBufferBase = uintptr(getProcAddr("glBindBufferBase")) - gpBindBufferBaseEXT = uintptr(getProcAddr("glBindBufferBaseEXT")) - gpBindBufferBaseNV = uintptr(getProcAddr("glBindBufferBaseNV")) - gpBindBufferOffsetEXT = uintptr(getProcAddr("glBindBufferOffsetEXT")) - gpBindBufferOffsetNV = uintptr(getProcAddr("glBindBufferOffsetNV")) - gpBindBufferRange = uintptr(getProcAddr("glBindBufferRange")) - gpBindBufferRangeEXT = uintptr(getProcAddr("glBindBufferRangeEXT")) - gpBindBufferRangeNV = uintptr(getProcAddr("glBindBufferRangeNV")) - gpBindBuffersBase = uintptr(getProcAddr("glBindBuffersBase")) - gpBindBuffersRange = uintptr(getProcAddr("glBindBuffersRange")) - gpBindFragDataLocationEXT = uintptr(getProcAddr("glBindFragDataLocationEXT")) - gpBindFragDataLocationIndexed = uintptr(getProcAddr("glBindFragDataLocationIndexed")) - gpBindFragmentShaderATI = uintptr(getProcAddr("glBindFragmentShaderATI")) - gpBindFramebuffer = uintptr(getProcAddr("glBindFramebuffer")) gpBindFramebufferEXT = uintptr(getProcAddr("glBindFramebufferEXT")) - gpBindImageTexture = uintptr(getProcAddr("glBindImageTexture")) - gpBindImageTextureEXT = uintptr(getProcAddr("glBindImageTextureEXT")) - gpBindImageTextures = uintptr(getProcAddr("glBindImageTextures")) - gpBindLightParameterEXT = uintptr(getProcAddr("glBindLightParameterEXT")) - gpBindMaterialParameterEXT = uintptr(getProcAddr("glBindMaterialParameterEXT")) - gpBindMultiTextureEXT = uintptr(getProcAddr("glBindMultiTextureEXT")) - gpBindParameterEXT = uintptr(getProcAddr("glBindParameterEXT")) - gpBindProgramARB = uintptr(getProcAddr("glBindProgramARB")) - gpBindProgramNV = uintptr(getProcAddr("glBindProgramNV")) - gpBindProgramPipeline = uintptr(getProcAddr("glBindProgramPipeline")) - gpBindProgramPipelineEXT = uintptr(getProcAddr("glBindProgramPipelineEXT")) - gpBindRenderbuffer = uintptr(getProcAddr("glBindRenderbuffer")) - gpBindRenderbufferEXT = uintptr(getProcAddr("glBindRenderbufferEXT")) - gpBindSampler = uintptr(getProcAddr("glBindSampler")) - gpBindSamplers = uintptr(getProcAddr("glBindSamplers")) - gpBindTexGenParameterEXT = uintptr(getProcAddr("glBindTexGenParameterEXT")) gpBindTexture = uintptr(getProcAddr("glBindTexture")) if gpBindTexture == 0 { return errors.New("glBindTexture") } - gpBindTextureEXT = uintptr(getProcAddr("glBindTextureEXT")) - gpBindTextureUnit = uintptr(getProcAddr("glBindTextureUnit")) - gpBindTextureUnitParameterEXT = uintptr(getProcAddr("glBindTextureUnitParameterEXT")) - gpBindTextures = uintptr(getProcAddr("glBindTextures")) - gpBindTransformFeedback = uintptr(getProcAddr("glBindTransformFeedback")) - gpBindTransformFeedbackNV = uintptr(getProcAddr("glBindTransformFeedbackNV")) - gpBindVertexArray = uintptr(getProcAddr("glBindVertexArray")) - gpBindVertexArrayAPPLE = uintptr(getProcAddr("glBindVertexArrayAPPLE")) - gpBindVertexBuffer = uintptr(getProcAddr("glBindVertexBuffer")) - gpBindVertexBuffers = uintptr(getProcAddr("glBindVertexBuffers")) - gpBindVertexShaderEXT = uintptr(getProcAddr("glBindVertexShaderEXT")) - gpBindVideoCaptureStreamBufferNV = uintptr(getProcAddr("glBindVideoCaptureStreamBufferNV")) - gpBindVideoCaptureStreamTextureNV = uintptr(getProcAddr("glBindVideoCaptureStreamTextureNV")) - gpBinormal3bEXT = uintptr(getProcAddr("glBinormal3bEXT")) - gpBinormal3bvEXT = uintptr(getProcAddr("glBinormal3bvEXT")) - gpBinormal3dEXT = uintptr(getProcAddr("glBinormal3dEXT")) - gpBinormal3dvEXT = uintptr(getProcAddr("glBinormal3dvEXT")) - gpBinormal3fEXT = uintptr(getProcAddr("glBinormal3fEXT")) - gpBinormal3fvEXT = uintptr(getProcAddr("glBinormal3fvEXT")) - gpBinormal3iEXT = uintptr(getProcAddr("glBinormal3iEXT")) - gpBinormal3ivEXT = uintptr(getProcAddr("glBinormal3ivEXT")) - gpBinormal3sEXT = uintptr(getProcAddr("glBinormal3sEXT")) - gpBinormal3svEXT = uintptr(getProcAddr("glBinormal3svEXT")) - gpBinormalPointerEXT = uintptr(getProcAddr("glBinormalPointerEXT")) - gpBitmap = uintptr(getProcAddr("glBitmap")) - if gpBitmap == 0 { - return errors.New("glBitmap") - } - gpBitmapxOES = uintptr(getProcAddr("glBitmapxOES")) - gpBlendBarrierKHR = uintptr(getProcAddr("glBlendBarrierKHR")) - gpBlendBarrierNV = uintptr(getProcAddr("glBlendBarrierNV")) - gpBlendColor = uintptr(getProcAddr("glBlendColor")) - if gpBlendColor == 0 { - return errors.New("glBlendColor") - } - gpBlendColorEXT = uintptr(getProcAddr("glBlendColorEXT")) - gpBlendColorxOES = uintptr(getProcAddr("glBlendColorxOES")) - gpBlendEquation = uintptr(getProcAddr("glBlendEquation")) - if gpBlendEquation == 0 { - return errors.New("glBlendEquation") - } - gpBlendEquationEXT = uintptr(getProcAddr("glBlendEquationEXT")) - gpBlendEquationIndexedAMD = uintptr(getProcAddr("glBlendEquationIndexedAMD")) - gpBlendEquationSeparate = uintptr(getProcAddr("glBlendEquationSeparate")) - if gpBlendEquationSeparate == 0 { - return errors.New("glBlendEquationSeparate") - } - gpBlendEquationSeparateEXT = uintptr(getProcAddr("glBlendEquationSeparateEXT")) - gpBlendEquationSeparateIndexedAMD = uintptr(getProcAddr("glBlendEquationSeparateIndexedAMD")) - gpBlendEquationSeparateiARB = uintptr(getProcAddr("glBlendEquationSeparateiARB")) - gpBlendEquationiARB = uintptr(getProcAddr("glBlendEquationiARB")) gpBlendFunc = uintptr(getProcAddr("glBlendFunc")) if gpBlendFunc == 0 { return errors.New("glBlendFunc") } - gpBlendFuncIndexedAMD = uintptr(getProcAddr("glBlendFuncIndexedAMD")) - gpBlendFuncSeparate = uintptr(getProcAddr("glBlendFuncSeparate")) - if gpBlendFuncSeparate == 0 { - return errors.New("glBlendFuncSeparate") - } - gpBlendFuncSeparateEXT = uintptr(getProcAddr("glBlendFuncSeparateEXT")) - gpBlendFuncSeparateINGR = uintptr(getProcAddr("glBlendFuncSeparateINGR")) - gpBlendFuncSeparateIndexedAMD = uintptr(getProcAddr("glBlendFuncSeparateIndexedAMD")) - gpBlendFuncSeparateiARB = uintptr(getProcAddr("glBlendFuncSeparateiARB")) - gpBlendFunciARB = uintptr(getProcAddr("glBlendFunciARB")) - gpBlendParameteriNV = uintptr(getProcAddr("glBlendParameteriNV")) - gpBlitFramebuffer = uintptr(getProcAddr("glBlitFramebuffer")) - gpBlitFramebufferEXT = uintptr(getProcAddr("glBlitFramebufferEXT")) - gpBlitNamedFramebuffer = uintptr(getProcAddr("glBlitNamedFramebuffer")) - gpBufferAddressRangeNV = uintptr(getProcAddr("glBufferAddressRangeNV")) gpBufferData = uintptr(getProcAddr("glBufferData")) if gpBufferData == 0 { return errors.New("glBufferData") } - gpBufferDataARB = uintptr(getProcAddr("glBufferDataARB")) - gpBufferPageCommitmentARB = uintptr(getProcAddr("glBufferPageCommitmentARB")) - gpBufferParameteriAPPLE = uintptr(getProcAddr("glBufferParameteriAPPLE")) - gpBufferStorage = uintptr(getProcAddr("glBufferStorage")) - gpBufferStorageExternalEXT = uintptr(getProcAddr("glBufferStorageExternalEXT")) - gpBufferStorageMemEXT = uintptr(getProcAddr("glBufferStorageMemEXT")) gpBufferSubData = uintptr(getProcAddr("glBufferSubData")) if gpBufferSubData == 0 { return errors.New("glBufferSubData") } - gpBufferSubDataARB = uintptr(getProcAddr("glBufferSubDataARB")) - gpCallCommandListNV = uintptr(getProcAddr("glCallCommandListNV")) - gpCallList = uintptr(getProcAddr("glCallList")) - if gpCallList == 0 { - return errors.New("glCallList") - } - gpCallLists = uintptr(getProcAddr("glCallLists")) - if gpCallLists == 0 { - return errors.New("glCallLists") - } - gpCheckFramebufferStatus = uintptr(getProcAddr("glCheckFramebufferStatus")) gpCheckFramebufferStatusEXT = uintptr(getProcAddr("glCheckFramebufferStatusEXT")) - gpCheckNamedFramebufferStatus = uintptr(getProcAddr("glCheckNamedFramebufferStatus")) - gpCheckNamedFramebufferStatusEXT = uintptr(getProcAddr("glCheckNamedFramebufferStatusEXT")) - gpClampColorARB = uintptr(getProcAddr("glClampColorARB")) - gpClear = uintptr(getProcAddr("glClear")) - if gpClear == 0 { - return errors.New("glClear") - } - gpClearAccum = uintptr(getProcAddr("glClearAccum")) - if gpClearAccum == 0 { - return errors.New("glClearAccum") - } - gpClearAccumxOES = uintptr(getProcAddr("glClearAccumxOES")) - gpClearBufferData = uintptr(getProcAddr("glClearBufferData")) - gpClearBufferSubData = uintptr(getProcAddr("glClearBufferSubData")) - gpClearColor = uintptr(getProcAddr("glClearColor")) - if gpClearColor == 0 { - return errors.New("glClearColor") - } - gpClearColorIiEXT = uintptr(getProcAddr("glClearColorIiEXT")) - gpClearColorIuiEXT = uintptr(getProcAddr("glClearColorIuiEXT")) - gpClearColorxOES = uintptr(getProcAddr("glClearColorxOES")) - gpClearDepth = uintptr(getProcAddr("glClearDepth")) - if gpClearDepth == 0 { - return errors.New("glClearDepth") - } - gpClearDepthdNV = uintptr(getProcAddr("glClearDepthdNV")) - gpClearDepthf = uintptr(getProcAddr("glClearDepthf")) - gpClearDepthfOES = uintptr(getProcAddr("glClearDepthfOES")) - gpClearDepthxOES = uintptr(getProcAddr("glClearDepthxOES")) - gpClearIndex = uintptr(getProcAddr("glClearIndex")) - if gpClearIndex == 0 { - return errors.New("glClearIndex") - } - gpClearNamedBufferData = uintptr(getProcAddr("glClearNamedBufferData")) - gpClearNamedBufferDataEXT = uintptr(getProcAddr("glClearNamedBufferDataEXT")) - gpClearNamedBufferSubData = uintptr(getProcAddr("glClearNamedBufferSubData")) - gpClearNamedBufferSubDataEXT = uintptr(getProcAddr("glClearNamedBufferSubDataEXT")) - gpClearNamedFramebufferfi = uintptr(getProcAddr("glClearNamedFramebufferfi")) - gpClearNamedFramebufferfv = uintptr(getProcAddr("glClearNamedFramebufferfv")) - gpClearNamedFramebufferiv = uintptr(getProcAddr("glClearNamedFramebufferiv")) - gpClearNamedFramebufferuiv = uintptr(getProcAddr("glClearNamedFramebufferuiv")) - gpClearStencil = uintptr(getProcAddr("glClearStencil")) - if gpClearStencil == 0 { - return errors.New("glClearStencil") - } - gpClearTexImage = uintptr(getProcAddr("glClearTexImage")) - gpClearTexSubImage = uintptr(getProcAddr("glClearTexSubImage")) - gpClientActiveTexture = uintptr(getProcAddr("glClientActiveTexture")) - if gpClientActiveTexture == 0 { - return errors.New("glClientActiveTexture") - } - gpClientActiveTextureARB = uintptr(getProcAddr("glClientActiveTextureARB")) - gpClientActiveVertexStreamATI = uintptr(getProcAddr("glClientActiveVertexStreamATI")) - gpClientAttribDefaultEXT = uintptr(getProcAddr("glClientAttribDefaultEXT")) - gpClientWaitSync = uintptr(getProcAddr("glClientWaitSync")) - gpClipControl = uintptr(getProcAddr("glClipControl")) - gpClipPlane = uintptr(getProcAddr("glClipPlane")) - if gpClipPlane == 0 { - return errors.New("glClipPlane") - } - gpClipPlanefOES = uintptr(getProcAddr("glClipPlanefOES")) - gpClipPlanexOES = uintptr(getProcAddr("glClipPlanexOES")) - gpColor3b = uintptr(getProcAddr("glColor3b")) - if gpColor3b == 0 { - return errors.New("glColor3b") - } - gpColor3bv = uintptr(getProcAddr("glColor3bv")) - if gpColor3bv == 0 { - return errors.New("glColor3bv") - } - gpColor3d = uintptr(getProcAddr("glColor3d")) - if gpColor3d == 0 { - return errors.New("glColor3d") - } - gpColor3dv = uintptr(getProcAddr("glColor3dv")) - if gpColor3dv == 0 { - return errors.New("glColor3dv") - } - gpColor3f = uintptr(getProcAddr("glColor3f")) - if gpColor3f == 0 { - return errors.New("glColor3f") - } - gpColor3fVertex3fSUN = uintptr(getProcAddr("glColor3fVertex3fSUN")) - gpColor3fVertex3fvSUN = uintptr(getProcAddr("glColor3fVertex3fvSUN")) - gpColor3fv = uintptr(getProcAddr("glColor3fv")) - if gpColor3fv == 0 { - return errors.New("glColor3fv") - } - gpColor3hNV = uintptr(getProcAddr("glColor3hNV")) - gpColor3hvNV = uintptr(getProcAddr("glColor3hvNV")) - gpColor3i = uintptr(getProcAddr("glColor3i")) - if gpColor3i == 0 { - return errors.New("glColor3i") - } - gpColor3iv = uintptr(getProcAddr("glColor3iv")) - if gpColor3iv == 0 { - return errors.New("glColor3iv") - } - gpColor3s = uintptr(getProcAddr("glColor3s")) - if gpColor3s == 0 { - return errors.New("glColor3s") - } - gpColor3sv = uintptr(getProcAddr("glColor3sv")) - if gpColor3sv == 0 { - return errors.New("glColor3sv") - } - gpColor3ub = uintptr(getProcAddr("glColor3ub")) - if gpColor3ub == 0 { - return errors.New("glColor3ub") - } - gpColor3ubv = uintptr(getProcAddr("glColor3ubv")) - if gpColor3ubv == 0 { - return errors.New("glColor3ubv") - } - gpColor3ui = uintptr(getProcAddr("glColor3ui")) - if gpColor3ui == 0 { - return errors.New("glColor3ui") - } - gpColor3uiv = uintptr(getProcAddr("glColor3uiv")) - if gpColor3uiv == 0 { - return errors.New("glColor3uiv") - } - gpColor3us = uintptr(getProcAddr("glColor3us")) - if gpColor3us == 0 { - return errors.New("glColor3us") - } - gpColor3usv = uintptr(getProcAddr("glColor3usv")) - if gpColor3usv == 0 { - return errors.New("glColor3usv") - } - gpColor3xOES = uintptr(getProcAddr("glColor3xOES")) - gpColor3xvOES = uintptr(getProcAddr("glColor3xvOES")) - gpColor4b = uintptr(getProcAddr("glColor4b")) - if gpColor4b == 0 { - return errors.New("glColor4b") - } - gpColor4bv = uintptr(getProcAddr("glColor4bv")) - if gpColor4bv == 0 { - return errors.New("glColor4bv") - } - gpColor4d = uintptr(getProcAddr("glColor4d")) - if gpColor4d == 0 { - return errors.New("glColor4d") - } - gpColor4dv = uintptr(getProcAddr("glColor4dv")) - if gpColor4dv == 0 { - return errors.New("glColor4dv") - } - gpColor4f = uintptr(getProcAddr("glColor4f")) - if gpColor4f == 0 { - return errors.New("glColor4f") - } - gpColor4fNormal3fVertex3fSUN = uintptr(getProcAddr("glColor4fNormal3fVertex3fSUN")) - gpColor4fNormal3fVertex3fvSUN = uintptr(getProcAddr("glColor4fNormal3fVertex3fvSUN")) - gpColor4fv = uintptr(getProcAddr("glColor4fv")) - if gpColor4fv == 0 { - return errors.New("glColor4fv") - } - gpColor4hNV = uintptr(getProcAddr("glColor4hNV")) - gpColor4hvNV = uintptr(getProcAddr("glColor4hvNV")) - gpColor4i = uintptr(getProcAddr("glColor4i")) - if gpColor4i == 0 { - return errors.New("glColor4i") - } - gpColor4iv = uintptr(getProcAddr("glColor4iv")) - if gpColor4iv == 0 { - return errors.New("glColor4iv") - } - gpColor4s = uintptr(getProcAddr("glColor4s")) - if gpColor4s == 0 { - return errors.New("glColor4s") - } - gpColor4sv = uintptr(getProcAddr("glColor4sv")) - if gpColor4sv == 0 { - return errors.New("glColor4sv") - } - gpColor4ub = uintptr(getProcAddr("glColor4ub")) - if gpColor4ub == 0 { - return errors.New("glColor4ub") - } - gpColor4ubVertex2fSUN = uintptr(getProcAddr("glColor4ubVertex2fSUN")) - gpColor4ubVertex2fvSUN = uintptr(getProcAddr("glColor4ubVertex2fvSUN")) - gpColor4ubVertex3fSUN = uintptr(getProcAddr("glColor4ubVertex3fSUN")) - gpColor4ubVertex3fvSUN = uintptr(getProcAddr("glColor4ubVertex3fvSUN")) - gpColor4ubv = uintptr(getProcAddr("glColor4ubv")) - if gpColor4ubv == 0 { - return errors.New("glColor4ubv") - } - gpColor4ui = uintptr(getProcAddr("glColor4ui")) - if gpColor4ui == 0 { - return errors.New("glColor4ui") - } - gpColor4uiv = uintptr(getProcAddr("glColor4uiv")) - if gpColor4uiv == 0 { - return errors.New("glColor4uiv") - } - gpColor4us = uintptr(getProcAddr("glColor4us")) - if gpColor4us == 0 { - return errors.New("glColor4us") - } - gpColor4usv = uintptr(getProcAddr("glColor4usv")) - if gpColor4usv == 0 { - return errors.New("glColor4usv") - } - gpColor4xOES = uintptr(getProcAddr("glColor4xOES")) - gpColor4xvOES = uintptr(getProcAddr("glColor4xvOES")) - gpColorFormatNV = uintptr(getProcAddr("glColorFormatNV")) - gpColorFragmentOp1ATI = uintptr(getProcAddr("glColorFragmentOp1ATI")) - gpColorFragmentOp2ATI = uintptr(getProcAddr("glColorFragmentOp2ATI")) - gpColorFragmentOp3ATI = uintptr(getProcAddr("glColorFragmentOp3ATI")) - gpColorMask = uintptr(getProcAddr("glColorMask")) - if gpColorMask == 0 { - return errors.New("glColorMask") - } - gpColorMaskIndexedEXT = uintptr(getProcAddr("glColorMaskIndexedEXT")) - gpColorMaterial = uintptr(getProcAddr("glColorMaterial")) - if gpColorMaterial == 0 { - return errors.New("glColorMaterial") - } - gpColorPointer = uintptr(getProcAddr("glColorPointer")) - if gpColorPointer == 0 { - return errors.New("glColorPointer") - } - gpColorPointerEXT = uintptr(getProcAddr("glColorPointerEXT")) - gpColorPointerListIBM = uintptr(getProcAddr("glColorPointerListIBM")) - gpColorPointervINTEL = uintptr(getProcAddr("glColorPointervINTEL")) - gpColorSubTableEXT = uintptr(getProcAddr("glColorSubTableEXT")) - gpColorTableEXT = uintptr(getProcAddr("glColorTableEXT")) - gpColorTableParameterfvSGI = uintptr(getProcAddr("glColorTableParameterfvSGI")) - gpColorTableParameterivSGI = uintptr(getProcAddr("glColorTableParameterivSGI")) - gpColorTableSGI = uintptr(getProcAddr("glColorTableSGI")) - gpCombinerInputNV = uintptr(getProcAddr("glCombinerInputNV")) - gpCombinerOutputNV = uintptr(getProcAddr("glCombinerOutputNV")) - gpCombinerParameterfNV = uintptr(getProcAddr("glCombinerParameterfNV")) - gpCombinerParameterfvNV = uintptr(getProcAddr("glCombinerParameterfvNV")) - gpCombinerParameteriNV = uintptr(getProcAddr("glCombinerParameteriNV")) - gpCombinerParameterivNV = uintptr(getProcAddr("glCombinerParameterivNV")) - gpCombinerStageParameterfvNV = uintptr(getProcAddr("glCombinerStageParameterfvNV")) - gpCommandListSegmentsNV = uintptr(getProcAddr("glCommandListSegmentsNV")) - gpCompileCommandListNV = uintptr(getProcAddr("glCompileCommandListNV")) gpCompileShader = uintptr(getProcAddr("glCompileShader")) if gpCompileShader == 0 { return errors.New("glCompileShader") } - gpCompileShaderARB = uintptr(getProcAddr("glCompileShaderARB")) - gpCompileShaderIncludeARB = uintptr(getProcAddr("glCompileShaderIncludeARB")) - gpCompressedMultiTexImage1DEXT = uintptr(getProcAddr("glCompressedMultiTexImage1DEXT")) - gpCompressedMultiTexImage2DEXT = uintptr(getProcAddr("glCompressedMultiTexImage2DEXT")) - gpCompressedMultiTexImage3DEXT = uintptr(getProcAddr("glCompressedMultiTexImage3DEXT")) - gpCompressedMultiTexSubImage1DEXT = uintptr(getProcAddr("glCompressedMultiTexSubImage1DEXT")) - gpCompressedMultiTexSubImage2DEXT = uintptr(getProcAddr("glCompressedMultiTexSubImage2DEXT")) - gpCompressedMultiTexSubImage3DEXT = uintptr(getProcAddr("glCompressedMultiTexSubImage3DEXT")) - gpCompressedTexImage1D = uintptr(getProcAddr("glCompressedTexImage1D")) - if gpCompressedTexImage1D == 0 { - return errors.New("glCompressedTexImage1D") - } - gpCompressedTexImage1DARB = uintptr(getProcAddr("glCompressedTexImage1DARB")) - gpCompressedTexImage2D = uintptr(getProcAddr("glCompressedTexImage2D")) - if gpCompressedTexImage2D == 0 { - return errors.New("glCompressedTexImage2D") - } - gpCompressedTexImage2DARB = uintptr(getProcAddr("glCompressedTexImage2DARB")) - gpCompressedTexImage3D = uintptr(getProcAddr("glCompressedTexImage3D")) - if gpCompressedTexImage3D == 0 { - return errors.New("glCompressedTexImage3D") - } - gpCompressedTexImage3DARB = uintptr(getProcAddr("glCompressedTexImage3DARB")) - gpCompressedTexSubImage1D = uintptr(getProcAddr("glCompressedTexSubImage1D")) - if gpCompressedTexSubImage1D == 0 { - return errors.New("glCompressedTexSubImage1D") - } - gpCompressedTexSubImage1DARB = uintptr(getProcAddr("glCompressedTexSubImage1DARB")) - gpCompressedTexSubImage2D = uintptr(getProcAddr("glCompressedTexSubImage2D")) - if gpCompressedTexSubImage2D == 0 { - return errors.New("glCompressedTexSubImage2D") - } - gpCompressedTexSubImage2DARB = uintptr(getProcAddr("glCompressedTexSubImage2DARB")) - gpCompressedTexSubImage3D = uintptr(getProcAddr("glCompressedTexSubImage3D")) - if gpCompressedTexSubImage3D == 0 { - return errors.New("glCompressedTexSubImage3D") - } - gpCompressedTexSubImage3DARB = uintptr(getProcAddr("glCompressedTexSubImage3DARB")) - gpCompressedTextureImage1DEXT = uintptr(getProcAddr("glCompressedTextureImage1DEXT")) - gpCompressedTextureImage2DEXT = uintptr(getProcAddr("glCompressedTextureImage2DEXT")) - gpCompressedTextureImage3DEXT = uintptr(getProcAddr("glCompressedTextureImage3DEXT")) - gpCompressedTextureSubImage1D = uintptr(getProcAddr("glCompressedTextureSubImage1D")) - gpCompressedTextureSubImage1DEXT = uintptr(getProcAddr("glCompressedTextureSubImage1DEXT")) - gpCompressedTextureSubImage2D = uintptr(getProcAddr("glCompressedTextureSubImage2D")) - gpCompressedTextureSubImage2DEXT = uintptr(getProcAddr("glCompressedTextureSubImage2DEXT")) - gpCompressedTextureSubImage3D = uintptr(getProcAddr("glCompressedTextureSubImage3D")) - gpCompressedTextureSubImage3DEXT = uintptr(getProcAddr("glCompressedTextureSubImage3DEXT")) - gpConservativeRasterParameterfNV = uintptr(getProcAddr("glConservativeRasterParameterfNV")) - gpConservativeRasterParameteriNV = uintptr(getProcAddr("glConservativeRasterParameteriNV")) - gpConvolutionFilter1DEXT = uintptr(getProcAddr("glConvolutionFilter1DEXT")) - gpConvolutionFilter2DEXT = uintptr(getProcAddr("glConvolutionFilter2DEXT")) - gpConvolutionParameterfEXT = uintptr(getProcAddr("glConvolutionParameterfEXT")) - gpConvolutionParameterfvEXT = uintptr(getProcAddr("glConvolutionParameterfvEXT")) - gpConvolutionParameteriEXT = uintptr(getProcAddr("glConvolutionParameteriEXT")) - gpConvolutionParameterivEXT = uintptr(getProcAddr("glConvolutionParameterivEXT")) - gpConvolutionParameterxOES = uintptr(getProcAddr("glConvolutionParameterxOES")) - gpConvolutionParameterxvOES = uintptr(getProcAddr("glConvolutionParameterxvOES")) - gpCopyBufferSubData = uintptr(getProcAddr("glCopyBufferSubData")) - gpCopyColorSubTableEXT = uintptr(getProcAddr("glCopyColorSubTableEXT")) - gpCopyColorTableSGI = uintptr(getProcAddr("glCopyColorTableSGI")) - gpCopyConvolutionFilter1DEXT = uintptr(getProcAddr("glCopyConvolutionFilter1DEXT")) - gpCopyConvolutionFilter2DEXT = uintptr(getProcAddr("glCopyConvolutionFilter2DEXT")) - gpCopyImageSubData = uintptr(getProcAddr("glCopyImageSubData")) - gpCopyImageSubDataNV = uintptr(getProcAddr("glCopyImageSubDataNV")) - gpCopyMultiTexImage1DEXT = uintptr(getProcAddr("glCopyMultiTexImage1DEXT")) - gpCopyMultiTexImage2DEXT = uintptr(getProcAddr("glCopyMultiTexImage2DEXT")) - gpCopyMultiTexSubImage1DEXT = uintptr(getProcAddr("glCopyMultiTexSubImage1DEXT")) - gpCopyMultiTexSubImage2DEXT = uintptr(getProcAddr("glCopyMultiTexSubImage2DEXT")) - gpCopyMultiTexSubImage3DEXT = uintptr(getProcAddr("glCopyMultiTexSubImage3DEXT")) - gpCopyNamedBufferSubData = uintptr(getProcAddr("glCopyNamedBufferSubData")) - gpCopyPathNV = uintptr(getProcAddr("glCopyPathNV")) - gpCopyPixels = uintptr(getProcAddr("glCopyPixels")) - if gpCopyPixels == 0 { - return errors.New("glCopyPixels") - } - gpCopyTexImage1D = uintptr(getProcAddr("glCopyTexImage1D")) - if gpCopyTexImage1D == 0 { - return errors.New("glCopyTexImage1D") - } - gpCopyTexImage1DEXT = uintptr(getProcAddr("glCopyTexImage1DEXT")) - gpCopyTexImage2D = uintptr(getProcAddr("glCopyTexImage2D")) - if gpCopyTexImage2D == 0 { - return errors.New("glCopyTexImage2D") - } - gpCopyTexImage2DEXT = uintptr(getProcAddr("glCopyTexImage2DEXT")) - gpCopyTexSubImage1D = uintptr(getProcAddr("glCopyTexSubImage1D")) - if gpCopyTexSubImage1D == 0 { - return errors.New("glCopyTexSubImage1D") - } - gpCopyTexSubImage1DEXT = uintptr(getProcAddr("glCopyTexSubImage1DEXT")) - gpCopyTexSubImage2D = uintptr(getProcAddr("glCopyTexSubImage2D")) - if gpCopyTexSubImage2D == 0 { - return errors.New("glCopyTexSubImage2D") - } - gpCopyTexSubImage2DEXT = uintptr(getProcAddr("glCopyTexSubImage2DEXT")) - gpCopyTexSubImage3D = uintptr(getProcAddr("glCopyTexSubImage3D")) - if gpCopyTexSubImage3D == 0 { - return errors.New("glCopyTexSubImage3D") - } - gpCopyTexSubImage3DEXT = uintptr(getProcAddr("glCopyTexSubImage3DEXT")) - gpCopyTextureImage1DEXT = uintptr(getProcAddr("glCopyTextureImage1DEXT")) - gpCopyTextureImage2DEXT = uintptr(getProcAddr("glCopyTextureImage2DEXT")) - gpCopyTextureSubImage1D = uintptr(getProcAddr("glCopyTextureSubImage1D")) - gpCopyTextureSubImage1DEXT = uintptr(getProcAddr("glCopyTextureSubImage1DEXT")) - gpCopyTextureSubImage2D = uintptr(getProcAddr("glCopyTextureSubImage2D")) - gpCopyTextureSubImage2DEXT = uintptr(getProcAddr("glCopyTextureSubImage2DEXT")) - gpCopyTextureSubImage3D = uintptr(getProcAddr("glCopyTextureSubImage3D")) - gpCopyTextureSubImage3DEXT = uintptr(getProcAddr("glCopyTextureSubImage3DEXT")) - gpCoverFillPathInstancedNV = uintptr(getProcAddr("glCoverFillPathInstancedNV")) - gpCoverFillPathNV = uintptr(getProcAddr("glCoverFillPathNV")) - gpCoverStrokePathInstancedNV = uintptr(getProcAddr("glCoverStrokePathInstancedNV")) - gpCoverStrokePathNV = uintptr(getProcAddr("glCoverStrokePathNV")) - gpCoverageModulationNV = uintptr(getProcAddr("glCoverageModulationNV")) - gpCoverageModulationTableNV = uintptr(getProcAddr("glCoverageModulationTableNV")) - gpCreateBuffers = uintptr(getProcAddr("glCreateBuffers")) - gpCreateCommandListsNV = uintptr(getProcAddr("glCreateCommandListsNV")) - gpCreateFramebuffers = uintptr(getProcAddr("glCreateFramebuffers")) - gpCreateMemoryObjectsEXT = uintptr(getProcAddr("glCreateMemoryObjectsEXT")) - gpCreatePerfQueryINTEL = uintptr(getProcAddr("glCreatePerfQueryINTEL")) gpCreateProgram = uintptr(getProcAddr("glCreateProgram")) if gpCreateProgram == 0 { return errors.New("glCreateProgram") } - gpCreateProgramObjectARB = uintptr(getProcAddr("glCreateProgramObjectARB")) - gpCreateProgramPipelines = uintptr(getProcAddr("glCreateProgramPipelines")) - gpCreateQueries = uintptr(getProcAddr("glCreateQueries")) - gpCreateRenderbuffers = uintptr(getProcAddr("glCreateRenderbuffers")) - gpCreateSamplers = uintptr(getProcAddr("glCreateSamplers")) gpCreateShader = uintptr(getProcAddr("glCreateShader")) if gpCreateShader == 0 { return errors.New("glCreateShader") } - gpCreateShaderObjectARB = uintptr(getProcAddr("glCreateShaderObjectARB")) - gpCreateShaderProgramEXT = uintptr(getProcAddr("glCreateShaderProgramEXT")) - gpCreateShaderProgramv = uintptr(getProcAddr("glCreateShaderProgramv")) - gpCreateShaderProgramvEXT = uintptr(getProcAddr("glCreateShaderProgramvEXT")) - gpCreateStatesNV = uintptr(getProcAddr("glCreateStatesNV")) - gpCreateSyncFromCLeventARB = uintptr(getProcAddr("glCreateSyncFromCLeventARB")) - gpCreateTextures = uintptr(getProcAddr("glCreateTextures")) - gpCreateTransformFeedbacks = uintptr(getProcAddr("glCreateTransformFeedbacks")) - gpCreateVertexArrays = uintptr(getProcAddr("glCreateVertexArrays")) - gpCullFace = uintptr(getProcAddr("glCullFace")) - if gpCullFace == 0 { - return errors.New("glCullFace") - } - gpCullParameterdvEXT = uintptr(getProcAddr("glCullParameterdvEXT")) - gpCullParameterfvEXT = uintptr(getProcAddr("glCullParameterfvEXT")) - gpCurrentPaletteMatrixARB = uintptr(getProcAddr("glCurrentPaletteMatrixARB")) - gpDebugMessageCallback = uintptr(getProcAddr("glDebugMessageCallback")) - gpDebugMessageCallbackAMD = uintptr(getProcAddr("glDebugMessageCallbackAMD")) - gpDebugMessageCallbackARB = uintptr(getProcAddr("glDebugMessageCallbackARB")) - gpDebugMessageCallbackKHR = uintptr(getProcAddr("glDebugMessageCallbackKHR")) - gpDebugMessageControl = uintptr(getProcAddr("glDebugMessageControl")) - gpDebugMessageControlARB = uintptr(getProcAddr("glDebugMessageControlARB")) - gpDebugMessageControlKHR = uintptr(getProcAddr("glDebugMessageControlKHR")) - gpDebugMessageEnableAMD = uintptr(getProcAddr("glDebugMessageEnableAMD")) - gpDebugMessageInsert = uintptr(getProcAddr("glDebugMessageInsert")) - gpDebugMessageInsertAMD = uintptr(getProcAddr("glDebugMessageInsertAMD")) - gpDebugMessageInsertARB = uintptr(getProcAddr("glDebugMessageInsertARB")) - gpDebugMessageInsertKHR = uintptr(getProcAddr("glDebugMessageInsertKHR")) - gpDeformSGIX = uintptr(getProcAddr("glDeformSGIX")) - gpDeformationMap3dSGIX = uintptr(getProcAddr("glDeformationMap3dSGIX")) - gpDeformationMap3fSGIX = uintptr(getProcAddr("glDeformationMap3fSGIX")) - gpDeleteAsyncMarkersSGIX = uintptr(getProcAddr("glDeleteAsyncMarkersSGIX")) gpDeleteBuffers = uintptr(getProcAddr("glDeleteBuffers")) if gpDeleteBuffers == 0 { return errors.New("glDeleteBuffers") } - gpDeleteBuffersARB = uintptr(getProcAddr("glDeleteBuffersARB")) - gpDeleteCommandListsNV = uintptr(getProcAddr("glDeleteCommandListsNV")) - gpDeleteFencesAPPLE = uintptr(getProcAddr("glDeleteFencesAPPLE")) - gpDeleteFencesNV = uintptr(getProcAddr("glDeleteFencesNV")) - gpDeleteFragmentShaderATI = uintptr(getProcAddr("glDeleteFragmentShaderATI")) - gpDeleteFramebuffers = uintptr(getProcAddr("glDeleteFramebuffers")) gpDeleteFramebuffersEXT = uintptr(getProcAddr("glDeleteFramebuffersEXT")) - gpDeleteLists = uintptr(getProcAddr("glDeleteLists")) - if gpDeleteLists == 0 { - return errors.New("glDeleteLists") - } - gpDeleteMemoryObjectsEXT = uintptr(getProcAddr("glDeleteMemoryObjectsEXT")) - gpDeleteNamedStringARB = uintptr(getProcAddr("glDeleteNamedStringARB")) - gpDeleteNamesAMD = uintptr(getProcAddr("glDeleteNamesAMD")) - gpDeleteObjectARB = uintptr(getProcAddr("glDeleteObjectARB")) - gpDeleteOcclusionQueriesNV = uintptr(getProcAddr("glDeleteOcclusionQueriesNV")) - gpDeletePathsNV = uintptr(getProcAddr("glDeletePathsNV")) - gpDeletePerfMonitorsAMD = uintptr(getProcAddr("glDeletePerfMonitorsAMD")) - gpDeletePerfQueryINTEL = uintptr(getProcAddr("glDeletePerfQueryINTEL")) gpDeleteProgram = uintptr(getProcAddr("glDeleteProgram")) if gpDeleteProgram == 0 { return errors.New("glDeleteProgram") } - gpDeleteProgramPipelines = uintptr(getProcAddr("glDeleteProgramPipelines")) - gpDeleteProgramPipelinesEXT = uintptr(getProcAddr("glDeleteProgramPipelinesEXT")) - gpDeleteProgramsARB = uintptr(getProcAddr("glDeleteProgramsARB")) - gpDeleteProgramsNV = uintptr(getProcAddr("glDeleteProgramsNV")) - gpDeleteQueries = uintptr(getProcAddr("glDeleteQueries")) - if gpDeleteQueries == 0 { - return errors.New("glDeleteQueries") - } - gpDeleteQueriesARB = uintptr(getProcAddr("glDeleteQueriesARB")) - gpDeleteQueryResourceTagNV = uintptr(getProcAddr("glDeleteQueryResourceTagNV")) - gpDeleteRenderbuffers = uintptr(getProcAddr("glDeleteRenderbuffers")) - gpDeleteRenderbuffersEXT = uintptr(getProcAddr("glDeleteRenderbuffersEXT")) - gpDeleteSamplers = uintptr(getProcAddr("glDeleteSamplers")) - gpDeleteSemaphoresEXT = uintptr(getProcAddr("glDeleteSemaphoresEXT")) gpDeleteShader = uintptr(getProcAddr("glDeleteShader")) if gpDeleteShader == 0 { return errors.New("glDeleteShader") } - gpDeleteStatesNV = uintptr(getProcAddr("glDeleteStatesNV")) - gpDeleteSync = uintptr(getProcAddr("glDeleteSync")) gpDeleteTextures = uintptr(getProcAddr("glDeleteTextures")) if gpDeleteTextures == 0 { return errors.New("glDeleteTextures") } - gpDeleteTexturesEXT = uintptr(getProcAddr("glDeleteTexturesEXT")) - gpDeleteTransformFeedbacks = uintptr(getProcAddr("glDeleteTransformFeedbacks")) - gpDeleteTransformFeedbacksNV = uintptr(getProcAddr("glDeleteTransformFeedbacksNV")) - gpDeleteVertexArrays = uintptr(getProcAddr("glDeleteVertexArrays")) - gpDeleteVertexArraysAPPLE = uintptr(getProcAddr("glDeleteVertexArraysAPPLE")) - gpDeleteVertexShaderEXT = uintptr(getProcAddr("glDeleteVertexShaderEXT")) - gpDepthBoundsEXT = uintptr(getProcAddr("glDepthBoundsEXT")) - gpDepthBoundsdNV = uintptr(getProcAddr("glDepthBoundsdNV")) - gpDepthFunc = uintptr(getProcAddr("glDepthFunc")) - if gpDepthFunc == 0 { - return errors.New("glDepthFunc") - } - gpDepthMask = uintptr(getProcAddr("glDepthMask")) - if gpDepthMask == 0 { - return errors.New("glDepthMask") - } - gpDepthRange = uintptr(getProcAddr("glDepthRange")) - if gpDepthRange == 0 { - return errors.New("glDepthRange") - } - gpDepthRangeArrayv = uintptr(getProcAddr("glDepthRangeArrayv")) - gpDepthRangeIndexed = uintptr(getProcAddr("glDepthRangeIndexed")) - gpDepthRangedNV = uintptr(getProcAddr("glDepthRangedNV")) - gpDepthRangef = uintptr(getProcAddr("glDepthRangef")) - gpDepthRangefOES = uintptr(getProcAddr("glDepthRangefOES")) - gpDepthRangexOES = uintptr(getProcAddr("glDepthRangexOES")) - gpDetachObjectARB = uintptr(getProcAddr("glDetachObjectARB")) - gpDetachShader = uintptr(getProcAddr("glDetachShader")) - if gpDetachShader == 0 { - return errors.New("glDetachShader") - } - gpDetailTexFuncSGIS = uintptr(getProcAddr("glDetailTexFuncSGIS")) - gpDisable = uintptr(getProcAddr("glDisable")) - if gpDisable == 0 { - return errors.New("glDisable") - } - gpDisableClientState = uintptr(getProcAddr("glDisableClientState")) - if gpDisableClientState == 0 { - return errors.New("glDisableClientState") - } - gpDisableClientStateIndexedEXT = uintptr(getProcAddr("glDisableClientStateIndexedEXT")) - gpDisableClientStateiEXT = uintptr(getProcAddr("glDisableClientStateiEXT")) - gpDisableIndexedEXT = uintptr(getProcAddr("glDisableIndexedEXT")) - gpDisableVariantClientStateEXT = uintptr(getProcAddr("glDisableVariantClientStateEXT")) - gpDisableVertexArrayAttrib = uintptr(getProcAddr("glDisableVertexArrayAttrib")) - gpDisableVertexArrayAttribEXT = uintptr(getProcAddr("glDisableVertexArrayAttribEXT")) - gpDisableVertexArrayEXT = uintptr(getProcAddr("glDisableVertexArrayEXT")) - gpDisableVertexAttribAPPLE = uintptr(getProcAddr("glDisableVertexAttribAPPLE")) gpDisableVertexAttribArray = uintptr(getProcAddr("glDisableVertexAttribArray")) if gpDisableVertexAttribArray == 0 { return errors.New("glDisableVertexAttribArray") } - gpDisableVertexAttribArrayARB = uintptr(getProcAddr("glDisableVertexAttribArrayARB")) - gpDispatchCompute = uintptr(getProcAddr("glDispatchCompute")) - gpDispatchComputeGroupSizeARB = uintptr(getProcAddr("glDispatchComputeGroupSizeARB")) - gpDispatchComputeIndirect = uintptr(getProcAddr("glDispatchComputeIndirect")) - gpDrawArrays = uintptr(getProcAddr("glDrawArrays")) - if gpDrawArrays == 0 { - return errors.New("glDrawArrays") - } - gpDrawArraysEXT = uintptr(getProcAddr("glDrawArraysEXT")) - gpDrawArraysIndirect = uintptr(getProcAddr("glDrawArraysIndirect")) - gpDrawArraysInstancedARB = uintptr(getProcAddr("glDrawArraysInstancedARB")) - gpDrawArraysInstancedBaseInstance = uintptr(getProcAddr("glDrawArraysInstancedBaseInstance")) - gpDrawArraysInstancedEXT = uintptr(getProcAddr("glDrawArraysInstancedEXT")) - gpDrawBuffer = uintptr(getProcAddr("glDrawBuffer")) - if gpDrawBuffer == 0 { - return errors.New("glDrawBuffer") - } - gpDrawBuffers = uintptr(getProcAddr("glDrawBuffers")) - if gpDrawBuffers == 0 { - return errors.New("glDrawBuffers") - } - gpDrawBuffersARB = uintptr(getProcAddr("glDrawBuffersARB")) - gpDrawBuffersATI = uintptr(getProcAddr("glDrawBuffersATI")) - gpDrawCommandsAddressNV = uintptr(getProcAddr("glDrawCommandsAddressNV")) - gpDrawCommandsNV = uintptr(getProcAddr("glDrawCommandsNV")) - gpDrawCommandsStatesAddressNV = uintptr(getProcAddr("glDrawCommandsStatesAddressNV")) - gpDrawCommandsStatesNV = uintptr(getProcAddr("glDrawCommandsStatesNV")) - gpDrawElementArrayAPPLE = uintptr(getProcAddr("glDrawElementArrayAPPLE")) - gpDrawElementArrayATI = uintptr(getProcAddr("glDrawElementArrayATI")) gpDrawElements = uintptr(getProcAddr("glDrawElements")) if gpDrawElements == 0 { return errors.New("glDrawElements") } - gpDrawElementsBaseVertex = uintptr(getProcAddr("glDrawElementsBaseVertex")) - gpDrawElementsIndirect = uintptr(getProcAddr("glDrawElementsIndirect")) - gpDrawElementsInstancedARB = uintptr(getProcAddr("glDrawElementsInstancedARB")) - gpDrawElementsInstancedBaseInstance = uintptr(getProcAddr("glDrawElementsInstancedBaseInstance")) - gpDrawElementsInstancedBaseVertex = uintptr(getProcAddr("glDrawElementsInstancedBaseVertex")) - gpDrawElementsInstancedBaseVertexBaseInstance = uintptr(getProcAddr("glDrawElementsInstancedBaseVertexBaseInstance")) - gpDrawElementsInstancedEXT = uintptr(getProcAddr("glDrawElementsInstancedEXT")) - gpDrawMeshArraysSUN = uintptr(getProcAddr("glDrawMeshArraysSUN")) - gpDrawPixels = uintptr(getProcAddr("glDrawPixels")) - if gpDrawPixels == 0 { - return errors.New("glDrawPixels") - } - gpDrawRangeElementArrayAPPLE = uintptr(getProcAddr("glDrawRangeElementArrayAPPLE")) - gpDrawRangeElementArrayATI = uintptr(getProcAddr("glDrawRangeElementArrayATI")) - gpDrawRangeElements = uintptr(getProcAddr("glDrawRangeElements")) - if gpDrawRangeElements == 0 { - return errors.New("glDrawRangeElements") - } - gpDrawRangeElementsBaseVertex = uintptr(getProcAddr("glDrawRangeElementsBaseVertex")) - gpDrawRangeElementsEXT = uintptr(getProcAddr("glDrawRangeElementsEXT")) - gpDrawTextureNV = uintptr(getProcAddr("glDrawTextureNV")) - gpDrawTransformFeedback = uintptr(getProcAddr("glDrawTransformFeedback")) - gpDrawTransformFeedbackInstanced = uintptr(getProcAddr("glDrawTransformFeedbackInstanced")) - gpDrawTransformFeedbackNV = uintptr(getProcAddr("glDrawTransformFeedbackNV")) - gpDrawTransformFeedbackStream = uintptr(getProcAddr("glDrawTransformFeedbackStream")) - gpDrawTransformFeedbackStreamInstanced = uintptr(getProcAddr("glDrawTransformFeedbackStreamInstanced")) - gpDrawVkImageNV = uintptr(getProcAddr("glDrawVkImageNV")) - gpEGLImageTargetTexStorageEXT = uintptr(getProcAddr("glEGLImageTargetTexStorageEXT")) - gpEGLImageTargetTextureStorageEXT = uintptr(getProcAddr("glEGLImageTargetTextureStorageEXT")) - gpEdgeFlag = uintptr(getProcAddr("glEdgeFlag")) - if gpEdgeFlag == 0 { - return errors.New("glEdgeFlag") - } - gpEdgeFlagFormatNV = uintptr(getProcAddr("glEdgeFlagFormatNV")) - gpEdgeFlagPointer = uintptr(getProcAddr("glEdgeFlagPointer")) - if gpEdgeFlagPointer == 0 { - return errors.New("glEdgeFlagPointer") - } - gpEdgeFlagPointerEXT = uintptr(getProcAddr("glEdgeFlagPointerEXT")) - gpEdgeFlagPointerListIBM = uintptr(getProcAddr("glEdgeFlagPointerListIBM")) - gpEdgeFlagv = uintptr(getProcAddr("glEdgeFlagv")) - if gpEdgeFlagv == 0 { - return errors.New("glEdgeFlagv") - } - gpElementPointerAPPLE = uintptr(getProcAddr("glElementPointerAPPLE")) - gpElementPointerATI = uintptr(getProcAddr("glElementPointerATI")) gpEnable = uintptr(getProcAddr("glEnable")) if gpEnable == 0 { return errors.New("glEnable") } - gpEnableClientState = uintptr(getProcAddr("glEnableClientState")) - if gpEnableClientState == 0 { - return errors.New("glEnableClientState") - } - gpEnableClientStateIndexedEXT = uintptr(getProcAddr("glEnableClientStateIndexedEXT")) - gpEnableClientStateiEXT = uintptr(getProcAddr("glEnableClientStateiEXT")) - gpEnableIndexedEXT = uintptr(getProcAddr("glEnableIndexedEXT")) - gpEnableVariantClientStateEXT = uintptr(getProcAddr("glEnableVariantClientStateEXT")) - gpEnableVertexArrayAttrib = uintptr(getProcAddr("glEnableVertexArrayAttrib")) - gpEnableVertexArrayAttribEXT = uintptr(getProcAddr("glEnableVertexArrayAttribEXT")) - gpEnableVertexArrayEXT = uintptr(getProcAddr("glEnableVertexArrayEXT")) - gpEnableVertexAttribAPPLE = uintptr(getProcAddr("glEnableVertexAttribAPPLE")) gpEnableVertexAttribArray = uintptr(getProcAddr("glEnableVertexAttribArray")) if gpEnableVertexAttribArray == 0 { return errors.New("glEnableVertexAttribArray") } - gpEnableVertexAttribArrayARB = uintptr(getProcAddr("glEnableVertexAttribArrayARB")) - gpEnd = uintptr(getProcAddr("glEnd")) - if gpEnd == 0 { - return errors.New("glEnd") - } - gpEndConditionalRenderNV = uintptr(getProcAddr("glEndConditionalRenderNV")) - gpEndConditionalRenderNVX = uintptr(getProcAddr("glEndConditionalRenderNVX")) - gpEndFragmentShaderATI = uintptr(getProcAddr("glEndFragmentShaderATI")) - gpEndList = uintptr(getProcAddr("glEndList")) - if gpEndList == 0 { - return errors.New("glEndList") - } - gpEndOcclusionQueryNV = uintptr(getProcAddr("glEndOcclusionQueryNV")) - gpEndPerfMonitorAMD = uintptr(getProcAddr("glEndPerfMonitorAMD")) - gpEndPerfQueryINTEL = uintptr(getProcAddr("glEndPerfQueryINTEL")) - gpEndQuery = uintptr(getProcAddr("glEndQuery")) - if gpEndQuery == 0 { - return errors.New("glEndQuery") - } - gpEndQueryARB = uintptr(getProcAddr("glEndQueryARB")) - gpEndQueryIndexed = uintptr(getProcAddr("glEndQueryIndexed")) - gpEndTransformFeedbackEXT = uintptr(getProcAddr("glEndTransformFeedbackEXT")) - gpEndTransformFeedbackNV = uintptr(getProcAddr("glEndTransformFeedbackNV")) - gpEndVertexShaderEXT = uintptr(getProcAddr("glEndVertexShaderEXT")) - gpEndVideoCaptureNV = uintptr(getProcAddr("glEndVideoCaptureNV")) - gpEvalCoord1d = uintptr(getProcAddr("glEvalCoord1d")) - if gpEvalCoord1d == 0 { - return errors.New("glEvalCoord1d") - } - gpEvalCoord1dv = uintptr(getProcAddr("glEvalCoord1dv")) - if gpEvalCoord1dv == 0 { - return errors.New("glEvalCoord1dv") - } - gpEvalCoord1f = uintptr(getProcAddr("glEvalCoord1f")) - if gpEvalCoord1f == 0 { - return errors.New("glEvalCoord1f") - } - gpEvalCoord1fv = uintptr(getProcAddr("glEvalCoord1fv")) - if gpEvalCoord1fv == 0 { - return errors.New("glEvalCoord1fv") - } - gpEvalCoord1xOES = uintptr(getProcAddr("glEvalCoord1xOES")) - gpEvalCoord1xvOES = uintptr(getProcAddr("glEvalCoord1xvOES")) - gpEvalCoord2d = uintptr(getProcAddr("glEvalCoord2d")) - if gpEvalCoord2d == 0 { - return errors.New("glEvalCoord2d") - } - gpEvalCoord2dv = uintptr(getProcAddr("glEvalCoord2dv")) - if gpEvalCoord2dv == 0 { - return errors.New("glEvalCoord2dv") - } - gpEvalCoord2f = uintptr(getProcAddr("glEvalCoord2f")) - if gpEvalCoord2f == 0 { - return errors.New("glEvalCoord2f") - } - gpEvalCoord2fv = uintptr(getProcAddr("glEvalCoord2fv")) - if gpEvalCoord2fv == 0 { - return errors.New("glEvalCoord2fv") - } - gpEvalCoord2xOES = uintptr(getProcAddr("glEvalCoord2xOES")) - gpEvalCoord2xvOES = uintptr(getProcAddr("glEvalCoord2xvOES")) - gpEvalMapsNV = uintptr(getProcAddr("glEvalMapsNV")) - gpEvalMesh1 = uintptr(getProcAddr("glEvalMesh1")) - if gpEvalMesh1 == 0 { - return errors.New("glEvalMesh1") - } - gpEvalMesh2 = uintptr(getProcAddr("glEvalMesh2")) - if gpEvalMesh2 == 0 { - return errors.New("glEvalMesh2") - } - gpEvalPoint1 = uintptr(getProcAddr("glEvalPoint1")) - if gpEvalPoint1 == 0 { - return errors.New("glEvalPoint1") - } - gpEvalPoint2 = uintptr(getProcAddr("glEvalPoint2")) - if gpEvalPoint2 == 0 { - return errors.New("glEvalPoint2") - } - gpEvaluateDepthValuesARB = uintptr(getProcAddr("glEvaluateDepthValuesARB")) - gpExecuteProgramNV = uintptr(getProcAddr("glExecuteProgramNV")) - gpExtractComponentEXT = uintptr(getProcAddr("glExtractComponentEXT")) - gpFeedbackBuffer = uintptr(getProcAddr("glFeedbackBuffer")) - if gpFeedbackBuffer == 0 { - return errors.New("glFeedbackBuffer") - } - gpFeedbackBufferxOES = uintptr(getProcAddr("glFeedbackBufferxOES")) - gpFenceSync = uintptr(getProcAddr("glFenceSync")) - gpFinalCombinerInputNV = uintptr(getProcAddr("glFinalCombinerInputNV")) - gpFinish = uintptr(getProcAddr("glFinish")) - if gpFinish == 0 { - return errors.New("glFinish") - } - gpFinishAsyncSGIX = uintptr(getProcAddr("glFinishAsyncSGIX")) - gpFinishFenceAPPLE = uintptr(getProcAddr("glFinishFenceAPPLE")) - gpFinishFenceNV = uintptr(getProcAddr("glFinishFenceNV")) - gpFinishObjectAPPLE = uintptr(getProcAddr("glFinishObjectAPPLE")) - gpFinishTextureSUNX = uintptr(getProcAddr("glFinishTextureSUNX")) gpFlush = uintptr(getProcAddr("glFlush")) if gpFlush == 0 { return errors.New("glFlush") } - gpFlushMappedBufferRange = uintptr(getProcAddr("glFlushMappedBufferRange")) - gpFlushMappedBufferRangeAPPLE = uintptr(getProcAddr("glFlushMappedBufferRangeAPPLE")) - gpFlushMappedNamedBufferRange = uintptr(getProcAddr("glFlushMappedNamedBufferRange")) - gpFlushMappedNamedBufferRangeEXT = uintptr(getProcAddr("glFlushMappedNamedBufferRangeEXT")) - gpFlushPixelDataRangeNV = uintptr(getProcAddr("glFlushPixelDataRangeNV")) - gpFlushRasterSGIX = uintptr(getProcAddr("glFlushRasterSGIX")) - gpFlushStaticDataIBM = uintptr(getProcAddr("glFlushStaticDataIBM")) - gpFlushVertexArrayRangeAPPLE = uintptr(getProcAddr("glFlushVertexArrayRangeAPPLE")) - gpFlushVertexArrayRangeNV = uintptr(getProcAddr("glFlushVertexArrayRangeNV")) - gpFogCoordFormatNV = uintptr(getProcAddr("glFogCoordFormatNV")) - gpFogCoordPointer = uintptr(getProcAddr("glFogCoordPointer")) - if gpFogCoordPointer == 0 { - return errors.New("glFogCoordPointer") - } - gpFogCoordPointerEXT = uintptr(getProcAddr("glFogCoordPointerEXT")) - gpFogCoordPointerListIBM = uintptr(getProcAddr("glFogCoordPointerListIBM")) - gpFogCoordd = uintptr(getProcAddr("glFogCoordd")) - if gpFogCoordd == 0 { - return errors.New("glFogCoordd") - } - gpFogCoorddEXT = uintptr(getProcAddr("glFogCoorddEXT")) - gpFogCoorddv = uintptr(getProcAddr("glFogCoorddv")) - if gpFogCoorddv == 0 { - return errors.New("glFogCoorddv") - } - gpFogCoorddvEXT = uintptr(getProcAddr("glFogCoorddvEXT")) - gpFogCoordf = uintptr(getProcAddr("glFogCoordf")) - if gpFogCoordf == 0 { - return errors.New("glFogCoordf") - } - gpFogCoordfEXT = uintptr(getProcAddr("glFogCoordfEXT")) - gpFogCoordfv = uintptr(getProcAddr("glFogCoordfv")) - if gpFogCoordfv == 0 { - return errors.New("glFogCoordfv") - } - gpFogCoordfvEXT = uintptr(getProcAddr("glFogCoordfvEXT")) - gpFogCoordhNV = uintptr(getProcAddr("glFogCoordhNV")) - gpFogCoordhvNV = uintptr(getProcAddr("glFogCoordhvNV")) - gpFogFuncSGIS = uintptr(getProcAddr("glFogFuncSGIS")) - gpFogf = uintptr(getProcAddr("glFogf")) - if gpFogf == 0 { - return errors.New("glFogf") - } - gpFogfv = uintptr(getProcAddr("glFogfv")) - if gpFogfv == 0 { - return errors.New("glFogfv") - } - gpFogi = uintptr(getProcAddr("glFogi")) - if gpFogi == 0 { - return errors.New("glFogi") - } - gpFogiv = uintptr(getProcAddr("glFogiv")) - if gpFogiv == 0 { - return errors.New("glFogiv") - } - gpFogxOES = uintptr(getProcAddr("glFogxOES")) - gpFogxvOES = uintptr(getProcAddr("glFogxvOES")) - gpFragmentColorMaterialSGIX = uintptr(getProcAddr("glFragmentColorMaterialSGIX")) - gpFragmentCoverageColorNV = uintptr(getProcAddr("glFragmentCoverageColorNV")) - gpFragmentLightModelfSGIX = uintptr(getProcAddr("glFragmentLightModelfSGIX")) - gpFragmentLightModelfvSGIX = uintptr(getProcAddr("glFragmentLightModelfvSGIX")) - gpFragmentLightModeliSGIX = uintptr(getProcAddr("glFragmentLightModeliSGIX")) - gpFragmentLightModelivSGIX = uintptr(getProcAddr("glFragmentLightModelivSGIX")) - gpFragmentLightfSGIX = uintptr(getProcAddr("glFragmentLightfSGIX")) - gpFragmentLightfvSGIX = uintptr(getProcAddr("glFragmentLightfvSGIX")) - gpFragmentLightiSGIX = uintptr(getProcAddr("glFragmentLightiSGIX")) - gpFragmentLightivSGIX = uintptr(getProcAddr("glFragmentLightivSGIX")) - gpFragmentMaterialfSGIX = uintptr(getProcAddr("glFragmentMaterialfSGIX")) - gpFragmentMaterialfvSGIX = uintptr(getProcAddr("glFragmentMaterialfvSGIX")) - gpFragmentMaterialiSGIX = uintptr(getProcAddr("glFragmentMaterialiSGIX")) - gpFragmentMaterialivSGIX = uintptr(getProcAddr("glFragmentMaterialivSGIX")) - gpFrameTerminatorGREMEDY = uintptr(getProcAddr("glFrameTerminatorGREMEDY")) - gpFrameZoomSGIX = uintptr(getProcAddr("glFrameZoomSGIX")) - gpFramebufferDrawBufferEXT = uintptr(getProcAddr("glFramebufferDrawBufferEXT")) - gpFramebufferDrawBuffersEXT = uintptr(getProcAddr("glFramebufferDrawBuffersEXT")) - gpFramebufferFetchBarrierEXT = uintptr(getProcAddr("glFramebufferFetchBarrierEXT")) - gpFramebufferParameteri = uintptr(getProcAddr("glFramebufferParameteri")) - gpFramebufferReadBufferEXT = uintptr(getProcAddr("glFramebufferReadBufferEXT")) - gpFramebufferRenderbuffer = uintptr(getProcAddr("glFramebufferRenderbuffer")) - gpFramebufferRenderbufferEXT = uintptr(getProcAddr("glFramebufferRenderbufferEXT")) - gpFramebufferSampleLocationsfvARB = uintptr(getProcAddr("glFramebufferSampleLocationsfvARB")) - gpFramebufferSampleLocationsfvNV = uintptr(getProcAddr("glFramebufferSampleLocationsfvNV")) - gpFramebufferSamplePositionsfvAMD = uintptr(getProcAddr("glFramebufferSamplePositionsfvAMD")) - gpFramebufferTexture1D = uintptr(getProcAddr("glFramebufferTexture1D")) - gpFramebufferTexture1DEXT = uintptr(getProcAddr("glFramebufferTexture1DEXT")) - gpFramebufferTexture2D = uintptr(getProcAddr("glFramebufferTexture2D")) gpFramebufferTexture2DEXT = uintptr(getProcAddr("glFramebufferTexture2DEXT")) - gpFramebufferTexture3D = uintptr(getProcAddr("glFramebufferTexture3D")) - gpFramebufferTexture3DEXT = uintptr(getProcAddr("glFramebufferTexture3DEXT")) - gpFramebufferTextureARB = uintptr(getProcAddr("glFramebufferTextureARB")) - gpFramebufferTextureEXT = uintptr(getProcAddr("glFramebufferTextureEXT")) - gpFramebufferTextureFaceARB = uintptr(getProcAddr("glFramebufferTextureFaceARB")) - gpFramebufferTextureFaceEXT = uintptr(getProcAddr("glFramebufferTextureFaceEXT")) - gpFramebufferTextureLayer = uintptr(getProcAddr("glFramebufferTextureLayer")) - gpFramebufferTextureLayerARB = uintptr(getProcAddr("glFramebufferTextureLayerARB")) - gpFramebufferTextureLayerEXT = uintptr(getProcAddr("glFramebufferTextureLayerEXT")) - gpFramebufferTextureMultiviewOVR = uintptr(getProcAddr("glFramebufferTextureMultiviewOVR")) - gpFreeObjectBufferATI = uintptr(getProcAddr("glFreeObjectBufferATI")) - gpFrontFace = uintptr(getProcAddr("glFrontFace")) - if gpFrontFace == 0 { - return errors.New("glFrontFace") - } - gpFrustum = uintptr(getProcAddr("glFrustum")) - if gpFrustum == 0 { - return errors.New("glFrustum") - } - gpFrustumfOES = uintptr(getProcAddr("glFrustumfOES")) - gpFrustumxOES = uintptr(getProcAddr("glFrustumxOES")) - gpGenAsyncMarkersSGIX = uintptr(getProcAddr("glGenAsyncMarkersSGIX")) gpGenBuffers = uintptr(getProcAddr("glGenBuffers")) if gpGenBuffers == 0 { return errors.New("glGenBuffers") } - gpGenBuffersARB = uintptr(getProcAddr("glGenBuffersARB")) - gpGenFencesAPPLE = uintptr(getProcAddr("glGenFencesAPPLE")) - gpGenFencesNV = uintptr(getProcAddr("glGenFencesNV")) - gpGenFragmentShadersATI = uintptr(getProcAddr("glGenFragmentShadersATI")) - gpGenFramebuffers = uintptr(getProcAddr("glGenFramebuffers")) gpGenFramebuffersEXT = uintptr(getProcAddr("glGenFramebuffersEXT")) - gpGenLists = uintptr(getProcAddr("glGenLists")) - if gpGenLists == 0 { - return errors.New("glGenLists") - } - gpGenNamesAMD = uintptr(getProcAddr("glGenNamesAMD")) - gpGenOcclusionQueriesNV = uintptr(getProcAddr("glGenOcclusionQueriesNV")) - gpGenPathsNV = uintptr(getProcAddr("glGenPathsNV")) - gpGenPerfMonitorsAMD = uintptr(getProcAddr("glGenPerfMonitorsAMD")) - gpGenProgramPipelines = uintptr(getProcAddr("glGenProgramPipelines")) - gpGenProgramPipelinesEXT = uintptr(getProcAddr("glGenProgramPipelinesEXT")) - gpGenProgramsARB = uintptr(getProcAddr("glGenProgramsARB")) - gpGenProgramsNV = uintptr(getProcAddr("glGenProgramsNV")) - gpGenQueries = uintptr(getProcAddr("glGenQueries")) - if gpGenQueries == 0 { - return errors.New("glGenQueries") - } - gpGenQueriesARB = uintptr(getProcAddr("glGenQueriesARB")) - gpGenQueryResourceTagNV = uintptr(getProcAddr("glGenQueryResourceTagNV")) - gpGenRenderbuffers = uintptr(getProcAddr("glGenRenderbuffers")) - gpGenRenderbuffersEXT = uintptr(getProcAddr("glGenRenderbuffersEXT")) - gpGenSamplers = uintptr(getProcAddr("glGenSamplers")) - gpGenSemaphoresEXT = uintptr(getProcAddr("glGenSemaphoresEXT")) - gpGenSymbolsEXT = uintptr(getProcAddr("glGenSymbolsEXT")) gpGenTextures = uintptr(getProcAddr("glGenTextures")) if gpGenTextures == 0 { return errors.New("glGenTextures") } - gpGenTexturesEXT = uintptr(getProcAddr("glGenTexturesEXT")) - gpGenTransformFeedbacks = uintptr(getProcAddr("glGenTransformFeedbacks")) - gpGenTransformFeedbacksNV = uintptr(getProcAddr("glGenTransformFeedbacksNV")) - gpGenVertexArrays = uintptr(getProcAddr("glGenVertexArrays")) - gpGenVertexArraysAPPLE = uintptr(getProcAddr("glGenVertexArraysAPPLE")) - gpGenVertexShadersEXT = uintptr(getProcAddr("glGenVertexShadersEXT")) - gpGenerateMipmap = uintptr(getProcAddr("glGenerateMipmap")) - gpGenerateMipmapEXT = uintptr(getProcAddr("glGenerateMipmapEXT")) - gpGenerateMultiTexMipmapEXT = uintptr(getProcAddr("glGenerateMultiTexMipmapEXT")) - gpGenerateTextureMipmap = uintptr(getProcAddr("glGenerateTextureMipmap")) - gpGenerateTextureMipmapEXT = uintptr(getProcAddr("glGenerateTextureMipmapEXT")) - gpGetActiveAtomicCounterBufferiv = uintptr(getProcAddr("glGetActiveAtomicCounterBufferiv")) - gpGetActiveAttrib = uintptr(getProcAddr("glGetActiveAttrib")) - if gpGetActiveAttrib == 0 { - return errors.New("glGetActiveAttrib") - } - gpGetActiveAttribARB = uintptr(getProcAddr("glGetActiveAttribARB")) - gpGetActiveSubroutineName = uintptr(getProcAddr("glGetActiveSubroutineName")) - gpGetActiveSubroutineUniformName = uintptr(getProcAddr("glGetActiveSubroutineUniformName")) - gpGetActiveSubroutineUniformiv = uintptr(getProcAddr("glGetActiveSubroutineUniformiv")) - gpGetActiveUniform = uintptr(getProcAddr("glGetActiveUniform")) - if gpGetActiveUniform == 0 { - return errors.New("glGetActiveUniform") - } - gpGetActiveUniformARB = uintptr(getProcAddr("glGetActiveUniformARB")) - gpGetActiveUniformBlockName = uintptr(getProcAddr("glGetActiveUniformBlockName")) - gpGetActiveUniformBlockiv = uintptr(getProcAddr("glGetActiveUniformBlockiv")) - gpGetActiveUniformName = uintptr(getProcAddr("glGetActiveUniformName")) - gpGetActiveUniformsiv = uintptr(getProcAddr("glGetActiveUniformsiv")) - gpGetActiveVaryingNV = uintptr(getProcAddr("glGetActiveVaryingNV")) - gpGetArrayObjectfvATI = uintptr(getProcAddr("glGetArrayObjectfvATI")) - gpGetArrayObjectivATI = uintptr(getProcAddr("glGetArrayObjectivATI")) - gpGetAttachedObjectsARB = uintptr(getProcAddr("glGetAttachedObjectsARB")) - gpGetAttachedShaders = uintptr(getProcAddr("glGetAttachedShaders")) - if gpGetAttachedShaders == 0 { - return errors.New("glGetAttachedShaders") - } - gpGetAttribLocation = uintptr(getProcAddr("glGetAttribLocation")) - if gpGetAttribLocation == 0 { - return errors.New("glGetAttribLocation") - } - gpGetAttribLocationARB = uintptr(getProcAddr("glGetAttribLocationARB")) - gpGetBooleanIndexedvEXT = uintptr(getProcAddr("glGetBooleanIndexedvEXT")) - gpGetBooleanv = uintptr(getProcAddr("glGetBooleanv")) - if gpGetBooleanv == 0 { - return errors.New("glGetBooleanv") - } - gpGetBufferParameteriv = uintptr(getProcAddr("glGetBufferParameteriv")) - if gpGetBufferParameteriv == 0 { - return errors.New("glGetBufferParameteriv") - } - gpGetBufferParameterivARB = uintptr(getProcAddr("glGetBufferParameterivARB")) - gpGetBufferParameterui64vNV = uintptr(getProcAddr("glGetBufferParameterui64vNV")) - gpGetBufferPointerv = uintptr(getProcAddr("glGetBufferPointerv")) - if gpGetBufferPointerv == 0 { - return errors.New("glGetBufferPointerv") - } - gpGetBufferPointervARB = uintptr(getProcAddr("glGetBufferPointervARB")) - gpGetBufferSubData = uintptr(getProcAddr("glGetBufferSubData")) - if gpGetBufferSubData == 0 { - return errors.New("glGetBufferSubData") - } - gpGetBufferSubDataARB = uintptr(getProcAddr("glGetBufferSubDataARB")) - gpGetClipPlane = uintptr(getProcAddr("glGetClipPlane")) - if gpGetClipPlane == 0 { - return errors.New("glGetClipPlane") - } - gpGetClipPlanefOES = uintptr(getProcAddr("glGetClipPlanefOES")) - gpGetClipPlanexOES = uintptr(getProcAddr("glGetClipPlanexOES")) - gpGetColorTableEXT = uintptr(getProcAddr("glGetColorTableEXT")) - gpGetColorTableParameterfvEXT = uintptr(getProcAddr("glGetColorTableParameterfvEXT")) - gpGetColorTableParameterfvSGI = uintptr(getProcAddr("glGetColorTableParameterfvSGI")) - gpGetColorTableParameterivEXT = uintptr(getProcAddr("glGetColorTableParameterivEXT")) - gpGetColorTableParameterivSGI = uintptr(getProcAddr("glGetColorTableParameterivSGI")) - gpGetColorTableSGI = uintptr(getProcAddr("glGetColorTableSGI")) - gpGetCombinerInputParameterfvNV = uintptr(getProcAddr("glGetCombinerInputParameterfvNV")) - gpGetCombinerInputParameterivNV = uintptr(getProcAddr("glGetCombinerInputParameterivNV")) - gpGetCombinerOutputParameterfvNV = uintptr(getProcAddr("glGetCombinerOutputParameterfvNV")) - gpGetCombinerOutputParameterivNV = uintptr(getProcAddr("glGetCombinerOutputParameterivNV")) - gpGetCombinerStageParameterfvNV = uintptr(getProcAddr("glGetCombinerStageParameterfvNV")) - gpGetCommandHeaderNV = uintptr(getProcAddr("glGetCommandHeaderNV")) - gpGetCompressedMultiTexImageEXT = uintptr(getProcAddr("glGetCompressedMultiTexImageEXT")) - gpGetCompressedTexImage = uintptr(getProcAddr("glGetCompressedTexImage")) - if gpGetCompressedTexImage == 0 { - return errors.New("glGetCompressedTexImage") - } - gpGetCompressedTexImageARB = uintptr(getProcAddr("glGetCompressedTexImageARB")) - gpGetCompressedTextureImage = uintptr(getProcAddr("glGetCompressedTextureImage")) - gpGetCompressedTextureImageEXT = uintptr(getProcAddr("glGetCompressedTextureImageEXT")) - gpGetCompressedTextureSubImage = uintptr(getProcAddr("glGetCompressedTextureSubImage")) - gpGetConvolutionFilterEXT = uintptr(getProcAddr("glGetConvolutionFilterEXT")) - gpGetConvolutionParameterfvEXT = uintptr(getProcAddr("glGetConvolutionParameterfvEXT")) - gpGetConvolutionParameterivEXT = uintptr(getProcAddr("glGetConvolutionParameterivEXT")) - gpGetConvolutionParameterxvOES = uintptr(getProcAddr("glGetConvolutionParameterxvOES")) - gpGetCoverageModulationTableNV = uintptr(getProcAddr("glGetCoverageModulationTableNV")) - gpGetDebugMessageLog = uintptr(getProcAddr("glGetDebugMessageLog")) - gpGetDebugMessageLogAMD = uintptr(getProcAddr("glGetDebugMessageLogAMD")) - gpGetDebugMessageLogARB = uintptr(getProcAddr("glGetDebugMessageLogARB")) - gpGetDebugMessageLogKHR = uintptr(getProcAddr("glGetDebugMessageLogKHR")) - gpGetDetailTexFuncSGIS = uintptr(getProcAddr("glGetDetailTexFuncSGIS")) - gpGetDoubleIndexedvEXT = uintptr(getProcAddr("glGetDoubleIndexedvEXT")) gpGetDoublei_v = uintptr(getProcAddr("glGetDoublei_v")) gpGetDoublei_vEXT = uintptr(getProcAddr("glGetDoublei_vEXT")) - gpGetDoublev = uintptr(getProcAddr("glGetDoublev")) - if gpGetDoublev == 0 { - return errors.New("glGetDoublev") - } gpGetError = uintptr(getProcAddr("glGetError")) if gpGetError == 0 { return errors.New("glGetError") } - gpGetFenceivNV = uintptr(getProcAddr("glGetFenceivNV")) - gpGetFinalCombinerInputParameterfvNV = uintptr(getProcAddr("glGetFinalCombinerInputParameterfvNV")) - gpGetFinalCombinerInputParameterivNV = uintptr(getProcAddr("glGetFinalCombinerInputParameterivNV")) - gpGetFirstPerfQueryIdINTEL = uintptr(getProcAddr("glGetFirstPerfQueryIdINTEL")) - gpGetFixedvOES = uintptr(getProcAddr("glGetFixedvOES")) - gpGetFloatIndexedvEXT = uintptr(getProcAddr("glGetFloatIndexedvEXT")) gpGetFloati_v = uintptr(getProcAddr("glGetFloati_v")) gpGetFloati_vEXT = uintptr(getProcAddr("glGetFloati_vEXT")) - gpGetFloatv = uintptr(getProcAddr("glGetFloatv")) - if gpGetFloatv == 0 { - return errors.New("glGetFloatv") - } - gpGetFogFuncSGIS = uintptr(getProcAddr("glGetFogFuncSGIS")) - gpGetFragDataIndex = uintptr(getProcAddr("glGetFragDataIndex")) - gpGetFragDataLocationEXT = uintptr(getProcAddr("glGetFragDataLocationEXT")) - gpGetFragmentLightfvSGIX = uintptr(getProcAddr("glGetFragmentLightfvSGIX")) - gpGetFragmentLightivSGIX = uintptr(getProcAddr("glGetFragmentLightivSGIX")) - gpGetFragmentMaterialfvSGIX = uintptr(getProcAddr("glGetFragmentMaterialfvSGIX")) - gpGetFragmentMaterialivSGIX = uintptr(getProcAddr("glGetFragmentMaterialivSGIX")) - gpGetFramebufferAttachmentParameteriv = uintptr(getProcAddr("glGetFramebufferAttachmentParameteriv")) - gpGetFramebufferAttachmentParameterivEXT = uintptr(getProcAddr("glGetFramebufferAttachmentParameterivEXT")) - gpGetFramebufferParameterfvAMD = uintptr(getProcAddr("glGetFramebufferParameterfvAMD")) - gpGetFramebufferParameteriv = uintptr(getProcAddr("glGetFramebufferParameteriv")) - gpGetFramebufferParameterivEXT = uintptr(getProcAddr("glGetFramebufferParameterivEXT")) - gpGetGraphicsResetStatus = uintptr(getProcAddr("glGetGraphicsResetStatus")) - gpGetGraphicsResetStatusARB = uintptr(getProcAddr("glGetGraphicsResetStatusARB")) - gpGetGraphicsResetStatusKHR = uintptr(getProcAddr("glGetGraphicsResetStatusKHR")) - gpGetHandleARB = uintptr(getProcAddr("glGetHandleARB")) - gpGetHistogramEXT = uintptr(getProcAddr("glGetHistogramEXT")) - gpGetHistogramParameterfvEXT = uintptr(getProcAddr("glGetHistogramParameterfvEXT")) - gpGetHistogramParameterivEXT = uintptr(getProcAddr("glGetHistogramParameterivEXT")) - gpGetHistogramParameterxvOES = uintptr(getProcAddr("glGetHistogramParameterxvOES")) - gpGetImageHandleARB = uintptr(getProcAddr("glGetImageHandleARB")) - gpGetImageHandleNV = uintptr(getProcAddr("glGetImageHandleNV")) - gpGetImageTransformParameterfvHP = uintptr(getProcAddr("glGetImageTransformParameterfvHP")) - gpGetImageTransformParameterivHP = uintptr(getProcAddr("glGetImageTransformParameterivHP")) - gpGetInfoLogARB = uintptr(getProcAddr("glGetInfoLogARB")) - gpGetInstrumentsSGIX = uintptr(getProcAddr("glGetInstrumentsSGIX")) - gpGetInteger64v = uintptr(getProcAddr("glGetInteger64v")) - gpGetIntegerIndexedvEXT = uintptr(getProcAddr("glGetIntegerIndexedvEXT")) gpGetIntegeri_v = uintptr(getProcAddr("glGetIntegeri_v")) gpGetIntegerui64i_vNV = uintptr(getProcAddr("glGetIntegerui64i_vNV")) - gpGetIntegerui64vNV = uintptr(getProcAddr("glGetIntegerui64vNV")) gpGetIntegerv = uintptr(getProcAddr("glGetIntegerv")) if gpGetIntegerv == 0 { return errors.New("glGetIntegerv") } - gpGetInternalformatSampleivNV = uintptr(getProcAddr("glGetInternalformatSampleivNV")) - gpGetInternalformati64v = uintptr(getProcAddr("glGetInternalformati64v")) - gpGetInternalformativ = uintptr(getProcAddr("glGetInternalformativ")) - gpGetInvariantBooleanvEXT = uintptr(getProcAddr("glGetInvariantBooleanvEXT")) - gpGetInvariantFloatvEXT = uintptr(getProcAddr("glGetInvariantFloatvEXT")) - gpGetInvariantIntegervEXT = uintptr(getProcAddr("glGetInvariantIntegervEXT")) - gpGetLightfv = uintptr(getProcAddr("glGetLightfv")) - if gpGetLightfv == 0 { - return errors.New("glGetLightfv") - } - gpGetLightiv = uintptr(getProcAddr("glGetLightiv")) - if gpGetLightiv == 0 { - return errors.New("glGetLightiv") - } - gpGetLightxOES = uintptr(getProcAddr("glGetLightxOES")) - gpGetLightxvOES = uintptr(getProcAddr("glGetLightxvOES")) - gpGetListParameterfvSGIX = uintptr(getProcAddr("glGetListParameterfvSGIX")) - gpGetListParameterivSGIX = uintptr(getProcAddr("glGetListParameterivSGIX")) - gpGetLocalConstantBooleanvEXT = uintptr(getProcAddr("glGetLocalConstantBooleanvEXT")) - gpGetLocalConstantFloatvEXT = uintptr(getProcAddr("glGetLocalConstantFloatvEXT")) - gpGetLocalConstantIntegervEXT = uintptr(getProcAddr("glGetLocalConstantIntegervEXT")) - gpGetMapAttribParameterfvNV = uintptr(getProcAddr("glGetMapAttribParameterfvNV")) - gpGetMapAttribParameterivNV = uintptr(getProcAddr("glGetMapAttribParameterivNV")) - gpGetMapControlPointsNV = uintptr(getProcAddr("glGetMapControlPointsNV")) - gpGetMapParameterfvNV = uintptr(getProcAddr("glGetMapParameterfvNV")) - gpGetMapParameterivNV = uintptr(getProcAddr("glGetMapParameterivNV")) - gpGetMapdv = uintptr(getProcAddr("glGetMapdv")) - if gpGetMapdv == 0 { - return errors.New("glGetMapdv") - } - gpGetMapfv = uintptr(getProcAddr("glGetMapfv")) - if gpGetMapfv == 0 { - return errors.New("glGetMapfv") - } - gpGetMapiv = uintptr(getProcAddr("glGetMapiv")) - if gpGetMapiv == 0 { - return errors.New("glGetMapiv") - } - gpGetMapxvOES = uintptr(getProcAddr("glGetMapxvOES")) - gpGetMaterialfv = uintptr(getProcAddr("glGetMaterialfv")) - if gpGetMaterialfv == 0 { - return errors.New("glGetMaterialfv") - } - gpGetMaterialiv = uintptr(getProcAddr("glGetMaterialiv")) - if gpGetMaterialiv == 0 { - return errors.New("glGetMaterialiv") - } - gpGetMaterialxOES = uintptr(getProcAddr("glGetMaterialxOES")) - gpGetMaterialxvOES = uintptr(getProcAddr("glGetMaterialxvOES")) - gpGetMemoryObjectParameterivEXT = uintptr(getProcAddr("glGetMemoryObjectParameterivEXT")) - gpGetMinmaxEXT = uintptr(getProcAddr("glGetMinmaxEXT")) - gpGetMinmaxParameterfvEXT = uintptr(getProcAddr("glGetMinmaxParameterfvEXT")) - gpGetMinmaxParameterivEXT = uintptr(getProcAddr("glGetMinmaxParameterivEXT")) - gpGetMultiTexEnvfvEXT = uintptr(getProcAddr("glGetMultiTexEnvfvEXT")) - gpGetMultiTexEnvivEXT = uintptr(getProcAddr("glGetMultiTexEnvivEXT")) - gpGetMultiTexGendvEXT = uintptr(getProcAddr("glGetMultiTexGendvEXT")) - gpGetMultiTexGenfvEXT = uintptr(getProcAddr("glGetMultiTexGenfvEXT")) - gpGetMultiTexGenivEXT = uintptr(getProcAddr("glGetMultiTexGenivEXT")) - gpGetMultiTexImageEXT = uintptr(getProcAddr("glGetMultiTexImageEXT")) - gpGetMultiTexLevelParameterfvEXT = uintptr(getProcAddr("glGetMultiTexLevelParameterfvEXT")) - gpGetMultiTexLevelParameterivEXT = uintptr(getProcAddr("glGetMultiTexLevelParameterivEXT")) - gpGetMultiTexParameterIivEXT = uintptr(getProcAddr("glGetMultiTexParameterIivEXT")) - gpGetMultiTexParameterIuivEXT = uintptr(getProcAddr("glGetMultiTexParameterIuivEXT")) - gpGetMultiTexParameterfvEXT = uintptr(getProcAddr("glGetMultiTexParameterfvEXT")) - gpGetMultiTexParameterivEXT = uintptr(getProcAddr("glGetMultiTexParameterivEXT")) - gpGetMultisamplefv = uintptr(getProcAddr("glGetMultisamplefv")) - gpGetMultisamplefvNV = uintptr(getProcAddr("glGetMultisamplefvNV")) - gpGetNamedBufferParameteri64v = uintptr(getProcAddr("glGetNamedBufferParameteri64v")) - gpGetNamedBufferParameteriv = uintptr(getProcAddr("glGetNamedBufferParameteriv")) - gpGetNamedBufferParameterivEXT = uintptr(getProcAddr("glGetNamedBufferParameterivEXT")) - gpGetNamedBufferParameterui64vNV = uintptr(getProcAddr("glGetNamedBufferParameterui64vNV")) - gpGetNamedBufferPointerv = uintptr(getProcAddr("glGetNamedBufferPointerv")) - gpGetNamedBufferPointervEXT = uintptr(getProcAddr("glGetNamedBufferPointervEXT")) - gpGetNamedBufferSubData = uintptr(getProcAddr("glGetNamedBufferSubData")) - gpGetNamedBufferSubDataEXT = uintptr(getProcAddr("glGetNamedBufferSubDataEXT")) - gpGetNamedFramebufferAttachmentParameteriv = uintptr(getProcAddr("glGetNamedFramebufferAttachmentParameteriv")) - gpGetNamedFramebufferAttachmentParameterivEXT = uintptr(getProcAddr("glGetNamedFramebufferAttachmentParameterivEXT")) - gpGetNamedFramebufferParameterfvAMD = uintptr(getProcAddr("glGetNamedFramebufferParameterfvAMD")) - gpGetNamedFramebufferParameteriv = uintptr(getProcAddr("glGetNamedFramebufferParameteriv")) - gpGetNamedFramebufferParameterivEXT = uintptr(getProcAddr("glGetNamedFramebufferParameterivEXT")) - gpGetNamedProgramLocalParameterIivEXT = uintptr(getProcAddr("glGetNamedProgramLocalParameterIivEXT")) - gpGetNamedProgramLocalParameterIuivEXT = uintptr(getProcAddr("glGetNamedProgramLocalParameterIuivEXT")) - gpGetNamedProgramLocalParameterdvEXT = uintptr(getProcAddr("glGetNamedProgramLocalParameterdvEXT")) - gpGetNamedProgramLocalParameterfvEXT = uintptr(getProcAddr("glGetNamedProgramLocalParameterfvEXT")) - gpGetNamedProgramStringEXT = uintptr(getProcAddr("glGetNamedProgramStringEXT")) - gpGetNamedProgramivEXT = uintptr(getProcAddr("glGetNamedProgramivEXT")) - gpGetNamedRenderbufferParameteriv = uintptr(getProcAddr("glGetNamedRenderbufferParameteriv")) - gpGetNamedRenderbufferParameterivEXT = uintptr(getProcAddr("glGetNamedRenderbufferParameterivEXT")) - gpGetNamedStringARB = uintptr(getProcAddr("glGetNamedStringARB")) - gpGetNamedStringivARB = uintptr(getProcAddr("glGetNamedStringivARB")) - gpGetNextPerfQueryIdINTEL = uintptr(getProcAddr("glGetNextPerfQueryIdINTEL")) - gpGetObjectBufferfvATI = uintptr(getProcAddr("glGetObjectBufferfvATI")) - gpGetObjectBufferivATI = uintptr(getProcAddr("glGetObjectBufferivATI")) - gpGetObjectLabel = uintptr(getProcAddr("glGetObjectLabel")) - gpGetObjectLabelEXT = uintptr(getProcAddr("glGetObjectLabelEXT")) - gpGetObjectLabelKHR = uintptr(getProcAddr("glGetObjectLabelKHR")) - gpGetObjectParameterfvARB = uintptr(getProcAddr("glGetObjectParameterfvARB")) - gpGetObjectParameterivAPPLE = uintptr(getProcAddr("glGetObjectParameterivAPPLE")) - gpGetObjectParameterivARB = uintptr(getProcAddr("glGetObjectParameterivARB")) - gpGetObjectPtrLabel = uintptr(getProcAddr("glGetObjectPtrLabel")) - gpGetObjectPtrLabelKHR = uintptr(getProcAddr("glGetObjectPtrLabelKHR")) - gpGetOcclusionQueryivNV = uintptr(getProcAddr("glGetOcclusionQueryivNV")) - gpGetOcclusionQueryuivNV = uintptr(getProcAddr("glGetOcclusionQueryuivNV")) - gpGetPathCommandsNV = uintptr(getProcAddr("glGetPathCommandsNV")) - gpGetPathCoordsNV = uintptr(getProcAddr("glGetPathCoordsNV")) - gpGetPathDashArrayNV = uintptr(getProcAddr("glGetPathDashArrayNV")) - gpGetPathLengthNV = uintptr(getProcAddr("glGetPathLengthNV")) - gpGetPathMetricRangeNV = uintptr(getProcAddr("glGetPathMetricRangeNV")) - gpGetPathMetricsNV = uintptr(getProcAddr("glGetPathMetricsNV")) - gpGetPathParameterfvNV = uintptr(getProcAddr("glGetPathParameterfvNV")) - gpGetPathParameterivNV = uintptr(getProcAddr("glGetPathParameterivNV")) - gpGetPathSpacingNV = uintptr(getProcAddr("glGetPathSpacingNV")) - gpGetPerfCounterInfoINTEL = uintptr(getProcAddr("glGetPerfCounterInfoINTEL")) - gpGetPerfMonitorCounterDataAMD = uintptr(getProcAddr("glGetPerfMonitorCounterDataAMD")) - gpGetPerfMonitorCounterInfoAMD = uintptr(getProcAddr("glGetPerfMonitorCounterInfoAMD")) - gpGetPerfMonitorCounterStringAMD = uintptr(getProcAddr("glGetPerfMonitorCounterStringAMD")) - gpGetPerfMonitorCountersAMD = uintptr(getProcAddr("glGetPerfMonitorCountersAMD")) - gpGetPerfMonitorGroupStringAMD = uintptr(getProcAddr("glGetPerfMonitorGroupStringAMD")) - gpGetPerfMonitorGroupsAMD = uintptr(getProcAddr("glGetPerfMonitorGroupsAMD")) - gpGetPerfQueryDataINTEL = uintptr(getProcAddr("glGetPerfQueryDataINTEL")) - gpGetPerfQueryIdByNameINTEL = uintptr(getProcAddr("glGetPerfQueryIdByNameINTEL")) - gpGetPerfQueryInfoINTEL = uintptr(getProcAddr("glGetPerfQueryInfoINTEL")) - gpGetPixelMapfv = uintptr(getProcAddr("glGetPixelMapfv")) - if gpGetPixelMapfv == 0 { - return errors.New("glGetPixelMapfv") - } - gpGetPixelMapuiv = uintptr(getProcAddr("glGetPixelMapuiv")) - if gpGetPixelMapuiv == 0 { - return errors.New("glGetPixelMapuiv") - } - gpGetPixelMapusv = uintptr(getProcAddr("glGetPixelMapusv")) - if gpGetPixelMapusv == 0 { - return errors.New("glGetPixelMapusv") - } - gpGetPixelMapxv = uintptr(getProcAddr("glGetPixelMapxv")) - gpGetPixelTexGenParameterfvSGIS = uintptr(getProcAddr("glGetPixelTexGenParameterfvSGIS")) - gpGetPixelTexGenParameterivSGIS = uintptr(getProcAddr("glGetPixelTexGenParameterivSGIS")) - gpGetPixelTransformParameterfvEXT = uintptr(getProcAddr("glGetPixelTransformParameterfvEXT")) - gpGetPixelTransformParameterivEXT = uintptr(getProcAddr("glGetPixelTransformParameterivEXT")) - gpGetPointerIndexedvEXT = uintptr(getProcAddr("glGetPointerIndexedvEXT")) gpGetPointeri_vEXT = uintptr(getProcAddr("glGetPointeri_vEXT")) - gpGetPointerv = uintptr(getProcAddr("glGetPointerv")) - if gpGetPointerv == 0 { - return errors.New("glGetPointerv") - } - gpGetPointervEXT = uintptr(getProcAddr("glGetPointervEXT")) - gpGetPointervKHR = uintptr(getProcAddr("glGetPointervKHR")) - gpGetPolygonStipple = uintptr(getProcAddr("glGetPolygonStipple")) - if gpGetPolygonStipple == 0 { - return errors.New("glGetPolygonStipple") - } - gpGetProgramBinary = uintptr(getProcAddr("glGetProgramBinary")) - gpGetProgramEnvParameterIivNV = uintptr(getProcAddr("glGetProgramEnvParameterIivNV")) - gpGetProgramEnvParameterIuivNV = uintptr(getProcAddr("glGetProgramEnvParameterIuivNV")) - gpGetProgramEnvParameterdvARB = uintptr(getProcAddr("glGetProgramEnvParameterdvARB")) - gpGetProgramEnvParameterfvARB = uintptr(getProcAddr("glGetProgramEnvParameterfvARB")) - gpGetProgramInfoLog = uintptr(getProcAddr("glGetProgramInfoLog")) - if gpGetProgramInfoLog == 0 { - return errors.New("glGetProgramInfoLog") - } - gpGetProgramInterfaceiv = uintptr(getProcAddr("glGetProgramInterfaceiv")) - gpGetProgramLocalParameterIivNV = uintptr(getProcAddr("glGetProgramLocalParameterIivNV")) - gpGetProgramLocalParameterIuivNV = uintptr(getProcAddr("glGetProgramLocalParameterIuivNV")) - gpGetProgramLocalParameterdvARB = uintptr(getProcAddr("glGetProgramLocalParameterdvARB")) - gpGetProgramLocalParameterfvARB = uintptr(getProcAddr("glGetProgramLocalParameterfvARB")) - gpGetProgramNamedParameterdvNV = uintptr(getProcAddr("glGetProgramNamedParameterdvNV")) - gpGetProgramNamedParameterfvNV = uintptr(getProcAddr("glGetProgramNamedParameterfvNV")) - gpGetProgramParameterdvNV = uintptr(getProcAddr("glGetProgramParameterdvNV")) - gpGetProgramParameterfvNV = uintptr(getProcAddr("glGetProgramParameterfvNV")) - gpGetProgramPipelineInfoLog = uintptr(getProcAddr("glGetProgramPipelineInfoLog")) - gpGetProgramPipelineInfoLogEXT = uintptr(getProcAddr("glGetProgramPipelineInfoLogEXT")) - gpGetProgramPipelineiv = uintptr(getProcAddr("glGetProgramPipelineiv")) - gpGetProgramPipelineivEXT = uintptr(getProcAddr("glGetProgramPipelineivEXT")) - gpGetProgramResourceIndex = uintptr(getProcAddr("glGetProgramResourceIndex")) - gpGetProgramResourceLocation = uintptr(getProcAddr("glGetProgramResourceLocation")) - gpGetProgramResourceLocationIndex = uintptr(getProcAddr("glGetProgramResourceLocationIndex")) - gpGetProgramResourceName = uintptr(getProcAddr("glGetProgramResourceName")) - gpGetProgramResourcefvNV = uintptr(getProcAddr("glGetProgramResourcefvNV")) - gpGetProgramResourceiv = uintptr(getProcAddr("glGetProgramResourceiv")) - gpGetProgramStageiv = uintptr(getProcAddr("glGetProgramStageiv")) - gpGetProgramStringARB = uintptr(getProcAddr("glGetProgramStringARB")) - gpGetProgramStringNV = uintptr(getProcAddr("glGetProgramStringNV")) - gpGetProgramSubroutineParameteruivNV = uintptr(getProcAddr("glGetProgramSubroutineParameteruivNV")) gpGetProgramiv = uintptr(getProcAddr("glGetProgramiv")) if gpGetProgramiv == 0 { return errors.New("glGetProgramiv") } - gpGetProgramivARB = uintptr(getProcAddr("glGetProgramivARB")) - gpGetProgramivNV = uintptr(getProcAddr("glGetProgramivNV")) - gpGetQueryBufferObjecti64v = uintptr(getProcAddr("glGetQueryBufferObjecti64v")) - gpGetQueryBufferObjectiv = uintptr(getProcAddr("glGetQueryBufferObjectiv")) - gpGetQueryBufferObjectui64v = uintptr(getProcAddr("glGetQueryBufferObjectui64v")) - gpGetQueryBufferObjectuiv = uintptr(getProcAddr("glGetQueryBufferObjectuiv")) - gpGetQueryIndexediv = uintptr(getProcAddr("glGetQueryIndexediv")) - gpGetQueryObjecti64v = uintptr(getProcAddr("glGetQueryObjecti64v")) - gpGetQueryObjecti64vEXT = uintptr(getProcAddr("glGetQueryObjecti64vEXT")) - gpGetQueryObjectiv = uintptr(getProcAddr("glGetQueryObjectiv")) - if gpGetQueryObjectiv == 0 { - return errors.New("glGetQueryObjectiv") - } - gpGetQueryObjectivARB = uintptr(getProcAddr("glGetQueryObjectivARB")) - gpGetQueryObjectui64v = uintptr(getProcAddr("glGetQueryObjectui64v")) - gpGetQueryObjectui64vEXT = uintptr(getProcAddr("glGetQueryObjectui64vEXT")) - gpGetQueryObjectuiv = uintptr(getProcAddr("glGetQueryObjectuiv")) - if gpGetQueryObjectuiv == 0 { - return errors.New("glGetQueryObjectuiv") - } - gpGetQueryObjectuivARB = uintptr(getProcAddr("glGetQueryObjectuivARB")) - gpGetQueryiv = uintptr(getProcAddr("glGetQueryiv")) - if gpGetQueryiv == 0 { - return errors.New("glGetQueryiv") - } - gpGetQueryivARB = uintptr(getProcAddr("glGetQueryivARB")) - gpGetRenderbufferParameteriv = uintptr(getProcAddr("glGetRenderbufferParameteriv")) - gpGetRenderbufferParameterivEXT = uintptr(getProcAddr("glGetRenderbufferParameterivEXT")) - gpGetSamplerParameterIiv = uintptr(getProcAddr("glGetSamplerParameterIiv")) - gpGetSamplerParameterIuiv = uintptr(getProcAddr("glGetSamplerParameterIuiv")) - gpGetSamplerParameterfv = uintptr(getProcAddr("glGetSamplerParameterfv")) - gpGetSamplerParameteriv = uintptr(getProcAddr("glGetSamplerParameteriv")) - gpGetSemaphoreParameterui64vEXT = uintptr(getProcAddr("glGetSemaphoreParameterui64vEXT")) - gpGetSeparableFilterEXT = uintptr(getProcAddr("glGetSeparableFilterEXT")) gpGetShaderInfoLog = uintptr(getProcAddr("glGetShaderInfoLog")) if gpGetShaderInfoLog == 0 { return errors.New("glGetShaderInfoLog") } - gpGetShaderPrecisionFormat = uintptr(getProcAddr("glGetShaderPrecisionFormat")) - gpGetShaderSource = uintptr(getProcAddr("glGetShaderSource")) - if gpGetShaderSource == 0 { - return errors.New("glGetShaderSource") - } - gpGetShaderSourceARB = uintptr(getProcAddr("glGetShaderSourceARB")) gpGetShaderiv = uintptr(getProcAddr("glGetShaderiv")) if gpGetShaderiv == 0 { return errors.New("glGetShaderiv") } - gpGetSharpenTexFuncSGIS = uintptr(getProcAddr("glGetSharpenTexFuncSGIS")) - gpGetStageIndexNV = uintptr(getProcAddr("glGetStageIndexNV")) - gpGetString = uintptr(getProcAddr("glGetString")) - if gpGetString == 0 { - return errors.New("glGetString") - } - gpGetSubroutineIndex = uintptr(getProcAddr("glGetSubroutineIndex")) - gpGetSubroutineUniformLocation = uintptr(getProcAddr("glGetSubroutineUniformLocation")) - gpGetSynciv = uintptr(getProcAddr("glGetSynciv")) - gpGetTexBumpParameterfvATI = uintptr(getProcAddr("glGetTexBumpParameterfvATI")) - gpGetTexBumpParameterivATI = uintptr(getProcAddr("glGetTexBumpParameterivATI")) - gpGetTexEnvfv = uintptr(getProcAddr("glGetTexEnvfv")) - if gpGetTexEnvfv == 0 { - return errors.New("glGetTexEnvfv") - } - gpGetTexEnviv = uintptr(getProcAddr("glGetTexEnviv")) - if gpGetTexEnviv == 0 { - return errors.New("glGetTexEnviv") - } - gpGetTexEnvxvOES = uintptr(getProcAddr("glGetTexEnvxvOES")) - gpGetTexFilterFuncSGIS = uintptr(getProcAddr("glGetTexFilterFuncSGIS")) - gpGetTexGendv = uintptr(getProcAddr("glGetTexGendv")) - if gpGetTexGendv == 0 { - return errors.New("glGetTexGendv") - } - gpGetTexGenfv = uintptr(getProcAddr("glGetTexGenfv")) - if gpGetTexGenfv == 0 { - return errors.New("glGetTexGenfv") - } - gpGetTexGeniv = uintptr(getProcAddr("glGetTexGeniv")) - if gpGetTexGeniv == 0 { - return errors.New("glGetTexGeniv") - } - gpGetTexGenxvOES = uintptr(getProcAddr("glGetTexGenxvOES")) - gpGetTexImage = uintptr(getProcAddr("glGetTexImage")) - if gpGetTexImage == 0 { - return errors.New("glGetTexImage") - } - gpGetTexLevelParameterfv = uintptr(getProcAddr("glGetTexLevelParameterfv")) - if gpGetTexLevelParameterfv == 0 { - return errors.New("glGetTexLevelParameterfv") - } - gpGetTexLevelParameteriv = uintptr(getProcAddr("glGetTexLevelParameteriv")) - if gpGetTexLevelParameteriv == 0 { - return errors.New("glGetTexLevelParameteriv") - } - gpGetTexLevelParameterxvOES = uintptr(getProcAddr("glGetTexLevelParameterxvOES")) - gpGetTexParameterIivEXT = uintptr(getProcAddr("glGetTexParameterIivEXT")) - gpGetTexParameterIuivEXT = uintptr(getProcAddr("glGetTexParameterIuivEXT")) - gpGetTexParameterPointervAPPLE = uintptr(getProcAddr("glGetTexParameterPointervAPPLE")) - gpGetTexParameterfv = uintptr(getProcAddr("glGetTexParameterfv")) - if gpGetTexParameterfv == 0 { - return errors.New("glGetTexParameterfv") - } - gpGetTexParameteriv = uintptr(getProcAddr("glGetTexParameteriv")) - if gpGetTexParameteriv == 0 { - return errors.New("glGetTexParameteriv") - } - gpGetTexParameterxvOES = uintptr(getProcAddr("glGetTexParameterxvOES")) - gpGetTextureHandleARB = uintptr(getProcAddr("glGetTextureHandleARB")) - gpGetTextureHandleNV = uintptr(getProcAddr("glGetTextureHandleNV")) - gpGetTextureImage = uintptr(getProcAddr("glGetTextureImage")) - gpGetTextureImageEXT = uintptr(getProcAddr("glGetTextureImageEXT")) - gpGetTextureLevelParameterfv = uintptr(getProcAddr("glGetTextureLevelParameterfv")) - gpGetTextureLevelParameterfvEXT = uintptr(getProcAddr("glGetTextureLevelParameterfvEXT")) - gpGetTextureLevelParameteriv = uintptr(getProcAddr("glGetTextureLevelParameteriv")) - gpGetTextureLevelParameterivEXT = uintptr(getProcAddr("glGetTextureLevelParameterivEXT")) - gpGetTextureParameterIiv = uintptr(getProcAddr("glGetTextureParameterIiv")) - gpGetTextureParameterIivEXT = uintptr(getProcAddr("glGetTextureParameterIivEXT")) - gpGetTextureParameterIuiv = uintptr(getProcAddr("glGetTextureParameterIuiv")) - gpGetTextureParameterIuivEXT = uintptr(getProcAddr("glGetTextureParameterIuivEXT")) - gpGetTextureParameterfv = uintptr(getProcAddr("glGetTextureParameterfv")) - gpGetTextureParameterfvEXT = uintptr(getProcAddr("glGetTextureParameterfvEXT")) - gpGetTextureParameteriv = uintptr(getProcAddr("glGetTextureParameteriv")) - gpGetTextureParameterivEXT = uintptr(getProcAddr("glGetTextureParameterivEXT")) - gpGetTextureSamplerHandleARB = uintptr(getProcAddr("glGetTextureSamplerHandleARB")) - gpGetTextureSamplerHandleNV = uintptr(getProcAddr("glGetTextureSamplerHandleNV")) - gpGetTextureSubImage = uintptr(getProcAddr("glGetTextureSubImage")) - gpGetTrackMatrixivNV = uintptr(getProcAddr("glGetTrackMatrixivNV")) - gpGetTransformFeedbackVaryingEXT = uintptr(getProcAddr("glGetTransformFeedbackVaryingEXT")) - gpGetTransformFeedbackVaryingNV = uintptr(getProcAddr("glGetTransformFeedbackVaryingNV")) gpGetTransformFeedbacki64_v = uintptr(getProcAddr("glGetTransformFeedbacki64_v")) gpGetTransformFeedbacki_v = uintptr(getProcAddr("glGetTransformFeedbacki_v")) - gpGetTransformFeedbackiv = uintptr(getProcAddr("glGetTransformFeedbackiv")) - gpGetUniformBlockIndex = uintptr(getProcAddr("glGetUniformBlockIndex")) - gpGetUniformBufferSizeEXT = uintptr(getProcAddr("glGetUniformBufferSizeEXT")) - gpGetUniformIndices = uintptr(getProcAddr("glGetUniformIndices")) gpGetUniformLocation = uintptr(getProcAddr("glGetUniformLocation")) if gpGetUniformLocation == 0 { return errors.New("glGetUniformLocation") } - gpGetUniformLocationARB = uintptr(getProcAddr("glGetUniformLocationARB")) - gpGetUniformOffsetEXT = uintptr(getProcAddr("glGetUniformOffsetEXT")) - gpGetUniformSubroutineuiv = uintptr(getProcAddr("glGetUniformSubroutineuiv")) - gpGetUniformdv = uintptr(getProcAddr("glGetUniformdv")) - gpGetUniformfv = uintptr(getProcAddr("glGetUniformfv")) - if gpGetUniformfv == 0 { - return errors.New("glGetUniformfv") - } - gpGetUniformfvARB = uintptr(getProcAddr("glGetUniformfvARB")) - gpGetUniformi64vARB = uintptr(getProcAddr("glGetUniformi64vARB")) - gpGetUniformi64vNV = uintptr(getProcAddr("glGetUniformi64vNV")) - gpGetUniformiv = uintptr(getProcAddr("glGetUniformiv")) - if gpGetUniformiv == 0 { - return errors.New("glGetUniformiv") - } - gpGetUniformivARB = uintptr(getProcAddr("glGetUniformivARB")) - gpGetUniformui64vARB = uintptr(getProcAddr("glGetUniformui64vARB")) - gpGetUniformui64vNV = uintptr(getProcAddr("glGetUniformui64vNV")) - gpGetUniformuivEXT = uintptr(getProcAddr("glGetUniformuivEXT")) gpGetUnsignedBytei_vEXT = uintptr(getProcAddr("glGetUnsignedBytei_vEXT")) - gpGetUnsignedBytevEXT = uintptr(getProcAddr("glGetUnsignedBytevEXT")) - gpGetVariantArrayObjectfvATI = uintptr(getProcAddr("glGetVariantArrayObjectfvATI")) - gpGetVariantArrayObjectivATI = uintptr(getProcAddr("glGetVariantArrayObjectivATI")) - gpGetVariantBooleanvEXT = uintptr(getProcAddr("glGetVariantBooleanvEXT")) - gpGetVariantFloatvEXT = uintptr(getProcAddr("glGetVariantFloatvEXT")) - gpGetVariantIntegervEXT = uintptr(getProcAddr("glGetVariantIntegervEXT")) - gpGetVariantPointervEXT = uintptr(getProcAddr("glGetVariantPointervEXT")) - gpGetVaryingLocationNV = uintptr(getProcAddr("glGetVaryingLocationNV")) - gpGetVertexArrayIndexed64iv = uintptr(getProcAddr("glGetVertexArrayIndexed64iv")) - gpGetVertexArrayIndexediv = uintptr(getProcAddr("glGetVertexArrayIndexediv")) gpGetVertexArrayIntegeri_vEXT = uintptr(getProcAddr("glGetVertexArrayIntegeri_vEXT")) - gpGetVertexArrayIntegervEXT = uintptr(getProcAddr("glGetVertexArrayIntegervEXT")) gpGetVertexArrayPointeri_vEXT = uintptr(getProcAddr("glGetVertexArrayPointeri_vEXT")) - gpGetVertexArrayPointervEXT = uintptr(getProcAddr("glGetVertexArrayPointervEXT")) - gpGetVertexArrayiv = uintptr(getProcAddr("glGetVertexArrayiv")) - gpGetVertexAttribArrayObjectfvATI = uintptr(getProcAddr("glGetVertexAttribArrayObjectfvATI")) - gpGetVertexAttribArrayObjectivATI = uintptr(getProcAddr("glGetVertexAttribArrayObjectivATI")) - gpGetVertexAttribIivEXT = uintptr(getProcAddr("glGetVertexAttribIivEXT")) - gpGetVertexAttribIuivEXT = uintptr(getProcAddr("glGetVertexAttribIuivEXT")) - gpGetVertexAttribLdv = uintptr(getProcAddr("glGetVertexAttribLdv")) - gpGetVertexAttribLdvEXT = uintptr(getProcAddr("glGetVertexAttribLdvEXT")) - gpGetVertexAttribLi64vNV = uintptr(getProcAddr("glGetVertexAttribLi64vNV")) - gpGetVertexAttribLui64vARB = uintptr(getProcAddr("glGetVertexAttribLui64vARB")) - gpGetVertexAttribLui64vNV = uintptr(getProcAddr("glGetVertexAttribLui64vNV")) - gpGetVertexAttribPointerv = uintptr(getProcAddr("glGetVertexAttribPointerv")) - if gpGetVertexAttribPointerv == 0 { - return errors.New("glGetVertexAttribPointerv") - } - gpGetVertexAttribPointervARB = uintptr(getProcAddr("glGetVertexAttribPointervARB")) - gpGetVertexAttribPointervNV = uintptr(getProcAddr("glGetVertexAttribPointervNV")) - gpGetVertexAttribdv = uintptr(getProcAddr("glGetVertexAttribdv")) - if gpGetVertexAttribdv == 0 { - return errors.New("glGetVertexAttribdv") - } - gpGetVertexAttribdvARB = uintptr(getProcAddr("glGetVertexAttribdvARB")) - gpGetVertexAttribdvNV = uintptr(getProcAddr("glGetVertexAttribdvNV")) - gpGetVertexAttribfv = uintptr(getProcAddr("glGetVertexAttribfv")) - if gpGetVertexAttribfv == 0 { - return errors.New("glGetVertexAttribfv") - } - gpGetVertexAttribfvARB = uintptr(getProcAddr("glGetVertexAttribfvARB")) - gpGetVertexAttribfvNV = uintptr(getProcAddr("glGetVertexAttribfvNV")) - gpGetVertexAttribiv = uintptr(getProcAddr("glGetVertexAttribiv")) - if gpGetVertexAttribiv == 0 { - return errors.New("glGetVertexAttribiv") - } - gpGetVertexAttribivARB = uintptr(getProcAddr("glGetVertexAttribivARB")) - gpGetVertexAttribivNV = uintptr(getProcAddr("glGetVertexAttribivNV")) - gpGetVideoCaptureStreamdvNV = uintptr(getProcAddr("glGetVideoCaptureStreamdvNV")) - gpGetVideoCaptureStreamfvNV = uintptr(getProcAddr("glGetVideoCaptureStreamfvNV")) - gpGetVideoCaptureStreamivNV = uintptr(getProcAddr("glGetVideoCaptureStreamivNV")) - gpGetVideoCaptureivNV = uintptr(getProcAddr("glGetVideoCaptureivNV")) - gpGetVideoi64vNV = uintptr(getProcAddr("glGetVideoi64vNV")) - gpGetVideoivNV = uintptr(getProcAddr("glGetVideoivNV")) - gpGetVideoui64vNV = uintptr(getProcAddr("glGetVideoui64vNV")) - gpGetVideouivNV = uintptr(getProcAddr("glGetVideouivNV")) - gpGetVkProcAddrNV = uintptr(getProcAddr("glGetVkProcAddrNV")) - gpGetnCompressedTexImageARB = uintptr(getProcAddr("glGetnCompressedTexImageARB")) - gpGetnTexImageARB = uintptr(getProcAddr("glGetnTexImageARB")) - gpGetnUniformdvARB = uintptr(getProcAddr("glGetnUniformdvARB")) - gpGetnUniformfv = uintptr(getProcAddr("glGetnUniformfv")) - gpGetnUniformfvARB = uintptr(getProcAddr("glGetnUniformfvARB")) - gpGetnUniformfvKHR = uintptr(getProcAddr("glGetnUniformfvKHR")) - gpGetnUniformi64vARB = uintptr(getProcAddr("glGetnUniformi64vARB")) - gpGetnUniformiv = uintptr(getProcAddr("glGetnUniformiv")) - gpGetnUniformivARB = uintptr(getProcAddr("glGetnUniformivARB")) - gpGetnUniformivKHR = uintptr(getProcAddr("glGetnUniformivKHR")) - gpGetnUniformui64vARB = uintptr(getProcAddr("glGetnUniformui64vARB")) - gpGetnUniformuiv = uintptr(getProcAddr("glGetnUniformuiv")) - gpGetnUniformuivARB = uintptr(getProcAddr("glGetnUniformuivARB")) - gpGetnUniformuivKHR = uintptr(getProcAddr("glGetnUniformuivKHR")) - gpGlobalAlphaFactorbSUN = uintptr(getProcAddr("glGlobalAlphaFactorbSUN")) - gpGlobalAlphaFactordSUN = uintptr(getProcAddr("glGlobalAlphaFactordSUN")) - gpGlobalAlphaFactorfSUN = uintptr(getProcAddr("glGlobalAlphaFactorfSUN")) - gpGlobalAlphaFactoriSUN = uintptr(getProcAddr("glGlobalAlphaFactoriSUN")) - gpGlobalAlphaFactorsSUN = uintptr(getProcAddr("glGlobalAlphaFactorsSUN")) - gpGlobalAlphaFactorubSUN = uintptr(getProcAddr("glGlobalAlphaFactorubSUN")) - gpGlobalAlphaFactoruiSUN = uintptr(getProcAddr("glGlobalAlphaFactoruiSUN")) - gpGlobalAlphaFactorusSUN = uintptr(getProcAddr("glGlobalAlphaFactorusSUN")) - gpHint = uintptr(getProcAddr("glHint")) - if gpHint == 0 { - return errors.New("glHint") - } - gpHintPGI = uintptr(getProcAddr("glHintPGI")) - gpHistogramEXT = uintptr(getProcAddr("glHistogramEXT")) - gpIglooInterfaceSGIX = uintptr(getProcAddr("glIglooInterfaceSGIX")) - gpImageTransformParameterfHP = uintptr(getProcAddr("glImageTransformParameterfHP")) - gpImageTransformParameterfvHP = uintptr(getProcAddr("glImageTransformParameterfvHP")) - gpImageTransformParameteriHP = uintptr(getProcAddr("glImageTransformParameteriHP")) - gpImageTransformParameterivHP = uintptr(getProcAddr("glImageTransformParameterivHP")) - gpImportMemoryFdEXT = uintptr(getProcAddr("glImportMemoryFdEXT")) - gpImportMemoryWin32HandleEXT = uintptr(getProcAddr("glImportMemoryWin32HandleEXT")) - gpImportMemoryWin32NameEXT = uintptr(getProcAddr("glImportMemoryWin32NameEXT")) - gpImportSemaphoreFdEXT = uintptr(getProcAddr("glImportSemaphoreFdEXT")) - gpImportSemaphoreWin32HandleEXT = uintptr(getProcAddr("glImportSemaphoreWin32HandleEXT")) - gpImportSemaphoreWin32NameEXT = uintptr(getProcAddr("glImportSemaphoreWin32NameEXT")) - gpImportSyncEXT = uintptr(getProcAddr("glImportSyncEXT")) - gpIndexFormatNV = uintptr(getProcAddr("glIndexFormatNV")) - gpIndexFuncEXT = uintptr(getProcAddr("glIndexFuncEXT")) - gpIndexMask = uintptr(getProcAddr("glIndexMask")) - if gpIndexMask == 0 { - return errors.New("glIndexMask") - } - gpIndexMaterialEXT = uintptr(getProcAddr("glIndexMaterialEXT")) - gpIndexPointer = uintptr(getProcAddr("glIndexPointer")) - if gpIndexPointer == 0 { - return errors.New("glIndexPointer") - } - gpIndexPointerEXT = uintptr(getProcAddr("glIndexPointerEXT")) - gpIndexPointerListIBM = uintptr(getProcAddr("glIndexPointerListIBM")) - gpIndexd = uintptr(getProcAddr("glIndexd")) - if gpIndexd == 0 { - return errors.New("glIndexd") - } - gpIndexdv = uintptr(getProcAddr("glIndexdv")) - if gpIndexdv == 0 { - return errors.New("glIndexdv") - } - gpIndexf = uintptr(getProcAddr("glIndexf")) - if gpIndexf == 0 { - return errors.New("glIndexf") - } - gpIndexfv = uintptr(getProcAddr("glIndexfv")) - if gpIndexfv == 0 { - return errors.New("glIndexfv") - } - gpIndexi = uintptr(getProcAddr("glIndexi")) - if gpIndexi == 0 { - return errors.New("glIndexi") - } - gpIndexiv = uintptr(getProcAddr("glIndexiv")) - if gpIndexiv == 0 { - return errors.New("glIndexiv") - } - gpIndexs = uintptr(getProcAddr("glIndexs")) - if gpIndexs == 0 { - return errors.New("glIndexs") - } - gpIndexsv = uintptr(getProcAddr("glIndexsv")) - if gpIndexsv == 0 { - return errors.New("glIndexsv") - } - gpIndexub = uintptr(getProcAddr("glIndexub")) - if gpIndexub == 0 { - return errors.New("glIndexub") - } - gpIndexubv = uintptr(getProcAddr("glIndexubv")) - if gpIndexubv == 0 { - return errors.New("glIndexubv") - } - gpIndexxOES = uintptr(getProcAddr("glIndexxOES")) - gpIndexxvOES = uintptr(getProcAddr("glIndexxvOES")) - gpInitNames = uintptr(getProcAddr("glInitNames")) - if gpInitNames == 0 { - return errors.New("glInitNames") - } - gpInsertComponentEXT = uintptr(getProcAddr("glInsertComponentEXT")) - gpInsertEventMarkerEXT = uintptr(getProcAddr("glInsertEventMarkerEXT")) - gpInstrumentsBufferSGIX = uintptr(getProcAddr("glInstrumentsBufferSGIX")) - gpInterleavedArrays = uintptr(getProcAddr("glInterleavedArrays")) - if gpInterleavedArrays == 0 { - return errors.New("glInterleavedArrays") - } - gpInterpolatePathsNV = uintptr(getProcAddr("glInterpolatePathsNV")) - gpInvalidateBufferData = uintptr(getProcAddr("glInvalidateBufferData")) - gpInvalidateBufferSubData = uintptr(getProcAddr("glInvalidateBufferSubData")) - gpInvalidateFramebuffer = uintptr(getProcAddr("glInvalidateFramebuffer")) - gpInvalidateNamedFramebufferData = uintptr(getProcAddr("glInvalidateNamedFramebufferData")) - gpInvalidateNamedFramebufferSubData = uintptr(getProcAddr("glInvalidateNamedFramebufferSubData")) - gpInvalidateSubFramebuffer = uintptr(getProcAddr("glInvalidateSubFramebuffer")) - gpInvalidateTexImage = uintptr(getProcAddr("glInvalidateTexImage")) - gpInvalidateTexSubImage = uintptr(getProcAddr("glInvalidateTexSubImage")) - gpIsAsyncMarkerSGIX = uintptr(getProcAddr("glIsAsyncMarkerSGIX")) - gpIsBuffer = uintptr(getProcAddr("glIsBuffer")) - if gpIsBuffer == 0 { - return errors.New("glIsBuffer") - } - gpIsBufferARB = uintptr(getProcAddr("glIsBufferARB")) - gpIsBufferResidentNV = uintptr(getProcAddr("glIsBufferResidentNV")) - gpIsCommandListNV = uintptr(getProcAddr("glIsCommandListNV")) - gpIsEnabled = uintptr(getProcAddr("glIsEnabled")) - if gpIsEnabled == 0 { - return errors.New("glIsEnabled") - } - gpIsEnabledIndexedEXT = uintptr(getProcAddr("glIsEnabledIndexedEXT")) - gpIsFenceAPPLE = uintptr(getProcAddr("glIsFenceAPPLE")) - gpIsFenceNV = uintptr(getProcAddr("glIsFenceNV")) - gpIsFramebuffer = uintptr(getProcAddr("glIsFramebuffer")) gpIsFramebufferEXT = uintptr(getProcAddr("glIsFramebufferEXT")) - gpIsImageHandleResidentARB = uintptr(getProcAddr("glIsImageHandleResidentARB")) - gpIsImageHandleResidentNV = uintptr(getProcAddr("glIsImageHandleResidentNV")) - gpIsList = uintptr(getProcAddr("glIsList")) - if gpIsList == 0 { - return errors.New("glIsList") - } - gpIsMemoryObjectEXT = uintptr(getProcAddr("glIsMemoryObjectEXT")) - gpIsNameAMD = uintptr(getProcAddr("glIsNameAMD")) - gpIsNamedBufferResidentNV = uintptr(getProcAddr("glIsNamedBufferResidentNV")) - gpIsNamedStringARB = uintptr(getProcAddr("glIsNamedStringARB")) - gpIsObjectBufferATI = uintptr(getProcAddr("glIsObjectBufferATI")) - gpIsOcclusionQueryNV = uintptr(getProcAddr("glIsOcclusionQueryNV")) - gpIsPathNV = uintptr(getProcAddr("glIsPathNV")) - gpIsPointInFillPathNV = uintptr(getProcAddr("glIsPointInFillPathNV")) - gpIsPointInStrokePathNV = uintptr(getProcAddr("glIsPointInStrokePathNV")) gpIsProgram = uintptr(getProcAddr("glIsProgram")) if gpIsProgram == 0 { return errors.New("glIsProgram") } - gpIsProgramARB = uintptr(getProcAddr("glIsProgramARB")) - gpIsProgramNV = uintptr(getProcAddr("glIsProgramNV")) - gpIsProgramPipeline = uintptr(getProcAddr("glIsProgramPipeline")) - gpIsProgramPipelineEXT = uintptr(getProcAddr("glIsProgramPipelineEXT")) - gpIsQuery = uintptr(getProcAddr("glIsQuery")) - if gpIsQuery == 0 { - return errors.New("glIsQuery") - } - gpIsQueryARB = uintptr(getProcAddr("glIsQueryARB")) - gpIsRenderbuffer = uintptr(getProcAddr("glIsRenderbuffer")) - gpIsRenderbufferEXT = uintptr(getProcAddr("glIsRenderbufferEXT")) - gpIsSampler = uintptr(getProcAddr("glIsSampler")) - gpIsSemaphoreEXT = uintptr(getProcAddr("glIsSemaphoreEXT")) - gpIsShader = uintptr(getProcAddr("glIsShader")) - if gpIsShader == 0 { - return errors.New("glIsShader") - } - gpIsStateNV = uintptr(getProcAddr("glIsStateNV")) - gpIsSync = uintptr(getProcAddr("glIsSync")) gpIsTexture = uintptr(getProcAddr("glIsTexture")) if gpIsTexture == 0 { return errors.New("glIsTexture") } - gpIsTextureEXT = uintptr(getProcAddr("glIsTextureEXT")) - gpIsTextureHandleResidentARB = uintptr(getProcAddr("glIsTextureHandleResidentARB")) - gpIsTextureHandleResidentNV = uintptr(getProcAddr("glIsTextureHandleResidentNV")) - gpIsTransformFeedback = uintptr(getProcAddr("glIsTransformFeedback")) - gpIsTransformFeedbackNV = uintptr(getProcAddr("glIsTransformFeedbackNV")) - gpIsVariantEnabledEXT = uintptr(getProcAddr("glIsVariantEnabledEXT")) - gpIsVertexArray = uintptr(getProcAddr("glIsVertexArray")) - gpIsVertexArrayAPPLE = uintptr(getProcAddr("glIsVertexArrayAPPLE")) - gpIsVertexAttribEnabledAPPLE = uintptr(getProcAddr("glIsVertexAttribEnabledAPPLE")) - gpLGPUCopyImageSubDataNVX = uintptr(getProcAddr("glLGPUCopyImageSubDataNVX")) - gpLGPUInterlockNVX = uintptr(getProcAddr("glLGPUInterlockNVX")) - gpLGPUNamedBufferSubDataNVX = uintptr(getProcAddr("glLGPUNamedBufferSubDataNVX")) - gpLabelObjectEXT = uintptr(getProcAddr("glLabelObjectEXT")) - gpLightEnviSGIX = uintptr(getProcAddr("glLightEnviSGIX")) - gpLightModelf = uintptr(getProcAddr("glLightModelf")) - if gpLightModelf == 0 { - return errors.New("glLightModelf") - } - gpLightModelfv = uintptr(getProcAddr("glLightModelfv")) - if gpLightModelfv == 0 { - return errors.New("glLightModelfv") - } - gpLightModeli = uintptr(getProcAddr("glLightModeli")) - if gpLightModeli == 0 { - return errors.New("glLightModeli") - } - gpLightModeliv = uintptr(getProcAddr("glLightModeliv")) - if gpLightModeliv == 0 { - return errors.New("glLightModeliv") - } - gpLightModelxOES = uintptr(getProcAddr("glLightModelxOES")) - gpLightModelxvOES = uintptr(getProcAddr("glLightModelxvOES")) - gpLightf = uintptr(getProcAddr("glLightf")) - if gpLightf == 0 { - return errors.New("glLightf") - } - gpLightfv = uintptr(getProcAddr("glLightfv")) - if gpLightfv == 0 { - return errors.New("glLightfv") - } - gpLighti = uintptr(getProcAddr("glLighti")) - if gpLighti == 0 { - return errors.New("glLighti") - } - gpLightiv = uintptr(getProcAddr("glLightiv")) - if gpLightiv == 0 { - return errors.New("glLightiv") - } - gpLightxOES = uintptr(getProcAddr("glLightxOES")) - gpLightxvOES = uintptr(getProcAddr("glLightxvOES")) - gpLineStipple = uintptr(getProcAddr("glLineStipple")) - if gpLineStipple == 0 { - return errors.New("glLineStipple") - } - gpLineWidth = uintptr(getProcAddr("glLineWidth")) - if gpLineWidth == 0 { - return errors.New("glLineWidth") - } - gpLineWidthxOES = uintptr(getProcAddr("glLineWidthxOES")) gpLinkProgram = uintptr(getProcAddr("glLinkProgram")) if gpLinkProgram == 0 { return errors.New("glLinkProgram") } - gpLinkProgramARB = uintptr(getProcAddr("glLinkProgramARB")) - gpListBase = uintptr(getProcAddr("glListBase")) - if gpListBase == 0 { - return errors.New("glListBase") - } - gpListDrawCommandsStatesClientNV = uintptr(getProcAddr("glListDrawCommandsStatesClientNV")) - gpListParameterfSGIX = uintptr(getProcAddr("glListParameterfSGIX")) - gpListParameterfvSGIX = uintptr(getProcAddr("glListParameterfvSGIX")) - gpListParameteriSGIX = uintptr(getProcAddr("glListParameteriSGIX")) - gpListParameterivSGIX = uintptr(getProcAddr("glListParameterivSGIX")) - gpLoadIdentity = uintptr(getProcAddr("glLoadIdentity")) - if gpLoadIdentity == 0 { - return errors.New("glLoadIdentity") - } - gpLoadIdentityDeformationMapSGIX = uintptr(getProcAddr("glLoadIdentityDeformationMapSGIX")) - gpLoadMatrixd = uintptr(getProcAddr("glLoadMatrixd")) - if gpLoadMatrixd == 0 { - return errors.New("glLoadMatrixd") - } - gpLoadMatrixf = uintptr(getProcAddr("glLoadMatrixf")) - if gpLoadMatrixf == 0 { - return errors.New("glLoadMatrixf") - } - gpLoadMatrixxOES = uintptr(getProcAddr("glLoadMatrixxOES")) - gpLoadName = uintptr(getProcAddr("glLoadName")) - if gpLoadName == 0 { - return errors.New("glLoadName") - } - gpLoadProgramNV = uintptr(getProcAddr("glLoadProgramNV")) - gpLoadTransposeMatrixd = uintptr(getProcAddr("glLoadTransposeMatrixd")) - if gpLoadTransposeMatrixd == 0 { - return errors.New("glLoadTransposeMatrixd") - } - gpLoadTransposeMatrixdARB = uintptr(getProcAddr("glLoadTransposeMatrixdARB")) - gpLoadTransposeMatrixf = uintptr(getProcAddr("glLoadTransposeMatrixf")) - if gpLoadTransposeMatrixf == 0 { - return errors.New("glLoadTransposeMatrixf") - } - gpLoadTransposeMatrixfARB = uintptr(getProcAddr("glLoadTransposeMatrixfARB")) - gpLoadTransposeMatrixxOES = uintptr(getProcAddr("glLoadTransposeMatrixxOES")) - gpLockArraysEXT = uintptr(getProcAddr("glLockArraysEXT")) - gpLogicOp = uintptr(getProcAddr("glLogicOp")) - if gpLogicOp == 0 { - return errors.New("glLogicOp") - } - gpMakeBufferNonResidentNV = uintptr(getProcAddr("glMakeBufferNonResidentNV")) - gpMakeBufferResidentNV = uintptr(getProcAddr("glMakeBufferResidentNV")) - gpMakeImageHandleNonResidentARB = uintptr(getProcAddr("glMakeImageHandleNonResidentARB")) - gpMakeImageHandleNonResidentNV = uintptr(getProcAddr("glMakeImageHandleNonResidentNV")) - gpMakeImageHandleResidentARB = uintptr(getProcAddr("glMakeImageHandleResidentARB")) - gpMakeImageHandleResidentNV = uintptr(getProcAddr("glMakeImageHandleResidentNV")) - gpMakeNamedBufferNonResidentNV = uintptr(getProcAddr("glMakeNamedBufferNonResidentNV")) - gpMakeNamedBufferResidentNV = uintptr(getProcAddr("glMakeNamedBufferResidentNV")) - gpMakeTextureHandleNonResidentARB = uintptr(getProcAddr("glMakeTextureHandleNonResidentARB")) - gpMakeTextureHandleNonResidentNV = uintptr(getProcAddr("glMakeTextureHandleNonResidentNV")) - gpMakeTextureHandleResidentARB = uintptr(getProcAddr("glMakeTextureHandleResidentARB")) - gpMakeTextureHandleResidentNV = uintptr(getProcAddr("glMakeTextureHandleResidentNV")) - gpMap1d = uintptr(getProcAddr("glMap1d")) - if gpMap1d == 0 { - return errors.New("glMap1d") - } - gpMap1f = uintptr(getProcAddr("glMap1f")) - if gpMap1f == 0 { - return errors.New("glMap1f") - } - gpMap1xOES = uintptr(getProcAddr("glMap1xOES")) - gpMap2d = uintptr(getProcAddr("glMap2d")) - if gpMap2d == 0 { - return errors.New("glMap2d") - } - gpMap2f = uintptr(getProcAddr("glMap2f")) - if gpMap2f == 0 { - return errors.New("glMap2f") - } - gpMap2xOES = uintptr(getProcAddr("glMap2xOES")) - gpMapBuffer = uintptr(getProcAddr("glMapBuffer")) - if gpMapBuffer == 0 { - return errors.New("glMapBuffer") - } - gpMapBufferARB = uintptr(getProcAddr("glMapBufferARB")) - gpMapBufferRange = uintptr(getProcAddr("glMapBufferRange")) - gpMapControlPointsNV = uintptr(getProcAddr("glMapControlPointsNV")) - gpMapGrid1d = uintptr(getProcAddr("glMapGrid1d")) - if gpMapGrid1d == 0 { - return errors.New("glMapGrid1d") - } - gpMapGrid1f = uintptr(getProcAddr("glMapGrid1f")) - if gpMapGrid1f == 0 { - return errors.New("glMapGrid1f") - } - gpMapGrid1xOES = uintptr(getProcAddr("glMapGrid1xOES")) - gpMapGrid2d = uintptr(getProcAddr("glMapGrid2d")) - if gpMapGrid2d == 0 { - return errors.New("glMapGrid2d") - } - gpMapGrid2f = uintptr(getProcAddr("glMapGrid2f")) - if gpMapGrid2f == 0 { - return errors.New("glMapGrid2f") - } - gpMapGrid2xOES = uintptr(getProcAddr("glMapGrid2xOES")) - gpMapNamedBuffer = uintptr(getProcAddr("glMapNamedBuffer")) - gpMapNamedBufferEXT = uintptr(getProcAddr("glMapNamedBufferEXT")) - gpMapNamedBufferRange = uintptr(getProcAddr("glMapNamedBufferRange")) - gpMapNamedBufferRangeEXT = uintptr(getProcAddr("glMapNamedBufferRangeEXT")) - gpMapObjectBufferATI = uintptr(getProcAddr("glMapObjectBufferATI")) - gpMapParameterfvNV = uintptr(getProcAddr("glMapParameterfvNV")) - gpMapParameterivNV = uintptr(getProcAddr("glMapParameterivNV")) - gpMapTexture2DINTEL = uintptr(getProcAddr("glMapTexture2DINTEL")) - gpMapVertexAttrib1dAPPLE = uintptr(getProcAddr("glMapVertexAttrib1dAPPLE")) - gpMapVertexAttrib1fAPPLE = uintptr(getProcAddr("glMapVertexAttrib1fAPPLE")) - gpMapVertexAttrib2dAPPLE = uintptr(getProcAddr("glMapVertexAttrib2dAPPLE")) - gpMapVertexAttrib2fAPPLE = uintptr(getProcAddr("glMapVertexAttrib2fAPPLE")) - gpMaterialf = uintptr(getProcAddr("glMaterialf")) - if gpMaterialf == 0 { - return errors.New("glMaterialf") - } - gpMaterialfv = uintptr(getProcAddr("glMaterialfv")) - if gpMaterialfv == 0 { - return errors.New("glMaterialfv") - } - gpMateriali = uintptr(getProcAddr("glMateriali")) - if gpMateriali == 0 { - return errors.New("glMateriali") - } - gpMaterialiv = uintptr(getProcAddr("glMaterialiv")) - if gpMaterialiv == 0 { - return errors.New("glMaterialiv") - } - gpMaterialxOES = uintptr(getProcAddr("glMaterialxOES")) - gpMaterialxvOES = uintptr(getProcAddr("glMaterialxvOES")) - gpMatrixFrustumEXT = uintptr(getProcAddr("glMatrixFrustumEXT")) - gpMatrixIndexPointerARB = uintptr(getProcAddr("glMatrixIndexPointerARB")) - gpMatrixIndexubvARB = uintptr(getProcAddr("glMatrixIndexubvARB")) - gpMatrixIndexuivARB = uintptr(getProcAddr("glMatrixIndexuivARB")) - gpMatrixIndexusvARB = uintptr(getProcAddr("glMatrixIndexusvARB")) - gpMatrixLoad3x2fNV = uintptr(getProcAddr("glMatrixLoad3x2fNV")) - gpMatrixLoad3x3fNV = uintptr(getProcAddr("glMatrixLoad3x3fNV")) - gpMatrixLoadIdentityEXT = uintptr(getProcAddr("glMatrixLoadIdentityEXT")) - gpMatrixLoadTranspose3x3fNV = uintptr(getProcAddr("glMatrixLoadTranspose3x3fNV")) - gpMatrixLoadTransposedEXT = uintptr(getProcAddr("glMatrixLoadTransposedEXT")) - gpMatrixLoadTransposefEXT = uintptr(getProcAddr("glMatrixLoadTransposefEXT")) - gpMatrixLoaddEXT = uintptr(getProcAddr("glMatrixLoaddEXT")) - gpMatrixLoadfEXT = uintptr(getProcAddr("glMatrixLoadfEXT")) - gpMatrixMode = uintptr(getProcAddr("glMatrixMode")) - if gpMatrixMode == 0 { - return errors.New("glMatrixMode") - } - gpMatrixMult3x2fNV = uintptr(getProcAddr("glMatrixMult3x2fNV")) - gpMatrixMult3x3fNV = uintptr(getProcAddr("glMatrixMult3x3fNV")) - gpMatrixMultTranspose3x3fNV = uintptr(getProcAddr("glMatrixMultTranspose3x3fNV")) - gpMatrixMultTransposedEXT = uintptr(getProcAddr("glMatrixMultTransposedEXT")) - gpMatrixMultTransposefEXT = uintptr(getProcAddr("glMatrixMultTransposefEXT")) - gpMatrixMultdEXT = uintptr(getProcAddr("glMatrixMultdEXT")) - gpMatrixMultfEXT = uintptr(getProcAddr("glMatrixMultfEXT")) - gpMatrixOrthoEXT = uintptr(getProcAddr("glMatrixOrthoEXT")) - gpMatrixPopEXT = uintptr(getProcAddr("glMatrixPopEXT")) - gpMatrixPushEXT = uintptr(getProcAddr("glMatrixPushEXT")) - gpMatrixRotatedEXT = uintptr(getProcAddr("glMatrixRotatedEXT")) - gpMatrixRotatefEXT = uintptr(getProcAddr("glMatrixRotatefEXT")) - gpMatrixScaledEXT = uintptr(getProcAddr("glMatrixScaledEXT")) - gpMatrixScalefEXT = uintptr(getProcAddr("glMatrixScalefEXT")) - gpMatrixTranslatedEXT = uintptr(getProcAddr("glMatrixTranslatedEXT")) - gpMatrixTranslatefEXT = uintptr(getProcAddr("glMatrixTranslatefEXT")) - gpMaxShaderCompilerThreadsARB = uintptr(getProcAddr("glMaxShaderCompilerThreadsARB")) - gpMaxShaderCompilerThreadsKHR = uintptr(getProcAddr("glMaxShaderCompilerThreadsKHR")) - gpMemoryBarrier = uintptr(getProcAddr("glMemoryBarrier")) - gpMemoryBarrierByRegion = uintptr(getProcAddr("glMemoryBarrierByRegion")) - gpMemoryBarrierEXT = uintptr(getProcAddr("glMemoryBarrierEXT")) - gpMemoryObjectParameterivEXT = uintptr(getProcAddr("glMemoryObjectParameterivEXT")) - gpMinSampleShadingARB = uintptr(getProcAddr("glMinSampleShadingARB")) - gpMinmaxEXT = uintptr(getProcAddr("glMinmaxEXT")) - gpMultMatrixd = uintptr(getProcAddr("glMultMatrixd")) - if gpMultMatrixd == 0 { - return errors.New("glMultMatrixd") - } - gpMultMatrixf = uintptr(getProcAddr("glMultMatrixf")) - if gpMultMatrixf == 0 { - return errors.New("glMultMatrixf") - } - gpMultMatrixxOES = uintptr(getProcAddr("glMultMatrixxOES")) - gpMultTransposeMatrixd = uintptr(getProcAddr("glMultTransposeMatrixd")) - if gpMultTransposeMatrixd == 0 { - return errors.New("glMultTransposeMatrixd") - } - gpMultTransposeMatrixdARB = uintptr(getProcAddr("glMultTransposeMatrixdARB")) - gpMultTransposeMatrixf = uintptr(getProcAddr("glMultTransposeMatrixf")) - if gpMultTransposeMatrixf == 0 { - return errors.New("glMultTransposeMatrixf") - } - gpMultTransposeMatrixfARB = uintptr(getProcAddr("glMultTransposeMatrixfARB")) - gpMultTransposeMatrixxOES = uintptr(getProcAddr("glMultTransposeMatrixxOES")) - gpMultiDrawArrays = uintptr(getProcAddr("glMultiDrawArrays")) - if gpMultiDrawArrays == 0 { - return errors.New("glMultiDrawArrays") - } - gpMultiDrawArraysEXT = uintptr(getProcAddr("glMultiDrawArraysEXT")) - gpMultiDrawArraysIndirect = uintptr(getProcAddr("glMultiDrawArraysIndirect")) - gpMultiDrawArraysIndirectAMD = uintptr(getProcAddr("glMultiDrawArraysIndirectAMD")) - gpMultiDrawArraysIndirectBindlessCountNV = uintptr(getProcAddr("glMultiDrawArraysIndirectBindlessCountNV")) - gpMultiDrawArraysIndirectBindlessNV = uintptr(getProcAddr("glMultiDrawArraysIndirectBindlessNV")) - gpMultiDrawArraysIndirectCountARB = uintptr(getProcAddr("glMultiDrawArraysIndirectCountARB")) - gpMultiDrawElementArrayAPPLE = uintptr(getProcAddr("glMultiDrawElementArrayAPPLE")) - gpMultiDrawElements = uintptr(getProcAddr("glMultiDrawElements")) - if gpMultiDrawElements == 0 { - return errors.New("glMultiDrawElements") - } - gpMultiDrawElementsBaseVertex = uintptr(getProcAddr("glMultiDrawElementsBaseVertex")) - gpMultiDrawElementsEXT = uintptr(getProcAddr("glMultiDrawElementsEXT")) - gpMultiDrawElementsIndirect = uintptr(getProcAddr("glMultiDrawElementsIndirect")) - gpMultiDrawElementsIndirectAMD = uintptr(getProcAddr("glMultiDrawElementsIndirectAMD")) - gpMultiDrawElementsIndirectBindlessCountNV = uintptr(getProcAddr("glMultiDrawElementsIndirectBindlessCountNV")) - gpMultiDrawElementsIndirectBindlessNV = uintptr(getProcAddr("glMultiDrawElementsIndirectBindlessNV")) - gpMultiDrawElementsIndirectCountARB = uintptr(getProcAddr("glMultiDrawElementsIndirectCountARB")) - gpMultiDrawRangeElementArrayAPPLE = uintptr(getProcAddr("glMultiDrawRangeElementArrayAPPLE")) - gpMultiModeDrawArraysIBM = uintptr(getProcAddr("glMultiModeDrawArraysIBM")) - gpMultiModeDrawElementsIBM = uintptr(getProcAddr("glMultiModeDrawElementsIBM")) - gpMultiTexBufferEXT = uintptr(getProcAddr("glMultiTexBufferEXT")) - gpMultiTexCoord1bOES = uintptr(getProcAddr("glMultiTexCoord1bOES")) - gpMultiTexCoord1bvOES = uintptr(getProcAddr("glMultiTexCoord1bvOES")) - gpMultiTexCoord1d = uintptr(getProcAddr("glMultiTexCoord1d")) - if gpMultiTexCoord1d == 0 { - return errors.New("glMultiTexCoord1d") - } - gpMultiTexCoord1dARB = uintptr(getProcAddr("glMultiTexCoord1dARB")) - gpMultiTexCoord1dv = uintptr(getProcAddr("glMultiTexCoord1dv")) - if gpMultiTexCoord1dv == 0 { - return errors.New("glMultiTexCoord1dv") - } - gpMultiTexCoord1dvARB = uintptr(getProcAddr("glMultiTexCoord1dvARB")) - gpMultiTexCoord1f = uintptr(getProcAddr("glMultiTexCoord1f")) - if gpMultiTexCoord1f == 0 { - return errors.New("glMultiTexCoord1f") - } - gpMultiTexCoord1fARB = uintptr(getProcAddr("glMultiTexCoord1fARB")) - gpMultiTexCoord1fv = uintptr(getProcAddr("glMultiTexCoord1fv")) - if gpMultiTexCoord1fv == 0 { - return errors.New("glMultiTexCoord1fv") - } - gpMultiTexCoord1fvARB = uintptr(getProcAddr("glMultiTexCoord1fvARB")) - gpMultiTexCoord1hNV = uintptr(getProcAddr("glMultiTexCoord1hNV")) - gpMultiTexCoord1hvNV = uintptr(getProcAddr("glMultiTexCoord1hvNV")) - gpMultiTexCoord1i = uintptr(getProcAddr("glMultiTexCoord1i")) - if gpMultiTexCoord1i == 0 { - return errors.New("glMultiTexCoord1i") - } - gpMultiTexCoord1iARB = uintptr(getProcAddr("glMultiTexCoord1iARB")) - gpMultiTexCoord1iv = uintptr(getProcAddr("glMultiTexCoord1iv")) - if gpMultiTexCoord1iv == 0 { - return errors.New("glMultiTexCoord1iv") - } - gpMultiTexCoord1ivARB = uintptr(getProcAddr("glMultiTexCoord1ivARB")) - gpMultiTexCoord1s = uintptr(getProcAddr("glMultiTexCoord1s")) - if gpMultiTexCoord1s == 0 { - return errors.New("glMultiTexCoord1s") - } - gpMultiTexCoord1sARB = uintptr(getProcAddr("glMultiTexCoord1sARB")) - gpMultiTexCoord1sv = uintptr(getProcAddr("glMultiTexCoord1sv")) - if gpMultiTexCoord1sv == 0 { - return errors.New("glMultiTexCoord1sv") - } - gpMultiTexCoord1svARB = uintptr(getProcAddr("glMultiTexCoord1svARB")) - gpMultiTexCoord1xOES = uintptr(getProcAddr("glMultiTexCoord1xOES")) - gpMultiTexCoord1xvOES = uintptr(getProcAddr("glMultiTexCoord1xvOES")) - gpMultiTexCoord2bOES = uintptr(getProcAddr("glMultiTexCoord2bOES")) - gpMultiTexCoord2bvOES = uintptr(getProcAddr("glMultiTexCoord2bvOES")) - gpMultiTexCoord2d = uintptr(getProcAddr("glMultiTexCoord2d")) - if gpMultiTexCoord2d == 0 { - return errors.New("glMultiTexCoord2d") - } - gpMultiTexCoord2dARB = uintptr(getProcAddr("glMultiTexCoord2dARB")) - gpMultiTexCoord2dv = uintptr(getProcAddr("glMultiTexCoord2dv")) - if gpMultiTexCoord2dv == 0 { - return errors.New("glMultiTexCoord2dv") - } - gpMultiTexCoord2dvARB = uintptr(getProcAddr("glMultiTexCoord2dvARB")) - gpMultiTexCoord2f = uintptr(getProcAddr("glMultiTexCoord2f")) - if gpMultiTexCoord2f == 0 { - return errors.New("glMultiTexCoord2f") - } - gpMultiTexCoord2fARB = uintptr(getProcAddr("glMultiTexCoord2fARB")) - gpMultiTexCoord2fv = uintptr(getProcAddr("glMultiTexCoord2fv")) - if gpMultiTexCoord2fv == 0 { - return errors.New("glMultiTexCoord2fv") - } - gpMultiTexCoord2fvARB = uintptr(getProcAddr("glMultiTexCoord2fvARB")) - gpMultiTexCoord2hNV = uintptr(getProcAddr("glMultiTexCoord2hNV")) - gpMultiTexCoord2hvNV = uintptr(getProcAddr("glMultiTexCoord2hvNV")) - gpMultiTexCoord2i = uintptr(getProcAddr("glMultiTexCoord2i")) - if gpMultiTexCoord2i == 0 { - return errors.New("glMultiTexCoord2i") - } - gpMultiTexCoord2iARB = uintptr(getProcAddr("glMultiTexCoord2iARB")) - gpMultiTexCoord2iv = uintptr(getProcAddr("glMultiTexCoord2iv")) - if gpMultiTexCoord2iv == 0 { - return errors.New("glMultiTexCoord2iv") - } - gpMultiTexCoord2ivARB = uintptr(getProcAddr("glMultiTexCoord2ivARB")) - gpMultiTexCoord2s = uintptr(getProcAddr("glMultiTexCoord2s")) - if gpMultiTexCoord2s == 0 { - return errors.New("glMultiTexCoord2s") - } - gpMultiTexCoord2sARB = uintptr(getProcAddr("glMultiTexCoord2sARB")) - gpMultiTexCoord2sv = uintptr(getProcAddr("glMultiTexCoord2sv")) - if gpMultiTexCoord2sv == 0 { - return errors.New("glMultiTexCoord2sv") - } - gpMultiTexCoord2svARB = uintptr(getProcAddr("glMultiTexCoord2svARB")) - gpMultiTexCoord2xOES = uintptr(getProcAddr("glMultiTexCoord2xOES")) - gpMultiTexCoord2xvOES = uintptr(getProcAddr("glMultiTexCoord2xvOES")) - gpMultiTexCoord3bOES = uintptr(getProcAddr("glMultiTexCoord3bOES")) - gpMultiTexCoord3bvOES = uintptr(getProcAddr("glMultiTexCoord3bvOES")) - gpMultiTexCoord3d = uintptr(getProcAddr("glMultiTexCoord3d")) - if gpMultiTexCoord3d == 0 { - return errors.New("glMultiTexCoord3d") - } - gpMultiTexCoord3dARB = uintptr(getProcAddr("glMultiTexCoord3dARB")) - gpMultiTexCoord3dv = uintptr(getProcAddr("glMultiTexCoord3dv")) - if gpMultiTexCoord3dv == 0 { - return errors.New("glMultiTexCoord3dv") - } - gpMultiTexCoord3dvARB = uintptr(getProcAddr("glMultiTexCoord3dvARB")) - gpMultiTexCoord3f = uintptr(getProcAddr("glMultiTexCoord3f")) - if gpMultiTexCoord3f == 0 { - return errors.New("glMultiTexCoord3f") - } - gpMultiTexCoord3fARB = uintptr(getProcAddr("glMultiTexCoord3fARB")) - gpMultiTexCoord3fv = uintptr(getProcAddr("glMultiTexCoord3fv")) - if gpMultiTexCoord3fv == 0 { - return errors.New("glMultiTexCoord3fv") - } - gpMultiTexCoord3fvARB = uintptr(getProcAddr("glMultiTexCoord3fvARB")) - gpMultiTexCoord3hNV = uintptr(getProcAddr("glMultiTexCoord3hNV")) - gpMultiTexCoord3hvNV = uintptr(getProcAddr("glMultiTexCoord3hvNV")) - gpMultiTexCoord3i = uintptr(getProcAddr("glMultiTexCoord3i")) - if gpMultiTexCoord3i == 0 { - return errors.New("glMultiTexCoord3i") - } - gpMultiTexCoord3iARB = uintptr(getProcAddr("glMultiTexCoord3iARB")) - gpMultiTexCoord3iv = uintptr(getProcAddr("glMultiTexCoord3iv")) - if gpMultiTexCoord3iv == 0 { - return errors.New("glMultiTexCoord3iv") - } - gpMultiTexCoord3ivARB = uintptr(getProcAddr("glMultiTexCoord3ivARB")) - gpMultiTexCoord3s = uintptr(getProcAddr("glMultiTexCoord3s")) - if gpMultiTexCoord3s == 0 { - return errors.New("glMultiTexCoord3s") - } - gpMultiTexCoord3sARB = uintptr(getProcAddr("glMultiTexCoord3sARB")) - gpMultiTexCoord3sv = uintptr(getProcAddr("glMultiTexCoord3sv")) - if gpMultiTexCoord3sv == 0 { - return errors.New("glMultiTexCoord3sv") - } - gpMultiTexCoord3svARB = uintptr(getProcAddr("glMultiTexCoord3svARB")) - gpMultiTexCoord3xOES = uintptr(getProcAddr("glMultiTexCoord3xOES")) - gpMultiTexCoord3xvOES = uintptr(getProcAddr("glMultiTexCoord3xvOES")) - gpMultiTexCoord4bOES = uintptr(getProcAddr("glMultiTexCoord4bOES")) - gpMultiTexCoord4bvOES = uintptr(getProcAddr("glMultiTexCoord4bvOES")) - gpMultiTexCoord4d = uintptr(getProcAddr("glMultiTexCoord4d")) - if gpMultiTexCoord4d == 0 { - return errors.New("glMultiTexCoord4d") - } - gpMultiTexCoord4dARB = uintptr(getProcAddr("glMultiTexCoord4dARB")) - gpMultiTexCoord4dv = uintptr(getProcAddr("glMultiTexCoord4dv")) - if gpMultiTexCoord4dv == 0 { - return errors.New("glMultiTexCoord4dv") - } - gpMultiTexCoord4dvARB = uintptr(getProcAddr("glMultiTexCoord4dvARB")) - gpMultiTexCoord4f = uintptr(getProcAddr("glMultiTexCoord4f")) - if gpMultiTexCoord4f == 0 { - return errors.New("glMultiTexCoord4f") - } - gpMultiTexCoord4fARB = uintptr(getProcAddr("glMultiTexCoord4fARB")) - gpMultiTexCoord4fv = uintptr(getProcAddr("glMultiTexCoord4fv")) - if gpMultiTexCoord4fv == 0 { - return errors.New("glMultiTexCoord4fv") - } - gpMultiTexCoord4fvARB = uintptr(getProcAddr("glMultiTexCoord4fvARB")) - gpMultiTexCoord4hNV = uintptr(getProcAddr("glMultiTexCoord4hNV")) - gpMultiTexCoord4hvNV = uintptr(getProcAddr("glMultiTexCoord4hvNV")) - gpMultiTexCoord4i = uintptr(getProcAddr("glMultiTexCoord4i")) - if gpMultiTexCoord4i == 0 { - return errors.New("glMultiTexCoord4i") - } - gpMultiTexCoord4iARB = uintptr(getProcAddr("glMultiTexCoord4iARB")) - gpMultiTexCoord4iv = uintptr(getProcAddr("glMultiTexCoord4iv")) - if gpMultiTexCoord4iv == 0 { - return errors.New("glMultiTexCoord4iv") - } - gpMultiTexCoord4ivARB = uintptr(getProcAddr("glMultiTexCoord4ivARB")) - gpMultiTexCoord4s = uintptr(getProcAddr("glMultiTexCoord4s")) - if gpMultiTexCoord4s == 0 { - return errors.New("glMultiTexCoord4s") - } - gpMultiTexCoord4sARB = uintptr(getProcAddr("glMultiTexCoord4sARB")) - gpMultiTexCoord4sv = uintptr(getProcAddr("glMultiTexCoord4sv")) - if gpMultiTexCoord4sv == 0 { - return errors.New("glMultiTexCoord4sv") - } - gpMultiTexCoord4svARB = uintptr(getProcAddr("glMultiTexCoord4svARB")) - gpMultiTexCoord4xOES = uintptr(getProcAddr("glMultiTexCoord4xOES")) - gpMultiTexCoord4xvOES = uintptr(getProcAddr("glMultiTexCoord4xvOES")) - gpMultiTexCoordPointerEXT = uintptr(getProcAddr("glMultiTexCoordPointerEXT")) - gpMultiTexEnvfEXT = uintptr(getProcAddr("glMultiTexEnvfEXT")) - gpMultiTexEnvfvEXT = uintptr(getProcAddr("glMultiTexEnvfvEXT")) - gpMultiTexEnviEXT = uintptr(getProcAddr("glMultiTexEnviEXT")) - gpMultiTexEnvivEXT = uintptr(getProcAddr("glMultiTexEnvivEXT")) - gpMultiTexGendEXT = uintptr(getProcAddr("glMultiTexGendEXT")) - gpMultiTexGendvEXT = uintptr(getProcAddr("glMultiTexGendvEXT")) - gpMultiTexGenfEXT = uintptr(getProcAddr("glMultiTexGenfEXT")) - gpMultiTexGenfvEXT = uintptr(getProcAddr("glMultiTexGenfvEXT")) - gpMultiTexGeniEXT = uintptr(getProcAddr("glMultiTexGeniEXT")) - gpMultiTexGenivEXT = uintptr(getProcAddr("glMultiTexGenivEXT")) - gpMultiTexImage1DEXT = uintptr(getProcAddr("glMultiTexImage1DEXT")) - gpMultiTexImage2DEXT = uintptr(getProcAddr("glMultiTexImage2DEXT")) - gpMultiTexImage3DEXT = uintptr(getProcAddr("glMultiTexImage3DEXT")) - gpMultiTexParameterIivEXT = uintptr(getProcAddr("glMultiTexParameterIivEXT")) - gpMultiTexParameterIuivEXT = uintptr(getProcAddr("glMultiTexParameterIuivEXT")) - gpMultiTexParameterfEXT = uintptr(getProcAddr("glMultiTexParameterfEXT")) - gpMultiTexParameterfvEXT = uintptr(getProcAddr("glMultiTexParameterfvEXT")) - gpMultiTexParameteriEXT = uintptr(getProcAddr("glMultiTexParameteriEXT")) - gpMultiTexParameterivEXT = uintptr(getProcAddr("glMultiTexParameterivEXT")) - gpMultiTexRenderbufferEXT = uintptr(getProcAddr("glMultiTexRenderbufferEXT")) - gpMultiTexSubImage1DEXT = uintptr(getProcAddr("glMultiTexSubImage1DEXT")) - gpMultiTexSubImage2DEXT = uintptr(getProcAddr("glMultiTexSubImage2DEXT")) - gpMultiTexSubImage3DEXT = uintptr(getProcAddr("glMultiTexSubImage3DEXT")) - gpMulticastBarrierNV = uintptr(getProcAddr("glMulticastBarrierNV")) - gpMulticastBlitFramebufferNV = uintptr(getProcAddr("glMulticastBlitFramebufferNV")) - gpMulticastBufferSubDataNV = uintptr(getProcAddr("glMulticastBufferSubDataNV")) - gpMulticastCopyBufferSubDataNV = uintptr(getProcAddr("glMulticastCopyBufferSubDataNV")) - gpMulticastCopyImageSubDataNV = uintptr(getProcAddr("glMulticastCopyImageSubDataNV")) - gpMulticastFramebufferSampleLocationsfvNV = uintptr(getProcAddr("glMulticastFramebufferSampleLocationsfvNV")) - gpMulticastGetQueryObjecti64vNV = uintptr(getProcAddr("glMulticastGetQueryObjecti64vNV")) - gpMulticastGetQueryObjectivNV = uintptr(getProcAddr("glMulticastGetQueryObjectivNV")) - gpMulticastGetQueryObjectui64vNV = uintptr(getProcAddr("glMulticastGetQueryObjectui64vNV")) - gpMulticastGetQueryObjectuivNV = uintptr(getProcAddr("glMulticastGetQueryObjectuivNV")) - gpMulticastWaitSyncNV = uintptr(getProcAddr("glMulticastWaitSyncNV")) - gpNamedBufferData = uintptr(getProcAddr("glNamedBufferData")) - gpNamedBufferDataEXT = uintptr(getProcAddr("glNamedBufferDataEXT")) - gpNamedBufferPageCommitmentARB = uintptr(getProcAddr("glNamedBufferPageCommitmentARB")) - gpNamedBufferPageCommitmentEXT = uintptr(getProcAddr("glNamedBufferPageCommitmentEXT")) - gpNamedBufferStorage = uintptr(getProcAddr("glNamedBufferStorage")) - gpNamedBufferStorageEXT = uintptr(getProcAddr("glNamedBufferStorageEXT")) - gpNamedBufferStorageExternalEXT = uintptr(getProcAddr("glNamedBufferStorageExternalEXT")) - gpNamedBufferStorageMemEXT = uintptr(getProcAddr("glNamedBufferStorageMemEXT")) - gpNamedBufferSubData = uintptr(getProcAddr("glNamedBufferSubData")) - gpNamedBufferSubDataEXT = uintptr(getProcAddr("glNamedBufferSubDataEXT")) - gpNamedCopyBufferSubDataEXT = uintptr(getProcAddr("glNamedCopyBufferSubDataEXT")) - gpNamedFramebufferDrawBuffer = uintptr(getProcAddr("glNamedFramebufferDrawBuffer")) - gpNamedFramebufferDrawBuffers = uintptr(getProcAddr("glNamedFramebufferDrawBuffers")) - gpNamedFramebufferParameteri = uintptr(getProcAddr("glNamedFramebufferParameteri")) - gpNamedFramebufferParameteriEXT = uintptr(getProcAddr("glNamedFramebufferParameteriEXT")) - gpNamedFramebufferReadBuffer = uintptr(getProcAddr("glNamedFramebufferReadBuffer")) - gpNamedFramebufferRenderbuffer = uintptr(getProcAddr("glNamedFramebufferRenderbuffer")) - gpNamedFramebufferRenderbufferEXT = uintptr(getProcAddr("glNamedFramebufferRenderbufferEXT")) - gpNamedFramebufferSampleLocationsfvARB = uintptr(getProcAddr("glNamedFramebufferSampleLocationsfvARB")) - gpNamedFramebufferSampleLocationsfvNV = uintptr(getProcAddr("glNamedFramebufferSampleLocationsfvNV")) - gpNamedFramebufferSamplePositionsfvAMD = uintptr(getProcAddr("glNamedFramebufferSamplePositionsfvAMD")) - gpNamedFramebufferTexture = uintptr(getProcAddr("glNamedFramebufferTexture")) - gpNamedFramebufferTexture1DEXT = uintptr(getProcAddr("glNamedFramebufferTexture1DEXT")) - gpNamedFramebufferTexture2DEXT = uintptr(getProcAddr("glNamedFramebufferTexture2DEXT")) - gpNamedFramebufferTexture3DEXT = uintptr(getProcAddr("glNamedFramebufferTexture3DEXT")) - gpNamedFramebufferTextureEXT = uintptr(getProcAddr("glNamedFramebufferTextureEXT")) - gpNamedFramebufferTextureFaceEXT = uintptr(getProcAddr("glNamedFramebufferTextureFaceEXT")) - gpNamedFramebufferTextureLayer = uintptr(getProcAddr("glNamedFramebufferTextureLayer")) - gpNamedFramebufferTextureLayerEXT = uintptr(getProcAddr("glNamedFramebufferTextureLayerEXT")) - gpNamedProgramLocalParameter4dEXT = uintptr(getProcAddr("glNamedProgramLocalParameter4dEXT")) - gpNamedProgramLocalParameter4dvEXT = uintptr(getProcAddr("glNamedProgramLocalParameter4dvEXT")) - gpNamedProgramLocalParameter4fEXT = uintptr(getProcAddr("glNamedProgramLocalParameter4fEXT")) - gpNamedProgramLocalParameter4fvEXT = uintptr(getProcAddr("glNamedProgramLocalParameter4fvEXT")) - gpNamedProgramLocalParameterI4iEXT = uintptr(getProcAddr("glNamedProgramLocalParameterI4iEXT")) - gpNamedProgramLocalParameterI4ivEXT = uintptr(getProcAddr("glNamedProgramLocalParameterI4ivEXT")) - gpNamedProgramLocalParameterI4uiEXT = uintptr(getProcAddr("glNamedProgramLocalParameterI4uiEXT")) - gpNamedProgramLocalParameterI4uivEXT = uintptr(getProcAddr("glNamedProgramLocalParameterI4uivEXT")) - gpNamedProgramLocalParameters4fvEXT = uintptr(getProcAddr("glNamedProgramLocalParameters4fvEXT")) - gpNamedProgramLocalParametersI4ivEXT = uintptr(getProcAddr("glNamedProgramLocalParametersI4ivEXT")) - gpNamedProgramLocalParametersI4uivEXT = uintptr(getProcAddr("glNamedProgramLocalParametersI4uivEXT")) - gpNamedProgramStringEXT = uintptr(getProcAddr("glNamedProgramStringEXT")) - gpNamedRenderbufferStorage = uintptr(getProcAddr("glNamedRenderbufferStorage")) - gpNamedRenderbufferStorageEXT = uintptr(getProcAddr("glNamedRenderbufferStorageEXT")) - gpNamedRenderbufferStorageMultisample = uintptr(getProcAddr("glNamedRenderbufferStorageMultisample")) - gpNamedRenderbufferStorageMultisampleCoverageEXT = uintptr(getProcAddr("glNamedRenderbufferStorageMultisampleCoverageEXT")) - gpNamedRenderbufferStorageMultisampleEXT = uintptr(getProcAddr("glNamedRenderbufferStorageMultisampleEXT")) - gpNamedStringARB = uintptr(getProcAddr("glNamedStringARB")) - gpNewList = uintptr(getProcAddr("glNewList")) - if gpNewList == 0 { - return errors.New("glNewList") - } - gpNewObjectBufferATI = uintptr(getProcAddr("glNewObjectBufferATI")) - gpNormal3b = uintptr(getProcAddr("glNormal3b")) - if gpNormal3b == 0 { - return errors.New("glNormal3b") - } - gpNormal3bv = uintptr(getProcAddr("glNormal3bv")) - if gpNormal3bv == 0 { - return errors.New("glNormal3bv") - } - gpNormal3d = uintptr(getProcAddr("glNormal3d")) - if gpNormal3d == 0 { - return errors.New("glNormal3d") - } - gpNormal3dv = uintptr(getProcAddr("glNormal3dv")) - if gpNormal3dv == 0 { - return errors.New("glNormal3dv") - } - gpNormal3f = uintptr(getProcAddr("glNormal3f")) - if gpNormal3f == 0 { - return errors.New("glNormal3f") - } - gpNormal3fVertex3fSUN = uintptr(getProcAddr("glNormal3fVertex3fSUN")) - gpNormal3fVertex3fvSUN = uintptr(getProcAddr("glNormal3fVertex3fvSUN")) - gpNormal3fv = uintptr(getProcAddr("glNormal3fv")) - if gpNormal3fv == 0 { - return errors.New("glNormal3fv") - } - gpNormal3hNV = uintptr(getProcAddr("glNormal3hNV")) - gpNormal3hvNV = uintptr(getProcAddr("glNormal3hvNV")) - gpNormal3i = uintptr(getProcAddr("glNormal3i")) - if gpNormal3i == 0 { - return errors.New("glNormal3i") - } - gpNormal3iv = uintptr(getProcAddr("glNormal3iv")) - if gpNormal3iv == 0 { - return errors.New("glNormal3iv") - } - gpNormal3s = uintptr(getProcAddr("glNormal3s")) - if gpNormal3s == 0 { - return errors.New("glNormal3s") - } - gpNormal3sv = uintptr(getProcAddr("glNormal3sv")) - if gpNormal3sv == 0 { - return errors.New("glNormal3sv") - } - gpNormal3xOES = uintptr(getProcAddr("glNormal3xOES")) - gpNormal3xvOES = uintptr(getProcAddr("glNormal3xvOES")) - gpNormalFormatNV = uintptr(getProcAddr("glNormalFormatNV")) - gpNormalPointer = uintptr(getProcAddr("glNormalPointer")) - if gpNormalPointer == 0 { - return errors.New("glNormalPointer") - } - gpNormalPointerEXT = uintptr(getProcAddr("glNormalPointerEXT")) - gpNormalPointerListIBM = uintptr(getProcAddr("glNormalPointerListIBM")) - gpNormalPointervINTEL = uintptr(getProcAddr("glNormalPointervINTEL")) - gpNormalStream3bATI = uintptr(getProcAddr("glNormalStream3bATI")) - gpNormalStream3bvATI = uintptr(getProcAddr("glNormalStream3bvATI")) - gpNormalStream3dATI = uintptr(getProcAddr("glNormalStream3dATI")) - gpNormalStream3dvATI = uintptr(getProcAddr("glNormalStream3dvATI")) - gpNormalStream3fATI = uintptr(getProcAddr("glNormalStream3fATI")) - gpNormalStream3fvATI = uintptr(getProcAddr("glNormalStream3fvATI")) - gpNormalStream3iATI = uintptr(getProcAddr("glNormalStream3iATI")) - gpNormalStream3ivATI = uintptr(getProcAddr("glNormalStream3ivATI")) - gpNormalStream3sATI = uintptr(getProcAddr("glNormalStream3sATI")) - gpNormalStream3svATI = uintptr(getProcAddr("glNormalStream3svATI")) - gpObjectLabel = uintptr(getProcAddr("glObjectLabel")) - gpObjectLabelKHR = uintptr(getProcAddr("glObjectLabelKHR")) - gpObjectPtrLabel = uintptr(getProcAddr("glObjectPtrLabel")) - gpObjectPtrLabelKHR = uintptr(getProcAddr("glObjectPtrLabelKHR")) - gpObjectPurgeableAPPLE = uintptr(getProcAddr("glObjectPurgeableAPPLE")) - gpObjectUnpurgeableAPPLE = uintptr(getProcAddr("glObjectUnpurgeableAPPLE")) - gpOrtho = uintptr(getProcAddr("glOrtho")) - if gpOrtho == 0 { - return errors.New("glOrtho") - } - gpOrthofOES = uintptr(getProcAddr("glOrthofOES")) - gpOrthoxOES = uintptr(getProcAddr("glOrthoxOES")) - gpPNTrianglesfATI = uintptr(getProcAddr("glPNTrianglesfATI")) - gpPNTrianglesiATI = uintptr(getProcAddr("glPNTrianglesiATI")) - gpPassTexCoordATI = uintptr(getProcAddr("glPassTexCoordATI")) - gpPassThrough = uintptr(getProcAddr("glPassThrough")) - if gpPassThrough == 0 { - return errors.New("glPassThrough") - } - gpPassThroughxOES = uintptr(getProcAddr("glPassThroughxOES")) - gpPatchParameterfv = uintptr(getProcAddr("glPatchParameterfv")) - gpPatchParameteri = uintptr(getProcAddr("glPatchParameteri")) - gpPathCommandsNV = uintptr(getProcAddr("glPathCommandsNV")) - gpPathCoordsNV = uintptr(getProcAddr("glPathCoordsNV")) - gpPathCoverDepthFuncNV = uintptr(getProcAddr("glPathCoverDepthFuncNV")) - gpPathDashArrayNV = uintptr(getProcAddr("glPathDashArrayNV")) - gpPathGlyphIndexArrayNV = uintptr(getProcAddr("glPathGlyphIndexArrayNV")) - gpPathGlyphIndexRangeNV = uintptr(getProcAddr("glPathGlyphIndexRangeNV")) - gpPathGlyphRangeNV = uintptr(getProcAddr("glPathGlyphRangeNV")) - gpPathGlyphsNV = uintptr(getProcAddr("glPathGlyphsNV")) - gpPathMemoryGlyphIndexArrayNV = uintptr(getProcAddr("glPathMemoryGlyphIndexArrayNV")) - gpPathParameterfNV = uintptr(getProcAddr("glPathParameterfNV")) - gpPathParameterfvNV = uintptr(getProcAddr("glPathParameterfvNV")) - gpPathParameteriNV = uintptr(getProcAddr("glPathParameteriNV")) - gpPathParameterivNV = uintptr(getProcAddr("glPathParameterivNV")) - gpPathStencilDepthOffsetNV = uintptr(getProcAddr("glPathStencilDepthOffsetNV")) - gpPathStencilFuncNV = uintptr(getProcAddr("glPathStencilFuncNV")) - gpPathStringNV = uintptr(getProcAddr("glPathStringNV")) - gpPathSubCommandsNV = uintptr(getProcAddr("glPathSubCommandsNV")) - gpPathSubCoordsNV = uintptr(getProcAddr("glPathSubCoordsNV")) - gpPauseTransformFeedback = uintptr(getProcAddr("glPauseTransformFeedback")) - gpPauseTransformFeedbackNV = uintptr(getProcAddr("glPauseTransformFeedbackNV")) - gpPixelDataRangeNV = uintptr(getProcAddr("glPixelDataRangeNV")) - gpPixelMapfv = uintptr(getProcAddr("glPixelMapfv")) - if gpPixelMapfv == 0 { - return errors.New("glPixelMapfv") - } - gpPixelMapuiv = uintptr(getProcAddr("glPixelMapuiv")) - if gpPixelMapuiv == 0 { - return errors.New("glPixelMapuiv") - } - gpPixelMapusv = uintptr(getProcAddr("glPixelMapusv")) - if gpPixelMapusv == 0 { - return errors.New("glPixelMapusv") - } - gpPixelMapx = uintptr(getProcAddr("glPixelMapx")) - gpPixelStoref = uintptr(getProcAddr("glPixelStoref")) - if gpPixelStoref == 0 { - return errors.New("glPixelStoref") - } gpPixelStorei = uintptr(getProcAddr("glPixelStorei")) if gpPixelStorei == 0 { return errors.New("glPixelStorei") } - gpPixelStorex = uintptr(getProcAddr("glPixelStorex")) - gpPixelTexGenParameterfSGIS = uintptr(getProcAddr("glPixelTexGenParameterfSGIS")) - gpPixelTexGenParameterfvSGIS = uintptr(getProcAddr("glPixelTexGenParameterfvSGIS")) - gpPixelTexGenParameteriSGIS = uintptr(getProcAddr("glPixelTexGenParameteriSGIS")) - gpPixelTexGenParameterivSGIS = uintptr(getProcAddr("glPixelTexGenParameterivSGIS")) - gpPixelTexGenSGIX = uintptr(getProcAddr("glPixelTexGenSGIX")) - gpPixelTransferf = uintptr(getProcAddr("glPixelTransferf")) - if gpPixelTransferf == 0 { - return errors.New("glPixelTransferf") - } - gpPixelTransferi = uintptr(getProcAddr("glPixelTransferi")) - if gpPixelTransferi == 0 { - return errors.New("glPixelTransferi") - } - gpPixelTransferxOES = uintptr(getProcAddr("glPixelTransferxOES")) - gpPixelTransformParameterfEXT = uintptr(getProcAddr("glPixelTransformParameterfEXT")) - gpPixelTransformParameterfvEXT = uintptr(getProcAddr("glPixelTransformParameterfvEXT")) - gpPixelTransformParameteriEXT = uintptr(getProcAddr("glPixelTransformParameteriEXT")) - gpPixelTransformParameterivEXT = uintptr(getProcAddr("glPixelTransformParameterivEXT")) - gpPixelZoom = uintptr(getProcAddr("glPixelZoom")) - if gpPixelZoom == 0 { - return errors.New("glPixelZoom") - } - gpPixelZoomxOES = uintptr(getProcAddr("glPixelZoomxOES")) - gpPointAlongPathNV = uintptr(getProcAddr("glPointAlongPathNV")) - gpPointParameterf = uintptr(getProcAddr("glPointParameterf")) - if gpPointParameterf == 0 { - return errors.New("glPointParameterf") - } - gpPointParameterfARB = uintptr(getProcAddr("glPointParameterfARB")) - gpPointParameterfEXT = uintptr(getProcAddr("glPointParameterfEXT")) - gpPointParameterfSGIS = uintptr(getProcAddr("glPointParameterfSGIS")) - gpPointParameterfv = uintptr(getProcAddr("glPointParameterfv")) - if gpPointParameterfv == 0 { - return errors.New("glPointParameterfv") - } - gpPointParameterfvARB = uintptr(getProcAddr("glPointParameterfvARB")) - gpPointParameterfvEXT = uintptr(getProcAddr("glPointParameterfvEXT")) - gpPointParameterfvSGIS = uintptr(getProcAddr("glPointParameterfvSGIS")) - gpPointParameteri = uintptr(getProcAddr("glPointParameteri")) - if gpPointParameteri == 0 { - return errors.New("glPointParameteri") - } - gpPointParameteriNV = uintptr(getProcAddr("glPointParameteriNV")) - gpPointParameteriv = uintptr(getProcAddr("glPointParameteriv")) - if gpPointParameteriv == 0 { - return errors.New("glPointParameteriv") - } - gpPointParameterivNV = uintptr(getProcAddr("glPointParameterivNV")) - gpPointParameterxOES = uintptr(getProcAddr("glPointParameterxOES")) - gpPointParameterxvOES = uintptr(getProcAddr("glPointParameterxvOES")) - gpPointSize = uintptr(getProcAddr("glPointSize")) - if gpPointSize == 0 { - return errors.New("glPointSize") - } - gpPointSizexOES = uintptr(getProcAddr("glPointSizexOES")) - gpPollAsyncSGIX = uintptr(getProcAddr("glPollAsyncSGIX")) - gpPollInstrumentsSGIX = uintptr(getProcAddr("glPollInstrumentsSGIX")) - gpPolygonMode = uintptr(getProcAddr("glPolygonMode")) - if gpPolygonMode == 0 { - return errors.New("glPolygonMode") - } - gpPolygonOffset = uintptr(getProcAddr("glPolygonOffset")) - if gpPolygonOffset == 0 { - return errors.New("glPolygonOffset") - } - gpPolygonOffsetClamp = uintptr(getProcAddr("glPolygonOffsetClamp")) - gpPolygonOffsetClampEXT = uintptr(getProcAddr("glPolygonOffsetClampEXT")) - gpPolygonOffsetEXT = uintptr(getProcAddr("glPolygonOffsetEXT")) - gpPolygonOffsetxOES = uintptr(getProcAddr("glPolygonOffsetxOES")) - gpPolygonStipple = uintptr(getProcAddr("glPolygonStipple")) - if gpPolygonStipple == 0 { - return errors.New("glPolygonStipple") - } - gpPopAttrib = uintptr(getProcAddr("glPopAttrib")) - if gpPopAttrib == 0 { - return errors.New("glPopAttrib") - } - gpPopClientAttrib = uintptr(getProcAddr("glPopClientAttrib")) - if gpPopClientAttrib == 0 { - return errors.New("glPopClientAttrib") - } - gpPopDebugGroup = uintptr(getProcAddr("glPopDebugGroup")) - gpPopDebugGroupKHR = uintptr(getProcAddr("glPopDebugGroupKHR")) - gpPopGroupMarkerEXT = uintptr(getProcAddr("glPopGroupMarkerEXT")) - gpPopMatrix = uintptr(getProcAddr("glPopMatrix")) - if gpPopMatrix == 0 { - return errors.New("glPopMatrix") - } - gpPopName = uintptr(getProcAddr("glPopName")) - if gpPopName == 0 { - return errors.New("glPopName") - } - gpPresentFrameDualFillNV = uintptr(getProcAddr("glPresentFrameDualFillNV")) - gpPresentFrameKeyedNV = uintptr(getProcAddr("glPresentFrameKeyedNV")) - gpPrimitiveBoundingBoxARB = uintptr(getProcAddr("glPrimitiveBoundingBoxARB")) - gpPrimitiveRestartIndexNV = uintptr(getProcAddr("glPrimitiveRestartIndexNV")) - gpPrimitiveRestartNV = uintptr(getProcAddr("glPrimitiveRestartNV")) - gpPrioritizeTextures = uintptr(getProcAddr("glPrioritizeTextures")) - if gpPrioritizeTextures == 0 { - return errors.New("glPrioritizeTextures") - } - gpPrioritizeTexturesEXT = uintptr(getProcAddr("glPrioritizeTexturesEXT")) - gpPrioritizeTexturesxOES = uintptr(getProcAddr("glPrioritizeTexturesxOES")) - gpProgramBinary = uintptr(getProcAddr("glProgramBinary")) - gpProgramBufferParametersIivNV = uintptr(getProcAddr("glProgramBufferParametersIivNV")) - gpProgramBufferParametersIuivNV = uintptr(getProcAddr("glProgramBufferParametersIuivNV")) - gpProgramBufferParametersfvNV = uintptr(getProcAddr("glProgramBufferParametersfvNV")) - gpProgramEnvParameter4dARB = uintptr(getProcAddr("glProgramEnvParameter4dARB")) - gpProgramEnvParameter4dvARB = uintptr(getProcAddr("glProgramEnvParameter4dvARB")) - gpProgramEnvParameter4fARB = uintptr(getProcAddr("glProgramEnvParameter4fARB")) - gpProgramEnvParameter4fvARB = uintptr(getProcAddr("glProgramEnvParameter4fvARB")) - gpProgramEnvParameterI4iNV = uintptr(getProcAddr("glProgramEnvParameterI4iNV")) - gpProgramEnvParameterI4ivNV = uintptr(getProcAddr("glProgramEnvParameterI4ivNV")) - gpProgramEnvParameterI4uiNV = uintptr(getProcAddr("glProgramEnvParameterI4uiNV")) - gpProgramEnvParameterI4uivNV = uintptr(getProcAddr("glProgramEnvParameterI4uivNV")) - gpProgramEnvParameters4fvEXT = uintptr(getProcAddr("glProgramEnvParameters4fvEXT")) - gpProgramEnvParametersI4ivNV = uintptr(getProcAddr("glProgramEnvParametersI4ivNV")) - gpProgramEnvParametersI4uivNV = uintptr(getProcAddr("glProgramEnvParametersI4uivNV")) - gpProgramLocalParameter4dARB = uintptr(getProcAddr("glProgramLocalParameter4dARB")) - gpProgramLocalParameter4dvARB = uintptr(getProcAddr("glProgramLocalParameter4dvARB")) - gpProgramLocalParameter4fARB = uintptr(getProcAddr("glProgramLocalParameter4fARB")) - gpProgramLocalParameter4fvARB = uintptr(getProcAddr("glProgramLocalParameter4fvARB")) - gpProgramLocalParameterI4iNV = uintptr(getProcAddr("glProgramLocalParameterI4iNV")) - gpProgramLocalParameterI4ivNV = uintptr(getProcAddr("glProgramLocalParameterI4ivNV")) - gpProgramLocalParameterI4uiNV = uintptr(getProcAddr("glProgramLocalParameterI4uiNV")) - gpProgramLocalParameterI4uivNV = uintptr(getProcAddr("glProgramLocalParameterI4uivNV")) - gpProgramLocalParameters4fvEXT = uintptr(getProcAddr("glProgramLocalParameters4fvEXT")) - gpProgramLocalParametersI4ivNV = uintptr(getProcAddr("glProgramLocalParametersI4ivNV")) - gpProgramLocalParametersI4uivNV = uintptr(getProcAddr("glProgramLocalParametersI4uivNV")) - gpProgramNamedParameter4dNV = uintptr(getProcAddr("glProgramNamedParameter4dNV")) - gpProgramNamedParameter4dvNV = uintptr(getProcAddr("glProgramNamedParameter4dvNV")) - gpProgramNamedParameter4fNV = uintptr(getProcAddr("glProgramNamedParameter4fNV")) - gpProgramNamedParameter4fvNV = uintptr(getProcAddr("glProgramNamedParameter4fvNV")) - gpProgramParameter4dNV = uintptr(getProcAddr("glProgramParameter4dNV")) - gpProgramParameter4dvNV = uintptr(getProcAddr("glProgramParameter4dvNV")) - gpProgramParameter4fNV = uintptr(getProcAddr("glProgramParameter4fNV")) - gpProgramParameter4fvNV = uintptr(getProcAddr("glProgramParameter4fvNV")) - gpProgramParameteri = uintptr(getProcAddr("glProgramParameteri")) - gpProgramParameteriARB = uintptr(getProcAddr("glProgramParameteriARB")) - gpProgramParameteriEXT = uintptr(getProcAddr("glProgramParameteriEXT")) - gpProgramParameters4dvNV = uintptr(getProcAddr("glProgramParameters4dvNV")) - gpProgramParameters4fvNV = uintptr(getProcAddr("glProgramParameters4fvNV")) - gpProgramPathFragmentInputGenNV = uintptr(getProcAddr("glProgramPathFragmentInputGenNV")) - gpProgramStringARB = uintptr(getProcAddr("glProgramStringARB")) - gpProgramSubroutineParametersuivNV = uintptr(getProcAddr("glProgramSubroutineParametersuivNV")) - gpProgramUniform1d = uintptr(getProcAddr("glProgramUniform1d")) - gpProgramUniform1dEXT = uintptr(getProcAddr("glProgramUniform1dEXT")) - gpProgramUniform1dv = uintptr(getProcAddr("glProgramUniform1dv")) - gpProgramUniform1dvEXT = uintptr(getProcAddr("glProgramUniform1dvEXT")) - gpProgramUniform1f = uintptr(getProcAddr("glProgramUniform1f")) - gpProgramUniform1fEXT = uintptr(getProcAddr("glProgramUniform1fEXT")) - gpProgramUniform1fv = uintptr(getProcAddr("glProgramUniform1fv")) - gpProgramUniform1fvEXT = uintptr(getProcAddr("glProgramUniform1fvEXT")) - gpProgramUniform1i = uintptr(getProcAddr("glProgramUniform1i")) - gpProgramUniform1i64ARB = uintptr(getProcAddr("glProgramUniform1i64ARB")) - gpProgramUniform1i64NV = uintptr(getProcAddr("glProgramUniform1i64NV")) - gpProgramUniform1i64vARB = uintptr(getProcAddr("glProgramUniform1i64vARB")) - gpProgramUniform1i64vNV = uintptr(getProcAddr("glProgramUniform1i64vNV")) - gpProgramUniform1iEXT = uintptr(getProcAddr("glProgramUniform1iEXT")) - gpProgramUniform1iv = uintptr(getProcAddr("glProgramUniform1iv")) - gpProgramUniform1ivEXT = uintptr(getProcAddr("glProgramUniform1ivEXT")) - gpProgramUniform1ui = uintptr(getProcAddr("glProgramUniform1ui")) - gpProgramUniform1ui64ARB = uintptr(getProcAddr("glProgramUniform1ui64ARB")) - gpProgramUniform1ui64NV = uintptr(getProcAddr("glProgramUniform1ui64NV")) - gpProgramUniform1ui64vARB = uintptr(getProcAddr("glProgramUniform1ui64vARB")) - gpProgramUniform1ui64vNV = uintptr(getProcAddr("glProgramUniform1ui64vNV")) - gpProgramUniform1uiEXT = uintptr(getProcAddr("glProgramUniform1uiEXT")) - gpProgramUniform1uiv = uintptr(getProcAddr("glProgramUniform1uiv")) - gpProgramUniform1uivEXT = uintptr(getProcAddr("glProgramUniform1uivEXT")) - gpProgramUniform2d = uintptr(getProcAddr("glProgramUniform2d")) - gpProgramUniform2dEXT = uintptr(getProcAddr("glProgramUniform2dEXT")) - gpProgramUniform2dv = uintptr(getProcAddr("glProgramUniform2dv")) - gpProgramUniform2dvEXT = uintptr(getProcAddr("glProgramUniform2dvEXT")) - gpProgramUniform2f = uintptr(getProcAddr("glProgramUniform2f")) - gpProgramUniform2fEXT = uintptr(getProcAddr("glProgramUniform2fEXT")) - gpProgramUniform2fv = uintptr(getProcAddr("glProgramUniform2fv")) - gpProgramUniform2fvEXT = uintptr(getProcAddr("glProgramUniform2fvEXT")) - gpProgramUniform2i = uintptr(getProcAddr("glProgramUniform2i")) - gpProgramUniform2i64ARB = uintptr(getProcAddr("glProgramUniform2i64ARB")) - gpProgramUniform2i64NV = uintptr(getProcAddr("glProgramUniform2i64NV")) - gpProgramUniform2i64vARB = uintptr(getProcAddr("glProgramUniform2i64vARB")) - gpProgramUniform2i64vNV = uintptr(getProcAddr("glProgramUniform2i64vNV")) - gpProgramUniform2iEXT = uintptr(getProcAddr("glProgramUniform2iEXT")) - gpProgramUniform2iv = uintptr(getProcAddr("glProgramUniform2iv")) - gpProgramUniform2ivEXT = uintptr(getProcAddr("glProgramUniform2ivEXT")) - gpProgramUniform2ui = uintptr(getProcAddr("glProgramUniform2ui")) - gpProgramUniform2ui64ARB = uintptr(getProcAddr("glProgramUniform2ui64ARB")) - gpProgramUniform2ui64NV = uintptr(getProcAddr("glProgramUniform2ui64NV")) - gpProgramUniform2ui64vARB = uintptr(getProcAddr("glProgramUniform2ui64vARB")) - gpProgramUniform2ui64vNV = uintptr(getProcAddr("glProgramUniform2ui64vNV")) - gpProgramUniform2uiEXT = uintptr(getProcAddr("glProgramUniform2uiEXT")) - gpProgramUniform2uiv = uintptr(getProcAddr("glProgramUniform2uiv")) - gpProgramUniform2uivEXT = uintptr(getProcAddr("glProgramUniform2uivEXT")) - gpProgramUniform3d = uintptr(getProcAddr("glProgramUniform3d")) - gpProgramUniform3dEXT = uintptr(getProcAddr("glProgramUniform3dEXT")) - gpProgramUniform3dv = uintptr(getProcAddr("glProgramUniform3dv")) - gpProgramUniform3dvEXT = uintptr(getProcAddr("glProgramUniform3dvEXT")) - gpProgramUniform3f = uintptr(getProcAddr("glProgramUniform3f")) - gpProgramUniform3fEXT = uintptr(getProcAddr("glProgramUniform3fEXT")) - gpProgramUniform3fv = uintptr(getProcAddr("glProgramUniform3fv")) - gpProgramUniform3fvEXT = uintptr(getProcAddr("glProgramUniform3fvEXT")) - gpProgramUniform3i = uintptr(getProcAddr("glProgramUniform3i")) - gpProgramUniform3i64ARB = uintptr(getProcAddr("glProgramUniform3i64ARB")) - gpProgramUniform3i64NV = uintptr(getProcAddr("glProgramUniform3i64NV")) - gpProgramUniform3i64vARB = uintptr(getProcAddr("glProgramUniform3i64vARB")) - gpProgramUniform3i64vNV = uintptr(getProcAddr("glProgramUniform3i64vNV")) - gpProgramUniform3iEXT = uintptr(getProcAddr("glProgramUniform3iEXT")) - gpProgramUniform3iv = uintptr(getProcAddr("glProgramUniform3iv")) - gpProgramUniform3ivEXT = uintptr(getProcAddr("glProgramUniform3ivEXT")) - gpProgramUniform3ui = uintptr(getProcAddr("glProgramUniform3ui")) - gpProgramUniform3ui64ARB = uintptr(getProcAddr("glProgramUniform3ui64ARB")) - gpProgramUniform3ui64NV = uintptr(getProcAddr("glProgramUniform3ui64NV")) - gpProgramUniform3ui64vARB = uintptr(getProcAddr("glProgramUniform3ui64vARB")) - gpProgramUniform3ui64vNV = uintptr(getProcAddr("glProgramUniform3ui64vNV")) - gpProgramUniform3uiEXT = uintptr(getProcAddr("glProgramUniform3uiEXT")) - gpProgramUniform3uiv = uintptr(getProcAddr("glProgramUniform3uiv")) - gpProgramUniform3uivEXT = uintptr(getProcAddr("glProgramUniform3uivEXT")) - gpProgramUniform4d = uintptr(getProcAddr("glProgramUniform4d")) - gpProgramUniform4dEXT = uintptr(getProcAddr("glProgramUniform4dEXT")) - gpProgramUniform4dv = uintptr(getProcAddr("glProgramUniform4dv")) - gpProgramUniform4dvEXT = uintptr(getProcAddr("glProgramUniform4dvEXT")) - gpProgramUniform4f = uintptr(getProcAddr("glProgramUniform4f")) - gpProgramUniform4fEXT = uintptr(getProcAddr("glProgramUniform4fEXT")) - gpProgramUniform4fv = uintptr(getProcAddr("glProgramUniform4fv")) - gpProgramUniform4fvEXT = uintptr(getProcAddr("glProgramUniform4fvEXT")) - gpProgramUniform4i = uintptr(getProcAddr("glProgramUniform4i")) - gpProgramUniform4i64ARB = uintptr(getProcAddr("glProgramUniform4i64ARB")) - gpProgramUniform4i64NV = uintptr(getProcAddr("glProgramUniform4i64NV")) - gpProgramUniform4i64vARB = uintptr(getProcAddr("glProgramUniform4i64vARB")) - gpProgramUniform4i64vNV = uintptr(getProcAddr("glProgramUniform4i64vNV")) - gpProgramUniform4iEXT = uintptr(getProcAddr("glProgramUniform4iEXT")) - gpProgramUniform4iv = uintptr(getProcAddr("glProgramUniform4iv")) - gpProgramUniform4ivEXT = uintptr(getProcAddr("glProgramUniform4ivEXT")) - gpProgramUniform4ui = uintptr(getProcAddr("glProgramUniform4ui")) - gpProgramUniform4ui64ARB = uintptr(getProcAddr("glProgramUniform4ui64ARB")) - gpProgramUniform4ui64NV = uintptr(getProcAddr("glProgramUniform4ui64NV")) - gpProgramUniform4ui64vARB = uintptr(getProcAddr("glProgramUniform4ui64vARB")) - gpProgramUniform4ui64vNV = uintptr(getProcAddr("glProgramUniform4ui64vNV")) - gpProgramUniform4uiEXT = uintptr(getProcAddr("glProgramUniform4uiEXT")) - gpProgramUniform4uiv = uintptr(getProcAddr("glProgramUniform4uiv")) - gpProgramUniform4uivEXT = uintptr(getProcAddr("glProgramUniform4uivEXT")) - gpProgramUniformHandleui64ARB = uintptr(getProcAddr("glProgramUniformHandleui64ARB")) - gpProgramUniformHandleui64NV = uintptr(getProcAddr("glProgramUniformHandleui64NV")) - gpProgramUniformHandleui64vARB = uintptr(getProcAddr("glProgramUniformHandleui64vARB")) - gpProgramUniformHandleui64vNV = uintptr(getProcAddr("glProgramUniformHandleui64vNV")) - gpProgramUniformMatrix2dv = uintptr(getProcAddr("glProgramUniformMatrix2dv")) - gpProgramUniformMatrix2dvEXT = uintptr(getProcAddr("glProgramUniformMatrix2dvEXT")) - gpProgramUniformMatrix2fv = uintptr(getProcAddr("glProgramUniformMatrix2fv")) - gpProgramUniformMatrix2fvEXT = uintptr(getProcAddr("glProgramUniformMatrix2fvEXT")) - gpProgramUniformMatrix2x3dv = uintptr(getProcAddr("glProgramUniformMatrix2x3dv")) - gpProgramUniformMatrix2x3dvEXT = uintptr(getProcAddr("glProgramUniformMatrix2x3dvEXT")) - gpProgramUniformMatrix2x3fv = uintptr(getProcAddr("glProgramUniformMatrix2x3fv")) - gpProgramUniformMatrix2x3fvEXT = uintptr(getProcAddr("glProgramUniformMatrix2x3fvEXT")) - gpProgramUniformMatrix2x4dv = uintptr(getProcAddr("glProgramUniformMatrix2x4dv")) - gpProgramUniformMatrix2x4dvEXT = uintptr(getProcAddr("glProgramUniformMatrix2x4dvEXT")) - gpProgramUniformMatrix2x4fv = uintptr(getProcAddr("glProgramUniformMatrix2x4fv")) - gpProgramUniformMatrix2x4fvEXT = uintptr(getProcAddr("glProgramUniformMatrix2x4fvEXT")) - gpProgramUniformMatrix3dv = uintptr(getProcAddr("glProgramUniformMatrix3dv")) - gpProgramUniformMatrix3dvEXT = uintptr(getProcAddr("glProgramUniformMatrix3dvEXT")) - gpProgramUniformMatrix3fv = uintptr(getProcAddr("glProgramUniformMatrix3fv")) - gpProgramUniformMatrix3fvEXT = uintptr(getProcAddr("glProgramUniformMatrix3fvEXT")) - gpProgramUniformMatrix3x2dv = uintptr(getProcAddr("glProgramUniformMatrix3x2dv")) - gpProgramUniformMatrix3x2dvEXT = uintptr(getProcAddr("glProgramUniformMatrix3x2dvEXT")) - gpProgramUniformMatrix3x2fv = uintptr(getProcAddr("glProgramUniformMatrix3x2fv")) - gpProgramUniformMatrix3x2fvEXT = uintptr(getProcAddr("glProgramUniformMatrix3x2fvEXT")) - gpProgramUniformMatrix3x4dv = uintptr(getProcAddr("glProgramUniformMatrix3x4dv")) - gpProgramUniformMatrix3x4dvEXT = uintptr(getProcAddr("glProgramUniformMatrix3x4dvEXT")) - gpProgramUniformMatrix3x4fv = uintptr(getProcAddr("glProgramUniformMatrix3x4fv")) - gpProgramUniformMatrix3x4fvEXT = uintptr(getProcAddr("glProgramUniformMatrix3x4fvEXT")) - gpProgramUniformMatrix4dv = uintptr(getProcAddr("glProgramUniformMatrix4dv")) - gpProgramUniformMatrix4dvEXT = uintptr(getProcAddr("glProgramUniformMatrix4dvEXT")) - gpProgramUniformMatrix4fv = uintptr(getProcAddr("glProgramUniformMatrix4fv")) - gpProgramUniformMatrix4fvEXT = uintptr(getProcAddr("glProgramUniformMatrix4fvEXT")) - gpProgramUniformMatrix4x2dv = uintptr(getProcAddr("glProgramUniformMatrix4x2dv")) - gpProgramUniformMatrix4x2dvEXT = uintptr(getProcAddr("glProgramUniformMatrix4x2dvEXT")) - gpProgramUniformMatrix4x2fv = uintptr(getProcAddr("glProgramUniformMatrix4x2fv")) - gpProgramUniformMatrix4x2fvEXT = uintptr(getProcAddr("glProgramUniformMatrix4x2fvEXT")) - gpProgramUniformMatrix4x3dv = uintptr(getProcAddr("glProgramUniformMatrix4x3dv")) - gpProgramUniformMatrix4x3dvEXT = uintptr(getProcAddr("glProgramUniformMatrix4x3dvEXT")) - gpProgramUniformMatrix4x3fv = uintptr(getProcAddr("glProgramUniformMatrix4x3fv")) - gpProgramUniformMatrix4x3fvEXT = uintptr(getProcAddr("glProgramUniformMatrix4x3fvEXT")) - gpProgramUniformui64NV = uintptr(getProcAddr("glProgramUniformui64NV")) - gpProgramUniformui64vNV = uintptr(getProcAddr("glProgramUniformui64vNV")) - gpProgramVertexLimitNV = uintptr(getProcAddr("glProgramVertexLimitNV")) - gpProvokingVertex = uintptr(getProcAddr("glProvokingVertex")) - gpProvokingVertexEXT = uintptr(getProcAddr("glProvokingVertexEXT")) - gpPushAttrib = uintptr(getProcAddr("glPushAttrib")) - if gpPushAttrib == 0 { - return errors.New("glPushAttrib") - } - gpPushClientAttrib = uintptr(getProcAddr("glPushClientAttrib")) - if gpPushClientAttrib == 0 { - return errors.New("glPushClientAttrib") - } - gpPushClientAttribDefaultEXT = uintptr(getProcAddr("glPushClientAttribDefaultEXT")) - gpPushDebugGroup = uintptr(getProcAddr("glPushDebugGroup")) - gpPushDebugGroupKHR = uintptr(getProcAddr("glPushDebugGroupKHR")) - gpPushGroupMarkerEXT = uintptr(getProcAddr("glPushGroupMarkerEXT")) - gpPushMatrix = uintptr(getProcAddr("glPushMatrix")) - if gpPushMatrix == 0 { - return errors.New("glPushMatrix") - } - gpPushName = uintptr(getProcAddr("glPushName")) - if gpPushName == 0 { - return errors.New("glPushName") - } - gpQueryCounter = uintptr(getProcAddr("glQueryCounter")) - gpQueryMatrixxOES = uintptr(getProcAddr("glQueryMatrixxOES")) - gpQueryObjectParameteruiAMD = uintptr(getProcAddr("glQueryObjectParameteruiAMD")) - gpQueryResourceNV = uintptr(getProcAddr("glQueryResourceNV")) - gpQueryResourceTagNV = uintptr(getProcAddr("glQueryResourceTagNV")) - gpRasterPos2d = uintptr(getProcAddr("glRasterPos2d")) - if gpRasterPos2d == 0 { - return errors.New("glRasterPos2d") - } - gpRasterPos2dv = uintptr(getProcAddr("glRasterPos2dv")) - if gpRasterPos2dv == 0 { - return errors.New("glRasterPos2dv") - } - gpRasterPos2f = uintptr(getProcAddr("glRasterPos2f")) - if gpRasterPos2f == 0 { - return errors.New("glRasterPos2f") - } - gpRasterPos2fv = uintptr(getProcAddr("glRasterPos2fv")) - if gpRasterPos2fv == 0 { - return errors.New("glRasterPos2fv") - } - gpRasterPos2i = uintptr(getProcAddr("glRasterPos2i")) - if gpRasterPos2i == 0 { - return errors.New("glRasterPos2i") - } - gpRasterPos2iv = uintptr(getProcAddr("glRasterPos2iv")) - if gpRasterPos2iv == 0 { - return errors.New("glRasterPos2iv") - } - gpRasterPos2s = uintptr(getProcAddr("glRasterPos2s")) - if gpRasterPos2s == 0 { - return errors.New("glRasterPos2s") - } - gpRasterPos2sv = uintptr(getProcAddr("glRasterPos2sv")) - if gpRasterPos2sv == 0 { - return errors.New("glRasterPos2sv") - } - gpRasterPos2xOES = uintptr(getProcAddr("glRasterPos2xOES")) - gpRasterPos2xvOES = uintptr(getProcAddr("glRasterPos2xvOES")) - gpRasterPos3d = uintptr(getProcAddr("glRasterPos3d")) - if gpRasterPos3d == 0 { - return errors.New("glRasterPos3d") - } - gpRasterPos3dv = uintptr(getProcAddr("glRasterPos3dv")) - if gpRasterPos3dv == 0 { - return errors.New("glRasterPos3dv") - } - gpRasterPos3f = uintptr(getProcAddr("glRasterPos3f")) - if gpRasterPos3f == 0 { - return errors.New("glRasterPos3f") - } - gpRasterPos3fv = uintptr(getProcAddr("glRasterPos3fv")) - if gpRasterPos3fv == 0 { - return errors.New("glRasterPos3fv") - } - gpRasterPos3i = uintptr(getProcAddr("glRasterPos3i")) - if gpRasterPos3i == 0 { - return errors.New("glRasterPos3i") - } - gpRasterPos3iv = uintptr(getProcAddr("glRasterPos3iv")) - if gpRasterPos3iv == 0 { - return errors.New("glRasterPos3iv") - } - gpRasterPos3s = uintptr(getProcAddr("glRasterPos3s")) - if gpRasterPos3s == 0 { - return errors.New("glRasterPos3s") - } - gpRasterPos3sv = uintptr(getProcAddr("glRasterPos3sv")) - if gpRasterPos3sv == 0 { - return errors.New("glRasterPos3sv") - } - gpRasterPos3xOES = uintptr(getProcAddr("glRasterPos3xOES")) - gpRasterPos3xvOES = uintptr(getProcAddr("glRasterPos3xvOES")) - gpRasterPos4d = uintptr(getProcAddr("glRasterPos4d")) - if gpRasterPos4d == 0 { - return errors.New("glRasterPos4d") - } - gpRasterPos4dv = uintptr(getProcAddr("glRasterPos4dv")) - if gpRasterPos4dv == 0 { - return errors.New("glRasterPos4dv") - } - gpRasterPos4f = uintptr(getProcAddr("glRasterPos4f")) - if gpRasterPos4f == 0 { - return errors.New("glRasterPos4f") - } - gpRasterPos4fv = uintptr(getProcAddr("glRasterPos4fv")) - if gpRasterPos4fv == 0 { - return errors.New("glRasterPos4fv") - } - gpRasterPos4i = uintptr(getProcAddr("glRasterPos4i")) - if gpRasterPos4i == 0 { - return errors.New("glRasterPos4i") - } - gpRasterPos4iv = uintptr(getProcAddr("glRasterPos4iv")) - if gpRasterPos4iv == 0 { - return errors.New("glRasterPos4iv") - } - gpRasterPos4s = uintptr(getProcAddr("glRasterPos4s")) - if gpRasterPos4s == 0 { - return errors.New("glRasterPos4s") - } - gpRasterPos4sv = uintptr(getProcAddr("glRasterPos4sv")) - if gpRasterPos4sv == 0 { - return errors.New("glRasterPos4sv") - } - gpRasterPos4xOES = uintptr(getProcAddr("glRasterPos4xOES")) - gpRasterPos4xvOES = uintptr(getProcAddr("glRasterPos4xvOES")) - gpRasterSamplesEXT = uintptr(getProcAddr("glRasterSamplesEXT")) - gpReadBuffer = uintptr(getProcAddr("glReadBuffer")) - if gpReadBuffer == 0 { - return errors.New("glReadBuffer") - } - gpReadInstrumentsSGIX = uintptr(getProcAddr("glReadInstrumentsSGIX")) gpReadPixels = uintptr(getProcAddr("glReadPixels")) if gpReadPixels == 0 { return errors.New("glReadPixels") } - gpReadnPixels = uintptr(getProcAddr("glReadnPixels")) - gpReadnPixelsARB = uintptr(getProcAddr("glReadnPixelsARB")) - gpReadnPixelsKHR = uintptr(getProcAddr("glReadnPixelsKHR")) - gpRectd = uintptr(getProcAddr("glRectd")) - if gpRectd == 0 { - return errors.New("glRectd") - } - gpRectdv = uintptr(getProcAddr("glRectdv")) - if gpRectdv == 0 { - return errors.New("glRectdv") - } - gpRectf = uintptr(getProcAddr("glRectf")) - if gpRectf == 0 { - return errors.New("glRectf") - } - gpRectfv = uintptr(getProcAddr("glRectfv")) - if gpRectfv == 0 { - return errors.New("glRectfv") - } - gpRecti = uintptr(getProcAddr("glRecti")) - if gpRecti == 0 { - return errors.New("glRecti") - } - gpRectiv = uintptr(getProcAddr("glRectiv")) - if gpRectiv == 0 { - return errors.New("glRectiv") - } - gpRects = uintptr(getProcAddr("glRects")) - if gpRects == 0 { - return errors.New("glRects") - } - gpRectsv = uintptr(getProcAddr("glRectsv")) - if gpRectsv == 0 { - return errors.New("glRectsv") - } - gpRectxOES = uintptr(getProcAddr("glRectxOES")) - gpRectxvOES = uintptr(getProcAddr("glRectxvOES")) - gpReferencePlaneSGIX = uintptr(getProcAddr("glReferencePlaneSGIX")) - gpReleaseKeyedMutexWin32EXT = uintptr(getProcAddr("glReleaseKeyedMutexWin32EXT")) - gpReleaseShaderCompiler = uintptr(getProcAddr("glReleaseShaderCompiler")) - gpRenderGpuMaskNV = uintptr(getProcAddr("glRenderGpuMaskNV")) - gpRenderMode = uintptr(getProcAddr("glRenderMode")) - if gpRenderMode == 0 { - return errors.New("glRenderMode") - } - gpRenderbufferStorage = uintptr(getProcAddr("glRenderbufferStorage")) - gpRenderbufferStorageEXT = uintptr(getProcAddr("glRenderbufferStorageEXT")) - gpRenderbufferStorageMultisample = uintptr(getProcAddr("glRenderbufferStorageMultisample")) - gpRenderbufferStorageMultisampleCoverageNV = uintptr(getProcAddr("glRenderbufferStorageMultisampleCoverageNV")) - gpRenderbufferStorageMultisampleEXT = uintptr(getProcAddr("glRenderbufferStorageMultisampleEXT")) - gpReplacementCodePointerSUN = uintptr(getProcAddr("glReplacementCodePointerSUN")) - gpReplacementCodeubSUN = uintptr(getProcAddr("glReplacementCodeubSUN")) - gpReplacementCodeubvSUN = uintptr(getProcAddr("glReplacementCodeubvSUN")) - gpReplacementCodeuiColor3fVertex3fSUN = uintptr(getProcAddr("glReplacementCodeuiColor3fVertex3fSUN")) - gpReplacementCodeuiColor3fVertex3fvSUN = uintptr(getProcAddr("glReplacementCodeuiColor3fVertex3fvSUN")) - gpReplacementCodeuiColor4fNormal3fVertex3fSUN = uintptr(getProcAddr("glReplacementCodeuiColor4fNormal3fVertex3fSUN")) - gpReplacementCodeuiColor4fNormal3fVertex3fvSUN = uintptr(getProcAddr("glReplacementCodeuiColor4fNormal3fVertex3fvSUN")) - gpReplacementCodeuiColor4ubVertex3fSUN = uintptr(getProcAddr("glReplacementCodeuiColor4ubVertex3fSUN")) - gpReplacementCodeuiColor4ubVertex3fvSUN = uintptr(getProcAddr("glReplacementCodeuiColor4ubVertex3fvSUN")) - gpReplacementCodeuiNormal3fVertex3fSUN = uintptr(getProcAddr("glReplacementCodeuiNormal3fVertex3fSUN")) - gpReplacementCodeuiNormal3fVertex3fvSUN = uintptr(getProcAddr("glReplacementCodeuiNormal3fVertex3fvSUN")) - gpReplacementCodeuiSUN = uintptr(getProcAddr("glReplacementCodeuiSUN")) - gpReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN = uintptr(getProcAddr("glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN")) - gpReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN = uintptr(getProcAddr("glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN")) - gpReplacementCodeuiTexCoord2fNormal3fVertex3fSUN = uintptr(getProcAddr("glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN")) - gpReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN = uintptr(getProcAddr("glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN")) - gpReplacementCodeuiTexCoord2fVertex3fSUN = uintptr(getProcAddr("glReplacementCodeuiTexCoord2fVertex3fSUN")) - gpReplacementCodeuiTexCoord2fVertex3fvSUN = uintptr(getProcAddr("glReplacementCodeuiTexCoord2fVertex3fvSUN")) - gpReplacementCodeuiVertex3fSUN = uintptr(getProcAddr("glReplacementCodeuiVertex3fSUN")) - gpReplacementCodeuiVertex3fvSUN = uintptr(getProcAddr("glReplacementCodeuiVertex3fvSUN")) - gpReplacementCodeuivSUN = uintptr(getProcAddr("glReplacementCodeuivSUN")) - gpReplacementCodeusSUN = uintptr(getProcAddr("glReplacementCodeusSUN")) - gpReplacementCodeusvSUN = uintptr(getProcAddr("glReplacementCodeusvSUN")) - gpRequestResidentProgramsNV = uintptr(getProcAddr("glRequestResidentProgramsNV")) - gpResetHistogramEXT = uintptr(getProcAddr("glResetHistogramEXT")) - gpResetMinmaxEXT = uintptr(getProcAddr("glResetMinmaxEXT")) - gpResizeBuffersMESA = uintptr(getProcAddr("glResizeBuffersMESA")) - gpResolveDepthValuesNV = uintptr(getProcAddr("glResolveDepthValuesNV")) - gpResumeTransformFeedback = uintptr(getProcAddr("glResumeTransformFeedback")) - gpResumeTransformFeedbackNV = uintptr(getProcAddr("glResumeTransformFeedbackNV")) - gpRotated = uintptr(getProcAddr("glRotated")) - if gpRotated == 0 { - return errors.New("glRotated") - } - gpRotatef = uintptr(getProcAddr("glRotatef")) - if gpRotatef == 0 { - return errors.New("glRotatef") - } - gpRotatexOES = uintptr(getProcAddr("glRotatexOES")) - gpSampleCoverage = uintptr(getProcAddr("glSampleCoverage")) - if gpSampleCoverage == 0 { - return errors.New("glSampleCoverage") - } - gpSampleCoverageARB = uintptr(getProcAddr("glSampleCoverageARB")) - gpSampleCoveragexOES = uintptr(getProcAddr("glSampleCoveragexOES")) - gpSampleMapATI = uintptr(getProcAddr("glSampleMapATI")) - gpSampleMaskEXT = uintptr(getProcAddr("glSampleMaskEXT")) - gpSampleMaskIndexedNV = uintptr(getProcAddr("glSampleMaskIndexedNV")) - gpSampleMaskSGIS = uintptr(getProcAddr("glSampleMaskSGIS")) - gpSampleMaski = uintptr(getProcAddr("glSampleMaski")) - gpSamplePatternEXT = uintptr(getProcAddr("glSamplePatternEXT")) - gpSamplePatternSGIS = uintptr(getProcAddr("glSamplePatternSGIS")) - gpSamplerParameterIiv = uintptr(getProcAddr("glSamplerParameterIiv")) - gpSamplerParameterIuiv = uintptr(getProcAddr("glSamplerParameterIuiv")) - gpSamplerParameterf = uintptr(getProcAddr("glSamplerParameterf")) - gpSamplerParameterfv = uintptr(getProcAddr("glSamplerParameterfv")) - gpSamplerParameteri = uintptr(getProcAddr("glSamplerParameteri")) - gpSamplerParameteriv = uintptr(getProcAddr("glSamplerParameteriv")) - gpScaled = uintptr(getProcAddr("glScaled")) - if gpScaled == 0 { - return errors.New("glScaled") - } - gpScalef = uintptr(getProcAddr("glScalef")) - if gpScalef == 0 { - return errors.New("glScalef") - } - gpScalexOES = uintptr(getProcAddr("glScalexOES")) - gpScissor = uintptr(getProcAddr("glScissor")) - if gpScissor == 0 { - return errors.New("glScissor") - } - gpScissorArrayv = uintptr(getProcAddr("glScissorArrayv")) - gpScissorIndexed = uintptr(getProcAddr("glScissorIndexed")) - gpScissorIndexedv = uintptr(getProcAddr("glScissorIndexedv")) - gpSecondaryColor3b = uintptr(getProcAddr("glSecondaryColor3b")) - if gpSecondaryColor3b == 0 { - return errors.New("glSecondaryColor3b") - } - gpSecondaryColor3bEXT = uintptr(getProcAddr("glSecondaryColor3bEXT")) - gpSecondaryColor3bv = uintptr(getProcAddr("glSecondaryColor3bv")) - if gpSecondaryColor3bv == 0 { - return errors.New("glSecondaryColor3bv") - } - gpSecondaryColor3bvEXT = uintptr(getProcAddr("glSecondaryColor3bvEXT")) - gpSecondaryColor3d = uintptr(getProcAddr("glSecondaryColor3d")) - if gpSecondaryColor3d == 0 { - return errors.New("glSecondaryColor3d") - } - gpSecondaryColor3dEXT = uintptr(getProcAddr("glSecondaryColor3dEXT")) - gpSecondaryColor3dv = uintptr(getProcAddr("glSecondaryColor3dv")) - if gpSecondaryColor3dv == 0 { - return errors.New("glSecondaryColor3dv") - } - gpSecondaryColor3dvEXT = uintptr(getProcAddr("glSecondaryColor3dvEXT")) - gpSecondaryColor3f = uintptr(getProcAddr("glSecondaryColor3f")) - if gpSecondaryColor3f == 0 { - return errors.New("glSecondaryColor3f") - } - gpSecondaryColor3fEXT = uintptr(getProcAddr("glSecondaryColor3fEXT")) - gpSecondaryColor3fv = uintptr(getProcAddr("glSecondaryColor3fv")) - if gpSecondaryColor3fv == 0 { - return errors.New("glSecondaryColor3fv") - } - gpSecondaryColor3fvEXT = uintptr(getProcAddr("glSecondaryColor3fvEXT")) - gpSecondaryColor3hNV = uintptr(getProcAddr("glSecondaryColor3hNV")) - gpSecondaryColor3hvNV = uintptr(getProcAddr("glSecondaryColor3hvNV")) - gpSecondaryColor3i = uintptr(getProcAddr("glSecondaryColor3i")) - if gpSecondaryColor3i == 0 { - return errors.New("glSecondaryColor3i") - } - gpSecondaryColor3iEXT = uintptr(getProcAddr("glSecondaryColor3iEXT")) - gpSecondaryColor3iv = uintptr(getProcAddr("glSecondaryColor3iv")) - if gpSecondaryColor3iv == 0 { - return errors.New("glSecondaryColor3iv") - } - gpSecondaryColor3ivEXT = uintptr(getProcAddr("glSecondaryColor3ivEXT")) - gpSecondaryColor3s = uintptr(getProcAddr("glSecondaryColor3s")) - if gpSecondaryColor3s == 0 { - return errors.New("glSecondaryColor3s") - } - gpSecondaryColor3sEXT = uintptr(getProcAddr("glSecondaryColor3sEXT")) - gpSecondaryColor3sv = uintptr(getProcAddr("glSecondaryColor3sv")) - if gpSecondaryColor3sv == 0 { - return errors.New("glSecondaryColor3sv") - } - gpSecondaryColor3svEXT = uintptr(getProcAddr("glSecondaryColor3svEXT")) - gpSecondaryColor3ub = uintptr(getProcAddr("glSecondaryColor3ub")) - if gpSecondaryColor3ub == 0 { - return errors.New("glSecondaryColor3ub") - } - gpSecondaryColor3ubEXT = uintptr(getProcAddr("glSecondaryColor3ubEXT")) - gpSecondaryColor3ubv = uintptr(getProcAddr("glSecondaryColor3ubv")) - if gpSecondaryColor3ubv == 0 { - return errors.New("glSecondaryColor3ubv") - } - gpSecondaryColor3ubvEXT = uintptr(getProcAddr("glSecondaryColor3ubvEXT")) - gpSecondaryColor3ui = uintptr(getProcAddr("glSecondaryColor3ui")) - if gpSecondaryColor3ui == 0 { - return errors.New("glSecondaryColor3ui") - } - gpSecondaryColor3uiEXT = uintptr(getProcAddr("glSecondaryColor3uiEXT")) - gpSecondaryColor3uiv = uintptr(getProcAddr("glSecondaryColor3uiv")) - if gpSecondaryColor3uiv == 0 { - return errors.New("glSecondaryColor3uiv") - } - gpSecondaryColor3uivEXT = uintptr(getProcAddr("glSecondaryColor3uivEXT")) - gpSecondaryColor3us = uintptr(getProcAddr("glSecondaryColor3us")) - if gpSecondaryColor3us == 0 { - return errors.New("glSecondaryColor3us") - } - gpSecondaryColor3usEXT = uintptr(getProcAddr("glSecondaryColor3usEXT")) - gpSecondaryColor3usv = uintptr(getProcAddr("glSecondaryColor3usv")) - if gpSecondaryColor3usv == 0 { - return errors.New("glSecondaryColor3usv") - } - gpSecondaryColor3usvEXT = uintptr(getProcAddr("glSecondaryColor3usvEXT")) - gpSecondaryColorFormatNV = uintptr(getProcAddr("glSecondaryColorFormatNV")) - gpSecondaryColorPointer = uintptr(getProcAddr("glSecondaryColorPointer")) - if gpSecondaryColorPointer == 0 { - return errors.New("glSecondaryColorPointer") - } - gpSecondaryColorPointerEXT = uintptr(getProcAddr("glSecondaryColorPointerEXT")) - gpSecondaryColorPointerListIBM = uintptr(getProcAddr("glSecondaryColorPointerListIBM")) - gpSelectBuffer = uintptr(getProcAddr("glSelectBuffer")) - if gpSelectBuffer == 0 { - return errors.New("glSelectBuffer") - } - gpSelectPerfMonitorCountersAMD = uintptr(getProcAddr("glSelectPerfMonitorCountersAMD")) - gpSemaphoreParameterui64vEXT = uintptr(getProcAddr("glSemaphoreParameterui64vEXT")) - gpSeparableFilter2DEXT = uintptr(getProcAddr("glSeparableFilter2DEXT")) - gpSetFenceAPPLE = uintptr(getProcAddr("glSetFenceAPPLE")) - gpSetFenceNV = uintptr(getProcAddr("glSetFenceNV")) - gpSetFragmentShaderConstantATI = uintptr(getProcAddr("glSetFragmentShaderConstantATI")) - gpSetInvariantEXT = uintptr(getProcAddr("glSetInvariantEXT")) - gpSetLocalConstantEXT = uintptr(getProcAddr("glSetLocalConstantEXT")) - gpSetMultisamplefvAMD = uintptr(getProcAddr("glSetMultisamplefvAMD")) - gpShadeModel = uintptr(getProcAddr("glShadeModel")) - if gpShadeModel == 0 { - return errors.New("glShadeModel") - } - gpShaderBinary = uintptr(getProcAddr("glShaderBinary")) - gpShaderOp1EXT = uintptr(getProcAddr("glShaderOp1EXT")) - gpShaderOp2EXT = uintptr(getProcAddr("glShaderOp2EXT")) - gpShaderOp3EXT = uintptr(getProcAddr("glShaderOp3EXT")) gpShaderSource = uintptr(getProcAddr("glShaderSource")) if gpShaderSource == 0 { return errors.New("glShaderSource") } - gpShaderSourceARB = uintptr(getProcAddr("glShaderSourceARB")) - gpShaderStorageBlockBinding = uintptr(getProcAddr("glShaderStorageBlockBinding")) - gpSharpenTexFuncSGIS = uintptr(getProcAddr("glSharpenTexFuncSGIS")) - gpSignalSemaphoreEXT = uintptr(getProcAddr("glSignalSemaphoreEXT")) - gpSignalVkFenceNV = uintptr(getProcAddr("glSignalVkFenceNV")) - gpSignalVkSemaphoreNV = uintptr(getProcAddr("glSignalVkSemaphoreNV")) - gpSpecializeShaderARB = uintptr(getProcAddr("glSpecializeShaderARB")) - gpSpriteParameterfSGIX = uintptr(getProcAddr("glSpriteParameterfSGIX")) - gpSpriteParameterfvSGIX = uintptr(getProcAddr("glSpriteParameterfvSGIX")) - gpSpriteParameteriSGIX = uintptr(getProcAddr("glSpriteParameteriSGIX")) - gpSpriteParameterivSGIX = uintptr(getProcAddr("glSpriteParameterivSGIX")) - gpStartInstrumentsSGIX = uintptr(getProcAddr("glStartInstrumentsSGIX")) - gpStateCaptureNV = uintptr(getProcAddr("glStateCaptureNV")) - gpStencilClearTagEXT = uintptr(getProcAddr("glStencilClearTagEXT")) - gpStencilFillPathInstancedNV = uintptr(getProcAddr("glStencilFillPathInstancedNV")) - gpStencilFillPathNV = uintptr(getProcAddr("glStencilFillPathNV")) - gpStencilFunc = uintptr(getProcAddr("glStencilFunc")) - if gpStencilFunc == 0 { - return errors.New("glStencilFunc") - } - gpStencilFuncSeparate = uintptr(getProcAddr("glStencilFuncSeparate")) - if gpStencilFuncSeparate == 0 { - return errors.New("glStencilFuncSeparate") - } - gpStencilFuncSeparateATI = uintptr(getProcAddr("glStencilFuncSeparateATI")) - gpStencilMask = uintptr(getProcAddr("glStencilMask")) - if gpStencilMask == 0 { - return errors.New("glStencilMask") - } - gpStencilMaskSeparate = uintptr(getProcAddr("glStencilMaskSeparate")) - if gpStencilMaskSeparate == 0 { - return errors.New("glStencilMaskSeparate") - } - gpStencilOp = uintptr(getProcAddr("glStencilOp")) - if gpStencilOp == 0 { - return errors.New("glStencilOp") - } - gpStencilOpSeparate = uintptr(getProcAddr("glStencilOpSeparate")) - if gpStencilOpSeparate == 0 { - return errors.New("glStencilOpSeparate") - } - gpStencilOpSeparateATI = uintptr(getProcAddr("glStencilOpSeparateATI")) - gpStencilOpValueAMD = uintptr(getProcAddr("glStencilOpValueAMD")) - gpStencilStrokePathInstancedNV = uintptr(getProcAddr("glStencilStrokePathInstancedNV")) - gpStencilStrokePathNV = uintptr(getProcAddr("glStencilStrokePathNV")) - gpStencilThenCoverFillPathInstancedNV = uintptr(getProcAddr("glStencilThenCoverFillPathInstancedNV")) - gpStencilThenCoverFillPathNV = uintptr(getProcAddr("glStencilThenCoverFillPathNV")) - gpStencilThenCoverStrokePathInstancedNV = uintptr(getProcAddr("glStencilThenCoverStrokePathInstancedNV")) - gpStencilThenCoverStrokePathNV = uintptr(getProcAddr("glStencilThenCoverStrokePathNV")) - gpStopInstrumentsSGIX = uintptr(getProcAddr("glStopInstrumentsSGIX")) - gpStringMarkerGREMEDY = uintptr(getProcAddr("glStringMarkerGREMEDY")) - gpSubpixelPrecisionBiasNV = uintptr(getProcAddr("glSubpixelPrecisionBiasNV")) - gpSwizzleEXT = uintptr(getProcAddr("glSwizzleEXT")) - gpSyncTextureINTEL = uintptr(getProcAddr("glSyncTextureINTEL")) - gpTagSampleBufferSGIX = uintptr(getProcAddr("glTagSampleBufferSGIX")) - gpTangent3bEXT = uintptr(getProcAddr("glTangent3bEXT")) - gpTangent3bvEXT = uintptr(getProcAddr("glTangent3bvEXT")) - gpTangent3dEXT = uintptr(getProcAddr("glTangent3dEXT")) - gpTangent3dvEXT = uintptr(getProcAddr("glTangent3dvEXT")) - gpTangent3fEXT = uintptr(getProcAddr("glTangent3fEXT")) - gpTangent3fvEXT = uintptr(getProcAddr("glTangent3fvEXT")) - gpTangent3iEXT = uintptr(getProcAddr("glTangent3iEXT")) - gpTangent3ivEXT = uintptr(getProcAddr("glTangent3ivEXT")) - gpTangent3sEXT = uintptr(getProcAddr("glTangent3sEXT")) - gpTangent3svEXT = uintptr(getProcAddr("glTangent3svEXT")) - gpTangentPointerEXT = uintptr(getProcAddr("glTangentPointerEXT")) - gpTbufferMask3DFX = uintptr(getProcAddr("glTbufferMask3DFX")) - gpTessellationFactorAMD = uintptr(getProcAddr("glTessellationFactorAMD")) - gpTessellationModeAMD = uintptr(getProcAddr("glTessellationModeAMD")) - gpTestFenceAPPLE = uintptr(getProcAddr("glTestFenceAPPLE")) - gpTestFenceNV = uintptr(getProcAddr("glTestFenceNV")) - gpTestObjectAPPLE = uintptr(getProcAddr("glTestObjectAPPLE")) - gpTexBufferARB = uintptr(getProcAddr("glTexBufferARB")) - gpTexBufferEXT = uintptr(getProcAddr("glTexBufferEXT")) - gpTexBufferRange = uintptr(getProcAddr("glTexBufferRange")) - gpTexBumpParameterfvATI = uintptr(getProcAddr("glTexBumpParameterfvATI")) - gpTexBumpParameterivATI = uintptr(getProcAddr("glTexBumpParameterivATI")) - gpTexCoord1bOES = uintptr(getProcAddr("glTexCoord1bOES")) - gpTexCoord1bvOES = uintptr(getProcAddr("glTexCoord1bvOES")) - gpTexCoord1d = uintptr(getProcAddr("glTexCoord1d")) - if gpTexCoord1d == 0 { - return errors.New("glTexCoord1d") - } - gpTexCoord1dv = uintptr(getProcAddr("glTexCoord1dv")) - if gpTexCoord1dv == 0 { - return errors.New("glTexCoord1dv") - } - gpTexCoord1f = uintptr(getProcAddr("glTexCoord1f")) - if gpTexCoord1f == 0 { - return errors.New("glTexCoord1f") - } - gpTexCoord1fv = uintptr(getProcAddr("glTexCoord1fv")) - if gpTexCoord1fv == 0 { - return errors.New("glTexCoord1fv") - } - gpTexCoord1hNV = uintptr(getProcAddr("glTexCoord1hNV")) - gpTexCoord1hvNV = uintptr(getProcAddr("glTexCoord1hvNV")) - gpTexCoord1i = uintptr(getProcAddr("glTexCoord1i")) - if gpTexCoord1i == 0 { - return errors.New("glTexCoord1i") - } - gpTexCoord1iv = uintptr(getProcAddr("glTexCoord1iv")) - if gpTexCoord1iv == 0 { - return errors.New("glTexCoord1iv") - } - gpTexCoord1s = uintptr(getProcAddr("glTexCoord1s")) - if gpTexCoord1s == 0 { - return errors.New("glTexCoord1s") - } - gpTexCoord1sv = uintptr(getProcAddr("glTexCoord1sv")) - if gpTexCoord1sv == 0 { - return errors.New("glTexCoord1sv") - } - gpTexCoord1xOES = uintptr(getProcAddr("glTexCoord1xOES")) - gpTexCoord1xvOES = uintptr(getProcAddr("glTexCoord1xvOES")) - gpTexCoord2bOES = uintptr(getProcAddr("glTexCoord2bOES")) - gpTexCoord2bvOES = uintptr(getProcAddr("glTexCoord2bvOES")) - gpTexCoord2d = uintptr(getProcAddr("glTexCoord2d")) - if gpTexCoord2d == 0 { - return errors.New("glTexCoord2d") - } - gpTexCoord2dv = uintptr(getProcAddr("glTexCoord2dv")) - if gpTexCoord2dv == 0 { - return errors.New("glTexCoord2dv") - } - gpTexCoord2f = uintptr(getProcAddr("glTexCoord2f")) - if gpTexCoord2f == 0 { - return errors.New("glTexCoord2f") - } - gpTexCoord2fColor3fVertex3fSUN = uintptr(getProcAddr("glTexCoord2fColor3fVertex3fSUN")) - gpTexCoord2fColor3fVertex3fvSUN = uintptr(getProcAddr("glTexCoord2fColor3fVertex3fvSUN")) - gpTexCoord2fColor4fNormal3fVertex3fSUN = uintptr(getProcAddr("glTexCoord2fColor4fNormal3fVertex3fSUN")) - gpTexCoord2fColor4fNormal3fVertex3fvSUN = uintptr(getProcAddr("glTexCoord2fColor4fNormal3fVertex3fvSUN")) - gpTexCoord2fColor4ubVertex3fSUN = uintptr(getProcAddr("glTexCoord2fColor4ubVertex3fSUN")) - gpTexCoord2fColor4ubVertex3fvSUN = uintptr(getProcAddr("glTexCoord2fColor4ubVertex3fvSUN")) - gpTexCoord2fNormal3fVertex3fSUN = uintptr(getProcAddr("glTexCoord2fNormal3fVertex3fSUN")) - gpTexCoord2fNormal3fVertex3fvSUN = uintptr(getProcAddr("glTexCoord2fNormal3fVertex3fvSUN")) - gpTexCoord2fVertex3fSUN = uintptr(getProcAddr("glTexCoord2fVertex3fSUN")) - gpTexCoord2fVertex3fvSUN = uintptr(getProcAddr("glTexCoord2fVertex3fvSUN")) - gpTexCoord2fv = uintptr(getProcAddr("glTexCoord2fv")) - if gpTexCoord2fv == 0 { - return errors.New("glTexCoord2fv") - } - gpTexCoord2hNV = uintptr(getProcAddr("glTexCoord2hNV")) - gpTexCoord2hvNV = uintptr(getProcAddr("glTexCoord2hvNV")) - gpTexCoord2i = uintptr(getProcAddr("glTexCoord2i")) - if gpTexCoord2i == 0 { - return errors.New("glTexCoord2i") - } - gpTexCoord2iv = uintptr(getProcAddr("glTexCoord2iv")) - if gpTexCoord2iv == 0 { - return errors.New("glTexCoord2iv") - } - gpTexCoord2s = uintptr(getProcAddr("glTexCoord2s")) - if gpTexCoord2s == 0 { - return errors.New("glTexCoord2s") - } - gpTexCoord2sv = uintptr(getProcAddr("glTexCoord2sv")) - if gpTexCoord2sv == 0 { - return errors.New("glTexCoord2sv") - } - gpTexCoord2xOES = uintptr(getProcAddr("glTexCoord2xOES")) - gpTexCoord2xvOES = uintptr(getProcAddr("glTexCoord2xvOES")) - gpTexCoord3bOES = uintptr(getProcAddr("glTexCoord3bOES")) - gpTexCoord3bvOES = uintptr(getProcAddr("glTexCoord3bvOES")) - gpTexCoord3d = uintptr(getProcAddr("glTexCoord3d")) - if gpTexCoord3d == 0 { - return errors.New("glTexCoord3d") - } - gpTexCoord3dv = uintptr(getProcAddr("glTexCoord3dv")) - if gpTexCoord3dv == 0 { - return errors.New("glTexCoord3dv") - } - gpTexCoord3f = uintptr(getProcAddr("glTexCoord3f")) - if gpTexCoord3f == 0 { - return errors.New("glTexCoord3f") - } - gpTexCoord3fv = uintptr(getProcAddr("glTexCoord3fv")) - if gpTexCoord3fv == 0 { - return errors.New("glTexCoord3fv") - } - gpTexCoord3hNV = uintptr(getProcAddr("glTexCoord3hNV")) - gpTexCoord3hvNV = uintptr(getProcAddr("glTexCoord3hvNV")) - gpTexCoord3i = uintptr(getProcAddr("glTexCoord3i")) - if gpTexCoord3i == 0 { - return errors.New("glTexCoord3i") - } - gpTexCoord3iv = uintptr(getProcAddr("glTexCoord3iv")) - if gpTexCoord3iv == 0 { - return errors.New("glTexCoord3iv") - } - gpTexCoord3s = uintptr(getProcAddr("glTexCoord3s")) - if gpTexCoord3s == 0 { - return errors.New("glTexCoord3s") - } - gpTexCoord3sv = uintptr(getProcAddr("glTexCoord3sv")) - if gpTexCoord3sv == 0 { - return errors.New("glTexCoord3sv") - } - gpTexCoord3xOES = uintptr(getProcAddr("glTexCoord3xOES")) - gpTexCoord3xvOES = uintptr(getProcAddr("glTexCoord3xvOES")) - gpTexCoord4bOES = uintptr(getProcAddr("glTexCoord4bOES")) - gpTexCoord4bvOES = uintptr(getProcAddr("glTexCoord4bvOES")) - gpTexCoord4d = uintptr(getProcAddr("glTexCoord4d")) - if gpTexCoord4d == 0 { - return errors.New("glTexCoord4d") - } - gpTexCoord4dv = uintptr(getProcAddr("glTexCoord4dv")) - if gpTexCoord4dv == 0 { - return errors.New("glTexCoord4dv") - } - gpTexCoord4f = uintptr(getProcAddr("glTexCoord4f")) - if gpTexCoord4f == 0 { - return errors.New("glTexCoord4f") - } - gpTexCoord4fColor4fNormal3fVertex4fSUN = uintptr(getProcAddr("glTexCoord4fColor4fNormal3fVertex4fSUN")) - gpTexCoord4fColor4fNormal3fVertex4fvSUN = uintptr(getProcAddr("glTexCoord4fColor4fNormal3fVertex4fvSUN")) - gpTexCoord4fVertex4fSUN = uintptr(getProcAddr("glTexCoord4fVertex4fSUN")) - gpTexCoord4fVertex4fvSUN = uintptr(getProcAddr("glTexCoord4fVertex4fvSUN")) - gpTexCoord4fv = uintptr(getProcAddr("glTexCoord4fv")) - if gpTexCoord4fv == 0 { - return errors.New("glTexCoord4fv") - } - gpTexCoord4hNV = uintptr(getProcAddr("glTexCoord4hNV")) - gpTexCoord4hvNV = uintptr(getProcAddr("glTexCoord4hvNV")) - gpTexCoord4i = uintptr(getProcAddr("glTexCoord4i")) - if gpTexCoord4i == 0 { - return errors.New("glTexCoord4i") - } - gpTexCoord4iv = uintptr(getProcAddr("glTexCoord4iv")) - if gpTexCoord4iv == 0 { - return errors.New("glTexCoord4iv") - } - gpTexCoord4s = uintptr(getProcAddr("glTexCoord4s")) - if gpTexCoord4s == 0 { - return errors.New("glTexCoord4s") - } - gpTexCoord4sv = uintptr(getProcAddr("glTexCoord4sv")) - if gpTexCoord4sv == 0 { - return errors.New("glTexCoord4sv") - } - gpTexCoord4xOES = uintptr(getProcAddr("glTexCoord4xOES")) - gpTexCoord4xvOES = uintptr(getProcAddr("glTexCoord4xvOES")) - gpTexCoordFormatNV = uintptr(getProcAddr("glTexCoordFormatNV")) - gpTexCoordPointer = uintptr(getProcAddr("glTexCoordPointer")) - if gpTexCoordPointer == 0 { - return errors.New("glTexCoordPointer") - } - gpTexCoordPointerEXT = uintptr(getProcAddr("glTexCoordPointerEXT")) - gpTexCoordPointerListIBM = uintptr(getProcAddr("glTexCoordPointerListIBM")) - gpTexCoordPointervINTEL = uintptr(getProcAddr("glTexCoordPointervINTEL")) - gpTexEnvf = uintptr(getProcAddr("glTexEnvf")) - if gpTexEnvf == 0 { - return errors.New("glTexEnvf") - } - gpTexEnvfv = uintptr(getProcAddr("glTexEnvfv")) - if gpTexEnvfv == 0 { - return errors.New("glTexEnvfv") - } - gpTexEnvi = uintptr(getProcAddr("glTexEnvi")) - if gpTexEnvi == 0 { - return errors.New("glTexEnvi") - } - gpTexEnviv = uintptr(getProcAddr("glTexEnviv")) - if gpTexEnviv == 0 { - return errors.New("glTexEnviv") - } - gpTexEnvxOES = uintptr(getProcAddr("glTexEnvxOES")) - gpTexEnvxvOES = uintptr(getProcAddr("glTexEnvxvOES")) - gpTexFilterFuncSGIS = uintptr(getProcAddr("glTexFilterFuncSGIS")) - gpTexGend = uintptr(getProcAddr("glTexGend")) - if gpTexGend == 0 { - return errors.New("glTexGend") - } - gpTexGendv = uintptr(getProcAddr("glTexGendv")) - if gpTexGendv == 0 { - return errors.New("glTexGendv") - } - gpTexGenf = uintptr(getProcAddr("glTexGenf")) - if gpTexGenf == 0 { - return errors.New("glTexGenf") - } - gpTexGenfv = uintptr(getProcAddr("glTexGenfv")) - if gpTexGenfv == 0 { - return errors.New("glTexGenfv") - } - gpTexGeni = uintptr(getProcAddr("glTexGeni")) - if gpTexGeni == 0 { - return errors.New("glTexGeni") - } - gpTexGeniv = uintptr(getProcAddr("glTexGeniv")) - if gpTexGeniv == 0 { - return errors.New("glTexGeniv") - } - gpTexGenxOES = uintptr(getProcAddr("glTexGenxOES")) - gpTexGenxvOES = uintptr(getProcAddr("glTexGenxvOES")) - gpTexImage1D = uintptr(getProcAddr("glTexImage1D")) - if gpTexImage1D == 0 { - return errors.New("glTexImage1D") - } gpTexImage2D = uintptr(getProcAddr("glTexImage2D")) if gpTexImage2D == 0 { return errors.New("glTexImage2D") } - gpTexImage2DMultisample = uintptr(getProcAddr("glTexImage2DMultisample")) - gpTexImage2DMultisampleCoverageNV = uintptr(getProcAddr("glTexImage2DMultisampleCoverageNV")) - gpTexImage3D = uintptr(getProcAddr("glTexImage3D")) - if gpTexImage3D == 0 { - return errors.New("glTexImage3D") - } - gpTexImage3DEXT = uintptr(getProcAddr("glTexImage3DEXT")) - gpTexImage3DMultisample = uintptr(getProcAddr("glTexImage3DMultisample")) - gpTexImage3DMultisampleCoverageNV = uintptr(getProcAddr("glTexImage3DMultisampleCoverageNV")) - gpTexImage4DSGIS = uintptr(getProcAddr("glTexImage4DSGIS")) - gpTexPageCommitmentARB = uintptr(getProcAddr("glTexPageCommitmentARB")) - gpTexParameterIivEXT = uintptr(getProcAddr("glTexParameterIivEXT")) - gpTexParameterIuivEXT = uintptr(getProcAddr("glTexParameterIuivEXT")) - gpTexParameterf = uintptr(getProcAddr("glTexParameterf")) - if gpTexParameterf == 0 { - return errors.New("glTexParameterf") - } - gpTexParameterfv = uintptr(getProcAddr("glTexParameterfv")) - if gpTexParameterfv == 0 { - return errors.New("glTexParameterfv") - } gpTexParameteri = uintptr(getProcAddr("glTexParameteri")) if gpTexParameteri == 0 { return errors.New("glTexParameteri") } - gpTexParameteriv = uintptr(getProcAddr("glTexParameteriv")) - if gpTexParameteriv == 0 { - return errors.New("glTexParameteriv") - } - gpTexParameterxOES = uintptr(getProcAddr("glTexParameterxOES")) - gpTexParameterxvOES = uintptr(getProcAddr("glTexParameterxvOES")) - gpTexRenderbufferNV = uintptr(getProcAddr("glTexRenderbufferNV")) - gpTexStorage1D = uintptr(getProcAddr("glTexStorage1D")) - gpTexStorage2D = uintptr(getProcAddr("glTexStorage2D")) - gpTexStorage2DMultisample = uintptr(getProcAddr("glTexStorage2DMultisample")) - gpTexStorage3D = uintptr(getProcAddr("glTexStorage3D")) - gpTexStorage3DMultisample = uintptr(getProcAddr("glTexStorage3DMultisample")) - gpTexStorageMem1DEXT = uintptr(getProcAddr("glTexStorageMem1DEXT")) - gpTexStorageMem2DEXT = uintptr(getProcAddr("glTexStorageMem2DEXT")) - gpTexStorageMem2DMultisampleEXT = uintptr(getProcAddr("glTexStorageMem2DMultisampleEXT")) - gpTexStorageMem3DEXT = uintptr(getProcAddr("glTexStorageMem3DEXT")) - gpTexStorageMem3DMultisampleEXT = uintptr(getProcAddr("glTexStorageMem3DMultisampleEXT")) - gpTexStorageSparseAMD = uintptr(getProcAddr("glTexStorageSparseAMD")) - gpTexSubImage1D = uintptr(getProcAddr("glTexSubImage1D")) - if gpTexSubImage1D == 0 { - return errors.New("glTexSubImage1D") - } - gpTexSubImage1DEXT = uintptr(getProcAddr("glTexSubImage1DEXT")) gpTexSubImage2D = uintptr(getProcAddr("glTexSubImage2D")) if gpTexSubImage2D == 0 { return errors.New("glTexSubImage2D") } - gpTexSubImage2DEXT = uintptr(getProcAddr("glTexSubImage2DEXT")) - gpTexSubImage3D = uintptr(getProcAddr("glTexSubImage3D")) - if gpTexSubImage3D == 0 { - return errors.New("glTexSubImage3D") - } - gpTexSubImage3DEXT = uintptr(getProcAddr("glTexSubImage3DEXT")) - gpTexSubImage4DSGIS = uintptr(getProcAddr("glTexSubImage4DSGIS")) - gpTextureBarrier = uintptr(getProcAddr("glTextureBarrier")) - gpTextureBarrierNV = uintptr(getProcAddr("glTextureBarrierNV")) - gpTextureBuffer = uintptr(getProcAddr("glTextureBuffer")) - gpTextureBufferEXT = uintptr(getProcAddr("glTextureBufferEXT")) - gpTextureBufferRange = uintptr(getProcAddr("glTextureBufferRange")) - gpTextureBufferRangeEXT = uintptr(getProcAddr("glTextureBufferRangeEXT")) - gpTextureColorMaskSGIS = uintptr(getProcAddr("glTextureColorMaskSGIS")) - gpTextureImage1DEXT = uintptr(getProcAddr("glTextureImage1DEXT")) - gpTextureImage2DEXT = uintptr(getProcAddr("glTextureImage2DEXT")) - gpTextureImage2DMultisampleCoverageNV = uintptr(getProcAddr("glTextureImage2DMultisampleCoverageNV")) - gpTextureImage2DMultisampleNV = uintptr(getProcAddr("glTextureImage2DMultisampleNV")) - gpTextureImage3DEXT = uintptr(getProcAddr("glTextureImage3DEXT")) - gpTextureImage3DMultisampleCoverageNV = uintptr(getProcAddr("glTextureImage3DMultisampleCoverageNV")) - gpTextureImage3DMultisampleNV = uintptr(getProcAddr("glTextureImage3DMultisampleNV")) - gpTextureLightEXT = uintptr(getProcAddr("glTextureLightEXT")) - gpTextureMaterialEXT = uintptr(getProcAddr("glTextureMaterialEXT")) - gpTextureNormalEXT = uintptr(getProcAddr("glTextureNormalEXT")) - gpTexturePageCommitmentEXT = uintptr(getProcAddr("glTexturePageCommitmentEXT")) - gpTextureParameterIiv = uintptr(getProcAddr("glTextureParameterIiv")) - gpTextureParameterIivEXT = uintptr(getProcAddr("glTextureParameterIivEXT")) - gpTextureParameterIuiv = uintptr(getProcAddr("glTextureParameterIuiv")) - gpTextureParameterIuivEXT = uintptr(getProcAddr("glTextureParameterIuivEXT")) - gpTextureParameterf = uintptr(getProcAddr("glTextureParameterf")) - gpTextureParameterfEXT = uintptr(getProcAddr("glTextureParameterfEXT")) - gpTextureParameterfv = uintptr(getProcAddr("glTextureParameterfv")) - gpTextureParameterfvEXT = uintptr(getProcAddr("glTextureParameterfvEXT")) - gpTextureParameteri = uintptr(getProcAddr("glTextureParameteri")) - gpTextureParameteriEXT = uintptr(getProcAddr("glTextureParameteriEXT")) - gpTextureParameteriv = uintptr(getProcAddr("glTextureParameteriv")) - gpTextureParameterivEXT = uintptr(getProcAddr("glTextureParameterivEXT")) - gpTextureRangeAPPLE = uintptr(getProcAddr("glTextureRangeAPPLE")) - gpTextureRenderbufferEXT = uintptr(getProcAddr("glTextureRenderbufferEXT")) - gpTextureStorage1D = uintptr(getProcAddr("glTextureStorage1D")) - gpTextureStorage1DEXT = uintptr(getProcAddr("glTextureStorage1DEXT")) - gpTextureStorage2D = uintptr(getProcAddr("glTextureStorage2D")) - gpTextureStorage2DEXT = uintptr(getProcAddr("glTextureStorage2DEXT")) - gpTextureStorage2DMultisample = uintptr(getProcAddr("glTextureStorage2DMultisample")) - gpTextureStorage2DMultisampleEXT = uintptr(getProcAddr("glTextureStorage2DMultisampleEXT")) - gpTextureStorage3D = uintptr(getProcAddr("glTextureStorage3D")) - gpTextureStorage3DEXT = uintptr(getProcAddr("glTextureStorage3DEXT")) - gpTextureStorage3DMultisample = uintptr(getProcAddr("glTextureStorage3DMultisample")) - gpTextureStorage3DMultisampleEXT = uintptr(getProcAddr("glTextureStorage3DMultisampleEXT")) - gpTextureStorageMem1DEXT = uintptr(getProcAddr("glTextureStorageMem1DEXT")) - gpTextureStorageMem2DEXT = uintptr(getProcAddr("glTextureStorageMem2DEXT")) - gpTextureStorageMem2DMultisampleEXT = uintptr(getProcAddr("glTextureStorageMem2DMultisampleEXT")) - gpTextureStorageMem3DEXT = uintptr(getProcAddr("glTextureStorageMem3DEXT")) - gpTextureStorageMem3DMultisampleEXT = uintptr(getProcAddr("glTextureStorageMem3DMultisampleEXT")) - gpTextureStorageSparseAMD = uintptr(getProcAddr("glTextureStorageSparseAMD")) - gpTextureSubImage1D = uintptr(getProcAddr("glTextureSubImage1D")) - gpTextureSubImage1DEXT = uintptr(getProcAddr("glTextureSubImage1DEXT")) - gpTextureSubImage2D = uintptr(getProcAddr("glTextureSubImage2D")) - gpTextureSubImage2DEXT = uintptr(getProcAddr("glTextureSubImage2DEXT")) - gpTextureSubImage3D = uintptr(getProcAddr("glTextureSubImage3D")) - gpTextureSubImage3DEXT = uintptr(getProcAddr("glTextureSubImage3DEXT")) - gpTextureView = uintptr(getProcAddr("glTextureView")) - gpTrackMatrixNV = uintptr(getProcAddr("glTrackMatrixNV")) - gpTransformFeedbackAttribsNV = uintptr(getProcAddr("glTransformFeedbackAttribsNV")) - gpTransformFeedbackBufferBase = uintptr(getProcAddr("glTransformFeedbackBufferBase")) - gpTransformFeedbackBufferRange = uintptr(getProcAddr("glTransformFeedbackBufferRange")) - gpTransformFeedbackStreamAttribsNV = uintptr(getProcAddr("glTransformFeedbackStreamAttribsNV")) - gpTransformFeedbackVaryingsEXT = uintptr(getProcAddr("glTransformFeedbackVaryingsEXT")) - gpTransformFeedbackVaryingsNV = uintptr(getProcAddr("glTransformFeedbackVaryingsNV")) - gpTransformPathNV = uintptr(getProcAddr("glTransformPathNV")) - gpTranslated = uintptr(getProcAddr("glTranslated")) - if gpTranslated == 0 { - return errors.New("glTranslated") - } - gpTranslatef = uintptr(getProcAddr("glTranslatef")) - if gpTranslatef == 0 { - return errors.New("glTranslatef") - } - gpTranslatexOES = uintptr(getProcAddr("glTranslatexOES")) - gpUniform1d = uintptr(getProcAddr("glUniform1d")) - gpUniform1dv = uintptr(getProcAddr("glUniform1dv")) gpUniform1f = uintptr(getProcAddr("glUniform1f")) if gpUniform1f == 0 { return errors.New("glUniform1f") } - gpUniform1fARB = uintptr(getProcAddr("glUniform1fARB")) - gpUniform1fv = uintptr(getProcAddr("glUniform1fv")) - if gpUniform1fv == 0 { - return errors.New("glUniform1fv") - } - gpUniform1fvARB = uintptr(getProcAddr("glUniform1fvARB")) gpUniform1i = uintptr(getProcAddr("glUniform1i")) if gpUniform1i == 0 { return errors.New("glUniform1i") } - gpUniform1i64ARB = uintptr(getProcAddr("glUniform1i64ARB")) - gpUniform1i64NV = uintptr(getProcAddr("glUniform1i64NV")) - gpUniform1i64vARB = uintptr(getProcAddr("glUniform1i64vARB")) - gpUniform1i64vNV = uintptr(getProcAddr("glUniform1i64vNV")) - gpUniform1iARB = uintptr(getProcAddr("glUniform1iARB")) - gpUniform1iv = uintptr(getProcAddr("glUniform1iv")) - if gpUniform1iv == 0 { - return errors.New("glUniform1iv") - } - gpUniform1ivARB = uintptr(getProcAddr("glUniform1ivARB")) - gpUniform1ui64ARB = uintptr(getProcAddr("glUniform1ui64ARB")) - gpUniform1ui64NV = uintptr(getProcAddr("glUniform1ui64NV")) - gpUniform1ui64vARB = uintptr(getProcAddr("glUniform1ui64vARB")) - gpUniform1ui64vNV = uintptr(getProcAddr("glUniform1ui64vNV")) - gpUniform1uiEXT = uintptr(getProcAddr("glUniform1uiEXT")) - gpUniform1uivEXT = uintptr(getProcAddr("glUniform1uivEXT")) - gpUniform2d = uintptr(getProcAddr("glUniform2d")) - gpUniform2dv = uintptr(getProcAddr("glUniform2dv")) - gpUniform2f = uintptr(getProcAddr("glUniform2f")) - if gpUniform2f == 0 { - return errors.New("glUniform2f") - } - gpUniform2fARB = uintptr(getProcAddr("glUniform2fARB")) gpUniform2fv = uintptr(getProcAddr("glUniform2fv")) if gpUniform2fv == 0 { return errors.New("glUniform2fv") } - gpUniform2fvARB = uintptr(getProcAddr("glUniform2fvARB")) - gpUniform2i = uintptr(getProcAddr("glUniform2i")) - if gpUniform2i == 0 { - return errors.New("glUniform2i") - } - gpUniform2i64ARB = uintptr(getProcAddr("glUniform2i64ARB")) - gpUniform2i64NV = uintptr(getProcAddr("glUniform2i64NV")) - gpUniform2i64vARB = uintptr(getProcAddr("glUniform2i64vARB")) - gpUniform2i64vNV = uintptr(getProcAddr("glUniform2i64vNV")) - gpUniform2iARB = uintptr(getProcAddr("glUniform2iARB")) - gpUniform2iv = uintptr(getProcAddr("glUniform2iv")) - if gpUniform2iv == 0 { - return errors.New("glUniform2iv") - } - gpUniform2ivARB = uintptr(getProcAddr("glUniform2ivARB")) - gpUniform2ui64ARB = uintptr(getProcAddr("glUniform2ui64ARB")) - gpUniform2ui64NV = uintptr(getProcAddr("glUniform2ui64NV")) - gpUniform2ui64vARB = uintptr(getProcAddr("glUniform2ui64vARB")) - gpUniform2ui64vNV = uintptr(getProcAddr("glUniform2ui64vNV")) - gpUniform2uiEXT = uintptr(getProcAddr("glUniform2uiEXT")) - gpUniform2uivEXT = uintptr(getProcAddr("glUniform2uivEXT")) - gpUniform3d = uintptr(getProcAddr("glUniform3d")) - gpUniform3dv = uintptr(getProcAddr("glUniform3dv")) - gpUniform3f = uintptr(getProcAddr("glUniform3f")) - if gpUniform3f == 0 { - return errors.New("glUniform3f") - } - gpUniform3fARB = uintptr(getProcAddr("glUniform3fARB")) - gpUniform3fv = uintptr(getProcAddr("glUniform3fv")) - if gpUniform3fv == 0 { - return errors.New("glUniform3fv") - } - gpUniform3fvARB = uintptr(getProcAddr("glUniform3fvARB")) - gpUniform3i = uintptr(getProcAddr("glUniform3i")) - if gpUniform3i == 0 { - return errors.New("glUniform3i") - } - gpUniform3i64ARB = uintptr(getProcAddr("glUniform3i64ARB")) - gpUniform3i64NV = uintptr(getProcAddr("glUniform3i64NV")) - gpUniform3i64vARB = uintptr(getProcAddr("glUniform3i64vARB")) - gpUniform3i64vNV = uintptr(getProcAddr("glUniform3i64vNV")) - gpUniform3iARB = uintptr(getProcAddr("glUniform3iARB")) - gpUniform3iv = uintptr(getProcAddr("glUniform3iv")) - if gpUniform3iv == 0 { - return errors.New("glUniform3iv") - } - gpUniform3ivARB = uintptr(getProcAddr("glUniform3ivARB")) - gpUniform3ui64ARB = uintptr(getProcAddr("glUniform3ui64ARB")) - gpUniform3ui64NV = uintptr(getProcAddr("glUniform3ui64NV")) - gpUniform3ui64vARB = uintptr(getProcAddr("glUniform3ui64vARB")) - gpUniform3ui64vNV = uintptr(getProcAddr("glUniform3ui64vNV")) - gpUniform3uiEXT = uintptr(getProcAddr("glUniform3uiEXT")) - gpUniform3uivEXT = uintptr(getProcAddr("glUniform3uivEXT")) - gpUniform4d = uintptr(getProcAddr("glUniform4d")) - gpUniform4dv = uintptr(getProcAddr("glUniform4dv")) - gpUniform4f = uintptr(getProcAddr("glUniform4f")) - if gpUniform4f == 0 { - return errors.New("glUniform4f") - } - gpUniform4fARB = uintptr(getProcAddr("glUniform4fARB")) gpUniform4fv = uintptr(getProcAddr("glUniform4fv")) if gpUniform4fv == 0 { return errors.New("glUniform4fv") } - gpUniform4fvARB = uintptr(getProcAddr("glUniform4fvARB")) - gpUniform4i = uintptr(getProcAddr("glUniform4i")) - if gpUniform4i == 0 { - return errors.New("glUniform4i") - } - gpUniform4i64ARB = uintptr(getProcAddr("glUniform4i64ARB")) - gpUniform4i64NV = uintptr(getProcAddr("glUniform4i64NV")) - gpUniform4i64vARB = uintptr(getProcAddr("glUniform4i64vARB")) - gpUniform4i64vNV = uintptr(getProcAddr("glUniform4i64vNV")) - gpUniform4iARB = uintptr(getProcAddr("glUniform4iARB")) - gpUniform4iv = uintptr(getProcAddr("glUniform4iv")) - if gpUniform4iv == 0 { - return errors.New("glUniform4iv") - } - gpUniform4ivARB = uintptr(getProcAddr("glUniform4ivARB")) - gpUniform4ui64ARB = uintptr(getProcAddr("glUniform4ui64ARB")) - gpUniform4ui64NV = uintptr(getProcAddr("glUniform4ui64NV")) - gpUniform4ui64vARB = uintptr(getProcAddr("glUniform4ui64vARB")) - gpUniform4ui64vNV = uintptr(getProcAddr("glUniform4ui64vNV")) - gpUniform4uiEXT = uintptr(getProcAddr("glUniform4uiEXT")) - gpUniform4uivEXT = uintptr(getProcAddr("glUniform4uivEXT")) - gpUniformBlockBinding = uintptr(getProcAddr("glUniformBlockBinding")) - gpUniformBufferEXT = uintptr(getProcAddr("glUniformBufferEXT")) - gpUniformHandleui64ARB = uintptr(getProcAddr("glUniformHandleui64ARB")) - gpUniformHandleui64NV = uintptr(getProcAddr("glUniformHandleui64NV")) - gpUniformHandleui64vARB = uintptr(getProcAddr("glUniformHandleui64vARB")) - gpUniformHandleui64vNV = uintptr(getProcAddr("glUniformHandleui64vNV")) - gpUniformMatrix2dv = uintptr(getProcAddr("glUniformMatrix2dv")) - gpUniformMatrix2fv = uintptr(getProcAddr("glUniformMatrix2fv")) - if gpUniformMatrix2fv == 0 { - return errors.New("glUniformMatrix2fv") - } - gpUniformMatrix2fvARB = uintptr(getProcAddr("glUniformMatrix2fvARB")) - gpUniformMatrix2x3dv = uintptr(getProcAddr("glUniformMatrix2x3dv")) - gpUniformMatrix2x3fv = uintptr(getProcAddr("glUniformMatrix2x3fv")) - if gpUniformMatrix2x3fv == 0 { - return errors.New("glUniformMatrix2x3fv") - } - gpUniformMatrix2x4dv = uintptr(getProcAddr("glUniformMatrix2x4dv")) - gpUniformMatrix2x4fv = uintptr(getProcAddr("glUniformMatrix2x4fv")) - if gpUniformMatrix2x4fv == 0 { - return errors.New("glUniformMatrix2x4fv") - } - gpUniformMatrix3dv = uintptr(getProcAddr("glUniformMatrix3dv")) - gpUniformMatrix3fv = uintptr(getProcAddr("glUniformMatrix3fv")) - if gpUniformMatrix3fv == 0 { - return errors.New("glUniformMatrix3fv") - } - gpUniformMatrix3fvARB = uintptr(getProcAddr("glUniformMatrix3fvARB")) - gpUniformMatrix3x2dv = uintptr(getProcAddr("glUniformMatrix3x2dv")) - gpUniformMatrix3x2fv = uintptr(getProcAddr("glUniformMatrix3x2fv")) - if gpUniformMatrix3x2fv == 0 { - return errors.New("glUniformMatrix3x2fv") - } - gpUniformMatrix3x4dv = uintptr(getProcAddr("glUniformMatrix3x4dv")) - gpUniformMatrix3x4fv = uintptr(getProcAddr("glUniformMatrix3x4fv")) - if gpUniformMatrix3x4fv == 0 { - return errors.New("glUniformMatrix3x4fv") - } - gpUniformMatrix4dv = uintptr(getProcAddr("glUniformMatrix4dv")) gpUniformMatrix4fv = uintptr(getProcAddr("glUniformMatrix4fv")) if gpUniformMatrix4fv == 0 { return errors.New("glUniformMatrix4fv") } - gpUniformMatrix4fvARB = uintptr(getProcAddr("glUniformMatrix4fvARB")) - gpUniformMatrix4x2dv = uintptr(getProcAddr("glUniformMatrix4x2dv")) - gpUniformMatrix4x2fv = uintptr(getProcAddr("glUniformMatrix4x2fv")) - if gpUniformMatrix4x2fv == 0 { - return errors.New("glUniformMatrix4x2fv") - } - gpUniformMatrix4x3dv = uintptr(getProcAddr("glUniformMatrix4x3dv")) - gpUniformMatrix4x3fv = uintptr(getProcAddr("glUniformMatrix4x3fv")) - if gpUniformMatrix4x3fv == 0 { - return errors.New("glUniformMatrix4x3fv") - } - gpUniformSubroutinesuiv = uintptr(getProcAddr("glUniformSubroutinesuiv")) - gpUniformui64NV = uintptr(getProcAddr("glUniformui64NV")) - gpUniformui64vNV = uintptr(getProcAddr("glUniformui64vNV")) - gpUnlockArraysEXT = uintptr(getProcAddr("glUnlockArraysEXT")) - gpUnmapBuffer = uintptr(getProcAddr("glUnmapBuffer")) - if gpUnmapBuffer == 0 { - return errors.New("glUnmapBuffer") - } - gpUnmapBufferARB = uintptr(getProcAddr("glUnmapBufferARB")) - gpUnmapNamedBuffer = uintptr(getProcAddr("glUnmapNamedBuffer")) - gpUnmapNamedBufferEXT = uintptr(getProcAddr("glUnmapNamedBufferEXT")) - gpUnmapObjectBufferATI = uintptr(getProcAddr("glUnmapObjectBufferATI")) - gpUnmapTexture2DINTEL = uintptr(getProcAddr("glUnmapTexture2DINTEL")) - gpUpdateObjectBufferATI = uintptr(getProcAddr("glUpdateObjectBufferATI")) gpUseProgram = uintptr(getProcAddr("glUseProgram")) if gpUseProgram == 0 { return errors.New("glUseProgram") } - gpUseProgramObjectARB = uintptr(getProcAddr("glUseProgramObjectARB")) - gpUseProgramStages = uintptr(getProcAddr("glUseProgramStages")) - gpUseProgramStagesEXT = uintptr(getProcAddr("glUseProgramStagesEXT")) - gpUseShaderProgramEXT = uintptr(getProcAddr("glUseShaderProgramEXT")) - gpVDPAUFiniNV = uintptr(getProcAddr("glVDPAUFiniNV")) - gpVDPAUGetSurfaceivNV = uintptr(getProcAddr("glVDPAUGetSurfaceivNV")) - gpVDPAUInitNV = uintptr(getProcAddr("glVDPAUInitNV")) - gpVDPAUIsSurfaceNV = uintptr(getProcAddr("glVDPAUIsSurfaceNV")) - gpVDPAUMapSurfacesNV = uintptr(getProcAddr("glVDPAUMapSurfacesNV")) - gpVDPAURegisterOutputSurfaceNV = uintptr(getProcAddr("glVDPAURegisterOutputSurfaceNV")) - gpVDPAURegisterVideoSurfaceNV = uintptr(getProcAddr("glVDPAURegisterVideoSurfaceNV")) - gpVDPAUSurfaceAccessNV = uintptr(getProcAddr("glVDPAUSurfaceAccessNV")) - gpVDPAUUnmapSurfacesNV = uintptr(getProcAddr("glVDPAUUnmapSurfacesNV")) - gpVDPAUUnregisterSurfaceNV = uintptr(getProcAddr("glVDPAUUnregisterSurfaceNV")) - gpValidateProgram = uintptr(getProcAddr("glValidateProgram")) - if gpValidateProgram == 0 { - return errors.New("glValidateProgram") - } - gpValidateProgramARB = uintptr(getProcAddr("glValidateProgramARB")) - gpValidateProgramPipeline = uintptr(getProcAddr("glValidateProgramPipeline")) - gpValidateProgramPipelineEXT = uintptr(getProcAddr("glValidateProgramPipelineEXT")) - gpVariantArrayObjectATI = uintptr(getProcAddr("glVariantArrayObjectATI")) - gpVariantPointerEXT = uintptr(getProcAddr("glVariantPointerEXT")) - gpVariantbvEXT = uintptr(getProcAddr("glVariantbvEXT")) - gpVariantdvEXT = uintptr(getProcAddr("glVariantdvEXT")) - gpVariantfvEXT = uintptr(getProcAddr("glVariantfvEXT")) - gpVariantivEXT = uintptr(getProcAddr("glVariantivEXT")) - gpVariantsvEXT = uintptr(getProcAddr("glVariantsvEXT")) - gpVariantubvEXT = uintptr(getProcAddr("glVariantubvEXT")) - gpVariantuivEXT = uintptr(getProcAddr("glVariantuivEXT")) - gpVariantusvEXT = uintptr(getProcAddr("glVariantusvEXT")) - gpVertex2bOES = uintptr(getProcAddr("glVertex2bOES")) - gpVertex2bvOES = uintptr(getProcAddr("glVertex2bvOES")) - gpVertex2d = uintptr(getProcAddr("glVertex2d")) - if gpVertex2d == 0 { - return errors.New("glVertex2d") - } - gpVertex2dv = uintptr(getProcAddr("glVertex2dv")) - if gpVertex2dv == 0 { - return errors.New("glVertex2dv") - } - gpVertex2f = uintptr(getProcAddr("glVertex2f")) - if gpVertex2f == 0 { - return errors.New("glVertex2f") - } - gpVertex2fv = uintptr(getProcAddr("glVertex2fv")) - if gpVertex2fv == 0 { - return errors.New("glVertex2fv") - } - gpVertex2hNV = uintptr(getProcAddr("glVertex2hNV")) - gpVertex2hvNV = uintptr(getProcAddr("glVertex2hvNV")) - gpVertex2i = uintptr(getProcAddr("glVertex2i")) - if gpVertex2i == 0 { - return errors.New("glVertex2i") - } - gpVertex2iv = uintptr(getProcAddr("glVertex2iv")) - if gpVertex2iv == 0 { - return errors.New("glVertex2iv") - } - gpVertex2s = uintptr(getProcAddr("glVertex2s")) - if gpVertex2s == 0 { - return errors.New("glVertex2s") - } - gpVertex2sv = uintptr(getProcAddr("glVertex2sv")) - if gpVertex2sv == 0 { - return errors.New("glVertex2sv") - } - gpVertex2xOES = uintptr(getProcAddr("glVertex2xOES")) - gpVertex2xvOES = uintptr(getProcAddr("glVertex2xvOES")) - gpVertex3bOES = uintptr(getProcAddr("glVertex3bOES")) - gpVertex3bvOES = uintptr(getProcAddr("glVertex3bvOES")) - gpVertex3d = uintptr(getProcAddr("glVertex3d")) - if gpVertex3d == 0 { - return errors.New("glVertex3d") - } - gpVertex3dv = uintptr(getProcAddr("glVertex3dv")) - if gpVertex3dv == 0 { - return errors.New("glVertex3dv") - } - gpVertex3f = uintptr(getProcAddr("glVertex3f")) - if gpVertex3f == 0 { - return errors.New("glVertex3f") - } - gpVertex3fv = uintptr(getProcAddr("glVertex3fv")) - if gpVertex3fv == 0 { - return errors.New("glVertex3fv") - } - gpVertex3hNV = uintptr(getProcAddr("glVertex3hNV")) - gpVertex3hvNV = uintptr(getProcAddr("glVertex3hvNV")) - gpVertex3i = uintptr(getProcAddr("glVertex3i")) - if gpVertex3i == 0 { - return errors.New("glVertex3i") - } - gpVertex3iv = uintptr(getProcAddr("glVertex3iv")) - if gpVertex3iv == 0 { - return errors.New("glVertex3iv") - } - gpVertex3s = uintptr(getProcAddr("glVertex3s")) - if gpVertex3s == 0 { - return errors.New("glVertex3s") - } - gpVertex3sv = uintptr(getProcAddr("glVertex3sv")) - if gpVertex3sv == 0 { - return errors.New("glVertex3sv") - } - gpVertex3xOES = uintptr(getProcAddr("glVertex3xOES")) - gpVertex3xvOES = uintptr(getProcAddr("glVertex3xvOES")) - gpVertex4bOES = uintptr(getProcAddr("glVertex4bOES")) - gpVertex4bvOES = uintptr(getProcAddr("glVertex4bvOES")) - gpVertex4d = uintptr(getProcAddr("glVertex4d")) - if gpVertex4d == 0 { - return errors.New("glVertex4d") - } - gpVertex4dv = uintptr(getProcAddr("glVertex4dv")) - if gpVertex4dv == 0 { - return errors.New("glVertex4dv") - } - gpVertex4f = uintptr(getProcAddr("glVertex4f")) - if gpVertex4f == 0 { - return errors.New("glVertex4f") - } - gpVertex4fv = uintptr(getProcAddr("glVertex4fv")) - if gpVertex4fv == 0 { - return errors.New("glVertex4fv") - } - gpVertex4hNV = uintptr(getProcAddr("glVertex4hNV")) - gpVertex4hvNV = uintptr(getProcAddr("glVertex4hvNV")) - gpVertex4i = uintptr(getProcAddr("glVertex4i")) - if gpVertex4i == 0 { - return errors.New("glVertex4i") - } - gpVertex4iv = uintptr(getProcAddr("glVertex4iv")) - if gpVertex4iv == 0 { - return errors.New("glVertex4iv") - } - gpVertex4s = uintptr(getProcAddr("glVertex4s")) - if gpVertex4s == 0 { - return errors.New("glVertex4s") - } - gpVertex4sv = uintptr(getProcAddr("glVertex4sv")) - if gpVertex4sv == 0 { - return errors.New("glVertex4sv") - } - gpVertex4xOES = uintptr(getProcAddr("glVertex4xOES")) - gpVertex4xvOES = uintptr(getProcAddr("glVertex4xvOES")) - gpVertexArrayAttribBinding = uintptr(getProcAddr("glVertexArrayAttribBinding")) - gpVertexArrayAttribFormat = uintptr(getProcAddr("glVertexArrayAttribFormat")) - gpVertexArrayAttribIFormat = uintptr(getProcAddr("glVertexArrayAttribIFormat")) - gpVertexArrayAttribLFormat = uintptr(getProcAddr("glVertexArrayAttribLFormat")) - gpVertexArrayBindVertexBufferEXT = uintptr(getProcAddr("glVertexArrayBindVertexBufferEXT")) - gpVertexArrayBindingDivisor = uintptr(getProcAddr("glVertexArrayBindingDivisor")) - gpVertexArrayColorOffsetEXT = uintptr(getProcAddr("glVertexArrayColorOffsetEXT")) - gpVertexArrayEdgeFlagOffsetEXT = uintptr(getProcAddr("glVertexArrayEdgeFlagOffsetEXT")) - gpVertexArrayElementBuffer = uintptr(getProcAddr("glVertexArrayElementBuffer")) - gpVertexArrayFogCoordOffsetEXT = uintptr(getProcAddr("glVertexArrayFogCoordOffsetEXT")) - gpVertexArrayIndexOffsetEXT = uintptr(getProcAddr("glVertexArrayIndexOffsetEXT")) - gpVertexArrayMultiTexCoordOffsetEXT = uintptr(getProcAddr("glVertexArrayMultiTexCoordOffsetEXT")) - gpVertexArrayNormalOffsetEXT = uintptr(getProcAddr("glVertexArrayNormalOffsetEXT")) - gpVertexArrayParameteriAPPLE = uintptr(getProcAddr("glVertexArrayParameteriAPPLE")) - gpVertexArrayRangeAPPLE = uintptr(getProcAddr("glVertexArrayRangeAPPLE")) - gpVertexArrayRangeNV = uintptr(getProcAddr("glVertexArrayRangeNV")) - gpVertexArraySecondaryColorOffsetEXT = uintptr(getProcAddr("glVertexArraySecondaryColorOffsetEXT")) - gpVertexArrayTexCoordOffsetEXT = uintptr(getProcAddr("glVertexArrayTexCoordOffsetEXT")) - gpVertexArrayVertexAttribBindingEXT = uintptr(getProcAddr("glVertexArrayVertexAttribBindingEXT")) - gpVertexArrayVertexAttribDivisorEXT = uintptr(getProcAddr("glVertexArrayVertexAttribDivisorEXT")) - gpVertexArrayVertexAttribFormatEXT = uintptr(getProcAddr("glVertexArrayVertexAttribFormatEXT")) - gpVertexArrayVertexAttribIFormatEXT = uintptr(getProcAddr("glVertexArrayVertexAttribIFormatEXT")) - gpVertexArrayVertexAttribIOffsetEXT = uintptr(getProcAddr("glVertexArrayVertexAttribIOffsetEXT")) - gpVertexArrayVertexAttribLFormatEXT = uintptr(getProcAddr("glVertexArrayVertexAttribLFormatEXT")) - gpVertexArrayVertexAttribLOffsetEXT = uintptr(getProcAddr("glVertexArrayVertexAttribLOffsetEXT")) - gpVertexArrayVertexAttribOffsetEXT = uintptr(getProcAddr("glVertexArrayVertexAttribOffsetEXT")) - gpVertexArrayVertexBindingDivisorEXT = uintptr(getProcAddr("glVertexArrayVertexBindingDivisorEXT")) - gpVertexArrayVertexBuffer = uintptr(getProcAddr("glVertexArrayVertexBuffer")) - gpVertexArrayVertexBuffers = uintptr(getProcAddr("glVertexArrayVertexBuffers")) - gpVertexArrayVertexOffsetEXT = uintptr(getProcAddr("glVertexArrayVertexOffsetEXT")) - gpVertexAttrib1d = uintptr(getProcAddr("glVertexAttrib1d")) - if gpVertexAttrib1d == 0 { - return errors.New("glVertexAttrib1d") - } - gpVertexAttrib1dARB = uintptr(getProcAddr("glVertexAttrib1dARB")) - gpVertexAttrib1dNV = uintptr(getProcAddr("glVertexAttrib1dNV")) - gpVertexAttrib1dv = uintptr(getProcAddr("glVertexAttrib1dv")) - if gpVertexAttrib1dv == 0 { - return errors.New("glVertexAttrib1dv") - } - gpVertexAttrib1dvARB = uintptr(getProcAddr("glVertexAttrib1dvARB")) - gpVertexAttrib1dvNV = uintptr(getProcAddr("glVertexAttrib1dvNV")) - gpVertexAttrib1f = uintptr(getProcAddr("glVertexAttrib1f")) - if gpVertexAttrib1f == 0 { - return errors.New("glVertexAttrib1f") - } - gpVertexAttrib1fARB = uintptr(getProcAddr("glVertexAttrib1fARB")) - gpVertexAttrib1fNV = uintptr(getProcAddr("glVertexAttrib1fNV")) - gpVertexAttrib1fv = uintptr(getProcAddr("glVertexAttrib1fv")) - if gpVertexAttrib1fv == 0 { - return errors.New("glVertexAttrib1fv") - } - gpVertexAttrib1fvARB = uintptr(getProcAddr("glVertexAttrib1fvARB")) - gpVertexAttrib1fvNV = uintptr(getProcAddr("glVertexAttrib1fvNV")) - gpVertexAttrib1hNV = uintptr(getProcAddr("glVertexAttrib1hNV")) - gpVertexAttrib1hvNV = uintptr(getProcAddr("glVertexAttrib1hvNV")) - gpVertexAttrib1s = uintptr(getProcAddr("glVertexAttrib1s")) - if gpVertexAttrib1s == 0 { - return errors.New("glVertexAttrib1s") - } - gpVertexAttrib1sARB = uintptr(getProcAddr("glVertexAttrib1sARB")) - gpVertexAttrib1sNV = uintptr(getProcAddr("glVertexAttrib1sNV")) - gpVertexAttrib1sv = uintptr(getProcAddr("glVertexAttrib1sv")) - if gpVertexAttrib1sv == 0 { - return errors.New("glVertexAttrib1sv") - } - gpVertexAttrib1svARB = uintptr(getProcAddr("glVertexAttrib1svARB")) - gpVertexAttrib1svNV = uintptr(getProcAddr("glVertexAttrib1svNV")) - gpVertexAttrib2d = uintptr(getProcAddr("glVertexAttrib2d")) - if gpVertexAttrib2d == 0 { - return errors.New("glVertexAttrib2d") - } - gpVertexAttrib2dARB = uintptr(getProcAddr("glVertexAttrib2dARB")) - gpVertexAttrib2dNV = uintptr(getProcAddr("glVertexAttrib2dNV")) - gpVertexAttrib2dv = uintptr(getProcAddr("glVertexAttrib2dv")) - if gpVertexAttrib2dv == 0 { - return errors.New("glVertexAttrib2dv") - } - gpVertexAttrib2dvARB = uintptr(getProcAddr("glVertexAttrib2dvARB")) - gpVertexAttrib2dvNV = uintptr(getProcAddr("glVertexAttrib2dvNV")) - gpVertexAttrib2f = uintptr(getProcAddr("glVertexAttrib2f")) - if gpVertexAttrib2f == 0 { - return errors.New("glVertexAttrib2f") - } - gpVertexAttrib2fARB = uintptr(getProcAddr("glVertexAttrib2fARB")) - gpVertexAttrib2fNV = uintptr(getProcAddr("glVertexAttrib2fNV")) - gpVertexAttrib2fv = uintptr(getProcAddr("glVertexAttrib2fv")) - if gpVertexAttrib2fv == 0 { - return errors.New("glVertexAttrib2fv") - } - gpVertexAttrib2fvARB = uintptr(getProcAddr("glVertexAttrib2fvARB")) - gpVertexAttrib2fvNV = uintptr(getProcAddr("glVertexAttrib2fvNV")) - gpVertexAttrib2hNV = uintptr(getProcAddr("glVertexAttrib2hNV")) - gpVertexAttrib2hvNV = uintptr(getProcAddr("glVertexAttrib2hvNV")) - gpVertexAttrib2s = uintptr(getProcAddr("glVertexAttrib2s")) - if gpVertexAttrib2s == 0 { - return errors.New("glVertexAttrib2s") - } - gpVertexAttrib2sARB = uintptr(getProcAddr("glVertexAttrib2sARB")) - gpVertexAttrib2sNV = uintptr(getProcAddr("glVertexAttrib2sNV")) - gpVertexAttrib2sv = uintptr(getProcAddr("glVertexAttrib2sv")) - if gpVertexAttrib2sv == 0 { - return errors.New("glVertexAttrib2sv") - } - gpVertexAttrib2svARB = uintptr(getProcAddr("glVertexAttrib2svARB")) - gpVertexAttrib2svNV = uintptr(getProcAddr("glVertexAttrib2svNV")) - gpVertexAttrib3d = uintptr(getProcAddr("glVertexAttrib3d")) - if gpVertexAttrib3d == 0 { - return errors.New("glVertexAttrib3d") - } - gpVertexAttrib3dARB = uintptr(getProcAddr("glVertexAttrib3dARB")) - gpVertexAttrib3dNV = uintptr(getProcAddr("glVertexAttrib3dNV")) - gpVertexAttrib3dv = uintptr(getProcAddr("glVertexAttrib3dv")) - if gpVertexAttrib3dv == 0 { - return errors.New("glVertexAttrib3dv") - } - gpVertexAttrib3dvARB = uintptr(getProcAddr("glVertexAttrib3dvARB")) - gpVertexAttrib3dvNV = uintptr(getProcAddr("glVertexAttrib3dvNV")) - gpVertexAttrib3f = uintptr(getProcAddr("glVertexAttrib3f")) - if gpVertexAttrib3f == 0 { - return errors.New("glVertexAttrib3f") - } - gpVertexAttrib3fARB = uintptr(getProcAddr("glVertexAttrib3fARB")) - gpVertexAttrib3fNV = uintptr(getProcAddr("glVertexAttrib3fNV")) - gpVertexAttrib3fv = uintptr(getProcAddr("glVertexAttrib3fv")) - if gpVertexAttrib3fv == 0 { - return errors.New("glVertexAttrib3fv") - } - gpVertexAttrib3fvARB = uintptr(getProcAddr("glVertexAttrib3fvARB")) - gpVertexAttrib3fvNV = uintptr(getProcAddr("glVertexAttrib3fvNV")) - gpVertexAttrib3hNV = uintptr(getProcAddr("glVertexAttrib3hNV")) - gpVertexAttrib3hvNV = uintptr(getProcAddr("glVertexAttrib3hvNV")) - gpVertexAttrib3s = uintptr(getProcAddr("glVertexAttrib3s")) - if gpVertexAttrib3s == 0 { - return errors.New("glVertexAttrib3s") - } - gpVertexAttrib3sARB = uintptr(getProcAddr("glVertexAttrib3sARB")) - gpVertexAttrib3sNV = uintptr(getProcAddr("glVertexAttrib3sNV")) - gpVertexAttrib3sv = uintptr(getProcAddr("glVertexAttrib3sv")) - if gpVertexAttrib3sv == 0 { - return errors.New("glVertexAttrib3sv") - } - gpVertexAttrib3svARB = uintptr(getProcAddr("glVertexAttrib3svARB")) - gpVertexAttrib3svNV = uintptr(getProcAddr("glVertexAttrib3svNV")) - gpVertexAttrib4Nbv = uintptr(getProcAddr("glVertexAttrib4Nbv")) - if gpVertexAttrib4Nbv == 0 { - return errors.New("glVertexAttrib4Nbv") - } - gpVertexAttrib4NbvARB = uintptr(getProcAddr("glVertexAttrib4NbvARB")) - gpVertexAttrib4Niv = uintptr(getProcAddr("glVertexAttrib4Niv")) - if gpVertexAttrib4Niv == 0 { - return errors.New("glVertexAttrib4Niv") - } - gpVertexAttrib4NivARB = uintptr(getProcAddr("glVertexAttrib4NivARB")) - gpVertexAttrib4Nsv = uintptr(getProcAddr("glVertexAttrib4Nsv")) - if gpVertexAttrib4Nsv == 0 { - return errors.New("glVertexAttrib4Nsv") - } - gpVertexAttrib4NsvARB = uintptr(getProcAddr("glVertexAttrib4NsvARB")) - gpVertexAttrib4Nub = uintptr(getProcAddr("glVertexAttrib4Nub")) - if gpVertexAttrib4Nub == 0 { - return errors.New("glVertexAttrib4Nub") - } - gpVertexAttrib4NubARB = uintptr(getProcAddr("glVertexAttrib4NubARB")) - gpVertexAttrib4Nubv = uintptr(getProcAddr("glVertexAttrib4Nubv")) - if gpVertexAttrib4Nubv == 0 { - return errors.New("glVertexAttrib4Nubv") - } - gpVertexAttrib4NubvARB = uintptr(getProcAddr("glVertexAttrib4NubvARB")) - gpVertexAttrib4Nuiv = uintptr(getProcAddr("glVertexAttrib4Nuiv")) - if gpVertexAttrib4Nuiv == 0 { - return errors.New("glVertexAttrib4Nuiv") - } - gpVertexAttrib4NuivARB = uintptr(getProcAddr("glVertexAttrib4NuivARB")) - gpVertexAttrib4Nusv = uintptr(getProcAddr("glVertexAttrib4Nusv")) - if gpVertexAttrib4Nusv == 0 { - return errors.New("glVertexAttrib4Nusv") - } - gpVertexAttrib4NusvARB = uintptr(getProcAddr("glVertexAttrib4NusvARB")) - gpVertexAttrib4bv = uintptr(getProcAddr("glVertexAttrib4bv")) - if gpVertexAttrib4bv == 0 { - return errors.New("glVertexAttrib4bv") - } - gpVertexAttrib4bvARB = uintptr(getProcAddr("glVertexAttrib4bvARB")) - gpVertexAttrib4d = uintptr(getProcAddr("glVertexAttrib4d")) - if gpVertexAttrib4d == 0 { - return errors.New("glVertexAttrib4d") - } - gpVertexAttrib4dARB = uintptr(getProcAddr("glVertexAttrib4dARB")) - gpVertexAttrib4dNV = uintptr(getProcAddr("glVertexAttrib4dNV")) - gpVertexAttrib4dv = uintptr(getProcAddr("glVertexAttrib4dv")) - if gpVertexAttrib4dv == 0 { - return errors.New("glVertexAttrib4dv") - } - gpVertexAttrib4dvARB = uintptr(getProcAddr("glVertexAttrib4dvARB")) - gpVertexAttrib4dvNV = uintptr(getProcAddr("glVertexAttrib4dvNV")) - gpVertexAttrib4f = uintptr(getProcAddr("glVertexAttrib4f")) - if gpVertexAttrib4f == 0 { - return errors.New("glVertexAttrib4f") - } - gpVertexAttrib4fARB = uintptr(getProcAddr("glVertexAttrib4fARB")) - gpVertexAttrib4fNV = uintptr(getProcAddr("glVertexAttrib4fNV")) - gpVertexAttrib4fv = uintptr(getProcAddr("glVertexAttrib4fv")) - if gpVertexAttrib4fv == 0 { - return errors.New("glVertexAttrib4fv") - } - gpVertexAttrib4fvARB = uintptr(getProcAddr("glVertexAttrib4fvARB")) - gpVertexAttrib4fvNV = uintptr(getProcAddr("glVertexAttrib4fvNV")) - gpVertexAttrib4hNV = uintptr(getProcAddr("glVertexAttrib4hNV")) - gpVertexAttrib4hvNV = uintptr(getProcAddr("glVertexAttrib4hvNV")) - gpVertexAttrib4iv = uintptr(getProcAddr("glVertexAttrib4iv")) - if gpVertexAttrib4iv == 0 { - return errors.New("glVertexAttrib4iv") - } - gpVertexAttrib4ivARB = uintptr(getProcAddr("glVertexAttrib4ivARB")) - gpVertexAttrib4s = uintptr(getProcAddr("glVertexAttrib4s")) - if gpVertexAttrib4s == 0 { - return errors.New("glVertexAttrib4s") - } - gpVertexAttrib4sARB = uintptr(getProcAddr("glVertexAttrib4sARB")) - gpVertexAttrib4sNV = uintptr(getProcAddr("glVertexAttrib4sNV")) - gpVertexAttrib4sv = uintptr(getProcAddr("glVertexAttrib4sv")) - if gpVertexAttrib4sv == 0 { - return errors.New("glVertexAttrib4sv") - } - gpVertexAttrib4svARB = uintptr(getProcAddr("glVertexAttrib4svARB")) - gpVertexAttrib4svNV = uintptr(getProcAddr("glVertexAttrib4svNV")) - gpVertexAttrib4ubNV = uintptr(getProcAddr("glVertexAttrib4ubNV")) - gpVertexAttrib4ubv = uintptr(getProcAddr("glVertexAttrib4ubv")) - if gpVertexAttrib4ubv == 0 { - return errors.New("glVertexAttrib4ubv") - } - gpVertexAttrib4ubvARB = uintptr(getProcAddr("glVertexAttrib4ubvARB")) - gpVertexAttrib4ubvNV = uintptr(getProcAddr("glVertexAttrib4ubvNV")) - gpVertexAttrib4uiv = uintptr(getProcAddr("glVertexAttrib4uiv")) - if gpVertexAttrib4uiv == 0 { - return errors.New("glVertexAttrib4uiv") - } - gpVertexAttrib4uivARB = uintptr(getProcAddr("glVertexAttrib4uivARB")) - gpVertexAttrib4usv = uintptr(getProcAddr("glVertexAttrib4usv")) - if gpVertexAttrib4usv == 0 { - return errors.New("glVertexAttrib4usv") - } - gpVertexAttrib4usvARB = uintptr(getProcAddr("glVertexAttrib4usvARB")) - gpVertexAttribArrayObjectATI = uintptr(getProcAddr("glVertexAttribArrayObjectATI")) - gpVertexAttribBinding = uintptr(getProcAddr("glVertexAttribBinding")) - gpVertexAttribDivisorARB = uintptr(getProcAddr("glVertexAttribDivisorARB")) - gpVertexAttribFormat = uintptr(getProcAddr("glVertexAttribFormat")) - gpVertexAttribFormatNV = uintptr(getProcAddr("glVertexAttribFormatNV")) - gpVertexAttribI1iEXT = uintptr(getProcAddr("glVertexAttribI1iEXT")) - gpVertexAttribI1ivEXT = uintptr(getProcAddr("glVertexAttribI1ivEXT")) - gpVertexAttribI1uiEXT = uintptr(getProcAddr("glVertexAttribI1uiEXT")) - gpVertexAttribI1uivEXT = uintptr(getProcAddr("glVertexAttribI1uivEXT")) - gpVertexAttribI2iEXT = uintptr(getProcAddr("glVertexAttribI2iEXT")) - gpVertexAttribI2ivEXT = uintptr(getProcAddr("glVertexAttribI2ivEXT")) - gpVertexAttribI2uiEXT = uintptr(getProcAddr("glVertexAttribI2uiEXT")) - gpVertexAttribI2uivEXT = uintptr(getProcAddr("glVertexAttribI2uivEXT")) - gpVertexAttribI3iEXT = uintptr(getProcAddr("glVertexAttribI3iEXT")) - gpVertexAttribI3ivEXT = uintptr(getProcAddr("glVertexAttribI3ivEXT")) - gpVertexAttribI3uiEXT = uintptr(getProcAddr("glVertexAttribI3uiEXT")) - gpVertexAttribI3uivEXT = uintptr(getProcAddr("glVertexAttribI3uivEXT")) - gpVertexAttribI4bvEXT = uintptr(getProcAddr("glVertexAttribI4bvEXT")) - gpVertexAttribI4iEXT = uintptr(getProcAddr("glVertexAttribI4iEXT")) - gpVertexAttribI4ivEXT = uintptr(getProcAddr("glVertexAttribI4ivEXT")) - gpVertexAttribI4svEXT = uintptr(getProcAddr("glVertexAttribI4svEXT")) - gpVertexAttribI4ubvEXT = uintptr(getProcAddr("glVertexAttribI4ubvEXT")) - gpVertexAttribI4uiEXT = uintptr(getProcAddr("glVertexAttribI4uiEXT")) - gpVertexAttribI4uivEXT = uintptr(getProcAddr("glVertexAttribI4uivEXT")) - gpVertexAttribI4usvEXT = uintptr(getProcAddr("glVertexAttribI4usvEXT")) - gpVertexAttribIFormat = uintptr(getProcAddr("glVertexAttribIFormat")) - gpVertexAttribIFormatNV = uintptr(getProcAddr("glVertexAttribIFormatNV")) - gpVertexAttribIPointerEXT = uintptr(getProcAddr("glVertexAttribIPointerEXT")) - gpVertexAttribL1d = uintptr(getProcAddr("glVertexAttribL1d")) - gpVertexAttribL1dEXT = uintptr(getProcAddr("glVertexAttribL1dEXT")) - gpVertexAttribL1dv = uintptr(getProcAddr("glVertexAttribL1dv")) - gpVertexAttribL1dvEXT = uintptr(getProcAddr("glVertexAttribL1dvEXT")) - gpVertexAttribL1i64NV = uintptr(getProcAddr("glVertexAttribL1i64NV")) - gpVertexAttribL1i64vNV = uintptr(getProcAddr("glVertexAttribL1i64vNV")) - gpVertexAttribL1ui64ARB = uintptr(getProcAddr("glVertexAttribL1ui64ARB")) - gpVertexAttribL1ui64NV = uintptr(getProcAddr("glVertexAttribL1ui64NV")) - gpVertexAttribL1ui64vARB = uintptr(getProcAddr("glVertexAttribL1ui64vARB")) - gpVertexAttribL1ui64vNV = uintptr(getProcAddr("glVertexAttribL1ui64vNV")) - gpVertexAttribL2d = uintptr(getProcAddr("glVertexAttribL2d")) - gpVertexAttribL2dEXT = uintptr(getProcAddr("glVertexAttribL2dEXT")) - gpVertexAttribL2dv = uintptr(getProcAddr("glVertexAttribL2dv")) - gpVertexAttribL2dvEXT = uintptr(getProcAddr("glVertexAttribL2dvEXT")) - gpVertexAttribL2i64NV = uintptr(getProcAddr("glVertexAttribL2i64NV")) - gpVertexAttribL2i64vNV = uintptr(getProcAddr("glVertexAttribL2i64vNV")) - gpVertexAttribL2ui64NV = uintptr(getProcAddr("glVertexAttribL2ui64NV")) - gpVertexAttribL2ui64vNV = uintptr(getProcAddr("glVertexAttribL2ui64vNV")) - gpVertexAttribL3d = uintptr(getProcAddr("glVertexAttribL3d")) - gpVertexAttribL3dEXT = uintptr(getProcAddr("glVertexAttribL3dEXT")) - gpVertexAttribL3dv = uintptr(getProcAddr("glVertexAttribL3dv")) - gpVertexAttribL3dvEXT = uintptr(getProcAddr("glVertexAttribL3dvEXT")) - gpVertexAttribL3i64NV = uintptr(getProcAddr("glVertexAttribL3i64NV")) - gpVertexAttribL3i64vNV = uintptr(getProcAddr("glVertexAttribL3i64vNV")) - gpVertexAttribL3ui64NV = uintptr(getProcAddr("glVertexAttribL3ui64NV")) - gpVertexAttribL3ui64vNV = uintptr(getProcAddr("glVertexAttribL3ui64vNV")) - gpVertexAttribL4d = uintptr(getProcAddr("glVertexAttribL4d")) - gpVertexAttribL4dEXT = uintptr(getProcAddr("glVertexAttribL4dEXT")) - gpVertexAttribL4dv = uintptr(getProcAddr("glVertexAttribL4dv")) - gpVertexAttribL4dvEXT = uintptr(getProcAddr("glVertexAttribL4dvEXT")) - gpVertexAttribL4i64NV = uintptr(getProcAddr("glVertexAttribL4i64NV")) - gpVertexAttribL4i64vNV = uintptr(getProcAddr("glVertexAttribL4i64vNV")) - gpVertexAttribL4ui64NV = uintptr(getProcAddr("glVertexAttribL4ui64NV")) - gpVertexAttribL4ui64vNV = uintptr(getProcAddr("glVertexAttribL4ui64vNV")) - gpVertexAttribLFormat = uintptr(getProcAddr("glVertexAttribLFormat")) - gpVertexAttribLFormatNV = uintptr(getProcAddr("glVertexAttribLFormatNV")) - gpVertexAttribLPointer = uintptr(getProcAddr("glVertexAttribLPointer")) - gpVertexAttribLPointerEXT = uintptr(getProcAddr("glVertexAttribLPointerEXT")) - gpVertexAttribP1ui = uintptr(getProcAddr("glVertexAttribP1ui")) - gpVertexAttribP1uiv = uintptr(getProcAddr("glVertexAttribP1uiv")) - gpVertexAttribP2ui = uintptr(getProcAddr("glVertexAttribP2ui")) - gpVertexAttribP2uiv = uintptr(getProcAddr("glVertexAttribP2uiv")) - gpVertexAttribP3ui = uintptr(getProcAddr("glVertexAttribP3ui")) - gpVertexAttribP3uiv = uintptr(getProcAddr("glVertexAttribP3uiv")) - gpVertexAttribP4ui = uintptr(getProcAddr("glVertexAttribP4ui")) - gpVertexAttribP4uiv = uintptr(getProcAddr("glVertexAttribP4uiv")) - gpVertexAttribParameteriAMD = uintptr(getProcAddr("glVertexAttribParameteriAMD")) gpVertexAttribPointer = uintptr(getProcAddr("glVertexAttribPointer")) if gpVertexAttribPointer == 0 { return errors.New("glVertexAttribPointer") } - gpVertexAttribPointerARB = uintptr(getProcAddr("glVertexAttribPointerARB")) - gpVertexAttribPointerNV = uintptr(getProcAddr("glVertexAttribPointerNV")) - gpVertexAttribs1dvNV = uintptr(getProcAddr("glVertexAttribs1dvNV")) - gpVertexAttribs1fvNV = uintptr(getProcAddr("glVertexAttribs1fvNV")) - gpVertexAttribs1hvNV = uintptr(getProcAddr("glVertexAttribs1hvNV")) - gpVertexAttribs1svNV = uintptr(getProcAddr("glVertexAttribs1svNV")) - gpVertexAttribs2dvNV = uintptr(getProcAddr("glVertexAttribs2dvNV")) - gpVertexAttribs2fvNV = uintptr(getProcAddr("glVertexAttribs2fvNV")) - gpVertexAttribs2hvNV = uintptr(getProcAddr("glVertexAttribs2hvNV")) - gpVertexAttribs2svNV = uintptr(getProcAddr("glVertexAttribs2svNV")) - gpVertexAttribs3dvNV = uintptr(getProcAddr("glVertexAttribs3dvNV")) - gpVertexAttribs3fvNV = uintptr(getProcAddr("glVertexAttribs3fvNV")) - gpVertexAttribs3hvNV = uintptr(getProcAddr("glVertexAttribs3hvNV")) - gpVertexAttribs3svNV = uintptr(getProcAddr("glVertexAttribs3svNV")) - gpVertexAttribs4dvNV = uintptr(getProcAddr("glVertexAttribs4dvNV")) - gpVertexAttribs4fvNV = uintptr(getProcAddr("glVertexAttribs4fvNV")) - gpVertexAttribs4hvNV = uintptr(getProcAddr("glVertexAttribs4hvNV")) - gpVertexAttribs4svNV = uintptr(getProcAddr("glVertexAttribs4svNV")) - gpVertexAttribs4ubvNV = uintptr(getProcAddr("glVertexAttribs4ubvNV")) - gpVertexBindingDivisor = uintptr(getProcAddr("glVertexBindingDivisor")) - gpVertexBlendARB = uintptr(getProcAddr("glVertexBlendARB")) - gpVertexBlendEnvfATI = uintptr(getProcAddr("glVertexBlendEnvfATI")) - gpVertexBlendEnviATI = uintptr(getProcAddr("glVertexBlendEnviATI")) - gpVertexFormatNV = uintptr(getProcAddr("glVertexFormatNV")) - gpVertexPointer = uintptr(getProcAddr("glVertexPointer")) - if gpVertexPointer == 0 { - return errors.New("glVertexPointer") - } - gpVertexPointerEXT = uintptr(getProcAddr("glVertexPointerEXT")) - gpVertexPointerListIBM = uintptr(getProcAddr("glVertexPointerListIBM")) - gpVertexPointervINTEL = uintptr(getProcAddr("glVertexPointervINTEL")) - gpVertexStream1dATI = uintptr(getProcAddr("glVertexStream1dATI")) - gpVertexStream1dvATI = uintptr(getProcAddr("glVertexStream1dvATI")) - gpVertexStream1fATI = uintptr(getProcAddr("glVertexStream1fATI")) - gpVertexStream1fvATI = uintptr(getProcAddr("glVertexStream1fvATI")) - gpVertexStream1iATI = uintptr(getProcAddr("glVertexStream1iATI")) - gpVertexStream1ivATI = uintptr(getProcAddr("glVertexStream1ivATI")) - gpVertexStream1sATI = uintptr(getProcAddr("glVertexStream1sATI")) - gpVertexStream1svATI = uintptr(getProcAddr("glVertexStream1svATI")) - gpVertexStream2dATI = uintptr(getProcAddr("glVertexStream2dATI")) - gpVertexStream2dvATI = uintptr(getProcAddr("glVertexStream2dvATI")) - gpVertexStream2fATI = uintptr(getProcAddr("glVertexStream2fATI")) - gpVertexStream2fvATI = uintptr(getProcAddr("glVertexStream2fvATI")) - gpVertexStream2iATI = uintptr(getProcAddr("glVertexStream2iATI")) - gpVertexStream2ivATI = uintptr(getProcAddr("glVertexStream2ivATI")) - gpVertexStream2sATI = uintptr(getProcAddr("glVertexStream2sATI")) - gpVertexStream2svATI = uintptr(getProcAddr("glVertexStream2svATI")) - gpVertexStream3dATI = uintptr(getProcAddr("glVertexStream3dATI")) - gpVertexStream3dvATI = uintptr(getProcAddr("glVertexStream3dvATI")) - gpVertexStream3fATI = uintptr(getProcAddr("glVertexStream3fATI")) - gpVertexStream3fvATI = uintptr(getProcAddr("glVertexStream3fvATI")) - gpVertexStream3iATI = uintptr(getProcAddr("glVertexStream3iATI")) - gpVertexStream3ivATI = uintptr(getProcAddr("glVertexStream3ivATI")) - gpVertexStream3sATI = uintptr(getProcAddr("glVertexStream3sATI")) - gpVertexStream3svATI = uintptr(getProcAddr("glVertexStream3svATI")) - gpVertexStream4dATI = uintptr(getProcAddr("glVertexStream4dATI")) - gpVertexStream4dvATI = uintptr(getProcAddr("glVertexStream4dvATI")) - gpVertexStream4fATI = uintptr(getProcAddr("glVertexStream4fATI")) - gpVertexStream4fvATI = uintptr(getProcAddr("glVertexStream4fvATI")) - gpVertexStream4iATI = uintptr(getProcAddr("glVertexStream4iATI")) - gpVertexStream4ivATI = uintptr(getProcAddr("glVertexStream4ivATI")) - gpVertexStream4sATI = uintptr(getProcAddr("glVertexStream4sATI")) - gpVertexStream4svATI = uintptr(getProcAddr("glVertexStream4svATI")) - gpVertexWeightPointerEXT = uintptr(getProcAddr("glVertexWeightPointerEXT")) - gpVertexWeightfEXT = uintptr(getProcAddr("glVertexWeightfEXT")) - gpVertexWeightfvEXT = uintptr(getProcAddr("glVertexWeightfvEXT")) - gpVertexWeighthNV = uintptr(getProcAddr("glVertexWeighthNV")) - gpVertexWeighthvNV = uintptr(getProcAddr("glVertexWeighthvNV")) - gpVideoCaptureNV = uintptr(getProcAddr("glVideoCaptureNV")) - gpVideoCaptureStreamParameterdvNV = uintptr(getProcAddr("glVideoCaptureStreamParameterdvNV")) - gpVideoCaptureStreamParameterfvNV = uintptr(getProcAddr("glVideoCaptureStreamParameterfvNV")) - gpVideoCaptureStreamParameterivNV = uintptr(getProcAddr("glVideoCaptureStreamParameterivNV")) gpViewport = uintptr(getProcAddr("glViewport")) if gpViewport == 0 { return errors.New("glViewport") } - gpViewportArrayv = uintptr(getProcAddr("glViewportArrayv")) - gpViewportIndexedf = uintptr(getProcAddr("glViewportIndexedf")) - gpViewportIndexedfv = uintptr(getProcAddr("glViewportIndexedfv")) - gpViewportPositionWScaleNV = uintptr(getProcAddr("glViewportPositionWScaleNV")) - gpViewportSwizzleNV = uintptr(getProcAddr("glViewportSwizzleNV")) - gpWaitSemaphoreEXT = uintptr(getProcAddr("glWaitSemaphoreEXT")) - gpWaitSync = uintptr(getProcAddr("glWaitSync")) - gpWaitVkSemaphoreNV = uintptr(getProcAddr("glWaitVkSemaphoreNV")) - gpWeightPathsNV = uintptr(getProcAddr("glWeightPathsNV")) - gpWeightPointerARB = uintptr(getProcAddr("glWeightPointerARB")) - gpWeightbvARB = uintptr(getProcAddr("glWeightbvARB")) - gpWeightdvARB = uintptr(getProcAddr("glWeightdvARB")) - gpWeightfvARB = uintptr(getProcAddr("glWeightfvARB")) - gpWeightivARB = uintptr(getProcAddr("glWeightivARB")) - gpWeightsvARB = uintptr(getProcAddr("glWeightsvARB")) - gpWeightubvARB = uintptr(getProcAddr("glWeightubvARB")) - gpWeightuivARB = uintptr(getProcAddr("glWeightuivARB")) - gpWeightusvARB = uintptr(getProcAddr("glWeightusvARB")) - gpWindowPos2d = uintptr(getProcAddr("glWindowPos2d")) - if gpWindowPos2d == 0 { - return errors.New("glWindowPos2d") - } - gpWindowPos2dARB = uintptr(getProcAddr("glWindowPos2dARB")) - gpWindowPos2dMESA = uintptr(getProcAddr("glWindowPos2dMESA")) - gpWindowPos2dv = uintptr(getProcAddr("glWindowPos2dv")) - if gpWindowPos2dv == 0 { - return errors.New("glWindowPos2dv") - } - gpWindowPos2dvARB = uintptr(getProcAddr("glWindowPos2dvARB")) - gpWindowPos2dvMESA = uintptr(getProcAddr("glWindowPos2dvMESA")) - gpWindowPos2f = uintptr(getProcAddr("glWindowPos2f")) - if gpWindowPos2f == 0 { - return errors.New("glWindowPos2f") - } - gpWindowPos2fARB = uintptr(getProcAddr("glWindowPos2fARB")) - gpWindowPos2fMESA = uintptr(getProcAddr("glWindowPos2fMESA")) - gpWindowPos2fv = uintptr(getProcAddr("glWindowPos2fv")) - if gpWindowPos2fv == 0 { - return errors.New("glWindowPos2fv") - } - gpWindowPos2fvARB = uintptr(getProcAddr("glWindowPos2fvARB")) - gpWindowPos2fvMESA = uintptr(getProcAddr("glWindowPos2fvMESA")) - gpWindowPos2i = uintptr(getProcAddr("glWindowPos2i")) - if gpWindowPos2i == 0 { - return errors.New("glWindowPos2i") - } - gpWindowPos2iARB = uintptr(getProcAddr("glWindowPos2iARB")) - gpWindowPos2iMESA = uintptr(getProcAddr("glWindowPos2iMESA")) - gpWindowPos2iv = uintptr(getProcAddr("glWindowPos2iv")) - if gpWindowPos2iv == 0 { - return errors.New("glWindowPos2iv") - } - gpWindowPos2ivARB = uintptr(getProcAddr("glWindowPos2ivARB")) - gpWindowPos2ivMESA = uintptr(getProcAddr("glWindowPos2ivMESA")) - gpWindowPos2s = uintptr(getProcAddr("glWindowPos2s")) - if gpWindowPos2s == 0 { - return errors.New("glWindowPos2s") - } - gpWindowPos2sARB = uintptr(getProcAddr("glWindowPos2sARB")) - gpWindowPos2sMESA = uintptr(getProcAddr("glWindowPos2sMESA")) - gpWindowPos2sv = uintptr(getProcAddr("glWindowPos2sv")) - if gpWindowPos2sv == 0 { - return errors.New("glWindowPos2sv") - } - gpWindowPos2svARB = uintptr(getProcAddr("glWindowPos2svARB")) - gpWindowPos2svMESA = uintptr(getProcAddr("glWindowPos2svMESA")) - gpWindowPos3d = uintptr(getProcAddr("glWindowPos3d")) - if gpWindowPos3d == 0 { - return errors.New("glWindowPos3d") - } - gpWindowPos3dARB = uintptr(getProcAddr("glWindowPos3dARB")) - gpWindowPos3dMESA = uintptr(getProcAddr("glWindowPos3dMESA")) - gpWindowPos3dv = uintptr(getProcAddr("glWindowPos3dv")) - if gpWindowPos3dv == 0 { - return errors.New("glWindowPos3dv") - } - gpWindowPos3dvARB = uintptr(getProcAddr("glWindowPos3dvARB")) - gpWindowPos3dvMESA = uintptr(getProcAddr("glWindowPos3dvMESA")) - gpWindowPos3f = uintptr(getProcAddr("glWindowPos3f")) - if gpWindowPos3f == 0 { - return errors.New("glWindowPos3f") - } - gpWindowPos3fARB = uintptr(getProcAddr("glWindowPos3fARB")) - gpWindowPos3fMESA = uintptr(getProcAddr("glWindowPos3fMESA")) - gpWindowPos3fv = uintptr(getProcAddr("glWindowPos3fv")) - if gpWindowPos3fv == 0 { - return errors.New("glWindowPos3fv") - } - gpWindowPos3fvARB = uintptr(getProcAddr("glWindowPos3fvARB")) - gpWindowPos3fvMESA = uintptr(getProcAddr("glWindowPos3fvMESA")) - gpWindowPos3i = uintptr(getProcAddr("glWindowPos3i")) - if gpWindowPos3i == 0 { - return errors.New("glWindowPos3i") - } - gpWindowPos3iARB = uintptr(getProcAddr("glWindowPos3iARB")) - gpWindowPos3iMESA = uintptr(getProcAddr("glWindowPos3iMESA")) - gpWindowPos3iv = uintptr(getProcAddr("glWindowPos3iv")) - if gpWindowPos3iv == 0 { - return errors.New("glWindowPos3iv") - } - gpWindowPos3ivARB = uintptr(getProcAddr("glWindowPos3ivARB")) - gpWindowPos3ivMESA = uintptr(getProcAddr("glWindowPos3ivMESA")) - gpWindowPos3s = uintptr(getProcAddr("glWindowPos3s")) - if gpWindowPos3s == 0 { - return errors.New("glWindowPos3s") - } - gpWindowPos3sARB = uintptr(getProcAddr("glWindowPos3sARB")) - gpWindowPos3sMESA = uintptr(getProcAddr("glWindowPos3sMESA")) - gpWindowPos3sv = uintptr(getProcAddr("glWindowPos3sv")) - if gpWindowPos3sv == 0 { - return errors.New("glWindowPos3sv") - } - gpWindowPos3svARB = uintptr(getProcAddr("glWindowPos3svARB")) - gpWindowPos3svMESA = uintptr(getProcAddr("glWindowPos3svMESA")) - gpWindowPos4dMESA = uintptr(getProcAddr("glWindowPos4dMESA")) - gpWindowPos4dvMESA = uintptr(getProcAddr("glWindowPos4dvMESA")) - gpWindowPos4fMESA = uintptr(getProcAddr("glWindowPos4fMESA")) - gpWindowPos4fvMESA = uintptr(getProcAddr("glWindowPos4fvMESA")) - gpWindowPos4iMESA = uintptr(getProcAddr("glWindowPos4iMESA")) - gpWindowPos4ivMESA = uintptr(getProcAddr("glWindowPos4ivMESA")) - gpWindowPos4sMESA = uintptr(getProcAddr("glWindowPos4sMESA")) - gpWindowPos4svMESA = uintptr(getProcAddr("glWindowPos4svMESA")) - gpWindowRectanglesEXT = uintptr(getProcAddr("glWindowRectanglesEXT")) - gpWriteMaskEXT = uintptr(getProcAddr("glWriteMaskEXT")) return nil }