1 /* WARNING: This is auto-generated file. Do not modify, since changes will
2 * be lost! Modify the generating script instead.
4 * Generated from Khronos GL API description (gl.xml) revision 32093.
7 void glwActiveShaderProgram (GLuint pipeline, GLuint program)
9 const glw::Functions* gl = glw::getCurrentThreadFunctions();
12 gl->activeShaderProgram(pipeline, program);
15 void glwActiveTexture (GLenum texture)
17 const glw::Functions* gl = glw::getCurrentThreadFunctions();
20 gl->activeTexture(texture);
23 void glwAttachShader (GLuint program, GLuint shader)
25 const glw::Functions* gl = glw::getCurrentThreadFunctions();
28 gl->attachShader(program, shader);
31 void glwBeginConditionalRender (GLuint id, GLenum mode)
33 const glw::Functions* gl = glw::getCurrentThreadFunctions();
36 gl->beginConditionalRender(id, mode);
39 void glwBeginQuery (GLenum target, GLuint id)
41 const glw::Functions* gl = glw::getCurrentThreadFunctions();
44 gl->beginQuery(target, id);
47 void glwBeginQueryIndexed (GLenum target, GLuint index, GLuint id)
49 const glw::Functions* gl = glw::getCurrentThreadFunctions();
52 gl->beginQueryIndexed(target, index, id);
55 void glwBeginTransformFeedback (GLenum primitiveMode)
57 const glw::Functions* gl = glw::getCurrentThreadFunctions();
60 gl->beginTransformFeedback(primitiveMode);
63 void glwBindAttribLocation (GLuint program, GLuint index, const GLchar *name)
65 const glw::Functions* gl = glw::getCurrentThreadFunctions();
68 gl->bindAttribLocation(program, index, name);
71 void glwBindBuffer (GLenum target, GLuint buffer)
73 const glw::Functions* gl = glw::getCurrentThreadFunctions();
76 gl->bindBuffer(target, buffer);
79 void glwBindBufferBase (GLenum target, GLuint index, GLuint buffer)
81 const glw::Functions* gl = glw::getCurrentThreadFunctions();
84 gl->bindBufferBase(target, index, buffer);
87 void glwBindBufferRange (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size)
89 const glw::Functions* gl = glw::getCurrentThreadFunctions();
92 gl->bindBufferRange(target, index, buffer, offset, size);
95 void glwBindBuffersBase (GLenum target, GLuint first, GLsizei count, const GLuint *buffers)
97 const glw::Functions* gl = glw::getCurrentThreadFunctions();
100 gl->bindBuffersBase(target, first, count, buffers);
103 void glwBindBuffersRange (GLenum target, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizeiptr *sizes)
105 const glw::Functions* gl = glw::getCurrentThreadFunctions();
108 gl->bindBuffersRange(target, first, count, buffers, offsets, sizes);
111 void glwBindFragDataLocation (GLuint program, GLuint color, const GLchar *name)
113 const glw::Functions* gl = glw::getCurrentThreadFunctions();
116 gl->bindFragDataLocation(program, color, name);
119 void glwBindFragDataLocationIndexed (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name)
121 const glw::Functions* gl = glw::getCurrentThreadFunctions();
124 gl->bindFragDataLocationIndexed(program, colorNumber, index, name);
127 void glwBindFramebuffer (GLenum target, GLuint framebuffer)
129 const glw::Functions* gl = glw::getCurrentThreadFunctions();
132 gl->bindFramebuffer(target, framebuffer);
135 void glwBindImageTexture (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format)
137 const glw::Functions* gl = glw::getCurrentThreadFunctions();
140 gl->bindImageTexture(unit, texture, level, layered, layer, access, format);
143 void glwBindImageTextures (GLuint first, GLsizei count, const GLuint *textures)
145 const glw::Functions* gl = glw::getCurrentThreadFunctions();
148 gl->bindImageTextures(first, count, textures);
151 void glwBindProgramPipeline (GLuint pipeline)
153 const glw::Functions* gl = glw::getCurrentThreadFunctions();
156 gl->bindProgramPipeline(pipeline);
159 void glwBindRenderbuffer (GLenum target, GLuint renderbuffer)
161 const glw::Functions* gl = glw::getCurrentThreadFunctions();
164 gl->bindRenderbuffer(target, renderbuffer);
167 void glwBindSampler (GLuint unit, GLuint sampler)
169 const glw::Functions* gl = glw::getCurrentThreadFunctions();
172 gl->bindSampler(unit, sampler);
175 void glwBindSamplers (GLuint first, GLsizei count, const GLuint *samplers)
177 const glw::Functions* gl = glw::getCurrentThreadFunctions();
180 gl->bindSamplers(first, count, samplers);
183 void glwBindTexture (GLenum target, GLuint texture)
185 const glw::Functions* gl = glw::getCurrentThreadFunctions();
188 gl->bindTexture(target, texture);
191 void glwBindTextureUnit (GLuint unit, GLuint texture)
193 const glw::Functions* gl = glw::getCurrentThreadFunctions();
196 gl->bindTextureUnit(unit, texture);
199 void glwBindTextures (GLuint first, GLsizei count, const GLuint *textures)
201 const glw::Functions* gl = glw::getCurrentThreadFunctions();
204 gl->bindTextures(first, count, textures);
207 void glwBindTransformFeedback (GLenum target, GLuint id)
209 const glw::Functions* gl = glw::getCurrentThreadFunctions();
212 gl->bindTransformFeedback(target, id);
215 void glwBindVertexArray (GLuint array)
217 const glw::Functions* gl = glw::getCurrentThreadFunctions();
220 gl->bindVertexArray(array);
223 void glwBindVertexBuffer (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride)
225 const glw::Functions* gl = glw::getCurrentThreadFunctions();
228 gl->bindVertexBuffer(bindingindex, buffer, offset, stride);
231 void glwBindVertexBuffers (GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides)
233 const glw::Functions* gl = glw::getCurrentThreadFunctions();
236 gl->bindVertexBuffers(first, count, buffers, offsets, strides);
239 void glwBlendBarrier (void)
241 const glw::Functions* gl = glw::getCurrentThreadFunctions();
247 void glwBlendColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
249 const glw::Functions* gl = glw::getCurrentThreadFunctions();
252 gl->blendColor(red, green, blue, alpha);
255 void glwBlendEquation (GLenum mode)
257 const glw::Functions* gl = glw::getCurrentThreadFunctions();
260 gl->blendEquation(mode);
263 void glwBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha)
265 const glw::Functions* gl = glw::getCurrentThreadFunctions();
268 gl->blendEquationSeparate(modeRGB, modeAlpha);
271 void glwBlendEquationSeparatei (GLuint buf, GLenum modeRGB, GLenum modeAlpha)
273 const glw::Functions* gl = glw::getCurrentThreadFunctions();
276 gl->blendEquationSeparatei(buf, modeRGB, modeAlpha);
279 void glwBlendEquationi (GLuint buf, GLenum mode)
281 const glw::Functions* gl = glw::getCurrentThreadFunctions();
284 gl->blendEquationi(buf, mode);
287 void glwBlendFunc (GLenum sfactor, GLenum dfactor)
289 const glw::Functions* gl = glw::getCurrentThreadFunctions();
292 gl->blendFunc(sfactor, dfactor);
295 void glwBlendFuncSeparate (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha)
297 const glw::Functions* gl = glw::getCurrentThreadFunctions();
300 gl->blendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha);
303 void glwBlendFuncSeparatei (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha)
305 const glw::Functions* gl = glw::getCurrentThreadFunctions();
308 gl->blendFuncSeparatei(buf, srcRGB, dstRGB, srcAlpha, dstAlpha);
311 void glwBlendFunci (GLuint buf, GLenum src, GLenum dst)
313 const glw::Functions* gl = glw::getCurrentThreadFunctions();
316 gl->blendFunci(buf, src, dst);
319 void glwBlitFramebuffer (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter)
321 const glw::Functions* gl = glw::getCurrentThreadFunctions();
324 gl->blitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter);
327 void glwBlitNamedFramebuffer (GLuint readFramebuffer, GLuint drawFramebuffer, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter)
329 const glw::Functions* gl = glw::getCurrentThreadFunctions();
332 gl->blitNamedFramebuffer(readFramebuffer, drawFramebuffer, srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter);
335 void glwBufferData (GLenum target, GLsizeiptr size, const void *data, GLenum usage)
337 const glw::Functions* gl = glw::getCurrentThreadFunctions();
340 gl->bufferData(target, size, data, usage);
343 void glwBufferStorage (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags)
345 const glw::Functions* gl = glw::getCurrentThreadFunctions();
348 gl->bufferStorage(target, size, data, flags);
351 void glwBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const void *data)
353 const glw::Functions* gl = glw::getCurrentThreadFunctions();
356 gl->bufferSubData(target, offset, size, data);
359 GLenum glwCheckFramebufferStatus (GLenum target)
361 const glw::Functions* gl = glw::getCurrentThreadFunctions();
364 return gl->checkFramebufferStatus(target);
367 GLenum glwCheckNamedFramebufferStatus (GLuint framebuffer, GLenum target)
369 const glw::Functions* gl = glw::getCurrentThreadFunctions();
372 return gl->checkNamedFramebufferStatus(framebuffer, target);
375 void glwClampColor (GLenum target, GLenum clamp)
377 const glw::Functions* gl = glw::getCurrentThreadFunctions();
380 gl->clampColor(target, clamp);
383 void glwClear (GLbitfield mask)
385 const glw::Functions* gl = glw::getCurrentThreadFunctions();
391 void glwClearBufferData (GLenum target, GLenum internalformat, GLenum format, GLenum type, const void *data)
393 const glw::Functions* gl = glw::getCurrentThreadFunctions();
396 gl->clearBufferData(target, internalformat, format, type, data);
399 void glwClearBufferSubData (GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data)
401 const glw::Functions* gl = glw::getCurrentThreadFunctions();
404 gl->clearBufferSubData(target, internalformat, offset, size, format, type, data);
407 void glwClearBufferfi (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil)
409 const glw::Functions* gl = glw::getCurrentThreadFunctions();
412 gl->clearBufferfi(buffer, drawbuffer, depth, stencil);
415 void glwClearBufferfv (GLenum buffer, GLint drawbuffer, const GLfloat *value)
417 const glw::Functions* gl = glw::getCurrentThreadFunctions();
420 gl->clearBufferfv(buffer, drawbuffer, value);
423 void glwClearBufferiv (GLenum buffer, GLint drawbuffer, const GLint *value)
425 const glw::Functions* gl = glw::getCurrentThreadFunctions();
428 gl->clearBufferiv(buffer, drawbuffer, value);
431 void glwClearBufferuiv (GLenum buffer, GLint drawbuffer, const GLuint *value)
433 const glw::Functions* gl = glw::getCurrentThreadFunctions();
436 gl->clearBufferuiv(buffer, drawbuffer, value);
439 void glwClearColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
441 const glw::Functions* gl = glw::getCurrentThreadFunctions();
444 gl->clearColor(red, green, blue, alpha);
447 void glwClearDepth (GLdouble depth)
449 const glw::Functions* gl = glw::getCurrentThreadFunctions();
452 gl->clearDepth(depth);
455 void glwClearDepthf (GLfloat d)
457 const glw::Functions* gl = glw::getCurrentThreadFunctions();
463 void glwClearNamedBufferData (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data)
465 const glw::Functions* gl = glw::getCurrentThreadFunctions();
468 gl->clearNamedBufferData(buffer, internalformat, format, type, data);
471 void glwClearNamedBufferSubData (GLuint buffer, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data)
473 const glw::Functions* gl = glw::getCurrentThreadFunctions();
476 gl->clearNamedBufferSubData(buffer, internalformat, offset, size, format, type, data);
479 void glwClearNamedFramebufferfi (GLuint framebuffer, GLenum buffer, const GLfloat depth, GLint stencil)
481 const glw::Functions* gl = glw::getCurrentThreadFunctions();
484 gl->clearNamedFramebufferfi(framebuffer, buffer, depth, stencil);
487 void glwClearNamedFramebufferfv (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLfloat *value)
489 const glw::Functions* gl = glw::getCurrentThreadFunctions();
492 gl->clearNamedFramebufferfv(framebuffer, buffer, drawbuffer, value);
495 void glwClearNamedFramebufferiv (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLint *value)
497 const glw::Functions* gl = glw::getCurrentThreadFunctions();
500 gl->clearNamedFramebufferiv(framebuffer, buffer, drawbuffer, value);
503 void glwClearNamedFramebufferuiv (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLuint *value)
505 const glw::Functions* gl = glw::getCurrentThreadFunctions();
508 gl->clearNamedFramebufferuiv(framebuffer, buffer, drawbuffer, value);
511 void glwClearStencil (GLint s)
513 const glw::Functions* gl = glw::getCurrentThreadFunctions();
519 void glwClearTexImage (GLuint texture, GLint level, GLenum format, GLenum type, const void *data)
521 const glw::Functions* gl = glw::getCurrentThreadFunctions();
524 gl->clearTexImage(texture, level, format, type, data);
527 void glwClearTexSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data)
529 const glw::Functions* gl = glw::getCurrentThreadFunctions();
532 gl->clearTexSubImage(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, type, data);
535 GLenum glwClientWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout)
537 const glw::Functions* gl = glw::getCurrentThreadFunctions();
540 return gl->clientWaitSync(sync, flags, timeout);
543 void glwClipControl (GLenum origin, GLenum depth)
545 const glw::Functions* gl = glw::getCurrentThreadFunctions();
548 gl->clipControl(origin, depth);
551 void glwColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha)
553 const glw::Functions* gl = glw::getCurrentThreadFunctions();
556 gl->colorMask(red, green, blue, alpha);
559 void glwColorMaski (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a)
561 const glw::Functions* gl = glw::getCurrentThreadFunctions();
564 gl->colorMaski(index, r, g, b, a);
567 void glwCompileShader (GLuint shader)
569 const glw::Functions* gl = glw::getCurrentThreadFunctions();
572 gl->compileShader(shader);
575 void glwCompressedTexImage1D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data)
577 const glw::Functions* gl = glw::getCurrentThreadFunctions();
580 gl->compressedTexImage1D(target, level, internalformat, width, border, imageSize, data);
583 void glwCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data)
585 const glw::Functions* gl = glw::getCurrentThreadFunctions();
588 gl->compressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data);
591 void glwCompressedTexImage3D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data)
593 const glw::Functions* gl = glw::getCurrentThreadFunctions();
596 gl->compressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, data);
599 void glwCompressedTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data)
601 const glw::Functions* gl = glw::getCurrentThreadFunctions();
604 gl->compressedTexSubImage1D(target, level, xoffset, width, format, imageSize, data);
607 void glwCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data)
609 const glw::Functions* gl = glw::getCurrentThreadFunctions();
612 gl->compressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data);
615 void glwCompressedTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data)
617 const glw::Functions* gl = glw::getCurrentThreadFunctions();
620 gl->compressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data);
623 void glwCompressedTextureSubImage1D (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data)
625 const glw::Functions* gl = glw::getCurrentThreadFunctions();
628 gl->compressedTextureSubImage1D(texture, level, xoffset, width, format, imageSize, data);
631 void glwCompressedTextureSubImage2D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data)
633 const glw::Functions* gl = glw::getCurrentThreadFunctions();
636 gl->compressedTextureSubImage2D(texture, level, xoffset, yoffset, width, height, format, imageSize, data);
639 void glwCompressedTextureSubImage3D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data)
641 const glw::Functions* gl = glw::getCurrentThreadFunctions();
644 gl->compressedTextureSubImage3D(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data);
647 void glwCopyBufferSubData (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size)
649 const glw::Functions* gl = glw::getCurrentThreadFunctions();
652 gl->copyBufferSubData(readTarget, writeTarget, readOffset, writeOffset, size);
655 void glwCopyImageSubData (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth)
657 const glw::Functions* gl = glw::getCurrentThreadFunctions();
660 gl->copyImageSubData(srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth);
663 void glwCopyNamedBufferSubData (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size)
665 const glw::Functions* gl = glw::getCurrentThreadFunctions();
668 gl->copyNamedBufferSubData(readBuffer, writeBuffer, readOffset, writeOffset, size);
671 void glwCopyTexImage1D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border)
673 const glw::Functions* gl = glw::getCurrentThreadFunctions();
676 gl->copyTexImage1D(target, level, internalformat, x, y, width, border);
679 void glwCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border)
681 const glw::Functions* gl = glw::getCurrentThreadFunctions();
684 gl->copyTexImage2D(target, level, internalformat, x, y, width, height, border);
687 void glwCopyTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width)
689 const glw::Functions* gl = glw::getCurrentThreadFunctions();
692 gl->copyTexSubImage1D(target, level, xoffset, x, y, width);
695 void glwCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height)
697 const glw::Functions* gl = glw::getCurrentThreadFunctions();
700 gl->copyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height);
703 void glwCopyTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height)
705 const glw::Functions* gl = glw::getCurrentThreadFunctions();
708 gl->copyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height);
711 void glwCopyTextureSubImage1D (GLuint texture, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width)
713 const glw::Functions* gl = glw::getCurrentThreadFunctions();
716 gl->copyTextureSubImage1D(texture, level, xoffset, x, y, width);
719 void glwCopyTextureSubImage2D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height)
721 const glw::Functions* gl = glw::getCurrentThreadFunctions();
724 gl->copyTextureSubImage2D(texture, level, xoffset, yoffset, x, y, width, height);
727 void glwCopyTextureSubImage3D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height)
729 const glw::Functions* gl = glw::getCurrentThreadFunctions();
732 gl->copyTextureSubImage3D(texture, level, xoffset, yoffset, zoffset, x, y, width, height);
735 void glwCreateBuffers (GLsizei n, GLuint *buffers)
737 const glw::Functions* gl = glw::getCurrentThreadFunctions();
740 gl->createBuffers(n, buffers);
743 void glwCreateFramebuffers (GLsizei n, GLuint *framebuffers)
745 const glw::Functions* gl = glw::getCurrentThreadFunctions();
748 gl->createFramebuffers(n, framebuffers);
751 GLuint glwCreateProgram (void)
753 const glw::Functions* gl = glw::getCurrentThreadFunctions();
756 return gl->createProgram();
759 void glwCreateProgramPipelines (GLsizei n, GLuint *pipelines)
761 const glw::Functions* gl = glw::getCurrentThreadFunctions();
764 gl->createProgramPipelines(n, pipelines);
767 void glwCreateQueries (GLenum target, GLsizei n, GLuint *ids)
769 const glw::Functions* gl = glw::getCurrentThreadFunctions();
772 gl->createQueries(target, n, ids);
775 void glwCreateRenderbuffers (GLsizei n, GLuint *renderbuffers)
777 const glw::Functions* gl = glw::getCurrentThreadFunctions();
780 gl->createRenderbuffers(n, renderbuffers);
783 void glwCreateSamplers (GLsizei n, GLuint *samplers)
785 const glw::Functions* gl = glw::getCurrentThreadFunctions();
788 gl->createSamplers(n, samplers);
791 GLuint glwCreateShader (GLenum type)
793 const glw::Functions* gl = glw::getCurrentThreadFunctions();
796 return gl->createShader(type);
799 GLuint glwCreateShaderProgramv (GLenum type, GLsizei count, const GLchar *const*strings)
801 const glw::Functions* gl = glw::getCurrentThreadFunctions();
804 return gl->createShaderProgramv(type, count, strings);
807 void glwCreateTextures (GLenum target, GLsizei n, GLuint *textures)
809 const glw::Functions* gl = glw::getCurrentThreadFunctions();
812 gl->createTextures(target, n, textures);
815 void glwCreateTransformFeedbacks (GLsizei n, GLuint *ids)
817 const glw::Functions* gl = glw::getCurrentThreadFunctions();
820 gl->createTransformFeedbacks(n, ids);
823 void glwCreateVertexArrays (GLsizei n, GLuint *arrays)
825 const glw::Functions* gl = glw::getCurrentThreadFunctions();
828 gl->createVertexArrays(n, arrays);
831 void glwCullFace (GLenum mode)
833 const glw::Functions* gl = glw::getCurrentThreadFunctions();
839 void glwDebugMessageCallback (GLDEBUGPROC callback, const void *userParam)
841 const glw::Functions* gl = glw::getCurrentThreadFunctions();
844 gl->debugMessageCallback(callback, userParam);
847 void glwDebugMessageControl (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled)
849 const glw::Functions* gl = glw::getCurrentThreadFunctions();
852 gl->debugMessageControl(source, type, severity, count, ids, enabled);
855 void glwDebugMessageInsert (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf)
857 const glw::Functions* gl = glw::getCurrentThreadFunctions();
860 gl->debugMessageInsert(source, type, id, severity, length, buf);
863 void glwDeleteBuffers (GLsizei n, const GLuint *buffers)
865 const glw::Functions* gl = glw::getCurrentThreadFunctions();
868 gl->deleteBuffers(n, buffers);
871 void glwDeleteFramebuffers (GLsizei n, const GLuint *framebuffers)
873 const glw::Functions* gl = glw::getCurrentThreadFunctions();
876 gl->deleteFramebuffers(n, framebuffers);
879 void glwDeleteProgram (GLuint program)
881 const glw::Functions* gl = glw::getCurrentThreadFunctions();
884 gl->deleteProgram(program);
887 void glwDeleteProgramPipelines (GLsizei n, const GLuint *pipelines)
889 const glw::Functions* gl = glw::getCurrentThreadFunctions();
892 gl->deleteProgramPipelines(n, pipelines);
895 void glwDeleteQueries (GLsizei n, const GLuint *ids)
897 const glw::Functions* gl = glw::getCurrentThreadFunctions();
900 gl->deleteQueries(n, ids);
903 void glwDeleteRenderbuffers (GLsizei n, const GLuint *renderbuffers)
905 const glw::Functions* gl = glw::getCurrentThreadFunctions();
908 gl->deleteRenderbuffers(n, renderbuffers);
911 void glwDeleteSamplers (GLsizei count, const GLuint *samplers)
913 const glw::Functions* gl = glw::getCurrentThreadFunctions();
916 gl->deleteSamplers(count, samplers);
919 void glwDeleteShader (GLuint shader)
921 const glw::Functions* gl = glw::getCurrentThreadFunctions();
924 gl->deleteShader(shader);
927 void glwDeleteSync (GLsync sync)
929 const glw::Functions* gl = glw::getCurrentThreadFunctions();
932 gl->deleteSync(sync);
935 void glwDeleteTextures (GLsizei n, const GLuint *textures)
937 const glw::Functions* gl = glw::getCurrentThreadFunctions();
940 gl->deleteTextures(n, textures);
943 void glwDeleteTransformFeedbacks (GLsizei n, const GLuint *ids)
945 const glw::Functions* gl = glw::getCurrentThreadFunctions();
948 gl->deleteTransformFeedbacks(n, ids);
951 void glwDeleteVertexArrays (GLsizei n, const GLuint *arrays)
953 const glw::Functions* gl = glw::getCurrentThreadFunctions();
956 gl->deleteVertexArrays(n, arrays);
959 void glwDepthFunc (GLenum func)
961 const glw::Functions* gl = glw::getCurrentThreadFunctions();
967 void glwDepthMask (GLboolean flag)
969 const glw::Functions* gl = glw::getCurrentThreadFunctions();
975 void glwDepthRange (GLdouble near, GLdouble far)
977 const glw::Functions* gl = glw::getCurrentThreadFunctions();
980 gl->depthRange(near, far);
983 void glwDepthRangeArrayv (GLuint first, GLsizei count, const GLdouble *v)
985 const glw::Functions* gl = glw::getCurrentThreadFunctions();
988 gl->depthRangeArrayv(first, count, v);
991 void glwDepthRangeIndexed (GLuint index, GLdouble n, GLdouble f)
993 const glw::Functions* gl = glw::getCurrentThreadFunctions();
996 gl->depthRangeIndexed(index, n, f);
999 void glwDepthRangef (GLfloat n, GLfloat f)
1001 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1004 gl->depthRangef(n, f);
1007 void glwDetachShader (GLuint program, GLuint shader)
1009 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1012 gl->detachShader(program, shader);
1015 void glwDisable (GLenum cap)
1017 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1023 void glwDisableVertexArrayAttrib (GLuint vaobj, GLuint index)
1025 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1028 gl->disableVertexArrayAttrib(vaobj, index);
1031 void glwDisableVertexAttribArray (GLuint index)
1033 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1036 gl->disableVertexAttribArray(index);
1039 void glwDisablei (GLenum target, GLuint index)
1041 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1044 gl->disablei(target, index);
1047 void glwDispatchCompute (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z)
1049 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1052 gl->dispatchCompute(num_groups_x, num_groups_y, num_groups_z);
1055 void glwDispatchComputeIndirect (GLintptr indirect)
1057 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1060 gl->dispatchComputeIndirect(indirect);
1063 void glwDrawArrays (GLenum mode, GLint first, GLsizei count)
1065 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1068 gl->drawArrays(mode, first, count);
1071 void glwDrawArraysIndirect (GLenum mode, const void *indirect)
1073 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1076 gl->drawArraysIndirect(mode, indirect);
1079 void glwDrawArraysInstanced (GLenum mode, GLint first, GLsizei count, GLsizei instancecount)
1081 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1084 gl->drawArraysInstanced(mode, first, count, instancecount);
1087 void glwDrawArraysInstancedBaseInstance (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance)
1089 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1092 gl->drawArraysInstancedBaseInstance(mode, first, count, instancecount, baseinstance);
1095 void glwDrawBuffer (GLenum buf)
1097 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1100 gl->drawBuffer(buf);
1103 void glwDrawBuffers (GLsizei n, const GLenum *bufs)
1105 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1108 gl->drawBuffers(n, bufs);
1111 void glwDrawElements (GLenum mode, GLsizei count, GLenum type, const void *indices)
1113 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1116 gl->drawElements(mode, count, type, indices);
1119 void glwDrawElementsBaseVertex (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex)
1121 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1124 gl->drawElementsBaseVertex(mode, count, type, indices, basevertex);
1127 void glwDrawElementsIndirect (GLenum mode, GLenum type, const void *indirect)
1129 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1132 gl->drawElementsIndirect(mode, type, indirect);
1135 void glwDrawElementsInstanced (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount)
1137 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1140 gl->drawElementsInstanced(mode, count, type, indices, instancecount);
1143 void glwDrawElementsInstancedBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance)
1145 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1148 gl->drawElementsInstancedBaseInstance(mode, count, type, indices, instancecount, baseinstance);
1151 void glwDrawElementsInstancedBaseVertex (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex)
1153 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1156 gl->drawElementsInstancedBaseVertex(mode, count, type, indices, instancecount, basevertex);
1159 void glwDrawElementsInstancedBaseVertexBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance)
1161 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1164 gl->drawElementsInstancedBaseVertexBaseInstance(mode, count, type, indices, instancecount, basevertex, baseinstance);
1167 void glwDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices)
1169 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1172 gl->drawRangeElements(mode, start, end, count, type, indices);
1175 void glwDrawRangeElementsBaseVertex (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex)
1177 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1180 gl->drawRangeElementsBaseVertex(mode, start, end, count, type, indices, basevertex);
1183 void glwDrawTransformFeedback (GLenum mode, GLuint id)
1185 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1188 gl->drawTransformFeedback(mode, id);
1191 void glwDrawTransformFeedbackInstanced (GLenum mode, GLuint id, GLsizei instancecount)
1193 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1196 gl->drawTransformFeedbackInstanced(mode, id, instancecount);
1199 void glwDrawTransformFeedbackStream (GLenum mode, GLuint id, GLuint stream)
1201 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1204 gl->drawTransformFeedbackStream(mode, id, stream);
1207 void glwDrawTransformFeedbackStreamInstanced (GLenum mode, GLuint id, GLuint stream, GLsizei instancecount)
1209 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1212 gl->drawTransformFeedbackStreamInstanced(mode, id, stream, instancecount);
1215 void glwEGLImageTargetRenderbufferStorageOES (GLenum target, GLeglImageOES image)
1217 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1220 gl->eglImageTargetRenderbufferStorageOES(target, image);
1223 void glwEGLImageTargetTexture2DOES (GLenum target, GLeglImageOES image)
1225 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1228 gl->eglImageTargetTexture2DOES(target, image);
1231 void glwEnable (GLenum cap)
1233 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1239 void glwEnableVertexArrayAttrib (GLuint vaobj, GLuint index)
1241 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1244 gl->enableVertexArrayAttrib(vaobj, index);
1247 void glwEnableVertexAttribArray (GLuint index)
1249 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1252 gl->enableVertexAttribArray(index);
1255 void glwEnablei (GLenum target, GLuint index)
1257 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1260 gl->enablei(target, index);
1263 void glwEndConditionalRender (void)
1265 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1268 gl->endConditionalRender();
1271 void glwEndQuery (GLenum target)
1273 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1276 gl->endQuery(target);
1279 void glwEndQueryIndexed (GLenum target, GLuint index)
1281 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1284 gl->endQueryIndexed(target, index);
1287 void glwEndTransformFeedback (void)
1289 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1292 gl->endTransformFeedback();
1295 GLsync glwFenceSync (GLenum condition, GLbitfield flags)
1297 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1300 return gl->fenceSync(condition, flags);
1303 void glwFinish (void)
1305 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1311 void glwFlush (void)
1313 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1319 void glwFlushMappedBufferRange (GLenum target, GLintptr offset, GLsizeiptr length)
1321 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1324 gl->flushMappedBufferRange(target, offset, length);
1327 void glwFlushMappedNamedBufferRange (GLuint buffer, GLintptr offset, GLsizeiptr length)
1329 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1332 gl->flushMappedNamedBufferRange(buffer, offset, length);
1335 void glwFramebufferParameteri (GLenum target, GLenum pname, GLint param)
1337 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1340 gl->framebufferParameteri(target, pname, param);
1343 void glwFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer)
1345 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1348 gl->framebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer);
1351 void glwFramebufferTexture (GLenum target, GLenum attachment, GLuint texture, GLint level)
1353 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1356 gl->framebufferTexture(target, attachment, texture, level);
1359 void glwFramebufferTexture1D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level)
1361 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1364 gl->framebufferTexture1D(target, attachment, textarget, texture, level);
1367 void glwFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level)
1369 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1372 gl->framebufferTexture2D(target, attachment, textarget, texture, level);
1375 void glwFramebufferTexture3D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset)
1377 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1380 gl->framebufferTexture3D(target, attachment, textarget, texture, level, zoffset);
1383 void glwFramebufferTextureLayer (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer)
1385 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1388 gl->framebufferTextureLayer(target, attachment, texture, level, layer);
1391 void glwFrontFace (GLenum mode)
1393 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1396 gl->frontFace(mode);
1399 void glwGenBuffers (GLsizei n, GLuint *buffers)
1401 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1404 gl->genBuffers(n, buffers);
1407 void glwGenFramebuffers (GLsizei n, GLuint *framebuffers)
1409 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1412 gl->genFramebuffers(n, framebuffers);
1415 void glwGenProgramPipelines (GLsizei n, GLuint *pipelines)
1417 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1420 gl->genProgramPipelines(n, pipelines);
1423 void glwGenQueries (GLsizei n, GLuint *ids)
1425 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1428 gl->genQueries(n, ids);
1431 void glwGenRenderbuffers (GLsizei n, GLuint *renderbuffers)
1433 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1436 gl->genRenderbuffers(n, renderbuffers);
1439 void glwGenSamplers (GLsizei count, GLuint *samplers)
1441 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1444 gl->genSamplers(count, samplers);
1447 void glwGenTextures (GLsizei n, GLuint *textures)
1449 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1452 gl->genTextures(n, textures);
1455 void glwGenTransformFeedbacks (GLsizei n, GLuint *ids)
1457 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1460 gl->genTransformFeedbacks(n, ids);
1463 void glwGenVertexArrays (GLsizei n, GLuint *arrays)
1465 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1468 gl->genVertexArrays(n, arrays);
1471 void glwGenerateMipmap (GLenum target)
1473 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1476 gl->generateMipmap(target);
1479 void glwGenerateTextureMipmap (GLuint texture)
1481 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1484 gl->generateTextureMipmap(texture);
1487 void glwGetActiveAtomicCounterBufferiv (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params)
1489 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1492 gl->getActiveAtomicCounterBufferiv(program, bufferIndex, pname, params);
1495 void glwGetActiveAttrib (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name)
1497 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1500 gl->getActiveAttrib(program, index, bufSize, length, size, type, name);
1503 void glwGetActiveSubroutineName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name)
1505 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1508 gl->getActiveSubroutineName(program, shadertype, index, bufsize, length, name);
1511 void glwGetActiveSubroutineUniformName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name)
1513 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1516 gl->getActiveSubroutineUniformName(program, shadertype, index, bufsize, length, name);
1519 void glwGetActiveSubroutineUniformiv (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values)
1521 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1524 gl->getActiveSubroutineUniformiv(program, shadertype, index, pname, values);
1527 void glwGetActiveUniform (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name)
1529 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1532 gl->getActiveUniform(program, index, bufSize, length, size, type, name);
1535 void glwGetActiveUniformBlockName (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName)
1537 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1540 gl->getActiveUniformBlockName(program, uniformBlockIndex, bufSize, length, uniformBlockName);
1543 void glwGetActiveUniformBlockiv (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params)
1545 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1548 gl->getActiveUniformBlockiv(program, uniformBlockIndex, pname, params);
1551 void glwGetActiveUniformName (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName)
1553 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1556 gl->getActiveUniformName(program, uniformIndex, bufSize, length, uniformName);
1559 void glwGetActiveUniformsiv (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params)
1561 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1564 gl->getActiveUniformsiv(program, uniformCount, uniformIndices, pname, params);
1567 void glwGetAttachedShaders (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders)
1569 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1572 gl->getAttachedShaders(program, maxCount, count, shaders);
1575 GLint glwGetAttribLocation (GLuint program, const GLchar *name)
1577 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1580 return gl->getAttribLocation(program, name);
1583 void glwGetBooleani_v (GLenum target, GLuint index, GLboolean *data)
1585 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1588 gl->getBooleani_v(target, index, data);
1591 void glwGetBooleanv (GLenum pname, GLboolean *data)
1593 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1596 gl->getBooleanv(pname, data);
1599 void glwGetBufferParameteri64v (GLenum target, GLenum pname, GLint64 *params)
1601 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1604 gl->getBufferParameteri64v(target, pname, params);
1607 void glwGetBufferParameteriv (GLenum target, GLenum pname, GLint *params)
1609 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1612 gl->getBufferParameteriv(target, pname, params);
1615 void glwGetBufferPointerv (GLenum target, GLenum pname, void **params)
1617 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1620 gl->getBufferPointerv(target, pname, params);
1623 void glwGetBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, void *data)
1625 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1628 gl->getBufferSubData(target, offset, size, data);
1631 void glwGetCompressedTexImage (GLenum target, GLint level, void *img)
1633 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1636 gl->getCompressedTexImage(target, level, img);
1639 void glwGetCompressedTextureImage (GLuint texture, GLint level, GLsizei bufSize, void *pixels)
1641 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1644 gl->getCompressedTextureImage(texture, level, bufSize, pixels);
1647 void glwGetCompressedTextureSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei bufSize, void *pixels)
1649 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1652 gl->getCompressedTextureSubImage(texture, level, xoffset, yoffset, zoffset, width, height, depth, bufSize, pixels);
1655 GLuint glwGetDebugMessageLog (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog)
1657 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1660 return gl->getDebugMessageLog(count, bufSize, sources, types, ids, severities, lengths, messageLog);
1663 void glwGetDoublei_v (GLenum target, GLuint index, GLdouble *data)
1665 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1668 gl->getDoublei_v(target, index, data);
1671 void glwGetDoublev (GLenum pname, GLdouble *data)
1673 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1676 gl->getDoublev(pname, data);
1679 GLenum glwGetError (void)
1681 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1683 return GL_INVALID_OPERATION;
1684 return gl->getError();
1687 void glwGetFloati_v (GLenum target, GLuint index, GLfloat *data)
1689 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1692 gl->getFloati_v(target, index, data);
1695 void glwGetFloatv (GLenum pname, GLfloat *data)
1697 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1700 gl->getFloatv(pname, data);
1703 GLint glwGetFragDataIndex (GLuint program, const GLchar *name)
1705 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1708 return gl->getFragDataIndex(program, name);
1711 GLint glwGetFragDataLocation (GLuint program, const GLchar *name)
1713 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1716 return gl->getFragDataLocation(program, name);
1719 void glwGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint *params)
1721 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1724 gl->getFramebufferAttachmentParameteriv(target, attachment, pname, params);
1727 void glwGetFramebufferParameteriv (GLenum target, GLenum pname, GLint *params)
1729 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1732 gl->getFramebufferParameteriv(target, pname, params);
1735 GLenum glwGetGraphicsResetStatus (void)
1737 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1740 return gl->getGraphicsResetStatus();
1743 void glwGetInteger64i_v (GLenum target, GLuint index, GLint64 *data)
1745 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1748 gl->getInteger64i_v(target, index, data);
1751 void glwGetInteger64v (GLenum pname, GLint64 *data)
1753 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1756 gl->getInteger64v(pname, data);
1759 void glwGetIntegeri_v (GLenum target, GLuint index, GLint *data)
1761 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1764 gl->getIntegeri_v(target, index, data);
1767 void glwGetIntegerv (GLenum pname, GLint *data)
1769 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1772 gl->getIntegerv(pname, data);
1775 void glwGetInternalformati64v (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 *params)
1777 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1780 gl->getInternalformati64v(target, internalformat, pname, bufSize, params);
1783 void glwGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params)
1785 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1788 gl->getInternalformativ(target, internalformat, pname, bufSize, params);
1791 void glwGetMultisamplefv (GLenum pname, GLuint index, GLfloat *val)
1793 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1796 gl->getMultisamplefv(pname, index, val);
1799 void glwGetNamedBufferParameteri64v (GLuint buffer, GLenum pname, GLint64 *params)
1801 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1804 gl->getNamedBufferParameteri64v(buffer, pname, params);
1807 void glwGetNamedBufferParameteriv (GLuint buffer, GLenum pname, GLint *params)
1809 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1812 gl->getNamedBufferParameteriv(buffer, pname, params);
1815 void glwGetNamedBufferPointerv (GLuint buffer, GLenum pname, void **params)
1817 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1820 gl->getNamedBufferPointerv(buffer, pname, params);
1823 void glwGetNamedBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data)
1825 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1828 gl->getNamedBufferSubData(buffer, offset, size, data);
1831 void glwGetNamedFramebufferAttachmentParameteriv (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params)
1833 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1836 gl->getNamedFramebufferAttachmentParameteriv(framebuffer, attachment, pname, params);
1839 void glwGetNamedFramebufferParameteriv (GLuint framebuffer, GLenum pname, GLint *param)
1841 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1844 gl->getNamedFramebufferParameteriv(framebuffer, pname, param);
1847 void glwGetNamedRenderbufferParameteriv (GLuint renderbuffer, GLenum pname, GLint *params)
1849 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1852 gl->getNamedRenderbufferParameteriv(renderbuffer, pname, params);
1855 void glwGetObjectLabel (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label)
1857 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1860 gl->getObjectLabel(identifier, name, bufSize, length, label);
1863 void glwGetObjectPtrLabel (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label)
1865 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1868 gl->getObjectPtrLabel(ptr, bufSize, length, label);
1871 void glwGetPointerv (GLenum pname, void **params)
1873 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1876 gl->getPointerv(pname, params);
1879 void glwGetProgramBinary (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary)
1881 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1884 gl->getProgramBinary(program, bufSize, length, binaryFormat, binary);
1887 void glwGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog)
1889 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1892 gl->getProgramInfoLog(program, bufSize, length, infoLog);
1895 void glwGetProgramInterfaceiv (GLuint program, GLenum programInterface, GLenum pname, GLint *params)
1897 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1900 gl->getProgramInterfaceiv(program, programInterface, pname, params);
1903 void glwGetProgramPipelineInfoLog (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog)
1905 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1908 gl->getProgramPipelineInfoLog(pipeline, bufSize, length, infoLog);
1911 void glwGetProgramPipelineiv (GLuint pipeline, GLenum pname, GLint *params)
1913 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1916 gl->getProgramPipelineiv(pipeline, pname, params);
1919 GLuint glwGetProgramResourceIndex (GLuint program, GLenum programInterface, const GLchar *name)
1921 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1924 return gl->getProgramResourceIndex(program, programInterface, name);
1927 GLint glwGetProgramResourceLocation (GLuint program, GLenum programInterface, const GLchar *name)
1929 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1932 return gl->getProgramResourceLocation(program, programInterface, name);
1935 GLint glwGetProgramResourceLocationIndex (GLuint program, GLenum programInterface, const GLchar *name)
1937 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1940 return gl->getProgramResourceLocationIndex(program, programInterface, name);
1943 void glwGetProgramResourceName (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name)
1945 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1948 gl->getProgramResourceName(program, programInterface, index, bufSize, length, name);
1951 void glwGetProgramResourceiv (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params)
1953 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1956 gl->getProgramResourceiv(program, programInterface, index, propCount, props, bufSize, length, params);
1959 void glwGetProgramStageiv (GLuint program, GLenum shadertype, GLenum pname, GLint *values)
1961 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1964 gl->getProgramStageiv(program, shadertype, pname, values);
1967 void glwGetProgramiv (GLuint program, GLenum pname, GLint *params)
1969 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1972 gl->getProgramiv(program, pname, params);
1975 void glwGetQueryBufferObjecti64v (GLuint id, GLuint buffer, GLenum pname, GLintptr offset)
1977 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1980 gl->getQueryBufferObjecti64v(id, buffer, pname, offset);
1983 void glwGetQueryBufferObjectiv (GLuint id, GLuint buffer, GLenum pname, GLintptr offset)
1985 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1988 gl->getQueryBufferObjectiv(id, buffer, pname, offset);
1991 void glwGetQueryBufferObjectui64v (GLuint id, GLuint buffer, GLenum pname, GLintptr offset)
1993 const glw::Functions* gl = glw::getCurrentThreadFunctions();
1996 gl->getQueryBufferObjectui64v(id, buffer, pname, offset);
1999 void glwGetQueryBufferObjectuiv (GLuint id, GLuint buffer, GLenum pname, GLintptr offset)
2001 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2004 gl->getQueryBufferObjectuiv(id, buffer, pname, offset);
2007 void glwGetQueryIndexediv (GLenum target, GLuint index, GLenum pname, GLint *params)
2009 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2012 gl->getQueryIndexediv(target, index, pname, params);
2015 void glwGetQueryObjecti64v (GLuint id, GLenum pname, GLint64 *params)
2017 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2020 gl->getQueryObjecti64v(id, pname, params);
2023 void glwGetQueryObjectiv (GLuint id, GLenum pname, GLint *params)
2025 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2028 gl->getQueryObjectiv(id, pname, params);
2031 void glwGetQueryObjectui64v (GLuint id, GLenum pname, GLuint64 *params)
2033 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2036 gl->getQueryObjectui64v(id, pname, params);
2039 void glwGetQueryObjectuiv (GLuint id, GLenum pname, GLuint *params)
2041 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2044 gl->getQueryObjectuiv(id, pname, params);
2047 void glwGetQueryiv (GLenum target, GLenum pname, GLint *params)
2049 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2052 gl->getQueryiv(target, pname, params);
2055 void glwGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint *params)
2057 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2060 gl->getRenderbufferParameteriv(target, pname, params);
2063 void glwGetSamplerParameterIiv (GLuint sampler, GLenum pname, GLint *params)
2065 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2068 gl->getSamplerParameterIiv(sampler, pname, params);
2071 void glwGetSamplerParameterIuiv (GLuint sampler, GLenum pname, GLuint *params)
2073 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2076 gl->getSamplerParameterIuiv(sampler, pname, params);
2079 void glwGetSamplerParameterfv (GLuint sampler, GLenum pname, GLfloat *params)
2081 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2084 gl->getSamplerParameterfv(sampler, pname, params);
2087 void glwGetSamplerParameteriv (GLuint sampler, GLenum pname, GLint *params)
2089 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2092 gl->getSamplerParameteriv(sampler, pname, params);
2095 void glwGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog)
2097 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2100 gl->getShaderInfoLog(shader, bufSize, length, infoLog);
2103 void glwGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision)
2105 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2108 gl->getShaderPrecisionFormat(shadertype, precisiontype, range, precision);
2111 void glwGetShaderSource (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source)
2113 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2116 gl->getShaderSource(shader, bufSize, length, source);
2119 void glwGetShaderiv (GLuint shader, GLenum pname, GLint *params)
2121 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2124 gl->getShaderiv(shader, pname, params);
2127 const GLubyte * glwGetString (GLenum name)
2129 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2131 return (const GLubyte *)0;
2132 return gl->getString(name);
2135 const GLubyte * glwGetStringi (GLenum name, GLuint index)
2137 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2139 return (const GLubyte *)0;
2140 return gl->getStringi(name, index);
2143 GLuint glwGetSubroutineIndex (GLuint program, GLenum shadertype, const GLchar *name)
2145 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2148 return gl->getSubroutineIndex(program, shadertype, name);
2151 GLint glwGetSubroutineUniformLocation (GLuint program, GLenum shadertype, const GLchar *name)
2153 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2156 return gl->getSubroutineUniformLocation(program, shadertype, name);
2159 void glwGetSynciv (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values)
2161 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2164 gl->getSynciv(sync, pname, bufSize, length, values);
2167 void glwGetTexImage (GLenum target, GLint level, GLenum format, GLenum type, void *pixels)
2169 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2172 gl->getTexImage(target, level, format, type, pixels);
2175 void glwGetTexLevelParameterfv (GLenum target, GLint level, GLenum pname, GLfloat *params)
2177 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2180 gl->getTexLevelParameterfv(target, level, pname, params);
2183 void glwGetTexLevelParameteriv (GLenum target, GLint level, GLenum pname, GLint *params)
2185 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2188 gl->getTexLevelParameteriv(target, level, pname, params);
2191 void glwGetTexParameterIiv (GLenum target, GLenum pname, GLint *params)
2193 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2196 gl->getTexParameterIiv(target, pname, params);
2199 void glwGetTexParameterIuiv (GLenum target, GLenum pname, GLuint *params)
2201 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2204 gl->getTexParameterIuiv(target, pname, params);
2207 void glwGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params)
2209 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2212 gl->getTexParameterfv(target, pname, params);
2215 void glwGetTexParameteriv (GLenum target, GLenum pname, GLint *params)
2217 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2220 gl->getTexParameteriv(target, pname, params);
2223 void glwGetTextureImage (GLuint texture, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels)
2225 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2228 gl->getTextureImage(texture, level, format, type, bufSize, pixels);
2231 void glwGetTextureLevelParameterfv (GLuint texture, GLint level, GLenum pname, GLfloat *params)
2233 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2236 gl->getTextureLevelParameterfv(texture, level, pname, params);
2239 void glwGetTextureLevelParameteriv (GLuint texture, GLint level, GLenum pname, GLint *params)
2241 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2244 gl->getTextureLevelParameteriv(texture, level, pname, params);
2247 void glwGetTextureParameterIiv (GLuint texture, GLenum pname, GLint *params)
2249 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2252 gl->getTextureParameterIiv(texture, pname, params);
2255 void glwGetTextureParameterIuiv (GLuint texture, GLenum pname, GLuint *params)
2257 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2260 gl->getTextureParameterIuiv(texture, pname, params);
2263 void glwGetTextureParameterfv (GLuint texture, GLenum pname, GLfloat *params)
2265 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2268 gl->getTextureParameterfv(texture, pname, params);
2271 void glwGetTextureParameteriv (GLuint texture, GLenum pname, GLint *params)
2273 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2276 gl->getTextureParameteriv(texture, pname, params);
2279 void glwGetTextureSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei bufSize, void *pixels)
2281 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2284 gl->getTextureSubImage(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, type, bufSize, pixels);
2287 void glwGetTransformFeedbackVarying (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name)
2289 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2292 gl->getTransformFeedbackVarying(program, index, bufSize, length, size, type, name);
2295 void glwGetTransformFeedbacki64_v (GLuint xfb, GLenum pname, GLuint index, GLint64 *param)
2297 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2300 gl->getTransformFeedbacki64_v(xfb, pname, index, param);
2303 void glwGetTransformFeedbacki_v (GLuint xfb, GLenum pname, GLuint index, GLint *param)
2305 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2308 gl->getTransformFeedbacki_v(xfb, pname, index, param);
2311 void glwGetTransformFeedbackiv (GLuint xfb, GLenum pname, GLint *param)
2313 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2316 gl->getTransformFeedbackiv(xfb, pname, param);
2319 GLuint glwGetUniformBlockIndex (GLuint program, const GLchar *uniformBlockName)
2321 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2324 return gl->getUniformBlockIndex(program, uniformBlockName);
2327 void glwGetUniformIndices (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices)
2329 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2332 gl->getUniformIndices(program, uniformCount, uniformNames, uniformIndices);
2335 GLint glwGetUniformLocation (GLuint program, const GLchar *name)
2337 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2340 return gl->getUniformLocation(program, name);
2343 void glwGetUniformSubroutineuiv (GLenum shadertype, GLint location, GLuint *params)
2345 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2348 gl->getUniformSubroutineuiv(shadertype, location, params);
2351 void glwGetUniformdv (GLuint program, GLint location, GLdouble *params)
2353 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2356 gl->getUniformdv(program, location, params);
2359 void glwGetUniformfv (GLuint program, GLint location, GLfloat *params)
2361 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2364 gl->getUniformfv(program, location, params);
2367 void glwGetUniformiv (GLuint program, GLint location, GLint *params)
2369 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2372 gl->getUniformiv(program, location, params);
2375 void glwGetUniformuiv (GLuint program, GLint location, GLuint *params)
2377 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2380 gl->getUniformuiv(program, location, params);
2383 void glwGetVertexArrayIndexed64iv (GLuint vaobj, GLuint index, GLenum pname, GLint64 *param)
2385 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2388 gl->getVertexArrayIndexed64iv(vaobj, index, pname, param);
2391 void glwGetVertexArrayIndexediv (GLuint vaobj, GLuint index, GLenum pname, GLint *param)
2393 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2396 gl->getVertexArrayIndexediv(vaobj, index, pname, param);
2399 void glwGetVertexArrayiv (GLuint vaobj, GLenum pname, GLint *param)
2401 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2404 gl->getVertexArrayiv(vaobj, pname, param);
2407 void glwGetVertexAttribIiv (GLuint index, GLenum pname, GLint *params)
2409 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2412 gl->getVertexAttribIiv(index, pname, params);
2415 void glwGetVertexAttribIuiv (GLuint index, GLenum pname, GLuint *params)
2417 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2420 gl->getVertexAttribIuiv(index, pname, params);
2423 void glwGetVertexAttribLdv (GLuint index, GLenum pname, GLdouble *params)
2425 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2428 gl->getVertexAttribLdv(index, pname, params);
2431 void glwGetVertexAttribPointerv (GLuint index, GLenum pname, void **pointer)
2433 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2436 gl->getVertexAttribPointerv(index, pname, pointer);
2439 void glwGetVertexAttribdv (GLuint index, GLenum pname, GLdouble *params)
2441 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2444 gl->getVertexAttribdv(index, pname, params);
2447 void glwGetVertexAttribfv (GLuint index, GLenum pname, GLfloat *params)
2449 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2452 gl->getVertexAttribfv(index, pname, params);
2455 void glwGetVertexAttribiv (GLuint index, GLenum pname, GLint *params)
2457 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2460 gl->getVertexAttribiv(index, pname, params);
2463 void glwGetnCompressedTexImage (GLenum target, GLint lod, GLsizei bufSize, void *pixels)
2465 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2468 gl->getnCompressedTexImage(target, lod, bufSize, pixels);
2471 void glwGetnTexImage (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels)
2473 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2476 gl->getnTexImage(target, level, format, type, bufSize, pixels);
2479 void glwGetnUniformdv (GLuint program, GLint location, GLsizei bufSize, GLdouble *params)
2481 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2484 gl->getnUniformdv(program, location, bufSize, params);
2487 void glwGetnUniformfv (GLuint program, GLint location, GLsizei bufSize, GLfloat *params)
2489 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2492 gl->getnUniformfv(program, location, bufSize, params);
2495 void glwGetnUniformiv (GLuint program, GLint location, GLsizei bufSize, GLint *params)
2497 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2500 gl->getnUniformiv(program, location, bufSize, params);
2503 void glwGetnUniformuiv (GLuint program, GLint location, GLsizei bufSize, GLuint *params)
2505 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2508 gl->getnUniformuiv(program, location, bufSize, params);
2511 void glwHint (GLenum target, GLenum mode)
2513 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2516 gl->hint(target, mode);
2519 void glwInsertEventMarkerEXT (GLsizei length, const GLchar *marker)
2521 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2524 gl->insertEventMarkerEXT(length, marker);
2527 void glwInvalidateBufferData (GLuint buffer)
2529 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2532 gl->invalidateBufferData(buffer);
2535 void glwInvalidateBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr length)
2537 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2540 gl->invalidateBufferSubData(buffer, offset, length);
2543 void glwInvalidateFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments)
2545 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2548 gl->invalidateFramebuffer(target, numAttachments, attachments);
2551 void glwInvalidateNamedFramebufferData (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments)
2553 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2556 gl->invalidateNamedFramebufferData(framebuffer, numAttachments, attachments);
2559 void glwInvalidateNamedFramebufferSubData (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height)
2561 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2564 gl->invalidateNamedFramebufferSubData(framebuffer, numAttachments, attachments, x, y, width, height);
2567 void glwInvalidateSubFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height)
2569 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2572 gl->invalidateSubFramebuffer(target, numAttachments, attachments, x, y, width, height);
2575 void glwInvalidateTexImage (GLuint texture, GLint level)
2577 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2580 gl->invalidateTexImage(texture, level);
2583 void glwInvalidateTexSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth)
2585 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2588 gl->invalidateTexSubImage(texture, level, xoffset, yoffset, zoffset, width, height, depth);
2591 GLboolean glwIsBuffer (GLuint buffer)
2593 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2595 return (GLboolean)0;
2596 return gl->isBuffer(buffer);
2599 GLboolean glwIsEnabled (GLenum cap)
2601 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2603 return (GLboolean)0;
2604 return gl->isEnabled(cap);
2607 GLboolean glwIsEnabledi (GLenum target, GLuint index)
2609 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2611 return (GLboolean)0;
2612 return gl->isEnabledi(target, index);
2615 GLboolean glwIsFramebuffer (GLuint framebuffer)
2617 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2619 return (GLboolean)0;
2620 return gl->isFramebuffer(framebuffer);
2623 GLboolean glwIsProgram (GLuint program)
2625 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2627 return (GLboolean)0;
2628 return gl->isProgram(program);
2631 GLboolean glwIsProgramPipeline (GLuint pipeline)
2633 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2635 return (GLboolean)0;
2636 return gl->isProgramPipeline(pipeline);
2639 GLboolean glwIsQuery (GLuint id)
2641 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2643 return (GLboolean)0;
2644 return gl->isQuery(id);
2647 GLboolean glwIsRenderbuffer (GLuint renderbuffer)
2649 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2651 return (GLboolean)0;
2652 return gl->isRenderbuffer(renderbuffer);
2655 GLboolean glwIsSampler (GLuint sampler)
2657 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2659 return (GLboolean)0;
2660 return gl->isSampler(sampler);
2663 GLboolean glwIsShader (GLuint shader)
2665 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2667 return (GLboolean)0;
2668 return gl->isShader(shader);
2671 GLboolean glwIsSync (GLsync sync)
2673 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2675 return (GLboolean)0;
2676 return gl->isSync(sync);
2679 GLboolean glwIsTexture (GLuint texture)
2681 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2683 return (GLboolean)0;
2684 return gl->isTexture(texture);
2687 GLboolean glwIsTransformFeedback (GLuint id)
2689 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2691 return (GLboolean)0;
2692 return gl->isTransformFeedback(id);
2695 GLboolean glwIsVertexArray (GLuint array)
2697 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2699 return (GLboolean)0;
2700 return gl->isVertexArray(array);
2703 void glwLineWidth (GLfloat width)
2705 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2708 gl->lineWidth(width);
2711 void glwLinkProgram (GLuint program)
2713 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2716 gl->linkProgram(program);
2719 void glwLogicOp (GLenum opcode)
2721 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2724 gl->logicOp(opcode);
2727 void * glwMapBuffer (GLenum target, GLenum access)
2729 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2732 return gl->mapBuffer(target, access);
2735 void * glwMapBufferRange (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access)
2737 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2740 return gl->mapBufferRange(target, offset, length, access);
2743 void * glwMapNamedBuffer (GLuint buffer, GLenum access)
2745 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2748 return gl->mapNamedBuffer(buffer, access);
2751 void * glwMapNamedBufferRange (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access)
2753 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2756 return gl->mapNamedBufferRange(buffer, offset, length, access);
2759 void glwMemoryBarrier (GLbitfield barriers)
2761 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2764 gl->memoryBarrier(barriers);
2767 void glwMemoryBarrierByRegion (GLbitfield barriers)
2769 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2772 gl->memoryBarrierByRegion(barriers);
2775 void glwMinSampleShading (GLfloat value)
2777 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2780 gl->minSampleShading(value);
2783 void glwMultiDrawArrays (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount)
2785 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2788 gl->multiDrawArrays(mode, first, count, drawcount);
2791 void glwMultiDrawArraysIndirect (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride)
2793 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2796 gl->multiDrawArraysIndirect(mode, indirect, drawcount, stride);
2799 void glwMultiDrawElements (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount)
2801 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2804 gl->multiDrawElements(mode, count, type, indices, drawcount);
2807 void glwMultiDrawElementsBaseVertex (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount, const GLint *basevertex)
2809 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2812 gl->multiDrawElementsBaseVertex(mode, count, type, indices, drawcount, basevertex);
2815 void glwMultiDrawElementsIndirect (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride)
2817 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2820 gl->multiDrawElementsIndirect(mode, type, indirect, drawcount, stride);
2823 void glwNamedBufferData (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage)
2825 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2828 gl->namedBufferData(buffer, size, data, usage);
2831 void glwNamedBufferStorage (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags)
2833 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2836 gl->namedBufferStorage(buffer, size, data, flags);
2839 void glwNamedBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data)
2841 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2844 gl->namedBufferSubData(buffer, offset, size, data);
2847 void glwNamedFramebufferDrawBuffer (GLuint framebuffer, GLenum buf)
2849 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2852 gl->namedFramebufferDrawBuffer(framebuffer, buf);
2855 void glwNamedFramebufferDrawBuffers (GLuint framebuffer, GLsizei n, const GLenum *bufs)
2857 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2860 gl->namedFramebufferDrawBuffers(framebuffer, n, bufs);
2863 void glwNamedFramebufferParameteri (GLuint framebuffer, GLenum pname, GLint param)
2865 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2868 gl->namedFramebufferParameteri(framebuffer, pname, param);
2871 void glwNamedFramebufferReadBuffer (GLuint framebuffer, GLenum src)
2873 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2876 gl->namedFramebufferReadBuffer(framebuffer, src);
2879 void glwNamedFramebufferRenderbuffer (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer)
2881 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2884 gl->namedFramebufferRenderbuffer(framebuffer, attachment, renderbuffertarget, renderbuffer);
2887 void glwNamedFramebufferTexture (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level)
2889 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2892 gl->namedFramebufferTexture(framebuffer, attachment, texture, level);
2895 void glwNamedFramebufferTextureLayer (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer)
2897 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2900 gl->namedFramebufferTextureLayer(framebuffer, attachment, texture, level, layer);
2903 void glwNamedRenderbufferStorage (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height)
2905 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2908 gl->namedRenderbufferStorage(renderbuffer, internalformat, width, height);
2911 void glwNamedRenderbufferStorageMultisample (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height)
2913 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2916 gl->namedRenderbufferStorageMultisample(renderbuffer, samples, internalformat, width, height);
2919 void glwObjectLabel (GLenum identifier, GLuint name, GLsizei length, const GLchar *label)
2921 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2924 gl->objectLabel(identifier, name, length, label);
2927 void glwObjectPtrLabel (const void *ptr, GLsizei length, const GLchar *label)
2929 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2932 gl->objectPtrLabel(ptr, length, label);
2935 void glwPatchParameterfv (GLenum pname, const GLfloat *values)
2937 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2940 gl->patchParameterfv(pname, values);
2943 void glwPatchParameteri (GLenum pname, GLint value)
2945 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2948 gl->patchParameteri(pname, value);
2951 void glwPauseTransformFeedback (void)
2953 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2956 gl->pauseTransformFeedback();
2959 void glwPixelStoref (GLenum pname, GLfloat param)
2961 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2964 gl->pixelStoref(pname, param);
2967 void glwPixelStorei (GLenum pname, GLint param)
2969 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2972 gl->pixelStorei(pname, param);
2975 void glwPointParameterf (GLenum pname, GLfloat param)
2977 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2980 gl->pointParameterf(pname, param);
2983 void glwPointParameterfv (GLenum pname, const GLfloat *params)
2985 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2988 gl->pointParameterfv(pname, params);
2991 void glwPointParameteri (GLenum pname, GLint param)
2993 const glw::Functions* gl = glw::getCurrentThreadFunctions();
2996 gl->pointParameteri(pname, param);
2999 void glwPointParameteriv (GLenum pname, const GLint *params)
3001 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3004 gl->pointParameteriv(pname, params);
3007 void glwPointSize (GLfloat size)
3009 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3012 gl->pointSize(size);
3015 void glwPolygonMode (GLenum face, GLenum mode)
3017 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3020 gl->polygonMode(face, mode);
3023 void glwPolygonOffset (GLfloat factor, GLfloat units)
3025 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3028 gl->polygonOffset(factor, units);
3031 void glwPopDebugGroup (void)
3033 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3036 gl->popDebugGroup();
3039 void glwPopGroupMarkerEXT (void)
3041 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3044 gl->popGroupMarkerEXT();
3047 void glwPrimitiveBoundingBox (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW)
3049 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3052 gl->primitiveBoundingBox(minX, minY, minZ, minW, maxX, maxY, maxZ, maxW);
3055 void glwPrimitiveRestartIndex (GLuint index)
3057 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3060 gl->primitiveRestartIndex(index);
3063 void glwProgramBinary (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length)
3065 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3068 gl->programBinary(program, binaryFormat, binary, length);
3071 void glwProgramParameteri (GLuint program, GLenum pname, GLint value)
3073 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3076 gl->programParameteri(program, pname, value);
3079 void glwProgramUniform1d (GLuint program, GLint location, GLdouble v0)
3081 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3084 gl->programUniform1d(program, location, v0);
3087 void glwProgramUniform1dv (GLuint program, GLint location, GLsizei count, const GLdouble *value)
3089 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3092 gl->programUniform1dv(program, location, count, value);
3095 void glwProgramUniform1f (GLuint program, GLint location, GLfloat v0)
3097 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3100 gl->programUniform1f(program, location, v0);
3103 void glwProgramUniform1fv (GLuint program, GLint location, GLsizei count, const GLfloat *value)
3105 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3108 gl->programUniform1fv(program, location, count, value);
3111 void glwProgramUniform1i (GLuint program, GLint location, GLint v0)
3113 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3116 gl->programUniform1i(program, location, v0);
3119 void glwProgramUniform1iv (GLuint program, GLint location, GLsizei count, const GLint *value)
3121 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3124 gl->programUniform1iv(program, location, count, value);
3127 void glwProgramUniform1ui (GLuint program, GLint location, GLuint v0)
3129 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3132 gl->programUniform1ui(program, location, v0);
3135 void glwProgramUniform1uiv (GLuint program, GLint location, GLsizei count, const GLuint *value)
3137 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3140 gl->programUniform1uiv(program, location, count, value);
3143 void glwProgramUniform2d (GLuint program, GLint location, GLdouble v0, GLdouble v1)
3145 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3148 gl->programUniform2d(program, location, v0, v1);
3151 void glwProgramUniform2dv (GLuint program, GLint location, GLsizei count, const GLdouble *value)
3153 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3156 gl->programUniform2dv(program, location, count, value);
3159 void glwProgramUniform2f (GLuint program, GLint location, GLfloat v0, GLfloat v1)
3161 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3164 gl->programUniform2f(program, location, v0, v1);
3167 void glwProgramUniform2fv (GLuint program, GLint location, GLsizei count, const GLfloat *value)
3169 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3172 gl->programUniform2fv(program, location, count, value);
3175 void glwProgramUniform2i (GLuint program, GLint location, GLint v0, GLint v1)
3177 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3180 gl->programUniform2i(program, location, v0, v1);
3183 void glwProgramUniform2iv (GLuint program, GLint location, GLsizei count, const GLint *value)
3185 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3188 gl->programUniform2iv(program, location, count, value);
3191 void glwProgramUniform2ui (GLuint program, GLint location, GLuint v0, GLuint v1)
3193 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3196 gl->programUniform2ui(program, location, v0, v1);
3199 void glwProgramUniform2uiv (GLuint program, GLint location, GLsizei count, const GLuint *value)
3201 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3204 gl->programUniform2uiv(program, location, count, value);
3207 void glwProgramUniform3d (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2)
3209 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3212 gl->programUniform3d(program, location, v0, v1, v2);
3215 void glwProgramUniform3dv (GLuint program, GLint location, GLsizei count, const GLdouble *value)
3217 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3220 gl->programUniform3dv(program, location, count, value);
3223 void glwProgramUniform3f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2)
3225 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3228 gl->programUniform3f(program, location, v0, v1, v2);
3231 void glwProgramUniform3fv (GLuint program, GLint location, GLsizei count, const GLfloat *value)
3233 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3236 gl->programUniform3fv(program, location, count, value);
3239 void glwProgramUniform3i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2)
3241 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3244 gl->programUniform3i(program, location, v0, v1, v2);
3247 void glwProgramUniform3iv (GLuint program, GLint location, GLsizei count, const GLint *value)
3249 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3252 gl->programUniform3iv(program, location, count, value);
3255 void glwProgramUniform3ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2)
3257 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3260 gl->programUniform3ui(program, location, v0, v1, v2);
3263 void glwProgramUniform3uiv (GLuint program, GLint location, GLsizei count, const GLuint *value)
3265 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3268 gl->programUniform3uiv(program, location, count, value);
3271 void glwProgramUniform4d (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3)
3273 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3276 gl->programUniform4d(program, location, v0, v1, v2, v3);
3279 void glwProgramUniform4dv (GLuint program, GLint location, GLsizei count, const GLdouble *value)
3281 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3284 gl->programUniform4dv(program, location, count, value);
3287 void glwProgramUniform4f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3)
3289 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3292 gl->programUniform4f(program, location, v0, v1, v2, v3);
3295 void glwProgramUniform4fv (GLuint program, GLint location, GLsizei count, const GLfloat *value)
3297 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3300 gl->programUniform4fv(program, location, count, value);
3303 void glwProgramUniform4i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3)
3305 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3308 gl->programUniform4i(program, location, v0, v1, v2, v3);
3311 void glwProgramUniform4iv (GLuint program, GLint location, GLsizei count, const GLint *value)
3313 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3316 gl->programUniform4iv(program, location, count, value);
3319 void glwProgramUniform4ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3)
3321 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3324 gl->programUniform4ui(program, location, v0, v1, v2, v3);
3327 void glwProgramUniform4uiv (GLuint program, GLint location, GLsizei count, const GLuint *value)
3329 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3332 gl->programUniform4uiv(program, location, count, value);
3335 void glwProgramUniformMatrix2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
3337 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3340 gl->programUniformMatrix2dv(program, location, count, transpose, value);
3343 void glwProgramUniformMatrix2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
3345 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3348 gl->programUniformMatrix2fv(program, location, count, transpose, value);
3351 void glwProgramUniformMatrix2x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
3353 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3356 gl->programUniformMatrix2x3dv(program, location, count, transpose, value);
3359 void glwProgramUniformMatrix2x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
3361 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3364 gl->programUniformMatrix2x3fv(program, location, count, transpose, value);
3367 void glwProgramUniformMatrix2x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
3369 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3372 gl->programUniformMatrix2x4dv(program, location, count, transpose, value);
3375 void glwProgramUniformMatrix2x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
3377 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3380 gl->programUniformMatrix2x4fv(program, location, count, transpose, value);
3383 void glwProgramUniformMatrix3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
3385 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3388 gl->programUniformMatrix3dv(program, location, count, transpose, value);
3391 void glwProgramUniformMatrix3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
3393 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3396 gl->programUniformMatrix3fv(program, location, count, transpose, value);
3399 void glwProgramUniformMatrix3x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
3401 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3404 gl->programUniformMatrix3x2dv(program, location, count, transpose, value);
3407 void glwProgramUniformMatrix3x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
3409 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3412 gl->programUniformMatrix3x2fv(program, location, count, transpose, value);
3415 void glwProgramUniformMatrix3x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
3417 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3420 gl->programUniformMatrix3x4dv(program, location, count, transpose, value);
3423 void glwProgramUniformMatrix3x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
3425 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3428 gl->programUniformMatrix3x4fv(program, location, count, transpose, value);
3431 void glwProgramUniformMatrix4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
3433 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3436 gl->programUniformMatrix4dv(program, location, count, transpose, value);
3439 void glwProgramUniformMatrix4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
3441 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3444 gl->programUniformMatrix4fv(program, location, count, transpose, value);
3447 void glwProgramUniformMatrix4x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
3449 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3452 gl->programUniformMatrix4x2dv(program, location, count, transpose, value);
3455 void glwProgramUniformMatrix4x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
3457 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3460 gl->programUniformMatrix4x2fv(program, location, count, transpose, value);
3463 void glwProgramUniformMatrix4x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
3465 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3468 gl->programUniformMatrix4x3dv(program, location, count, transpose, value);
3471 void glwProgramUniformMatrix4x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
3473 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3476 gl->programUniformMatrix4x3fv(program, location, count, transpose, value);
3479 void glwProvokingVertex (GLenum mode)
3481 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3484 gl->provokingVertex(mode);
3487 void glwPushDebugGroup (GLenum source, GLuint id, GLsizei length, const GLchar *message)
3489 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3492 gl->pushDebugGroup(source, id, length, message);
3495 void glwPushGroupMarkerEXT (GLsizei length, const GLchar *marker)
3497 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3500 gl->pushGroupMarkerEXT(length, marker);
3503 void glwQueryCounter (GLuint id, GLenum target)
3505 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3508 gl->queryCounter(id, target);
3511 void glwReadBuffer (GLenum src)
3513 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3516 gl->readBuffer(src);
3519 void glwReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels)
3521 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3524 gl->readPixels(x, y, width, height, format, type, pixels);
3527 void glwReadnPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data)
3529 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3532 gl->readnPixels(x, y, width, height, format, type, bufSize, data);
3535 void glwReleaseShaderCompiler (void)
3537 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3540 gl->releaseShaderCompiler();
3543 void glwRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height)
3545 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3548 gl->renderbufferStorage(target, internalformat, width, height);
3551 void glwRenderbufferStorageMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height)
3553 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3556 gl->renderbufferStorageMultisample(target, samples, internalformat, width, height);
3559 void glwResumeTransformFeedback (void)
3561 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3564 gl->resumeTransformFeedback();
3567 void glwSampleCoverage (GLfloat value, GLboolean invert)
3569 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3572 gl->sampleCoverage(value, invert);
3575 void glwSampleMaski (GLuint maskNumber, GLbitfield mask)
3577 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3580 gl->sampleMaski(maskNumber, mask);
3583 void glwSamplerParameterIiv (GLuint sampler, GLenum pname, const GLint *param)
3585 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3588 gl->samplerParameterIiv(sampler, pname, param);
3591 void glwSamplerParameterIuiv (GLuint sampler, GLenum pname, const GLuint *param)
3593 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3596 gl->samplerParameterIuiv(sampler, pname, param);
3599 void glwSamplerParameterf (GLuint sampler, GLenum pname, GLfloat param)
3601 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3604 gl->samplerParameterf(sampler, pname, param);
3607 void glwSamplerParameterfv (GLuint sampler, GLenum pname, const GLfloat *param)
3609 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3612 gl->samplerParameterfv(sampler, pname, param);
3615 void glwSamplerParameteri (GLuint sampler, GLenum pname, GLint param)
3617 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3620 gl->samplerParameteri(sampler, pname, param);
3623 void glwSamplerParameteriv (GLuint sampler, GLenum pname, const GLint *param)
3625 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3628 gl->samplerParameteriv(sampler, pname, param);
3631 void glwScissor (GLint x, GLint y, GLsizei width, GLsizei height)
3633 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3636 gl->scissor(x, y, width, height);
3639 void glwScissorArrayv (GLuint first, GLsizei count, const GLint *v)
3641 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3644 gl->scissorArrayv(first, count, v);
3647 void glwScissorIndexed (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height)
3649 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3652 gl->scissorIndexed(index, left, bottom, width, height);
3655 void glwScissorIndexedv (GLuint index, const GLint *v)
3657 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3660 gl->scissorIndexedv(index, v);
3663 void glwShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length)
3665 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3668 gl->shaderBinary(count, shaders, binaryformat, binary, length);
3671 void glwShaderSource (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length)
3673 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3676 gl->shaderSource(shader, count, string, length);
3679 void glwShaderStorageBlockBinding (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding)
3681 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3684 gl->shaderStorageBlockBinding(program, storageBlockIndex, storageBlockBinding);
3687 void glwStencilFunc (GLenum func, GLint ref, GLuint mask)
3689 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3692 gl->stencilFunc(func, ref, mask);
3695 void glwStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask)
3697 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3700 gl->stencilFuncSeparate(face, func, ref, mask);
3703 void glwStencilMask (GLuint mask)
3705 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3708 gl->stencilMask(mask);
3711 void glwStencilMaskSeparate (GLenum face, GLuint mask)
3713 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3716 gl->stencilMaskSeparate(face, mask);
3719 void glwStencilOp (GLenum fail, GLenum zfail, GLenum zpass)
3721 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3724 gl->stencilOp(fail, zfail, zpass);
3727 void glwStencilOpSeparate (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass)
3729 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3732 gl->stencilOpSeparate(face, sfail, dpfail, dppass);
3735 void glwTexBuffer (GLenum target, GLenum internalformat, GLuint buffer)
3737 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3740 gl->texBuffer(target, internalformat, buffer);
3743 void glwTexBufferRange (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size)
3745 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3748 gl->texBufferRange(target, internalformat, buffer, offset, size);
3751 void glwTexImage1D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels)
3753 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3756 gl->texImage1D(target, level, internalformat, width, border, format, type, pixels);
3759 void glwTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels)
3761 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3764 gl->texImage2D(target, level, internalformat, width, height, border, format, type, pixels);
3767 void glwTexImage2DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations)
3769 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3772 gl->texImage2DMultisample(target, samples, internalformat, width, height, fixedsamplelocations);
3775 void glwTexImage3D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels)
3777 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3780 gl->texImage3D(target, level, internalformat, width, height, depth, border, format, type, pixels);
3783 void glwTexImage3DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations)
3785 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3788 gl->texImage3DMultisample(target, samples, internalformat, width, height, depth, fixedsamplelocations);
3791 void glwTexParameterIiv (GLenum target, GLenum pname, const GLint *params)
3793 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3796 gl->texParameterIiv(target, pname, params);
3799 void glwTexParameterIuiv (GLenum target, GLenum pname, const GLuint *params)
3801 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3804 gl->texParameterIuiv(target, pname, params);
3807 void glwTexParameterf (GLenum target, GLenum pname, GLfloat param)
3809 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3812 gl->texParameterf(target, pname, param);
3815 void glwTexParameterfv (GLenum target, GLenum pname, const GLfloat *params)
3817 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3820 gl->texParameterfv(target, pname, params);
3823 void glwTexParameteri (GLenum target, GLenum pname, GLint param)
3825 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3828 gl->texParameteri(target, pname, param);
3831 void glwTexParameteriv (GLenum target, GLenum pname, const GLint *params)
3833 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3836 gl->texParameteriv(target, pname, params);
3839 void glwTexStorage1D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width)
3841 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3844 gl->texStorage1D(target, levels, internalformat, width);
3847 void glwTexStorage2D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height)
3849 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3852 gl->texStorage2D(target, levels, internalformat, width, height);
3855 void glwTexStorage2DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations)
3857 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3860 gl->texStorage2DMultisample(target, samples, internalformat, width, height, fixedsamplelocations);
3863 void glwTexStorage3D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth)
3865 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3868 gl->texStorage3D(target, levels, internalformat, width, height, depth);
3871 void glwTexStorage3DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations)
3873 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3876 gl->texStorage3DMultisample(target, samples, internalformat, width, height, depth, fixedsamplelocations);
3879 void glwTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels)
3881 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3884 gl->texSubImage1D(target, level, xoffset, width, format, type, pixels);
3887 void glwTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels)
3889 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3892 gl->texSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels);
3895 void glwTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels)
3897 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3900 gl->texSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels);
3903 void glwTextureBarrier (void)
3905 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3908 gl->textureBarrier();
3911 void glwTextureBuffer (GLuint texture, GLenum internalformat, GLuint buffer)
3913 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3916 gl->textureBuffer(texture, internalformat, buffer);
3919 void glwTextureBufferRange (GLuint texture, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size)
3921 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3924 gl->textureBufferRange(texture, internalformat, buffer, offset, size);
3927 void glwTextureParameterIiv (GLuint texture, GLenum pname, const GLint *params)
3929 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3932 gl->textureParameterIiv(texture, pname, params);
3935 void glwTextureParameterIuiv (GLuint texture, GLenum pname, const GLuint *params)
3937 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3940 gl->textureParameterIuiv(texture, pname, params);
3943 void glwTextureParameterf (GLuint texture, GLenum pname, GLfloat param)
3945 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3948 gl->textureParameterf(texture, pname, param);
3951 void glwTextureParameterfv (GLuint texture, GLenum pname, const GLfloat *param)
3953 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3956 gl->textureParameterfv(texture, pname, param);
3959 void glwTextureParameteri (GLuint texture, GLenum pname, GLint param)
3961 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3964 gl->textureParameteri(texture, pname, param);
3967 void glwTextureParameteriv (GLuint texture, GLenum pname, const GLint *param)
3969 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3972 gl->textureParameteriv(texture, pname, param);
3975 void glwTextureStorage1D (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width)
3977 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3980 gl->textureStorage1D(texture, levels, internalformat, width);
3983 void glwTextureStorage2D (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height)
3985 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3988 gl->textureStorage2D(texture, levels, internalformat, width, height);
3991 void glwTextureStorage2DMultisample (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations)
3993 const glw::Functions* gl = glw::getCurrentThreadFunctions();
3996 gl->textureStorage2DMultisample(texture, samples, internalformat, width, height, fixedsamplelocations);
3999 void glwTextureStorage3D (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth)
4001 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4004 gl->textureStorage3D(texture, levels, internalformat, width, height, depth);
4007 void glwTextureStorage3DMultisample (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations)
4009 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4012 gl->textureStorage3DMultisample(texture, samples, internalformat, width, height, depth, fixedsamplelocations);
4015 void glwTextureSubImage1D (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels)
4017 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4020 gl->textureSubImage1D(texture, level, xoffset, width, format, type, pixels);
4023 void glwTextureSubImage2D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels)
4025 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4028 gl->textureSubImage2D(texture, level, xoffset, yoffset, width, height, format, type, pixels);
4031 void glwTextureSubImage3D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels)
4033 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4036 gl->textureSubImage3D(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels);
4039 void glwTextureView (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers)
4041 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4044 gl->textureView(texture, target, origtexture, internalformat, minlevel, numlevels, minlayer, numlayers);
4047 void glwTransformFeedbackBufferBase (GLuint xfb, GLuint index, GLuint buffer)
4049 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4052 gl->transformFeedbackBufferBase(xfb, index, buffer);
4055 void glwTransformFeedbackBufferRange (GLuint xfb, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size)
4057 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4060 gl->transformFeedbackBufferRange(xfb, index, buffer, offset, size);
4063 void glwTransformFeedbackVaryings (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode)
4065 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4068 gl->transformFeedbackVaryings(program, count, varyings, bufferMode);
4071 void glwUniform1d (GLint location, GLdouble x)
4073 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4076 gl->uniform1d(location, x);
4079 void glwUniform1dv (GLint location, GLsizei count, const GLdouble *value)
4081 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4084 gl->uniform1dv(location, count, value);
4087 void glwUniform1f (GLint location, GLfloat v0)
4089 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4092 gl->uniform1f(location, v0);
4095 void glwUniform1fv (GLint location, GLsizei count, const GLfloat *value)
4097 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4100 gl->uniform1fv(location, count, value);
4103 void glwUniform1i (GLint location, GLint v0)
4105 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4108 gl->uniform1i(location, v0);
4111 void glwUniform1iv (GLint location, GLsizei count, const GLint *value)
4113 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4116 gl->uniform1iv(location, count, value);
4119 void glwUniform1ui (GLint location, GLuint v0)
4121 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4124 gl->uniform1ui(location, v0);
4127 void glwUniform1uiv (GLint location, GLsizei count, const GLuint *value)
4129 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4132 gl->uniform1uiv(location, count, value);
4135 void glwUniform2d (GLint location, GLdouble x, GLdouble y)
4137 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4140 gl->uniform2d(location, x, y);
4143 void glwUniform2dv (GLint location, GLsizei count, const GLdouble *value)
4145 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4148 gl->uniform2dv(location, count, value);
4151 void glwUniform2f (GLint location, GLfloat v0, GLfloat v1)
4153 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4156 gl->uniform2f(location, v0, v1);
4159 void glwUniform2fv (GLint location, GLsizei count, const GLfloat *value)
4161 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4164 gl->uniform2fv(location, count, value);
4167 void glwUniform2i (GLint location, GLint v0, GLint v1)
4169 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4172 gl->uniform2i(location, v0, v1);
4175 void glwUniform2iv (GLint location, GLsizei count, const GLint *value)
4177 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4180 gl->uniform2iv(location, count, value);
4183 void glwUniform2ui (GLint location, GLuint v0, GLuint v1)
4185 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4188 gl->uniform2ui(location, v0, v1);
4191 void glwUniform2uiv (GLint location, GLsizei count, const GLuint *value)
4193 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4196 gl->uniform2uiv(location, count, value);
4199 void glwUniform3d (GLint location, GLdouble x, GLdouble y, GLdouble z)
4201 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4204 gl->uniform3d(location, x, y, z);
4207 void glwUniform3dv (GLint location, GLsizei count, const GLdouble *value)
4209 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4212 gl->uniform3dv(location, count, value);
4215 void glwUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2)
4217 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4220 gl->uniform3f(location, v0, v1, v2);
4223 void glwUniform3fv (GLint location, GLsizei count, const GLfloat *value)
4225 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4228 gl->uniform3fv(location, count, value);
4231 void glwUniform3i (GLint location, GLint v0, GLint v1, GLint v2)
4233 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4236 gl->uniform3i(location, v0, v1, v2);
4239 void glwUniform3iv (GLint location, GLsizei count, const GLint *value)
4241 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4244 gl->uniform3iv(location, count, value);
4247 void glwUniform3ui (GLint location, GLuint v0, GLuint v1, GLuint v2)
4249 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4252 gl->uniform3ui(location, v0, v1, v2);
4255 void glwUniform3uiv (GLint location, GLsizei count, const GLuint *value)
4257 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4260 gl->uniform3uiv(location, count, value);
4263 void glwUniform4d (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w)
4265 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4268 gl->uniform4d(location, x, y, z, w);
4271 void glwUniform4dv (GLint location, GLsizei count, const GLdouble *value)
4273 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4276 gl->uniform4dv(location, count, value);
4279 void glwUniform4f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3)
4281 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4284 gl->uniform4f(location, v0, v1, v2, v3);
4287 void glwUniform4fv (GLint location, GLsizei count, const GLfloat *value)
4289 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4292 gl->uniform4fv(location, count, value);
4295 void glwUniform4i (GLint location, GLint v0, GLint v1, GLint v2, GLint v3)
4297 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4300 gl->uniform4i(location, v0, v1, v2, v3);
4303 void glwUniform4iv (GLint location, GLsizei count, const GLint *value)
4305 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4308 gl->uniform4iv(location, count, value);
4311 void glwUniform4ui (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3)
4313 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4316 gl->uniform4ui(location, v0, v1, v2, v3);
4319 void glwUniform4uiv (GLint location, GLsizei count, const GLuint *value)
4321 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4324 gl->uniform4uiv(location, count, value);
4327 void glwUniformBlockBinding (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding)
4329 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4332 gl->uniformBlockBinding(program, uniformBlockIndex, uniformBlockBinding);
4335 void glwUniformMatrix2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
4337 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4340 gl->uniformMatrix2dv(location, count, transpose, value);
4343 void glwUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
4345 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4348 gl->uniformMatrix2fv(location, count, transpose, value);
4351 void glwUniformMatrix2x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
4353 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4356 gl->uniformMatrix2x3dv(location, count, transpose, value);
4359 void glwUniformMatrix2x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
4361 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4364 gl->uniformMatrix2x3fv(location, count, transpose, value);
4367 void glwUniformMatrix2x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
4369 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4372 gl->uniformMatrix2x4dv(location, count, transpose, value);
4375 void glwUniformMatrix2x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
4377 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4380 gl->uniformMatrix2x4fv(location, count, transpose, value);
4383 void glwUniformMatrix3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
4385 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4388 gl->uniformMatrix3dv(location, count, transpose, value);
4391 void glwUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
4393 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4396 gl->uniformMatrix3fv(location, count, transpose, value);
4399 void glwUniformMatrix3x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
4401 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4404 gl->uniformMatrix3x2dv(location, count, transpose, value);
4407 void glwUniformMatrix3x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
4409 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4412 gl->uniformMatrix3x2fv(location, count, transpose, value);
4415 void glwUniformMatrix3x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
4417 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4420 gl->uniformMatrix3x4dv(location, count, transpose, value);
4423 void glwUniformMatrix3x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
4425 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4428 gl->uniformMatrix3x4fv(location, count, transpose, value);
4431 void glwUniformMatrix4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
4433 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4436 gl->uniformMatrix4dv(location, count, transpose, value);
4439 void glwUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
4441 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4444 gl->uniformMatrix4fv(location, count, transpose, value);
4447 void glwUniformMatrix4x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
4449 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4452 gl->uniformMatrix4x2dv(location, count, transpose, value);
4455 void glwUniformMatrix4x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
4457 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4460 gl->uniformMatrix4x2fv(location, count, transpose, value);
4463 void glwUniformMatrix4x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
4465 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4468 gl->uniformMatrix4x3dv(location, count, transpose, value);
4471 void glwUniformMatrix4x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
4473 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4476 gl->uniformMatrix4x3fv(location, count, transpose, value);
4479 void glwUniformSubroutinesuiv (GLenum shadertype, GLsizei count, const GLuint *indices)
4481 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4484 gl->uniformSubroutinesuiv(shadertype, count, indices);
4487 GLboolean glwUnmapBuffer (GLenum target)
4489 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4491 return (GLboolean)0;
4492 return gl->unmapBuffer(target);
4495 GLboolean glwUnmapNamedBuffer (GLuint buffer)
4497 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4499 return (GLboolean)0;
4500 return gl->unmapNamedBuffer(buffer);
4503 void glwUseProgram (GLuint program)
4505 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4508 gl->useProgram(program);
4511 void glwUseProgramStages (GLuint pipeline, GLbitfield stages, GLuint program)
4513 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4516 gl->useProgramStages(pipeline, stages, program);
4519 void glwValidateProgram (GLuint program)
4521 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4524 gl->validateProgram(program);
4527 void glwValidateProgramPipeline (GLuint pipeline)
4529 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4532 gl->validateProgramPipeline(pipeline);
4535 void glwVertexArrayAttribBinding (GLuint vaobj, GLuint attribindex, GLuint bindingindex)
4537 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4540 gl->vertexArrayAttribBinding(vaobj, attribindex, bindingindex);
4543 void glwVertexArrayAttribFormat (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset)
4545 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4548 gl->vertexArrayAttribFormat(vaobj, attribindex, size, type, normalized, relativeoffset);
4551 void glwVertexArrayAttribIFormat (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset)
4553 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4556 gl->vertexArrayAttribIFormat(vaobj, attribindex, size, type, relativeoffset);
4559 void glwVertexArrayAttribLFormat (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset)
4561 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4564 gl->vertexArrayAttribLFormat(vaobj, attribindex, size, type, relativeoffset);
4567 void glwVertexArrayBindingDivisor (GLuint vaobj, GLuint bindingindex, GLuint divisor)
4569 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4572 gl->vertexArrayBindingDivisor(vaobj, bindingindex, divisor);
4575 void glwVertexArrayElementBuffer (GLuint vaobj, GLuint buffer)
4577 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4580 gl->vertexArrayElementBuffer(vaobj, buffer);
4583 void glwVertexArrayVertexBuffer (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride)
4585 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4588 gl->vertexArrayVertexBuffer(vaobj, bindingindex, buffer, offset, stride);
4591 void glwVertexArrayVertexBuffers (GLuint vaobj, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides)
4593 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4596 gl->vertexArrayVertexBuffers(vaobj, first, count, buffers, offsets, strides);
4599 void glwVertexAttrib1d (GLuint index, GLdouble x)
4601 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4604 gl->vertexAttrib1d(index, x);
4607 void glwVertexAttrib1dv (GLuint index, const GLdouble *v)
4609 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4612 gl->vertexAttrib1dv(index, v);
4615 void glwVertexAttrib1f (GLuint index, GLfloat x)
4617 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4620 gl->vertexAttrib1f(index, x);
4623 void glwVertexAttrib1fv (GLuint index, const GLfloat *v)
4625 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4628 gl->vertexAttrib1fv(index, v);
4631 void glwVertexAttrib1s (GLuint index, GLshort x)
4633 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4636 gl->vertexAttrib1s(index, x);
4639 void glwVertexAttrib1sv (GLuint index, const GLshort *v)
4641 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4644 gl->vertexAttrib1sv(index, v);
4647 void glwVertexAttrib2d (GLuint index, GLdouble x, GLdouble y)
4649 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4652 gl->vertexAttrib2d(index, x, y);
4655 void glwVertexAttrib2dv (GLuint index, const GLdouble *v)
4657 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4660 gl->vertexAttrib2dv(index, v);
4663 void glwVertexAttrib2f (GLuint index, GLfloat x, GLfloat y)
4665 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4668 gl->vertexAttrib2f(index, x, y);
4671 void glwVertexAttrib2fv (GLuint index, const GLfloat *v)
4673 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4676 gl->vertexAttrib2fv(index, v);
4679 void glwVertexAttrib2s (GLuint index, GLshort x, GLshort y)
4681 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4684 gl->vertexAttrib2s(index, x, y);
4687 void glwVertexAttrib2sv (GLuint index, const GLshort *v)
4689 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4692 gl->vertexAttrib2sv(index, v);
4695 void glwVertexAttrib3d (GLuint index, GLdouble x, GLdouble y, GLdouble z)
4697 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4700 gl->vertexAttrib3d(index, x, y, z);
4703 void glwVertexAttrib3dv (GLuint index, const GLdouble *v)
4705 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4708 gl->vertexAttrib3dv(index, v);
4711 void glwVertexAttrib3f (GLuint index, GLfloat x, GLfloat y, GLfloat z)
4713 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4716 gl->vertexAttrib3f(index, x, y, z);
4719 void glwVertexAttrib3fv (GLuint index, const GLfloat *v)
4721 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4724 gl->vertexAttrib3fv(index, v);
4727 void glwVertexAttrib3s (GLuint index, GLshort x, GLshort y, GLshort z)
4729 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4732 gl->vertexAttrib3s(index, x, y, z);
4735 void glwVertexAttrib3sv (GLuint index, const GLshort *v)
4737 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4740 gl->vertexAttrib3sv(index, v);
4743 void glwVertexAttrib4Nbv (GLuint index, const GLbyte *v)
4745 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4748 gl->vertexAttrib4Nbv(index, v);
4751 void glwVertexAttrib4Niv (GLuint index, const GLint *v)
4753 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4756 gl->vertexAttrib4Niv(index, v);
4759 void glwVertexAttrib4Nsv (GLuint index, const GLshort *v)
4761 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4764 gl->vertexAttrib4Nsv(index, v);
4767 void glwVertexAttrib4Nub (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w)
4769 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4772 gl->vertexAttrib4Nub(index, x, y, z, w);
4775 void glwVertexAttrib4Nubv (GLuint index, const GLubyte *v)
4777 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4780 gl->vertexAttrib4Nubv(index, v);
4783 void glwVertexAttrib4Nuiv (GLuint index, const GLuint *v)
4785 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4788 gl->vertexAttrib4Nuiv(index, v);
4791 void glwVertexAttrib4Nusv (GLuint index, const GLushort *v)
4793 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4796 gl->vertexAttrib4Nusv(index, v);
4799 void glwVertexAttrib4bv (GLuint index, const GLbyte *v)
4801 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4804 gl->vertexAttrib4bv(index, v);
4807 void glwVertexAttrib4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w)
4809 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4812 gl->vertexAttrib4d(index, x, y, z, w);
4815 void glwVertexAttrib4dv (GLuint index, const GLdouble *v)
4817 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4820 gl->vertexAttrib4dv(index, v);
4823 void glwVertexAttrib4f (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w)
4825 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4828 gl->vertexAttrib4f(index, x, y, z, w);
4831 void glwVertexAttrib4fv (GLuint index, const GLfloat *v)
4833 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4836 gl->vertexAttrib4fv(index, v);
4839 void glwVertexAttrib4iv (GLuint index, const GLint *v)
4841 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4844 gl->vertexAttrib4iv(index, v);
4847 void glwVertexAttrib4s (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w)
4849 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4852 gl->vertexAttrib4s(index, x, y, z, w);
4855 void glwVertexAttrib4sv (GLuint index, const GLshort *v)
4857 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4860 gl->vertexAttrib4sv(index, v);
4863 void glwVertexAttrib4ubv (GLuint index, const GLubyte *v)
4865 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4868 gl->vertexAttrib4ubv(index, v);
4871 void glwVertexAttrib4uiv (GLuint index, const GLuint *v)
4873 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4876 gl->vertexAttrib4uiv(index, v);
4879 void glwVertexAttrib4usv (GLuint index, const GLushort *v)
4881 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4884 gl->vertexAttrib4usv(index, v);
4887 void glwVertexAttribBinding (GLuint attribindex, GLuint bindingindex)
4889 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4892 gl->vertexAttribBinding(attribindex, bindingindex);
4895 void glwVertexAttribDivisor (GLuint index, GLuint divisor)
4897 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4900 gl->vertexAttribDivisor(index, divisor);
4903 void glwVertexAttribFormat (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset)
4905 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4908 gl->vertexAttribFormat(attribindex, size, type, normalized, relativeoffset);
4911 void glwVertexAttribI1i (GLuint index, GLint x)
4913 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4916 gl->vertexAttribI1i(index, x);
4919 void glwVertexAttribI1iv (GLuint index, const GLint *v)
4921 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4924 gl->vertexAttribI1iv(index, v);
4927 void glwVertexAttribI1ui (GLuint index, GLuint x)
4929 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4932 gl->vertexAttribI1ui(index, x);
4935 void glwVertexAttribI1uiv (GLuint index, const GLuint *v)
4937 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4940 gl->vertexAttribI1uiv(index, v);
4943 void glwVertexAttribI2i (GLuint index, GLint x, GLint y)
4945 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4948 gl->vertexAttribI2i(index, x, y);
4951 void glwVertexAttribI2iv (GLuint index, const GLint *v)
4953 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4956 gl->vertexAttribI2iv(index, v);
4959 void glwVertexAttribI2ui (GLuint index, GLuint x, GLuint y)
4961 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4964 gl->vertexAttribI2ui(index, x, y);
4967 void glwVertexAttribI2uiv (GLuint index, const GLuint *v)
4969 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4972 gl->vertexAttribI2uiv(index, v);
4975 void glwVertexAttribI3i (GLuint index, GLint x, GLint y, GLint z)
4977 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4980 gl->vertexAttribI3i(index, x, y, z);
4983 void glwVertexAttribI3iv (GLuint index, const GLint *v)
4985 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4988 gl->vertexAttribI3iv(index, v);
4991 void glwVertexAttribI3ui (GLuint index, GLuint x, GLuint y, GLuint z)
4993 const glw::Functions* gl = glw::getCurrentThreadFunctions();
4996 gl->vertexAttribI3ui(index, x, y, z);
4999 void glwVertexAttribI3uiv (GLuint index, const GLuint *v)
5001 const glw::Functions* gl = glw::getCurrentThreadFunctions();
5004 gl->vertexAttribI3uiv(index, v);
5007 void glwVertexAttribI4bv (GLuint index, const GLbyte *v)
5009 const glw::Functions* gl = glw::getCurrentThreadFunctions();
5012 gl->vertexAttribI4bv(index, v);
5015 void glwVertexAttribI4i (GLuint index, GLint x, GLint y, GLint z, GLint w)
5017 const glw::Functions* gl = glw::getCurrentThreadFunctions();
5020 gl->vertexAttribI4i(index, x, y, z, w);
5023 void glwVertexAttribI4iv (GLuint index, const GLint *v)
5025 const glw::Functions* gl = glw::getCurrentThreadFunctions();
5028 gl->vertexAttribI4iv(index, v);
5031 void glwVertexAttribI4sv (GLuint index, const GLshort *v)
5033 const glw::Functions* gl = glw::getCurrentThreadFunctions();
5036 gl->vertexAttribI4sv(index, v);
5039 void glwVertexAttribI4ubv (GLuint index, const GLubyte *v)
5041 const glw::Functions* gl = glw::getCurrentThreadFunctions();
5044 gl->vertexAttribI4ubv(index, v);
5047 void glwVertexAttribI4ui (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w)
5049 const glw::Functions* gl = glw::getCurrentThreadFunctions();
5052 gl->vertexAttribI4ui(index, x, y, z, w);
5055 void glwVertexAttribI4uiv (GLuint index, const GLuint *v)
5057 const glw::Functions* gl = glw::getCurrentThreadFunctions();
5060 gl->vertexAttribI4uiv(index, v);
5063 void glwVertexAttribI4usv (GLuint index, const GLushort *v)
5065 const glw::Functions* gl = glw::getCurrentThreadFunctions();
5068 gl->vertexAttribI4usv(index, v);
5071 void glwVertexAttribIFormat (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset)
5073 const glw::Functions* gl = glw::getCurrentThreadFunctions();
5076 gl->vertexAttribIFormat(attribindex, size, type, relativeoffset);
5079 void glwVertexAttribIPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer)
5081 const glw::Functions* gl = glw::getCurrentThreadFunctions();
5084 gl->vertexAttribIPointer(index, size, type, stride, pointer);
5087 void glwVertexAttribL1d (GLuint index, GLdouble x)
5089 const glw::Functions* gl = glw::getCurrentThreadFunctions();
5092 gl->vertexAttribL1d(index, x);
5095 void glwVertexAttribL1dv (GLuint index, const GLdouble *v)
5097 const glw::Functions* gl = glw::getCurrentThreadFunctions();
5100 gl->vertexAttribL1dv(index, v);
5103 void glwVertexAttribL2d (GLuint index, GLdouble x, GLdouble y)
5105 const glw::Functions* gl = glw::getCurrentThreadFunctions();
5108 gl->vertexAttribL2d(index, x, y);
5111 void glwVertexAttribL2dv (GLuint index, const GLdouble *v)
5113 const glw::Functions* gl = glw::getCurrentThreadFunctions();
5116 gl->vertexAttribL2dv(index, v);
5119 void glwVertexAttribL3d (GLuint index, GLdouble x, GLdouble y, GLdouble z)
5121 const glw::Functions* gl = glw::getCurrentThreadFunctions();
5124 gl->vertexAttribL3d(index, x, y, z);
5127 void glwVertexAttribL3dv (GLuint index, const GLdouble *v)
5129 const glw::Functions* gl = glw::getCurrentThreadFunctions();
5132 gl->vertexAttribL3dv(index, v);
5135 void glwVertexAttribL4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w)
5137 const glw::Functions* gl = glw::getCurrentThreadFunctions();
5140 gl->vertexAttribL4d(index, x, y, z, w);
5143 void glwVertexAttribL4dv (GLuint index, const GLdouble *v)
5145 const glw::Functions* gl = glw::getCurrentThreadFunctions();
5148 gl->vertexAttribL4dv(index, v);
5151 void glwVertexAttribLFormat (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset)
5153 const glw::Functions* gl = glw::getCurrentThreadFunctions();
5156 gl->vertexAttribLFormat(attribindex, size, type, relativeoffset);
5159 void glwVertexAttribLPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer)
5161 const glw::Functions* gl = glw::getCurrentThreadFunctions();
5164 gl->vertexAttribLPointer(index, size, type, stride, pointer);
5167 void glwVertexAttribP1ui (GLuint index, GLenum type, GLboolean normalized, GLuint value)
5169 const glw::Functions* gl = glw::getCurrentThreadFunctions();
5172 gl->vertexAttribP1ui(index, type, normalized, value);
5175 void glwVertexAttribP1uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value)
5177 const glw::Functions* gl = glw::getCurrentThreadFunctions();
5180 gl->vertexAttribP1uiv(index, type, normalized, value);
5183 void glwVertexAttribP2ui (GLuint index, GLenum type, GLboolean normalized, GLuint value)
5185 const glw::Functions* gl = glw::getCurrentThreadFunctions();
5188 gl->vertexAttribP2ui(index, type, normalized, value);
5191 void glwVertexAttribP2uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value)
5193 const glw::Functions* gl = glw::getCurrentThreadFunctions();
5196 gl->vertexAttribP2uiv(index, type, normalized, value);
5199 void glwVertexAttribP3ui (GLuint index, GLenum type, GLboolean normalized, GLuint value)
5201 const glw::Functions* gl = glw::getCurrentThreadFunctions();
5204 gl->vertexAttribP3ui(index, type, normalized, value);
5207 void glwVertexAttribP3uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value)
5209 const glw::Functions* gl = glw::getCurrentThreadFunctions();
5212 gl->vertexAttribP3uiv(index, type, normalized, value);
5215 void glwVertexAttribP4ui (GLuint index, GLenum type, GLboolean normalized, GLuint value)
5217 const glw::Functions* gl = glw::getCurrentThreadFunctions();
5220 gl->vertexAttribP4ui(index, type, normalized, value);
5223 void glwVertexAttribP4uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value)
5225 const glw::Functions* gl = glw::getCurrentThreadFunctions();
5228 gl->vertexAttribP4uiv(index, type, normalized, value);
5231 void glwVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer)
5233 const glw::Functions* gl = glw::getCurrentThreadFunctions();
5236 gl->vertexAttribPointer(index, size, type, normalized, stride, pointer);
5239 void glwVertexBindingDivisor (GLuint bindingindex, GLuint divisor)
5241 const glw::Functions* gl = glw::getCurrentThreadFunctions();
5244 gl->vertexBindingDivisor(bindingindex, divisor);
5247 void glwViewport (GLint x, GLint y, GLsizei width, GLsizei height)
5249 const glw::Functions* gl = glw::getCurrentThreadFunctions();
5252 gl->viewport(x, y, width, height);
5255 void glwViewportArrayv (GLuint first, GLsizei count, const GLfloat *v)
5257 const glw::Functions* gl = glw::getCurrentThreadFunctions();
5260 gl->viewportArrayv(first, count, v);
5263 void glwViewportIndexedf (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h)
5265 const glw::Functions* gl = glw::getCurrentThreadFunctions();
5268 gl->viewportIndexedf(index, x, y, w, h);
5271 void glwViewportIndexedfv (GLuint index, const GLfloat *v)
5273 const glw::Functions* gl = glw::getCurrentThreadFunctions();
5276 gl->viewportIndexedfv(index, v);
5279 void glwWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout)
5281 const glw::Functions* gl = glw::getCurrentThreadFunctions();
5284 gl->waitSync(sync, flags, timeout);