gl.c (113395B)
1 #include "gl.h" 2 /* This file was auto-generated by Galogen */ 3 #include <assert.h> 4 #if defined(_WIN32) 5 void* GalogenGetProcAddress(const char *name) { 6 static HMODULE opengl32module = NULL; 7 static PROC(WINAPI *wgl_get_proc_address)(LPCSTR name) = NULL; 8 if (!wgl_get_proc_address) { 9 if (!opengl32module) { 10 opengl32module = LoadLibraryA("opengl32.dll"); 11 } 12 wgl_get_proc_address = (PROC(WINAPI*)(LPCSTR))GetProcAddress(opengl32module, "wglGetProcAddress"); 13 assert(wgl_get_proc_address); 14 } 15 void *ptr = (void *)wgl_get_proc_address(name); 16 if(ptr == 0 || (ptr == (void*)1) || (ptr == (void*)2) || (ptr == (void*)3) || 17 (ptr == (void*)-1) ) { 18 if (opengl32module == NULL) { 19 opengl32module = LoadLibraryA("opengl32.dll"); 20 assert(opengl32module); 21 } 22 ptr = (void *)GetProcAddress(opengl32module, name); 23 } 24 return ptr; 25 } 26 27 #elif defined(__APPLE__) 28 #include <dlfcn.h> 29 30 static void* GalogenGetProcAddress (const char *name) 31 { 32 static void* lib = NULL; 33 if (NULL == lib) 34 lib = dlopen( 35 "/System/Library/Frameworks/OpenGL.framework/Versions/Current/OpenGL", 36 RTLD_LAZY); 37 return lib ? dlsym(lib, name) : NULL; 38 } 39 #elif defined(__ANDROID__) 40 #include <dlfcn.h> 41 #if GALOGEN_API_VER_MAJ == 3 42 #define GALOGEN_GLES_LIB "libGLESv3.so" 43 #elif GALOGEN_API_VER_MAJ == 2 44 #define GALOGEN_GLES_LIB "libGLESv2.so" 45 #else 46 #define GALOGEN_GLES_LIB "libGLESv1_CM.so" 47 #endif 48 static void* GalogenGetProcAddress(const char *name) 49 { 50 static void* lib = NULL; 51 if (NULL == lib) { 52 lib = dlopen(GALOGEN_GLES_LIB, RTLD_LAZY); 53 assert(lib); 54 } 55 return lib ? dlsym(lib, name) : NULL; 56 } 57 58 #else 59 60 #include <GL/glx.h> 61 #define GalogenGetProcAddress(name) (*glXGetProcAddressARB)((const GLubyte*)name) 62 63 #endif 64 65 66 static void GL_APIENTRY _impl_glVertexAttribP4uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint * value) { 67 _glptr_glVertexAttribP4uiv = (PFN_glVertexAttribP4uiv)GalogenGetProcAddress("glVertexAttribP4uiv"); 68 _glptr_glVertexAttribP4uiv(index, type, normalized, value); 69 } 70 PFN_glVertexAttribP4uiv _glptr_glVertexAttribP4uiv = _impl_glVertexAttribP4uiv; 71 72 static void GL_APIENTRY _impl_glVertexAttribP3uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint * value) { 73 _glptr_glVertexAttribP3uiv = (PFN_glVertexAttribP3uiv)GalogenGetProcAddress("glVertexAttribP3uiv"); 74 _glptr_glVertexAttribP3uiv(index, type, normalized, value); 75 } 76 PFN_glVertexAttribP3uiv _glptr_glVertexAttribP3uiv = _impl_glVertexAttribP3uiv; 77 78 static void GL_APIENTRY _impl_glVertexAttribP2uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint * value) { 79 _glptr_glVertexAttribP2uiv = (PFN_glVertexAttribP2uiv)GalogenGetProcAddress("glVertexAttribP2uiv"); 80 _glptr_glVertexAttribP2uiv(index, type, normalized, value); 81 } 82 PFN_glVertexAttribP2uiv _glptr_glVertexAttribP2uiv = _impl_glVertexAttribP2uiv; 83 84 static void GL_APIENTRY _impl_glVertexAttribP2ui (GLuint index, GLenum type, GLboolean normalized, GLuint value) { 85 _glptr_glVertexAttribP2ui = (PFN_glVertexAttribP2ui)GalogenGetProcAddress("glVertexAttribP2ui"); 86 _glptr_glVertexAttribP2ui(index, type, normalized, value); 87 } 88 PFN_glVertexAttribP2ui _glptr_glVertexAttribP2ui = _impl_glVertexAttribP2ui; 89 90 static void GL_APIENTRY _impl_glVertexAttribP1uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint * value) { 91 _glptr_glVertexAttribP1uiv = (PFN_glVertexAttribP1uiv)GalogenGetProcAddress("glVertexAttribP1uiv"); 92 _glptr_glVertexAttribP1uiv(index, type, normalized, value); 93 } 94 PFN_glVertexAttribP1uiv _glptr_glVertexAttribP1uiv = _impl_glVertexAttribP1uiv; 95 96 static void GL_APIENTRY _impl_glGetQueryObjectui64v (GLuint id, GLenum pname, GLuint64 * params) { 97 _glptr_glGetQueryObjectui64v = (PFN_glGetQueryObjectui64v)GalogenGetProcAddress("glGetQueryObjectui64v"); 98 _glptr_glGetQueryObjectui64v(id, pname, params); 99 } 100 PFN_glGetQueryObjectui64v _glptr_glGetQueryObjectui64v = _impl_glGetQueryObjectui64v; 101 102 static void GL_APIENTRY _impl_glGetSamplerParameterfv (GLuint sampler, GLenum pname, GLfloat * params) { 103 _glptr_glGetSamplerParameterfv = (PFN_glGetSamplerParameterfv)GalogenGetProcAddress("glGetSamplerParameterfv"); 104 _glptr_glGetSamplerParameterfv(sampler, pname, params); 105 } 106 PFN_glGetSamplerParameterfv _glptr_glGetSamplerParameterfv = _impl_glGetSamplerParameterfv; 107 108 static void GL_APIENTRY _impl_glSamplerParameterIuiv (GLuint sampler, GLenum pname, const GLuint * param) { 109 _glptr_glSamplerParameterIuiv = (PFN_glSamplerParameterIuiv)GalogenGetProcAddress("glSamplerParameterIuiv"); 110 _glptr_glSamplerParameterIuiv(sampler, pname, param); 111 } 112 PFN_glSamplerParameterIuiv _glptr_glSamplerParameterIuiv = _impl_glSamplerParameterIuiv; 113 114 static void GL_APIENTRY _impl_glSamplerParameterfv (GLuint sampler, GLenum pname, const GLfloat * param) { 115 _glptr_glSamplerParameterfv = (PFN_glSamplerParameterfv)GalogenGetProcAddress("glSamplerParameterfv"); 116 _glptr_glSamplerParameterfv(sampler, pname, param); 117 } 118 PFN_glSamplerParameterfv _glptr_glSamplerParameterfv = _impl_glSamplerParameterfv; 119 120 static void GL_APIENTRY _impl_glSamplerParameteriv (GLuint sampler, GLenum pname, const GLint * param) { 121 _glptr_glSamplerParameteriv = (PFN_glSamplerParameteriv)GalogenGetProcAddress("glSamplerParameteriv"); 122 _glptr_glSamplerParameteriv(sampler, pname, param); 123 } 124 PFN_glSamplerParameteriv _glptr_glSamplerParameteriv = _impl_glSamplerParameteriv; 125 126 static void GL_APIENTRY _impl_glSamplerParameteri (GLuint sampler, GLenum pname, GLint param) { 127 _glptr_glSamplerParameteri = (PFN_glSamplerParameteri)GalogenGetProcAddress("glSamplerParameteri"); 128 _glptr_glSamplerParameteri(sampler, pname, param); 129 } 130 PFN_glSamplerParameteri _glptr_glSamplerParameteri = _impl_glSamplerParameteri; 131 132 static void GL_APIENTRY _impl_glBindSampler (GLuint unit, GLuint sampler) { 133 _glptr_glBindSampler = (PFN_glBindSampler)GalogenGetProcAddress("glBindSampler"); 134 _glptr_glBindSampler(unit, sampler); 135 } 136 PFN_glBindSampler _glptr_glBindSampler = _impl_glBindSampler; 137 138 static void GL_APIENTRY _impl_glSamplerParameterf (GLuint sampler, GLenum pname, GLfloat param) { 139 _glptr_glSamplerParameterf = (PFN_glSamplerParameterf)GalogenGetProcAddress("glSamplerParameterf"); 140 _glptr_glSamplerParameterf(sampler, pname, param); 141 } 142 PFN_glSamplerParameterf _glptr_glSamplerParameterf = _impl_glSamplerParameterf; 143 144 static GLboolean GL_APIENTRY _impl_glIsSampler (GLuint sampler) { 145 _glptr_glIsSampler = (PFN_glIsSampler)GalogenGetProcAddress("glIsSampler"); 146 return _glptr_glIsSampler(sampler); 147 } 148 PFN_glIsSampler _glptr_glIsSampler = _impl_glIsSampler; 149 150 static void GL_APIENTRY _impl_glGenSamplers (GLsizei count, GLuint * samplers) { 151 _glptr_glGenSamplers = (PFN_glGenSamplers)GalogenGetProcAddress("glGenSamplers"); 152 _glptr_glGenSamplers(count, samplers); 153 } 154 PFN_glGenSamplers _glptr_glGenSamplers = _impl_glGenSamplers; 155 156 static void GL_APIENTRY _impl_glBindFragDataLocationIndexed (GLuint program, GLuint colorNumber, GLuint index, const GLchar * name) { 157 _glptr_glBindFragDataLocationIndexed = (PFN_glBindFragDataLocationIndexed)GalogenGetProcAddress("glBindFragDataLocationIndexed"); 158 _glptr_glBindFragDataLocationIndexed(program, colorNumber, index, name); 159 } 160 PFN_glBindFragDataLocationIndexed _glptr_glBindFragDataLocationIndexed = _impl_glBindFragDataLocationIndexed; 161 162 static void GL_APIENTRY _impl_glGetMultisamplefv (GLenum pname, GLuint index, GLfloat * val) { 163 _glptr_glGetMultisamplefv = (PFN_glGetMultisamplefv)GalogenGetProcAddress("glGetMultisamplefv"); 164 _glptr_glGetMultisamplefv(pname, index, val); 165 } 166 PFN_glGetMultisamplefv _glptr_glGetMultisamplefv = _impl_glGetMultisamplefv; 167 168 static void GL_APIENTRY _impl_glTexImage3DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations) { 169 _glptr_glTexImage3DMultisample = (PFN_glTexImage3DMultisample)GalogenGetProcAddress("glTexImage3DMultisample"); 170 _glptr_glTexImage3DMultisample(target, samples, internalformat, width, height, depth, fixedsamplelocations); 171 } 172 PFN_glTexImage3DMultisample _glptr_glTexImage3DMultisample = _impl_glTexImage3DMultisample; 173 174 static void GL_APIENTRY _impl_glFramebufferTexture (GLenum target, GLenum attachment, GLuint texture, GLint level) { 175 _glptr_glFramebufferTexture = (PFN_glFramebufferTexture)GalogenGetProcAddress("glFramebufferTexture"); 176 _glptr_glFramebufferTexture(target, attachment, texture, level); 177 } 178 PFN_glFramebufferTexture _glptr_glFramebufferTexture = _impl_glFramebufferTexture; 179 180 static void GL_APIENTRY _impl_glGetBufferParameteri64v (GLenum target, GLenum pname, GLint64 * params) { 181 _glptr_glGetBufferParameteri64v = (PFN_glGetBufferParameteri64v)GalogenGetProcAddress("glGetBufferParameteri64v"); 182 _glptr_glGetBufferParameteri64v(target, pname, params); 183 } 184 PFN_glGetBufferParameteri64v _glptr_glGetBufferParameteri64v = _impl_glGetBufferParameteri64v; 185 186 static void GL_APIENTRY _impl_glGetInteger64i_v (GLenum target, GLuint index, GLint64 * data) { 187 _glptr_glGetInteger64i_v = (PFN_glGetInteger64i_v)GalogenGetProcAddress("glGetInteger64i_v"); 188 _glptr_glGetInteger64i_v(target, index, data); 189 } 190 PFN_glGetInteger64i_v _glptr_glGetInteger64i_v = _impl_glGetInteger64i_v; 191 192 static void GL_APIENTRY _impl_glWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout) { 193 _glptr_glWaitSync = (PFN_glWaitSync)GalogenGetProcAddress("glWaitSync"); 194 _glptr_glWaitSync(sync, flags, timeout); 195 } 196 PFN_glWaitSync _glptr_glWaitSync = _impl_glWaitSync; 197 198 static GLboolean GL_APIENTRY _impl_glIsSync (GLsync sync) { 199 _glptr_glIsSync = (PFN_glIsSync)GalogenGetProcAddress("glIsSync"); 200 return _glptr_glIsSync(sync); 201 } 202 PFN_glIsSync _glptr_glIsSync = _impl_glIsSync; 203 204 static GLsync GL_APIENTRY _impl_glFenceSync (GLenum condition, GLbitfield flags) { 205 _glptr_glFenceSync = (PFN_glFenceSync)GalogenGetProcAddress("glFenceSync"); 206 return _glptr_glFenceSync(condition, flags); 207 } 208 PFN_glFenceSync _glptr_glFenceSync = _impl_glFenceSync; 209 210 static void GL_APIENTRY _impl_glMultiDrawElementsBaseVertex (GLenum mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei drawcount, const GLint * basevertex) { 211 _glptr_glMultiDrawElementsBaseVertex = (PFN_glMultiDrawElementsBaseVertex)GalogenGetProcAddress("glMultiDrawElementsBaseVertex"); 212 _glptr_glMultiDrawElementsBaseVertex(mode, count, type, indices, drawcount, basevertex); 213 } 214 PFN_glMultiDrawElementsBaseVertex _glptr_glMultiDrawElementsBaseVertex = _impl_glMultiDrawElementsBaseVertex; 215 216 static void GL_APIENTRY _impl_glDrawElementsInstancedBaseVertex (GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount, GLint basevertex) { 217 _glptr_glDrawElementsInstancedBaseVertex = (PFN_glDrawElementsInstancedBaseVertex)GalogenGetProcAddress("glDrawElementsInstancedBaseVertex"); 218 _glptr_glDrawElementsInstancedBaseVertex(mode, count, type, indices, instancecount, basevertex); 219 } 220 PFN_glDrawElementsInstancedBaseVertex _glptr_glDrawElementsInstancedBaseVertex = _impl_glDrawElementsInstancedBaseVertex; 221 222 static void GL_APIENTRY _impl_glGetActiveUniformBlockName (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei * length, GLchar * uniformBlockName) { 223 _glptr_glGetActiveUniformBlockName = (PFN_glGetActiveUniformBlockName)GalogenGetProcAddress("glGetActiveUniformBlockName"); 224 _glptr_glGetActiveUniformBlockName(program, uniformBlockIndex, bufSize, length, uniformBlockName); 225 } 226 PFN_glGetActiveUniformBlockName _glptr_glGetActiveUniformBlockName = _impl_glGetActiveUniformBlockName; 227 228 static GLuint GL_APIENTRY _impl_glGetUniformBlockIndex (GLuint program, const GLchar * uniformBlockName) { 229 _glptr_glGetUniformBlockIndex = (PFN_glGetUniformBlockIndex)GalogenGetProcAddress("glGetUniformBlockIndex"); 230 return _glptr_glGetUniformBlockIndex(program, uniformBlockName); 231 } 232 PFN_glGetUniformBlockIndex _glptr_glGetUniformBlockIndex = _impl_glGetUniformBlockIndex; 233 234 static void GL_APIENTRY _impl_glGetActiveUniformName (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei * length, GLchar * uniformName) { 235 _glptr_glGetActiveUniformName = (PFN_glGetActiveUniformName)GalogenGetProcAddress("glGetActiveUniformName"); 236 _glptr_glGetActiveUniformName(program, uniformIndex, bufSize, length, uniformName); 237 } 238 PFN_glGetActiveUniformName _glptr_glGetActiveUniformName = _impl_glGetActiveUniformName; 239 240 static void GL_APIENTRY _impl_glGetUniformIndices (GLuint program, GLsizei uniformCount, const GLchar *const* uniformNames, GLuint * uniformIndices) { 241 _glptr_glGetUniformIndices = (PFN_glGetUniformIndices)GalogenGetProcAddress("glGetUniformIndices"); 242 _glptr_glGetUniformIndices(program, uniformCount, uniformNames, uniformIndices); 243 } 244 PFN_glGetUniformIndices _glptr_glGetUniformIndices = _impl_glGetUniformIndices; 245 246 static void GL_APIENTRY _impl_glTexBuffer (GLenum target, GLenum internalformat, GLuint buffer) { 247 _glptr_glTexBuffer = (PFN_glTexBuffer)GalogenGetProcAddress("glTexBuffer"); 248 _glptr_glTexBuffer(target, internalformat, buffer); 249 } 250 PFN_glTexBuffer _glptr_glTexBuffer = _impl_glTexBuffer; 251 252 static GLboolean GL_APIENTRY _impl_glIsVertexArray (GLuint array) { 253 _glptr_glIsVertexArray = (PFN_glIsVertexArray)GalogenGetProcAddress("glIsVertexArray"); 254 return _glptr_glIsVertexArray(array); 255 } 256 PFN_glIsVertexArray _glptr_glIsVertexArray = _impl_glIsVertexArray; 257 258 static void GL_APIENTRY _impl_glBindVertexArray (GLuint array) { 259 _glptr_glBindVertexArray = (PFN_glBindVertexArray)GalogenGetProcAddress("glBindVertexArray"); 260 _glptr_glBindVertexArray(array); 261 } 262 PFN_glBindVertexArray _glptr_glBindVertexArray = _impl_glBindVertexArray; 263 264 static void GL_APIENTRY _impl_glFlushMappedBufferRange (GLenum target, GLintptr offset, GLsizeiptr length) { 265 _glptr_glFlushMappedBufferRange = (PFN_glFlushMappedBufferRange)GalogenGetProcAddress("glFlushMappedBufferRange"); 266 _glptr_glFlushMappedBufferRange(target, offset, length); 267 } 268 PFN_glFlushMappedBufferRange _glptr_glFlushMappedBufferRange = _impl_glFlushMappedBufferRange; 269 270 static void * GL_APIENTRY _impl_glMapBufferRange (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access) { 271 _glptr_glMapBufferRange = (PFN_glMapBufferRange)GalogenGetProcAddress("glMapBufferRange"); 272 return _glptr_glMapBufferRange(target, offset, length, access); 273 } 274 PFN_glMapBufferRange _glptr_glMapBufferRange = _impl_glMapBufferRange; 275 276 static void GL_APIENTRY _impl_glGetActiveUniformsiv (GLuint program, GLsizei uniformCount, const GLuint * uniformIndices, GLenum pname, GLint * params) { 277 _glptr_glGetActiveUniformsiv = (PFN_glGetActiveUniformsiv)GalogenGetProcAddress("glGetActiveUniformsiv"); 278 _glptr_glGetActiveUniformsiv(program, uniformCount, uniformIndices, pname, params); 279 } 280 PFN_glGetActiveUniformsiv _glptr_glGetActiveUniformsiv = _impl_glGetActiveUniformsiv; 281 282 static void GL_APIENTRY _impl_glFramebufferTextureLayer (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer) { 283 _glptr_glFramebufferTextureLayer = (PFN_glFramebufferTextureLayer)GalogenGetProcAddress("glFramebufferTextureLayer"); 284 _glptr_glFramebufferTextureLayer(target, attachment, texture, level, layer); 285 } 286 PFN_glFramebufferTextureLayer _glptr_glFramebufferTextureLayer = _impl_glFramebufferTextureLayer; 287 288 static void GL_APIENTRY _impl_glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint * params) { 289 _glptr_glGetFramebufferAttachmentParameteriv = (PFN_glGetFramebufferAttachmentParameteriv)GalogenGetProcAddress("glGetFramebufferAttachmentParameteriv"); 290 _glptr_glGetFramebufferAttachmentParameteriv(target, attachment, pname, params); 291 } 292 PFN_glGetFramebufferAttachmentParameteriv _glptr_glGetFramebufferAttachmentParameteriv = _impl_glGetFramebufferAttachmentParameteriv; 293 294 static void GL_APIENTRY _impl_glFramebufferTexture3D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset) { 295 _glptr_glFramebufferTexture3D = (PFN_glFramebufferTexture3D)GalogenGetProcAddress("glFramebufferTexture3D"); 296 _glptr_glFramebufferTexture3D(target, attachment, textarget, texture, level, zoffset); 297 } 298 PFN_glFramebufferTexture3D _glptr_glFramebufferTexture3D = _impl_glFramebufferTexture3D; 299 300 static void GL_APIENTRY _impl_glFramebufferTexture1D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) { 301 _glptr_glFramebufferTexture1D = (PFN_glFramebufferTexture1D)GalogenGetProcAddress("glFramebufferTexture1D"); 302 _glptr_glFramebufferTexture1D(target, attachment, textarget, texture, level); 303 } 304 PFN_glFramebufferTexture1D _glptr_glFramebufferTexture1D = _impl_glFramebufferTexture1D; 305 306 static void GL_APIENTRY _impl_glGenFramebuffers (GLsizei n, GLuint * framebuffers) { 307 _glptr_glGenFramebuffers = (PFN_glGenFramebuffers)GalogenGetProcAddress("glGenFramebuffers"); 308 _glptr_glGenFramebuffers(n, framebuffers); 309 } 310 PFN_glGenFramebuffers _glptr_glGenFramebuffers = _impl_glGenFramebuffers; 311 312 static void GL_APIENTRY _impl_glBindFramebuffer (GLenum target, GLuint framebuffer) { 313 _glptr_glBindFramebuffer = (PFN_glBindFramebuffer)GalogenGetProcAddress("glBindFramebuffer"); 314 _glptr_glBindFramebuffer(target, framebuffer); 315 } 316 PFN_glBindFramebuffer _glptr_glBindFramebuffer = _impl_glBindFramebuffer; 317 318 static void GL_APIENTRY _impl_glGetQueryObjecti64v (GLuint id, GLenum pname, GLint64 * params) { 319 _glptr_glGetQueryObjecti64v = (PFN_glGetQueryObjecti64v)GalogenGetProcAddress("glGetQueryObjecti64v"); 320 _glptr_glGetQueryObjecti64v(id, pname, params); 321 } 322 PFN_glGetQueryObjecti64v _glptr_glGetQueryObjecti64v = _impl_glGetQueryObjecti64v; 323 324 static void GL_APIENTRY _impl_glGetInteger64v (GLenum pname, GLint64 * data) { 325 _glptr_glGetInteger64v = (PFN_glGetInteger64v)GalogenGetProcAddress("glGetInteger64v"); 326 _glptr_glGetInteger64v(pname, data); 327 } 328 PFN_glGetInteger64v _glptr_glGetInteger64v = _impl_glGetInteger64v; 329 330 static GLboolean GL_APIENTRY _impl_glIsFramebuffer (GLuint framebuffer) { 331 _glptr_glIsFramebuffer = (PFN_glIsFramebuffer)GalogenGetProcAddress("glIsFramebuffer"); 332 return _glptr_glIsFramebuffer(framebuffer); 333 } 334 PFN_glIsFramebuffer _glptr_glIsFramebuffer = _impl_glIsFramebuffer; 335 336 static void GL_APIENTRY _impl_glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint * params) { 337 _glptr_glGetRenderbufferParameteriv = (PFN_glGetRenderbufferParameteriv)GalogenGetProcAddress("glGetRenderbufferParameteriv"); 338 _glptr_glGetRenderbufferParameteriv(target, pname, params); 339 } 340 PFN_glGetRenderbufferParameteriv _glptr_glGetRenderbufferParameteriv = _impl_glGetRenderbufferParameteriv; 341 342 static void GL_APIENTRY _impl_glBindRenderbuffer (GLenum target, GLuint renderbuffer) { 343 _glptr_glBindRenderbuffer = (PFN_glBindRenderbuffer)GalogenGetProcAddress("glBindRenderbuffer"); 344 _glptr_glBindRenderbuffer(target, renderbuffer); 345 } 346 PFN_glBindRenderbuffer _glptr_glBindRenderbuffer = _impl_glBindRenderbuffer; 347 348 static GLboolean GL_APIENTRY _impl_glIsRenderbuffer (GLuint renderbuffer) { 349 _glptr_glIsRenderbuffer = (PFN_glIsRenderbuffer)GalogenGetProcAddress("glIsRenderbuffer"); 350 return _glptr_glIsRenderbuffer(renderbuffer); 351 } 352 PFN_glIsRenderbuffer _glptr_glIsRenderbuffer = _impl_glIsRenderbuffer; 353 354 static const GLubyte * GL_APIENTRY _impl_glGetStringi (GLenum name, GLuint index) { 355 _glptr_glGetStringi = (PFN_glGetStringi)GalogenGetProcAddress("glGetStringi"); 356 return _glptr_glGetStringi(name, index); 357 } 358 PFN_glGetStringi _glptr_glGetStringi = _impl_glGetStringi; 359 360 static void GL_APIENTRY _impl_glClearBufferfi (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil) { 361 _glptr_glClearBufferfi = (PFN_glClearBufferfi)GalogenGetProcAddress("glClearBufferfi"); 362 _glptr_glClearBufferfi(buffer, drawbuffer, depth, stencil); 363 } 364 PFN_glClearBufferfi _glptr_glClearBufferfi = _impl_glClearBufferfi; 365 366 static void GL_APIENTRY _impl_glClearBufferfv (GLenum buffer, GLint drawbuffer, const GLfloat * value) { 367 _glptr_glClearBufferfv = (PFN_glClearBufferfv)GalogenGetProcAddress("glClearBufferfv"); 368 _glptr_glClearBufferfv(buffer, drawbuffer, value); 369 } 370 PFN_glClearBufferfv _glptr_glClearBufferfv = _impl_glClearBufferfv; 371 372 static void GL_APIENTRY _impl_glGetTexParameterIiv (GLenum target, GLenum pname, GLint * params) { 373 _glptr_glGetTexParameterIiv = (PFN_glGetTexParameterIiv)GalogenGetProcAddress("glGetTexParameterIiv"); 374 _glptr_glGetTexParameterIiv(target, pname, params); 375 } 376 PFN_glGetTexParameterIiv _glptr_glGetTexParameterIiv = _impl_glGetTexParameterIiv; 377 378 static void GL_APIENTRY _impl_glGetSamplerParameterIuiv (GLuint sampler, GLenum pname, GLuint * params) { 379 _glptr_glGetSamplerParameterIuiv = (PFN_glGetSamplerParameterIuiv)GalogenGetProcAddress("glGetSamplerParameterIuiv"); 380 _glptr_glGetSamplerParameterIuiv(sampler, pname, params); 381 } 382 PFN_glGetSamplerParameterIuiv _glptr_glGetSamplerParameterIuiv = _impl_glGetSamplerParameterIuiv; 383 384 static void GL_APIENTRY _impl_glTexParameterIiv (GLenum target, GLenum pname, const GLint * params) { 385 _glptr_glTexParameterIiv = (PFN_glTexParameterIiv)GalogenGetProcAddress("glTexParameterIiv"); 386 _glptr_glTexParameterIiv(target, pname, params); 387 } 388 PFN_glTexParameterIiv _glptr_glTexParameterIiv = _impl_glTexParameterIiv; 389 390 static void GL_APIENTRY _impl_glUniform4uiv (GLint location, GLsizei count, const GLuint * value) { 391 _glptr_glUniform4uiv = (PFN_glUniform4uiv)GalogenGetProcAddress("glUniform4uiv"); 392 _glptr_glUniform4uiv(location, count, value); 393 } 394 PFN_glUniform4uiv _glptr_glUniform4uiv = _impl_glUniform4uiv; 395 396 static void GL_APIENTRY _impl_glUniform3ui (GLint location, GLuint v0, GLuint v1, GLuint v2) { 397 _glptr_glUniform3ui = (PFN_glUniform3ui)GalogenGetProcAddress("glUniform3ui"); 398 _glptr_glUniform3ui(location, v0, v1, v2); 399 } 400 PFN_glUniform3ui _glptr_glUniform3ui = _impl_glUniform3ui; 401 402 static void GL_APIENTRY _impl_glUniform1ui (GLint location, GLuint v0) { 403 _glptr_glUniform1ui = (PFN_glUniform1ui)GalogenGetProcAddress("glUniform1ui"); 404 _glptr_glUniform1ui(location, v0); 405 } 406 PFN_glUniform1ui _glptr_glUniform1ui = _impl_glUniform1ui; 407 408 static GLint GL_APIENTRY _impl_glGetFragDataLocation (GLuint program, const GLchar * name) { 409 _glptr_glGetFragDataLocation = (PFN_glGetFragDataLocation)GalogenGetProcAddress("glGetFragDataLocation"); 410 return _glptr_glGetFragDataLocation(program, name); 411 } 412 PFN_glGetFragDataLocation _glptr_glGetFragDataLocation = _impl_glGetFragDataLocation; 413 414 static void GL_APIENTRY _impl_glBindFragDataLocation (GLuint program, GLuint color, const GLchar * name) { 415 _glptr_glBindFragDataLocation = (PFN_glBindFragDataLocation)GalogenGetProcAddress("glBindFragDataLocation"); 416 _glptr_glBindFragDataLocation(program, color, name); 417 } 418 PFN_glBindFragDataLocation _glptr_glBindFragDataLocation = _impl_glBindFragDataLocation; 419 420 static void GL_APIENTRY _impl_glVertexAttribI4iv (GLuint index, const GLint * v) { 421 _glptr_glVertexAttribI4iv = (PFN_glVertexAttribI4iv)GalogenGetProcAddress("glVertexAttribI4iv"); 422 _glptr_glVertexAttribI4iv(index, v); 423 } 424 PFN_glVertexAttribI4iv _glptr_glVertexAttribI4iv = _impl_glVertexAttribI4iv; 425 426 static void GL_APIENTRY _impl_glVertexAttribI2iv (GLuint index, const GLint * v) { 427 _glptr_glVertexAttribI2iv = (PFN_glVertexAttribI2iv)GalogenGetProcAddress("glVertexAttribI2iv"); 428 _glptr_glVertexAttribI2iv(index, v); 429 } 430 PFN_glVertexAttribI2iv _glptr_glVertexAttribI2iv = _impl_glVertexAttribI2iv; 431 432 static void GL_APIENTRY _impl_glVertexAttribI1iv (GLuint index, const GLint * v) { 433 _glptr_glVertexAttribI1iv = (PFN_glVertexAttribI1iv)GalogenGetProcAddress("glVertexAttribI1iv"); 434 _glptr_glVertexAttribI1iv(index, v); 435 } 436 PFN_glVertexAttribI1iv _glptr_glVertexAttribI1iv = _impl_glVertexAttribI1iv; 437 438 static void GL_APIENTRY _impl_glVertexAttribI4ui (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w) { 439 _glptr_glVertexAttribI4ui = (PFN_glVertexAttribI4ui)GalogenGetProcAddress("glVertexAttribI4ui"); 440 _glptr_glVertexAttribI4ui(index, x, y, z, w); 441 } 442 PFN_glVertexAttribI4ui _glptr_glVertexAttribI4ui = _impl_glVertexAttribI4ui; 443 444 static void GL_APIENTRY _impl_glVertexAttribI2ui (GLuint index, GLuint x, GLuint y) { 445 _glptr_glVertexAttribI2ui = (PFN_glVertexAttribI2ui)GalogenGetProcAddress("glVertexAttribI2ui"); 446 _glptr_glVertexAttribI2ui(index, x, y); 447 } 448 PFN_glVertexAttribI2ui _glptr_glVertexAttribI2ui = _impl_glVertexAttribI2ui; 449 450 static void GL_APIENTRY _impl_glVertexAttribI1ui (GLuint index, GLuint x) { 451 _glptr_glVertexAttribI1ui = (PFN_glVertexAttribI1ui)GalogenGetProcAddress("glVertexAttribI1ui"); 452 _glptr_glVertexAttribI1ui(index, x); 453 } 454 PFN_glVertexAttribI1ui _glptr_glVertexAttribI1ui = _impl_glVertexAttribI1ui; 455 456 static void GL_APIENTRY _impl_glVertexAttribI4i (GLuint index, GLint x, GLint y, GLint z, GLint w) { 457 _glptr_glVertexAttribI4i = (PFN_glVertexAttribI4i)GalogenGetProcAddress("glVertexAttribI4i"); 458 _glptr_glVertexAttribI4i(index, x, y, z, w); 459 } 460 PFN_glVertexAttribI4i _glptr_glVertexAttribI4i = _impl_glVertexAttribI4i; 461 462 static void GL_APIENTRY _impl_glVertexAttribI4bv (GLuint index, const GLbyte * v) { 463 _glptr_glVertexAttribI4bv = (PFN_glVertexAttribI4bv)GalogenGetProcAddress("glVertexAttribI4bv"); 464 _glptr_glVertexAttribI4bv(index, v); 465 } 466 PFN_glVertexAttribI4bv _glptr_glVertexAttribI4bv = _impl_glVertexAttribI4bv; 467 468 static void GL_APIENTRY _impl_glVertexAttribI2i (GLuint index, GLint x, GLint y) { 469 _glptr_glVertexAttribI2i = (PFN_glVertexAttribI2i)GalogenGetProcAddress("glVertexAttribI2i"); 470 _glptr_glVertexAttribI2i(index, x, y); 471 } 472 PFN_glVertexAttribI2i _glptr_glVertexAttribI2i = _impl_glVertexAttribI2i; 473 474 static void GL_APIENTRY _impl_glVertexAttribI1i (GLuint index, GLint x) { 475 _glptr_glVertexAttribI1i = (PFN_glVertexAttribI1i)GalogenGetProcAddress("glVertexAttribI1i"); 476 _glptr_glVertexAttribI1i(index, x); 477 } 478 PFN_glVertexAttribI1i _glptr_glVertexAttribI1i = _impl_glVertexAttribI1i; 479 480 static void GL_APIENTRY _impl_glGetVertexAttribIiv (GLuint index, GLenum pname, GLint * params) { 481 _glptr_glGetVertexAttribIiv = (PFN_glGetVertexAttribIiv)GalogenGetProcAddress("glGetVertexAttribIiv"); 482 _glptr_glGetVertexAttribIiv(index, pname, params); 483 } 484 PFN_glGetVertexAttribIiv _glptr_glGetVertexAttribIiv = _impl_glGetVertexAttribIiv; 485 486 static void GL_APIENTRY _impl_glVertexAttribIPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const void * pointer) { 487 _glptr_glVertexAttribIPointer = (PFN_glVertexAttribIPointer)GalogenGetProcAddress("glVertexAttribIPointer"); 488 _glptr_glVertexAttribIPointer(index, size, type, stride, pointer); 489 } 490 PFN_glVertexAttribIPointer _glptr_glVertexAttribIPointer = _impl_glVertexAttribIPointer; 491 492 static void GL_APIENTRY _impl_glBeginConditionalRender (GLuint id, GLenum mode) { 493 _glptr_glBeginConditionalRender = (PFN_glBeginConditionalRender)GalogenGetProcAddress("glBeginConditionalRender"); 494 _glptr_glBeginConditionalRender(id, mode); 495 } 496 PFN_glBeginConditionalRender _glptr_glBeginConditionalRender = _impl_glBeginConditionalRender; 497 498 static void GL_APIENTRY _impl_glClampColor (GLenum target, GLenum clamp) { 499 _glptr_glClampColor = (PFN_glClampColor)GalogenGetProcAddress("glClampColor"); 500 _glptr_glClampColor(target, clamp); 501 } 502 PFN_glClampColor _glptr_glClampColor = _impl_glClampColor; 503 504 static void GL_APIENTRY _impl_glBindBufferBase (GLenum target, GLuint index, GLuint buffer) { 505 _glptr_glBindBufferBase = (PFN_glBindBufferBase)GalogenGetProcAddress("glBindBufferBase"); 506 _glptr_glBindBufferBase(target, index, buffer); 507 } 508 PFN_glBindBufferBase _glptr_glBindBufferBase = _impl_glBindBufferBase; 509 510 static void GL_APIENTRY _impl_glBindBufferRange (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size) { 511 _glptr_glBindBufferRange = (PFN_glBindBufferRange)GalogenGetProcAddress("glBindBufferRange"); 512 _glptr_glBindBufferRange(target, index, buffer, offset, size); 513 } 514 PFN_glBindBufferRange _glptr_glBindBufferRange = _impl_glBindBufferRange; 515 516 static void GL_APIENTRY _impl_glBeginTransformFeedback (GLenum primitiveMode) { 517 _glptr_glBeginTransformFeedback = (PFN_glBeginTransformFeedback)GalogenGetProcAddress("glBeginTransformFeedback"); 518 _glptr_glBeginTransformFeedback(primitiveMode); 519 } 520 PFN_glBeginTransformFeedback _glptr_glBeginTransformFeedback = _impl_glBeginTransformFeedback; 521 522 static GLboolean GL_APIENTRY _impl_glIsEnabledi (GLenum target, GLuint index) { 523 _glptr_glIsEnabledi = (PFN_glIsEnabledi)GalogenGetProcAddress("glIsEnabledi"); 524 return _glptr_glIsEnabledi(target, index); 525 } 526 PFN_glIsEnabledi _glptr_glIsEnabledi = _impl_glIsEnabledi; 527 528 static void GL_APIENTRY _impl_glGetIntegeri_v (GLenum target, GLuint index, GLint * data) { 529 _glptr_glGetIntegeri_v = (PFN_glGetIntegeri_v)GalogenGetProcAddress("glGetIntegeri_v"); 530 _glptr_glGetIntegeri_v(target, index, data); 531 } 532 PFN_glGetIntegeri_v _glptr_glGetIntegeri_v = _impl_glGetIntegeri_v; 533 534 static void GL_APIENTRY _impl_glColorMaski (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a) { 535 _glptr_glColorMaski = (PFN_glColorMaski)GalogenGetProcAddress("glColorMaski"); 536 _glptr_glColorMaski(index, r, g, b, a); 537 } 538 PFN_glColorMaski _glptr_glColorMaski = _impl_glColorMaski; 539 540 static void GL_APIENTRY _impl_glUniformMatrix4x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { 541 _glptr_glUniformMatrix4x3fv = (PFN_glUniformMatrix4x3fv)GalogenGetProcAddress("glUniformMatrix4x3fv"); 542 _glptr_glUniformMatrix4x3fv(location, count, transpose, value); 543 } 544 PFN_glUniformMatrix4x3fv _glptr_glUniformMatrix4x3fv = _impl_glUniformMatrix4x3fv; 545 546 static void GL_APIENTRY _impl_glUniformMatrix3x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { 547 _glptr_glUniformMatrix3x4fv = (PFN_glUniformMatrix3x4fv)GalogenGetProcAddress("glUniformMatrix3x4fv"); 548 _glptr_glUniformMatrix3x4fv(location, count, transpose, value); 549 } 550 PFN_glUniformMatrix3x4fv _glptr_glUniformMatrix3x4fv = _impl_glUniformMatrix3x4fv; 551 552 static void GL_APIENTRY _impl_glUniformMatrix2x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { 553 _glptr_glUniformMatrix2x4fv = (PFN_glUniformMatrix2x4fv)GalogenGetProcAddress("glUniformMatrix2x4fv"); 554 _glptr_glUniformMatrix2x4fv(location, count, transpose, value); 555 } 556 PFN_glUniformMatrix2x4fv _glptr_glUniformMatrix2x4fv = _impl_glUniformMatrix2x4fv; 557 558 static void GL_APIENTRY _impl_glUniformMatrix3x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { 559 _glptr_glUniformMatrix3x2fv = (PFN_glUniformMatrix3x2fv)GalogenGetProcAddress("glUniformMatrix3x2fv"); 560 _glptr_glUniformMatrix3x2fv(location, count, transpose, value); 561 } 562 PFN_glUniformMatrix3x2fv _glptr_glUniformMatrix3x2fv = _impl_glUniformMatrix3x2fv; 563 564 static void GL_APIENTRY _impl_glUniformMatrix2x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { 565 _glptr_glUniformMatrix2x3fv = (PFN_glUniformMatrix2x3fv)GalogenGetProcAddress("glUniformMatrix2x3fv"); 566 _glptr_glUniformMatrix2x3fv(location, count, transpose, value); 567 } 568 PFN_glUniformMatrix2x3fv _glptr_glUniformMatrix2x3fv = _impl_glUniformMatrix2x3fv; 569 570 static void GL_APIENTRY _impl_glVertexAttribP4ui (GLuint index, GLenum type, GLboolean normalized, GLuint value) { 571 _glptr_glVertexAttribP4ui = (PFN_glVertexAttribP4ui)GalogenGetProcAddress("glVertexAttribP4ui"); 572 _glptr_glVertexAttribP4ui(index, type, normalized, value); 573 } 574 PFN_glVertexAttribP4ui _glptr_glVertexAttribP4ui = _impl_glVertexAttribP4ui; 575 576 static void GL_APIENTRY _impl_glVertexAttrib4ubv (GLuint index, const GLubyte * v) { 577 _glptr_glVertexAttrib4ubv = (PFN_glVertexAttrib4ubv)GalogenGetProcAddress("glVertexAttrib4ubv"); 578 _glptr_glVertexAttrib4ubv(index, v); 579 } 580 PFN_glVertexAttrib4ubv _glptr_glVertexAttrib4ubv = _impl_glVertexAttrib4ubv; 581 582 static void GL_APIENTRY _impl_glVertexAttrib4sv (GLuint index, const GLshort * v) { 583 _glptr_glVertexAttrib4sv = (PFN_glVertexAttrib4sv)GalogenGetProcAddress("glVertexAttrib4sv"); 584 _glptr_glVertexAttrib4sv(index, v); 585 } 586 PFN_glVertexAttrib4sv _glptr_glVertexAttrib4sv = _impl_glVertexAttrib4sv; 587 588 static void GL_APIENTRY _impl_glVertexAttrib4fv (GLuint index, const GLfloat * v) { 589 _glptr_glVertexAttrib4fv = (PFN_glVertexAttrib4fv)GalogenGetProcAddress("glVertexAttrib4fv"); 590 _glptr_glVertexAttrib4fv(index, v); 591 } 592 PFN_glVertexAttrib4fv _glptr_glVertexAttrib4fv = _impl_glVertexAttrib4fv; 593 594 static void GL_APIENTRY _impl_glVertexAttrib4Nusv (GLuint index, const GLushort * v) { 595 _glptr_glVertexAttrib4Nusv = (PFN_glVertexAttrib4Nusv)GalogenGetProcAddress("glVertexAttrib4Nusv"); 596 _glptr_glVertexAttrib4Nusv(index, v); 597 } 598 PFN_glVertexAttrib4Nusv _glptr_glVertexAttrib4Nusv = _impl_glVertexAttrib4Nusv; 599 600 static void GL_APIENTRY _impl_glVertexAttrib4Nuiv (GLuint index, const GLuint * v) { 601 _glptr_glVertexAttrib4Nuiv = (PFN_glVertexAttrib4Nuiv)GalogenGetProcAddress("glVertexAttrib4Nuiv"); 602 _glptr_glVertexAttrib4Nuiv(index, v); 603 } 604 PFN_glVertexAttrib4Nuiv _glptr_glVertexAttrib4Nuiv = _impl_glVertexAttrib4Nuiv; 605 606 static void GL_APIENTRY _impl_glVertexAttrib4Nubv (GLuint index, const GLubyte * v) { 607 _glptr_glVertexAttrib4Nubv = (PFN_glVertexAttrib4Nubv)GalogenGetProcAddress("glVertexAttrib4Nubv"); 608 _glptr_glVertexAttrib4Nubv(index, v); 609 } 610 PFN_glVertexAttrib4Nubv _glptr_glVertexAttrib4Nubv = _impl_glVertexAttrib4Nubv; 611 612 static void GL_APIENTRY _impl_glProvokingVertex (GLenum mode) { 613 _glptr_glProvokingVertex = (PFN_glProvokingVertex)GalogenGetProcAddress("glProvokingVertex"); 614 _glptr_glProvokingVertex(mode); 615 } 616 PFN_glProvokingVertex _glptr_glProvokingVertex = _impl_glProvokingVertex; 617 618 static void GL_APIENTRY _impl_glVertexAttrib4Nsv (GLuint index, const GLshort * v) { 619 _glptr_glVertexAttrib4Nsv = (PFN_glVertexAttrib4Nsv)GalogenGetProcAddress("glVertexAttrib4Nsv"); 620 _glptr_glVertexAttrib4Nsv(index, v); 621 } 622 PFN_glVertexAttrib4Nsv _glptr_glVertexAttrib4Nsv = _impl_glVertexAttrib4Nsv; 623 624 static void GL_APIENTRY _impl_glVertexAttrib3f (GLuint index, GLfloat x, GLfloat y, GLfloat z) { 625 _glptr_glVertexAttrib3f = (PFN_glVertexAttrib3f)GalogenGetProcAddress("glVertexAttrib3f"); 626 _glptr_glVertexAttrib3f(index, x, y, z); 627 } 628 PFN_glVertexAttrib3f _glptr_glVertexAttrib3f = _impl_glVertexAttrib3f; 629 630 static void GL_APIENTRY _impl_glVertexAttribI1uiv (GLuint index, const GLuint * v) { 631 _glptr_glVertexAttribI1uiv = (PFN_glVertexAttribI1uiv)GalogenGetProcAddress("glVertexAttribI1uiv"); 632 _glptr_glVertexAttribI1uiv(index, v); 633 } 634 PFN_glVertexAttribI1uiv _glptr_glVertexAttribI1uiv = _impl_glVertexAttribI1uiv; 635 636 static void GL_APIENTRY _impl_glVertexAttrib3dv (GLuint index, const GLdouble * v) { 637 _glptr_glVertexAttrib3dv = (PFN_glVertexAttrib3dv)GalogenGetProcAddress("glVertexAttrib3dv"); 638 _glptr_glVertexAttrib3dv(index, v); 639 } 640 PFN_glVertexAttrib3dv _glptr_glVertexAttrib3dv = _impl_glVertexAttrib3dv; 641 642 static void GL_APIENTRY _impl_glVertexAttrib3d (GLuint index, GLdouble x, GLdouble y, GLdouble z) { 643 _glptr_glVertexAttrib3d = (PFN_glVertexAttrib3d)GalogenGetProcAddress("glVertexAttrib3d"); 644 _glptr_glVertexAttrib3d(index, x, y, z); 645 } 646 PFN_glVertexAttrib3d _glptr_glVertexAttrib3d = _impl_glVertexAttrib3d; 647 648 static void GL_APIENTRY _impl_glVertexAttrib2sv (GLuint index, const GLshort * v) { 649 _glptr_glVertexAttrib2sv = (PFN_glVertexAttrib2sv)GalogenGetProcAddress("glVertexAttrib2sv"); 650 _glptr_glVertexAttrib2sv(index, v); 651 } 652 PFN_glVertexAttrib2sv _glptr_glVertexAttrib2sv = _impl_glVertexAttrib2sv; 653 654 static void GL_APIENTRY _impl_glVertexAttrib2fv (GLuint index, const GLfloat * v) { 655 _glptr_glVertexAttrib2fv = (PFN_glVertexAttrib2fv)GalogenGetProcAddress("glVertexAttrib2fv"); 656 _glptr_glVertexAttrib2fv(index, v); 657 } 658 PFN_glVertexAttrib2fv _glptr_glVertexAttrib2fv = _impl_glVertexAttrib2fv; 659 660 static void GL_APIENTRY _impl_glVertexAttrib2dv (GLuint index, const GLdouble * v) { 661 _glptr_glVertexAttrib2dv = (PFN_glVertexAttrib2dv)GalogenGetProcAddress("glVertexAttrib2dv"); 662 _glptr_glVertexAttrib2dv(index, v); 663 } 664 PFN_glVertexAttrib2dv _glptr_glVertexAttrib2dv = _impl_glVertexAttrib2dv; 665 666 static void GL_APIENTRY _impl_glVertexAttrib2d (GLuint index, GLdouble x, GLdouble y) { 667 _glptr_glVertexAttrib2d = (PFN_glVertexAttrib2d)GalogenGetProcAddress("glVertexAttrib2d"); 668 _glptr_glVertexAttrib2d(index, x, y); 669 } 670 PFN_glVertexAttrib2d _glptr_glVertexAttrib2d = _impl_glVertexAttrib2d; 671 672 static void GL_APIENTRY _impl_glVertexAttrib2f (GLuint index, GLfloat x, GLfloat y) { 673 _glptr_glVertexAttrib2f = (PFN_glVertexAttrib2f)GalogenGetProcAddress("glVertexAttrib2f"); 674 _glptr_glVertexAttrib2f(index, x, y); 675 } 676 PFN_glVertexAttrib2f _glptr_glVertexAttrib2f = _impl_glVertexAttrib2f; 677 678 static void GL_APIENTRY _impl_glVertexAttrib1s (GLuint index, GLshort x) { 679 _glptr_glVertexAttrib1s = (PFN_glVertexAttrib1s)GalogenGetProcAddress("glVertexAttrib1s"); 680 _glptr_glVertexAttrib1s(index, x); 681 } 682 PFN_glVertexAttrib1s _glptr_glVertexAttrib1s = _impl_glVertexAttrib1s; 683 684 static void GL_APIENTRY _impl_glVertexAttrib1fv (GLuint index, const GLfloat * v) { 685 _glptr_glVertexAttrib1fv = (PFN_glVertexAttrib1fv)GalogenGetProcAddress("glVertexAttrib1fv"); 686 _glptr_glVertexAttrib1fv(index, v); 687 } 688 PFN_glVertexAttrib1fv _glptr_glVertexAttrib1fv = _impl_glVertexAttrib1fv; 689 690 static void GL_APIENTRY _impl_glVertexAttrib1f (GLuint index, GLfloat x) { 691 _glptr_glVertexAttrib1f = (PFN_glVertexAttrib1f)GalogenGetProcAddress("glVertexAttrib1f"); 692 _glptr_glVertexAttrib1f(index, x); 693 } 694 PFN_glVertexAttrib1f _glptr_glVertexAttrib1f = _impl_glVertexAttrib1f; 695 696 static void GL_APIENTRY _impl_glVertexAttrib1dv (GLuint index, const GLdouble * v) { 697 _glptr_glVertexAttrib1dv = (PFN_glVertexAttrib1dv)GalogenGetProcAddress("glVertexAttrib1dv"); 698 _glptr_glVertexAttrib1dv(index, v); 699 } 700 PFN_glVertexAttrib1dv _glptr_glVertexAttrib1dv = _impl_glVertexAttrib1dv; 701 702 static void GL_APIENTRY _impl_glClearBufferuiv (GLenum buffer, GLint drawbuffer, const GLuint * value) { 703 _glptr_glClearBufferuiv = (PFN_glClearBufferuiv)GalogenGetProcAddress("glClearBufferuiv"); 704 _glptr_glClearBufferuiv(buffer, drawbuffer, value); 705 } 706 PFN_glClearBufferuiv _glptr_glClearBufferuiv = _impl_glClearBufferuiv; 707 708 static void GL_APIENTRY _impl_glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { 709 _glptr_glUniformMatrix3fv = (PFN_glUniformMatrix3fv)GalogenGetProcAddress("glUniformMatrix3fv"); 710 _glptr_glUniformMatrix3fv(location, count, transpose, value); 711 } 712 PFN_glUniformMatrix3fv _glptr_glUniformMatrix3fv = _impl_glUniformMatrix3fv; 713 714 static void GL_APIENTRY _impl_glDeleteRenderbuffers (GLsizei n, const GLuint * renderbuffers) { 715 _glptr_glDeleteRenderbuffers = (PFN_glDeleteRenderbuffers)GalogenGetProcAddress("glDeleteRenderbuffers"); 716 _glptr_glDeleteRenderbuffers(n, renderbuffers); 717 } 718 PFN_glDeleteRenderbuffers _glptr_glDeleteRenderbuffers = _impl_glDeleteRenderbuffers; 719 720 static void GL_APIENTRY _impl_glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { 721 _glptr_glUniformMatrix2fv = (PFN_glUniformMatrix2fv)GalogenGetProcAddress("glUniformMatrix2fv"); 722 _glptr_glUniformMatrix2fv(location, count, transpose, value); 723 } 724 PFN_glUniformMatrix2fv _glptr_glUniformMatrix2fv = _impl_glUniformMatrix2fv; 725 726 static void GL_APIENTRY _impl_glUniform4iv (GLint location, GLsizei count, const GLint * value) { 727 _glptr_glUniform4iv = (PFN_glUniform4iv)GalogenGetProcAddress("glUniform4iv"); 728 _glptr_glUniform4iv(location, count, value); 729 } 730 PFN_glUniform4iv _glptr_glUniform4iv = _impl_glUniform4iv; 731 732 static void GL_APIENTRY _impl_glUniform1iv (GLint location, GLsizei count, const GLint * value) { 733 _glptr_glUniform1iv = (PFN_glUniform1iv)GalogenGetProcAddress("glUniform1iv"); 734 _glptr_glUniform1iv(location, count, value); 735 } 736 PFN_glUniform1iv _glptr_glUniform1iv = _impl_glUniform1iv; 737 738 static void GL_APIENTRY _impl_glUniform4fv (GLint location, GLsizei count, const GLfloat * value) { 739 _glptr_glUniform4fv = (PFN_glUniform4fv)GalogenGetProcAddress("glUniform4fv"); 740 _glptr_glUniform4fv(location, count, value); 741 } 742 PFN_glUniform4fv _glptr_glUniform4fv = _impl_glUniform4fv; 743 744 static void GL_APIENTRY _impl_glUniform2fv (GLint location, GLsizei count, const GLfloat * value) { 745 _glptr_glUniform2fv = (PFN_glUniform2fv)GalogenGetProcAddress("glUniform2fv"); 746 _glptr_glUniform2fv(location, count, value); 747 } 748 PFN_glUniform2fv _glptr_glUniform2fv = _impl_glUniform2fv; 749 750 static void GL_APIENTRY _impl_glUniform3i (GLint location, GLint v0, GLint v1, GLint v2) { 751 _glptr_glUniform3i = (PFN_glUniform3i)GalogenGetProcAddress("glUniform3i"); 752 _glptr_glUniform3i(location, v0, v1, v2); 753 } 754 PFN_glUniform3i _glptr_glUniform3i = _impl_glUniform3i; 755 756 static void GL_APIENTRY _impl_glUniform2i (GLint location, GLint v0, GLint v1) { 757 _glptr_glUniform2i = (PFN_glUniform2i)GalogenGetProcAddress("glUniform2i"); 758 _glptr_glUniform2i(location, v0, v1); 759 } 760 PFN_glUniform2i _glptr_glUniform2i = _impl_glUniform2i; 761 762 static void GL_APIENTRY _impl_glUniform4f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) { 763 _glptr_glUniform4f = (PFN_glUniform4f)GalogenGetProcAddress("glUniform4f"); 764 _glptr_glUniform4f(location, v0, v1, v2, v3); 765 } 766 PFN_glUniform4f _glptr_glUniform4f = _impl_glUniform4f; 767 768 static void GL_APIENTRY _impl_glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2) { 769 _glptr_glUniform3f = (PFN_glUniform3f)GalogenGetProcAddress("glUniform3f"); 770 _glptr_glUniform3f(location, v0, v1, v2); 771 } 772 PFN_glUniform3f _glptr_glUniform3f = _impl_glUniform3f; 773 774 static void GL_APIENTRY _impl_glUniform1f (GLint location, GLfloat v0) { 775 _glptr_glUniform1f = (PFN_glUniform1f)GalogenGetProcAddress("glUniform1f"); 776 _glptr_glUniform1f(location, v0); 777 } 778 PFN_glUniform1f _glptr_glUniform1f = _impl_glUniform1f; 779 780 static void GL_APIENTRY _impl_glUseProgram (GLuint program) { 781 _glptr_glUseProgram = (PFN_glUseProgram)GalogenGetProcAddress("glUseProgram"); 782 _glptr_glUseProgram(program); 783 } 784 PFN_glUseProgram _glptr_glUseProgram = _impl_glUseProgram; 785 786 static void GL_APIENTRY _impl_glShaderSource (GLuint shader, GLsizei count, const GLchar *const* string, const GLint * length) { 787 _glptr_glShaderSource = (PFN_glShaderSource)GalogenGetProcAddress("glShaderSource"); 788 _glptr_glShaderSource(shader, count, string, length); 789 } 790 PFN_glShaderSource _glptr_glShaderSource = _impl_glShaderSource; 791 792 static void GL_APIENTRY _impl_glLinkProgram (GLuint program) { 793 _glptr_glLinkProgram = (PFN_glLinkProgram)GalogenGetProcAddress("glLinkProgram"); 794 _glptr_glLinkProgram(program); 795 } 796 PFN_glLinkProgram _glptr_glLinkProgram = _impl_glLinkProgram; 797 798 static GLboolean GL_APIENTRY _impl_glIsShader (GLuint shader) { 799 _glptr_glIsShader = (PFN_glIsShader)GalogenGetProcAddress("glIsShader"); 800 return _glptr_glIsShader(shader); 801 } 802 PFN_glIsShader _glptr_glIsShader = _impl_glIsShader; 803 804 static void GL_APIENTRY _impl_glGetVertexAttribPointerv (GLuint index, GLenum pname, void ** pointer) { 805 _glptr_glGetVertexAttribPointerv = (PFN_glGetVertexAttribPointerv)GalogenGetProcAddress("glGetVertexAttribPointerv"); 806 _glptr_glGetVertexAttribPointerv(index, pname, pointer); 807 } 808 PFN_glGetVertexAttribPointerv _glptr_glGetVertexAttribPointerv = _impl_glGetVertexAttribPointerv; 809 810 static void GL_APIENTRY _impl_glGetVertexAttribiv (GLuint index, GLenum pname, GLint * params) { 811 _glptr_glGetVertexAttribiv = (PFN_glGetVertexAttribiv)GalogenGetProcAddress("glGetVertexAttribiv"); 812 _glptr_glGetVertexAttribiv(index, pname, params); 813 } 814 PFN_glGetVertexAttribiv _glptr_glGetVertexAttribiv = _impl_glGetVertexAttribiv; 815 816 static void GL_APIENTRY _impl_glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat * params) { 817 _glptr_glGetVertexAttribfv = (PFN_glGetVertexAttribfv)GalogenGetProcAddress("glGetVertexAttribfv"); 818 _glptr_glGetVertexAttribfv(index, pname, params); 819 } 820 PFN_glGetVertexAttribfv _glptr_glGetVertexAttribfv = _impl_glGetVertexAttribfv; 821 822 static void GL_APIENTRY _impl_glUniformBlockBinding (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding) { 823 _glptr_glUniformBlockBinding = (PFN_glUniformBlockBinding)GalogenGetProcAddress("glUniformBlockBinding"); 824 _glptr_glUniformBlockBinding(program, uniformBlockIndex, uniformBlockBinding); 825 } 826 PFN_glUniformBlockBinding _glptr_glUniformBlockBinding = _impl_glUniformBlockBinding; 827 828 static GLint GL_APIENTRY _impl_glGetUniformLocation (GLuint program, const GLchar * name) { 829 _glptr_glGetUniformLocation = (PFN_glGetUniformLocation)GalogenGetProcAddress("glGetUniformLocation"); 830 return _glptr_glGetUniformLocation(program, name); 831 } 832 PFN_glGetUniformLocation _glptr_glGetUniformLocation = _impl_glGetUniformLocation; 833 834 static void GL_APIENTRY _impl_glGetShaderiv (GLuint shader, GLenum pname, GLint * params) { 835 _glptr_glGetShaderiv = (PFN_glGetShaderiv)GalogenGetProcAddress("glGetShaderiv"); 836 _glptr_glGetShaderiv(shader, pname, params); 837 } 838 PFN_glGetShaderiv _glptr_glGetShaderiv = _impl_glGetShaderiv; 839 840 static void GL_APIENTRY _impl_glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei * length, GLchar * infoLog) { 841 _glptr_glGetProgramInfoLog = (PFN_glGetProgramInfoLog)GalogenGetProcAddress("glGetProgramInfoLog"); 842 _glptr_glGetProgramInfoLog(program, bufSize, length, infoLog); 843 } 844 PFN_glGetProgramInfoLog _glptr_glGetProgramInfoLog = _impl_glGetProgramInfoLog; 845 846 static GLint GL_APIENTRY _impl_glGetAttribLocation (GLuint program, const GLchar * name) { 847 _glptr_glGetAttribLocation = (PFN_glGetAttribLocation)GalogenGetProcAddress("glGetAttribLocation"); 848 return _glptr_glGetAttribLocation(program, name); 849 } 850 PFN_glGetAttribLocation _glptr_glGetAttribLocation = _impl_glGetAttribLocation; 851 852 static void GL_APIENTRY _impl_glGetAttachedShaders (GLuint program, GLsizei maxCount, GLsizei * count, GLuint * shaders) { 853 _glptr_glGetAttachedShaders = (PFN_glGetAttachedShaders)GalogenGetProcAddress("glGetAttachedShaders"); 854 _glptr_glGetAttachedShaders(program, maxCount, count, shaders); 855 } 856 PFN_glGetAttachedShaders _glptr_glGetAttachedShaders = _impl_glGetAttachedShaders; 857 858 static void GL_APIENTRY _impl_glGetActiveUniform (GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLint * size, GLenum * type, GLchar * name) { 859 _glptr_glGetActiveUniform = (PFN_glGetActiveUniform)GalogenGetProcAddress("glGetActiveUniform"); 860 _glptr_glGetActiveUniform(program, index, bufSize, length, size, type, name); 861 } 862 PFN_glGetActiveUniform _glptr_glGetActiveUniform = _impl_glGetActiveUniform; 863 864 static void GL_APIENTRY _impl_glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLint * size, GLenum * type, GLchar * name) { 865 _glptr_glGetActiveAttrib = (PFN_glGetActiveAttrib)GalogenGetProcAddress("glGetActiveAttrib"); 866 _glptr_glGetActiveAttrib(program, index, bufSize, length, size, type, name); 867 } 868 PFN_glGetActiveAttrib _glptr_glGetActiveAttrib = _impl_glGetActiveAttrib; 869 870 static void GL_APIENTRY _impl_glVertexAttrib4iv (GLuint index, const GLint * v) { 871 _glptr_glVertexAttrib4iv = (PFN_glVertexAttrib4iv)GalogenGetProcAddress("glVertexAttrib4iv"); 872 _glptr_glVertexAttrib4iv(index, v); 873 } 874 PFN_glVertexAttrib4iv _glptr_glVertexAttrib4iv = _impl_glVertexAttrib4iv; 875 876 static void GL_APIENTRY _impl_glDisableVertexAttribArray (GLuint index) { 877 _glptr_glDisableVertexAttribArray = (PFN_glDisableVertexAttribArray)GalogenGetProcAddress("glDisableVertexAttribArray"); 878 _glptr_glDisableVertexAttribArray(index); 879 } 880 PFN_glDisableVertexAttribArray _glptr_glDisableVertexAttribArray = _impl_glDisableVertexAttribArray; 881 882 static void GL_APIENTRY _impl_glDeleteShader (GLuint shader) { 883 _glptr_glDeleteShader = (PFN_glDeleteShader)GalogenGetProcAddress("glDeleteShader"); 884 _glptr_glDeleteShader(shader); 885 } 886 PFN_glDeleteShader _glptr_glDeleteShader = _impl_glDeleteShader; 887 888 static void GL_APIENTRY _impl_glDeleteProgram (GLuint program) { 889 _glptr_glDeleteProgram = (PFN_glDeleteProgram)GalogenGetProcAddress("glDeleteProgram"); 890 _glptr_glDeleteProgram(program); 891 } 892 PFN_glDeleteProgram _glptr_glDeleteProgram = _impl_glDeleteProgram; 893 894 static void GL_APIENTRY _impl_glGetBooleani_v (GLenum target, GLuint index, GLboolean * data) { 895 _glptr_glGetBooleani_v = (PFN_glGetBooleani_v)GalogenGetProcAddress("glGetBooleani_v"); 896 _glptr_glGetBooleani_v(target, index, data); 897 } 898 PFN_glGetBooleani_v _glptr_glGetBooleani_v = _impl_glGetBooleani_v; 899 900 static void GL_APIENTRY _impl_glCompileShader (GLuint shader) { 901 _glptr_glCompileShader = (PFN_glCompileShader)GalogenGetProcAddress("glCompileShader"); 902 _glptr_glCompileShader(shader); 903 } 904 PFN_glCompileShader _glptr_glCompileShader = _impl_glCompileShader; 905 906 static void GL_APIENTRY _impl_glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask) { 907 _glptr_glStencilFuncSeparate = (PFN_glStencilFuncSeparate)GalogenGetProcAddress("glStencilFuncSeparate"); 908 _glptr_glStencilFuncSeparate(face, func, ref, mask); 909 } 910 PFN_glStencilFuncSeparate _glptr_glStencilFuncSeparate = _impl_glStencilFuncSeparate; 911 912 static void GL_APIENTRY _impl_glStencilOpSeparate (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass) { 913 _glptr_glStencilOpSeparate = (PFN_glStencilOpSeparate)GalogenGetProcAddress("glStencilOpSeparate"); 914 _glptr_glStencilOpSeparate(face, sfail, dpfail, dppass); 915 } 916 PFN_glStencilOpSeparate _glptr_glStencilOpSeparate = _impl_glStencilOpSeparate; 917 918 static void GL_APIENTRY _impl_glRenderbufferStorageMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) { 919 _glptr_glRenderbufferStorageMultisample = (PFN_glRenderbufferStorageMultisample)GalogenGetProcAddress("glRenderbufferStorageMultisample"); 920 _glptr_glRenderbufferStorageMultisample(target, samples, internalformat, width, height); 921 } 922 PFN_glRenderbufferStorageMultisample _glptr_glRenderbufferStorageMultisample = _impl_glRenderbufferStorageMultisample; 923 924 static void GL_APIENTRY _impl_glDrawBuffers (GLsizei n, const GLenum * bufs) { 925 _glptr_glDrawBuffers = (PFN_glDrawBuffers)GalogenGetProcAddress("glDrawBuffers"); 926 _glptr_glDrawBuffers(n, bufs); 927 } 928 PFN_glDrawBuffers _glptr_glDrawBuffers = _impl_glDrawBuffers; 929 930 static void GL_APIENTRY _impl_glGetBufferParameteriv (GLenum target, GLenum pname, GLint * params) { 931 _glptr_glGetBufferParameteriv = (PFN_glGetBufferParameteriv)GalogenGetProcAddress("glGetBufferParameteriv"); 932 _glptr_glGetBufferParameteriv(target, pname, params); 933 } 934 PFN_glGetBufferParameteriv _glptr_glGetBufferParameteriv = _impl_glGetBufferParameteriv; 935 936 static void GL_APIENTRY _impl_glVertexAttribDivisor (GLuint index, GLuint divisor) { 937 _glptr_glVertexAttribDivisor = (PFN_glVertexAttribDivisor)GalogenGetProcAddress("glVertexAttribDivisor"); 938 _glptr_glVertexAttribDivisor(index, divisor); 939 } 940 PFN_glVertexAttribDivisor _glptr_glVertexAttribDivisor = _impl_glVertexAttribDivisor; 941 942 static GLboolean GL_APIENTRY _impl_glUnmapBuffer (GLenum target) { 943 _glptr_glUnmapBuffer = (PFN_glUnmapBuffer)GalogenGetProcAddress("glUnmapBuffer"); 944 return _glptr_glUnmapBuffer(target); 945 } 946 PFN_glUnmapBuffer _glptr_glUnmapBuffer = _impl_glUnmapBuffer; 947 948 static void GL_APIENTRY _impl_glVertexAttrib4dv (GLuint index, const GLdouble * v) { 949 _glptr_glVertexAttrib4dv = (PFN_glVertexAttrib4dv)GalogenGetProcAddress("glVertexAttrib4dv"); 950 _glptr_glVertexAttrib4dv(index, v); 951 } 952 PFN_glVertexAttrib4dv _glptr_glVertexAttrib4dv = _impl_glVertexAttrib4dv; 953 954 static void * GL_APIENTRY _impl_glMapBuffer (GLenum target, GLenum access) { 955 _glptr_glMapBuffer = (PFN_glMapBuffer)GalogenGetProcAddress("glMapBuffer"); 956 return _glptr_glMapBuffer(target, access); 957 } 958 PFN_glMapBuffer _glptr_glMapBuffer = _impl_glMapBuffer; 959 960 static void GL_APIENTRY _impl_glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const void * data) { 961 _glptr_glBufferSubData = (PFN_glBufferSubData)GalogenGetProcAddress("glBufferSubData"); 962 _glptr_glBufferSubData(target, offset, size, data); 963 } 964 PFN_glBufferSubData _glptr_glBufferSubData = _impl_glBufferSubData; 965 966 static void GL_APIENTRY _impl_glGetQueryObjectuiv (GLuint id, GLenum pname, GLuint * params) { 967 _glptr_glGetQueryObjectuiv = (PFN_glGetQueryObjectuiv)GalogenGetProcAddress("glGetQueryObjectuiv"); 968 _glptr_glGetQueryObjectuiv(id, pname, params); 969 } 970 PFN_glGetQueryObjectuiv _glptr_glGetQueryObjectuiv = _impl_glGetQueryObjectuiv; 971 972 static void GL_APIENTRY _impl_glGetQueryObjectiv (GLuint id, GLenum pname, GLint * params) { 973 _glptr_glGetQueryObjectiv = (PFN_glGetQueryObjectiv)GalogenGetProcAddress("glGetQueryObjectiv"); 974 _glptr_glGetQueryObjectiv(id, pname, params); 975 } 976 PFN_glGetQueryObjectiv _glptr_glGetQueryObjectiv = _impl_glGetQueryObjectiv; 977 978 static GLboolean GL_APIENTRY _impl_glIsQuery (GLuint id) { 979 _glptr_glIsQuery = (PFN_glIsQuery)GalogenGetProcAddress("glIsQuery"); 980 return _glptr_glIsQuery(id); 981 } 982 PFN_glIsQuery _glptr_glIsQuery = _impl_glIsQuery; 983 984 static void GL_APIENTRY _impl_glDeleteQueries (GLsizei n, const GLuint * ids) { 985 _glptr_glDeleteQueries = (PFN_glDeleteQueries)GalogenGetProcAddress("glDeleteQueries"); 986 _glptr_glDeleteQueries(n, ids); 987 } 988 PFN_glDeleteQueries _glptr_glDeleteQueries = _impl_glDeleteQueries; 989 990 static void GL_APIENTRY _impl_glGenQueries (GLsizei n, GLuint * ids) { 991 _glptr_glGenQueries = (PFN_glGenQueries)GalogenGetProcAddress("glGenQueries"); 992 _glptr_glGenQueries(n, ids); 993 } 994 PFN_glGenQueries _glptr_glGenQueries = _impl_glGenQueries; 995 996 static void GL_APIENTRY _impl_glBlendEquation (GLenum mode) { 997 _glptr_glBlendEquation = (PFN_glBlendEquation)GalogenGetProcAddress("glBlendEquation"); 998 _glptr_glBlendEquation(mode); 999 } 1000 PFN_glBlendEquation _glptr_glBlendEquation = _impl_glBlendEquation; 1001 1002 static void GL_APIENTRY _impl_glVertexAttrib3sv (GLuint index, const GLshort * v) { 1003 _glptr_glVertexAttrib3sv = (PFN_glVertexAttrib3sv)GalogenGetProcAddress("glVertexAttrib3sv"); 1004 _glptr_glVertexAttrib3sv(index, v); 1005 } 1006 PFN_glVertexAttrib3sv _glptr_glVertexAttrib3sv = _impl_glVertexAttrib3sv; 1007 1008 static void GL_APIENTRY _impl_glVertexAttribI3ui (GLuint index, GLuint x, GLuint y, GLuint z) { 1009 _glptr_glVertexAttribI3ui = (PFN_glVertexAttribI3ui)GalogenGetProcAddress("glVertexAttribI3ui"); 1010 _glptr_glVertexAttribI3ui(index, x, y, z); 1011 } 1012 PFN_glVertexAttribI3ui _glptr_glVertexAttribI3ui = _impl_glVertexAttribI3ui; 1013 1014 static void GL_APIENTRY _impl_glGenBuffers (GLsizei n, GLuint * buffers) { 1015 _glptr_glGenBuffers = (PFN_glGenBuffers)GalogenGetProcAddress("glGenBuffers"); 1016 _glptr_glGenBuffers(n, buffers); 1017 } 1018 PFN_glGenBuffers _glptr_glGenBuffers = _impl_glGenBuffers; 1019 1020 static GLenum GL_APIENTRY _impl_glCheckFramebufferStatus (GLenum target) { 1021 _glptr_glCheckFramebufferStatus = (PFN_glCheckFramebufferStatus)GalogenGetProcAddress("glCheckFramebufferStatus"); 1022 return _glptr_glCheckFramebufferStatus(target); 1023 } 1024 PFN_glCheckFramebufferStatus _glptr_glCheckFramebufferStatus = _impl_glCheckFramebufferStatus; 1025 1026 static void GL_APIENTRY _impl_glUniform4i (GLint location, GLint v0, GLint v1, GLint v2, GLint v3) { 1027 _glptr_glUniform4i = (PFN_glUniform4i)GalogenGetProcAddress("glUniform4i"); 1028 _glptr_glUniform4i(location, v0, v1, v2, v3); 1029 } 1030 PFN_glUniform4i _glptr_glUniform4i = _impl_glUniform4i; 1031 1032 static void GL_APIENTRY _impl_glPointParameteriv (GLenum pname, const GLint * params) { 1033 _glptr_glPointParameteriv = (PFN_glPointParameteriv)GalogenGetProcAddress("glPointParameteriv"); 1034 _glptr_glPointParameteriv(pname, params); 1035 } 1036 PFN_glPointParameteriv _glptr_glPointParameteriv = _impl_glPointParameteriv; 1037 1038 static void GL_APIENTRY _impl_glVertexAttrib2s (GLuint index, GLshort x, GLshort y) { 1039 _glptr_glVertexAttrib2s = (PFN_glVertexAttrib2s)GalogenGetProcAddress("glVertexAttrib2s"); 1040 _glptr_glVertexAttrib2s(index, x, y); 1041 } 1042 PFN_glVertexAttrib2s _glptr_glVertexAttrib2s = _impl_glVertexAttrib2s; 1043 1044 static void GL_APIENTRY _impl_glFinish () { 1045 _glptr_glFinish = (PFN_glFinish)GalogenGetProcAddress("glFinish"); 1046 _glptr_glFinish(); 1047 } 1048 PFN_glFinish _glptr_glFinish = _impl_glFinish; 1049 1050 static void GL_APIENTRY _impl_glPointParameteri (GLenum pname, GLint param) { 1051 _glptr_glPointParameteri = (PFN_glPointParameteri)GalogenGetProcAddress("glPointParameteri"); 1052 _glptr_glPointParameteri(pname, param); 1053 } 1054 PFN_glPointParameteri _glptr_glPointParameteri = _impl_glPointParameteri; 1055 1056 static void GL_APIENTRY _impl_glMultiDrawArrays (GLenum mode, const GLint * first, const GLsizei * count, GLsizei drawcount) { 1057 _glptr_glMultiDrawArrays = (PFN_glMultiDrawArrays)GalogenGetProcAddress("glMultiDrawArrays"); 1058 _glptr_glMultiDrawArrays(mode, first, count, drawcount); 1059 } 1060 PFN_glMultiDrawArrays _glptr_glMultiDrawArrays = _impl_glMultiDrawArrays; 1061 1062 static void GL_APIENTRY _impl_glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) { 1063 _glptr_glFramebufferRenderbuffer = (PFN_glFramebufferRenderbuffer)GalogenGetProcAddress("glFramebufferRenderbuffer"); 1064 _glptr_glFramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer); 1065 } 1066 PFN_glFramebufferRenderbuffer _glptr_glFramebufferRenderbuffer = _impl_glFramebufferRenderbuffer; 1067 1068 static GLint GL_APIENTRY _impl_glGetFragDataIndex (GLuint program, const GLchar * name) { 1069 _glptr_glGetFragDataIndex = (PFN_glGetFragDataIndex)GalogenGetProcAddress("glGetFragDataIndex"); 1070 return _glptr_glGetFragDataIndex(program, name); 1071 } 1072 PFN_glGetFragDataIndex _glptr_glGetFragDataIndex = _impl_glGetFragDataIndex; 1073 1074 static void GL_APIENTRY _impl_glGetQueryiv (GLenum target, GLenum pname, GLint * params) { 1075 _glptr_glGetQueryiv = (PFN_glGetQueryiv)GalogenGetProcAddress("glGetQueryiv"); 1076 _glptr_glGetQueryiv(target, pname, params); 1077 } 1078 PFN_glGetQueryiv _glptr_glGetQueryiv = _impl_glGetQueryiv; 1079 1080 static void GL_APIENTRY _impl_glGetUniformfv (GLuint program, GLint location, GLfloat * params) { 1081 _glptr_glGetUniformfv = (PFN_glGetUniformfv)GalogenGetProcAddress("glGetUniformfv"); 1082 _glptr_glGetUniformfv(program, location, params); 1083 } 1084 PFN_glGetUniformfv _glptr_glGetUniformfv = _impl_glGetUniformfv; 1085 1086 static void GL_APIENTRY _impl_glVertexAttrib4usv (GLuint index, const GLushort * v) { 1087 _glptr_glVertexAttrib4usv = (PFN_glVertexAttrib4usv)GalogenGetProcAddress("glVertexAttrib4usv"); 1088 _glptr_glVertexAttrib4usv(index, v); 1089 } 1090 PFN_glVertexAttrib4usv _glptr_glVertexAttrib4usv = _impl_glVertexAttrib4usv; 1091 1092 static void GL_APIENTRY _impl_glDeleteSync (GLsync sync) { 1093 _glptr_glDeleteSync = (PFN_glDeleteSync)GalogenGetProcAddress("glDeleteSync"); 1094 _glptr_glDeleteSync(sync); 1095 } 1096 PFN_glDeleteSync _glptr_glDeleteSync = _impl_glDeleteSync; 1097 1098 static void GL_APIENTRY _impl_glGetCompressedTexImage (GLenum target, GLint level, void * img) { 1099 _glptr_glGetCompressedTexImage = (PFN_glGetCompressedTexImage)GalogenGetProcAddress("glGetCompressedTexImage"); 1100 _glptr_glGetCompressedTexImage(target, level, img); 1101 } 1102 PFN_glGetCompressedTexImage _glptr_glGetCompressedTexImage = _impl_glGetCompressedTexImage; 1103 1104 static void GL_APIENTRY _impl_glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void * data) { 1105 _glptr_glCompressedTexSubImage2D = (PFN_glCompressedTexSubImage2D)GalogenGetProcAddress("glCompressedTexSubImage2D"); 1106 _glptr_glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data); 1107 } 1108 PFN_glCompressedTexSubImage2D _glptr_glCompressedTexSubImage2D = _impl_glCompressedTexSubImage2D; 1109 1110 static void GL_APIENTRY _impl_glUniform4ui (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3) { 1111 _glptr_glUniform4ui = (PFN_glUniform4ui)GalogenGetProcAddress("glUniform4ui"); 1112 _glptr_glUniform4ui(location, v0, v1, v2, v3); 1113 } 1114 PFN_glUniform4ui _glptr_glUniform4ui = _impl_glUniform4ui; 1115 1116 static void GL_APIENTRY _impl_glVertexAttribI4usv (GLuint index, const GLushort * v) { 1117 _glptr_glVertexAttribI4usv = (PFN_glVertexAttribI4usv)GalogenGetProcAddress("glVertexAttribI4usv"); 1118 _glptr_glVertexAttribI4usv(index, v); 1119 } 1120 PFN_glVertexAttribI4usv _glptr_glVertexAttribI4usv = _impl_glVertexAttribI4usv; 1121 1122 static void GL_APIENTRY _impl_glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void * data) { 1123 _glptr_glCompressedTexImage2D = (PFN_glCompressedTexImage2D)GalogenGetProcAddress("glCompressedTexImage2D"); 1124 _glptr_glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data); 1125 } 1126 PFN_glCompressedTexImage2D _glptr_glCompressedTexImage2D = _impl_glCompressedTexImage2D; 1127 1128 static void GL_APIENTRY _impl_glCompressedTexImage3D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void * data) { 1129 _glptr_glCompressedTexImage3D = (PFN_glCompressedTexImage3D)GalogenGetProcAddress("glCompressedTexImage3D"); 1130 _glptr_glCompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, data); 1131 } 1132 PFN_glCompressedTexImage3D _glptr_glCompressedTexImage3D = _impl_glCompressedTexImage3D; 1133 1134 static void GL_APIENTRY _impl_glSampleCoverage (GLfloat value, GLboolean invert) { 1135 _glptr_glSampleCoverage = (PFN_glSampleCoverage)GalogenGetProcAddress("glSampleCoverage"); 1136 _glptr_glSampleCoverage(value, invert); 1137 } 1138 PFN_glSampleCoverage _glptr_glSampleCoverage = _impl_glSampleCoverage; 1139 1140 static void GL_APIENTRY _impl_glActiveTexture (GLenum texture) { 1141 _glptr_glActiveTexture = (PFN_glActiveTexture)GalogenGetProcAddress("glActiveTexture"); 1142 _glptr_glActiveTexture(texture); 1143 } 1144 PFN_glActiveTexture _glptr_glActiveTexture = _impl_glActiveTexture; 1145 1146 static void GL_APIENTRY _impl_glCopyTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) { 1147 _glptr_glCopyTexSubImage3D = (PFN_glCopyTexSubImage3D)GalogenGetProcAddress("glCopyTexSubImage3D"); 1148 _glptr_glCopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height); 1149 } 1150 PFN_glCopyTexSubImage3D _glptr_glCopyTexSubImage3D = _impl_glCopyTexSubImage3D; 1151 1152 static void GL_APIENTRY _impl_glCompressedTexImage1D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void * data) { 1153 _glptr_glCompressedTexImage1D = (PFN_glCompressedTexImage1D)GalogenGetProcAddress("glCompressedTexImage1D"); 1154 _glptr_glCompressedTexImage1D(target, level, internalformat, width, border, imageSize, data); 1155 } 1156 PFN_glCompressedTexImage1D _glptr_glCompressedTexImage1D = _impl_glCompressedTexImage1D; 1157 1158 static void GL_APIENTRY _impl_glTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void * pixels) { 1159 _glptr_glTexSubImage3D = (PFN_glTexSubImage3D)GalogenGetProcAddress("glTexSubImage3D"); 1160 _glptr_glTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); 1161 } 1162 PFN_glTexSubImage3D _glptr_glTexSubImage3D = _impl_glTexSubImage3D; 1163 1164 static void GL_APIENTRY _impl_glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { 1165 _glptr_glUniformMatrix4fv = (PFN_glUniformMatrix4fv)GalogenGetProcAddress("glUniformMatrix4fv"); 1166 _glptr_glUniformMatrix4fv(location, count, transpose, value); 1167 } 1168 PFN_glUniformMatrix4fv _glptr_glUniformMatrix4fv = _impl_glUniformMatrix4fv; 1169 1170 static const GLubyte * GL_APIENTRY _impl_glGetString (GLenum name) { 1171 _glptr_glGetString = (PFN_glGetString)GalogenGetProcAddress("glGetString"); 1172 return _glptr_glGetString(name); 1173 } 1174 PFN_glGetString _glptr_glGetString = _impl_glGetString; 1175 1176 static void GL_APIENTRY _impl_glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height) { 1177 _glptr_glRenderbufferStorage = (PFN_glRenderbufferStorage)GalogenGetProcAddress("glRenderbufferStorage"); 1178 _glptr_glRenderbufferStorage(target, internalformat, width, height); 1179 } 1180 PFN_glRenderbufferStorage _glptr_glRenderbufferStorage = _impl_glRenderbufferStorage; 1181 1182 static GLboolean GL_APIENTRY _impl_glIsTexture (GLuint texture) { 1183 _glptr_glIsTexture = (PFN_glIsTexture)GalogenGetProcAddress("glIsTexture"); 1184 return _glptr_glIsTexture(texture); 1185 } 1186 PFN_glIsTexture _glptr_glIsTexture = _impl_glIsTexture; 1187 1188 static void GL_APIENTRY _impl_glGenTextures (GLsizei n, GLuint * textures) { 1189 _glptr_glGenTextures = (PFN_glGenTextures)GalogenGetProcAddress("glGenTextures"); 1190 _glptr_glGenTextures(n, textures); 1191 } 1192 PFN_glGenTextures _glptr_glGenTextures = _impl_glGenTextures; 1193 1194 static void GL_APIENTRY _impl_glVertexAttribP3ui (GLuint index, GLenum type, GLboolean normalized, GLuint value) { 1195 _glptr_glVertexAttribP3ui = (PFN_glVertexAttribP3ui)GalogenGetProcAddress("glVertexAttribP3ui"); 1196 _glptr_glVertexAttribP3ui(index, type, normalized, value); 1197 } 1198 PFN_glVertexAttribP3ui _glptr_glVertexAttribP3ui = _impl_glVertexAttribP3ui; 1199 1200 static void GL_APIENTRY _impl_glTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void * pixels) { 1201 _glptr_glTexSubImage1D = (PFN_glTexSubImage1D)GalogenGetProcAddress("glTexSubImage1D"); 1202 _glptr_glTexSubImage1D(target, level, xoffset, width, format, type, pixels); 1203 } 1204 PFN_glTexSubImage1D _glptr_glTexSubImage1D = _impl_glTexSubImage1D; 1205 1206 static GLenum GL_APIENTRY _impl_glClientWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout) { 1207 _glptr_glClientWaitSync = (PFN_glClientWaitSync)GalogenGetProcAddress("glClientWaitSync"); 1208 return _glptr_glClientWaitSync(sync, flags, timeout); 1209 } 1210 PFN_glClientWaitSync _glptr_glClientWaitSync = _impl_glClientWaitSync; 1211 1212 static void GL_APIENTRY _impl_glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) { 1213 _glptr_glCopyTexSubImage2D = (PFN_glCopyTexSubImage2D)GalogenGetProcAddress("glCopyTexSubImage2D"); 1214 _glptr_glCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height); 1215 } 1216 PFN_glCopyTexSubImage2D _glptr_glCopyTexSubImage2D = _impl_glCopyTexSubImage2D; 1217 1218 static void GL_APIENTRY _impl_glCopyTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width) { 1219 _glptr_glCopyTexSubImage1D = (PFN_glCopyTexSubImage1D)GalogenGetProcAddress("glCopyTexSubImage1D"); 1220 _glptr_glCopyTexSubImage1D(target, level, xoffset, x, y, width); 1221 } 1222 PFN_glCopyTexSubImage1D _glptr_glCopyTexSubImage1D = _impl_glCopyTexSubImage1D; 1223 1224 static void GL_APIENTRY _impl_glCopyTexImage1D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border) { 1225 _glptr_glCopyTexImage1D = (PFN_glCopyTexImage1D)GalogenGetProcAddress("glCopyTexImage1D"); 1226 _glptr_glCopyTexImage1D(target, level, internalformat, x, y, width, border); 1227 } 1228 PFN_glCopyTexImage1D _glptr_glCopyTexImage1D = _impl_glCopyTexImage1D; 1229 1230 static void GL_APIENTRY _impl_glPolygonOffset (GLfloat factor, GLfloat units) { 1231 _glptr_glPolygonOffset = (PFN_glPolygonOffset)GalogenGetProcAddress("glPolygonOffset"); 1232 _glptr_glPolygonOffset(factor, units); 1233 } 1234 PFN_glPolygonOffset _glptr_glPolygonOffset = _impl_glPolygonOffset; 1235 1236 static void GL_APIENTRY _impl_glTexImage2DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations) { 1237 _glptr_glTexImage2DMultisample = (PFN_glTexImage2DMultisample)GalogenGetProcAddress("glTexImage2DMultisample"); 1238 _glptr_glTexImage2DMultisample(target, samples, internalformat, width, height, fixedsamplelocations); 1239 } 1240 PFN_glTexImage2DMultisample _glptr_glTexImage2DMultisample = _impl_glTexImage2DMultisample; 1241 1242 static void GL_APIENTRY _impl_glDrawElements (GLenum mode, GLsizei count, GLenum type, const void * indices) { 1243 _glptr_glDrawElements = (PFN_glDrawElements)GalogenGetProcAddress("glDrawElements"); 1244 _glptr_glDrawElements(mode, count, type, indices); 1245 } 1246 PFN_glDrawElements _glptr_glDrawElements = _impl_glDrawElements; 1247 1248 static void GL_APIENTRY _impl_glEndConditionalRender () { 1249 _glptr_glEndConditionalRender = (PFN_glEndConditionalRender)GalogenGetProcAddress("glEndConditionalRender"); 1250 _glptr_glEndConditionalRender(); 1251 } 1252 PFN_glEndConditionalRender _glptr_glEndConditionalRender = _impl_glEndConditionalRender; 1253 1254 static void GL_APIENTRY _impl_glGetTransformFeedbackVarying (GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLsizei * size, GLenum * type, GLchar * name) { 1255 _glptr_glGetTransformFeedbackVarying = (PFN_glGetTransformFeedbackVarying)GalogenGetProcAddress("glGetTransformFeedbackVarying"); 1256 _glptr_glGetTransformFeedbackVarying(program, index, bufSize, length, size, type, name); 1257 } 1258 PFN_glGetTransformFeedbackVarying _glptr_glGetTransformFeedbackVarying = _impl_glGetTransformFeedbackVarying; 1259 1260 static void GL_APIENTRY _impl_glTexParameteriv (GLenum target, GLenum pname, const GLint * params) { 1261 _glptr_glTexParameteriv = (PFN_glTexParameteriv)GalogenGetProcAddress("glTexParameteriv"); 1262 _glptr_glTexParameteriv(target, pname, params); 1263 } 1264 PFN_glTexParameteriv _glptr_glTexParameteriv = _impl_glTexParameteriv; 1265 1266 static void GL_APIENTRY _impl_glDeleteFramebuffers (GLsizei n, const GLuint * framebuffers) { 1267 _glptr_glDeleteFramebuffers = (PFN_glDeleteFramebuffers)GalogenGetProcAddress("glDeleteFramebuffers"); 1268 _glptr_glDeleteFramebuffers(n, framebuffers); 1269 } 1270 PFN_glDeleteFramebuffers _glptr_glDeleteFramebuffers = _impl_glDeleteFramebuffers; 1271 1272 static void GL_APIENTRY _impl_glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha) { 1273 _glptr_glBlendEquationSeparate = (PFN_glBlendEquationSeparate)GalogenGetProcAddress("glBlendEquationSeparate"); 1274 _glptr_glBlendEquationSeparate(modeRGB, modeAlpha); 1275 } 1276 PFN_glBlendEquationSeparate _glptr_glBlendEquationSeparate = _impl_glBlendEquationSeparate; 1277 1278 static void GL_APIENTRY _impl_glDeleteTextures (GLsizei n, const GLuint * textures) { 1279 _glptr_glDeleteTextures = (PFN_glDeleteTextures)GalogenGetProcAddress("glDeleteTextures"); 1280 _glptr_glDeleteTextures(n, textures); 1281 } 1282 PFN_glDeleteTextures _glptr_glDeleteTextures = _impl_glDeleteTextures; 1283 1284 static void GL_APIENTRY _impl_glGetProgramiv (GLuint program, GLenum pname, GLint * params) { 1285 _glptr_glGetProgramiv = (PFN_glGetProgramiv)GalogenGetProcAddress("glGetProgramiv"); 1286 _glptr_glGetProgramiv(program, pname, params); 1287 } 1288 PFN_glGetProgramiv _glptr_glGetProgramiv = _impl_glGetProgramiv; 1289 1290 static void GL_APIENTRY _impl_glUniform1uiv (GLint location, GLsizei count, const GLuint * value) { 1291 _glptr_glUniform1uiv = (PFN_glUniform1uiv)GalogenGetProcAddress("glUniform1uiv"); 1292 _glptr_glUniform1uiv(location, count, value); 1293 } 1294 PFN_glUniform1uiv _glptr_glUniform1uiv = _impl_glUniform1uiv; 1295 1296 static void GL_APIENTRY _impl_glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) { 1297 _glptr_glCopyTexImage2D = (PFN_glCopyTexImage2D)GalogenGetProcAddress("glCopyTexImage2D"); 1298 _glptr_glCopyTexImage2D(target, level, internalformat, x, y, width, height, border); 1299 } 1300 PFN_glCopyTexImage2D _glptr_glCopyTexImage2D = _impl_glCopyTexImage2D; 1301 1302 static void GL_APIENTRY _impl_glGetTexLevelParameterfv (GLenum target, GLint level, GLenum pname, GLfloat * params) { 1303 _glptr_glGetTexLevelParameterfv = (PFN_glGetTexLevelParameterfv)GalogenGetProcAddress("glGetTexLevelParameterfv"); 1304 _glptr_glGetTexLevelParameterfv(target, level, pname, params); 1305 } 1306 PFN_glGetTexLevelParameterfv _glptr_glGetTexLevelParameterfv = _impl_glGetTexLevelParameterfv; 1307 1308 static void GL_APIENTRY _impl_glSampleMaski (GLuint maskNumber, GLbitfield mask) { 1309 _glptr_glSampleMaski = (PFN_glSampleMaski)GalogenGetProcAddress("glSampleMaski"); 1310 _glptr_glSampleMaski(maskNumber, mask); 1311 } 1312 PFN_glSampleMaski _glptr_glSampleMaski = _impl_glSampleMaski; 1313 1314 static void GL_APIENTRY _impl_glBindTexture (GLenum target, GLuint texture) { 1315 _glptr_glBindTexture = (PFN_glBindTexture)GalogenGetProcAddress("glBindTexture"); 1316 _glptr_glBindTexture(target, texture); 1317 } 1318 PFN_glBindTexture _glptr_glBindTexture = _impl_glBindTexture; 1319 1320 static void GL_APIENTRY _impl_glGetActiveUniformBlockiv (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint * params) { 1321 _glptr_glGetActiveUniformBlockiv = (PFN_glGetActiveUniformBlockiv)GalogenGetProcAddress("glGetActiveUniformBlockiv"); 1322 _glptr_glGetActiveUniformBlockiv(program, uniformBlockIndex, pname, params); 1323 } 1324 PFN_glGetActiveUniformBlockiv _glptr_glGetActiveUniformBlockiv = _impl_glGetActiveUniformBlockiv; 1325 1326 static void GL_APIENTRY _impl_glGetUniformuiv (GLuint program, GLint location, GLuint * params) { 1327 _glptr_glGetUniformuiv = (PFN_glGetUniformuiv)GalogenGetProcAddress("glGetUniformuiv"); 1328 _glptr_glGetUniformuiv(program, location, params); 1329 } 1330 PFN_glGetUniformuiv _glptr_glGetUniformuiv = _impl_glGetUniformuiv; 1331 1332 static void GL_APIENTRY _impl_glVertexAttrib4Nbv (GLuint index, const GLbyte * v) { 1333 _glptr_glVertexAttrib4Nbv = (PFN_glVertexAttrib4Nbv)GalogenGetProcAddress("glVertexAttrib4Nbv"); 1334 _glptr_glVertexAttrib4Nbv(index, v); 1335 } 1336 PFN_glVertexAttrib4Nbv _glptr_glVertexAttrib4Nbv = _impl_glVertexAttrib4Nbv; 1337 1338 static void GL_APIENTRY _impl_glTexImage3D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void * pixels) { 1339 _glptr_glTexImage3D = (PFN_glTexImage3D)GalogenGetProcAddress("glTexImage3D"); 1340 _glptr_glTexImage3D(target, level, internalformat, width, height, depth, border, format, type, pixels); 1341 } 1342 PFN_glTexImage3D _glptr_glTexImage3D = _impl_glTexImage3D; 1343 1344 static void GL_APIENTRY _impl_glQueryCounter (GLuint id, GLenum target) { 1345 _glptr_glQueryCounter = (PFN_glQueryCounter)GalogenGetProcAddress("glQueryCounter"); 1346 _glptr_glQueryCounter(id, target); 1347 } 1348 PFN_glQueryCounter _glptr_glQueryCounter = _impl_glQueryCounter; 1349 1350 static void GL_APIENTRY _impl_glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) { 1351 _glptr_glVertexAttrib4f = (PFN_glVertexAttrib4f)GalogenGetProcAddress("glVertexAttrib4f"); 1352 _glptr_glVertexAttrib4f(index, x, y, z, w); 1353 } 1354 PFN_glVertexAttrib4f _glptr_glVertexAttrib4f = _impl_glVertexAttrib4f; 1355 1356 static void GL_APIENTRY _impl_glUniform2ui (GLint location, GLuint v0, GLuint v1) { 1357 _glptr_glUniform2ui = (PFN_glUniform2ui)GalogenGetProcAddress("glUniform2ui"); 1358 _glptr_glUniform2ui(location, v0, v1); 1359 } 1360 PFN_glUniform2ui _glptr_glUniform2ui = _impl_glUniform2ui; 1361 1362 static void GL_APIENTRY _impl_glGetTexImage (GLenum target, GLint level, GLenum format, GLenum type, void * pixels) { 1363 _glptr_glGetTexImage = (PFN_glGetTexImage)GalogenGetProcAddress("glGetTexImage"); 1364 _glptr_glGetTexImage(target, level, format, type, pixels); 1365 } 1366 PFN_glGetTexImage _glptr_glGetTexImage = _impl_glGetTexImage; 1367 1368 static void GL_APIENTRY _impl_glGetTexParameterIuiv (GLenum target, GLenum pname, GLuint * params) { 1369 _glptr_glGetTexParameterIuiv = (PFN_glGetTexParameterIuiv)GalogenGetProcAddress("glGetTexParameterIuiv"); 1370 _glptr_glGetTexParameterIuiv(target, pname, params); 1371 } 1372 PFN_glGetTexParameterIuiv _glptr_glGetTexParameterIuiv = _impl_glGetTexParameterIuiv; 1373 1374 static void GL_APIENTRY _impl_glVertexAttrib4bv (GLuint index, const GLbyte * v) { 1375 _glptr_glVertexAttrib4bv = (PFN_glVertexAttrib4bv)GalogenGetProcAddress("glVertexAttrib4bv"); 1376 _glptr_glVertexAttrib4bv(index, v); 1377 } 1378 PFN_glVertexAttrib4bv _glptr_glVertexAttrib4bv = _impl_glVertexAttrib4bv; 1379 1380 static void GL_APIENTRY _impl_glUniform2uiv (GLint location, GLsizei count, const GLuint * value) { 1381 _glptr_glUniform2uiv = (PFN_glUniform2uiv)GalogenGetProcAddress("glUniform2uiv"); 1382 _glptr_glUniform2uiv(location, count, value); 1383 } 1384 PFN_glUniform2uiv _glptr_glUniform2uiv = _impl_glUniform2uiv; 1385 1386 static void GL_APIENTRY _impl_glGetShaderSource (GLuint shader, GLsizei bufSize, GLsizei * length, GLchar * source) { 1387 _glptr_glGetShaderSource = (PFN_glGetShaderSource)GalogenGetProcAddress("glGetShaderSource"); 1388 _glptr_glGetShaderSource(shader, bufSize, length, source); 1389 } 1390 PFN_glGetShaderSource _glptr_glGetShaderSource = _impl_glGetShaderSource; 1391 1392 static GLboolean GL_APIENTRY _impl_glIsBuffer (GLuint buffer) { 1393 _glptr_glIsBuffer = (PFN_glIsBuffer)GalogenGetProcAddress("glIsBuffer"); 1394 return _glptr_glIsBuffer(buffer); 1395 } 1396 PFN_glIsBuffer _glptr_glIsBuffer = _impl_glIsBuffer; 1397 1398 static void GL_APIENTRY _impl_glGetBufferPointerv (GLenum target, GLenum pname, void ** params) { 1399 _glptr_glGetBufferPointerv = (PFN_glGetBufferPointerv)GalogenGetProcAddress("glGetBufferPointerv"); 1400 _glptr_glGetBufferPointerv(target, pname, params); 1401 } 1402 PFN_glGetBufferPointerv _glptr_glGetBufferPointerv = _impl_glGetBufferPointerv; 1403 1404 static void GL_APIENTRY _impl_glPolygonMode (GLenum face, GLenum mode) { 1405 _glptr_glPolygonMode = (PFN_glPolygonMode)GalogenGetProcAddress("glPolygonMode"); 1406 _glptr_glPolygonMode(face, mode); 1407 } 1408 PFN_glPolygonMode _glptr_glPolygonMode = _impl_glPolygonMode; 1409 1410 static void GL_APIENTRY _impl_glBindAttribLocation (GLuint program, GLuint index, const GLchar * name) { 1411 _glptr_glBindAttribLocation = (PFN_glBindAttribLocation)GalogenGetProcAddress("glBindAttribLocation"); 1412 _glptr_glBindAttribLocation(program, index, name); 1413 } 1414 PFN_glBindAttribLocation _glptr_glBindAttribLocation = _impl_glBindAttribLocation; 1415 1416 static void GL_APIENTRY _impl_glDeleteSamplers (GLsizei count, const GLuint * samplers) { 1417 _glptr_glDeleteSamplers = (PFN_glDeleteSamplers)GalogenGetProcAddress("glDeleteSamplers"); 1418 _glptr_glDeleteSamplers(count, samplers); 1419 } 1420 PFN_glDeleteSamplers _glptr_glDeleteSamplers = _impl_glDeleteSamplers; 1421 1422 static void GL_APIENTRY _impl_glUniform2f (GLint location, GLfloat v0, GLfloat v1) { 1423 _glptr_glUniform2f = (PFN_glUniform2f)GalogenGetProcAddress("glUniform2f"); 1424 _glptr_glUniform2f(location, v0, v1); 1425 } 1426 PFN_glUniform2f _glptr_glUniform2f = _impl_glUniform2f; 1427 1428 static void GL_APIENTRY _impl_glPixelStoref (GLenum pname, GLfloat param) { 1429 _glptr_glPixelStoref = (PFN_glPixelStoref)GalogenGetProcAddress("glPixelStoref"); 1430 _glptr_glPixelStoref(pname, param); 1431 } 1432 PFN_glPixelStoref _glptr_glPixelStoref = _impl_glPixelStoref; 1433 1434 static void GL_APIENTRY _impl_glLogicOp (GLenum opcode) { 1435 _glptr_glLogicOp = (PFN_glLogicOp)GalogenGetProcAddress("glLogicOp"); 1436 _glptr_glLogicOp(opcode); 1437 } 1438 PFN_glLogicOp _glptr_glLogicOp = _impl_glLogicOp; 1439 1440 static GLuint GL_APIENTRY _impl_glCreateShader (GLenum type) { 1441 _glptr_glCreateShader = (PFN_glCreateShader)GalogenGetProcAddress("glCreateShader"); 1442 return _glptr_glCreateShader(type); 1443 } 1444 PFN_glCreateShader _glptr_glCreateShader = _impl_glCreateShader; 1445 1446 static void GL_APIENTRY _impl_glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * pixels) { 1447 _glptr_glTexSubImage2D = (PFN_glTexSubImage2D)GalogenGetProcAddress("glTexSubImage2D"); 1448 _glptr_glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels); 1449 } 1450 PFN_glTexSubImage2D _glptr_glTexSubImage2D = _impl_glTexSubImage2D; 1451 1452 static void GL_APIENTRY _impl_glClearDepth (GLdouble depth) { 1453 _glptr_glClearDepth = (PFN_glClearDepth)GalogenGetProcAddress("glClearDepth"); 1454 _glptr_glClearDepth(depth); 1455 } 1456 PFN_glClearDepth _glptr_glClearDepth = _impl_glClearDepth; 1457 1458 static void GL_APIENTRY _impl_glGetBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, void * data) { 1459 _glptr_glGetBufferSubData = (PFN_glGetBufferSubData)GalogenGetProcAddress("glGetBufferSubData"); 1460 _glptr_glGetBufferSubData(target, offset, size, data); 1461 } 1462 PFN_glGetBufferSubData _glptr_glGetBufferSubData = _impl_glGetBufferSubData; 1463 1464 static void GL_APIENTRY _impl_glVertexAttrib4uiv (GLuint index, const GLuint * v) { 1465 _glptr_glVertexAttrib4uiv = (PFN_glVertexAttrib4uiv)GalogenGetProcAddress("glVertexAttrib4uiv"); 1466 _glptr_glVertexAttrib4uiv(index, v); 1467 } 1468 PFN_glVertexAttrib4uiv _glptr_glVertexAttrib4uiv = _impl_glVertexAttrib4uiv; 1469 1470 static void GL_APIENTRY _impl_glCopyBufferSubData (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size) { 1471 _glptr_glCopyBufferSubData = (PFN_glCopyBufferSubData)GalogenGetProcAddress("glCopyBufferSubData"); 1472 _glptr_glCopyBufferSubData(readTarget, writeTarget, readOffset, writeOffset, size); 1473 } 1474 PFN_glCopyBufferSubData _glptr_glCopyBufferSubData = _impl_glCopyBufferSubData; 1475 1476 static void GL_APIENTRY _impl_glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) { 1477 _glptr_glFramebufferTexture2D = (PFN_glFramebufferTexture2D)GalogenGetProcAddress("glFramebufferTexture2D"); 1478 _glptr_glFramebufferTexture2D(target, attachment, textarget, texture, level); 1479 } 1480 PFN_glFramebufferTexture2D _glptr_glFramebufferTexture2D = _impl_glFramebufferTexture2D; 1481 1482 static void GL_APIENTRY _impl_glPointParameterf (GLenum pname, GLfloat param) { 1483 _glptr_glPointParameterf = (PFN_glPointParameterf)GalogenGetProcAddress("glPointParameterf"); 1484 _glptr_glPointParameterf(pname, param); 1485 } 1486 PFN_glPointParameterf _glptr_glPointParameterf = _impl_glPointParameterf; 1487 1488 static void GL_APIENTRY _impl_glDisablei (GLenum target, GLuint index) { 1489 _glptr_glDisablei = (PFN_glDisablei)GalogenGetProcAddress("glDisablei"); 1490 _glptr_glDisablei(target, index); 1491 } 1492 PFN_glDisablei _glptr_glDisablei = _impl_glDisablei; 1493 1494 static void GL_APIENTRY _impl_glUniformMatrix4x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { 1495 _glptr_glUniformMatrix4x2fv = (PFN_glUniformMatrix4x2fv)GalogenGetProcAddress("glUniformMatrix4x2fv"); 1496 _glptr_glUniformMatrix4x2fv(location, count, transpose, value); 1497 } 1498 PFN_glUniformMatrix4x2fv _glptr_glUniformMatrix4x2fv = _impl_glUniformMatrix4x2fv; 1499 1500 static void GL_APIENTRY _impl_glVertexAttrib4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) { 1501 _glptr_glVertexAttrib4d = (PFN_glVertexAttrib4d)GalogenGetProcAddress("glVertexAttrib4d"); 1502 _glptr_glVertexAttrib4d(index, x, y, z, w); 1503 } 1504 PFN_glVertexAttrib4d _glptr_glVertexAttrib4d = _impl_glVertexAttrib4d; 1505 1506 static void GL_APIENTRY _impl_glTexParameterIuiv (GLenum target, GLenum pname, const GLuint * params) { 1507 _glptr_glTexParameterIuiv = (PFN_glTexParameterIuiv)GalogenGetProcAddress("glTexParameterIuiv"); 1508 _glptr_glTexParameterIuiv(target, pname, params); 1509 } 1510 PFN_glTexParameterIuiv _glptr_glTexParameterIuiv = _impl_glTexParameterIuiv; 1511 1512 static void GL_APIENTRY _impl_glGetFloatv (GLenum pname, GLfloat * data) { 1513 _glptr_glGetFloatv = (PFN_glGetFloatv)GalogenGetProcAddress("glGetFloatv"); 1514 _glptr_glGetFloatv(pname, data); 1515 } 1516 PFN_glGetFloatv _glptr_glGetFloatv = _impl_glGetFloatv; 1517 1518 static GLuint GL_APIENTRY _impl_glCreateProgram () { 1519 _glptr_glCreateProgram = (PFN_glCreateProgram)GalogenGetProcAddress("glCreateProgram"); 1520 return _glptr_glCreateProgram(); 1521 } 1522 PFN_glCreateProgram _glptr_glCreateProgram = _impl_glCreateProgram; 1523 1524 static void GL_APIENTRY _impl_glTransformFeedbackVaryings (GLuint program, GLsizei count, const GLchar *const* varyings, GLenum bufferMode) { 1525 _glptr_glTransformFeedbackVaryings = (PFN_glTransformFeedbackVaryings)GalogenGetProcAddress("glTransformFeedbackVaryings"); 1526 _glptr_glTransformFeedbackVaryings(program, count, varyings, bufferMode); 1527 } 1528 PFN_glTransformFeedbackVaryings _glptr_glTransformFeedbackVaryings = _impl_glTransformFeedbackVaryings; 1529 1530 static void GL_APIENTRY _impl_glVertexAttrib1d (GLuint index, GLdouble x) { 1531 _glptr_glVertexAttrib1d = (PFN_glVertexAttrib1d)GalogenGetProcAddress("glVertexAttrib1d"); 1532 _glptr_glVertexAttrib1d(index, x); 1533 } 1534 PFN_glVertexAttrib1d _glptr_glVertexAttrib1d = _impl_glVertexAttrib1d; 1535 1536 static void GL_APIENTRY _impl_glViewport (GLint x, GLint y, GLsizei width, GLsizei height) { 1537 _glptr_glViewport = (PFN_glViewport)GalogenGetProcAddress("glViewport"); 1538 _glptr_glViewport(x, y, width, height); 1539 } 1540 PFN_glViewport _glptr_glViewport = _impl_glViewport; 1541 1542 static void GL_APIENTRY _impl_glDeleteBuffers (GLsizei n, const GLuint * buffers) { 1543 _glptr_glDeleteBuffers = (PFN_glDeleteBuffers)GalogenGetProcAddress("glDeleteBuffers"); 1544 _glptr_glDeleteBuffers(n, buffers); 1545 } 1546 PFN_glDeleteBuffers _glptr_glDeleteBuffers = _impl_glDeleteBuffers; 1547 1548 static void GL_APIENTRY _impl_glFlush () { 1549 _glptr_glFlush = (PFN_glFlush)GalogenGetProcAddress("glFlush"); 1550 _glptr_glFlush(); 1551 } 1552 PFN_glFlush _glptr_glFlush = _impl_glFlush; 1553 1554 static void GL_APIENTRY _impl_glVertexAttribI4sv (GLuint index, const GLshort * v) { 1555 _glptr_glVertexAttribI4sv = (PFN_glVertexAttribI4sv)GalogenGetProcAddress("glVertexAttribI4sv"); 1556 _glptr_glVertexAttribI4sv(index, v); 1557 } 1558 PFN_glVertexAttribI4sv _glptr_glVertexAttribI4sv = _impl_glVertexAttribI4sv; 1559 1560 static void GL_APIENTRY _impl_glDrawArrays (GLenum mode, GLint first, GLsizei count) { 1561 _glptr_glDrawArrays = (PFN_glDrawArrays)GalogenGetProcAddress("glDrawArrays"); 1562 _glptr_glDrawArrays(mode, first, count); 1563 } 1564 PFN_glDrawArrays _glptr_glDrawArrays = _impl_glDrawArrays; 1565 1566 static void GL_APIENTRY _impl_glDrawElementsInstanced (GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount) { 1567 _glptr_glDrawElementsInstanced = (PFN_glDrawElementsInstanced)GalogenGetProcAddress("glDrawElementsInstanced"); 1568 _glptr_glDrawElementsInstanced(mode, count, type, indices, instancecount); 1569 } 1570 PFN_glDrawElementsInstanced _glptr_glDrawElementsInstanced = _impl_glDrawElementsInstanced; 1571 1572 static void GL_APIENTRY _impl_glUniform3iv (GLint location, GLsizei count, const GLint * value) { 1573 _glptr_glUniform3iv = (PFN_glUniform3iv)GalogenGetProcAddress("glUniform3iv"); 1574 _glptr_glUniform3iv(location, count, value); 1575 } 1576 PFN_glUniform3iv _glptr_glUniform3iv = _impl_glUniform3iv; 1577 1578 static void GL_APIENTRY _impl_glVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void * pointer) { 1579 _glptr_glVertexAttribPointer = (PFN_glVertexAttribPointer)GalogenGetProcAddress("glVertexAttribPointer"); 1580 _glptr_glVertexAttribPointer(index, size, type, normalized, stride, pointer); 1581 } 1582 PFN_glVertexAttribPointer _glptr_glVertexAttribPointer = _impl_glVertexAttribPointer; 1583 1584 static void GL_APIENTRY _impl_glGetSynciv (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * values) { 1585 _glptr_glGetSynciv = (PFN_glGetSynciv)GalogenGetProcAddress("glGetSynciv"); 1586 _glptr_glGetSynciv(sync, pname, bufSize, length, values); 1587 } 1588 PFN_glGetSynciv _glptr_glGetSynciv = _impl_glGetSynciv; 1589 1590 static void GL_APIENTRY _impl_glPrimitiveRestartIndex (GLuint index) { 1591 _glptr_glPrimitiveRestartIndex = (PFN_glPrimitiveRestartIndex)GalogenGetProcAddress("glPrimitiveRestartIndex"); 1592 _glptr_glPrimitiveRestartIndex(index); 1593 } 1594 PFN_glPrimitiveRestartIndex _glptr_glPrimitiveRestartIndex = _impl_glPrimitiveRestartIndex; 1595 1596 static void GL_APIENTRY _impl_glUniform1i (GLint location, GLint v0) { 1597 _glptr_glUniform1i = (PFN_glUniform1i)GalogenGetProcAddress("glUniform1i"); 1598 _glptr_glUniform1i(location, v0); 1599 } 1600 PFN_glUniform1i _glptr_glUniform1i = _impl_glUniform1i; 1601 1602 static void GL_APIENTRY _impl_glVertexAttrib1sv (GLuint index, const GLshort * v) { 1603 _glptr_glVertexAttrib1sv = (PFN_glVertexAttrib1sv)GalogenGetProcAddress("glVertexAttrib1sv"); 1604 _glptr_glVertexAttrib1sv(index, v); 1605 } 1606 PFN_glVertexAttrib1sv _glptr_glVertexAttrib1sv = _impl_glVertexAttrib1sv; 1607 1608 static void GL_APIENTRY _impl_glDisable (GLenum cap) { 1609 _glptr_glDisable = (PFN_glDisable)GalogenGetProcAddress("glDisable"); 1610 _glptr_glDisable(cap); 1611 } 1612 PFN_glDisable _glptr_glDisable = _impl_glDisable; 1613 1614 static void GL_APIENTRY _impl_glVertexAttribI4uiv (GLuint index, const GLuint * v) { 1615 _glptr_glVertexAttribI4uiv = (PFN_glVertexAttribI4uiv)GalogenGetProcAddress("glVertexAttribI4uiv"); 1616 _glptr_glVertexAttribI4uiv(index, v); 1617 } 1618 PFN_glVertexAttribI4uiv _glptr_glVertexAttribI4uiv = _impl_glVertexAttribI4uiv; 1619 1620 static void GL_APIENTRY _impl_glEndQuery (GLenum target) { 1621 _glptr_glEndQuery = (PFN_glEndQuery)GalogenGetProcAddress("glEndQuery"); 1622 _glptr_glEndQuery(target); 1623 } 1624 PFN_glEndQuery _glptr_glEndQuery = _impl_glEndQuery; 1625 1626 static void GL_APIENTRY _impl_glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) { 1627 _glptr_glColorMask = (PFN_glColorMask)GalogenGetProcAddress("glColorMask"); 1628 _glptr_glColorMask(red, green, blue, alpha); 1629 } 1630 PFN_glColorMask _glptr_glColorMask = _impl_glColorMask; 1631 1632 static void GL_APIENTRY _impl_glEnablei (GLenum target, GLuint index) { 1633 _glptr_glEnablei = (PFN_glEnablei)GalogenGetProcAddress("glEnablei"); 1634 _glptr_glEnablei(target, index); 1635 } 1636 PFN_glEnablei _glptr_glEnablei = _impl_glEnablei; 1637 1638 static void GL_APIENTRY _impl_glBindBuffer (GLenum target, GLuint buffer) { 1639 _glptr_glBindBuffer = (PFN_glBindBuffer)GalogenGetProcAddress("glBindBuffer"); 1640 _glptr_glBindBuffer(target, buffer); 1641 } 1642 PFN_glBindBuffer _glptr_glBindBuffer = _impl_glBindBuffer; 1643 1644 static void GL_APIENTRY _impl_glGetDoublev (GLenum pname, GLdouble * data) { 1645 _glptr_glGetDoublev = (PFN_glGetDoublev)GalogenGetProcAddress("glGetDoublev"); 1646 _glptr_glGetDoublev(pname, data); 1647 } 1648 PFN_glGetDoublev _glptr_glGetDoublev = _impl_glGetDoublev; 1649 1650 static void GL_APIENTRY _impl_glGetTexParameteriv (GLenum target, GLenum pname, GLint * params) { 1651 _glptr_glGetTexParameteriv = (PFN_glGetTexParameteriv)GalogenGetProcAddress("glGetTexParameteriv"); 1652 _glptr_glGetTexParameteriv(target, pname, params); 1653 } 1654 PFN_glGetTexParameteriv _glptr_glGetTexParameteriv = _impl_glGetTexParameteriv; 1655 1656 static void GL_APIENTRY _impl_glDeleteVertexArrays (GLsizei n, const GLuint * arrays) { 1657 _glptr_glDeleteVertexArrays = (PFN_glDeleteVertexArrays)GalogenGetProcAddress("glDeleteVertexArrays"); 1658 _glptr_glDeleteVertexArrays(n, arrays); 1659 } 1660 PFN_glDeleteVertexArrays _glptr_glDeleteVertexArrays = _impl_glDeleteVertexArrays; 1661 1662 static void GL_APIENTRY _impl_glVertexAttribI2uiv (GLuint index, const GLuint * v) { 1663 _glptr_glVertexAttribI2uiv = (PFN_glVertexAttribI2uiv)GalogenGetProcAddress("glVertexAttribI2uiv"); 1664 _glptr_glVertexAttribI2uiv(index, v); 1665 } 1666 PFN_glVertexAttribI2uiv _glptr_glVertexAttribI2uiv = _impl_glVertexAttribI2uiv; 1667 1668 static void GL_APIENTRY _impl_glDepthMask (GLboolean flag) { 1669 _glptr_glDepthMask = (PFN_glDepthMask)GalogenGetProcAddress("glDepthMask"); 1670 _glptr_glDepthMask(flag); 1671 } 1672 PFN_glDepthMask _glptr_glDepthMask = _impl_glDepthMask; 1673 1674 static void GL_APIENTRY _impl_glGetVertexAttribdv (GLuint index, GLenum pname, GLdouble * params) { 1675 _glptr_glGetVertexAttribdv = (PFN_glGetVertexAttribdv)GalogenGetProcAddress("glGetVertexAttribdv"); 1676 _glptr_glGetVertexAttribdv(index, pname, params); 1677 } 1678 PFN_glGetVertexAttribdv _glptr_glGetVertexAttribdv = _impl_glGetVertexAttribdv; 1679 1680 static void GL_APIENTRY _impl_glDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void * indices) { 1681 _glptr_glDrawRangeElements = (PFN_glDrawRangeElements)GalogenGetProcAddress("glDrawRangeElements"); 1682 _glptr_glDrawRangeElements(mode, start, end, count, type, indices); 1683 } 1684 PFN_glDrawRangeElements _glptr_glDrawRangeElements = _impl_glDrawRangeElements; 1685 1686 static void GL_APIENTRY _impl_glDrawArraysInstanced (GLenum mode, GLint first, GLsizei count, GLsizei instancecount) { 1687 _glptr_glDrawArraysInstanced = (PFN_glDrawArraysInstanced)GalogenGetProcAddress("glDrawArraysInstanced"); 1688 _glptr_glDrawArraysInstanced(mode, first, count, instancecount); 1689 } 1690 PFN_glDrawArraysInstanced _glptr_glDrawArraysInstanced = _impl_glDrawArraysInstanced; 1691 1692 static void GL_APIENTRY _impl_glGetSamplerParameterIiv (GLuint sampler, GLenum pname, GLint * params) { 1693 _glptr_glGetSamplerParameterIiv = (PFN_glGetSamplerParameterIiv)GalogenGetProcAddress("glGetSamplerParameterIiv"); 1694 _glptr_glGetSamplerParameterIiv(sampler, pname, params); 1695 } 1696 PFN_glGetSamplerParameterIiv _glptr_glGetSamplerParameterIiv = _impl_glGetSamplerParameterIiv; 1697 1698 static void GL_APIENTRY _impl_glClearStencil (GLint s) { 1699 _glptr_glClearStencil = (PFN_glClearStencil)GalogenGetProcAddress("glClearStencil"); 1700 _glptr_glClearStencil(s); 1701 } 1702 PFN_glClearStencil _glptr_glClearStencil = _impl_glClearStencil; 1703 1704 static void GL_APIENTRY _impl_glVertexAttribI3iv (GLuint index, const GLint * v) { 1705 _glptr_glVertexAttribI3iv = (PFN_glVertexAttribI3iv)GalogenGetProcAddress("glVertexAttribI3iv"); 1706 _glptr_glVertexAttribI3iv(index, v); 1707 } 1708 PFN_glVertexAttribI3iv _glptr_glVertexAttribI3iv = _impl_glVertexAttribI3iv; 1709 1710 static void GL_APIENTRY _impl_glDrawRangeElementsBaseVertex (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void * indices, GLint basevertex) { 1711 _glptr_glDrawRangeElementsBaseVertex = (PFN_glDrawRangeElementsBaseVertex)GalogenGetProcAddress("glDrawRangeElementsBaseVertex"); 1712 _glptr_glDrawRangeElementsBaseVertex(mode, start, end, count, type, indices, basevertex); 1713 } 1714 PFN_glDrawRangeElementsBaseVertex _glptr_glDrawRangeElementsBaseVertex = _impl_glDrawRangeElementsBaseVertex; 1715 1716 static void GL_APIENTRY _impl_glScissor (GLint x, GLint y, GLsizei width, GLsizei height) { 1717 _glptr_glScissor = (PFN_glScissor)GalogenGetProcAddress("glScissor"); 1718 _glptr_glScissor(x, y, width, height); 1719 } 1720 PFN_glScissor _glptr_glScissor = _impl_glScissor; 1721 1722 static void GL_APIENTRY _impl_glGenerateMipmap (GLenum target) { 1723 _glptr_glGenerateMipmap = (PFN_glGenerateMipmap)GalogenGetProcAddress("glGenerateMipmap"); 1724 _glptr_glGenerateMipmap(target); 1725 } 1726 PFN_glGenerateMipmap _glptr_glGenerateMipmap = _impl_glGenerateMipmap; 1727 1728 static void GL_APIENTRY _impl_glUniform3fv (GLint location, GLsizei count, const GLfloat * value) { 1729 _glptr_glUniform3fv = (PFN_glUniform3fv)GalogenGetProcAddress("glUniform3fv"); 1730 _glptr_glUniform3fv(location, count, value); 1731 } 1732 PFN_glUniform3fv _glptr_glUniform3fv = _impl_glUniform3fv; 1733 1734 static void GL_APIENTRY _impl_glUniform3uiv (GLint location, GLsizei count, const GLuint * value) { 1735 _glptr_glUniform3uiv = (PFN_glUniform3uiv)GalogenGetProcAddress("glUniform3uiv"); 1736 _glptr_glUniform3uiv(location, count, value); 1737 } 1738 PFN_glUniform3uiv _glptr_glUniform3uiv = _impl_glUniform3uiv; 1739 1740 static void GL_APIENTRY _impl_glClearBufferiv (GLenum buffer, GLint drawbuffer, const GLint * value) { 1741 _glptr_glClearBufferiv = (PFN_glClearBufferiv)GalogenGetProcAddress("glClearBufferiv"); 1742 _glptr_glClearBufferiv(buffer, drawbuffer, value); 1743 } 1744 PFN_glClearBufferiv _glptr_glClearBufferiv = _impl_glClearBufferiv; 1745 1746 static void GL_APIENTRY _impl_glVertexAttribI4ubv (GLuint index, const GLubyte * v) { 1747 _glptr_glVertexAttribI4ubv = (PFN_glVertexAttribI4ubv)GalogenGetProcAddress("glVertexAttribI4ubv"); 1748 _glptr_glVertexAttribI4ubv(index, v); 1749 } 1750 PFN_glVertexAttribI4ubv _glptr_glVertexAttribI4ubv = _impl_glVertexAttribI4ubv; 1751 1752 static void GL_APIENTRY _impl_glGetBooleanv (GLenum pname, GLboolean * data) { 1753 _glptr_glGetBooleanv = (PFN_glGetBooleanv)GalogenGetProcAddress("glGetBooleanv"); 1754 _glptr_glGetBooleanv(pname, data); 1755 } 1756 PFN_glGetBooleanv _glptr_glGetBooleanv = _impl_glGetBooleanv; 1757 1758 static void GL_APIENTRY _impl_glValidateProgram (GLuint program) { 1759 _glptr_glValidateProgram = (PFN_glValidateProgram)GalogenGetProcAddress("glValidateProgram"); 1760 _glptr_glValidateProgram(program); 1761 } 1762 PFN_glValidateProgram _glptr_glValidateProgram = _impl_glValidateProgram; 1763 1764 static void GL_APIENTRY _impl_glGenRenderbuffers (GLsizei n, GLuint * renderbuffers) { 1765 _glptr_glGenRenderbuffers = (PFN_glGenRenderbuffers)GalogenGetProcAddress("glGenRenderbuffers"); 1766 _glptr_glGenRenderbuffers(n, renderbuffers); 1767 } 1768 PFN_glGenRenderbuffers _glptr_glGenRenderbuffers = _impl_glGenRenderbuffers; 1769 1770 static void GL_APIENTRY _impl_glUniform2iv (GLint location, GLsizei count, const GLint * value) { 1771 _glptr_glUniform2iv = (PFN_glUniform2iv)GalogenGetProcAddress("glUniform2iv"); 1772 _glptr_glUniform2iv(location, count, value); 1773 } 1774 PFN_glUniform2iv _glptr_glUniform2iv = _impl_glUniform2iv; 1775 1776 static void GL_APIENTRY _impl_glBufferData (GLenum target, GLsizeiptr size, const void * data, GLenum usage) { 1777 _glptr_glBufferData = (PFN_glBufferData)GalogenGetProcAddress("glBufferData"); 1778 _glptr_glBufferData(target, size, data, usage); 1779 } 1780 PFN_glBufferData _glptr_glBufferData = _impl_glBufferData; 1781 1782 static void GL_APIENTRY _impl_glBlendFuncSeparate (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha) { 1783 _glptr_glBlendFuncSeparate = (PFN_glBlendFuncSeparate)GalogenGetProcAddress("glBlendFuncSeparate"); 1784 _glptr_glBlendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha); 1785 } 1786 PFN_glBlendFuncSeparate _glptr_glBlendFuncSeparate = _impl_glBlendFuncSeparate; 1787 1788 static void GL_APIENTRY _impl_glTexParameteri (GLenum target, GLenum pname, GLint param) { 1789 _glptr_glTexParameteri = (PFN_glTexParameteri)GalogenGetProcAddress("glTexParameteri"); 1790 _glptr_glTexParameteri(target, pname, param); 1791 } 1792 PFN_glTexParameteri _glptr_glTexParameteri = _impl_glTexParameteri; 1793 1794 static void GL_APIENTRY _impl_glHint (GLenum target, GLenum mode) { 1795 _glptr_glHint = (PFN_glHint)GalogenGetProcAddress("glHint"); 1796 _glptr_glHint(target, mode); 1797 } 1798 PFN_glHint _glptr_glHint = _impl_glHint; 1799 1800 static void GL_APIENTRY _impl_glVertexAttrib3fv (GLuint index, const GLfloat * v) { 1801 _glptr_glVertexAttrib3fv = (PFN_glVertexAttrib3fv)GalogenGetProcAddress("glVertexAttrib3fv"); 1802 _glptr_glVertexAttrib3fv(index, v); 1803 } 1804 PFN_glVertexAttrib3fv _glptr_glVertexAttrib3fv = _impl_glVertexAttrib3fv; 1805 1806 static void GL_APIENTRY _impl_glGetSamplerParameteriv (GLuint sampler, GLenum pname, GLint * params) { 1807 _glptr_glGetSamplerParameteriv = (PFN_glGetSamplerParameteriv)GalogenGetProcAddress("glGetSamplerParameteriv"); 1808 _glptr_glGetSamplerParameteriv(sampler, pname, params); 1809 } 1810 PFN_glGetSamplerParameteriv _glptr_glGetSamplerParameteriv = _impl_glGetSamplerParameteriv; 1811 1812 static void GL_APIENTRY _impl_glDrawBuffer (GLenum buf) { 1813 _glptr_glDrawBuffer = (PFN_glDrawBuffer)GalogenGetProcAddress("glDrawBuffer"); 1814 _glptr_glDrawBuffer(buf); 1815 } 1816 PFN_glDrawBuffer _glptr_glDrawBuffer = _impl_glDrawBuffer; 1817 1818 static GLboolean GL_APIENTRY _impl_glIsProgram (GLuint program) { 1819 _glptr_glIsProgram = (PFN_glIsProgram)GalogenGetProcAddress("glIsProgram"); 1820 return _glptr_glIsProgram(program); 1821 } 1822 PFN_glIsProgram _glptr_glIsProgram = _impl_glIsProgram; 1823 1824 static void GL_APIENTRY _impl_glGetIntegerv (GLenum pname, GLint * data) { 1825 _glptr_glGetIntegerv = (PFN_glGetIntegerv)GalogenGetProcAddress("glGetIntegerv"); 1826 _glptr_glGetIntegerv(pname, data); 1827 } 1828 PFN_glGetIntegerv _glptr_glGetIntegerv = _impl_glGetIntegerv; 1829 1830 static void GL_APIENTRY _impl_glDrawElementsBaseVertex (GLenum mode, GLsizei count, GLenum type, const void * indices, GLint basevertex) { 1831 _glptr_glDrawElementsBaseVertex = (PFN_glDrawElementsBaseVertex)GalogenGetProcAddress("glDrawElementsBaseVertex"); 1832 _glptr_glDrawElementsBaseVertex(mode, count, type, indices, basevertex); 1833 } 1834 PFN_glDrawElementsBaseVertex _glptr_glDrawElementsBaseVertex = _impl_glDrawElementsBaseVertex; 1835 1836 static void GL_APIENTRY _impl_glEnable (GLenum cap) { 1837 _glptr_glEnable = (PFN_glEnable)GalogenGetProcAddress("glEnable"); 1838 _glptr_glEnable(cap); 1839 } 1840 PFN_glEnable _glptr_glEnable = _impl_glEnable; 1841 1842 static void GL_APIENTRY _impl_glBlitFramebuffer (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) { 1843 _glptr_glBlitFramebuffer = (PFN_glBlitFramebuffer)GalogenGetProcAddress("glBlitFramebuffer"); 1844 _glptr_glBlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); 1845 } 1846 PFN_glBlitFramebuffer _glptr_glBlitFramebuffer = _impl_glBlitFramebuffer; 1847 1848 static void GL_APIENTRY _impl_glBeginQuery (GLenum target, GLuint id) { 1849 _glptr_glBeginQuery = (PFN_glBeginQuery)GalogenGetProcAddress("glBeginQuery"); 1850 _glptr_glBeginQuery(target, id); 1851 } 1852 PFN_glBeginQuery _glptr_glBeginQuery = _impl_glBeginQuery; 1853 1854 static void GL_APIENTRY _impl_glStencilMask (GLuint mask) { 1855 _glptr_glStencilMask = (PFN_glStencilMask)GalogenGetProcAddress("glStencilMask"); 1856 _glptr_glStencilMask(mask); 1857 } 1858 PFN_glStencilMask _glptr_glStencilMask = _impl_glStencilMask; 1859 1860 static void GL_APIENTRY _impl_glAttachShader (GLuint program, GLuint shader) { 1861 _glptr_glAttachShader = (PFN_glAttachShader)GalogenGetProcAddress("glAttachShader"); 1862 _glptr_glAttachShader(program, shader); 1863 } 1864 PFN_glAttachShader _glptr_glAttachShader = _impl_glAttachShader; 1865 1866 static void GL_APIENTRY _impl_glPointSize (GLfloat size) { 1867 _glptr_glPointSize = (PFN_glPointSize)GalogenGetProcAddress("glPointSize"); 1868 _glptr_glPointSize(size); 1869 } 1870 PFN_glPointSize _glptr_glPointSize = _impl_glPointSize; 1871 1872 static void GL_APIENTRY _impl_glMultiDrawElements (GLenum mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei drawcount) { 1873 _glptr_glMultiDrawElements = (PFN_glMultiDrawElements)GalogenGetProcAddress("glMultiDrawElements"); 1874 _glptr_glMultiDrawElements(mode, count, type, indices, drawcount); 1875 } 1876 PFN_glMultiDrawElements _glptr_glMultiDrawElements = _impl_glMultiDrawElements; 1877 1878 static void GL_APIENTRY _impl_glGetTexParameterfv (GLenum target, GLenum pname, GLfloat * params) { 1879 _glptr_glGetTexParameterfv = (PFN_glGetTexParameterfv)GalogenGetProcAddress("glGetTexParameterfv"); 1880 _glptr_glGetTexParameterfv(target, pname, params); 1881 } 1882 PFN_glGetTexParameterfv _glptr_glGetTexParameterfv = _impl_glGetTexParameterfv; 1883 1884 static GLboolean GL_APIENTRY _impl_glIsEnabled (GLenum cap) { 1885 _glptr_glIsEnabled = (PFN_glIsEnabled)GalogenGetProcAddress("glIsEnabled"); 1886 return _glptr_glIsEnabled(cap); 1887 } 1888 PFN_glIsEnabled _glptr_glIsEnabled = _impl_glIsEnabled; 1889 1890 static void GL_APIENTRY _impl_glGetTexLevelParameteriv (GLenum target, GLint level, GLenum pname, GLint * params) { 1891 _glptr_glGetTexLevelParameteriv = (PFN_glGetTexLevelParameteriv)GalogenGetProcAddress("glGetTexLevelParameteriv"); 1892 _glptr_glGetTexLevelParameteriv(target, level, pname, params); 1893 } 1894 PFN_glGetTexLevelParameteriv _glptr_glGetTexLevelParameteriv = _impl_glGetTexLevelParameteriv; 1895 1896 static GLenum GL_APIENTRY _impl_glGetError () { 1897 _glptr_glGetError = (PFN_glGetError)GalogenGetProcAddress("glGetError"); 1898 return _glptr_glGetError(); 1899 } 1900 PFN_glGetError _glptr_glGetError = _impl_glGetError; 1901 1902 static void GL_APIENTRY _impl_glEndTransformFeedback () { 1903 _glptr_glEndTransformFeedback = (PFN_glEndTransformFeedback)GalogenGetProcAddress("glEndTransformFeedback"); 1904 _glptr_glEndTransformFeedback(); 1905 } 1906 PFN_glEndTransformFeedback _glptr_glEndTransformFeedback = _impl_glEndTransformFeedback; 1907 1908 static void GL_APIENTRY _impl_glClearColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) { 1909 _glptr_glClearColor = (PFN_glClearColor)GalogenGetProcAddress("glClearColor"); 1910 _glptr_glClearColor(red, green, blue, alpha); 1911 } 1912 PFN_glClearColor _glptr_glClearColor = _impl_glClearColor; 1913 1914 static void GL_APIENTRY _impl_glBlendColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) { 1915 _glptr_glBlendColor = (PFN_glBlendColor)GalogenGetProcAddress("glBlendColor"); 1916 _glptr_glBlendColor(red, green, blue, alpha); 1917 } 1918 PFN_glBlendColor _glptr_glBlendColor = _impl_glBlendColor; 1919 1920 static void GL_APIENTRY _impl_glVertexAttribI3i (GLuint index, GLint x, GLint y, GLint z) { 1921 _glptr_glVertexAttribI3i = (PFN_glVertexAttribI3i)GalogenGetProcAddress("glVertexAttribI3i"); 1922 _glptr_glVertexAttribI3i(index, x, y, z); 1923 } 1924 PFN_glVertexAttribI3i _glptr_glVertexAttribI3i = _impl_glVertexAttribI3i; 1925 1926 static void GL_APIENTRY _impl_glCompressedTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void * data) { 1927 _glptr_glCompressedTexSubImage3D = (PFN_glCompressedTexSubImage3D)GalogenGetProcAddress("glCompressedTexSubImage3D"); 1928 _glptr_glCompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data); 1929 } 1930 PFN_glCompressedTexSubImage3D _glptr_glCompressedTexSubImage3D = _impl_glCompressedTexSubImage3D; 1931 1932 static void GL_APIENTRY _impl_glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void * pixels) { 1933 _glptr_glReadPixels = (PFN_glReadPixels)GalogenGetProcAddress("glReadPixels"); 1934 _glptr_glReadPixels(x, y, width, height, format, type, pixels); 1935 } 1936 PFN_glReadPixels _glptr_glReadPixels = _impl_glReadPixels; 1937 1938 static void GL_APIENTRY _impl_glTexParameterf (GLenum target, GLenum pname, GLfloat param) { 1939 _glptr_glTexParameterf = (PFN_glTexParameterf)GalogenGetProcAddress("glTexParameterf"); 1940 _glptr_glTexParameterf(target, pname, param); 1941 } 1942 PFN_glTexParameterf _glptr_glTexParameterf = _impl_glTexParameterf; 1943 1944 static void GL_APIENTRY _impl_glSamplerParameterIiv (GLuint sampler, GLenum pname, const GLint * param) { 1945 _glptr_glSamplerParameterIiv = (PFN_glSamplerParameterIiv)GalogenGetProcAddress("glSamplerParameterIiv"); 1946 _glptr_glSamplerParameterIiv(sampler, pname, param); 1947 } 1948 PFN_glSamplerParameterIiv _glptr_glSamplerParameterIiv = _impl_glSamplerParameterIiv; 1949 1950 static void GL_APIENTRY _impl_glPointParameterfv (GLenum pname, const GLfloat * params) { 1951 _glptr_glPointParameterfv = (PFN_glPointParameterfv)GalogenGetProcAddress("glPointParameterfv"); 1952 _glptr_glPointParameterfv(pname, params); 1953 } 1954 PFN_glPointParameterfv _glptr_glPointParameterfv = _impl_glPointParameterfv; 1955 1956 static void GL_APIENTRY _impl_glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei * length, GLchar * infoLog) { 1957 _glptr_glGetShaderInfoLog = (PFN_glGetShaderInfoLog)GalogenGetProcAddress("glGetShaderInfoLog"); 1958 _glptr_glGetShaderInfoLog(shader, bufSize, length, infoLog); 1959 } 1960 PFN_glGetShaderInfoLog _glptr_glGetShaderInfoLog = _impl_glGetShaderInfoLog; 1961 1962 static void GL_APIENTRY _impl_glDepthFunc (GLenum func) { 1963 _glptr_glDepthFunc = (PFN_glDepthFunc)GalogenGetProcAddress("glDepthFunc"); 1964 _glptr_glDepthFunc(func); 1965 } 1966 PFN_glDepthFunc _glptr_glDepthFunc = _impl_glDepthFunc; 1967 1968 static void GL_APIENTRY _impl_glVertexAttribI3uiv (GLuint index, const GLuint * v) { 1969 _glptr_glVertexAttribI3uiv = (PFN_glVertexAttribI3uiv)GalogenGetProcAddress("glVertexAttribI3uiv"); 1970 _glptr_glVertexAttribI3uiv(index, v); 1971 } 1972 PFN_glVertexAttribI3uiv _glptr_glVertexAttribI3uiv = _impl_glVertexAttribI3uiv; 1973 1974 static void GL_APIENTRY _impl_glStencilOp (GLenum fail, GLenum zfail, GLenum zpass) { 1975 _glptr_glStencilOp = (PFN_glStencilOp)GalogenGetProcAddress("glStencilOp"); 1976 _glptr_glStencilOp(fail, zfail, zpass); 1977 } 1978 PFN_glStencilOp _glptr_glStencilOp = _impl_glStencilOp; 1979 1980 static void GL_APIENTRY _impl_glStencilFunc (GLenum func, GLint ref, GLuint mask) { 1981 _glptr_glStencilFunc = (PFN_glStencilFunc)GalogenGetProcAddress("glStencilFunc"); 1982 _glptr_glStencilFunc(func, ref, mask); 1983 } 1984 PFN_glStencilFunc _glptr_glStencilFunc = _impl_glStencilFunc; 1985 1986 static void GL_APIENTRY _impl_glEnableVertexAttribArray (GLuint index) { 1987 _glptr_glEnableVertexAttribArray = (PFN_glEnableVertexAttribArray)GalogenGetProcAddress("glEnableVertexAttribArray"); 1988 _glptr_glEnableVertexAttribArray(index); 1989 } 1990 PFN_glEnableVertexAttribArray _glptr_glEnableVertexAttribArray = _impl_glEnableVertexAttribArray; 1991 1992 static void GL_APIENTRY _impl_glBlendFunc (GLenum sfactor, GLenum dfactor) { 1993 _glptr_glBlendFunc = (PFN_glBlendFunc)GalogenGetProcAddress("glBlendFunc"); 1994 _glptr_glBlendFunc(sfactor, dfactor); 1995 } 1996 PFN_glBlendFunc _glptr_glBlendFunc = _impl_glBlendFunc; 1997 1998 static void GL_APIENTRY _impl_glVertexAttrib4Nub (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w) { 1999 _glptr_glVertexAttrib4Nub = (PFN_glVertexAttrib4Nub)GalogenGetProcAddress("glVertexAttrib4Nub"); 2000 _glptr_glVertexAttrib4Nub(index, x, y, z, w); 2001 } 2002 PFN_glVertexAttrib4Nub _glptr_glVertexAttrib4Nub = _impl_glVertexAttrib4Nub; 2003 2004 static void GL_APIENTRY _impl_glUniform1fv (GLint location, GLsizei count, const GLfloat * value) { 2005 _glptr_glUniform1fv = (PFN_glUniform1fv)GalogenGetProcAddress("glUniform1fv"); 2006 _glptr_glUniform1fv(location, count, value); 2007 } 2008 PFN_glUniform1fv _glptr_glUniform1fv = _impl_glUniform1fv; 2009 2010 static void GL_APIENTRY _impl_glPixelStorei (GLenum pname, GLint param) { 2011 _glptr_glPixelStorei = (PFN_glPixelStorei)GalogenGetProcAddress("glPixelStorei"); 2012 _glptr_glPixelStorei(pname, param); 2013 } 2014 PFN_glPixelStorei _glptr_glPixelStorei = _impl_glPixelStorei; 2015 2016 static void GL_APIENTRY _impl_glLineWidth (GLfloat width) { 2017 _glptr_glLineWidth = (PFN_glLineWidth)GalogenGetProcAddress("glLineWidth"); 2018 _glptr_glLineWidth(width); 2019 } 2020 PFN_glLineWidth _glptr_glLineWidth = _impl_glLineWidth; 2021 2022 static void GL_APIENTRY _impl_glVertexAttribP1ui (GLuint index, GLenum type, GLboolean normalized, GLuint value) { 2023 _glptr_glVertexAttribP1ui = (PFN_glVertexAttribP1ui)GalogenGetProcAddress("glVertexAttribP1ui"); 2024 _glptr_glVertexAttribP1ui(index, type, normalized, value); 2025 } 2026 PFN_glVertexAttribP1ui _glptr_glVertexAttribP1ui = _impl_glVertexAttribP1ui; 2027 2028 static void GL_APIENTRY _impl_glGetUniformiv (GLuint program, GLint location, GLint * params) { 2029 _glptr_glGetUniformiv = (PFN_glGetUniformiv)GalogenGetProcAddress("glGetUniformiv"); 2030 _glptr_glGetUniformiv(program, location, params); 2031 } 2032 PFN_glGetUniformiv _glptr_glGetUniformiv = _impl_glGetUniformiv; 2033 2034 static void GL_APIENTRY _impl_glReadBuffer (GLenum src) { 2035 _glptr_glReadBuffer = (PFN_glReadBuffer)GalogenGetProcAddress("glReadBuffer"); 2036 _glptr_glReadBuffer(src); 2037 } 2038 PFN_glReadBuffer _glptr_glReadBuffer = _impl_glReadBuffer; 2039 2040 static void GL_APIENTRY _impl_glTexImage1D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void * pixels) { 2041 _glptr_glTexImage1D = (PFN_glTexImage1D)GalogenGetProcAddress("glTexImage1D"); 2042 _glptr_glTexImage1D(target, level, internalformat, width, border, format, type, pixels); 2043 } 2044 PFN_glTexImage1D _glptr_glTexImage1D = _impl_glTexImage1D; 2045 2046 static void GL_APIENTRY _impl_glTexParameterfv (GLenum target, GLenum pname, const GLfloat * params) { 2047 _glptr_glTexParameterfv = (PFN_glTexParameterfv)GalogenGetProcAddress("glTexParameterfv"); 2048 _glptr_glTexParameterfv(target, pname, params); 2049 } 2050 PFN_glTexParameterfv _glptr_glTexParameterfv = _impl_glTexParameterfv; 2051 2052 static void GL_APIENTRY _impl_glVertexAttrib3s (GLuint index, GLshort x, GLshort y, GLshort z) { 2053 _glptr_glVertexAttrib3s = (PFN_glVertexAttrib3s)GalogenGetProcAddress("glVertexAttrib3s"); 2054 _glptr_glVertexAttrib3s(index, x, y, z); 2055 } 2056 PFN_glVertexAttrib3s _glptr_glVertexAttrib3s = _impl_glVertexAttrib3s; 2057 2058 static void GL_APIENTRY _impl_glCompressedTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void * data) { 2059 _glptr_glCompressedTexSubImage1D = (PFN_glCompressedTexSubImage1D)GalogenGetProcAddress("glCompressedTexSubImage1D"); 2060 _glptr_glCompressedTexSubImage1D(target, level, xoffset, width, format, imageSize, data); 2061 } 2062 PFN_glCompressedTexSubImage1D _glptr_glCompressedTexSubImage1D = _impl_glCompressedTexSubImage1D; 2063 2064 static void GL_APIENTRY _impl_glClear (GLbitfield mask) { 2065 _glptr_glClear = (PFN_glClear)GalogenGetProcAddress("glClear"); 2066 _glptr_glClear(mask); 2067 } 2068 PFN_glClear _glptr_glClear = _impl_glClear; 2069 2070 static void GL_APIENTRY _impl_glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void * pixels) { 2071 _glptr_glTexImage2D = (PFN_glTexImage2D)GalogenGetProcAddress("glTexImage2D"); 2072 _glptr_glTexImage2D(target, level, internalformat, width, height, border, format, type, pixels); 2073 } 2074 PFN_glTexImage2D _glptr_glTexImage2D = _impl_glTexImage2D; 2075 2076 static void GL_APIENTRY _impl_glVertexAttrib4Niv (GLuint index, const GLint * v) { 2077 _glptr_glVertexAttrib4Niv = (PFN_glVertexAttrib4Niv)GalogenGetProcAddress("glVertexAttrib4Niv"); 2078 _glptr_glVertexAttrib4Niv(index, v); 2079 } 2080 PFN_glVertexAttrib4Niv _glptr_glVertexAttrib4Niv = _impl_glVertexAttrib4Niv; 2081 2082 static void GL_APIENTRY _impl_glGetVertexAttribIuiv (GLuint index, GLenum pname, GLuint * params) { 2083 _glptr_glGetVertexAttribIuiv = (PFN_glGetVertexAttribIuiv)GalogenGetProcAddress("glGetVertexAttribIuiv"); 2084 _glptr_glGetVertexAttribIuiv(index, pname, params); 2085 } 2086 PFN_glGetVertexAttribIuiv _glptr_glGetVertexAttribIuiv = _impl_glGetVertexAttribIuiv; 2087 2088 static void GL_APIENTRY _impl_glStencilMaskSeparate (GLenum face, GLuint mask) { 2089 _glptr_glStencilMaskSeparate = (PFN_glStencilMaskSeparate)GalogenGetProcAddress("glStencilMaskSeparate"); 2090 _glptr_glStencilMaskSeparate(face, mask); 2091 } 2092 PFN_glStencilMaskSeparate _glptr_glStencilMaskSeparate = _impl_glStencilMaskSeparate; 2093 2094 static void GL_APIENTRY _impl_glGenVertexArrays (GLsizei n, GLuint * arrays) { 2095 _glptr_glGenVertexArrays = (PFN_glGenVertexArrays)GalogenGetProcAddress("glGenVertexArrays"); 2096 _glptr_glGenVertexArrays(n, arrays); 2097 } 2098 PFN_glGenVertexArrays _glptr_glGenVertexArrays = _impl_glGenVertexArrays; 2099 2100 static void GL_APIENTRY _impl_glFrontFace (GLenum mode) { 2101 _glptr_glFrontFace = (PFN_glFrontFace)GalogenGetProcAddress("glFrontFace"); 2102 _glptr_glFrontFace(mode); 2103 } 2104 PFN_glFrontFace _glptr_glFrontFace = _impl_glFrontFace; 2105 2106 static void GL_APIENTRY _impl_glDepthRange (GLdouble n, GLdouble f) { 2107 _glptr_glDepthRange = (PFN_glDepthRange)GalogenGetProcAddress("glDepthRange"); 2108 _glptr_glDepthRange(n, f); 2109 } 2110 PFN_glDepthRange _glptr_glDepthRange = _impl_glDepthRange; 2111 2112 static void GL_APIENTRY _impl_glVertexAttrib4s (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w) { 2113 _glptr_glVertexAttrib4s = (PFN_glVertexAttrib4s)GalogenGetProcAddress("glVertexAttrib4s"); 2114 _glptr_glVertexAttrib4s(index, x, y, z, w); 2115 } 2116 PFN_glVertexAttrib4s _glptr_glVertexAttrib4s = _impl_glVertexAttrib4s; 2117 2118 static void GL_APIENTRY _impl_glDetachShader (GLuint program, GLuint shader) { 2119 _glptr_glDetachShader = (PFN_glDetachShader)GalogenGetProcAddress("glDetachShader"); 2120 _glptr_glDetachShader(program, shader); 2121 } 2122 PFN_glDetachShader _glptr_glDetachShader = _impl_glDetachShader; 2123 2124 static void GL_APIENTRY _impl_glCullFace (GLenum mode) { 2125 _glptr_glCullFace = (PFN_glCullFace)GalogenGetProcAddress("glCullFace"); 2126 _glptr_glCullFace(mode); 2127 } 2128 PFN_glCullFace _glptr_glCullFace = _impl_glCullFace; 2129