| /* NOTE: Do not edit this file, it is generated by a script: |
| Export.py --api gl 4.4 --api wgl 4.4 --api glx 4.4 --api cgl 1.4 --api egl 1.0 --outdir . |
| */ |
| |
| /* |
| Copyright (c) 2011-2013 NVIDIA Corporation |
| Copyright (c) 2011-2013 Cass Everitt |
| Copyright (c) 2012-2013 Scott Nations |
| Copyright (c) 2012 Mathias Schott |
| Copyright (c) 2012-2013 Nigel Stewart |
| Copyright (c) 2012-2013 Google Inc. |
| All rights reserved. |
| |
| Redistribution and use in source and binary forms, with or without modification, |
| are permitted provided that the following conditions are met: |
| |
| Redistributions of source code must retain the above copyright notice, this |
| list of conditions and the following disclaimer. |
| |
| Redistributions in binary form must reproduce the above copyright notice, |
| this list of conditions and the following disclaimer in the documentation |
| and/or other materials provided with the distribution. |
| |
| THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND |
| ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
| WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
| IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, |
| INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, |
| BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF |
| LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE |
| OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
| OF THE POSSIBILITY OF SUCH DAMAGE. |
| */ |
| |
| /* |
| Intended formatting conventions: |
| $ astyle --style=allman --indent=spaces=2 --indent-switches |
| */ |
| |
| #include "pch.h" /* For MS precompiled header support */ |
| |
| #include "RegalUtil.h" |
| |
| #if REGAL_DEBUG |
| |
| REGAL_GLOBAL_BEGIN |
| |
| #include <string> |
| using namespace std; |
| |
| #include "RegalLog.h" |
| #include "RegalBreak.h" |
| #include "RegalPush.h" |
| #include "RegalToken.h" |
| #include "RegalHelper.h" |
| #include "RegalPrivate.h" |
| #include "RegalContext.h" |
| |
| #include "RegalDebugInfo.h" |
| |
| REGAL_GLOBAL_END |
| |
| REGAL_NAMESPACE_BEGIN |
| |
| using namespace ::REGAL_NAMESPACE_INTERNAL::Logging; |
| using namespace ::REGAL_NAMESPACE_INTERNAL::Token; |
| |
| // GL_VERSION_1_0 |
| |
| static void REGAL_CALL debug_glAccum(GLenum op, GLfloat value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glAccum)(op, value); |
| } |
| |
| static void REGAL_CALL debug_glAlphaFunc(GLenum func, GLclampf ref) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glAlphaFunc)(func, ref); |
| } |
| |
| static void REGAL_CALL debug_glBegin(GLenum mode) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBegin)(mode); |
| } |
| |
| static void REGAL_CALL debug_glBitmap(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBitmap)(width, height, xorig, yorig, xmove, ymove, bitmap); |
| } |
| |
| static void REGAL_CALL debug_glBlendFunc(GLenum sfactor, GLenum dfactor) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBlendFunc)(sfactor, dfactor); |
| } |
| |
| static void REGAL_CALL debug_glCallList(GLuint list) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCallList)(list); |
| } |
| |
| static void REGAL_CALL debug_glCallLists(GLsizei n, GLenum type, const GLvoid *lists) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCallLists)(n, type, lists); |
| } |
| |
| static void REGAL_CALL debug_glClear(GLbitfield mask) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glClear)(mask); |
| } |
| |
| static void REGAL_CALL debug_glClearAccum(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glClearAccum)(red, green, blue, alpha); |
| } |
| |
| static void REGAL_CALL debug_glClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glClearColor)(red, green, blue, alpha); |
| } |
| |
| static void REGAL_CALL debug_glClearDepth(GLclampd depth) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glClearDepth)(depth); |
| } |
| |
| static void REGAL_CALL debug_glClearIndex(GLfloat c) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glClearIndex)(c); |
| } |
| |
| static void REGAL_CALL debug_glClearStencil(GLint s) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glClearStencil)(s); |
| } |
| |
| static void REGAL_CALL debug_glClipPlane(GLenum plane, const GLdouble *equation) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glClipPlane)(plane, equation); |
| } |
| |
| static void REGAL_CALL debug_glColor3b(GLbyte red, GLbyte green, GLbyte blue) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColor3b)(red, green, blue); |
| } |
| |
| static void REGAL_CALL debug_glColor3bv(const GLbyte *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColor3bv)(v); |
| } |
| |
| static void REGAL_CALL debug_glColor3d(GLdouble red, GLdouble green, GLdouble blue) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColor3d)(red, green, blue); |
| } |
| |
| static void REGAL_CALL debug_glColor3dv(const GLdouble *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColor3dv)(v); |
| } |
| |
| static void REGAL_CALL debug_glColor3f(GLfloat red, GLfloat green, GLfloat blue) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColor3f)(red, green, blue); |
| } |
| |
| static void REGAL_CALL debug_glColor3fv(const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColor3fv)(v); |
| } |
| |
| static void REGAL_CALL debug_glColor3i(GLint red, GLint green, GLint blue) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColor3i)(red, green, blue); |
| } |
| |
| static void REGAL_CALL debug_glColor3iv(const GLint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColor3iv)(v); |
| } |
| |
| static void REGAL_CALL debug_glColor3s(GLshort red, GLshort green, GLshort blue) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColor3s)(red, green, blue); |
| } |
| |
| static void REGAL_CALL debug_glColor3sv(const GLshort *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColor3sv)(v); |
| } |
| |
| static void REGAL_CALL debug_glColor3ub(GLubyte red, GLubyte green, GLubyte blue) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColor3ub)(red, green, blue); |
| } |
| |
| static void REGAL_CALL debug_glColor3ubv(const GLubyte *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColor3ubv)(v); |
| } |
| |
| static void REGAL_CALL debug_glColor3ui(GLuint red, GLuint green, GLuint blue) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColor3ui)(red, green, blue); |
| } |
| |
| static void REGAL_CALL debug_glColor3uiv(const GLuint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColor3uiv)(v); |
| } |
| |
| static void REGAL_CALL debug_glColor3us(GLushort red, GLushort green, GLushort blue) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColor3us)(red, green, blue); |
| } |
| |
| static void REGAL_CALL debug_glColor3usv(const GLushort *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColor3usv)(v); |
| } |
| |
| static void REGAL_CALL debug_glColor4b(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColor4b)(red, green, blue, alpha); |
| } |
| |
| static void REGAL_CALL debug_glColor4bv(const GLbyte *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColor4bv)(v); |
| } |
| |
| static void REGAL_CALL debug_glColor4d(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColor4d)(red, green, blue, alpha); |
| } |
| |
| static void REGAL_CALL debug_glColor4dv(const GLdouble *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColor4dv)(v); |
| } |
| |
| static void REGAL_CALL debug_glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColor4f)(red, green, blue, alpha); |
| } |
| |
| static void REGAL_CALL debug_glColor4fv(const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColor4fv)(v); |
| } |
| |
| static void REGAL_CALL debug_glColor4i(GLint red, GLint green, GLint blue, GLint alpha) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColor4i)(red, green, blue, alpha); |
| } |
| |
| static void REGAL_CALL debug_glColor4iv(const GLint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColor4iv)(v); |
| } |
| |
| static void REGAL_CALL debug_glColor4s(GLshort red, GLshort green, GLshort blue, GLshort alpha) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColor4s)(red, green, blue, alpha); |
| } |
| |
| static void REGAL_CALL debug_glColor4sv(const GLshort *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColor4sv)(v); |
| } |
| |
| static void REGAL_CALL debug_glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColor4ub)(red, green, blue, alpha); |
| } |
| |
| static void REGAL_CALL debug_glColor4ubv(const GLubyte *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColor4ubv)(v); |
| } |
| |
| static void REGAL_CALL debug_glColor4ui(GLuint red, GLuint green, GLuint blue, GLuint alpha) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColor4ui)(red, green, blue, alpha); |
| } |
| |
| static void REGAL_CALL debug_glColor4uiv(const GLuint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColor4uiv)(v); |
| } |
| |
| static void REGAL_CALL debug_glColor4us(GLushort red, GLushort green, GLushort blue, GLushort alpha) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColor4us)(red, green, blue, alpha); |
| } |
| |
| static void REGAL_CALL debug_glColor4usv(const GLushort *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColor4usv)(v); |
| } |
| |
| static void REGAL_CALL debug_glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColorMask)(red, green, blue, alpha); |
| } |
| |
| static void REGAL_CALL debug_glColorMaterial(GLenum face, GLenum mode) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColorMaterial)(face, mode); |
| } |
| |
| static void REGAL_CALL debug_glCopyPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCopyPixels)(x, y, width, height, type); |
| } |
| |
| static void REGAL_CALL debug_glCullFace(GLenum mode) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCullFace)(mode); |
| } |
| |
| static void REGAL_CALL debug_glDeleteLists(GLuint list, GLsizei range) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDeleteLists)(list, range); |
| } |
| |
| static void REGAL_CALL debug_glDepthFunc(GLenum func) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDepthFunc)(func); |
| } |
| |
| static void REGAL_CALL debug_glDepthMask(GLboolean flag) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDepthMask)(flag); |
| } |
| |
| static void REGAL_CALL debug_glDepthRange(GLclampd zNear, GLclampd zFar) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDepthRange)(zNear, zFar); |
| } |
| |
| static void REGAL_CALL debug_glDisable(GLenum cap) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDisable)(cap); |
| } |
| |
| static void REGAL_CALL debug_glDrawBuffer(GLenum mode) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDrawBuffer)(mode); |
| } |
| |
| static void REGAL_CALL debug_glDrawPixels(GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDrawPixels)(width, height, format, type, pixels); |
| } |
| |
| static void REGAL_CALL debug_glEdgeFlag(GLboolean flag) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glEdgeFlag)(flag); |
| } |
| |
| static void REGAL_CALL debug_glEdgeFlagv(const GLboolean *flag) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glEdgeFlagv)(flag); |
| } |
| |
| static void REGAL_CALL debug_glEnable(GLenum cap) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glEnable)(cap); |
| } |
| |
| static void REGAL_CALL debug_glEnd(void) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glEnd)(); |
| } |
| |
| static void REGAL_CALL debug_glEndList(void) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glEndList)(); |
| } |
| |
| static void REGAL_CALL debug_glEvalCoord1d(GLdouble u) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glEvalCoord1d)(u); |
| } |
| |
| static void REGAL_CALL debug_glEvalCoord1dv(const GLdouble *u) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glEvalCoord1dv)(u); |
| } |
| |
| static void REGAL_CALL debug_glEvalCoord1f(GLfloat u) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glEvalCoord1f)(u); |
| } |
| |
| static void REGAL_CALL debug_glEvalCoord1fv(const GLfloat *u) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glEvalCoord1fv)(u); |
| } |
| |
| static void REGAL_CALL debug_glEvalCoord2d(GLdouble u, GLdouble v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glEvalCoord2d)(u, v); |
| } |
| |
| static void REGAL_CALL debug_glEvalCoord2dv(const GLdouble *u) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glEvalCoord2dv)(u); |
| } |
| |
| static void REGAL_CALL debug_glEvalCoord2f(GLfloat u, GLfloat v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glEvalCoord2f)(u, v); |
| } |
| |
| static void REGAL_CALL debug_glEvalCoord2fv(const GLfloat *u) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glEvalCoord2fv)(u); |
| } |
| |
| static void REGAL_CALL debug_glEvalMesh1(GLenum mode, GLint i1, GLint i2) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glEvalMesh1)(mode, i1, i2); |
| } |
| |
| static void REGAL_CALL debug_glEvalMesh2(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glEvalMesh2)(mode, i1, i2, j1, j2); |
| } |
| |
| static void REGAL_CALL debug_glEvalPoint1(GLint i) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glEvalPoint1)(i); |
| } |
| |
| static void REGAL_CALL debug_glEvalPoint2(GLint i, GLint j) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glEvalPoint2)(i, j); |
| } |
| |
| static void REGAL_CALL debug_glFeedbackBuffer(GLsizei size, GLenum type, GLfloat *buffer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFeedbackBuffer)(size, type, buffer); |
| } |
| |
| static void REGAL_CALL debug_glFinish(void) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFinish)(); |
| } |
| |
| static void REGAL_CALL debug_glFlush(void) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFlush)(); |
| } |
| |
| static void REGAL_CALL debug_glFogf(GLenum pname, GLfloat param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFogf)(pname, param); |
| } |
| |
| static void REGAL_CALL debug_glFogfv(GLenum pname, const GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFogfv)(pname, params); |
| } |
| |
| static void REGAL_CALL debug_glFogi(GLenum pname, GLint param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFogi)(pname, param); |
| } |
| |
| static void REGAL_CALL debug_glFogiv(GLenum pname, const GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFogiv)(pname, params); |
| } |
| |
| static void REGAL_CALL debug_glFrontFace(GLenum mode) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFrontFace)(mode); |
| } |
| |
| static void REGAL_CALL debug_glFrustum(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFrustum)(left, right, bottom, top, zNear, zFar); |
| } |
| |
| static GLuint REGAL_CALL debug_glGenLists(GLsizei range) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLuint ret = _next->call(&_next->glGenLists)(range); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glGetBooleanv(GLenum pname, GLboolean *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetBooleanv)(pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetClipPlane(GLenum plane, GLdouble *equation) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetClipPlane)(plane, equation); |
| } |
| |
| static void REGAL_CALL debug_glGetDoublev(GLenum pname, GLdouble *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetDoublev)(pname, params); |
| } |
| |
| static GLenum REGAL_CALL debug_glGetError(void) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLenum ret = _next->call(&_next->glGetError)(); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glGetFloatv(GLenum pname, GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetFloatv)(pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetIntegerv(GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetIntegerv)(pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetLightfv(GLenum light, GLenum pname, GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetLightfv)(light, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetLightiv(GLenum light, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetLightiv)(light, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetMapdv(GLenum target, GLenum query, GLdouble *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetMapdv)(target, query, v); |
| } |
| |
| static void REGAL_CALL debug_glGetMapfv(GLenum target, GLenum query, GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetMapfv)(target, query, v); |
| } |
| |
| static void REGAL_CALL debug_glGetMapiv(GLenum target, GLenum query, GLint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetMapiv)(target, query, v); |
| } |
| |
| static void REGAL_CALL debug_glGetMaterialfv(GLenum face, GLenum pname, GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetMaterialfv)(face, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetMaterialiv(GLenum face, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetMaterialiv)(face, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetPixelMapfv(GLenum map, GLfloat *values) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetPixelMapfv)(map, values); |
| } |
| |
| static void REGAL_CALL debug_glGetPixelMapuiv(GLenum map, GLuint *values) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetPixelMapuiv)(map, values); |
| } |
| |
| static void REGAL_CALL debug_glGetPixelMapusv(GLenum map, GLushort *values) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetPixelMapusv)(map, values); |
| } |
| |
| static void REGAL_CALL debug_glGetPolygonStipple(GLubyte *mask) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetPolygonStipple)(mask); |
| } |
| |
| static const GLubyte *REGAL_CALL debug_glGetString(GLenum name) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| const GLubyte * ret = _next->call(&_next->glGetString)(name); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glGetTexEnvfv(GLenum target, GLenum pname, GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetTexEnvfv)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetTexEnviv(GLenum target, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetTexEnviv)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetTexGendv(GLenum coord, GLenum pname, GLdouble *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetTexGendv)(coord, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetTexGenfv(GLenum coord, GLenum pname, GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetTexGenfv)(coord, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetTexGeniv(GLenum coord, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetTexGeniv)(coord, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetTexImage(GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetTexImage)(target, level, format, type, pixels); |
| } |
| |
| static void REGAL_CALL debug_glGetTexLevelParameterfv(GLenum target, GLint level, GLenum pname, GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetTexLevelParameterfv)(target, level, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetTexLevelParameteriv)(target, level, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetTexParameterfv(GLenum target, GLenum pname, GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetTexParameterfv)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetTexParameteriv(GLenum target, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetTexParameteriv)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glHint(GLenum target, GLenum mode) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glHint)(target, mode); |
| } |
| |
| static void REGAL_CALL debug_glIndexMask(GLuint mask) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glIndexMask)(mask); |
| } |
| |
| static void REGAL_CALL debug_glIndexd(GLdouble c) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glIndexd)(c); |
| } |
| |
| static void REGAL_CALL debug_glIndexdv(const GLdouble *c) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glIndexdv)(c); |
| } |
| |
| static void REGAL_CALL debug_glIndexf(GLfloat c) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glIndexf)(c); |
| } |
| |
| static void REGAL_CALL debug_glIndexfv(const GLfloat *c) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glIndexfv)(c); |
| } |
| |
| static void REGAL_CALL debug_glIndexi(GLint c) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glIndexi)(c); |
| } |
| |
| static void REGAL_CALL debug_glIndexiv(const GLint *c) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glIndexiv)(c); |
| } |
| |
| static void REGAL_CALL debug_glIndexs(GLshort c) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glIndexs)(c); |
| } |
| |
| static void REGAL_CALL debug_glIndexsv(const GLshort *c) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glIndexsv)(c); |
| } |
| |
| static void REGAL_CALL debug_glInitNames(void) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glInitNames)(); |
| } |
| |
| static GLboolean REGAL_CALL debug_glIsEnabled(GLenum cap) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glIsEnabled)(cap); |
| return ret; |
| } |
| |
| static GLboolean REGAL_CALL debug_glIsList(GLuint list) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glIsList)(list); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glLightModelf(GLenum pname, GLfloat param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glLightModelf)(pname, param); |
| } |
| |
| static void REGAL_CALL debug_glLightModelfv(GLenum pname, const GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glLightModelfv)(pname, params); |
| } |
| |
| static void REGAL_CALL debug_glLightModeli(GLenum pname, GLint param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glLightModeli)(pname, param); |
| } |
| |
| static void REGAL_CALL debug_glLightModeliv(GLenum pname, const GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glLightModeliv)(pname, params); |
| } |
| |
| static void REGAL_CALL debug_glLightf(GLenum light, GLenum pname, GLfloat param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glLightf)(light, pname, param); |
| } |
| |
| static void REGAL_CALL debug_glLightfv(GLenum light, GLenum pname, const GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glLightfv)(light, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glLighti(GLenum light, GLenum pname, GLint param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glLighti)(light, pname, param); |
| } |
| |
| static void REGAL_CALL debug_glLightiv(GLenum light, GLenum pname, const GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glLightiv)(light, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glLineStipple(GLint factor, GLushort pattern) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glLineStipple)(factor, pattern); |
| } |
| |
| static void REGAL_CALL debug_glLineWidth(GLfloat width) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glLineWidth)(width); |
| } |
| |
| static void REGAL_CALL debug_glListBase(GLuint base) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glListBase)(base); |
| } |
| |
| static void REGAL_CALL debug_glLoadIdentity(void) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glLoadIdentity)(); |
| } |
| |
| static void REGAL_CALL debug_glLoadMatrixd(const GLdouble *m) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glLoadMatrixd)(m); |
| } |
| |
| static void REGAL_CALL debug_glLoadMatrixf(const GLfloat *m) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glLoadMatrixf)(m); |
| } |
| |
| static void REGAL_CALL debug_glLoadName(GLuint name) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glLoadName)(name); |
| } |
| |
| static void REGAL_CALL debug_glLogicOp(GLenum opcode) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glLogicOp)(opcode); |
| } |
| |
| static void REGAL_CALL debug_glMap1d(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMap1d)(target, u1, u2, stride, order, points); |
| } |
| |
| static void REGAL_CALL debug_glMap1f(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMap1f)(target, u1, u2, stride, order, points); |
| } |
| |
| static void REGAL_CALL debug_glMap2d(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMap2d)(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points); |
| } |
| |
| static void REGAL_CALL debug_glMap2f(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMap2f)(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points); |
| } |
| |
| static void REGAL_CALL debug_glMapGrid1d(GLint un, GLdouble u1, GLdouble u2) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMapGrid1d)(un, u1, u2); |
| } |
| |
| static void REGAL_CALL debug_glMapGrid1f(GLint un, GLfloat u1, GLfloat u2) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMapGrid1f)(un, u1, u2); |
| } |
| |
| static void REGAL_CALL debug_glMapGrid2d(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMapGrid2d)(un, u1, u2, vn, v1, v2); |
| } |
| |
| static void REGAL_CALL debug_glMapGrid2f(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMapGrid2f)(un, u1, u2, vn, v1, v2); |
| } |
| |
| static void REGAL_CALL debug_glMaterialf(GLenum face, GLenum pname, GLfloat param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMaterialf)(face, pname, param); |
| } |
| |
| static void REGAL_CALL debug_glMaterialfv(GLenum face, GLenum pname, const GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMaterialfv)(face, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glMateriali(GLenum face, GLenum pname, GLint param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMateriali)(face, pname, param); |
| } |
| |
| static void REGAL_CALL debug_glMaterialiv(GLenum face, GLenum pname, const GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMaterialiv)(face, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glMatrixMode(GLenum mode) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _context->dbg->MatrixMode( _context, mode ); |
| _next->call(&_next->glMatrixMode)(mode); |
| } |
| |
| static void REGAL_CALL debug_glMultMatrixd(const GLdouble *m) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultMatrixd)(m); |
| } |
| |
| static void REGAL_CALL debug_glMultMatrixf(const GLfloat *m) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultMatrixf)(m); |
| } |
| |
| static void REGAL_CALL debug_glNewList(GLuint list, GLenum mode) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNewList)(list, mode); |
| } |
| |
| static void REGAL_CALL debug_glNormal3b(GLbyte nx, GLbyte ny, GLbyte nz) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNormal3b)(nx, ny, nz); |
| } |
| |
| static void REGAL_CALL debug_glNormal3bv(const GLbyte *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNormal3bv)(v); |
| } |
| |
| static void REGAL_CALL debug_glNormal3d(GLdouble nx, GLdouble ny, GLdouble nz) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNormal3d)(nx, ny, nz); |
| } |
| |
| static void REGAL_CALL debug_glNormal3dv(const GLdouble *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNormal3dv)(v); |
| } |
| |
| static void REGAL_CALL debug_glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNormal3f)(nx, ny, nz); |
| } |
| |
| static void REGAL_CALL debug_glNormal3fv(const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNormal3fv)(v); |
| } |
| |
| static void REGAL_CALL debug_glNormal3i(GLint nx, GLint ny, GLint nz) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNormal3i)(nx, ny, nz); |
| } |
| |
| static void REGAL_CALL debug_glNormal3iv(const GLint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNormal3iv)(v); |
| } |
| |
| static void REGAL_CALL debug_glNormal3s(GLshort nx, GLshort ny, GLshort nz) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNormal3s)(nx, ny, nz); |
| } |
| |
| static void REGAL_CALL debug_glNormal3sv(const GLshort *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNormal3sv)(v); |
| } |
| |
| static void REGAL_CALL debug_glOrtho(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glOrtho)(left, right, bottom, top, zNear, zFar); |
| } |
| |
| static void REGAL_CALL debug_glPassThrough(GLfloat token) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPassThrough)(token); |
| } |
| |
| static void REGAL_CALL debug_glPixelMapfv(GLenum map, GLsizei mapsize, const GLfloat *values) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPixelMapfv)(map, mapsize, values); |
| } |
| |
| static void REGAL_CALL debug_glPixelMapuiv(GLenum map, GLsizei mapsize, const GLuint *values) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPixelMapuiv)(map, mapsize, values); |
| } |
| |
| static void REGAL_CALL debug_glPixelMapusv(GLenum map, GLsizei mapsize, const GLushort *values) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPixelMapusv)(map, mapsize, values); |
| } |
| |
| static void REGAL_CALL debug_glPixelStoref(GLenum pname, GLfloat param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPixelStoref)(pname, param); |
| } |
| |
| static void REGAL_CALL debug_glPixelStorei(GLenum pname, GLint param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPixelStorei)(pname, param); |
| } |
| |
| static void REGAL_CALL debug_glPixelTransferf(GLenum pname, GLfloat param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPixelTransferf)(pname, param); |
| } |
| |
| static void REGAL_CALL debug_glPixelTransferi(GLenum pname, GLint param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPixelTransferi)(pname, param); |
| } |
| |
| static void REGAL_CALL debug_glPixelZoom(GLfloat xfactor, GLfloat yfactor) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPixelZoom)(xfactor, yfactor); |
| } |
| |
| static void REGAL_CALL debug_glPointSize(GLfloat size) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPointSize)(size); |
| } |
| |
| static void REGAL_CALL debug_glPolygonMode(GLenum face, GLenum mode) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPolygonMode)(face, mode); |
| } |
| |
| static void REGAL_CALL debug_glPolygonStipple(const GLubyte *mask) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPolygonStipple)(mask); |
| } |
| |
| static void REGAL_CALL debug_glPopAttrib(void) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPopAttrib)(); |
| } |
| |
| static void REGAL_CALL debug_glPopMatrix(void) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPopMatrix)(); |
| } |
| |
| static void REGAL_CALL debug_glPopName(void) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPopName)(); |
| } |
| |
| static void REGAL_CALL debug_glPushAttrib(GLbitfield mask) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPushAttrib)(mask); |
| } |
| |
| static void REGAL_CALL debug_glPushMatrix(void) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPushMatrix)(); |
| } |
| |
| static void REGAL_CALL debug_glPushName(GLuint name) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPushName)(name); |
| } |
| |
| static void REGAL_CALL debug_glRasterPos2d(GLdouble x, GLdouble y) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glRasterPos2d)(x, y); |
| } |
| |
| static void REGAL_CALL debug_glRasterPos2dv(const GLdouble *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glRasterPos2dv)(v); |
| } |
| |
| static void REGAL_CALL debug_glRasterPos2f(GLfloat x, GLfloat y) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glRasterPos2f)(x, y); |
| } |
| |
| static void REGAL_CALL debug_glRasterPos2fv(const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glRasterPos2fv)(v); |
| } |
| |
| static void REGAL_CALL debug_glRasterPos2i(GLint x, GLint y) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glRasterPos2i)(x, y); |
| } |
| |
| static void REGAL_CALL debug_glRasterPos2iv(const GLint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glRasterPos2iv)(v); |
| } |
| |
| static void REGAL_CALL debug_glRasterPos2s(GLshort x, GLshort y) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glRasterPos2s)(x, y); |
| } |
| |
| static void REGAL_CALL debug_glRasterPos2sv(const GLshort *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glRasterPos2sv)(v); |
| } |
| |
| static void REGAL_CALL debug_glRasterPos3d(GLdouble x, GLdouble y, GLdouble z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glRasterPos3d)(x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glRasterPos3dv(const GLdouble *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glRasterPos3dv)(v); |
| } |
| |
| static void REGAL_CALL debug_glRasterPos3f(GLfloat x, GLfloat y, GLfloat z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glRasterPos3f)(x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glRasterPos3fv(const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glRasterPos3fv)(v); |
| } |
| |
| static void REGAL_CALL debug_glRasterPos3i(GLint x, GLint y, GLint z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glRasterPos3i)(x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glRasterPos3iv(const GLint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glRasterPos3iv)(v); |
| } |
| |
| static void REGAL_CALL debug_glRasterPos3s(GLshort x, GLshort y, GLshort z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glRasterPos3s)(x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glRasterPos3sv(const GLshort *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glRasterPos3sv)(v); |
| } |
| |
| static void REGAL_CALL debug_glRasterPos4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glRasterPos4d)(x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glRasterPos4dv(const GLdouble *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glRasterPos4dv)(v); |
| } |
| |
| static void REGAL_CALL debug_glRasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glRasterPos4f)(x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glRasterPos4fv(const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glRasterPos4fv)(v); |
| } |
| |
| static void REGAL_CALL debug_glRasterPos4i(GLint x, GLint y, GLint z, GLint w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glRasterPos4i)(x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glRasterPos4iv(const GLint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glRasterPos4iv)(v); |
| } |
| |
| static void REGAL_CALL debug_glRasterPos4s(GLshort x, GLshort y, GLshort z, GLshort w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glRasterPos4s)(x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glRasterPos4sv(const GLshort *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glRasterPos4sv)(v); |
| } |
| |
| static void REGAL_CALL debug_glReadBuffer(GLenum mode) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glReadBuffer)(mode); |
| } |
| |
| static void REGAL_CALL debug_glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glReadPixels)(x, y, width, height, format, type, pixels); |
| } |
| |
| static void REGAL_CALL debug_glRectd(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glRectd)(x1, y1, x2, y2); |
| } |
| |
| static void REGAL_CALL debug_glRectdv(const GLdouble *v1, const GLdouble *v2) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glRectdv)(v1, v2); |
| } |
| |
| static void REGAL_CALL debug_glRectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glRectf)(x1, y1, x2, y2); |
| } |
| |
| static void REGAL_CALL debug_glRectfv(const GLfloat *v1, const GLfloat *v2) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glRectfv)(v1, v2); |
| } |
| |
| static void REGAL_CALL debug_glRecti(GLint x1, GLint y1, GLint x2, GLint y2) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glRecti)(x1, y1, x2, y2); |
| } |
| |
| static void REGAL_CALL debug_glRectiv(const GLint *v1, const GLint *v2) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glRectiv)(v1, v2); |
| } |
| |
| static void REGAL_CALL debug_glRects(GLshort x1, GLshort y1, GLshort x2, GLshort y2) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glRects)(x1, y1, x2, y2); |
| } |
| |
| static void REGAL_CALL debug_glRectsv(const GLshort *v1, const GLshort *v2) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glRectsv)(v1, v2); |
| } |
| |
| static GLint REGAL_CALL debug_glRenderMode(GLenum mode) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLint ret = _next->call(&_next->glRenderMode)(mode); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glRotated(GLdouble angle, GLdouble x, GLdouble y, GLdouble z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glRotated)(angle, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glRotatef)(angle, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glScaled(GLdouble x, GLdouble y, GLdouble z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glScaled)(x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glScalef(GLfloat x, GLfloat y, GLfloat z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glScalef)(x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glScissor(GLint x, GLint y, GLsizei width, GLsizei height) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glScissor)(x, y, width, height); |
| } |
| |
| static void REGAL_CALL debug_glSelectBuffer(GLsizei size, GLuint *buffer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSelectBuffer)(size, buffer); |
| } |
| |
| static void REGAL_CALL debug_glShadeModel(GLenum mode) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glShadeModel)(mode); |
| } |
| |
| static void REGAL_CALL debug_glStencilFunc(GLenum func, GLint ref, GLuint mask) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glStencilFunc)(func, ref, mask); |
| } |
| |
| static void REGAL_CALL debug_glStencilMask(GLuint mask) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glStencilMask)(mask); |
| } |
| |
| static void REGAL_CALL debug_glStencilOp(GLenum fail, GLenum zfail, GLenum zpass) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glStencilOp)(fail, zfail, zpass); |
| } |
| |
| static void REGAL_CALL debug_glTexCoord1d(GLdouble s) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoord1d)(s); |
| } |
| |
| static void REGAL_CALL debug_glTexCoord1dv(const GLdouble *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoord1dv)(v); |
| } |
| |
| static void REGAL_CALL debug_glTexCoord1f(GLfloat s) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoord1f)(s); |
| } |
| |
| static void REGAL_CALL debug_glTexCoord1fv(const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoord1fv)(v); |
| } |
| |
| static void REGAL_CALL debug_glTexCoord1i(GLint s) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoord1i)(s); |
| } |
| |
| static void REGAL_CALL debug_glTexCoord1iv(const GLint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoord1iv)(v); |
| } |
| |
| static void REGAL_CALL debug_glTexCoord1s(GLshort s) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoord1s)(s); |
| } |
| |
| static void REGAL_CALL debug_glTexCoord1sv(const GLshort *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoord1sv)(v); |
| } |
| |
| static void REGAL_CALL debug_glTexCoord2d(GLdouble s, GLdouble t) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoord2d)(s, t); |
| } |
| |
| static void REGAL_CALL debug_glTexCoord2dv(const GLdouble *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoord2dv)(v); |
| } |
| |
| static void REGAL_CALL debug_glTexCoord2f(GLfloat s, GLfloat t) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoord2f)(s, t); |
| } |
| |
| static void REGAL_CALL debug_glTexCoord2fv(const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoord2fv)(v); |
| } |
| |
| static void REGAL_CALL debug_glTexCoord2i(GLint s, GLint t) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoord2i)(s, t); |
| } |
| |
| static void REGAL_CALL debug_glTexCoord2iv(const GLint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoord2iv)(v); |
| } |
| |
| static void REGAL_CALL debug_glTexCoord2s(GLshort s, GLshort t) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoord2s)(s, t); |
| } |
| |
| static void REGAL_CALL debug_glTexCoord2sv(const GLshort *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoord2sv)(v); |
| } |
| |
| static void REGAL_CALL debug_glTexCoord3d(GLdouble s, GLdouble t, GLdouble r) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoord3d)(s, t, r); |
| } |
| |
| static void REGAL_CALL debug_glTexCoord3dv(const GLdouble *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoord3dv)(v); |
| } |
| |
| static void REGAL_CALL debug_glTexCoord3f(GLfloat s, GLfloat t, GLfloat r) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoord3f)(s, t, r); |
| } |
| |
| static void REGAL_CALL debug_glTexCoord3fv(const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoord3fv)(v); |
| } |
| |
| static void REGAL_CALL debug_glTexCoord3i(GLint s, GLint t, GLint r) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoord3i)(s, t, r); |
| } |
| |
| static void REGAL_CALL debug_glTexCoord3iv(const GLint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoord3iv)(v); |
| } |
| |
| static void REGAL_CALL debug_glTexCoord3s(GLshort s, GLshort t, GLshort r) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoord3s)(s, t, r); |
| } |
| |
| static void REGAL_CALL debug_glTexCoord3sv(const GLshort *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoord3sv)(v); |
| } |
| |
| static void REGAL_CALL debug_glTexCoord4d(GLdouble s, GLdouble t, GLdouble r, GLdouble q) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoord4d)(s, t, r, q); |
| } |
| |
| static void REGAL_CALL debug_glTexCoord4dv(const GLdouble *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoord4dv)(v); |
| } |
| |
| static void REGAL_CALL debug_glTexCoord4f(GLfloat s, GLfloat t, GLfloat r, GLfloat q) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoord4f)(s, t, r, q); |
| } |
| |
| static void REGAL_CALL debug_glTexCoord4fv(const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoord4fv)(v); |
| } |
| |
| static void REGAL_CALL debug_glTexCoord4i(GLint s, GLint t, GLint r, GLint q) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoord4i)(s, t, r, q); |
| } |
| |
| static void REGAL_CALL debug_glTexCoord4iv(const GLint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoord4iv)(v); |
| } |
| |
| static void REGAL_CALL debug_glTexCoord4s(GLshort s, GLshort t, GLshort r, GLshort q) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoord4s)(s, t, r, q); |
| } |
| |
| static void REGAL_CALL debug_glTexCoord4sv(const GLshort *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoord4sv)(v); |
| } |
| |
| static void REGAL_CALL debug_glTexEnvf(GLenum target, GLenum pname, GLfloat param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexEnvf)(target, pname, param); |
| } |
| |
| static void REGAL_CALL debug_glTexEnvfv(GLenum target, GLenum pname, const GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexEnvfv)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glTexEnvi(GLenum target, GLenum pname, GLint param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexEnvi)(target, pname, param); |
| } |
| |
| static void REGAL_CALL debug_glTexEnviv(GLenum target, GLenum pname, const GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexEnviv)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glTexGend(GLenum coord, GLenum pname, GLdouble param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexGend)(coord, pname, param); |
| } |
| |
| static void REGAL_CALL debug_glTexGendv(GLenum coord, GLenum pname, const GLdouble *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexGendv)(coord, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glTexGenf(GLenum coord, GLenum pname, GLfloat param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexGenf)(coord, pname, param); |
| } |
| |
| static void REGAL_CALL debug_glTexGenfv(GLenum coord, GLenum pname, const GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexGenfv)(coord, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glTexGeni(GLenum coord, GLenum pname, GLint param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexGeni)(coord, pname, param); |
| } |
| |
| static void REGAL_CALL debug_glTexGeniv(GLenum coord, GLenum pname, const GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexGeniv)(coord, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glTexImage1D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexImage1D)(target, level, internalformat, width, border, format, type, pixels); |
| } |
| |
| static void REGAL_CALL debug_glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexImage2D)(target, level, internalformat, width, height, border, format, type, pixels); |
| } |
| |
| static void REGAL_CALL debug_glTexParameterf(GLenum target, GLenum pname, GLfloat param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexParameterf)(target, pname, param); |
| } |
| |
| static void REGAL_CALL debug_glTexParameterfv(GLenum target, GLenum pname, const GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexParameterfv)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glTexParameteri(GLenum target, GLenum pname, GLint param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexParameteri)(target, pname, param); |
| } |
| |
| static void REGAL_CALL debug_glTexParameteriv(GLenum target, GLenum pname, const GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexParameteriv)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glTranslated(GLdouble x, GLdouble y, GLdouble z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTranslated)(x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glTranslatef(GLfloat x, GLfloat y, GLfloat z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTranslatef)(x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glVertex2d(GLdouble x, GLdouble y) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertex2d)(x, y); |
| } |
| |
| static void REGAL_CALL debug_glVertex2dv(const GLdouble *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertex2dv)(v); |
| } |
| |
| static void REGAL_CALL debug_glVertex2f(GLfloat x, GLfloat y) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertex2f)(x, y); |
| } |
| |
| static void REGAL_CALL debug_glVertex2fv(const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertex2fv)(v); |
| } |
| |
| static void REGAL_CALL debug_glVertex2i(GLint x, GLint y) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertex2i)(x, y); |
| } |
| |
| static void REGAL_CALL debug_glVertex2iv(const GLint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertex2iv)(v); |
| } |
| |
| static void REGAL_CALL debug_glVertex2s(GLshort x, GLshort y) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertex2s)(x, y); |
| } |
| |
| static void REGAL_CALL debug_glVertex2sv(const GLshort *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertex2sv)(v); |
| } |
| |
| static void REGAL_CALL debug_glVertex3d(GLdouble x, GLdouble y, GLdouble z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertex3d)(x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glVertex3dv(const GLdouble *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertex3dv)(v); |
| } |
| |
| static void REGAL_CALL debug_glVertex3f(GLfloat x, GLfloat y, GLfloat z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertex3f)(x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glVertex3fv(const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertex3fv)(v); |
| } |
| |
| static void REGAL_CALL debug_glVertex3i(GLint x, GLint y, GLint z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertex3i)(x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glVertex3iv(const GLint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertex3iv)(v); |
| } |
| |
| static void REGAL_CALL debug_glVertex3s(GLshort x, GLshort y, GLshort z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertex3s)(x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glVertex3sv(const GLshort *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertex3sv)(v); |
| } |
| |
| static void REGAL_CALL debug_glVertex4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertex4d)(x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glVertex4dv(const GLdouble *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertex4dv)(v); |
| } |
| |
| static void REGAL_CALL debug_glVertex4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertex4f)(x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glVertex4fv(const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertex4fv)(v); |
| } |
| |
| static void REGAL_CALL debug_glVertex4i(GLint x, GLint y, GLint z, GLint w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertex4i)(x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glVertex4iv(const GLint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertex4iv)(v); |
| } |
| |
| static void REGAL_CALL debug_glVertex4s(GLshort x, GLshort y, GLshort z, GLshort w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertex4s)(x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glVertex4sv(const GLshort *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertex4sv)(v); |
| } |
| |
| static void REGAL_CALL debug_glViewport(GLint x, GLint y, GLsizei width, GLsizei height) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glViewport)(x, y, width, height); |
| } |
| |
| // GL_VERSION_1_1 |
| |
| static GLboolean REGAL_CALL debug_glAreTexturesResident(GLsizei n, const GLuint *textures, GLboolean *residences) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glAreTexturesResident)(n, textures, residences); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glArrayElement(GLint index) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glArrayElement)(index); |
| } |
| |
| static void REGAL_CALL debug_glBindTexture(GLenum target, GLuint texture) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBindTexture)(target, texture); |
| } |
| |
| static void REGAL_CALL debug_glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColorPointer)(size, type, stride, pointer); |
| } |
| |
| static void REGAL_CALL debug_glCopyTexImage1D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCopyTexImage1D)(target, level, internalformat, x, y, width, border); |
| } |
| |
| static void REGAL_CALL debug_glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCopyTexImage2D)(target, level, internalformat, x, y, width, height, border); |
| } |
| |
| static void REGAL_CALL debug_glCopyTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCopyTexSubImage1D)(target, level, xoffset, x, y, width); |
| } |
| |
| static void REGAL_CALL debug_glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCopyTexSubImage2D)(target, level, xoffset, yoffset, x, y, width, height); |
| } |
| |
| static void REGAL_CALL debug_glDeleteTextures(GLsizei n, const GLuint *textures) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDeleteTextures)(n, textures); |
| } |
| |
| static void REGAL_CALL debug_glDisableClientState(GLenum cap) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDisableClientState)(cap); |
| } |
| |
| static void REGAL_CALL debug_glDrawArrays(GLenum mode, GLint first, GLsizei count) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDrawArrays)(mode, first, count); |
| } |
| |
| static void REGAL_CALL debug_glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDrawElements)(mode, count, type, indices); |
| } |
| |
| static void REGAL_CALL debug_glEdgeFlagPointer(GLsizei stride, const GLvoid *pointer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glEdgeFlagPointer)(stride, pointer); |
| } |
| |
| static void REGAL_CALL debug_glEnableClientState(GLenum cap) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glEnableClientState)(cap); |
| } |
| |
| static void REGAL_CALL debug_glGenTextures(GLsizei n, GLuint *textures) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGenTextures)(n, textures); |
| } |
| |
| static void REGAL_CALL debug_glGetPointerv(GLenum pname, GLvoid **params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetPointerv)(pname, params); |
| } |
| |
| static void REGAL_CALL debug_glIndexPointer(GLenum type, GLsizei stride, const GLvoid *pointer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glIndexPointer)(type, stride, pointer); |
| } |
| |
| static void REGAL_CALL debug_glIndexub(GLubyte c) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glIndexub)(c); |
| } |
| |
| static void REGAL_CALL debug_glIndexubv(const GLubyte *c) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glIndexubv)(c); |
| } |
| |
| static void REGAL_CALL debug_glInterleavedArrays(GLenum format, GLsizei stride, const GLvoid *pointer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glInterleavedArrays)(format, stride, pointer); |
| } |
| |
| static GLboolean REGAL_CALL debug_glIsTexture(GLuint texture) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glIsTexture)(texture); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glNormalPointer(GLenum type, GLsizei stride, const GLvoid *pointer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNormalPointer)(type, stride, pointer); |
| } |
| |
| static void REGAL_CALL debug_glPolygonOffset(GLfloat factor, GLfloat units) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPolygonOffset)(factor, units); |
| } |
| |
| static void REGAL_CALL debug_glPopClientAttrib(void) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPopClientAttrib)(); |
| } |
| |
| static void REGAL_CALL debug_glPrioritizeTextures(GLsizei n, const GLuint *textures, const GLclampf *priorities) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPrioritizeTextures)(n, textures, priorities); |
| } |
| |
| static void REGAL_CALL debug_glPushClientAttrib(GLbitfield mask) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPushClientAttrib)(mask); |
| } |
| |
| static void REGAL_CALL debug_glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoordPointer)(size, type, stride, pointer); |
| } |
| |
| static void REGAL_CALL debug_glTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexSubImage1D)(target, level, xoffset, width, format, type, pixels); |
| } |
| |
| static void REGAL_CALL debug_glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexSubImage2D)(target, level, xoffset, yoffset, width, height, format, type, pixels); |
| } |
| |
| static void REGAL_CALL debug_glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexPointer)(size, type, stride, pointer); |
| } |
| |
| // GL_VERSION_1_2 |
| |
| static void REGAL_CALL debug_glBlendColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBlendColor)(red, green, blue, alpha); |
| } |
| |
| static void REGAL_CALL debug_glBlendEquation(GLenum mode) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBlendEquation)(mode); |
| } |
| |
| static void REGAL_CALL debug_glCopyTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCopyTexSubImage3D)(target, level, xoffset, yoffset, zoffset, x, y, width, height); |
| } |
| |
| static void REGAL_CALL debug_glDrawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDrawRangeElements)(mode, start, end, count, type, indices); |
| } |
| |
| static void REGAL_CALL debug_glTexImage3D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexImage3D)(target, level, internalformat, width, height, depth, border, format, type, pixels); |
| } |
| |
| static void REGAL_CALL debug_glTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexSubImage3D)(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); |
| } |
| |
| // GL_VERSION_1_3 |
| |
| static void REGAL_CALL debug_glActiveTexture(GLenum texture) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _context->dbg->ActiveTexture( _context, texture ); |
| _next->call(&_next->glActiveTexture)(texture); |
| } |
| |
| static void REGAL_CALL debug_glClientActiveTexture(GLenum texture) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _context->dbg->ClientActiveTexture( _context, texture ); |
| _next->call(&_next->glClientActiveTexture)(texture); |
| } |
| |
| static void REGAL_CALL debug_glCompressedTexImage1D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCompressedTexImage1D)(target, level, internalformat, width, border, imageSize, data); |
| } |
| |
| static void REGAL_CALL debug_glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCompressedTexImage2D)(target, level, internalformat, width, height, border, imageSize, data); |
| } |
| |
| static void REGAL_CALL debug_glCompressedTexImage3D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCompressedTexImage3D)(target, level, internalformat, width, height, depth, border, imageSize, data); |
| } |
| |
| static void REGAL_CALL debug_glCompressedTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCompressedTexSubImage1D)(target, level, xoffset, width, format, imageSize, data); |
| } |
| |
| static void REGAL_CALL debug_glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCompressedTexSubImage2D)(target, level, xoffset, yoffset, width, height, format, imageSize, data); |
| } |
| |
| static void REGAL_CALL debug_glCompressedTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCompressedTexSubImage3D)(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data); |
| } |
| |
| static void REGAL_CALL debug_glGetCompressedTexImage(GLenum target, GLint lod, GLvoid *img) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetCompressedTexImage)(target, lod, img); |
| } |
| |
| static void REGAL_CALL debug_glLoadTransposeMatrixd(const GLdouble *m) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glLoadTransposeMatrixd)(m); |
| } |
| |
| static void REGAL_CALL debug_glLoadTransposeMatrixf(const GLfloat *m) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glLoadTransposeMatrixf)(m); |
| } |
| |
| static void REGAL_CALL debug_glMultTransposeMatrixd(const GLdouble *m) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultTransposeMatrixd)(m); |
| } |
| |
| static void REGAL_CALL debug_glMultTransposeMatrixf(const GLfloat *m) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultTransposeMatrixf)(m); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord1d(GLenum target, GLdouble s) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord1d)(target, s); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord1dv(GLenum target, const GLdouble *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord1dv)(target, v); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord1f(GLenum target, GLfloat s) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord1f)(target, s); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord1fv(GLenum target, const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord1fv)(target, v); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord1i(GLenum target, GLint s) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord1i)(target, s); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord1iv(GLenum target, const GLint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord1iv)(target, v); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord1s(GLenum target, GLshort s) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord1s)(target, s); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord1sv(GLenum target, const GLshort *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord1sv)(target, v); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord2d(GLenum target, GLdouble s, GLdouble t) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord2d)(target, s, t); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord2dv(GLenum target, const GLdouble *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord2dv)(target, v); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord2f(GLenum target, GLfloat s, GLfloat t) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord2f)(target, s, t); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord2fv(GLenum target, const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord2fv)(target, v); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord2i(GLenum target, GLint s, GLint t) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord2i)(target, s, t); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord2iv(GLenum target, const GLint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord2iv)(target, v); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord2s(GLenum target, GLshort s, GLshort t) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord2s)(target, s, t); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord2sv(GLenum target, const GLshort *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord2sv)(target, v); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord3d(GLenum target, GLdouble s, GLdouble t, GLdouble r) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord3d)(target, s, t, r); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord3dv(GLenum target, const GLdouble *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord3dv)(target, v); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord3f(GLenum target, GLfloat s, GLfloat t, GLfloat r) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord3f)(target, s, t, r); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord3fv(GLenum target, const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord3fv)(target, v); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord3i(GLenum target, GLint s, GLint t, GLint r) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord3i)(target, s, t, r); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord3iv(GLenum target, const GLint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord3iv)(target, v); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord3s(GLenum target, GLshort s, GLshort t, GLshort r) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord3s)(target, s, t, r); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord3sv(GLenum target, const GLshort *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord3sv)(target, v); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord4d(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord4d)(target, s, t, r, q); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord4dv(GLenum target, const GLdouble *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord4dv)(target, v); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord4f)(target, s, t, r, q); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord4fv(GLenum target, const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord4fv)(target, v); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord4i(GLenum target, GLint s, GLint t, GLint r, GLint q) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord4i)(target, s, t, r, q); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord4iv(GLenum target, const GLint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord4iv)(target, v); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord4s(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord4s)(target, s, t, r, q); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord4sv(GLenum target, const GLshort *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord4sv)(target, v); |
| } |
| |
| static void REGAL_CALL debug_glSampleCoverage(GLclampf value, GLboolean invert) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSampleCoverage)(value, invert); |
| } |
| |
| // GL_VERSION_1_4 |
| |
| static void REGAL_CALL debug_glBlendFuncSeparate(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBlendFuncSeparate)(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha); |
| } |
| |
| static void REGAL_CALL debug_glFogCoordPointer(GLenum type, GLsizei stride, const GLvoid *pointer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFogCoordPointer)(type, stride, pointer); |
| } |
| |
| static void REGAL_CALL debug_glFogCoordd(GLdouble coord) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFogCoordd)(coord); |
| } |
| |
| static void REGAL_CALL debug_glFogCoorddv(const GLdouble *coord) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFogCoorddv)(coord); |
| } |
| |
| static void REGAL_CALL debug_glFogCoordf(GLfloat coord) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFogCoordf)(coord); |
| } |
| |
| static void REGAL_CALL debug_glFogCoordfv(const GLfloat *coord) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFogCoordfv)(coord); |
| } |
| |
| static void REGAL_CALL debug_glMultiDrawArrays(GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiDrawArrays)(mode, first, count, primcount); |
| } |
| |
| static void REGAL_CALL debug_glMultiDrawElements(GLenum mode, const GLsizei *count, GLenum type, const GLvoid * const *indices, GLsizei primcount) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiDrawElements)(mode, count, type, indices, primcount); |
| } |
| |
| static void REGAL_CALL debug_glPointParameterf(GLenum pname, GLfloat param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPointParameterf)(pname, param); |
| } |
| |
| static void REGAL_CALL debug_glPointParameterfv(GLenum pname, const GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPointParameterfv)(pname, params); |
| } |
| |
| static void REGAL_CALL debug_glPointParameteri(GLenum pname, GLint param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPointParameteri)(pname, param); |
| } |
| |
| static void REGAL_CALL debug_glPointParameteriv(GLenum pname, const GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPointParameteriv)(pname, params); |
| } |
| |
| static void REGAL_CALL debug_glSecondaryColor3b(GLbyte red, GLbyte green, GLbyte blue) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSecondaryColor3b)(red, green, blue); |
| } |
| |
| static void REGAL_CALL debug_glSecondaryColor3bv(const GLbyte *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSecondaryColor3bv)(v); |
| } |
| |
| static void REGAL_CALL debug_glSecondaryColor3d(GLdouble red, GLdouble green, GLdouble blue) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSecondaryColor3d)(red, green, blue); |
| } |
| |
| static void REGAL_CALL debug_glSecondaryColor3dv(const GLdouble *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSecondaryColor3dv)(v); |
| } |
| |
| static void REGAL_CALL debug_glSecondaryColor3f(GLfloat red, GLfloat green, GLfloat blue) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSecondaryColor3f)(red, green, blue); |
| } |
| |
| static void REGAL_CALL debug_glSecondaryColor3fv(const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSecondaryColor3fv)(v); |
| } |
| |
| static void REGAL_CALL debug_glSecondaryColor3i(GLint red, GLint green, GLint blue) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSecondaryColor3i)(red, green, blue); |
| } |
| |
| static void REGAL_CALL debug_glSecondaryColor3iv(const GLint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSecondaryColor3iv)(v); |
| } |
| |
| static void REGAL_CALL debug_glSecondaryColor3s(GLshort red, GLshort green, GLshort blue) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSecondaryColor3s)(red, green, blue); |
| } |
| |
| static void REGAL_CALL debug_glSecondaryColor3sv(const GLshort *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSecondaryColor3sv)(v); |
| } |
| |
| static void REGAL_CALL debug_glSecondaryColor3ub(GLubyte red, GLubyte green, GLubyte blue) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSecondaryColor3ub)(red, green, blue); |
| } |
| |
| static void REGAL_CALL debug_glSecondaryColor3ubv(const GLubyte *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSecondaryColor3ubv)(v); |
| } |
| |
| static void REGAL_CALL debug_glSecondaryColor3ui(GLuint red, GLuint green, GLuint blue) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSecondaryColor3ui)(red, green, blue); |
| } |
| |
| static void REGAL_CALL debug_glSecondaryColor3uiv(const GLuint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSecondaryColor3uiv)(v); |
| } |
| |
| static void REGAL_CALL debug_glSecondaryColor3us(GLushort red, GLushort green, GLushort blue) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSecondaryColor3us)(red, green, blue); |
| } |
| |
| static void REGAL_CALL debug_glSecondaryColor3usv(const GLushort *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSecondaryColor3usv)(v); |
| } |
| |
| static void REGAL_CALL debug_glSecondaryColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSecondaryColorPointer)(size, type, stride, pointer); |
| } |
| |
| static void REGAL_CALL debug_glWindowPos2d(GLdouble x, GLdouble y) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWindowPos2d)(x, y); |
| } |
| |
| static void REGAL_CALL debug_glWindowPos2dv(const GLdouble *p) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWindowPos2dv)(p); |
| } |
| |
| static void REGAL_CALL debug_glWindowPos2f(GLfloat x, GLfloat y) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWindowPos2f)(x, y); |
| } |
| |
| static void REGAL_CALL debug_glWindowPos2fv(const GLfloat *p) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWindowPos2fv)(p); |
| } |
| |
| static void REGAL_CALL debug_glWindowPos2i(GLint x, GLint y) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWindowPos2i)(x, y); |
| } |
| |
| static void REGAL_CALL debug_glWindowPos2iv(const GLint *p) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWindowPos2iv)(p); |
| } |
| |
| static void REGAL_CALL debug_glWindowPos2s(GLshort x, GLshort y) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWindowPos2s)(x, y); |
| } |
| |
| static void REGAL_CALL debug_glWindowPos2sv(const GLshort *p) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWindowPos2sv)(p); |
| } |
| |
| static void REGAL_CALL debug_glWindowPos3d(GLdouble x, GLdouble y, GLdouble z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWindowPos3d)(x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glWindowPos3dv(const GLdouble *p) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWindowPos3dv)(p); |
| } |
| |
| static void REGAL_CALL debug_glWindowPos3f(GLfloat x, GLfloat y, GLfloat z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWindowPos3f)(x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glWindowPos3fv(const GLfloat *p) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWindowPos3fv)(p); |
| } |
| |
| static void REGAL_CALL debug_glWindowPos3i(GLint x, GLint y, GLint z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWindowPos3i)(x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glWindowPos3iv(const GLint *p) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWindowPos3iv)(p); |
| } |
| |
| static void REGAL_CALL debug_glWindowPos3s(GLshort x, GLshort y, GLshort z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWindowPos3s)(x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glWindowPos3sv(const GLshort *p) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWindowPos3sv)(p); |
| } |
| |
| // GL_VERSION_1_5 |
| |
| static void REGAL_CALL debug_glBeginQuery(GLenum target, GLuint id) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBeginQuery)(target, id); |
| } |
| |
| static void REGAL_CALL debug_glBindBuffer(GLenum target, GLuint buffer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBindBuffer)(target, buffer); |
| } |
| |
| static void REGAL_CALL debug_glBufferData(GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBufferData)(target, size, data, usage); |
| } |
| |
| static void REGAL_CALL debug_glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBufferSubData)(target, offset, size, data); |
| } |
| |
| static void REGAL_CALL debug_glDeleteBuffers(GLsizei n, const GLuint *buffers) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDeleteBuffers)(n, buffers); |
| } |
| |
| static void REGAL_CALL debug_glDeleteQueries(GLsizei n, const GLuint *ids) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDeleteQueries)(n, ids); |
| } |
| |
| static void REGAL_CALL debug_glEndQuery(GLenum target) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glEndQuery)(target); |
| } |
| |
| static void REGAL_CALL debug_glGenBuffers(GLsizei n, GLuint *buffers) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGenBuffers)(n, buffers); |
| } |
| |
| static void REGAL_CALL debug_glGenQueries(GLsizei n, GLuint *ids) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGenQueries)(n, ids); |
| } |
| |
| static void REGAL_CALL debug_glGetBufferParameteriv(GLenum target, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetBufferParameteriv)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetBufferPointerv(GLenum target, GLenum pname, GLvoid **params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetBufferPointerv)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetBufferSubData)(target, offset, size, data); |
| } |
| |
| static void REGAL_CALL debug_glGetQueryObjectiv(GLuint id, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetQueryObjectiv)(id, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetQueryObjectuiv(GLuint id, GLenum pname, GLuint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetQueryObjectuiv)(id, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetQueryiv(GLenum target, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetQueryiv)(target, pname, params); |
| } |
| |
| static GLboolean REGAL_CALL debug_glIsBuffer(GLuint buffer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glIsBuffer)(buffer); |
| return ret; |
| } |
| |
| static GLboolean REGAL_CALL debug_glIsQuery(GLuint id) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glIsQuery)(id); |
| return ret; |
| } |
| |
| static GLvoid *REGAL_CALL debug_glMapBuffer(GLenum target, GLenum access) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLvoid * ret = _next->call(&_next->glMapBuffer)(target, access); |
| return ret; |
| } |
| |
| static GLboolean REGAL_CALL debug_glUnmapBuffer(GLenum target) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glUnmapBuffer)(target); |
| return ret; |
| } |
| |
| // GL_VERSION_2_0 |
| |
| static void REGAL_CALL debug_glAttachShader(GLuint program, GLuint shader) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glAttachShader)(program, shader); |
| } |
| |
| static void REGAL_CALL debug_glBindAttribLocation(GLuint program, GLuint index, const GLchar *name) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBindAttribLocation)(program, index, name); |
| } |
| |
| static void REGAL_CALL debug_glBlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBlendEquationSeparate)(modeRGB, modeAlpha); |
| } |
| |
| static void REGAL_CALL debug_glCompileShader(GLuint shader) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCompileShader)(shader); |
| } |
| |
| static GLuint REGAL_CALL debug_glCreateProgram(void) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLuint ret = _next->call(&_next->glCreateProgram)(); |
| return ret; |
| } |
| |
| static GLuint REGAL_CALL debug_glCreateShader(GLenum type) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLuint ret = _next->call(&_next->glCreateShader)(type); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glDeleteProgram(GLuint program) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDeleteProgram)(program); |
| } |
| |
| static void REGAL_CALL debug_glDeleteShader(GLuint shader) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDeleteShader)(shader); |
| } |
| |
| static void REGAL_CALL debug_glDetachShader(GLuint program, GLuint shader) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDetachShader)(program, shader); |
| } |
| |
| static void REGAL_CALL debug_glDisableVertexAttribArray(GLuint index) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDisableVertexAttribArray)(index); |
| } |
| |
| static void REGAL_CALL debug_glDrawBuffers(GLsizei n, const GLenum *bufs) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDrawBuffers)(n, bufs); |
| } |
| |
| static void REGAL_CALL debug_glEnableVertexAttribArray(GLuint index) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glEnableVertexAttribArray)(index); |
| } |
| |
| static void REGAL_CALL debug_glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetActiveAttrib)(program, index, bufSize, length, size, type, name); |
| } |
| |
| static void REGAL_CALL debug_glGetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetActiveUniform)(program, index, bufSize, length, size, type, name); |
| } |
| |
| static void REGAL_CALL debug_glGetAttachedShaders(GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetAttachedShaders)(program, maxCount, count, shaders); |
| } |
| |
| static GLint REGAL_CALL debug_glGetAttribLocation(GLuint program, const GLchar *name) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLint ret = _next->call(&_next->glGetAttribLocation)(program, name); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glGetProgramInfoLog(GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetProgramInfoLog)(program, bufSize, length, infoLog); |
| } |
| |
| static void REGAL_CALL debug_glGetProgramiv(GLuint program, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetProgramiv)(program, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetShaderInfoLog(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetShaderInfoLog)(shader, bufSize, length, infoLog); |
| } |
| |
| static void REGAL_CALL debug_glGetShaderSource(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetShaderSource)(shader, bufSize, length, source); |
| } |
| |
| static void REGAL_CALL debug_glGetShaderiv(GLuint shader, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetShaderiv)(shader, pname, params); |
| } |
| |
| static GLint REGAL_CALL debug_glGetUniformLocation(GLuint program, const GLchar *name) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLint ret = _next->call(&_next->glGetUniformLocation)(program, name); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glGetUniformfv(GLuint program, GLint location, GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetUniformfv)(program, location, params); |
| } |
| |
| static void REGAL_CALL debug_glGetUniformiv(GLuint program, GLint location, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetUniformiv)(program, location, params); |
| } |
| |
| static void REGAL_CALL debug_glGetVertexAttribPointerv(GLuint index, GLenum pname, GLvoid **pointer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetVertexAttribPointerv)(index, pname, pointer); |
| } |
| |
| static void REGAL_CALL debug_glGetVertexAttribdv(GLuint index, GLenum pname, GLdouble *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetVertexAttribdv)(index, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetVertexAttribfv)(index, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetVertexAttribiv(GLuint index, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetVertexAttribiv)(index, pname, params); |
| } |
| |
| static GLboolean REGAL_CALL debug_glIsProgram(GLuint program) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glIsProgram)(program); |
| return ret; |
| } |
| |
| static GLboolean REGAL_CALL debug_glIsShader(GLuint shader) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glIsShader)(shader); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glLinkProgram(GLuint program) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glLinkProgram)(program); |
| } |
| |
| static void REGAL_CALL debug_glShaderSource(GLuint shader, GLsizei count, const GLchar * const *string, const GLint *length) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glShaderSource)(shader, count, string, length); |
| } |
| |
| static void REGAL_CALL debug_glStencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glStencilFuncSeparate)(face, func, ref, mask); |
| } |
| |
| static void REGAL_CALL debug_glStencilMaskSeparate(GLenum face, GLuint mask) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glStencilMaskSeparate)(face, mask); |
| } |
| |
| static void REGAL_CALL debug_glStencilOpSeparate(GLenum face, GLenum fail, GLenum zfail, GLenum zpass) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glStencilOpSeparate)(face, fail, zfail, zpass); |
| } |
| |
| static void REGAL_CALL debug_glUniform1f(GLint location, GLfloat v0) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform1f)(location, v0); |
| } |
| |
| static void REGAL_CALL debug_glUniform1fv(GLint location, GLsizei count, const GLfloat *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform1fv)(location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glUniform1i(GLint location, GLint v0) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform1i)(location, v0); |
| } |
| |
| static void REGAL_CALL debug_glUniform1iv(GLint location, GLsizei count, const GLint *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform1iv)(location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glUniform2f(GLint location, GLfloat v0, GLfloat v1) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform2f)(location, v0, v1); |
| } |
| |
| static void REGAL_CALL debug_glUniform2fv(GLint location, GLsizei count, const GLfloat *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform2fv)(location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glUniform2i(GLint location, GLint v0, GLint v1) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform2i)(location, v0, v1); |
| } |
| |
| static void REGAL_CALL debug_glUniform2iv(GLint location, GLsizei count, const GLint *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform2iv)(location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glUniform3f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform3f)(location, v0, v1, v2); |
| } |
| |
| static void REGAL_CALL debug_glUniform3fv(GLint location, GLsizei count, const GLfloat *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform3fv)(location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glUniform3i(GLint location, GLint v0, GLint v1, GLint v2) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform3i)(location, v0, v1, v2); |
| } |
| |
| static void REGAL_CALL debug_glUniform3iv(GLint location, GLsizei count, const GLint *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform3iv)(location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glUniform4f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform4f)(location, v0, v1, v2, v3); |
| } |
| |
| static void REGAL_CALL debug_glUniform4fv(GLint location, GLsizei count, const GLfloat *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform4fv)(location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glUniform4i(GLint location, GLint v0, GLint v1, GLint v2, GLint v3) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform4i)(location, v0, v1, v2, v3); |
| } |
| |
| static void REGAL_CALL debug_glUniform4iv(GLint location, GLsizei count, const GLint *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform4iv)(location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniformMatrix2fv)(location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glUniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniformMatrix3fv)(location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniformMatrix4fv)(location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glUseProgram(GLuint program) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUseProgram)(program); |
| } |
| |
| static void REGAL_CALL debug_glValidateProgram(GLuint program) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glValidateProgram)(program); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib1d(GLuint index, GLdouble x) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib1d)(index, x); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib1dv(GLuint index, const GLdouble *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib1dv)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib1f(GLuint index, GLfloat x) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib1f)(index, x); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib1fv(GLuint index, const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib1fv)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib1s(GLuint index, GLshort x) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib1s)(index, x); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib1sv(GLuint index, const GLshort *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib1sv)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib2d(GLuint index, GLdouble x, GLdouble y) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib2d)(index, x, y); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib2dv(GLuint index, const GLdouble *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib2dv)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib2f(GLuint index, GLfloat x, GLfloat y) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib2f)(index, x, y); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib2fv(GLuint index, const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib2fv)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib2s(GLuint index, GLshort x, GLshort y) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib2s)(index, x, y); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib2sv(GLuint index, const GLshort *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib2sv)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib3d(GLuint index, GLdouble x, GLdouble y, GLdouble z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib3d)(index, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib3dv(GLuint index, const GLdouble *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib3dv)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib3f(GLuint index, GLfloat x, GLfloat y, GLfloat z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib3f)(index, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib3fv(GLuint index, const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib3fv)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib3s(GLuint index, GLshort x, GLshort y, GLshort z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib3s)(index, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib3sv(GLuint index, const GLshort *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib3sv)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib4Nbv(GLuint index, const GLbyte *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib4Nbv)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib4Niv(GLuint index, const GLint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib4Niv)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib4Nsv(GLuint index, const GLshort *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib4Nsv)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib4Nub(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib4Nub)(index, x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib4Nubv(GLuint index, const GLubyte *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib4Nubv)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib4Nuiv(GLuint index, const GLuint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib4Nuiv)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib4Nusv(GLuint index, const GLushort *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib4Nusv)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib4bv(GLuint index, const GLbyte *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib4bv)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib4d(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib4d)(index, x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib4dv(GLuint index, const GLdouble *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib4dv)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib4f(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib4f)(index, x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib4fv(GLuint index, const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib4fv)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib4iv(GLuint index, const GLint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib4iv)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib4s(GLuint index, GLshort x, GLshort y, GLshort z, GLshort w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib4s)(index, x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib4sv(GLuint index, const GLshort *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib4sv)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib4ubv(GLuint index, const GLubyte *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib4ubv)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib4uiv(GLuint index, const GLuint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib4uiv)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib4usv(GLuint index, const GLushort *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib4usv)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribPointer(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribPointer)(index, size, type, normalized, stride, pointer); |
| } |
| |
| // GL_VERSION_2_1 |
| |
| static void REGAL_CALL debug_glUniformMatrix2x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniformMatrix2x3fv)(location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glUniformMatrix2x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniformMatrix2x4fv)(location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glUniformMatrix3x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniformMatrix3x2fv)(location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glUniformMatrix3x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniformMatrix3x4fv)(location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glUniformMatrix4x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniformMatrix4x2fv)(location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glUniformMatrix4x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniformMatrix4x3fv)(location, count, transpose, value); |
| } |
| |
| // GL_VERSION_3_0 |
| |
| static void REGAL_CALL debug_glBeginConditionalRender(GLuint id, GLenum mode) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBeginConditionalRender)(id, mode); |
| } |
| |
| static void REGAL_CALL debug_glBeginTransformFeedback(GLenum primitiveMode) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBeginTransformFeedback)(primitiveMode); |
| } |
| |
| static void REGAL_CALL debug_glBindFragDataLocation(GLuint program, GLuint color, const GLchar *name) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBindFragDataLocation)(program, color, name); |
| } |
| |
| static void REGAL_CALL debug_glClampColor(GLenum target, GLenum clamp) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glClampColor)(target, clamp); |
| } |
| |
| static void REGAL_CALL debug_glClearBufferfi(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glClearBufferfi)(buffer, drawbuffer, depth, stencil); |
| } |
| |
| static void REGAL_CALL debug_glClearBufferfv(GLenum buffer, GLint drawbuffer, const GLfloat *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glClearBufferfv)(buffer, drawbuffer, value); |
| } |
| |
| static void REGAL_CALL debug_glClearBufferiv(GLenum buffer, GLint drawbuffer, const GLint *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glClearBufferiv)(buffer, drawbuffer, value); |
| } |
| |
| static void REGAL_CALL debug_glClearBufferuiv(GLenum buffer, GLint drawbuffer, const GLuint *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glClearBufferuiv)(buffer, drawbuffer, value); |
| } |
| |
| static void REGAL_CALL debug_glColorMaski(GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColorMaski)(index, r, g, b, a); |
| } |
| |
| static void REGAL_CALL debug_glDisablei(GLenum cap, GLuint index) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDisablei)(cap, index); |
| } |
| |
| static void REGAL_CALL debug_glEnablei(GLenum cap, GLuint index) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glEnablei)(cap, index); |
| } |
| |
| static void REGAL_CALL debug_glEndConditionalRender(void) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glEndConditionalRender)(); |
| } |
| |
| static void REGAL_CALL debug_glEndTransformFeedback(void) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glEndTransformFeedback)(); |
| } |
| |
| static void REGAL_CALL debug_glGetBooleani_v(GLenum target, GLuint index, GLboolean *data) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetBooleani_v)(target, index, data); |
| } |
| |
| static GLint REGAL_CALL debug_glGetFragDataLocation(GLuint program, const GLchar *name) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLint ret = _next->call(&_next->glGetFragDataLocation)(program, name); |
| return ret; |
| } |
| |
| static const GLubyte *REGAL_CALL debug_glGetStringi(GLenum name, GLuint index) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| const GLubyte * ret = _next->call(&_next->glGetStringi)(name, index); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glGetTexParameterIiv(GLenum target, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetTexParameterIiv)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetTexParameterIuiv(GLenum target, GLenum pname, GLuint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetTexParameterIuiv)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetTransformFeedbackVarying(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetTransformFeedbackVarying)(program, index, bufSize, length, size, type, name); |
| } |
| |
| static void REGAL_CALL debug_glGetUniformuiv(GLuint program, GLint location, GLuint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetUniformuiv)(program, location, params); |
| } |
| |
| static void REGAL_CALL debug_glGetVertexAttribIiv(GLuint index, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetVertexAttribIiv)(index, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetVertexAttribIuiv(GLuint index, GLenum pname, GLuint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetVertexAttribIuiv)(index, pname, params); |
| } |
| |
| static GLboolean REGAL_CALL debug_glIsEnabledi(GLenum target, GLuint index) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glIsEnabledi)(target, index); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glTexParameterIiv(GLenum target, GLenum pname, const GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexParameterIiv)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glTexParameterIuiv(GLenum target, GLenum pname, const GLuint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexParameterIuiv)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glTransformFeedbackVaryings(GLuint program, GLsizei count, const GLchar * const *varyings, GLenum bufferMode) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTransformFeedbackVaryings)(program, count, varyings, bufferMode); |
| } |
| |
| static void REGAL_CALL debug_glUniform1ui(GLint location, GLuint v0) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform1ui)(location, v0); |
| } |
| |
| static void REGAL_CALL debug_glUniform1uiv(GLint location, GLsizei count, const GLuint *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform1uiv)(location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glUniform2ui(GLint location, GLuint v0, GLuint v1) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform2ui)(location, v0, v1); |
| } |
| |
| static void REGAL_CALL debug_glUniform2uiv(GLint location, GLsizei count, const GLuint *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform2uiv)(location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glUniform3ui(GLint location, GLuint v0, GLuint v1, GLuint v2) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform3ui)(location, v0, v1, v2); |
| } |
| |
| static void REGAL_CALL debug_glUniform3uiv(GLint location, GLsizei count, const GLuint *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform3uiv)(location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glUniform4ui(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform4ui)(location, v0, v1, v2, v3); |
| } |
| |
| static void REGAL_CALL debug_glUniform4uiv(GLint location, GLsizei count, const GLuint *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform4uiv)(location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribI1i(GLuint index, GLint x) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribI1i)(index, x); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribI1iv(GLuint index, const GLint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribI1iv)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribI1ui(GLuint index, GLuint x) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribI1ui)(index, x); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribI1uiv(GLuint index, const GLuint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribI1uiv)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribI2i(GLuint index, GLint x, GLint y) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribI2i)(index, x, y); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribI2iv(GLuint index, const GLint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribI2iv)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribI2ui(GLuint index, GLuint x, GLuint y) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribI2ui)(index, x, y); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribI2uiv(GLuint index, const GLuint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribI2uiv)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribI3i(GLuint index, GLint x, GLint y, GLint z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribI3i)(index, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribI3iv(GLuint index, const GLint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribI3iv)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribI3ui(GLuint index, GLuint x, GLuint y, GLuint z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribI3ui)(index, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribI3uiv(GLuint index, const GLuint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribI3uiv)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribI4bv(GLuint index, const GLbyte *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribI4bv)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribI4i(GLuint index, GLint x, GLint y, GLint z, GLint w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribI4i)(index, x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribI4iv(GLuint index, const GLint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribI4iv)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribI4sv(GLuint index, const GLshort *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribI4sv)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribI4ubv(GLuint index, const GLubyte *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribI4ubv)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribI4ui(GLuint index, GLuint x, GLuint y, GLuint z, GLuint w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribI4ui)(index, x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribI4uiv(GLuint index, const GLuint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribI4uiv)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribI4usv(GLuint index, const GLushort *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribI4usv)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribIPointer(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribIPointer)(index, size, type, stride, pointer); |
| } |
| |
| // GL_VERSION_3_1 |
| |
| static void REGAL_CALL debug_glDrawArraysInstanced(GLenum mode, GLint start, GLsizei count, GLsizei primcount) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDrawArraysInstanced)(mode, start, count, primcount); |
| } |
| |
| static void REGAL_CALL debug_glDrawElementsInstanced(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDrawElementsInstanced)(mode, count, type, indices, primcount); |
| } |
| |
| static void REGAL_CALL debug_glPrimitiveRestartIndex(GLuint index) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPrimitiveRestartIndex)(index); |
| } |
| |
| static void REGAL_CALL debug_glTexBuffer(GLenum target, GLenum internalformat, GLuint buffer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexBuffer)(target, internalformat, buffer); |
| } |
| |
| // GL_VERSION_3_2 |
| |
| static void REGAL_CALL debug_glFramebufferTexture(GLenum target, GLenum attachment, GLuint texture, GLint level) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFramebufferTexture)(target, attachment, texture, level); |
| } |
| |
| static void REGAL_CALL debug_glGetBufferParameteri64v(GLenum target, GLenum pname, GLint64 *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetBufferParameteri64v)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetInteger64i_v(GLenum target, GLuint index, GLint64 *data) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetInteger64i_v)(target, index, data); |
| } |
| |
| // GL_VERSION_3_3 |
| |
| static void REGAL_CALL debug_glVertexAttribDivisor(GLuint index, GLuint divisor) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribDivisor)(index, divisor); |
| } |
| |
| // GL_VERSION_4_0 |
| |
| static void REGAL_CALL debug_glBlendEquationSeparatei(GLuint buf, GLenum modeRGB, GLenum modeAlpha) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBlendEquationSeparatei)(buf, modeRGB, modeAlpha); |
| } |
| |
| static void REGAL_CALL debug_glBlendEquationi(GLuint buf, GLenum mode) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBlendEquationi)(buf, mode); |
| } |
| |
| static void REGAL_CALL debug_glBlendFuncSeparatei(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBlendFuncSeparatei)(buf, srcRGB, dstRGB, srcAlpha, dstAlpha); |
| } |
| |
| static void REGAL_CALL debug_glBlendFunci(GLuint buf, GLenum src, GLenum dst) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBlendFunci)(buf, src, dst); |
| } |
| |
| // GL_3DFX_tbuffer |
| |
| static void REGAL_CALL debug_glTbufferMask3DFX(GLuint mask) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTbufferMask3DFX)(mask); |
| } |
| |
| // GL_AMD_debug_output |
| |
| static void REGAL_CALL debug_glDebugMessageCallbackAMD(GLDEBUGPROCAMD callback, void *userParam) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDebugMessageCallbackAMD)(callback, userParam); |
| } |
| |
| static void REGAL_CALL debug_glDebugMessageEnableAMD(GLenum category, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDebugMessageEnableAMD)(category, severity, count, ids, enabled); |
| } |
| |
| static void REGAL_CALL debug_glDebugMessageInsertAMD(GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar *buf) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDebugMessageInsertAMD)(category, severity, id, length, buf); |
| } |
| |
| static GLuint REGAL_CALL debug_glGetDebugMessageLogAMD(GLuint count, GLsizei bufsize, GLenum *categories, GLuint *severities, GLuint *ids, GLsizei *lengths, GLchar *message) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLuint ret = _next->call(&_next->glGetDebugMessageLogAMD)(count, bufsize, categories, severities, ids, lengths, message); |
| return ret; |
| } |
| |
| // GL_AMD_draw_buffers_blend |
| |
| static void REGAL_CALL debug_glBlendEquationIndexedAMD(GLuint buf, GLenum mode) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBlendEquationIndexedAMD)(buf, mode); |
| } |
| |
| static void REGAL_CALL debug_glBlendEquationSeparateIndexedAMD(GLuint buf, GLenum modeRGB, GLenum modeAlpha) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBlendEquationSeparateIndexedAMD)(buf, modeRGB, modeAlpha); |
| } |
| |
| static void REGAL_CALL debug_glBlendFuncIndexedAMD(GLuint buf, GLenum src, GLenum dst) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBlendFuncIndexedAMD)(buf, src, dst); |
| } |
| |
| static void REGAL_CALL debug_glBlendFuncSeparateIndexedAMD(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBlendFuncSeparateIndexedAMD)(buf, srcRGB, dstRGB, srcAlpha, dstAlpha); |
| } |
| |
| // GL_AMD_interleaved_elements |
| |
| static void REGAL_CALL debug_glVertexAttribParameteriAMD(GLuint index, GLenum pname, GLint param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribParameteriAMD)(index, pname, param); |
| } |
| |
| // GL_AMD_multi_draw_indirect |
| |
| static void REGAL_CALL debug_glMultiDrawArraysIndirectAMD(GLenum mode, const GLvoid *indirect, GLsizei primcount, GLsizei stride) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiDrawArraysIndirectAMD)(mode, indirect, primcount, stride); |
| } |
| |
| static void REGAL_CALL debug_glMultiDrawElementsIndirectAMD(GLenum mode, GLenum type, const GLvoid *indirect, GLsizei primcount, GLsizei stride) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiDrawElementsIndirectAMD)(mode, type, indirect, primcount, stride); |
| } |
| |
| // GL_AMD_name_gen_delete |
| |
| static void REGAL_CALL debug_glDeleteNamesAMD(GLenum identifier, GLuint num, const GLuint *names) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDeleteNamesAMD)(identifier, num, names); |
| } |
| |
| static void REGAL_CALL debug_glGenNamesAMD(GLenum identifier, GLuint num, GLuint *names) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGenNamesAMD)(identifier, num, names); |
| } |
| |
| static GLboolean REGAL_CALL debug_glIsNameAMD(GLenum identifier, GLuint name) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glIsNameAMD)(identifier, name); |
| return ret; |
| } |
| |
| // GL_AMD_performance_monitor |
| |
| static void REGAL_CALL debug_glBeginPerfMonitorAMD(GLuint monitor) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBeginPerfMonitorAMD)(monitor); |
| } |
| |
| static void REGAL_CALL debug_glDeletePerfMonitorsAMD(GLsizei n, GLuint *monitors) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDeletePerfMonitorsAMD)(n, monitors); |
| } |
| |
| static void REGAL_CALL debug_glEndPerfMonitorAMD(GLuint monitor) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glEndPerfMonitorAMD)(monitor); |
| } |
| |
| static void REGAL_CALL debug_glGenPerfMonitorsAMD(GLsizei n, GLuint *monitors) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGenPerfMonitorsAMD)(n, monitors); |
| } |
| |
| static void REGAL_CALL debug_glGetPerfMonitorCounterDataAMD(GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetPerfMonitorCounterDataAMD)(monitor, pname, dataSize, data, bytesWritten); |
| } |
| |
| static void REGAL_CALL debug_glGetPerfMonitorCounterInfoAMD(GLuint group, GLuint counter, GLenum pname, GLvoid *data) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetPerfMonitorCounterInfoAMD)(group, counter, pname, data); |
| } |
| |
| static void REGAL_CALL debug_glGetPerfMonitorCounterStringAMD(GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetPerfMonitorCounterStringAMD)(group, counter, bufSize, length, counterString); |
| } |
| |
| static void REGAL_CALL debug_glGetPerfMonitorCountersAMD(GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei countersSize, GLuint *counters) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetPerfMonitorCountersAMD)(group, numCounters, maxActiveCounters, countersSize, counters); |
| } |
| |
| static void REGAL_CALL debug_glGetPerfMonitorGroupStringAMD(GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetPerfMonitorGroupStringAMD)(group, bufSize, length, groupString); |
| } |
| |
| static void REGAL_CALL debug_glGetPerfMonitorGroupsAMD(GLint *numGroups, GLsizei groupsSize, GLuint *groups) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetPerfMonitorGroupsAMD)(numGroups, groupsSize, groups); |
| } |
| |
| static void REGAL_CALL debug_glSelectPerfMonitorCountersAMD(GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSelectPerfMonitorCountersAMD)(monitor, enable, group, numCounters, counterList); |
| } |
| |
| // GL_AMD_sample_positions |
| |
| static void REGAL_CALL debug_glSetMultisamplefvAMD(GLenum pname, GLuint index, const GLfloat *val) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSetMultisamplefvAMD)(pname, index, val); |
| } |
| |
| // GL_AMD_sparse_texture |
| |
| static void REGAL_CALL debug_glTexStorageSparseAMD(GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexStorageSparseAMD)(target, internalFormat, width, height, depth, layers, flags); |
| } |
| |
| static void REGAL_CALL debug_glTextureStorageSparseAMD(GLuint texture, GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTextureStorageSparseAMD)(texture, target, internalFormat, width, height, depth, layers, flags); |
| } |
| |
| // GL_AMD_stencil_operation_extended |
| |
| static void REGAL_CALL debug_glStencilOpValueAMD(GLenum face, GLuint value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glStencilOpValueAMD)(face, value); |
| } |
| |
| // GL_AMD_vertex_shader_tessellator |
| |
| static void REGAL_CALL debug_glTessellationFactorAMD(GLfloat factor) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTessellationFactorAMD)(factor); |
| } |
| |
| static void REGAL_CALL debug_glTessellationModeAMD(GLenum mode) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTessellationModeAMD)(mode); |
| } |
| |
| // GL_ANGLE_framebuffer_blit |
| |
| static void REGAL_CALL debug_glBlitFramebufferANGLE(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBlitFramebufferANGLE)(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); |
| } |
| |
| // GL_ANGLE_framebuffer_multisample |
| |
| static void REGAL_CALL debug_glRenderbufferStorageMultisampleANGLE(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glRenderbufferStorageMultisampleANGLE)(target, samples, internalformat, width, height); |
| } |
| |
| // GL_ANGLE_instanced_arrays |
| |
| static void REGAL_CALL debug_glDrawArraysInstancedANGLE(GLenum mode, GLint first, GLsizei count, GLsizei primcount) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDrawArraysInstancedANGLE)(mode, first, count, primcount); |
| } |
| |
| static void REGAL_CALL debug_glDrawElementsInstancedANGLE(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDrawElementsInstancedANGLE)(mode, count, type, indices, primcount); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribDivisorANGLE(GLuint index, GLuint divisor) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribDivisorANGLE)(index, divisor); |
| } |
| |
| // GL_ANGLE_timer_query |
| |
| static void REGAL_CALL debug_glBeginQueryANGLE(GLenum target, GLuint id) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBeginQueryANGLE)(target, id); |
| } |
| |
| static void REGAL_CALL debug_glDeleteQueriesANGLE(GLsizei n, const GLuint *ids) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDeleteQueriesANGLE)(n, ids); |
| } |
| |
| static void REGAL_CALL debug_glEndQueryANGLE(GLenum target) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glEndQueryANGLE)(target); |
| } |
| |
| static void REGAL_CALL debug_glGenQueriesANGLE(GLsizei n, GLuint *ids) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGenQueriesANGLE)(n, ids); |
| } |
| |
| static void REGAL_CALL debug_glGetQueryObjecti64vANGLE(GLuint id, GLenum pname, GLint64 *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetQueryObjecti64vANGLE)(id, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetQueryObjectivANGLE(GLuint id, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetQueryObjectivANGLE)(id, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetQueryObjectui64vANGLE(GLuint id, GLenum pname, GLuint64 *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetQueryObjectui64vANGLE)(id, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetQueryObjectuivANGLE(GLuint id, GLenum pname, GLuint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetQueryObjectuivANGLE)(id, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetQueryivANGLE(GLenum target, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetQueryivANGLE)(target, pname, params); |
| } |
| |
| static GLboolean REGAL_CALL debug_glIsQueryANGLE(GLuint id) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glIsQueryANGLE)(id); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glQueryCounterANGLE(GLuint id, GLenum target) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glQueryCounterANGLE)(id, target); |
| } |
| |
| // GL_ANGLE_translated_shader_source |
| |
| static void REGAL_CALL debug_glGetTranslatedShaderSourceANGLE(GLuint shader, GLsizei bufsize, GLsizei *length, GLchar *source) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetTranslatedShaderSourceANGLE)(shader, bufsize, length, source); |
| } |
| |
| // GL_APPLE_copy_texture_levels |
| |
| static void REGAL_CALL debug_glCopyTextureLevelsAPPLE(GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCopyTextureLevelsAPPLE)(destinationTexture, sourceTexture, sourceBaseLevel, sourceLevelCount); |
| } |
| |
| // GL_APPLE_element_array |
| |
| static void REGAL_CALL debug_glDrawElementArrayAPPLE(GLenum mode, GLint first, GLsizei count) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDrawElementArrayAPPLE)(mode, first, count); |
| } |
| |
| static void REGAL_CALL debug_glDrawRangeElementArrayAPPLE(GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDrawRangeElementArrayAPPLE)(mode, start, end, first, count); |
| } |
| |
| static void REGAL_CALL debug_glElementPointerAPPLE(GLenum type, const GLvoid *pointer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glElementPointerAPPLE)(type, pointer); |
| } |
| |
| static void REGAL_CALL debug_glMultiDrawElementArrayAPPLE(GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiDrawElementArrayAPPLE)(mode, first, count, primcount); |
| } |
| |
| static void REGAL_CALL debug_glMultiDrawRangeElementArrayAPPLE(GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiDrawRangeElementArrayAPPLE)(mode, start, end, first, count, primcount); |
| } |
| |
| // GL_APPLE_fence |
| |
| static void REGAL_CALL debug_glDeleteFencesAPPLE(GLsizei n, const GLuint *fences) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDeleteFencesAPPLE)(n, fences); |
| } |
| |
| static void REGAL_CALL debug_glFinishFenceAPPLE(GLuint fence) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFinishFenceAPPLE)(fence); |
| } |
| |
| static void REGAL_CALL debug_glFinishObjectAPPLE(GLenum object, GLint name) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFinishObjectAPPLE)(object, name); |
| } |
| |
| static void REGAL_CALL debug_glGenFencesAPPLE(GLsizei n, GLuint *fences) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGenFencesAPPLE)(n, fences); |
| } |
| |
| static GLboolean REGAL_CALL debug_glIsFenceAPPLE(GLuint fence) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glIsFenceAPPLE)(fence); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glSetFenceAPPLE(GLuint fence) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSetFenceAPPLE)(fence); |
| } |
| |
| static GLboolean REGAL_CALL debug_glTestFenceAPPLE(GLuint fence) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glTestFenceAPPLE)(fence); |
| return ret; |
| } |
| |
| static GLboolean REGAL_CALL debug_glTestObjectAPPLE(GLenum object, GLuint name) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glTestObjectAPPLE)(object, name); |
| return ret; |
| } |
| |
| // GL_APPLE_flush_buffer_range |
| |
| static void REGAL_CALL debug_glBufferParameteriAPPLE(GLenum target, GLenum pname, GLint param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBufferParameteriAPPLE)(target, pname, param); |
| } |
| |
| static void REGAL_CALL debug_glFlushMappedBufferRangeAPPLE(GLenum target, GLintptr offset, GLsizeiptr size) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFlushMappedBufferRangeAPPLE)(target, offset, size); |
| } |
| |
| // GL_APPLE_flush_render |
| |
| static void REGAL_CALL debug_glFinishRenderAPPLE(void) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFinishRenderAPPLE)(); |
| } |
| |
| static void REGAL_CALL debug_glFlushRenderAPPLE(void) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFlushRenderAPPLE)(); |
| } |
| |
| static void REGAL_CALL debug_glSwapAPPLE(void) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSwapAPPLE)(); |
| } |
| |
| // GL_APPLE_framebuffer_multisample |
| |
| static void REGAL_CALL debug_glRenderbufferStorageMultisampleAPPLE(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glRenderbufferStorageMultisampleAPPLE)(target, samples, internalformat, width, height); |
| } |
| |
| static void REGAL_CALL debug_glResolveMultisampleFramebufferAPPLE(void) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glResolveMultisampleFramebufferAPPLE)(); |
| } |
| |
| // GL_APPLE_object_purgeable |
| |
| static void REGAL_CALL debug_glGetObjectParameterivAPPLE(GLenum objectType, GLuint name, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetObjectParameterivAPPLE)(objectType, name, pname, params); |
| } |
| |
| static GLenum REGAL_CALL debug_glObjectPurgeableAPPLE(GLenum objectType, GLuint name, GLenum option) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLenum ret = _next->call(&_next->glObjectPurgeableAPPLE)(objectType, name, option); |
| return ret; |
| } |
| |
| static GLenum REGAL_CALL debug_glObjectUnpurgeableAPPLE(GLenum objectType, GLuint name, GLenum option) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLenum ret = _next->call(&_next->glObjectUnpurgeableAPPLE)(objectType, name, option); |
| return ret; |
| } |
| |
| // GL_APPLE_sync |
| |
| static GLenum REGAL_CALL debug_glClientWaitSyncAPPLE(GLsync sync, GLbitfield flags, GLuint64 timeout) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLenum ret = _next->call(&_next->glClientWaitSyncAPPLE)(sync, flags, timeout); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glDeleteSyncAPPLE(GLsync sync) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDeleteSyncAPPLE)(sync); |
| } |
| |
| static GLsync REGAL_CALL debug_glFenceSyncAPPLE(GLenum condition, GLbitfield flags) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLsync ret = _next->call(&_next->glFenceSyncAPPLE)(condition, flags); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glGetInteger64vAPPLE(GLenum pname, GLint64 *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetInteger64vAPPLE)(pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetSyncivAPPLE(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetSyncivAPPLE)(sync, pname, bufSize, length, values); |
| } |
| |
| static GLboolean REGAL_CALL debug_glIsSyncAPPLE(GLsync sync) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glIsSyncAPPLE)(sync); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glWaitSyncAPPLE(GLsync sync, GLbitfield flags, GLuint64 timeout) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWaitSyncAPPLE)(sync, flags, timeout); |
| } |
| |
| // GL_APPLE_texture_range |
| |
| static void REGAL_CALL debug_glGetTexParameterPointervAPPLE(GLenum target, GLenum pname, GLvoid **params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetTexParameterPointervAPPLE)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glTextureRangeAPPLE(GLenum target, GLsizei length, const GLvoid *pointer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTextureRangeAPPLE)(target, length, pointer); |
| } |
| |
| // GL_APPLE_vertex_array_object |
| |
| static void REGAL_CALL debug_glBindVertexArrayAPPLE(GLuint array) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBindVertexArrayAPPLE)(array); |
| } |
| |
| static void REGAL_CALL debug_glDeleteVertexArraysAPPLE(GLsizei n, const GLuint *arrays) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDeleteVertexArraysAPPLE)(n, arrays); |
| } |
| |
| static void REGAL_CALL debug_glGenVertexArraysAPPLE(GLsizei n, GLuint *arrays) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGenVertexArraysAPPLE)(n, arrays); |
| } |
| |
| static GLboolean REGAL_CALL debug_glIsVertexArrayAPPLE(GLuint array) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glIsVertexArrayAPPLE)(array); |
| return ret; |
| } |
| |
| // GL_APPLE_vertex_array_range |
| |
| static void REGAL_CALL debug_glFlushVertexArrayRangeAPPLE(GLsizei length, GLvoid *pointer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFlushVertexArrayRangeAPPLE)(length, pointer); |
| } |
| |
| static void REGAL_CALL debug_glVertexArrayParameteriAPPLE(GLenum pname, GLint param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexArrayParameteriAPPLE)(pname, param); |
| } |
| |
| static void REGAL_CALL debug_glVertexArrayRangeAPPLE(GLsizei length, GLvoid *pointer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexArrayRangeAPPLE)(length, pointer); |
| } |
| |
| // GL_APPLE_vertex_program_evaluators |
| |
| static void REGAL_CALL debug_glDisableVertexAttribAPPLE(GLuint index, GLenum pname) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDisableVertexAttribAPPLE)(index, pname); |
| } |
| |
| static void REGAL_CALL debug_glEnableVertexAttribAPPLE(GLuint index, GLenum pname) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glEnableVertexAttribAPPLE)(index, pname); |
| } |
| |
| static GLboolean REGAL_CALL debug_glIsVertexAttribEnabledAPPLE(GLuint index, GLenum pname) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glIsVertexAttribEnabledAPPLE)(index, pname); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glMapVertexAttrib1dAPPLE(GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMapVertexAttrib1dAPPLE)(index, size, u1, u2, stride, order, points); |
| } |
| |
| static void REGAL_CALL debug_glMapVertexAttrib1fAPPLE(GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMapVertexAttrib1fAPPLE)(index, size, u1, u2, stride, order, points); |
| } |
| |
| static void REGAL_CALL debug_glMapVertexAttrib2dAPPLE(GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMapVertexAttrib2dAPPLE)(index, size, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points); |
| } |
| |
| static void REGAL_CALL debug_glMapVertexAttrib2fAPPLE(GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMapVertexAttrib2fAPPLE)(index, size, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points); |
| } |
| |
| // GL_ARB_ES2_compatibility |
| |
| static void REGAL_CALL debug_glClearDepthf(GLclampf d) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glClearDepthf)(d); |
| } |
| |
| static void REGAL_CALL debug_glDepthRangef(GLclampf n, GLclampf f) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDepthRangef)(n, f); |
| } |
| |
| static void REGAL_CALL debug_glGetShaderPrecisionFormat(GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetShaderPrecisionFormat)(shadertype, precisiontype, range, precision); |
| } |
| |
| static void REGAL_CALL debug_glReleaseShaderCompiler(void) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glReleaseShaderCompiler)(); |
| } |
| |
| static void REGAL_CALL debug_glShaderBinary(GLsizei count, const GLuint *shaders, GLenum binaryformat, const GLvoid *binary, GLsizei length) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glShaderBinary)(count, shaders, binaryformat, binary, length); |
| } |
| |
| // GL_ARB_base_instance |
| |
| static void REGAL_CALL debug_glDrawArraysInstancedBaseInstance(GLenum mode, GLint first, GLsizei count, GLsizei primcount, GLuint baseinstance) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDrawArraysInstancedBaseInstance)(mode, first, count, primcount, baseinstance); |
| } |
| |
| static void REGAL_CALL debug_glDrawElementsInstancedBaseInstance(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount, GLuint baseinstance) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDrawElementsInstancedBaseInstance)(mode, count, type, indices, primcount, baseinstance); |
| } |
| |
| static void REGAL_CALL debug_glDrawElementsInstancedBaseVertexBaseInstance(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount, GLint basevertex, GLuint baseinstance) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDrawElementsInstancedBaseVertexBaseInstance)(mode, count, type, indices, primcount, basevertex, baseinstance); |
| } |
| |
| // GL_ARB_bindless_texture |
| |
| static GLuint64 REGAL_CALL debug_glGetImageHandleARB(GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLuint64 ret = _next->call(&_next->glGetImageHandleARB)(texture, level, layered, layer, format); |
| return ret; |
| } |
| |
| static GLuint64 REGAL_CALL debug_glGetTextureHandleARB(GLuint texture) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLuint64 ret = _next->call(&_next->glGetTextureHandleARB)(texture); |
| return ret; |
| } |
| |
| static GLuint64 REGAL_CALL debug_glGetTextureSamplerHandleARB(GLuint texture, GLuint sampler) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLuint64 ret = _next->call(&_next->glGetTextureSamplerHandleARB)(texture, sampler); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glGetVertexAttribLui64vARB(GLuint index, GLenum pname, GLuint64EXT *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetVertexAttribLui64vARB)(index, pname, params); |
| } |
| |
| static GLboolean REGAL_CALL debug_glIsImageHandleResidentARB(GLuint64 handle) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glIsImageHandleResidentARB)(handle); |
| return ret; |
| } |
| |
| static GLboolean REGAL_CALL debug_glIsTextureHandleResidentARB(GLuint64 handle) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glIsTextureHandleResidentARB)(handle); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glMakeImageHandleNonResidentARB(GLuint64 handle) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMakeImageHandleNonResidentARB)(handle); |
| } |
| |
| static void REGAL_CALL debug_glMakeImageHandleResidentARB(GLuint64 handle, GLenum access) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMakeImageHandleResidentARB)(handle, access); |
| } |
| |
| static void REGAL_CALL debug_glMakeTextureHandleNonResidentARB(GLuint64 handle) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMakeTextureHandleNonResidentARB)(handle); |
| } |
| |
| static void REGAL_CALL debug_glMakeTextureHandleResidentARB(GLuint64 handle) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMakeTextureHandleResidentARB)(handle); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniformHandleui64ARB(GLuint program, GLint location, GLuint64 value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniformHandleui64ARB)(program, location, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniformHandleui64vARB(GLuint program, GLint location, GLsizei count, const GLuint64 *values) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniformHandleui64vARB)(program, location, count, values); |
| } |
| |
| static void REGAL_CALL debug_glUniformHandleui64ARB(GLint location, GLuint64 value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniformHandleui64ARB)(location, value); |
| } |
| |
| static void REGAL_CALL debug_glUniformHandleui64vARB(GLint location, GLsizei count, const GLuint64 *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniformHandleui64vARB)(location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribL1ui64ARB(GLuint index, GLuint64EXT x) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribL1ui64ARB)(index, x); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribL1ui64vARB(GLuint index, const GLuint64EXT *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribL1ui64vARB)(index, v); |
| } |
| |
| // GL_ARB_blend_func_extended |
| |
| static void REGAL_CALL debug_glBindFragDataLocationIndexed(GLuint program, GLuint colorNumber, GLuint index, const GLchar *name) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBindFragDataLocationIndexed)(program, colorNumber, index, name); |
| } |
| |
| static GLint REGAL_CALL debug_glGetFragDataIndex(GLuint program, const GLchar *name) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLint ret = _next->call(&_next->glGetFragDataIndex)(program, name); |
| return ret; |
| } |
| |
| // GL_ARB_buffer_storage |
| |
| static void REGAL_CALL debug_glBufferStorage(GLenum target, GLsizeiptr size, const GLvoid *data, GLbitfield flags) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBufferStorage)(target, size, data, flags); |
| } |
| |
| static void REGAL_CALL debug_glNamedBufferStorageEXT(GLuint buffer, GLsizeiptr size, const GLvoid *data, GLbitfield flags) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNamedBufferStorageEXT)(buffer, size, data, flags); |
| } |
| |
| // GL_ARB_cl_event |
| |
| static GLsync REGAL_CALL debug_glCreateSyncFromCLeventARB(cl_context context, cl_event event, GLbitfield flags) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLsync ret = _next->call(&_next->glCreateSyncFromCLeventARB)(context, event, flags); |
| return ret; |
| } |
| |
| // GL_ARB_clear_buffer_object |
| |
| static void REGAL_CALL debug_glClearBufferData(GLenum target, GLenum internalformat, GLenum format, GLenum type, const GLvoid *data) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glClearBufferData)(target, internalformat, format, type, data); |
| } |
| |
| static void REGAL_CALL debug_glClearBufferSubData(GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const GLvoid *data) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glClearBufferSubData)(target, internalformat, offset, size, format, type, data); |
| } |
| |
| static void REGAL_CALL debug_glClearNamedBufferDataEXT(GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const GLvoid *data) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glClearNamedBufferDataEXT)(buffer, internalformat, format, type, data); |
| } |
| |
| static void REGAL_CALL debug_glClearNamedBufferSubDataEXT(GLuint buffer, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const GLvoid *data) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glClearNamedBufferSubDataEXT)(buffer, internalformat, offset, size, format, type, data); |
| } |
| |
| // GL_ARB_clear_texture |
| |
| static void REGAL_CALL debug_glClearTexImage(GLuint texture, GLint level, GLenum format, GLenum type, const GLvoid *data) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glClearTexImage)(texture, level, format, type, data); |
| } |
| |
| static void REGAL_CALL debug_glClearTexSubImage(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *data) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glClearTexSubImage)(texture, level, xoffset, yoffset, zoffset, width, height, depth, format, type, data); |
| } |
| |
| // GL_ARB_color_buffer_float |
| |
| static void REGAL_CALL debug_glClampColorARB(GLenum target, GLenum clamp) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glClampColorARB)(target, clamp); |
| } |
| |
| // GL_ARB_compute_shader |
| |
| static void REGAL_CALL debug_glDispatchCompute(GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDispatchCompute)(num_groups_x, num_groups_y, num_groups_z); |
| } |
| |
| static void REGAL_CALL debug_glDispatchComputeIndirect(GLintptr indirect) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDispatchComputeIndirect)(indirect); |
| } |
| |
| // GL_ARB_compute_variable_group_size |
| |
| static void REGAL_CALL debug_glDispatchComputeGroupSizeARB(GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z, GLuint group_size_x, GLuint group_size_y, GLuint group_size_z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDispatchComputeGroupSizeARB)(num_groups_x, num_groups_y, num_groups_z, group_size_x, group_size_y, group_size_z); |
| } |
| |
| // GL_ARB_copy_buffer |
| |
| static void REGAL_CALL debug_glCopyBufferSubData(GLenum readtarget, GLenum writetarget, GLintptr readoffset, GLintptr writeoffset, GLsizeiptr size) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCopyBufferSubData)(readtarget, writetarget, readoffset, writeoffset, size); |
| } |
| |
| // GL_ARB_copy_image |
| |
| static void REGAL_CALL debug_glCopyImageSubData(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) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCopyImageSubData)(srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth); |
| } |
| |
| // GL_ARB_debug_output |
| |
| static void REGAL_CALL debug_glDebugMessageCallbackARB(GLDEBUGPROCARB callback, const void *userParam) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDebugMessageCallbackARB)(callback, userParam); |
| } |
| |
| static void REGAL_CALL debug_glDebugMessageControlARB(GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDebugMessageControlARB)(source, type, severity, count, ids, enabled); |
| } |
| |
| static void REGAL_CALL debug_glDebugMessageInsertARB(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDebugMessageInsertARB)(source, type, id, severity, length, buf); |
| } |
| |
| static GLuint REGAL_CALL debug_glGetDebugMessageLogARB(GLuint count, GLsizei bufsize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLuint ret = _next->call(&_next->glGetDebugMessageLogARB)(count, bufsize, sources, types, ids, severities, lengths, messageLog); |
| return ret; |
| } |
| |
| // GL_ARB_draw_buffers |
| |
| static void REGAL_CALL debug_glDrawBuffersARB(GLsizei n, const GLenum *bufs) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDrawBuffersARB)(n, bufs); |
| } |
| |
| // GL_ARB_draw_buffers_blend |
| |
| static void REGAL_CALL debug_glBlendEquationSeparateiARB(GLuint buf, GLenum modeRGB, GLenum modeAlpha) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBlendEquationSeparateiARB)(buf, modeRGB, modeAlpha); |
| } |
| |
| static void REGAL_CALL debug_glBlendEquationiARB(GLuint buf, GLenum mode) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBlendEquationiARB)(buf, mode); |
| } |
| |
| static void REGAL_CALL debug_glBlendFuncSeparateiARB(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBlendFuncSeparateiARB)(buf, srcRGB, dstRGB, srcAlpha, dstAlpha); |
| } |
| |
| static void REGAL_CALL debug_glBlendFunciARB(GLuint buf, GLenum src, GLenum dst) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBlendFunciARB)(buf, src, dst); |
| } |
| |
| // GL_ARB_draw_elements_base_vertex |
| |
| static void REGAL_CALL debug_glDrawElementsBaseVertex(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDrawElementsBaseVertex)(mode, count, type, indices, basevertex); |
| } |
| |
| static void REGAL_CALL debug_glDrawElementsInstancedBaseVertex(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount, GLint basevertex) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDrawElementsInstancedBaseVertex)(mode, count, type, indices, primcount, basevertex); |
| } |
| |
| static void REGAL_CALL debug_glDrawRangeElementsBaseVertex(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDrawRangeElementsBaseVertex)(mode, start, end, count, type, indices, basevertex); |
| } |
| |
| static void REGAL_CALL debug_glMultiDrawElementsBaseVertex(GLenum mode, const GLsizei *count, GLenum type, const GLvoid * const *indices, GLsizei primcount, const GLint *basevertex) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiDrawElementsBaseVertex)(mode, count, type, indices, primcount, basevertex); |
| } |
| |
| // GL_ARB_draw_indirect |
| |
| static void REGAL_CALL debug_glDrawArraysIndirect(GLenum mode, const GLvoid *indirect) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDrawArraysIndirect)(mode, indirect); |
| } |
| |
| static void REGAL_CALL debug_glDrawElementsIndirect(GLenum mode, GLenum type, const GLvoid *indirect) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDrawElementsIndirect)(mode, type, indirect); |
| } |
| |
| // GL_ARB_draw_instanced |
| |
| static void REGAL_CALL debug_glDrawArraysInstancedARB(GLenum mode, GLint start, GLsizei count, GLsizei primcount) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDrawArraysInstancedARB)(mode, start, count, primcount); |
| } |
| |
| static void REGAL_CALL debug_glDrawElementsInstancedARB(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDrawElementsInstancedARB)(mode, count, type, indices, primcount); |
| } |
| |
| // GL_ARB_framebuffer_no_attachments |
| |
| static void REGAL_CALL debug_glFramebufferParameteri(GLenum target, GLenum pname, GLint param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFramebufferParameteri)(target, pname, param); |
| } |
| |
| static void REGAL_CALL debug_glGetFramebufferParameteriv(GLenum target, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetFramebufferParameteriv)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetNamedFramebufferParameterivEXT(GLuint framebuffer, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetNamedFramebufferParameterivEXT)(framebuffer, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glNamedFramebufferParameteriEXT(GLuint framebuffer, GLenum pname, GLint param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNamedFramebufferParameteriEXT)(framebuffer, pname, param); |
| } |
| |
| // GL_ARB_framebuffer_object |
| |
| static void REGAL_CALL debug_glBindFramebuffer(GLenum target, GLuint framebuffer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBindFramebuffer)(target, framebuffer); |
| } |
| |
| static void REGAL_CALL debug_glBindRenderbuffer(GLenum target, GLuint renderbuffer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBindRenderbuffer)(target, renderbuffer); |
| } |
| |
| static void REGAL_CALL debug_glBlitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBlitFramebuffer)(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); |
| } |
| |
| static GLenum REGAL_CALL debug_glCheckFramebufferStatus(GLenum target) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLenum ret = _next->call(&_next->glCheckFramebufferStatus)(target); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glDeleteFramebuffers(GLsizei n, const GLuint *framebuffers) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDeleteFramebuffers)(n, framebuffers); |
| } |
| |
| static void REGAL_CALL debug_glDeleteRenderbuffers(GLsizei n, const GLuint *renderbuffers) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDeleteRenderbuffers)(n, renderbuffers); |
| } |
| |
| static void REGAL_CALL debug_glFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFramebufferRenderbuffer)(target, attachment, renderbuffertarget, renderbuffer); |
| } |
| |
| static void REGAL_CALL debug_glFramebufferTexture1D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFramebufferTexture1D)(target, attachment, textarget, texture, level); |
| } |
| |
| static void REGAL_CALL debug_glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFramebufferTexture2D)(target, attachment, textarget, texture, level); |
| } |
| |
| static void REGAL_CALL debug_glFramebufferTexture3D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint layer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFramebufferTexture3D)(target, attachment, textarget, texture, level, layer); |
| } |
| |
| static void REGAL_CALL debug_glFramebufferTextureLayer(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFramebufferTextureLayer)(target, attachment, texture, level, layer); |
| } |
| |
| static void REGAL_CALL debug_glGenFramebuffers(GLsizei n, GLuint *framebuffers) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGenFramebuffers)(n, framebuffers); |
| } |
| |
| static void REGAL_CALL debug_glGenRenderbuffers(GLsizei n, GLuint *renderbuffers) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGenRenderbuffers)(n, renderbuffers); |
| } |
| |
| static void REGAL_CALL debug_glGenerateMipmap(GLenum target) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGenerateMipmap)(target); |
| } |
| |
| static void REGAL_CALL debug_glGetFramebufferAttachmentParameteriv(GLenum target, GLenum attachment, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetFramebufferAttachmentParameteriv)(target, attachment, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetRenderbufferParameteriv)(target, pname, params); |
| } |
| |
| static GLboolean REGAL_CALL debug_glIsFramebuffer(GLuint framebuffer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glIsFramebuffer)(framebuffer); |
| return ret; |
| } |
| |
| static GLboolean REGAL_CALL debug_glIsRenderbuffer(GLuint renderbuffer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glIsRenderbuffer)(renderbuffer); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glRenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glRenderbufferStorage)(target, internalformat, width, height); |
| } |
| |
| static void REGAL_CALL debug_glRenderbufferStorageMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glRenderbufferStorageMultisample)(target, samples, internalformat, width, height); |
| } |
| |
| // GL_ARB_geometry_shader4 |
| |
| static void REGAL_CALL debug_glFramebufferTextureARB(GLenum target, GLenum attachment, GLuint texture, GLint level) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFramebufferTextureARB)(target, attachment, texture, level); |
| } |
| |
| static void REGAL_CALL debug_glFramebufferTextureFaceARB(GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFramebufferTextureFaceARB)(target, attachment, texture, level, face); |
| } |
| |
| static void REGAL_CALL debug_glFramebufferTextureLayerARB(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFramebufferTextureLayerARB)(target, attachment, texture, level, layer); |
| } |
| |
| static void REGAL_CALL debug_glProgramParameteriARB(GLuint program, GLenum pname, GLint value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramParameteriARB)(program, pname, value); |
| } |
| |
| // GL_ARB_get_program_binary |
| |
| static void REGAL_CALL debug_glGetProgramBinary(GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetProgramBinary)(program, bufSize, length, binaryFormat, binary); |
| } |
| |
| static void REGAL_CALL debug_glProgramBinary(GLuint program, GLenum binaryFormat, const GLvoid *binary, GLsizei length) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramBinary)(program, binaryFormat, binary, length); |
| } |
| |
| static void REGAL_CALL debug_glProgramParameteri(GLuint program, GLenum pname, GLint value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramParameteri)(program, pname, value); |
| } |
| |
| // GL_ARB_gpu_shader_fp64 |
| |
| static void REGAL_CALL debug_glGetUniformdv(GLuint program, GLint location, GLdouble *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetUniformdv)(program, location, params); |
| } |
| |
| static void REGAL_CALL debug_glUniform1d(GLint location, GLdouble x) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform1d)(location, x); |
| } |
| |
| static void REGAL_CALL debug_glUniform1dv(GLint location, GLsizei count, const GLdouble *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform1dv)(location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glUniform2d(GLint location, GLdouble x, GLdouble y) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform2d)(location, x, y); |
| } |
| |
| static void REGAL_CALL debug_glUniform2dv(GLint location, GLsizei count, const GLdouble *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform2dv)(location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glUniform3d(GLint location, GLdouble x, GLdouble y, GLdouble z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform3d)(location, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glUniform3dv(GLint location, GLsizei count, const GLdouble *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform3dv)(location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glUniform4d(GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform4d)(location, x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glUniform4dv(GLint location, GLsizei count, const GLdouble *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform4dv)(location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glUniformMatrix2dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniformMatrix2dv)(location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glUniformMatrix2x3dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniformMatrix2x3dv)(location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glUniformMatrix2x4dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniformMatrix2x4dv)(location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glUniformMatrix3dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniformMatrix3dv)(location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glUniformMatrix3x2dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniformMatrix3x2dv)(location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glUniformMatrix3x4dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniformMatrix3x4dv)(location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glUniformMatrix4dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniformMatrix4dv)(location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glUniformMatrix4x2dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniformMatrix4x2dv)(location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glUniformMatrix4x3dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniformMatrix4x3dv)(location, count, transpose, value); |
| } |
| |
| // GL_ARB_imaging |
| |
| static void REGAL_CALL debug_glColorSubTable(GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColorSubTable)(target, start, count, format, type, data); |
| } |
| |
| static void REGAL_CALL debug_glColorTable(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColorTable)(target, internalformat, width, format, type, table); |
| } |
| |
| static void REGAL_CALL debug_glColorTableParameterfv(GLenum target, GLenum pname, const GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColorTableParameterfv)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glColorTableParameteriv(GLenum target, GLenum pname, const GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColorTableParameteriv)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glConvolutionFilter1D(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glConvolutionFilter1D)(target, internalformat, width, format, type, image); |
| } |
| |
| static void REGAL_CALL debug_glConvolutionFilter2D(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glConvolutionFilter2D)(target, internalformat, width, height, format, type, image); |
| } |
| |
| static void REGAL_CALL debug_glConvolutionParameterf(GLenum target, GLenum pname, GLfloat params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glConvolutionParameterf)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glConvolutionParameterfv(GLenum target, GLenum pname, const GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glConvolutionParameterfv)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glConvolutionParameteri(GLenum target, GLenum pname, GLint params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glConvolutionParameteri)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glConvolutionParameteriv(GLenum target, GLenum pname, const GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glConvolutionParameteriv)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glCopyColorSubTable(GLenum target, GLsizei start, GLint x, GLint y, GLsizei width) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCopyColorSubTable)(target, start, x, y, width); |
| } |
| |
| static void REGAL_CALL debug_glCopyColorTable(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCopyColorTable)(target, internalformat, x, y, width); |
| } |
| |
| static void REGAL_CALL debug_glCopyConvolutionFilter1D(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCopyConvolutionFilter1D)(target, internalformat, x, y, width); |
| } |
| |
| static void REGAL_CALL debug_glCopyConvolutionFilter2D(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCopyConvolutionFilter2D)(target, internalformat, x, y, width, height); |
| } |
| |
| static void REGAL_CALL debug_glGetColorTable(GLenum target, GLenum format, GLenum type, GLvoid *table) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetColorTable)(target, format, type, table); |
| } |
| |
| static void REGAL_CALL debug_glGetColorTableParameterfv(GLenum target, GLenum pname, GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetColorTableParameterfv)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetColorTableParameteriv(GLenum target, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetColorTableParameteriv)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetConvolutionFilter(GLenum target, GLenum format, GLenum type, GLvoid *image) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetConvolutionFilter)(target, format, type, image); |
| } |
| |
| static void REGAL_CALL debug_glGetConvolutionParameterfv(GLenum target, GLenum pname, GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetConvolutionParameterfv)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetConvolutionParameteriv(GLenum target, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetConvolutionParameteriv)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetHistogram(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetHistogram)(target, reset, format, type, values); |
| } |
| |
| static void REGAL_CALL debug_glGetHistogramParameterfv(GLenum target, GLenum pname, GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetHistogramParameterfv)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetHistogramParameteriv(GLenum target, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetHistogramParameteriv)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetMinmax(GLenum target, GLboolean reset, GLenum format, GLenum types, GLvoid *values) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetMinmax)(target, reset, format, types, values); |
| } |
| |
| static void REGAL_CALL debug_glGetMinmaxParameterfv(GLenum target, GLenum pname, GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetMinmaxParameterfv)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetMinmaxParameteriv(GLenum target, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetMinmaxParameteriv)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetSeparableFilter(GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetSeparableFilter)(target, format, type, row, column, span); |
| } |
| |
| static void REGAL_CALL debug_glHistogram(GLenum target, GLsizei width, GLenum internalformat, GLboolean sink) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glHistogram)(target, width, internalformat, sink); |
| } |
| |
| static void REGAL_CALL debug_glMinmax(GLenum target, GLenum internalformat, GLboolean sink) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMinmax)(target, internalformat, sink); |
| } |
| |
| static void REGAL_CALL debug_glResetHistogram(GLenum target) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glResetHistogram)(target); |
| } |
| |
| static void REGAL_CALL debug_glResetMinmax(GLenum target) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glResetMinmax)(target); |
| } |
| |
| static void REGAL_CALL debug_glSeparableFilter2D(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSeparableFilter2D)(target, internalformat, width, height, format, type, row, column); |
| } |
| |
| // GL_ARB_indirect_parameters |
| |
| static void REGAL_CALL debug_glMultiDrawArraysIndirectCountARB(GLenum mode, const GLvoid *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiDrawArraysIndirectCountARB)(mode, indirect, drawcount, maxdrawcount, stride); |
| } |
| |
| static void REGAL_CALL debug_glMultiDrawElementsIndirectCountARB(GLenum mode, GLenum type, const GLvoid *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiDrawElementsIndirectCountARB)(mode, type, indirect, drawcount, maxdrawcount, stride); |
| } |
| |
| // GL_ARB_instanced_arrays |
| |
| static void REGAL_CALL debug_glVertexAttribDivisorARB(GLuint index, GLuint divisor) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribDivisorARB)(index, divisor); |
| } |
| |
| // GL_ARB_internalformat_query |
| |
| static void REGAL_CALL debug_glGetInternalformativ(GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetInternalformativ)(target, internalformat, pname, bufSize, params); |
| } |
| |
| // GL_ARB_internalformat_query2 |
| |
| static void REGAL_CALL debug_glGetInternalformati64v(GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetInternalformati64v)(target, internalformat, pname, bufSize, params); |
| } |
| |
| // GL_ARB_invalidate_subdata |
| |
| static void REGAL_CALL debug_glInvalidateBufferData(GLuint buffer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glInvalidateBufferData)(buffer); |
| } |
| |
| static void REGAL_CALL debug_glInvalidateBufferSubData(GLuint buffer, GLintptr offset, GLsizeiptr length) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glInvalidateBufferSubData)(buffer, offset, length); |
| } |
| |
| static void REGAL_CALL debug_glInvalidateFramebuffer(GLenum target, GLsizei numAttachments, const GLenum *attachments) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glInvalidateFramebuffer)(target, numAttachments, attachments); |
| } |
| |
| static void REGAL_CALL debug_glInvalidateSubFramebuffer(GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glInvalidateSubFramebuffer)(target, numAttachments, attachments, x, y, width, height); |
| } |
| |
| static void REGAL_CALL debug_glInvalidateTexImage(GLuint texture, GLint level) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glInvalidateTexImage)(texture, level); |
| } |
| |
| static void REGAL_CALL debug_glInvalidateTexSubImage(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glInvalidateTexSubImage)(texture, level, xoffset, yoffset, zoffset, width, height, depth); |
| } |
| |
| // GL_ARB_map_buffer_range |
| |
| static void REGAL_CALL debug_glFlushMappedBufferRange(GLenum target, GLintptr offset, GLsizeiptr length) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFlushMappedBufferRange)(target, offset, length); |
| } |
| |
| static GLvoid *REGAL_CALL debug_glMapBufferRange(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLvoid * ret = _next->call(&_next->glMapBufferRange)(target, offset, length, access); |
| return ret; |
| } |
| |
| // GL_ARB_matrix_palette |
| |
| static void REGAL_CALL debug_glCurrentPaletteMatrixARB(GLint index) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCurrentPaletteMatrixARB)(index); |
| } |
| |
| static void REGAL_CALL debug_glMatrixIndexPointerARB(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMatrixIndexPointerARB)(size, type, stride, pointer); |
| } |
| |
| static void REGAL_CALL debug_glMatrixIndexubvARB(GLint size, const GLubyte *indices) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMatrixIndexubvARB)(size, indices); |
| } |
| |
| static void REGAL_CALL debug_glMatrixIndexuivARB(GLint size, const GLuint *indices) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMatrixIndexuivARB)(size, indices); |
| } |
| |
| static void REGAL_CALL debug_glMatrixIndexusvARB(GLint size, const GLushort *indices) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMatrixIndexusvARB)(size, indices); |
| } |
| |
| // GL_ARB_multi_bind |
| |
| static void REGAL_CALL debug_glBindBuffersBase(GLenum target, GLuint first, GLsizei count, const GLuint *buffers) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBindBuffersBase)(target, first, count, buffers); |
| } |
| |
| static void REGAL_CALL debug_glBindBuffersRange(GLenum target, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizeiptr *sizes) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBindBuffersRange)(target, first, count, buffers, offsets, sizes); |
| } |
| |
| static void REGAL_CALL debug_glBindImageTextures(GLuint first, GLsizei count, const GLuint *textures) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBindImageTextures)(first, count, textures); |
| } |
| |
| static void REGAL_CALL debug_glBindSamplers(GLuint first, GLsizei count, const GLuint *samplers) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBindSamplers)(first, count, samplers); |
| } |
| |
| static void REGAL_CALL debug_glBindTextures(GLuint first, GLsizei count, const GLuint *textures) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBindTextures)(first, count, textures); |
| } |
| |
| static void REGAL_CALL debug_glBindVertexBuffers(GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBindVertexBuffers)(first, count, buffers, offsets, strides); |
| } |
| |
| // GL_ARB_multi_draw_indirect |
| |
| static void REGAL_CALL debug_glMultiDrawArraysIndirect(GLenum mode, const GLvoid *indirect, GLsizei primcount, GLsizei stride) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiDrawArraysIndirect)(mode, indirect, primcount, stride); |
| } |
| |
| static void REGAL_CALL debug_glMultiDrawElementsIndirect(GLenum mode, GLenum type, const GLvoid *indirect, GLsizei primcount, GLsizei stride) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiDrawElementsIndirect)(mode, type, indirect, primcount, stride); |
| } |
| |
| // GL_ARB_multisample |
| |
| static void REGAL_CALL debug_glSampleCoverageARB(GLclampf value, GLboolean invert) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSampleCoverageARB)(value, invert); |
| } |
| |
| // GL_ARB_multitexture |
| |
| static void REGAL_CALL debug_glActiveTextureARB(GLenum texture) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _context->dbg->ActiveTexture( _context, texture ); |
| _next->call(&_next->glActiveTextureARB)(texture); |
| } |
| |
| static void REGAL_CALL debug_glClientActiveTextureARB(GLenum texture) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _context->dbg->ClientActiveTexture( _context, texture ); |
| _next->call(&_next->glClientActiveTextureARB)(texture); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord1dARB(GLenum target, GLdouble s) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord1dARB)(target, s); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord1dvARB(GLenum target, const GLdouble *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord1dvARB)(target, v); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord1fARB(GLenum target, GLfloat s) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord1fARB)(target, s); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord1fvARB(GLenum target, const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord1fvARB)(target, v); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord1iARB(GLenum target, GLint s) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord1iARB)(target, s); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord1ivARB(GLenum target, const GLint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord1ivARB)(target, v); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord1sARB(GLenum target, GLshort s) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord1sARB)(target, s); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord1svARB(GLenum target, const GLshort *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord1svARB)(target, v); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord2dARB(GLenum target, GLdouble s, GLdouble t) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord2dARB)(target, s, t); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord2dvARB(GLenum target, const GLdouble *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord2dvARB)(target, v); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord2fARB(GLenum target, GLfloat s, GLfloat t) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord2fARB)(target, s, t); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord2fvARB(GLenum target, const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord2fvARB)(target, v); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord2iARB(GLenum target, GLint s, GLint t) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord2iARB)(target, s, t); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord2ivARB(GLenum target, const GLint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord2ivARB)(target, v); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord2sARB(GLenum target, GLshort s, GLshort t) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord2sARB)(target, s, t); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord2svARB(GLenum target, const GLshort *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord2svARB)(target, v); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord3dARB(GLenum target, GLdouble s, GLdouble t, GLdouble r) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord3dARB)(target, s, t, r); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord3dvARB(GLenum target, const GLdouble *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord3dvARB)(target, v); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord3fARB(GLenum target, GLfloat s, GLfloat t, GLfloat r) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord3fARB)(target, s, t, r); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord3fvARB(GLenum target, const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord3fvARB)(target, v); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord3iARB(GLenum target, GLint s, GLint t, GLint r) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord3iARB)(target, s, t, r); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord3ivARB(GLenum target, const GLint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord3ivARB)(target, v); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord3sARB(GLenum target, GLshort s, GLshort t, GLshort r) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord3sARB)(target, s, t, r); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord3svARB(GLenum target, const GLshort *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord3svARB)(target, v); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord4dARB(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord4dARB)(target, s, t, r, q); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord4dvARB(GLenum target, const GLdouble *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord4dvARB)(target, v); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord4fARB(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord4fARB)(target, s, t, r, q); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord4fvARB(GLenum target, const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord4fvARB)(target, v); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord4iARB(GLenum target, GLint s, GLint t, GLint r, GLint q) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord4iARB)(target, s, t, r, q); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord4ivARB(GLenum target, const GLint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord4ivARB)(target, v); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord4sARB(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord4sARB)(target, s, t, r, q); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord4svARB(GLenum target, const GLshort *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord4svARB)(target, v); |
| } |
| |
| // GL_ARB_occlusion_query |
| |
| static void REGAL_CALL debug_glBeginQueryARB(GLenum target, GLuint id) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBeginQueryARB)(target, id); |
| } |
| |
| static void REGAL_CALL debug_glDeleteQueriesARB(GLsizei n, const GLuint *ids) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDeleteQueriesARB)(n, ids); |
| } |
| |
| static void REGAL_CALL debug_glEndQueryARB(GLenum target) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glEndQueryARB)(target); |
| } |
| |
| static void REGAL_CALL debug_glGenQueriesARB(GLsizei n, GLuint *ids) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGenQueriesARB)(n, ids); |
| } |
| |
| static void REGAL_CALL debug_glGetQueryObjectivARB(GLuint id, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetQueryObjectivARB)(id, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetQueryObjectuivARB(GLuint id, GLenum pname, GLuint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetQueryObjectuivARB)(id, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetQueryivARB(GLenum target, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetQueryivARB)(target, pname, params); |
| } |
| |
| static GLboolean REGAL_CALL debug_glIsQueryARB(GLuint id) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glIsQueryARB)(id); |
| return ret; |
| } |
| |
| // GL_ARB_point_parameters |
| |
| static void REGAL_CALL debug_glPointParameterfARB(GLenum pname, GLfloat param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPointParameterfARB)(pname, param); |
| } |
| |
| static void REGAL_CALL debug_glPointParameterfvARB(GLenum pname, const GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPointParameterfvARB)(pname, params); |
| } |
| |
| // GL_ARB_program_interface_query |
| |
| static void REGAL_CALL debug_glGetProgramInterfaceiv(GLuint program, GLenum programInterface, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetProgramInterfaceiv)(program, programInterface, pname, params); |
| } |
| |
| static GLuint REGAL_CALL debug_glGetProgramResourceIndex(GLuint program, GLenum programInterface, const GLchar *name) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLuint ret = _next->call(&_next->glGetProgramResourceIndex)(program, programInterface, name); |
| return ret; |
| } |
| |
| static GLint REGAL_CALL debug_glGetProgramResourceLocation(GLuint program, GLenum programInterface, const GLchar *name) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLint ret = _next->call(&_next->glGetProgramResourceLocation)(program, programInterface, name); |
| return ret; |
| } |
| |
| static GLint REGAL_CALL debug_glGetProgramResourceLocationIndex(GLuint program, GLenum programInterface, const GLchar *name) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLint ret = _next->call(&_next->glGetProgramResourceLocationIndex)(program, programInterface, name); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glGetProgramResourceName(GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetProgramResourceName)(program, programInterface, index, bufSize, length, name); |
| } |
| |
| static void REGAL_CALL debug_glGetProgramResourceiv(GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetProgramResourceiv)(program, programInterface, index, propCount, props, bufSize, length, params); |
| } |
| |
| // GL_ARB_provoking_vertex |
| |
| static void REGAL_CALL debug_glProvokingVertex(GLenum mode) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProvokingVertex)(mode); |
| } |
| |
| // GL_ARB_robustness |
| |
| static GLenum REGAL_CALL debug_glGetGraphicsResetStatusARB(void) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLenum ret = _next->call(&_next->glGetGraphicsResetStatusARB)(); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glGetnColorTableARB(GLenum target, GLenum format, GLenum type, GLsizei bufSize, GLvoid *table) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetnColorTableARB)(target, format, type, bufSize, table); |
| } |
| |
| static void REGAL_CALL debug_glGetnCompressedTexImageARB(GLenum target, GLint lod, GLsizei bufSize, GLvoid *img) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetnCompressedTexImageARB)(target, lod, bufSize, img); |
| } |
| |
| static void REGAL_CALL debug_glGetnConvolutionFilterARB(GLenum target, GLenum format, GLenum type, GLsizei bufSize, GLvoid *image) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetnConvolutionFilterARB)(target, format, type, bufSize, image); |
| } |
| |
| static void REGAL_CALL debug_glGetnHistogramARB(GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, GLvoid *values) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetnHistogramARB)(target, reset, format, type, bufSize, values); |
| } |
| |
| static void REGAL_CALL debug_glGetnMapdvARB(GLenum target, GLenum query, GLsizei bufSize, GLdouble *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetnMapdvARB)(target, query, bufSize, v); |
| } |
| |
| static void REGAL_CALL debug_glGetnMapfvARB(GLenum target, GLenum query, GLsizei bufSize, GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetnMapfvARB)(target, query, bufSize, v); |
| } |
| |
| static void REGAL_CALL debug_glGetnMapivARB(GLenum target, GLenum query, GLsizei bufSize, GLint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetnMapivARB)(target, query, bufSize, v); |
| } |
| |
| static void REGAL_CALL debug_glGetnMinmaxARB(GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, GLvoid *values) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetnMinmaxARB)(target, reset, format, type, bufSize, values); |
| } |
| |
| static void REGAL_CALL debug_glGetnPixelMapfvARB(GLenum map, GLsizei bufSize, GLfloat *values) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetnPixelMapfvARB)(map, bufSize, values); |
| } |
| |
| static void REGAL_CALL debug_glGetnPixelMapuivARB(GLenum map, GLsizei bufSize, GLuint *values) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetnPixelMapuivARB)(map, bufSize, values); |
| } |
| |
| static void REGAL_CALL debug_glGetnPixelMapusvARB(GLenum map, GLsizei bufSize, GLushort *values) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetnPixelMapusvARB)(map, bufSize, values); |
| } |
| |
| static void REGAL_CALL debug_glGetnPolygonStippleARB(GLsizei bufSize, GLubyte *pattern) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetnPolygonStippleARB)(bufSize, pattern); |
| } |
| |
| static void REGAL_CALL debug_glGetnSeparableFilterARB(GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, GLvoid *row, GLsizei columnBufSize, GLvoid *column, GLvoid *span) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetnSeparableFilterARB)(target, format, type, rowBufSize, row, columnBufSize, column, span); |
| } |
| |
| static void REGAL_CALL debug_glGetnTexImageARB(GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, GLvoid *img) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetnTexImageARB)(target, level, format, type, bufSize, img); |
| } |
| |
| static void REGAL_CALL debug_glGetnUniformdvARB(GLuint program, GLint location, GLsizei bufSize, GLdouble *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetnUniformdvARB)(program, location, bufSize, params); |
| } |
| |
| static void REGAL_CALL debug_glGetnUniformfvARB(GLuint program, GLint location, GLsizei bufSize, GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetnUniformfvARB)(program, location, bufSize, params); |
| } |
| |
| static void REGAL_CALL debug_glGetnUniformivARB(GLuint program, GLint location, GLsizei bufSize, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetnUniformivARB)(program, location, bufSize, params); |
| } |
| |
| static void REGAL_CALL debug_glGetnUniformuivARB(GLuint program, GLint location, GLsizei bufSize, GLuint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetnUniformuivARB)(program, location, bufSize, params); |
| } |
| |
| static void REGAL_CALL debug_glReadnPixelsARB(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, GLvoid *data) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glReadnPixelsARB)(x, y, width, height, format, type, bufSize, data); |
| } |
| |
| // GL_ARB_sample_shading |
| |
| static void REGAL_CALL debug_glMinSampleShading(GLclampf value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMinSampleShading)(value); |
| } |
| |
| static void REGAL_CALL debug_glMinSampleShadingARB(GLclampf value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMinSampleShadingARB)(value); |
| } |
| |
| // GL_ARB_sampler_objects |
| |
| static void REGAL_CALL debug_glBindSampler(GLuint unit, GLuint sampler) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBindSampler)(unit, sampler); |
| } |
| |
| static void REGAL_CALL debug_glDeleteSamplers(GLsizei count, const GLuint *samplers) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDeleteSamplers)(count, samplers); |
| } |
| |
| static void REGAL_CALL debug_glGenSamplers(GLsizei count, GLuint *samplers) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGenSamplers)(count, samplers); |
| } |
| |
| static void REGAL_CALL debug_glGetSamplerParameterIiv(GLuint sampler, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetSamplerParameterIiv)(sampler, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetSamplerParameterIuiv(GLuint sampler, GLenum pname, GLuint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetSamplerParameterIuiv)(sampler, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetSamplerParameterfv(GLuint sampler, GLenum pname, GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetSamplerParameterfv)(sampler, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetSamplerParameteriv(GLuint sampler, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetSamplerParameteriv)(sampler, pname, params); |
| } |
| |
| static GLboolean REGAL_CALL debug_glIsSampler(GLuint sampler) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glIsSampler)(sampler); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glSamplerParameterIiv(GLuint sampler, GLenum pname, const GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSamplerParameterIiv)(sampler, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glSamplerParameterIuiv(GLuint sampler, GLenum pname, const GLuint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSamplerParameterIuiv)(sampler, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glSamplerParameterf(GLuint sampler, GLenum pname, GLfloat param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSamplerParameterf)(sampler, pname, param); |
| } |
| |
| static void REGAL_CALL debug_glSamplerParameterfv(GLuint sampler, GLenum pname, const GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSamplerParameterfv)(sampler, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glSamplerParameteri(GLuint sampler, GLenum pname, GLint param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSamplerParameteri)(sampler, pname, param); |
| } |
| |
| static void REGAL_CALL debug_glSamplerParameteriv(GLuint sampler, GLenum pname, const GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSamplerParameteriv)(sampler, pname, params); |
| } |
| |
| // GL_ARB_separate_shader_objects |
| |
| static void REGAL_CALL debug_glActiveShaderProgram(GLuint pipeline, GLuint program) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glActiveShaderProgram)(pipeline, program); |
| } |
| |
| static void REGAL_CALL debug_glBindProgramPipeline(GLuint pipeline) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBindProgramPipeline)(pipeline); |
| } |
| |
| static GLuint REGAL_CALL debug_glCreateShaderProgramv(GLenum type, GLsizei count, const GLchar * const *strings) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLuint ret = _next->call(&_next->glCreateShaderProgramv)(type, count, strings); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glDeleteProgramPipelines(GLsizei n, const GLuint *pipelines) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDeleteProgramPipelines)(n, pipelines); |
| } |
| |
| static void REGAL_CALL debug_glGenProgramPipelines(GLsizei n, GLuint *pipelines) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGenProgramPipelines)(n, pipelines); |
| } |
| |
| static void REGAL_CALL debug_glGetProgramPipelineInfoLog(GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetProgramPipelineInfoLog)(pipeline, bufSize, length, infoLog); |
| } |
| |
| static void REGAL_CALL debug_glGetProgramPipelineiv(GLuint pipeline, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetProgramPipelineiv)(pipeline, pname, params); |
| } |
| |
| static GLboolean REGAL_CALL debug_glIsProgramPipeline(GLuint pipeline) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glIsProgramPipeline)(pipeline); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform1d(GLuint program, GLint location, GLdouble x) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform1d)(program, location, x); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform1dv(GLuint program, GLint location, GLsizei count, const GLdouble *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform1dv)(program, location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform1f(GLuint program, GLint location, GLfloat x) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform1f)(program, location, x); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform1fv(GLuint program, GLint location, GLsizei count, const GLfloat *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform1fv)(program, location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform1i(GLuint program, GLint location, GLint x) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform1i)(program, location, x); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform1iv(GLuint program, GLint location, GLsizei count, const GLint *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform1iv)(program, location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform1ui(GLuint program, GLint location, GLuint v0) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform1ui)(program, location, v0); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform1uiv(GLuint program, GLint location, GLsizei count, const GLuint *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform1uiv)(program, location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform2d(GLuint program, GLint location, GLdouble x, GLdouble y) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform2d)(program, location, x, y); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform2dv(GLuint program, GLint location, GLsizei count, const GLdouble *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform2dv)(program, location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform2f(GLuint program, GLint location, GLfloat x, GLfloat y) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform2f)(program, location, x, y); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform2fv(GLuint program, GLint location, GLsizei count, const GLfloat *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform2fv)(program, location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform2i(GLuint program, GLint location, GLint x, GLint y) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform2i)(program, location, x, y); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform2iv(GLuint program, GLint location, GLsizei count, const GLint *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform2iv)(program, location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform2ui(GLuint program, GLint location, GLuint x, GLuint y) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform2ui)(program, location, x, y); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform2uiv(GLuint program, GLint location, GLsizei count, const GLuint *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform2uiv)(program, location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform3d(GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform3d)(program, location, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform3dv(GLuint program, GLint location, GLsizei count, const GLdouble *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform3dv)(program, location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform3f(GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform3f)(program, location, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform3fv(GLuint program, GLint location, GLsizei count, const GLfloat *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform3fv)(program, location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform3i(GLuint program, GLint location, GLint x, GLint y, GLint z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform3i)(program, location, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform3iv(GLuint program, GLint location, GLsizei count, const GLint *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform3iv)(program, location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform3ui(GLuint program, GLint location, GLuint x, GLuint y, GLuint z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform3ui)(program, location, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform3uiv(GLuint program, GLint location, GLsizei count, const GLuint *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform3uiv)(program, location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform4d(GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform4d)(program, location, x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform4dv(GLuint program, GLint location, GLsizei count, const GLdouble *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform4dv)(program, location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform4f(GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform4f)(program, location, x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform4fv(GLuint program, GLint location, GLsizei count, const GLfloat *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform4fv)(program, location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform4i(GLuint program, GLint location, GLint x, GLint y, GLint z, GLint w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform4i)(program, location, x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform4iv(GLuint program, GLint location, GLsizei count, const GLint *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform4iv)(program, location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform4ui(GLuint program, GLint location, GLuint x, GLuint y, GLuint z, GLuint w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform4ui)(program, location, x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform4uiv(GLuint program, GLint location, GLsizei count, const GLuint *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform4uiv)(program, location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniformMatrix2dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniformMatrix2dv)(program, location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniformMatrix2fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniformMatrix2fv)(program, location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniformMatrix2x3dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniformMatrix2x3dv)(program, location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniformMatrix2x3fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniformMatrix2x3fv)(program, location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniformMatrix2x4dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniformMatrix2x4dv)(program, location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniformMatrix2x4fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniformMatrix2x4fv)(program, location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniformMatrix3dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniformMatrix3dv)(program, location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniformMatrix3fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniformMatrix3fv)(program, location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniformMatrix3x2dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniformMatrix3x2dv)(program, location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniformMatrix3x2fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniformMatrix3x2fv)(program, location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniformMatrix3x4dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniformMatrix3x4dv)(program, location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniformMatrix3x4fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniformMatrix3x4fv)(program, location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniformMatrix4dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniformMatrix4dv)(program, location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniformMatrix4fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniformMatrix4fv)(program, location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniformMatrix4x2dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniformMatrix4x2dv)(program, location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniformMatrix4x2fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniformMatrix4x2fv)(program, location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniformMatrix4x3dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniformMatrix4x3dv)(program, location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniformMatrix4x3fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniformMatrix4x3fv)(program, location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glUseProgramStages(GLuint pipeline, GLbitfield stages, GLuint program) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUseProgramStages)(pipeline, stages, program); |
| } |
| |
| static void REGAL_CALL debug_glValidateProgramPipeline(GLuint pipeline) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glValidateProgramPipeline)(pipeline); |
| } |
| |
| // GL_ARB_shader_atomic_counters |
| |
| static void REGAL_CALL debug_glGetActiveAtomicCounterBufferiv(GLuint program, GLuint bufferIndex, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetActiveAtomicCounterBufferiv)(program, bufferIndex, pname, params); |
| } |
| |
| // GL_ARB_shader_image_load_store |
| |
| static void REGAL_CALL debug_glBindImageTexture(GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBindImageTexture)(unit, texture, level, layered, layer, access, format); |
| } |
| |
| static void REGAL_CALL debug_glMemoryBarrier(GLbitfield barriers) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMemoryBarrier)(barriers); |
| } |
| |
| // GL_ARB_shader_objects |
| |
| static void REGAL_CALL debug_glAttachObjectARB(GLhandleARB containerObj, GLhandleARB obj) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glAttachObjectARB)(containerObj, obj); |
| } |
| |
| static void REGAL_CALL debug_glCompileShaderARB(GLhandleARB shaderObj) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCompileShaderARB)(shaderObj); |
| } |
| |
| static GLhandleARB REGAL_CALL debug_glCreateProgramObjectARB(void) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLhandleARB ret = _next->call(&_next->glCreateProgramObjectARB)(); |
| return ret; |
| } |
| |
| static GLhandleARB REGAL_CALL debug_glCreateShaderObjectARB(GLenum shaderType) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLhandleARB ret = _next->call(&_next->glCreateShaderObjectARB)(shaderType); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glDeleteObjectARB(GLhandleARB obj) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDeleteObjectARB)(obj); |
| } |
| |
| static void REGAL_CALL debug_glDetachObjectARB(GLhandleARB containerObj, GLhandleARB attachedObj) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDetachObjectARB)(containerObj, attachedObj); |
| } |
| |
| static void REGAL_CALL debug_glGetActiveUniformARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetActiveUniformARB)(programObj, index, maxLength, length, size, type, name); |
| } |
| |
| static void REGAL_CALL debug_glGetAttachedObjectsARB(GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetAttachedObjectsARB)(containerObj, maxCount, count, obj); |
| } |
| |
| static GLhandleARB REGAL_CALL debug_glGetHandleARB(GLenum pname) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLhandleARB ret = _next->call(&_next->glGetHandleARB)(pname); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glGetInfoLogARB(GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetInfoLogARB)(obj, maxLength, length, infoLog); |
| } |
| |
| static void REGAL_CALL debug_glGetObjectParameterfvARB(GLhandleARB obj, GLenum pname, GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetObjectParameterfvARB)(obj, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetObjectParameterivARB(GLhandleARB obj, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetObjectParameterivARB)(obj, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetShaderSourceARB(GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetShaderSourceARB)(obj, maxLength, length, source); |
| } |
| |
| static GLint REGAL_CALL debug_glGetUniformLocationARB(GLhandleARB programObj, const GLcharARB *name) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLint ret = _next->call(&_next->glGetUniformLocationARB)(programObj, name); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glGetUniformfvARB(GLhandleARB programObj, GLint location, GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetUniformfvARB)(programObj, location, params); |
| } |
| |
| static void REGAL_CALL debug_glGetUniformivARB(GLhandleARB programObj, GLint location, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetUniformivARB)(programObj, location, params); |
| } |
| |
| static void REGAL_CALL debug_glLinkProgramARB(GLhandleARB programObj) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glLinkProgramARB)(programObj); |
| } |
| |
| static void REGAL_CALL debug_glShaderSourceARB(GLhandleARB shaderObj, GLsizei count, const GLcharARB ** const string, const GLint *length) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glShaderSourceARB)(shaderObj, count, string, length); |
| } |
| |
| static void REGAL_CALL debug_glUniform1fARB(GLint location, GLfloat v0) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform1fARB)(location, v0); |
| } |
| |
| static void REGAL_CALL debug_glUniform1fvARB(GLint location, GLsizei count, const GLfloat *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform1fvARB)(location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glUniform1iARB(GLint location, GLint v0) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform1iARB)(location, v0); |
| } |
| |
| static void REGAL_CALL debug_glUniform1ivARB(GLint location, GLsizei count, const GLint *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform1ivARB)(location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glUniform2fARB(GLint location, GLfloat v0, GLfloat v1) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform2fARB)(location, v0, v1); |
| } |
| |
| static void REGAL_CALL debug_glUniform2fvARB(GLint location, GLsizei count, const GLfloat *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform2fvARB)(location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glUniform2iARB(GLint location, GLint v0, GLint v1) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform2iARB)(location, v0, v1); |
| } |
| |
| static void REGAL_CALL debug_glUniform2ivARB(GLint location, GLsizei count, const GLint *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform2ivARB)(location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glUniform3fARB(GLint location, GLfloat v0, GLfloat v1, GLfloat v2) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform3fARB)(location, v0, v1, v2); |
| } |
| |
| static void REGAL_CALL debug_glUniform3fvARB(GLint location, GLsizei count, const GLfloat *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform3fvARB)(location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glUniform3iARB(GLint location, GLint v0, GLint v1, GLint v2) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform3iARB)(location, v0, v1, v2); |
| } |
| |
| static void REGAL_CALL debug_glUniform3ivARB(GLint location, GLsizei count, const GLint *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform3ivARB)(location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glUniform4fARB(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform4fARB)(location, v0, v1, v2, v3); |
| } |
| |
| static void REGAL_CALL debug_glUniform4fvARB(GLint location, GLsizei count, const GLfloat *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform4fvARB)(location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glUniform4iARB(GLint location, GLint v0, GLint v1, GLint v2, GLint v3) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform4iARB)(location, v0, v1, v2, v3); |
| } |
| |
| static void REGAL_CALL debug_glUniform4ivARB(GLint location, GLsizei count, const GLint *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform4ivARB)(location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glUniformMatrix2fvARB(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniformMatrix2fvARB)(location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glUniformMatrix3fvARB(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniformMatrix3fvARB)(location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glUniformMatrix4fvARB(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniformMatrix4fvARB)(location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glUseProgramObjectARB(GLhandleARB programObj) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUseProgramObjectARB)(programObj); |
| } |
| |
| static void REGAL_CALL debug_glValidateProgramARB(GLhandleARB programObj) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glValidateProgramARB)(programObj); |
| } |
| |
| // GL_ARB_shader_storage_buffer_object |
| |
| static void REGAL_CALL debug_glShaderStorageBlockBinding(GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glShaderStorageBlockBinding)(program, storageBlockIndex, storageBlockBinding); |
| } |
| |
| // GL_ARB_shader_subroutine |
| |
| static void REGAL_CALL debug_glGetActiveSubroutineName(GLuint program, GLenum shaderType, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetActiveSubroutineName)(program, shaderType, index, bufSize, length, name); |
| } |
| |
| static void REGAL_CALL debug_glGetActiveSubroutineUniformName(GLuint program, GLenum shaderType, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetActiveSubroutineUniformName)(program, shaderType, index, bufSize, length, name); |
| } |
| |
| static void REGAL_CALL debug_glGetActiveSubroutineUniformiv(GLuint program, GLenum shaderType, GLuint index, GLenum pname, GLint *values) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetActiveSubroutineUniformiv)(program, shaderType, index, pname, values); |
| } |
| |
| static void REGAL_CALL debug_glGetProgramStageiv(GLuint program, GLenum shaderType, GLenum pname, GLint *values) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetProgramStageiv)(program, shaderType, pname, values); |
| } |
| |
| static void REGAL_CALL debug_glGetProgramSubroutineParameteruivNV(GLenum target, GLuint index, GLuint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetProgramSubroutineParameteruivNV)(target, index, params); |
| } |
| |
| static GLuint REGAL_CALL debug_glGetSubroutineIndex(GLuint program, GLenum shaderType, const GLchar *name) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLuint ret = _next->call(&_next->glGetSubroutineIndex)(program, shaderType, name); |
| return ret; |
| } |
| |
| static GLint REGAL_CALL debug_glGetSubroutineUniformLocation(GLuint program, GLenum shaderType, const GLchar *name) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLint ret = _next->call(&_next->glGetSubroutineUniformLocation)(program, shaderType, name); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glGetUniformSubroutineuiv(GLenum shaderType, GLint location, GLuint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetUniformSubroutineuiv)(shaderType, location, params); |
| } |
| |
| static void REGAL_CALL debug_glProgramSubroutineParametersuivNV(GLenum target, GLsizei count, const GLuint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramSubroutineParametersuivNV)(target, count, params); |
| } |
| |
| static void REGAL_CALL debug_glUniformSubroutinesuiv(GLenum shaderType, GLsizei count, const GLuint *indices) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniformSubroutinesuiv)(shaderType, count, indices); |
| } |
| |
| // GL_ARB_shading_language_include |
| |
| static void REGAL_CALL debug_glCompileShaderIncludeARB(GLuint shader, GLsizei count, const GLchar * const *path, const GLint *length) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCompileShaderIncludeARB)(shader, count, path, length); |
| } |
| |
| static void REGAL_CALL debug_glDeleteNamedStringARB(GLint namelen, const GLchar *name) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDeleteNamedStringARB)(namelen, name); |
| } |
| |
| static void REGAL_CALL debug_glGetNamedStringARB(GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetNamedStringARB)(namelen, name, bufSize, stringlen, string); |
| } |
| |
| static void REGAL_CALL debug_glGetNamedStringivARB(GLint namelen, const GLchar *name, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetNamedStringivARB)(namelen, name, pname, params); |
| } |
| |
| static GLboolean REGAL_CALL debug_glIsNamedStringARB(GLint namelen, const GLchar *name) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glIsNamedStringARB)(namelen, name); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glNamedStringARB(GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNamedStringARB)(type, namelen, name, stringlen, string); |
| } |
| |
| // GL_ARB_sparse_texture |
| |
| static void REGAL_CALL debug_glTexPageCommitmentARB(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexPageCommitmentARB)(target, level, xoffset, yoffset, zoffset, width, height, depth, commit); |
| } |
| |
| static void REGAL_CALL debug_glTexturePageCommitmentEXT(GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexturePageCommitmentEXT)(texture, target, level, xoffset, yoffset, zoffset, width, height, depth, commit); |
| } |
| |
| // GL_ARB_sync |
| |
| static GLenum REGAL_CALL debug_glClientWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLenum ret = _next->call(&_next->glClientWaitSync)(sync, flags, timeout); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glDeleteSync(GLsync sync) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDeleteSync)(sync); |
| } |
| |
| static GLsync REGAL_CALL debug_glFenceSync(GLenum condition, GLbitfield flags) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLsync ret = _next->call(&_next->glFenceSync)(condition, flags); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glGetInteger64v(GLenum pname, GLint64 *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetInteger64v)(pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetSynciv(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetSynciv)(sync, pname, bufSize, length, values); |
| } |
| |
| static GLboolean REGAL_CALL debug_glIsSync(GLsync sync) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glIsSync)(sync); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWaitSync)(sync, flags, timeout); |
| } |
| |
| // GL_ARB_tessellation_shader |
| |
| static void REGAL_CALL debug_glPatchParameterfv(GLenum pname, const GLfloat *values) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPatchParameterfv)(pname, values); |
| } |
| |
| static void REGAL_CALL debug_glPatchParameteri(GLenum pname, GLint value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPatchParameteri)(pname, value); |
| } |
| |
| // GL_ARB_texture_buffer_object |
| |
| static void REGAL_CALL debug_glTexBufferARB(GLenum target, GLenum internalformat, GLuint buffer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexBufferARB)(target, internalformat, buffer); |
| } |
| |
| // GL_ARB_texture_buffer_range |
| |
| static void REGAL_CALL debug_glTexBufferRange(GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexBufferRange)(target, internalformat, buffer, offset, size); |
| } |
| |
| static void REGAL_CALL debug_glTextureBufferRangeEXT(GLuint texture, GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTextureBufferRangeEXT)(texture, target, internalformat, buffer, offset, size); |
| } |
| |
| // GL_ARB_texture_compression |
| |
| static void REGAL_CALL debug_glCompressedTexImage1DARB(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCompressedTexImage1DARB)(target, level, internalformat, width, border, imageSize, data); |
| } |
| |
| static void REGAL_CALL debug_glCompressedTexImage2DARB(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCompressedTexImage2DARB)(target, level, internalformat, width, height, border, imageSize, data); |
| } |
| |
| static void REGAL_CALL debug_glCompressedTexImage3DARB(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCompressedTexImage3DARB)(target, level, internalformat, width, height, depth, border, imageSize, data); |
| } |
| |
| static void REGAL_CALL debug_glCompressedTexSubImage1DARB(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCompressedTexSubImage1DARB)(target, level, xoffset, width, format, imageSize, data); |
| } |
| |
| static void REGAL_CALL debug_glCompressedTexSubImage2DARB(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCompressedTexSubImage2DARB)(target, level, xoffset, yoffset, width, height, format, imageSize, data); |
| } |
| |
| static void REGAL_CALL debug_glCompressedTexSubImage3DARB(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCompressedTexSubImage3DARB)(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data); |
| } |
| |
| static void REGAL_CALL debug_glGetCompressedTexImageARB(GLenum target, GLint lod, GLvoid *img) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetCompressedTexImageARB)(target, lod, img); |
| } |
| |
| // GL_ARB_texture_multisample |
| |
| static void REGAL_CALL debug_glGetMultisamplefv(GLenum pname, GLuint index, GLfloat *val) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetMultisamplefv)(pname, index, val); |
| } |
| |
| static void REGAL_CALL debug_glSampleMaski(GLuint index, GLbitfield mask) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSampleMaski)(index, mask); |
| } |
| |
| static void REGAL_CALL debug_glTexImage2DMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexImage2DMultisample)(target, samples, internalformat, width, height, fixedsamplelocations); |
| } |
| |
| static void REGAL_CALL debug_glTexImage3DMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexImage3DMultisample)(target, samples, internalformat, width, height, depth, fixedsamplelocations); |
| } |
| |
| // GL_ARB_texture_storage |
| |
| static void REGAL_CALL debug_glTexStorage1D(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexStorage1D)(target, levels, internalformat, width); |
| } |
| |
| static void REGAL_CALL debug_glTexStorage2D(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexStorage2D)(target, levels, internalformat, width, height); |
| } |
| |
| static void REGAL_CALL debug_glTexStorage3D(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexStorage3D)(target, levels, internalformat, width, height, depth); |
| } |
| |
| static void REGAL_CALL debug_glTextureStorage1DEXT(GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTextureStorage1DEXT)(texture, target, levels, internalformat, width); |
| } |
| |
| static void REGAL_CALL debug_glTextureStorage2DEXT(GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTextureStorage2DEXT)(texture, target, levels, internalformat, width, height); |
| } |
| |
| static void REGAL_CALL debug_glTextureStorage3DEXT(GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTextureStorage3DEXT)(texture, target, levels, internalformat, width, height, depth); |
| } |
| |
| // GL_ARB_texture_storage_multisample |
| |
| static void REGAL_CALL debug_glTexStorage2DMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexStorage2DMultisample)(target, samples, internalformat, width, height, fixedsamplelocations); |
| } |
| |
| static void REGAL_CALL debug_glTexStorage3DMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexStorage3DMultisample)(target, samples, internalformat, width, height, depth, fixedsamplelocations); |
| } |
| |
| static void REGAL_CALL debug_glTextureStorage2DMultisampleEXT(GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTextureStorage2DMultisampleEXT)(texture, target, samples, internalformat, width, height, fixedsamplelocations); |
| } |
| |
| static void REGAL_CALL debug_glTextureStorage3DMultisampleEXT(GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTextureStorage3DMultisampleEXT)(texture, target, samples, internalformat, width, height, depth, fixedsamplelocations); |
| } |
| |
| // GL_ARB_texture_view |
| |
| static void REGAL_CALL debug_glTextureView(GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTextureView)(texture, target, origtexture, internalformat, minlevel, numlevels, minlayer, numlayers); |
| } |
| |
| // GL_ARB_timer_query |
| |
| static void REGAL_CALL debug_glGetQueryObjecti64v(GLuint id, GLenum pname, GLint64 *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetQueryObjecti64v)(id, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetQueryObjectui64v(GLuint id, GLenum pname, GLuint64 *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetQueryObjectui64v)(id, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glQueryCounter(GLuint id, GLenum target) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glQueryCounter)(id, target); |
| } |
| |
| // GL_ARB_transform_feedback2 |
| |
| static void REGAL_CALL debug_glBindTransformFeedback(GLenum target, GLuint id) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBindTransformFeedback)(target, id); |
| } |
| |
| static void REGAL_CALL debug_glDeleteTransformFeedbacks(GLsizei n, const GLuint *ids) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDeleteTransformFeedbacks)(n, ids); |
| } |
| |
| static void REGAL_CALL debug_glDrawTransformFeedback(GLenum mode, GLuint name) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDrawTransformFeedback)(mode, name); |
| } |
| |
| static void REGAL_CALL debug_glGenTransformFeedbacks(GLsizei n, GLuint *ids) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGenTransformFeedbacks)(n, ids); |
| } |
| |
| static GLboolean REGAL_CALL debug_glIsTransformFeedback(GLuint id) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glIsTransformFeedback)(id); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glPauseTransformFeedback(void) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPauseTransformFeedback)(); |
| } |
| |
| static void REGAL_CALL debug_glResumeTransformFeedback(void) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glResumeTransformFeedback)(); |
| } |
| |
| // GL_ARB_transform_feedback3 |
| |
| static void REGAL_CALL debug_glBeginQueryIndexed(GLenum target, GLuint index, GLuint id) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBeginQueryIndexed)(target, index, id); |
| } |
| |
| static void REGAL_CALL debug_glDrawTransformFeedbackStream(GLenum mode, GLuint id, GLuint stream) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDrawTransformFeedbackStream)(mode, id, stream); |
| } |
| |
| static void REGAL_CALL debug_glEndQueryIndexed(GLenum target, GLuint index) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glEndQueryIndexed)(target, index); |
| } |
| |
| static void REGAL_CALL debug_glGetQueryIndexediv(GLenum target, GLuint index, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetQueryIndexediv)(target, index, pname, params); |
| } |
| |
| // GL_ARB_transform_feedback_instanced |
| |
| static void REGAL_CALL debug_glDrawTransformFeedbackInstanced(GLenum mode, GLuint id, GLsizei primcount) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDrawTransformFeedbackInstanced)(mode, id, primcount); |
| } |
| |
| static void REGAL_CALL debug_glDrawTransformFeedbackStreamInstanced(GLenum mode, GLuint id, GLuint stream, GLsizei primcount) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDrawTransformFeedbackStreamInstanced)(mode, id, stream, primcount); |
| } |
| |
| // GL_ARB_transpose_matrix |
| |
| static void REGAL_CALL debug_glLoadTransposeMatrixdARB(const GLdouble *m) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glLoadTransposeMatrixdARB)(m); |
| } |
| |
| static void REGAL_CALL debug_glLoadTransposeMatrixfARB(const GLfloat *m) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glLoadTransposeMatrixfARB)(m); |
| } |
| |
| static void REGAL_CALL debug_glMultTransposeMatrixdARB(const GLdouble *m) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultTransposeMatrixdARB)(m); |
| } |
| |
| static void REGAL_CALL debug_glMultTransposeMatrixfARB(const GLfloat *m) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultTransposeMatrixfARB)(m); |
| } |
| |
| // GL_ARB_uniform_buffer_object |
| |
| static void REGAL_CALL debug_glBindBufferBase(GLenum target, GLuint index, GLuint buffer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBindBufferBase)(target, index, buffer); |
| } |
| |
| static void REGAL_CALL debug_glBindBufferRange(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBindBufferRange)(target, index, buffer, offset, size); |
| } |
| |
| static void REGAL_CALL debug_glGetActiveUniformBlockName(GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetActiveUniformBlockName)(program, uniformBlockIndex, bufSize, length, uniformBlockName); |
| } |
| |
| static void REGAL_CALL debug_glGetActiveUniformBlockiv(GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetActiveUniformBlockiv)(program, uniformBlockIndex, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetActiveUniformName(GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetActiveUniformName)(program, uniformIndex, bufSize, length, uniformName); |
| } |
| |
| static void REGAL_CALL debug_glGetActiveUniformsiv(GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetActiveUniformsiv)(program, uniformCount, uniformIndices, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetIntegeri_v(GLenum target, GLuint index, GLint *data) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetIntegeri_v)(target, index, data); |
| } |
| |
| static GLuint REGAL_CALL debug_glGetUniformBlockIndex(GLuint program, const GLchar *uniformBlockName) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLuint ret = _next->call(&_next->glGetUniformBlockIndex)(program, uniformBlockName); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glGetUniformIndices(GLuint program, GLsizei uniformCount, const GLchar * const *uniformNames, GLuint *uniformIndices) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetUniformIndices)(program, uniformCount, uniformNames, uniformIndices); |
| } |
| |
| static void REGAL_CALL debug_glUniformBlockBinding(GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniformBlockBinding)(program, uniformBlockIndex, uniformBlockBinding); |
| } |
| |
| // GL_ARB_vertex_array_object |
| |
| static void REGAL_CALL debug_glBindVertexArray(GLuint array) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBindVertexArray)(array); |
| } |
| |
| static void REGAL_CALL debug_glDeleteVertexArrays(GLsizei n, const GLuint *arrays) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDeleteVertexArrays)(n, arrays); |
| } |
| |
| static void REGAL_CALL debug_glGenVertexArrays(GLsizei n, GLuint *arrays) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGenVertexArrays)(n, arrays); |
| } |
| |
| static GLboolean REGAL_CALL debug_glIsVertexArray(GLuint array) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glIsVertexArray)(array); |
| return ret; |
| } |
| |
| // GL_ARB_vertex_attrib_64bit |
| |
| static void REGAL_CALL debug_glGetVertexAttribLdv(GLuint index, GLenum pname, GLdouble *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetVertexAttribLdv)(index, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribL1d(GLuint index, GLdouble x) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribL1d)(index, x); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribL1dv(GLuint index, const GLdouble *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribL1dv)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribL2d(GLuint index, GLdouble x, GLdouble y) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribL2d)(index, x, y); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribL2dv(GLuint index, const GLdouble *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribL2dv)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribL3d(GLuint index, GLdouble x, GLdouble y, GLdouble z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribL3d)(index, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribL3dv(GLuint index, const GLdouble *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribL3dv)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribL4d(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribL4d)(index, x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribL4dv(GLuint index, const GLdouble *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribL4dv)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribLPointer(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribLPointer)(index, size, type, stride, pointer); |
| } |
| |
| // GL_ARB_vertex_attrib_binding |
| |
| static void REGAL_CALL debug_glBindVertexBuffer(GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBindVertexBuffer)(bindingindex, buffer, offset, stride); |
| } |
| |
| static void REGAL_CALL debug_glVertexArrayBindVertexBufferEXT(GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexArrayBindVertexBufferEXT)(vaobj, bindingindex, buffer, offset, stride); |
| } |
| |
| static void REGAL_CALL debug_glVertexArrayVertexAttribBindingEXT(GLuint vaobj, GLuint attribindex, GLuint bindingindex) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexArrayVertexAttribBindingEXT)(vaobj, attribindex, bindingindex); |
| } |
| |
| static void REGAL_CALL debug_glVertexArrayVertexAttribFormatEXT(GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexArrayVertexAttribFormatEXT)(vaobj, attribindex, size, type, normalized, relativeoffset); |
| } |
| |
| static void REGAL_CALL debug_glVertexArrayVertexAttribIFormatEXT(GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexArrayVertexAttribIFormatEXT)(vaobj, attribindex, size, type, relativeoffset); |
| } |
| |
| static void REGAL_CALL debug_glVertexArrayVertexAttribLFormatEXT(GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexArrayVertexAttribLFormatEXT)(vaobj, attribindex, size, type, relativeoffset); |
| } |
| |
| static void REGAL_CALL debug_glVertexArrayVertexBindingDivisorEXT(GLuint vaobj, GLuint bindingindex, GLuint divisor) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexArrayVertexBindingDivisorEXT)(vaobj, bindingindex, divisor); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribBinding(GLuint attribindex, GLuint bindingindex) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribBinding)(attribindex, bindingindex); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribFormat(GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribFormat)(attribindex, size, type, normalized, relativeoffset); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribIFormat(GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribIFormat)(attribindex, size, type, relativeoffset); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribLFormat(GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribLFormat)(attribindex, size, type, relativeoffset); |
| } |
| |
| static void REGAL_CALL debug_glVertexBindingDivisor(GLuint bindingindex, GLuint divisor) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexBindingDivisor)(bindingindex, divisor); |
| } |
| |
| // GL_ARB_vertex_blend |
| |
| static void REGAL_CALL debug_glVertexBlendARB(GLint count) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexBlendARB)(count); |
| } |
| |
| static void REGAL_CALL debug_glWeightPointerARB(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWeightPointerARB)(size, type, stride, pointer); |
| } |
| |
| static void REGAL_CALL debug_glWeightbvARB(GLint size, const GLbyte *weights) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWeightbvARB)(size, weights); |
| } |
| |
| static void REGAL_CALL debug_glWeightdvARB(GLint size, const GLdouble *weights) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWeightdvARB)(size, weights); |
| } |
| |
| static void REGAL_CALL debug_glWeightfvARB(GLint size, const GLfloat *weights) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWeightfvARB)(size, weights); |
| } |
| |
| static void REGAL_CALL debug_glWeightivARB(GLint size, const GLint *weights) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWeightivARB)(size, weights); |
| } |
| |
| static void REGAL_CALL debug_glWeightsvARB(GLint size, const GLshort *weights) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWeightsvARB)(size, weights); |
| } |
| |
| static void REGAL_CALL debug_glWeightubvARB(GLint size, const GLubyte *weights) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWeightubvARB)(size, weights); |
| } |
| |
| static void REGAL_CALL debug_glWeightuivARB(GLint size, const GLuint *weights) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWeightuivARB)(size, weights); |
| } |
| |
| static void REGAL_CALL debug_glWeightusvARB(GLint size, const GLushort *weights) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWeightusvARB)(size, weights); |
| } |
| |
| // GL_ARB_vertex_buffer_object |
| |
| static void REGAL_CALL debug_glBindBufferARB(GLenum target, GLuint buffer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBindBufferARB)(target, buffer); |
| } |
| |
| static void REGAL_CALL debug_glBufferDataARB(GLenum target, GLsizeiptrARB size, const GLvoid *data, GLenum usage) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBufferDataARB)(target, size, data, usage); |
| } |
| |
| static void REGAL_CALL debug_glBufferSubDataARB(GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid *data) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBufferSubDataARB)(target, offset, size, data); |
| } |
| |
| static void REGAL_CALL debug_glDeleteBuffersARB(GLsizei n, const GLuint *buffers) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDeleteBuffersARB)(n, buffers); |
| } |
| |
| static void REGAL_CALL debug_glGenBuffersARB(GLsizei n, GLuint *buffers) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGenBuffersARB)(n, buffers); |
| } |
| |
| static void REGAL_CALL debug_glGetBufferParameterivARB(GLenum target, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetBufferParameterivARB)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetBufferPointervARB(GLenum target, GLenum pname, GLvoid **params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetBufferPointervARB)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetBufferSubDataARB(GLenum target, GLintptrARB offset, GLsizeiptrARB size, GLvoid *data) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetBufferSubDataARB)(target, offset, size, data); |
| } |
| |
| static GLboolean REGAL_CALL debug_glIsBufferARB(GLuint buffer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glIsBufferARB)(buffer); |
| return ret; |
| } |
| |
| static GLvoid *REGAL_CALL debug_glMapBufferARB(GLenum target, GLenum access) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLvoid * ret = _next->call(&_next->glMapBufferARB)(target, access); |
| return ret; |
| } |
| |
| static GLboolean REGAL_CALL debug_glUnmapBufferARB(GLenum target) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glUnmapBufferARB)(target); |
| return ret; |
| } |
| |
| // GL_ARB_vertex_program |
| |
| static void REGAL_CALL debug_glBindProgramARB(GLenum target, GLuint program) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBindProgramARB)(target, program); |
| } |
| |
| static void REGAL_CALL debug_glDeleteProgramsARB(GLsizei n, const GLuint *programs) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDeleteProgramsARB)(n, programs); |
| } |
| |
| static void REGAL_CALL debug_glDisableVertexAttribArrayARB(GLuint index) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDisableVertexAttribArrayARB)(index); |
| } |
| |
| static void REGAL_CALL debug_glEnableVertexAttribArrayARB(GLuint index) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glEnableVertexAttribArrayARB)(index); |
| } |
| |
| static void REGAL_CALL debug_glGenProgramsARB(GLsizei n, GLuint *programs) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGenProgramsARB)(n, programs); |
| } |
| |
| static void REGAL_CALL debug_glGetProgramEnvParameterdvARB(GLenum target, GLuint index, GLdouble *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetProgramEnvParameterdvARB)(target, index, params); |
| } |
| |
| static void REGAL_CALL debug_glGetProgramEnvParameterfvARB(GLenum target, GLuint index, GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetProgramEnvParameterfvARB)(target, index, params); |
| } |
| |
| static void REGAL_CALL debug_glGetProgramLocalParameterdvARB(GLenum target, GLuint index, GLdouble *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetProgramLocalParameterdvARB)(target, index, params); |
| } |
| |
| static void REGAL_CALL debug_glGetProgramLocalParameterfvARB(GLenum target, GLuint index, GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetProgramLocalParameterfvARB)(target, index, params); |
| } |
| |
| static void REGAL_CALL debug_glGetProgramStringARB(GLenum target, GLenum pname, GLvoid *string) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetProgramStringARB)(target, pname, string); |
| } |
| |
| static void REGAL_CALL debug_glGetProgramivARB(GLenum target, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetProgramivARB)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetVertexAttribPointervARB(GLuint index, GLenum pname, GLvoid **pointer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetVertexAttribPointervARB)(index, pname, pointer); |
| } |
| |
| static void REGAL_CALL debug_glGetVertexAttribdvARB(GLuint index, GLenum pname, GLdouble *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetVertexAttribdvARB)(index, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetVertexAttribfvARB(GLuint index, GLenum pname, GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetVertexAttribfvARB)(index, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetVertexAttribivARB(GLuint index, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetVertexAttribivARB)(index, pname, params); |
| } |
| |
| static GLboolean REGAL_CALL debug_glIsProgramARB(GLuint program) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glIsProgramARB)(program); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glProgramEnvParameter4dARB(GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramEnvParameter4dARB)(target, index, x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glProgramEnvParameter4dvARB(GLenum target, GLuint index, const GLdouble *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramEnvParameter4dvARB)(target, index, params); |
| } |
| |
| static void REGAL_CALL debug_glProgramEnvParameter4fARB(GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramEnvParameter4fARB)(target, index, x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glProgramEnvParameter4fvARB(GLenum target, GLuint index, const GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramEnvParameter4fvARB)(target, index, params); |
| } |
| |
| static void REGAL_CALL debug_glProgramLocalParameter4dARB(GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramLocalParameter4dARB)(target, index, x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glProgramLocalParameter4dvARB(GLenum target, GLuint index, const GLdouble *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramLocalParameter4dvARB)(target, index, params); |
| } |
| |
| static void REGAL_CALL debug_glProgramLocalParameter4fARB(GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramLocalParameter4fARB)(target, index, x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glProgramLocalParameter4fvARB(GLenum target, GLuint index, const GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramLocalParameter4fvARB)(target, index, params); |
| } |
| |
| static void REGAL_CALL debug_glProgramStringARB(GLenum target, GLenum format, GLsizei len, const GLvoid *string) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramStringARB)(target, format, len, string); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib1dARB(GLuint index, GLdouble x) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib1dARB)(index, x); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib1dvARB(GLuint index, const GLdouble *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib1dvARB)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib1fARB(GLuint index, GLfloat x) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib1fARB)(index, x); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib1fvARB(GLuint index, const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib1fvARB)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib1sARB(GLuint index, GLshort x) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib1sARB)(index, x); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib1svARB(GLuint index, const GLshort *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib1svARB)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib2dARB(GLuint index, GLdouble x, GLdouble y) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib2dARB)(index, x, y); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib2dvARB(GLuint index, const GLdouble *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib2dvARB)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib2fARB(GLuint index, GLfloat x, GLfloat y) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib2fARB)(index, x, y); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib2fvARB(GLuint index, const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib2fvARB)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib2sARB(GLuint index, GLshort x, GLshort y) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib2sARB)(index, x, y); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib2svARB(GLuint index, const GLshort *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib2svARB)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib3dARB(GLuint index, GLdouble x, GLdouble y, GLdouble z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib3dARB)(index, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib3dvARB(GLuint index, const GLdouble *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib3dvARB)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib3fARB(GLuint index, GLfloat x, GLfloat y, GLfloat z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib3fARB)(index, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib3fvARB(GLuint index, const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib3fvARB)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib3sARB(GLuint index, GLshort x, GLshort y, GLshort z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib3sARB)(index, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib3svARB(GLuint index, const GLshort *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib3svARB)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib4NbvARB(GLuint index, const GLbyte *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib4NbvARB)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib4NivARB(GLuint index, const GLint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib4NivARB)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib4NsvARB(GLuint index, const GLshort *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib4NsvARB)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib4NubARB(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib4NubARB)(index, x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib4NubvARB(GLuint index, const GLubyte *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib4NubvARB)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib4NuivARB(GLuint index, const GLuint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib4NuivARB)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib4NusvARB(GLuint index, const GLushort *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib4NusvARB)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib4bvARB(GLuint index, const GLbyte *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib4bvARB)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib4dARB(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib4dARB)(index, x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib4dvARB(GLuint index, const GLdouble *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib4dvARB)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib4fARB(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib4fARB)(index, x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib4fvARB(GLuint index, const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib4fvARB)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib4ivARB(GLuint index, const GLint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib4ivARB)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib4sARB(GLuint index, GLshort x, GLshort y, GLshort z, GLshort w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib4sARB)(index, x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib4svARB(GLuint index, const GLshort *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib4svARB)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib4ubvARB(GLuint index, const GLubyte *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib4ubvARB)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib4uivARB(GLuint index, const GLuint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib4uivARB)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib4usvARB(GLuint index, const GLushort *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib4usvARB)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribPointerARB(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribPointerARB)(index, size, type, normalized, stride, pointer); |
| } |
| |
| // GL_ARB_vertex_shader |
| |
| static void REGAL_CALL debug_glBindAttribLocationARB(GLhandleARB programObj, GLuint index, const GLcharARB *name) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBindAttribLocationARB)(programObj, index, name); |
| } |
| |
| static void REGAL_CALL debug_glGetActiveAttribARB(GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetActiveAttribARB)(programObj, index, maxLength, length, size, type, name); |
| } |
| |
| static GLint REGAL_CALL debug_glGetAttribLocationARB(GLhandleARB programObj, const GLcharARB *name) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLint ret = _next->call(&_next->glGetAttribLocationARB)(programObj, name); |
| return ret; |
| } |
| |
| // GL_ARB_vertex_type_2_10_10_10_rev |
| |
| static void REGAL_CALL debug_glColorP3ui(GLenum type, GLuint color) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColorP3ui)(type, color); |
| } |
| |
| static void REGAL_CALL debug_glColorP3uiv(GLenum type, const GLuint *color) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColorP3uiv)(type, color); |
| } |
| |
| static void REGAL_CALL debug_glColorP4ui(GLenum type, GLuint color) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColorP4ui)(type, color); |
| } |
| |
| static void REGAL_CALL debug_glColorP4uiv(GLenum type, const GLuint *color) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColorP4uiv)(type, color); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoordP1ui(GLenum texture, GLenum type, GLuint coords) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoordP1ui)(texture, type, coords); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoordP1uiv(GLenum texture, GLenum type, const GLuint *coords) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoordP1uiv)(texture, type, coords); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoordP2ui(GLenum texture, GLenum type, GLuint coords) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoordP2ui)(texture, type, coords); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoordP2uiv(GLenum texture, GLenum type, const GLuint *coords) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoordP2uiv)(texture, type, coords); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoordP3ui(GLenum texture, GLenum type, GLuint coords) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoordP3ui)(texture, type, coords); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoordP3uiv(GLenum texture, GLenum type, const GLuint *coords) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoordP3uiv)(texture, type, coords); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoordP4ui(GLenum texture, GLenum type, GLuint coords) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoordP4ui)(texture, type, coords); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoordP4uiv(GLenum texture, GLenum type, const GLuint *coords) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoordP4uiv)(texture, type, coords); |
| } |
| |
| static void REGAL_CALL debug_glNormalP3ui(GLenum type, GLuint coords) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNormalP3ui)(type, coords); |
| } |
| |
| static void REGAL_CALL debug_glNormalP3uiv(GLenum type, const GLuint *coords) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNormalP3uiv)(type, coords); |
| } |
| |
| static void REGAL_CALL debug_glSecondaryColorP3ui(GLenum type, GLuint color) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSecondaryColorP3ui)(type, color); |
| } |
| |
| static void REGAL_CALL debug_glSecondaryColorP3uiv(GLenum type, const GLuint *color) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSecondaryColorP3uiv)(type, color); |
| } |
| |
| static void REGAL_CALL debug_glTexCoordP1ui(GLenum type, GLuint coords) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoordP1ui)(type, coords); |
| } |
| |
| static void REGAL_CALL debug_glTexCoordP1uiv(GLenum type, const GLuint *coords) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoordP1uiv)(type, coords); |
| } |
| |
| static void REGAL_CALL debug_glTexCoordP2ui(GLenum type, GLuint coords) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoordP2ui)(type, coords); |
| } |
| |
| static void REGAL_CALL debug_glTexCoordP2uiv(GLenum type, const GLuint *coords) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoordP2uiv)(type, coords); |
| } |
| |
| static void REGAL_CALL debug_glTexCoordP3ui(GLenum type, GLuint coords) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoordP3ui)(type, coords); |
| } |
| |
| static void REGAL_CALL debug_glTexCoordP3uiv(GLenum type, const GLuint *coords) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoordP3uiv)(type, coords); |
| } |
| |
| static void REGAL_CALL debug_glTexCoordP4ui(GLenum type, GLuint coords) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoordP4ui)(type, coords); |
| } |
| |
| static void REGAL_CALL debug_glTexCoordP4uiv(GLenum type, const GLuint *coords) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoordP4uiv)(type, coords); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribP1ui(GLuint index, GLenum type, GLboolean normalized, GLuint value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribP1ui)(index, type, normalized, value); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribP1uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribP1uiv)(index, type, normalized, value); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribP2ui(GLuint index, GLenum type, GLboolean normalized, GLuint value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribP2ui)(index, type, normalized, value); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribP2uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribP2uiv)(index, type, normalized, value); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribP3ui(GLuint index, GLenum type, GLboolean normalized, GLuint value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribP3ui)(index, type, normalized, value); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribP3uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribP3uiv)(index, type, normalized, value); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribP4ui(GLuint index, GLenum type, GLboolean normalized, GLuint value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribP4ui)(index, type, normalized, value); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribP4uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribP4uiv)(index, type, normalized, value); |
| } |
| |
| static void REGAL_CALL debug_glVertexP2ui(GLenum type, GLuint coords) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexP2ui)(type, coords); |
| } |
| |
| static void REGAL_CALL debug_glVertexP2uiv(GLenum type, const GLuint *coords) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexP2uiv)(type, coords); |
| } |
| |
| static void REGAL_CALL debug_glVertexP3ui(GLenum type, GLuint coords) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexP3ui)(type, coords); |
| } |
| |
| static void REGAL_CALL debug_glVertexP3uiv(GLenum type, const GLuint *coords) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexP3uiv)(type, coords); |
| } |
| |
| static void REGAL_CALL debug_glVertexP4ui(GLenum type, GLuint coords) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexP4ui)(type, coords); |
| } |
| |
| static void REGAL_CALL debug_glVertexP4uiv(GLenum type, const GLuint *coords) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexP4uiv)(type, coords); |
| } |
| |
| // GL_ARB_viewport_array |
| |
| static void REGAL_CALL debug_glDepthRangeArrayv(GLuint first, GLsizei count, const GLclampd *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDepthRangeArrayv)(first, count, v); |
| } |
| |
| static void REGAL_CALL debug_glDepthRangeIndexed(GLuint index, GLclampd n, GLclampd f) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDepthRangeIndexed)(index, n, f); |
| } |
| |
| static void REGAL_CALL debug_glGetDoublei_v(GLenum target, GLuint index, GLdouble *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetDoublei_v)(target, index, v); |
| } |
| |
| static void REGAL_CALL debug_glGetFloati_v(GLenum target, GLuint index, GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetFloati_v)(target, index, v); |
| } |
| |
| static void REGAL_CALL debug_glScissorArrayv(GLuint first, GLsizei count, const GLint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glScissorArrayv)(first, count, v); |
| } |
| |
| static void REGAL_CALL debug_glScissorIndexed(GLuint index, GLint left, GLint bottom, GLint width, GLint height) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glScissorIndexed)(index, left, bottom, width, height); |
| } |
| |
| static void REGAL_CALL debug_glScissorIndexedv(GLuint index, const GLint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glScissorIndexedv)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glViewportArrayv(GLuint first, GLsizei count, const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glViewportArrayv)(first, count, v); |
| } |
| |
| static void REGAL_CALL debug_glViewportIndexedf(GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glViewportIndexedf)(index, x, y, w, h); |
| } |
| |
| static void REGAL_CALL debug_glViewportIndexedfv(GLuint index, const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glViewportIndexedfv)(index, v); |
| } |
| |
| // GL_ARB_window_pos |
| |
| static void REGAL_CALL debug_glWindowPos2dARB(GLdouble x, GLdouble y) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWindowPos2dARB)(x, y); |
| } |
| |
| static void REGAL_CALL debug_glWindowPos2dvARB(const GLdouble *p) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWindowPos2dvARB)(p); |
| } |
| |
| static void REGAL_CALL debug_glWindowPos2fARB(GLfloat x, GLfloat y) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWindowPos2fARB)(x, y); |
| } |
| |
| static void REGAL_CALL debug_glWindowPos2fvARB(const GLfloat *p) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWindowPos2fvARB)(p); |
| } |
| |
| static void REGAL_CALL debug_glWindowPos2iARB(GLint x, GLint y) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWindowPos2iARB)(x, y); |
| } |
| |
| static void REGAL_CALL debug_glWindowPos2ivARB(const GLint *p) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWindowPos2ivARB)(p); |
| } |
| |
| static void REGAL_CALL debug_glWindowPos2sARB(GLshort x, GLshort y) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWindowPos2sARB)(x, y); |
| } |
| |
| static void REGAL_CALL debug_glWindowPos2svARB(const GLshort *p) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWindowPos2svARB)(p); |
| } |
| |
| static void REGAL_CALL debug_glWindowPos3dARB(GLdouble x, GLdouble y, GLdouble z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWindowPos3dARB)(x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glWindowPos3dvARB(const GLdouble *p) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWindowPos3dvARB)(p); |
| } |
| |
| static void REGAL_CALL debug_glWindowPos3fARB(GLfloat x, GLfloat y, GLfloat z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWindowPos3fARB)(x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glWindowPos3fvARB(const GLfloat *p) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWindowPos3fvARB)(p); |
| } |
| |
| static void REGAL_CALL debug_glWindowPos3iARB(GLint x, GLint y, GLint z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWindowPos3iARB)(x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glWindowPos3ivARB(const GLint *p) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWindowPos3ivARB)(p); |
| } |
| |
| static void REGAL_CALL debug_glWindowPos3sARB(GLshort x, GLshort y, GLshort z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWindowPos3sARB)(x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glWindowPos3svARB(const GLshort *p) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWindowPos3svARB)(p); |
| } |
| |
| // GL_ATI_draw_buffers |
| |
| static void REGAL_CALL debug_glDrawBuffersATI(GLsizei n, const GLenum *bufs) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDrawBuffersATI)(n, bufs); |
| } |
| |
| // GL_ATI_element_array |
| |
| static void REGAL_CALL debug_glDrawElementArrayATI(GLenum mode, GLsizei count) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDrawElementArrayATI)(mode, count); |
| } |
| |
| static void REGAL_CALL debug_glDrawRangeElementArrayATI(GLenum mode, GLuint start, GLuint end, GLsizei count) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDrawRangeElementArrayATI)(mode, start, end, count); |
| } |
| |
| static void REGAL_CALL debug_glElementPointerATI(GLenum type, const GLvoid *pointer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glElementPointerATI)(type, pointer); |
| } |
| |
| // GL_ATI_envmap_bumpmap |
| |
| static void REGAL_CALL debug_glGetTexBumpParameterfvATI(GLenum pname, GLfloat *param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetTexBumpParameterfvATI)(pname, param); |
| } |
| |
| static void REGAL_CALL debug_glGetTexBumpParameterivATI(GLenum pname, GLint *param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetTexBumpParameterivATI)(pname, param); |
| } |
| |
| static void REGAL_CALL debug_glTexBumpParameterfvATI(GLenum pname, const GLfloat *param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexBumpParameterfvATI)(pname, param); |
| } |
| |
| static void REGAL_CALL debug_glTexBumpParameterivATI(GLenum pname, const GLint *param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexBumpParameterivATI)(pname, param); |
| } |
| |
| // GL_ATI_fragment_shader |
| |
| static void REGAL_CALL debug_glAlphaFragmentOp1ATI(GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glAlphaFragmentOp1ATI)(op, dst, dstMod, arg1, arg1Rep, arg1Mod); |
| } |
| |
| static void REGAL_CALL debug_glAlphaFragmentOp2ATI(GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glAlphaFragmentOp2ATI)(op, dst, dstMod, arg1, arg1Rep, arg1Mod, arg2, arg2Rep, arg2Mod); |
| } |
| |
| static void REGAL_CALL debug_glAlphaFragmentOp3ATI(GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glAlphaFragmentOp3ATI)(op, dst, dstMod, arg1, arg1Rep, arg1Mod, arg2, arg2Rep, arg2Mod, arg3, arg3Rep, arg3Mod); |
| } |
| |
| static void REGAL_CALL debug_glBeginFragmentShaderATI(void) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBeginFragmentShaderATI)(); |
| } |
| |
| static void REGAL_CALL debug_glBindFragmentShaderATI(GLuint id) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBindFragmentShaderATI)(id); |
| } |
| |
| static void REGAL_CALL debug_glColorFragmentOp1ATI(GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColorFragmentOp1ATI)(op, dst, dstMask, dstMod, arg1, arg1Rep, arg1Mod); |
| } |
| |
| static void REGAL_CALL debug_glColorFragmentOp2ATI(GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColorFragmentOp2ATI)(op, dst, dstMask, dstMod, arg1, arg1Rep, arg1Mod, arg2, arg2Rep, arg2Mod); |
| } |
| |
| static void REGAL_CALL debug_glColorFragmentOp3ATI(GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColorFragmentOp3ATI)(op, dst, dstMask, dstMod, arg1, arg1Rep, arg1Mod, arg2, arg2Rep, arg2Mod, arg3, arg3Rep, arg3Mod); |
| } |
| |
| static void REGAL_CALL debug_glDeleteFragmentShaderATI(GLuint id) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDeleteFragmentShaderATI)(id); |
| } |
| |
| static void REGAL_CALL debug_glEndFragmentShaderATI(void) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glEndFragmentShaderATI)(); |
| } |
| |
| static GLuint REGAL_CALL debug_glGenFragmentShadersATI(GLuint range) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLuint ret = _next->call(&_next->glGenFragmentShadersATI)(range); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glPassTexCoordATI(GLuint dst, GLuint coord, GLenum swizzle) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPassTexCoordATI)(dst, coord, swizzle); |
| } |
| |
| static void REGAL_CALL debug_glSampleMapATI(GLuint dst, GLuint interp, GLenum swizzle) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSampleMapATI)(dst, interp, swizzle); |
| } |
| |
| static void REGAL_CALL debug_glSetFragmentShaderConstantATI(GLuint dst, const GLfloat *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSetFragmentShaderConstantATI)(dst, value); |
| } |
| |
| // GL_ATI_map_object_buffer |
| |
| static GLvoid *REGAL_CALL debug_glMapObjectBufferATI(GLuint buffer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLvoid * ret = _next->call(&_next->glMapObjectBufferATI)(buffer); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glUnmapObjectBufferATI(GLuint buffer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUnmapObjectBufferATI)(buffer); |
| } |
| |
| // GL_ATI_pn_triangles |
| |
| static void REGAL_CALL debug_glPNTrianglesfATI(GLenum pname, GLfloat param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPNTrianglesfATI)(pname, param); |
| } |
| |
| static void REGAL_CALL debug_glPNTrianglesiATI(GLenum pname, GLint param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPNTrianglesiATI)(pname, param); |
| } |
| |
| // GL_ATI_separate_stencil |
| |
| static void REGAL_CALL debug_glStencilFuncSeparateATI(GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glStencilFuncSeparateATI)(frontfunc, backfunc, ref, mask); |
| } |
| |
| static void REGAL_CALL debug_glStencilOpSeparateATI(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glStencilOpSeparateATI)(face, sfail, dpfail, dppass); |
| } |
| |
| // GL_ATI_vertex_array_object |
| |
| static void REGAL_CALL debug_glArrayObjectATI(GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glArrayObjectATI)(array, size, type, stride, buffer, offset); |
| } |
| |
| static void REGAL_CALL debug_glFreeObjectBufferATI(GLuint buffer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFreeObjectBufferATI)(buffer); |
| } |
| |
| static void REGAL_CALL debug_glGetArrayObjectfvATI(GLenum array, GLenum pname, GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetArrayObjectfvATI)(array, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetArrayObjectivATI(GLenum array, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetArrayObjectivATI)(array, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetObjectBufferfvATI(GLuint buffer, GLenum pname, GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetObjectBufferfvATI)(buffer, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetObjectBufferivATI(GLuint buffer, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetObjectBufferivATI)(buffer, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetVariantArrayObjectfvATI(GLuint id, GLenum pname, GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetVariantArrayObjectfvATI)(id, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetVariantArrayObjectivATI(GLuint id, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetVariantArrayObjectivATI)(id, pname, params); |
| } |
| |
| static GLboolean REGAL_CALL debug_glIsObjectBufferATI(GLuint buffer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glIsObjectBufferATI)(buffer); |
| return ret; |
| } |
| |
| static GLuint REGAL_CALL debug_glNewObjectBufferATI(GLsizei size, const GLvoid *pointer, GLenum usage) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLuint ret = _next->call(&_next->glNewObjectBufferATI)(size, pointer, usage); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glUpdateObjectBufferATI(GLuint buffer, GLuint offset, GLsizei size, const GLvoid *pointer, GLenum preserve) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUpdateObjectBufferATI)(buffer, offset, size, pointer, preserve); |
| } |
| |
| static void REGAL_CALL debug_glVariantArrayObjectATI(GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVariantArrayObjectATI)(id, type, stride, buffer, offset); |
| } |
| |
| // GL_ATI_vertex_attrib_array_object |
| |
| static void REGAL_CALL debug_glGetVertexAttribArrayObjectfvATI(GLuint index, GLenum pname, GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetVertexAttribArrayObjectfvATI)(index, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetVertexAttribArrayObjectivATI(GLuint index, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetVertexAttribArrayObjectivATI)(index, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribArrayObjectATI(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribArrayObjectATI)(index, size, type, normalized, stride, buffer, offset); |
| } |
| |
| // GL_ATI_vertex_streams |
| |
| static void REGAL_CALL debug_glClientActiveVertexStreamATI(GLenum stream) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glClientActiveVertexStreamATI)(stream); |
| } |
| |
| static void REGAL_CALL debug_glNormalStream3bATI(GLenum stream, GLbyte x, GLbyte y, GLbyte z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNormalStream3bATI)(stream, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glNormalStream3bvATI(GLenum stream, const GLbyte *coords) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNormalStream3bvATI)(stream, coords); |
| } |
| |
| static void REGAL_CALL debug_glNormalStream3dATI(GLenum stream, GLdouble x, GLdouble y, GLdouble z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNormalStream3dATI)(stream, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glNormalStream3dvATI(GLenum stream, const GLdouble *coords) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNormalStream3dvATI)(stream, coords); |
| } |
| |
| static void REGAL_CALL debug_glNormalStream3fATI(GLenum stream, GLfloat x, GLfloat y, GLfloat z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNormalStream3fATI)(stream, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glNormalStream3fvATI(GLenum stream, const GLfloat *coords) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNormalStream3fvATI)(stream, coords); |
| } |
| |
| static void REGAL_CALL debug_glNormalStream3iATI(GLenum stream, GLint x, GLint y, GLint z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNormalStream3iATI)(stream, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glNormalStream3ivATI(GLenum stream, const GLint *coords) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNormalStream3ivATI)(stream, coords); |
| } |
| |
| static void REGAL_CALL debug_glNormalStream3sATI(GLenum stream, GLshort x, GLshort y, GLshort z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNormalStream3sATI)(stream, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glNormalStream3svATI(GLenum stream, const GLshort *coords) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNormalStream3svATI)(stream, coords); |
| } |
| |
| static void REGAL_CALL debug_glVertexBlendEnvfATI(GLenum pname, GLfloat param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexBlendEnvfATI)(pname, param); |
| } |
| |
| static void REGAL_CALL debug_glVertexBlendEnviATI(GLenum pname, GLint param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexBlendEnviATI)(pname, param); |
| } |
| |
| static void REGAL_CALL debug_glVertexStream1dATI(GLenum stream, GLdouble x) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexStream1dATI)(stream, x); |
| } |
| |
| static void REGAL_CALL debug_glVertexStream1dvATI(GLenum stream, const GLdouble *coords) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexStream1dvATI)(stream, coords); |
| } |
| |
| static void REGAL_CALL debug_glVertexStream1fATI(GLenum stream, GLfloat x) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexStream1fATI)(stream, x); |
| } |
| |
| static void REGAL_CALL debug_glVertexStream1fvATI(GLenum stream, const GLfloat *coords) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexStream1fvATI)(stream, coords); |
| } |
| |
| static void REGAL_CALL debug_glVertexStream1iATI(GLenum stream, GLint x) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexStream1iATI)(stream, x); |
| } |
| |
| static void REGAL_CALL debug_glVertexStream1ivATI(GLenum stream, const GLint *coords) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexStream1ivATI)(stream, coords); |
| } |
| |
| static void REGAL_CALL debug_glVertexStream1sATI(GLenum stream, GLshort x) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexStream1sATI)(stream, x); |
| } |
| |
| static void REGAL_CALL debug_glVertexStream1svATI(GLenum stream, const GLshort *coords) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexStream1svATI)(stream, coords); |
| } |
| |
| static void REGAL_CALL debug_glVertexStream2dATI(GLenum stream, GLdouble x, GLdouble y) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexStream2dATI)(stream, x, y); |
| } |
| |
| static void REGAL_CALL debug_glVertexStream2dvATI(GLenum stream, const GLdouble *coords) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexStream2dvATI)(stream, coords); |
| } |
| |
| static void REGAL_CALL debug_glVertexStream2fATI(GLenum stream, GLfloat x, GLfloat y) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexStream2fATI)(stream, x, y); |
| } |
| |
| static void REGAL_CALL debug_glVertexStream2fvATI(GLenum stream, const GLfloat *coords) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexStream2fvATI)(stream, coords); |
| } |
| |
| static void REGAL_CALL debug_glVertexStream2iATI(GLenum stream, GLint x, GLint y) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexStream2iATI)(stream, x, y); |
| } |
| |
| static void REGAL_CALL debug_glVertexStream2ivATI(GLenum stream, const GLint *coords) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexStream2ivATI)(stream, coords); |
| } |
| |
| static void REGAL_CALL debug_glVertexStream2sATI(GLenum stream, GLshort x, GLshort y) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexStream2sATI)(stream, x, y); |
| } |
| |
| static void REGAL_CALL debug_glVertexStream2svATI(GLenum stream, const GLshort *coords) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexStream2svATI)(stream, coords); |
| } |
| |
| static void REGAL_CALL debug_glVertexStream3dATI(GLenum stream, GLdouble x, GLdouble y, GLdouble z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexStream3dATI)(stream, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glVertexStream3dvATI(GLenum stream, const GLdouble *coords) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexStream3dvATI)(stream, coords); |
| } |
| |
| static void REGAL_CALL debug_glVertexStream3fATI(GLenum stream, GLfloat x, GLfloat y, GLfloat z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexStream3fATI)(stream, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glVertexStream3fvATI(GLenum stream, const GLfloat *coords) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexStream3fvATI)(stream, coords); |
| } |
| |
| static void REGAL_CALL debug_glVertexStream3iATI(GLenum stream, GLint x, GLint y, GLint z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexStream3iATI)(stream, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glVertexStream3ivATI(GLenum stream, const GLint *coords) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexStream3ivATI)(stream, coords); |
| } |
| |
| static void REGAL_CALL debug_glVertexStream3sATI(GLenum stream, GLshort x, GLshort y, GLshort z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexStream3sATI)(stream, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glVertexStream3svATI(GLenum stream, const GLshort *coords) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexStream3svATI)(stream, coords); |
| } |
| |
| static void REGAL_CALL debug_glVertexStream4dATI(GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexStream4dATI)(stream, x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glVertexStream4dvATI(GLenum stream, const GLdouble *coords) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexStream4dvATI)(stream, coords); |
| } |
| |
| static void REGAL_CALL debug_glVertexStream4fATI(GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexStream4fATI)(stream, x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glVertexStream4fvATI(GLenum stream, const GLfloat *coords) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexStream4fvATI)(stream, coords); |
| } |
| |
| static void REGAL_CALL debug_glVertexStream4iATI(GLenum stream, GLint x, GLint y, GLint z, GLint w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexStream4iATI)(stream, x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glVertexStream4ivATI(GLenum stream, const GLint *coords) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexStream4ivATI)(stream, coords); |
| } |
| |
| static void REGAL_CALL debug_glVertexStream4sATI(GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexStream4sATI)(stream, x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glVertexStream4svATI(GLenum stream, const GLshort *coords) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexStream4svATI)(stream, coords); |
| } |
| |
| // GL_EXT_bindable_uniform |
| |
| static GLint REGAL_CALL debug_glGetUniformBufferSizeEXT(GLuint program, GLint location) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLint ret = _next->call(&_next->glGetUniformBufferSizeEXT)(program, location); |
| return ret; |
| } |
| |
| static GLintptr REGAL_CALL debug_glGetUniformOffsetEXT(GLuint program, GLint location) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLintptr ret = _next->call(&_next->glGetUniformOffsetEXT)(program, location); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glUniformBufferEXT(GLuint program, GLint location, GLuint buffer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniformBufferEXT)(program, location, buffer); |
| } |
| |
| // GL_EXT_blend_color |
| |
| static void REGAL_CALL debug_glBlendColorEXT(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBlendColorEXT)(red, green, blue, alpha); |
| } |
| |
| // GL_EXT_blend_equation_separate |
| |
| static void REGAL_CALL debug_glBlendEquationSeparateEXT(GLenum modeRGB, GLenum modeAlpha) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBlendEquationSeparateEXT)(modeRGB, modeAlpha); |
| } |
| |
| // GL_EXT_blend_func_separate |
| |
| static void REGAL_CALL debug_glBlendFuncSeparateEXT(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBlendFuncSeparateEXT)(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha); |
| } |
| |
| // GL_EXT_blend_minmax |
| |
| static void REGAL_CALL debug_glBlendEquationEXT(GLenum mode) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBlendEquationEXT)(mode); |
| } |
| |
| // GL_EXT_color_subtable |
| |
| static void REGAL_CALL debug_glColorSubTableEXT(GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *table) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColorSubTableEXT)(target, start, count, format, type, table); |
| } |
| |
| static void REGAL_CALL debug_glCopyColorSubTableEXT(GLenum target, GLsizei start, GLint x, GLint y, GLsizei width) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCopyColorSubTableEXT)(target, start, x, y, width); |
| } |
| |
| // GL_EXT_compiled_vertex_array |
| |
| static void REGAL_CALL debug_glLockArraysEXT(GLint first, GLsizei count) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glLockArraysEXT)(first, count); |
| } |
| |
| static void REGAL_CALL debug_glUnlockArraysEXT(void) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUnlockArraysEXT)(); |
| } |
| |
| // GL_EXT_convolution |
| |
| static void REGAL_CALL debug_glConvolutionFilter1DEXT(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glConvolutionFilter1DEXT)(target, internalformat, width, format, type, image); |
| } |
| |
| static void REGAL_CALL debug_glConvolutionFilter2DEXT(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glConvolutionFilter2DEXT)(target, internalformat, width, height, format, type, image); |
| } |
| |
| static void REGAL_CALL debug_glConvolutionParameterfEXT(GLenum target, GLenum pname, GLfloat param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glConvolutionParameterfEXT)(target, pname, param); |
| } |
| |
| static void REGAL_CALL debug_glConvolutionParameterfvEXT(GLenum target, GLenum pname, const GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glConvolutionParameterfvEXT)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glConvolutionParameteriEXT(GLenum target, GLenum pname, GLint param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glConvolutionParameteriEXT)(target, pname, param); |
| } |
| |
| static void REGAL_CALL debug_glConvolutionParameterivEXT(GLenum target, GLenum pname, const GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glConvolutionParameterivEXT)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glCopyConvolutionFilter1DEXT(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCopyConvolutionFilter1DEXT)(target, internalformat, x, y, width); |
| } |
| |
| static void REGAL_CALL debug_glCopyConvolutionFilter2DEXT(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCopyConvolutionFilter2DEXT)(target, internalformat, x, y, width, height); |
| } |
| |
| static void REGAL_CALL debug_glGetConvolutionFilterEXT(GLenum target, GLenum format, GLenum type, GLvoid *image) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetConvolutionFilterEXT)(target, format, type, image); |
| } |
| |
| static void REGAL_CALL debug_glGetConvolutionParameterfvEXT(GLenum target, GLenum pname, GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetConvolutionParameterfvEXT)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetConvolutionParameterivEXT(GLenum target, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetConvolutionParameterivEXT)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetSeparableFilterEXT(GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetSeparableFilterEXT)(target, format, type, row, column, span); |
| } |
| |
| static void REGAL_CALL debug_glSeparableFilter2DEXT(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSeparableFilter2DEXT)(target, internalformat, width, height, format, type, row, column); |
| } |
| |
| // GL_EXT_coordinate_frame |
| |
| static void REGAL_CALL debug_glBinormal3bEXT(GLbyte bx, GLbyte by, GLbyte bz) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBinormal3bEXT)(bx, by, bz); |
| } |
| |
| static void REGAL_CALL debug_glBinormal3bvEXT(const GLbyte *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBinormal3bvEXT)(v); |
| } |
| |
| static void REGAL_CALL debug_glBinormal3dEXT(GLdouble bx, GLdouble by, GLdouble bz) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBinormal3dEXT)(bx, by, bz); |
| } |
| |
| static void REGAL_CALL debug_glBinormal3dvEXT(const GLdouble *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBinormal3dvEXT)(v); |
| } |
| |
| static void REGAL_CALL debug_glBinormal3fEXT(GLfloat bx, GLfloat by, GLfloat bz) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBinormal3fEXT)(bx, by, bz); |
| } |
| |
| static void REGAL_CALL debug_glBinormal3fvEXT(const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBinormal3fvEXT)(v); |
| } |
| |
| static void REGAL_CALL debug_glBinormal3iEXT(GLint bx, GLint by, GLint bz) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBinormal3iEXT)(bx, by, bz); |
| } |
| |
| static void REGAL_CALL debug_glBinormal3ivEXT(const GLint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBinormal3ivEXT)(v); |
| } |
| |
| static void REGAL_CALL debug_glBinormal3sEXT(GLshort bx, GLshort by, GLshort bz) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBinormal3sEXT)(bx, by, bz); |
| } |
| |
| static void REGAL_CALL debug_glBinormal3svEXT(const GLshort *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBinormal3svEXT)(v); |
| } |
| |
| static void REGAL_CALL debug_glBinormalPointerEXT(GLenum type, GLsizei stride, const GLvoid *pointer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBinormalPointerEXT)(type, stride, pointer); |
| } |
| |
| static void REGAL_CALL debug_glTangent3bEXT(GLbyte tx, GLbyte ty, GLbyte tz) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTangent3bEXT)(tx, ty, tz); |
| } |
| |
| static void REGAL_CALL debug_glTangent3bvEXT(const GLbyte *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTangent3bvEXT)(v); |
| } |
| |
| static void REGAL_CALL debug_glTangent3dEXT(GLdouble tx, GLdouble ty, GLdouble tz) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTangent3dEXT)(tx, ty, tz); |
| } |
| |
| static void REGAL_CALL debug_glTangent3dvEXT(const GLdouble *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTangent3dvEXT)(v); |
| } |
| |
| static void REGAL_CALL debug_glTangent3fEXT(GLfloat tx, GLfloat ty, GLfloat tz) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTangent3fEXT)(tx, ty, tz); |
| } |
| |
| static void REGAL_CALL debug_glTangent3fvEXT(const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTangent3fvEXT)(v); |
| } |
| |
| static void REGAL_CALL debug_glTangent3iEXT(GLint tx, GLint ty, GLint tz) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTangent3iEXT)(tx, ty, tz); |
| } |
| |
| static void REGAL_CALL debug_glTangent3ivEXT(const GLint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTangent3ivEXT)(v); |
| } |
| |
| static void REGAL_CALL debug_glTangent3sEXT(GLshort tx, GLshort ty, GLshort tz) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTangent3sEXT)(tx, ty, tz); |
| } |
| |
| static void REGAL_CALL debug_glTangent3svEXT(const GLshort *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTangent3svEXT)(v); |
| } |
| |
| static void REGAL_CALL debug_glTangentPointerEXT(GLenum type, GLsizei stride, const GLvoid *pointer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTangentPointerEXT)(type, stride, pointer); |
| } |
| |
| // GL_EXT_copy_texture |
| |
| static void REGAL_CALL debug_glCopyTexImage1DEXT(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCopyTexImage1DEXT)(target, level, internalformat, x, y, width, border); |
| } |
| |
| static void REGAL_CALL debug_glCopyTexImage2DEXT(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCopyTexImage2DEXT)(target, level, internalformat, x, y, width, height, border); |
| } |
| |
| static void REGAL_CALL debug_glCopyTexSubImage1DEXT(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCopyTexSubImage1DEXT)(target, level, xoffset, x, y, width); |
| } |
| |
| static void REGAL_CALL debug_glCopyTexSubImage2DEXT(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCopyTexSubImage2DEXT)(target, level, xoffset, yoffset, x, y, width, height); |
| } |
| |
| static void REGAL_CALL debug_glCopyTexSubImage3DEXT(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCopyTexSubImage3DEXT)(target, level, xoffset, yoffset, zoffset, x, y, width, height); |
| } |
| |
| // GL_EXT_cull_vertex |
| |
| static void REGAL_CALL debug_glCullParameterdvEXT(GLenum pname, GLdouble *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCullParameterdvEXT)(pname, params); |
| } |
| |
| static void REGAL_CALL debug_glCullParameterfvEXT(GLenum pname, GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCullParameterfvEXT)(pname, params); |
| } |
| |
| // GL_EXT_debug_label |
| |
| static void REGAL_CALL debug_glGetObjectLabelEXT(GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetObjectLabelEXT)(type, object, bufSize, length, label); |
| } |
| |
| static void REGAL_CALL debug_glLabelObjectEXT(GLenum type, GLuint object, GLsizei length, const GLchar *label) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glLabelObjectEXT)(type, object, length, label); |
| } |
| |
| // GL_EXT_debug_marker |
| |
| static void REGAL_CALL debug_glInsertEventMarkerEXT(GLsizei length, const GLchar *marker) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glInsertEventMarkerEXT)(length, marker); |
| } |
| |
| static void REGAL_CALL debug_glPopGroupMarkerEXT(void) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPopGroupMarkerEXT)(); |
| } |
| |
| static void REGAL_CALL debug_glPushGroupMarkerEXT(GLsizei length, const GLchar *marker) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPushGroupMarkerEXT)(length, marker); |
| } |
| |
| // GL_EXT_depth_bounds_test |
| |
| static void REGAL_CALL debug_glDepthBoundsEXT(GLclampd zmin, GLclampd zmax) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDepthBoundsEXT)(zmin, zmax); |
| } |
| |
| // GL_EXT_direct_state_access |
| |
| static void REGAL_CALL debug_glBindMultiTextureEXT(GLenum texunit, GLenum target, GLuint texture) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBindMultiTextureEXT)(texunit, target, texture); |
| } |
| |
| static GLenum REGAL_CALL debug_glCheckNamedFramebufferStatusEXT(GLuint framebuffer, GLenum target) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLenum ret = _next->call(&_next->glCheckNamedFramebufferStatusEXT)(framebuffer, target); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glClientAttribDefaultEXT(GLbitfield mask) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glClientAttribDefaultEXT)(mask); |
| } |
| |
| static void REGAL_CALL debug_glCompressedMultiTexImage1DEXT(GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCompressedMultiTexImage1DEXT)(texunit, target, level, internalformat, width, border, imageSize, data); |
| } |
| |
| static void REGAL_CALL debug_glCompressedMultiTexImage2DEXT(GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *bits) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCompressedMultiTexImage2DEXT)(texunit, target, level, internalformat, width, height, border, imageSize, bits); |
| } |
| |
| static void REGAL_CALL debug_glCompressedMultiTexImage3DEXT(GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *bits) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCompressedMultiTexImage3DEXT)(texunit, target, level, internalformat, width, height, depth, border, imageSize, bits); |
| } |
| |
| static void REGAL_CALL debug_glCompressedMultiTexSubImage1DEXT(GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCompressedMultiTexSubImage1DEXT)(texunit, target, level, xoffset, width, format, imageSize, data); |
| } |
| |
| static void REGAL_CALL debug_glCompressedMultiTexSubImage2DEXT(GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCompressedMultiTexSubImage2DEXT)(texunit, target, level, xoffset, yoffset, width, height, format, imageSize, data); |
| } |
| |
| static void REGAL_CALL debug_glCompressedMultiTexSubImage3DEXT(GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCompressedMultiTexSubImage3DEXT)(texunit, target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data); |
| } |
| |
| static void REGAL_CALL debug_glCompressedTextureImage1DEXT(GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *bits) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCompressedTextureImage1DEXT)(texture, target, level, internalformat, width, border, imageSize, bits); |
| } |
| |
| static void REGAL_CALL debug_glCompressedTextureImage2DEXT(GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *bits) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCompressedTextureImage2DEXT)(texture, target, level, internalformat, width, height, border, imageSize, bits); |
| } |
| |
| static void REGAL_CALL debug_glCompressedTextureImage3DEXT(GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *bits) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCompressedTextureImage3DEXT)(texture, target, level, internalformat, width, height, depth, border, imageSize, bits); |
| } |
| |
| static void REGAL_CALL debug_glCompressedTextureSubImage1DEXT(GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *bits) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCompressedTextureSubImage1DEXT)(texture, target, level, xoffset, width, format, imageSize, bits); |
| } |
| |
| static void REGAL_CALL debug_glCompressedTextureSubImage2DEXT(GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *bits) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCompressedTextureSubImage2DEXT)(texture, target, level, xoffset, yoffset, width, height, format, imageSize, bits); |
| } |
| |
| static void REGAL_CALL debug_glCompressedTextureSubImage3DEXT(GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *bits) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCompressedTextureSubImage3DEXT)(texture, target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, bits); |
| } |
| |
| static void REGAL_CALL debug_glCopyMultiTexImage1DEXT(GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCopyMultiTexImage1DEXT)(texunit, target, level, internalformat, x, y, width, border); |
| } |
| |
| static void REGAL_CALL debug_glCopyMultiTexImage2DEXT(GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCopyMultiTexImage2DEXT)(texunit, target, level, internalformat, x, y, width, height, border); |
| } |
| |
| static void REGAL_CALL debug_glCopyMultiTexSubImage1DEXT(GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCopyMultiTexSubImage1DEXT)(texunit, target, level, xoffset, x, y, width); |
| } |
| |
| static void REGAL_CALL debug_glCopyMultiTexSubImage2DEXT(GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCopyMultiTexSubImage2DEXT)(texunit, target, level, xoffset, yoffset, x, y, width, height); |
| } |
| |
| static void REGAL_CALL debug_glCopyMultiTexSubImage3DEXT(GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCopyMultiTexSubImage3DEXT)(texunit, target, level, xoffset, yoffset, zoffset, x, y, width, height); |
| } |
| |
| static void REGAL_CALL debug_glCopyTextureImage1DEXT(GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCopyTextureImage1DEXT)(texture, target, level, internalformat, x, y, width, border); |
| } |
| |
| static void REGAL_CALL debug_glCopyTextureImage2DEXT(GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCopyTextureImage2DEXT)(texture, target, level, internalformat, x, y, width, height, border); |
| } |
| |
| static void REGAL_CALL debug_glCopyTextureSubImage1DEXT(GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCopyTextureSubImage1DEXT)(texture, target, level, xoffset, x, y, width); |
| } |
| |
| static void REGAL_CALL debug_glCopyTextureSubImage2DEXT(GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCopyTextureSubImage2DEXT)(texture, target, level, xoffset, yoffset, x, y, width, height); |
| } |
| |
| static void REGAL_CALL debug_glCopyTextureSubImage3DEXT(GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCopyTextureSubImage3DEXT)(texture, target, level, xoffset, yoffset, zoffset, x, y, width, height); |
| } |
| |
| static void REGAL_CALL debug_glDisableClientStateIndexedEXT(GLenum array, GLuint index) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDisableClientStateIndexedEXT)(array, index); |
| } |
| |
| static void REGAL_CALL debug_glDisableClientStateiEXT(GLenum array, GLuint index) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDisableClientStateiEXT)(array, index); |
| } |
| |
| static void REGAL_CALL debug_glDisableVertexArrayAttribEXT(GLuint vaobj, GLenum array) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDisableVertexArrayAttribEXT)(vaobj, array); |
| } |
| |
| static void REGAL_CALL debug_glDisableVertexArrayEXT(GLuint vaobj, GLenum array) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDisableVertexArrayEXT)(vaobj, array); |
| } |
| |
| static void REGAL_CALL debug_glEnableClientStateIndexedEXT(GLenum array, GLuint index) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glEnableClientStateIndexedEXT)(array, index); |
| } |
| |
| static void REGAL_CALL debug_glEnableClientStateiEXT(GLenum array, GLuint index) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glEnableClientStateiEXT)(array, index); |
| } |
| |
| static void REGAL_CALL debug_glEnableVertexArrayAttribEXT(GLuint vaobj, GLenum array) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glEnableVertexArrayAttribEXT)(vaobj, array); |
| } |
| |
| static void REGAL_CALL debug_glEnableVertexArrayEXT(GLuint vaobj, GLenum array) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glEnableVertexArrayEXT)(vaobj, array); |
| } |
| |
| static void REGAL_CALL debug_glFlushMappedNamedBufferRangeEXT(GLuint buffer, GLintptr offset, GLsizeiptr length) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFlushMappedNamedBufferRangeEXT)(buffer, offset, length); |
| } |
| |
| static void REGAL_CALL debug_glFramebufferDrawBufferEXT(GLuint framebuffer, GLenum mode) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFramebufferDrawBufferEXT)(framebuffer, mode); |
| } |
| |
| static void REGAL_CALL debug_glFramebufferDrawBuffersEXT(GLuint framebuffer, GLsizei n, const GLenum *bufs) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFramebufferDrawBuffersEXT)(framebuffer, n, bufs); |
| } |
| |
| static void REGAL_CALL debug_glFramebufferReadBufferEXT(GLuint framebuffer, GLenum mode) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFramebufferReadBufferEXT)(framebuffer, mode); |
| } |
| |
| static void REGAL_CALL debug_glGenerateMultiTexMipmapEXT(GLenum texunit, GLenum target) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGenerateMultiTexMipmapEXT)(texunit, target); |
| } |
| |
| static void REGAL_CALL debug_glGenerateTextureMipmapEXT(GLuint texture, GLenum target) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGenerateTextureMipmapEXT)(texture, target); |
| } |
| |
| static void REGAL_CALL debug_glGetCompressedMultiTexImageEXT(GLenum texunit, GLenum target, GLint lod, GLvoid *img) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetCompressedMultiTexImageEXT)(texunit, target, lod, img); |
| } |
| |
| static void REGAL_CALL debug_glGetCompressedTextureImageEXT(GLuint texture, GLenum target, GLint lod, GLvoid *img) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetCompressedTextureImageEXT)(texture, target, lod, img); |
| } |
| |
| static void REGAL_CALL debug_glGetDoubleIndexedvEXT(GLenum target, GLuint index, GLdouble *data) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetDoubleIndexedvEXT)(target, index, data); |
| } |
| |
| static void REGAL_CALL debug_glGetDoublei_vEXT(GLenum target, GLuint index, GLdouble *data) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetDoublei_vEXT)(target, index, data); |
| } |
| |
| static void REGAL_CALL debug_glGetFloatIndexedvEXT(GLenum target, GLuint index, GLfloat *data) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetFloatIndexedvEXT)(target, index, data); |
| } |
| |
| static void REGAL_CALL debug_glGetFloati_vEXT(GLenum target, GLuint index, GLfloat *data) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetFloati_vEXT)(target, index, data); |
| } |
| |
| static void REGAL_CALL debug_glGetFramebufferParameterivEXT(GLuint framebuffer, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetFramebufferParameterivEXT)(framebuffer, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetMultiTexEnvfvEXT(GLenum texunit, GLenum target, GLenum pname, GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetMultiTexEnvfvEXT)(texunit, target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetMultiTexEnvivEXT(GLenum texunit, GLenum target, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetMultiTexEnvivEXT)(texunit, target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetMultiTexGendvEXT(GLenum texunit, GLenum coord, GLenum pname, GLdouble *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetMultiTexGendvEXT)(texunit, coord, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetMultiTexGenfvEXT(GLenum texunit, GLenum coord, GLenum pname, GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetMultiTexGenfvEXT)(texunit, coord, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetMultiTexGenivEXT(GLenum texunit, GLenum coord, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetMultiTexGenivEXT)(texunit, coord, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetMultiTexImageEXT(GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetMultiTexImageEXT)(texunit, target, level, format, type, pixels); |
| } |
| |
| static void REGAL_CALL debug_glGetMultiTexLevelParameterfvEXT(GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetMultiTexLevelParameterfvEXT)(texunit, target, level, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetMultiTexLevelParameterivEXT(GLenum texunit, GLenum target, GLint level, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetMultiTexLevelParameterivEXT)(texunit, target, level, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetMultiTexParameterIivEXT(GLenum texunit, GLenum target, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetMultiTexParameterIivEXT)(texunit, target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetMultiTexParameterIuivEXT(GLenum texunit, GLenum target, GLenum pname, GLuint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetMultiTexParameterIuivEXT)(texunit, target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetMultiTexParameterfvEXT(GLenum texunit, GLenum target, GLenum pname, GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetMultiTexParameterfvEXT)(texunit, target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetMultiTexParameterivEXT(GLenum texunit, GLenum target, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetMultiTexParameterivEXT)(texunit, target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetNamedBufferParameterivEXT(GLuint buffer, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetNamedBufferParameterivEXT)(buffer, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetNamedBufferPointervEXT(GLuint buffer, GLenum pname, GLvoid **params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetNamedBufferPointervEXT)(buffer, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetNamedBufferSubDataEXT(GLuint buffer, GLintptr offset, GLsizeiptr size, GLvoid *data) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetNamedBufferSubDataEXT)(buffer, offset, size, data); |
| } |
| |
| static void REGAL_CALL debug_glGetNamedFramebufferAttachmentParameterivEXT(GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetNamedFramebufferAttachmentParameterivEXT)(framebuffer, attachment, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetNamedProgramLocalParameterIivEXT(GLuint program, GLenum target, GLuint index, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetNamedProgramLocalParameterIivEXT)(program, target, index, params); |
| } |
| |
| static void REGAL_CALL debug_glGetNamedProgramLocalParameterIuivEXT(GLuint program, GLenum target, GLuint index, GLuint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetNamedProgramLocalParameterIuivEXT)(program, target, index, params); |
| } |
| |
| static void REGAL_CALL debug_glGetNamedProgramLocalParameterdvEXT(GLuint program, GLenum target, GLuint index, GLdouble *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetNamedProgramLocalParameterdvEXT)(program, target, index, params); |
| } |
| |
| static void REGAL_CALL debug_glGetNamedProgramLocalParameterfvEXT(GLuint program, GLenum target, GLuint index, GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetNamedProgramLocalParameterfvEXT)(program, target, index, params); |
| } |
| |
| static void REGAL_CALL debug_glGetNamedProgramStringEXT(GLuint program, GLenum target, GLenum pname, GLvoid *string) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetNamedProgramStringEXT)(program, target, pname, string); |
| } |
| |
| static void REGAL_CALL debug_glGetNamedProgramivEXT(GLuint program, GLenum target, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetNamedProgramivEXT)(program, target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetNamedRenderbufferParameterivEXT(GLuint renderbuffer, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetNamedRenderbufferParameterivEXT)(renderbuffer, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetPointerIndexedvEXT(GLenum target, GLuint index, GLvoid **data) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetPointerIndexedvEXT)(target, index, data); |
| } |
| |
| static void REGAL_CALL debug_glGetPointeri_vEXT(GLenum pname, GLuint index, GLvoid **params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetPointeri_vEXT)(pname, index, params); |
| } |
| |
| static void REGAL_CALL debug_glGetTextureImageEXT(GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetTextureImageEXT)(texture, target, level, format, type, pixels); |
| } |
| |
| static void REGAL_CALL debug_glGetTextureLevelParameterfvEXT(GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetTextureLevelParameterfvEXT)(texture, target, level, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetTextureLevelParameterivEXT(GLuint texture, GLenum target, GLint level, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetTextureLevelParameterivEXT)(texture, target, level, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetTextureParameterIivEXT(GLuint texture, GLenum target, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetTextureParameterIivEXT)(texture, target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetTextureParameterIuivEXT(GLuint texture, GLenum target, GLenum pname, GLuint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetTextureParameterIuivEXT)(texture, target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetTextureParameterfvEXT(GLuint texture, GLenum target, GLenum pname, GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetTextureParameterfvEXT)(texture, target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetTextureParameterivEXT(GLuint texture, GLenum target, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetTextureParameterivEXT)(texture, target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetVertexArrayIntegeri_vEXT(GLuint vaobj, GLuint index, GLenum pname, GLint *param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetVertexArrayIntegeri_vEXT)(vaobj, index, pname, param); |
| } |
| |
| static void REGAL_CALL debug_glGetVertexArrayIntegervEXT(GLuint vaobj, GLenum pname, GLint *param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetVertexArrayIntegervEXT)(vaobj, pname, param); |
| } |
| |
| static void REGAL_CALL debug_glGetVertexArrayPointeri_vEXT(GLuint vaobj, GLuint index, GLenum pname, GLvoid **param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetVertexArrayPointeri_vEXT)(vaobj, index, pname, param); |
| } |
| |
| static void REGAL_CALL debug_glGetVertexArrayPointervEXT(GLuint vaobj, GLenum pname, GLvoid **param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetVertexArrayPointervEXT)(vaobj, pname, param); |
| } |
| |
| static GLvoid *REGAL_CALL debug_glMapNamedBufferEXT(GLuint buffer, GLenum access) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLvoid * ret = _next->call(&_next->glMapNamedBufferEXT)(buffer, access); |
| return ret; |
| } |
| |
| static GLvoid *REGAL_CALL debug_glMapNamedBufferRangeEXT(GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLvoid * ret = _next->call(&_next->glMapNamedBufferRangeEXT)(buffer, offset, length, access); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glMatrixFrustumEXT(GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMatrixFrustumEXT)(mode, left, right, bottom, top, zNear, zFar); |
| } |
| |
| static void REGAL_CALL debug_glMatrixLoadIdentityEXT(GLenum mode) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMatrixLoadIdentityEXT)(mode); |
| } |
| |
| static void REGAL_CALL debug_glMatrixLoadTransposedEXT(GLenum mode, const GLdouble *m) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMatrixLoadTransposedEXT)(mode, m); |
| } |
| |
| static void REGAL_CALL debug_glMatrixLoadTransposefEXT(GLenum mode, const GLfloat *m) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMatrixLoadTransposefEXT)(mode, m); |
| } |
| |
| static void REGAL_CALL debug_glMatrixLoaddEXT(GLenum mode, const GLdouble *m) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMatrixLoaddEXT)(mode, m); |
| } |
| |
| static void REGAL_CALL debug_glMatrixLoadfEXT(GLenum mode, const GLfloat *m) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMatrixLoadfEXT)(mode, m); |
| } |
| |
| static void REGAL_CALL debug_glMatrixMultTransposedEXT(GLenum mode, const GLdouble *m) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMatrixMultTransposedEXT)(mode, m); |
| } |
| |
| static void REGAL_CALL debug_glMatrixMultTransposefEXT(GLenum mode, const GLfloat *m) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMatrixMultTransposefEXT)(mode, m); |
| } |
| |
| static void REGAL_CALL debug_glMatrixMultdEXT(GLenum mode, const GLdouble *m) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMatrixMultdEXT)(mode, m); |
| } |
| |
| static void REGAL_CALL debug_glMatrixMultfEXT(GLenum mode, const GLfloat *m) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMatrixMultfEXT)(mode, m); |
| } |
| |
| static void REGAL_CALL debug_glMatrixOrthoEXT(GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMatrixOrthoEXT)(mode, left, right, bottom, top, zNear, zFar); |
| } |
| |
| static void REGAL_CALL debug_glMatrixPopEXT(GLenum mode) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMatrixPopEXT)(mode); |
| } |
| |
| static void REGAL_CALL debug_glMatrixPushEXT(GLenum mode) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMatrixPushEXT)(mode); |
| } |
| |
| static void REGAL_CALL debug_glMatrixRotatedEXT(GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMatrixRotatedEXT)(mode, angle, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glMatrixRotatefEXT(GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMatrixRotatefEXT)(mode, angle, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glMatrixScaledEXT(GLenum mode, GLdouble x, GLdouble y, GLdouble z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMatrixScaledEXT)(mode, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glMatrixScalefEXT(GLenum mode, GLfloat x, GLfloat y, GLfloat z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMatrixScalefEXT)(mode, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glMatrixTranslatedEXT(GLenum mode, GLdouble x, GLdouble y, GLdouble z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMatrixTranslatedEXT)(mode, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glMatrixTranslatefEXT(GLenum mode, GLfloat x, GLfloat y, GLfloat z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMatrixTranslatefEXT)(mode, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexBufferEXT(GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexBufferEXT)(texunit, target, internalformat, buffer); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoordPointerEXT(GLenum texunit, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoordPointerEXT)(texunit, size, type, stride, pointer); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexEnvfEXT(GLenum texunit, GLenum target, GLenum pname, GLfloat param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexEnvfEXT)(texunit, target, pname, param); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexEnvfvEXT(GLenum texunit, GLenum target, GLenum pname, const GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexEnvfvEXT)(texunit, target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexEnviEXT(GLenum texunit, GLenum target, GLenum pname, GLint param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexEnviEXT)(texunit, target, pname, param); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexEnvivEXT(GLenum texunit, GLenum target, GLenum pname, const GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexEnvivEXT)(texunit, target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexGendEXT(GLenum texunit, GLenum coord, GLenum pname, GLdouble param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexGendEXT)(texunit, coord, pname, param); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexGendvEXT(GLenum texunit, GLenum coord, GLenum pname, const GLdouble *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexGendvEXT)(texunit, coord, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexGenfEXT(GLenum texunit, GLenum coord, GLenum pname, GLfloat param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexGenfEXT)(texunit, coord, pname, param); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexGenfvEXT(GLenum texunit, GLenum coord, GLenum pname, const GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexGenfvEXT)(texunit, coord, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexGeniEXT(GLenum texunit, GLenum coord, GLenum pname, GLint param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexGeniEXT)(texunit, coord, pname, param); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexGenivEXT(GLenum texunit, GLenum coord, GLenum pname, const GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexGenivEXT)(texunit, coord, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexImage1DEXT(GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexImage1DEXT)(texunit, target, level, internalformat, width, border, format, type, pixels); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexImage2DEXT(GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexImage2DEXT)(texunit, target, level, internalformat, width, height, border, format, type, pixels); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexImage3DEXT(GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexImage3DEXT)(texunit, target, level, internalformat, width, height, depth, border, format, type, pixels); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexParameterIivEXT(GLenum texunit, GLenum target, GLenum pname, const GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexParameterIivEXT)(texunit, target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexParameterIuivEXT(GLenum texunit, GLenum target, GLenum pname, const GLuint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexParameterIuivEXT)(texunit, target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexParameterfEXT(GLenum texunit, GLenum target, GLenum pname, GLfloat param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexParameterfEXT)(texunit, target, pname, param); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexParameterfvEXT(GLenum texunit, GLenum target, GLenum pname, const GLfloat *param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexParameterfvEXT)(texunit, target, pname, param); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexParameteriEXT(GLenum texunit, GLenum target, GLenum pname, GLint param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexParameteriEXT)(texunit, target, pname, param); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexParameterivEXT(GLenum texunit, GLenum target, GLenum pname, const GLint *param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexParameterivEXT)(texunit, target, pname, param); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexRenderbufferEXT(GLenum texunit, GLenum target, GLuint renderbuffer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexRenderbufferEXT)(texunit, target, renderbuffer); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexSubImage1DEXT(GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexSubImage1DEXT)(texunit, target, level, xoffset, width, format, type, pixels); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexSubImage2DEXT(GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexSubImage2DEXT)(texunit, target, level, xoffset, yoffset, width, height, format, type, pixels); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexSubImage3DEXT(GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexSubImage3DEXT)(texunit, target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); |
| } |
| |
| static void REGAL_CALL debug_glNamedBufferDataEXT(GLuint buffer, GLsizeiptr size, const GLvoid *data, GLenum usage) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNamedBufferDataEXT)(buffer, size, data, usage); |
| } |
| |
| static void REGAL_CALL debug_glNamedBufferSubDataEXT(GLuint buffer, GLintptr offset, GLsizeiptr size, const GLvoid *data) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNamedBufferSubDataEXT)(buffer, offset, size, data); |
| } |
| |
| static void REGAL_CALL debug_glNamedCopyBufferSubDataEXT(GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNamedCopyBufferSubDataEXT)(readBuffer, writeBuffer, readOffset, writeOffset, size); |
| } |
| |
| static void REGAL_CALL debug_glNamedFramebufferRenderbufferEXT(GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNamedFramebufferRenderbufferEXT)(framebuffer, attachment, renderbuffertarget, renderbuffer); |
| } |
| |
| static void REGAL_CALL debug_glNamedFramebufferTexture1DEXT(GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNamedFramebufferTexture1DEXT)(framebuffer, attachment, textarget, texture, level); |
| } |
| |
| static void REGAL_CALL debug_glNamedFramebufferTexture2DEXT(GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNamedFramebufferTexture2DEXT)(framebuffer, attachment, textarget, texture, level); |
| } |
| |
| static void REGAL_CALL debug_glNamedFramebufferTexture3DEXT(GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNamedFramebufferTexture3DEXT)(framebuffer, attachment, textarget, texture, level, zoffset); |
| } |
| |
| static void REGAL_CALL debug_glNamedFramebufferTextureEXT(GLuint framebuffer, GLenum attachment, GLuint texture, GLint level) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNamedFramebufferTextureEXT)(framebuffer, attachment, texture, level); |
| } |
| |
| static void REGAL_CALL debug_glNamedFramebufferTextureFaceEXT(GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNamedFramebufferTextureFaceEXT)(framebuffer, attachment, texture, level, face); |
| } |
| |
| static void REGAL_CALL debug_glNamedFramebufferTextureLayerEXT(GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNamedFramebufferTextureLayerEXT)(framebuffer, attachment, texture, level, layer); |
| } |
| |
| static void REGAL_CALL debug_glNamedProgramLocalParameter4dEXT(GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNamedProgramLocalParameter4dEXT)(program, target, index, x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glNamedProgramLocalParameter4dvEXT(GLuint program, GLenum target, GLuint index, const GLdouble *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNamedProgramLocalParameter4dvEXT)(program, target, index, params); |
| } |
| |
| static void REGAL_CALL debug_glNamedProgramLocalParameter4fEXT(GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNamedProgramLocalParameter4fEXT)(program, target, index, x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glNamedProgramLocalParameter4fvEXT(GLuint program, GLenum target, GLuint index, const GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNamedProgramLocalParameter4fvEXT)(program, target, index, params); |
| } |
| |
| static void REGAL_CALL debug_glNamedProgramLocalParameterI4iEXT(GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNamedProgramLocalParameterI4iEXT)(program, target, index, x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glNamedProgramLocalParameterI4ivEXT(GLuint program, GLenum target, GLuint index, const GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNamedProgramLocalParameterI4ivEXT)(program, target, index, params); |
| } |
| |
| static void REGAL_CALL debug_glNamedProgramLocalParameterI4uiEXT(GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNamedProgramLocalParameterI4uiEXT)(program, target, index, x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glNamedProgramLocalParameterI4uivEXT(GLuint program, GLenum target, GLuint index, const GLuint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNamedProgramLocalParameterI4uivEXT)(program, target, index, params); |
| } |
| |
| static void REGAL_CALL debug_glNamedProgramLocalParameters4fvEXT(GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNamedProgramLocalParameters4fvEXT)(program, target, index, count, params); |
| } |
| |
| static void REGAL_CALL debug_glNamedProgramLocalParametersI4ivEXT(GLuint program, GLenum target, GLuint index, GLsizei count, const GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNamedProgramLocalParametersI4ivEXT)(program, target, index, count, params); |
| } |
| |
| static void REGAL_CALL debug_glNamedProgramLocalParametersI4uivEXT(GLuint program, GLenum target, GLuint index, GLsizei count, const GLuint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNamedProgramLocalParametersI4uivEXT)(program, target, index, count, params); |
| } |
| |
| static void REGAL_CALL debug_glNamedProgramStringEXT(GLuint program, GLenum target, GLenum format, GLsizei len, const GLvoid *string) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNamedProgramStringEXT)(program, target, format, len, string); |
| } |
| |
| static void REGAL_CALL debug_glNamedRenderbufferStorageEXT(GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNamedRenderbufferStorageEXT)(renderbuffer, internalformat, width, height); |
| } |
| |
| static void REGAL_CALL debug_glNamedRenderbufferStorageMultisampleCoverageEXT(GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNamedRenderbufferStorageMultisampleCoverageEXT)(renderbuffer, coverageSamples, colorSamples, internalformat, width, height); |
| } |
| |
| static void REGAL_CALL debug_glNamedRenderbufferStorageMultisampleEXT(GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNamedRenderbufferStorageMultisampleEXT)(renderbuffer, samples, internalformat, width, height); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform1dEXT(GLuint program, GLint location, GLdouble x) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform1dEXT)(program, location, x); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform1dvEXT(GLuint program, GLint location, GLsizei count, const GLdouble *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform1dvEXT)(program, location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform1fEXT(GLuint program, GLint location, GLfloat v0) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform1fEXT)(program, location, v0); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform1fvEXT(GLuint program, GLint location, GLsizei count, const GLfloat *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform1fvEXT)(program, location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform1iEXT(GLuint program, GLint location, GLint v0) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform1iEXT)(program, location, v0); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform1ivEXT(GLuint program, GLint location, GLsizei count, const GLint *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform1ivEXT)(program, location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform1uiEXT(GLuint program, GLint location, GLuint v0) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform1uiEXT)(program, location, v0); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform1uivEXT(GLuint program, GLint location, GLsizei count, const GLuint *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform1uivEXT)(program, location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform2dEXT(GLuint program, GLint location, GLdouble x, GLdouble y) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform2dEXT)(program, location, x, y); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform2dvEXT(GLuint program, GLint location, GLsizei count, const GLdouble *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform2dvEXT)(program, location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform2fEXT(GLuint program, GLint location, GLfloat v0, GLfloat v1) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform2fEXT)(program, location, v0, v1); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform2fvEXT(GLuint program, GLint location, GLsizei count, const GLfloat *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform2fvEXT)(program, location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform2iEXT(GLuint program, GLint location, GLint v0, GLint v1) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform2iEXT)(program, location, v0, v1); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform2ivEXT(GLuint program, GLint location, GLsizei count, const GLint *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform2ivEXT)(program, location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform2uiEXT(GLuint program, GLint location, GLuint v0, GLuint v1) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform2uiEXT)(program, location, v0, v1); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform2uivEXT(GLuint program, GLint location, GLsizei count, const GLuint *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform2uivEXT)(program, location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform3dEXT(GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform3dEXT)(program, location, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform3dvEXT(GLuint program, GLint location, GLsizei count, const GLdouble *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform3dvEXT)(program, location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform3fEXT(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform3fEXT)(program, location, v0, v1, v2); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform3fvEXT(GLuint program, GLint location, GLsizei count, const GLfloat *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform3fvEXT)(program, location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform3iEXT(GLuint program, GLint location, GLint v0, GLint v1, GLint v2) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform3iEXT)(program, location, v0, v1, v2); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform3ivEXT(GLuint program, GLint location, GLsizei count, const GLint *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform3ivEXT)(program, location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform3uiEXT(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform3uiEXT)(program, location, v0, v1, v2); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform3uivEXT(GLuint program, GLint location, GLsizei count, const GLuint *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform3uivEXT)(program, location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform4dEXT(GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform4dEXT)(program, location, x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform4dvEXT(GLuint program, GLint location, GLsizei count, const GLdouble *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform4dvEXT)(program, location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform4fEXT(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform4fEXT)(program, location, v0, v1, v2, v3); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform4fvEXT(GLuint program, GLint location, GLsizei count, const GLfloat *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform4fvEXT)(program, location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform4iEXT(GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform4iEXT)(program, location, v0, v1, v2, v3); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform4ivEXT(GLuint program, GLint location, GLsizei count, const GLint *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform4ivEXT)(program, location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform4uiEXT(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform4uiEXT)(program, location, v0, v1, v2, v3); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform4uivEXT(GLuint program, GLint location, GLsizei count, const GLuint *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform4uivEXT)(program, location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniformMatrix2dvEXT(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniformMatrix2dvEXT)(program, location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniformMatrix2fvEXT(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniformMatrix2fvEXT)(program, location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniformMatrix2x3dvEXT(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniformMatrix2x3dvEXT)(program, location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniformMatrix2x3fvEXT(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniformMatrix2x3fvEXT)(program, location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniformMatrix2x4dvEXT(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniformMatrix2x4dvEXT)(program, location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniformMatrix2x4fvEXT(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniformMatrix2x4fvEXT)(program, location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniformMatrix3dvEXT(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniformMatrix3dvEXT)(program, location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniformMatrix3fvEXT(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniformMatrix3fvEXT)(program, location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniformMatrix3x2dvEXT(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniformMatrix3x2dvEXT)(program, location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniformMatrix3x2fvEXT(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniformMatrix3x2fvEXT)(program, location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniformMatrix3x4dvEXT(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniformMatrix3x4dvEXT)(program, location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniformMatrix3x4fvEXT(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniformMatrix3x4fvEXT)(program, location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniformMatrix4dvEXT(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniformMatrix4dvEXT)(program, location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniformMatrix4fvEXT(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniformMatrix4fvEXT)(program, location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniformMatrix4x2dvEXT(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniformMatrix4x2dvEXT)(program, location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniformMatrix4x2fvEXT(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniformMatrix4x2fvEXT)(program, location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniformMatrix4x3dvEXT(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniformMatrix4x3dvEXT)(program, location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniformMatrix4x3fvEXT(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniformMatrix4x3fvEXT)(program, location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glPushClientAttribDefaultEXT(GLbitfield mask) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPushClientAttribDefaultEXT)(mask); |
| } |
| |
| static void REGAL_CALL debug_glTextureBufferEXT(GLuint texture, GLenum target, GLenum internalformat, GLuint buffer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTextureBufferEXT)(texture, target, internalformat, buffer); |
| } |
| |
| static void REGAL_CALL debug_glTextureImage1DEXT(GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTextureImage1DEXT)(texture, target, level, internalformat, width, border, format, type, pixels); |
| } |
| |
| static void REGAL_CALL debug_glTextureImage2DEXT(GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTextureImage2DEXT)(texture, target, level, internalformat, width, height, border, format, type, pixels); |
| } |
| |
| static void REGAL_CALL debug_glTextureImage3DEXT(GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTextureImage3DEXT)(texture, target, level, internalformat, width, height, depth, border, format, type, pixels); |
| } |
| |
| static void REGAL_CALL debug_glTextureParameterIivEXT(GLuint texture, GLenum target, GLenum pname, const GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTextureParameterIivEXT)(texture, target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glTextureParameterIuivEXT(GLuint texture, GLenum target, GLenum pname, const GLuint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTextureParameterIuivEXT)(texture, target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glTextureParameterfEXT(GLuint texture, GLenum target, GLenum pname, GLfloat param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTextureParameterfEXT)(texture, target, pname, param); |
| } |
| |
| static void REGAL_CALL debug_glTextureParameterfvEXT(GLuint texture, GLenum target, GLenum pname, const GLfloat *param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTextureParameterfvEXT)(texture, target, pname, param); |
| } |
| |
| static void REGAL_CALL debug_glTextureParameteriEXT(GLuint texture, GLenum target, GLenum pname, GLint param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTextureParameteriEXT)(texture, target, pname, param); |
| } |
| |
| static void REGAL_CALL debug_glTextureParameterivEXT(GLuint texture, GLenum target, GLenum pname, const GLint *param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTextureParameterivEXT)(texture, target, pname, param); |
| } |
| |
| static void REGAL_CALL debug_glTextureRenderbufferEXT(GLuint texture, GLenum target, GLuint renderbuffer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTextureRenderbufferEXT)(texture, target, renderbuffer); |
| } |
| |
| static void REGAL_CALL debug_glTextureSubImage1DEXT(GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTextureSubImage1DEXT)(texture, target, level, xoffset, width, format, type, pixels); |
| } |
| |
| static void REGAL_CALL debug_glTextureSubImage2DEXT(GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTextureSubImage2DEXT)(texture, target, level, xoffset, yoffset, width, height, format, type, pixels); |
| } |
| |
| static void REGAL_CALL debug_glTextureSubImage3DEXT(GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTextureSubImage3DEXT)(texture, target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); |
| } |
| |
| static GLboolean REGAL_CALL debug_glUnmapNamedBufferEXT(GLuint buffer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glUnmapNamedBufferEXT)(buffer); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glVertexArrayColorOffsetEXT(GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, const GLintptr offset) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexArrayColorOffsetEXT)(vaobj, buffer, size, type, stride, offset); |
| } |
| |
| static void REGAL_CALL debug_glVertexArrayEdgeFlagOffsetEXT(GLuint vaobj, GLuint buffer, GLsizei stride, const GLintptr offset) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexArrayEdgeFlagOffsetEXT)(vaobj, buffer, stride, offset); |
| } |
| |
| static void REGAL_CALL debug_glVertexArrayFogCoordOffsetEXT(GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, const GLintptr offset) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexArrayFogCoordOffsetEXT)(vaobj, buffer, type, stride, offset); |
| } |
| |
| static void REGAL_CALL debug_glVertexArrayIndexOffsetEXT(GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, const GLintptr offset) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexArrayIndexOffsetEXT)(vaobj, buffer, type, stride, offset); |
| } |
| |
| static void REGAL_CALL debug_glVertexArrayMultiTexCoordOffsetEXT(GLuint vaobj, GLuint buffer, GLenum texunit, GLint size, GLenum type, GLsizei stride, const GLintptr offset) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexArrayMultiTexCoordOffsetEXT)(vaobj, buffer, texunit, size, type, stride, offset); |
| } |
| |
| static void REGAL_CALL debug_glVertexArrayNormalOffsetEXT(GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, const GLintptr offset) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexArrayNormalOffsetEXT)(vaobj, buffer, type, stride, offset); |
| } |
| |
| static void REGAL_CALL debug_glVertexArraySecondaryColorOffsetEXT(GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, const GLintptr offset) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexArraySecondaryColorOffsetEXT)(vaobj, buffer, size, type, stride, offset); |
| } |
| |
| static void REGAL_CALL debug_glVertexArrayTexCoordOffsetEXT(GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, const GLintptr offset) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexArrayTexCoordOffsetEXT)(vaobj, buffer, size, type, stride, offset); |
| } |
| |
| static void REGAL_CALL debug_glVertexArrayVertexAttribIOffsetEXT(GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, const GLintptr offset) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexArrayVertexAttribIOffsetEXT)(vaobj, buffer, index, size, type, stride, offset); |
| } |
| |
| static void REGAL_CALL debug_glVertexArrayVertexAttribOffsetEXT(GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLintptr offset) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexArrayVertexAttribOffsetEXT)(vaobj, buffer, index, size, type, normalized, stride, offset); |
| } |
| |
| static void REGAL_CALL debug_glVertexArrayVertexOffsetEXT(GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, const GLintptr offset) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexArrayVertexOffsetEXT)(vaobj, buffer, size, type, stride, offset); |
| } |
| |
| // GL_EXT_discard_framebuffer |
| |
| static void REGAL_CALL debug_glDiscardFramebufferEXT(GLenum target, GLsizei numAttachments, const GLenum *attachments) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDiscardFramebufferEXT)(target, numAttachments, attachments); |
| } |
| |
| // GL_EXT_disjoint_timer_query |
| |
| static void REGAL_CALL debug_glGetQueryObjectivEXT(GLuint id, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetQueryObjectivEXT)(id, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glQueryCounterEXT(GLuint id, GLenum target) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glQueryCounterEXT)(id, target); |
| } |
| |
| // GL_EXT_draw_buffers2 |
| |
| static void REGAL_CALL debug_glColorMaskIndexedEXT(GLuint buf, GLboolean r, GLboolean g, GLboolean b, GLboolean a) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColorMaskIndexedEXT)(buf, r, g, b, a); |
| } |
| |
| static void REGAL_CALL debug_glDisableIndexedEXT(GLenum target, GLuint index) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDisableIndexedEXT)(target, index); |
| } |
| |
| static void REGAL_CALL debug_glEnableIndexedEXT(GLenum target, GLuint index) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glEnableIndexedEXT)(target, index); |
| } |
| |
| static void REGAL_CALL debug_glGetBooleanIndexedvEXT(GLenum value, GLuint index, GLboolean *data) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetBooleanIndexedvEXT)(value, index, data); |
| } |
| |
| static void REGAL_CALL debug_glGetIntegerIndexedvEXT(GLenum value, GLuint index, GLint *data) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetIntegerIndexedvEXT)(value, index, data); |
| } |
| |
| static GLboolean REGAL_CALL debug_glIsEnabledIndexedEXT(GLenum target, GLuint index) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glIsEnabledIndexedEXT)(target, index); |
| return ret; |
| } |
| |
| // GL_EXT_draw_instanced |
| |
| static void REGAL_CALL debug_glDrawArraysInstancedEXT(GLenum mode, GLint start, GLsizei count, GLsizei primcount) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDrawArraysInstancedEXT)(mode, start, count, primcount); |
| } |
| |
| static void REGAL_CALL debug_glDrawElementsInstancedEXT(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDrawElementsInstancedEXT)(mode, count, type, indices, primcount); |
| } |
| |
| // GL_EXT_draw_range_elements |
| |
| static void REGAL_CALL debug_glDrawRangeElementsEXT(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDrawRangeElementsEXT)(mode, start, end, count, type, indices); |
| } |
| |
| // GL_EXT_fog_coord |
| |
| static void REGAL_CALL debug_glFogCoordPointerEXT(GLenum type, GLsizei stride, const GLvoid *pointer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFogCoordPointerEXT)(type, stride, pointer); |
| } |
| |
| static void REGAL_CALL debug_glFogCoorddEXT(GLdouble coord) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFogCoorddEXT)(coord); |
| } |
| |
| static void REGAL_CALL debug_glFogCoorddvEXT(const GLdouble *coord) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFogCoorddvEXT)(coord); |
| } |
| |
| static void REGAL_CALL debug_glFogCoordfEXT(GLfloat coord) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFogCoordfEXT)(coord); |
| } |
| |
| static void REGAL_CALL debug_glFogCoordfvEXT(const GLfloat *coord) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFogCoordfvEXT)(coord); |
| } |
| |
| // GL_EXT_fragment_lighting |
| |
| static void REGAL_CALL debug_glFragmentColorMaterialEXT(GLenum face, GLenum mode) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFragmentColorMaterialEXT)(face, mode); |
| } |
| |
| static void REGAL_CALL debug_glFragmentLightModelfEXT(GLenum pname, GLfloat param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFragmentLightModelfEXT)(pname, param); |
| } |
| |
| static void REGAL_CALL debug_glFragmentLightModelfvEXT(GLenum pname, GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFragmentLightModelfvEXT)(pname, params); |
| } |
| |
| static void REGAL_CALL debug_glFragmentLightModeliEXT(GLenum pname, GLint param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFragmentLightModeliEXT)(pname, param); |
| } |
| |
| static void REGAL_CALL debug_glFragmentLightModelivEXT(GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFragmentLightModelivEXT)(pname, params); |
| } |
| |
| static void REGAL_CALL debug_glFragmentLightfEXT(GLenum light, GLenum pname, GLfloat param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFragmentLightfEXT)(light, pname, param); |
| } |
| |
| static void REGAL_CALL debug_glFragmentLightfvEXT(GLenum light, GLenum pname, GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFragmentLightfvEXT)(light, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glFragmentLightiEXT(GLenum light, GLenum pname, GLint param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFragmentLightiEXT)(light, pname, param); |
| } |
| |
| static void REGAL_CALL debug_glFragmentLightivEXT(GLenum light, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFragmentLightivEXT)(light, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glFragmentMaterialfEXT(GLenum face, GLenum pname, const GLfloat param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFragmentMaterialfEXT)(face, pname, param); |
| } |
| |
| static void REGAL_CALL debug_glFragmentMaterialfvEXT(GLenum face, GLenum pname, const GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFragmentMaterialfvEXT)(face, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glFragmentMaterialiEXT(GLenum face, GLenum pname, const GLint param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFragmentMaterialiEXT)(face, pname, param); |
| } |
| |
| static void REGAL_CALL debug_glFragmentMaterialivEXT(GLenum face, GLenum pname, const GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFragmentMaterialivEXT)(face, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetFragmentLightfvEXT(GLenum light, GLenum pname, GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetFragmentLightfvEXT)(light, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetFragmentLightivEXT(GLenum light, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetFragmentLightivEXT)(light, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetFragmentMaterialfvEXT(GLenum face, GLenum pname, const GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetFragmentMaterialfvEXT)(face, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetFragmentMaterialivEXT(GLenum face, GLenum pname, const GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetFragmentMaterialivEXT)(face, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glLightEnviEXT(GLenum pname, GLint param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glLightEnviEXT)(pname, param); |
| } |
| |
| // GL_EXT_framebuffer_blit |
| |
| static void REGAL_CALL debug_glBlitFramebufferEXT(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBlitFramebufferEXT)(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); |
| } |
| |
| // GL_EXT_framebuffer_multisample |
| |
| static void REGAL_CALL debug_glRenderbufferStorageMultisampleEXT(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glRenderbufferStorageMultisampleEXT)(target, samples, internalformat, width, height); |
| } |
| |
| // GL_EXT_framebuffer_object |
| |
| static void REGAL_CALL debug_glBindFramebufferEXT(GLenum target, GLuint framebuffer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBindFramebufferEXT)(target, framebuffer); |
| } |
| |
| static void REGAL_CALL debug_glBindRenderbufferEXT(GLenum target, GLuint renderbuffer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBindRenderbufferEXT)(target, renderbuffer); |
| } |
| |
| static GLenum REGAL_CALL debug_glCheckFramebufferStatusEXT(GLenum target) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLenum ret = _next->call(&_next->glCheckFramebufferStatusEXT)(target); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glDeleteFramebuffersEXT(GLsizei n, const GLuint *framebuffers) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDeleteFramebuffersEXT)(n, framebuffers); |
| } |
| |
| static void REGAL_CALL debug_glDeleteRenderbuffersEXT(GLsizei n, const GLuint *renderbuffers) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDeleteRenderbuffersEXT)(n, renderbuffers); |
| } |
| |
| static void REGAL_CALL debug_glFramebufferRenderbufferEXT(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFramebufferRenderbufferEXT)(target, attachment, renderbuffertarget, renderbuffer); |
| } |
| |
| static void REGAL_CALL debug_glFramebufferTexture1DEXT(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFramebufferTexture1DEXT)(target, attachment, textarget, texture, level); |
| } |
| |
| static void REGAL_CALL debug_glFramebufferTexture2DEXT(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFramebufferTexture2DEXT)(target, attachment, textarget, texture, level); |
| } |
| |
| static void REGAL_CALL debug_glFramebufferTexture3DEXT(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFramebufferTexture3DEXT)(target, attachment, textarget, texture, level, zoffset); |
| } |
| |
| static void REGAL_CALL debug_glGenFramebuffersEXT(GLsizei n, GLuint *framebuffers) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGenFramebuffersEXT)(n, framebuffers); |
| } |
| |
| static void REGAL_CALL debug_glGenRenderbuffersEXT(GLsizei n, GLuint *renderbuffers) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGenRenderbuffersEXT)(n, renderbuffers); |
| } |
| |
| static void REGAL_CALL debug_glGenerateMipmapEXT(GLenum target) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGenerateMipmapEXT)(target); |
| } |
| |
| static void REGAL_CALL debug_glGetFramebufferAttachmentParameterivEXT(GLenum target, GLenum attachment, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetFramebufferAttachmentParameterivEXT)(target, attachment, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetRenderbufferParameterivEXT(GLenum target, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetRenderbufferParameterivEXT)(target, pname, params); |
| } |
| |
| static GLboolean REGAL_CALL debug_glIsFramebufferEXT(GLuint framebuffer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glIsFramebufferEXT)(framebuffer); |
| return ret; |
| } |
| |
| static GLboolean REGAL_CALL debug_glIsRenderbufferEXT(GLuint renderbuffer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glIsRenderbufferEXT)(renderbuffer); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glRenderbufferStorageEXT(GLenum target, GLenum internalformat, GLsizei width, GLsizei height) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glRenderbufferStorageEXT)(target, internalformat, width, height); |
| } |
| |
| // GL_EXT_geometry_shader4 |
| |
| static void REGAL_CALL debug_glFramebufferTextureEXT(GLenum target, GLenum attachment, GLuint texture, GLint level) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFramebufferTextureEXT)(target, attachment, texture, level); |
| } |
| |
| static void REGAL_CALL debug_glFramebufferTextureFaceEXT(GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFramebufferTextureFaceEXT)(target, attachment, texture, level, face); |
| } |
| |
| static void REGAL_CALL debug_glProgramParameteriEXT(GLuint program, GLenum pname, GLint value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramParameteriEXT)(program, pname, value); |
| } |
| |
| // GL_EXT_gpu_program_parameters |
| |
| static void REGAL_CALL debug_glProgramEnvParameters4fvEXT(GLenum target, GLuint index, GLsizei count, const GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramEnvParameters4fvEXT)(target, index, count, params); |
| } |
| |
| static void REGAL_CALL debug_glProgramLocalParameters4fvEXT(GLenum target, GLuint index, GLsizei count, const GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramLocalParameters4fvEXT)(target, index, count, params); |
| } |
| |
| // GL_EXT_gpu_shader4 |
| |
| static void REGAL_CALL debug_glBindFragDataLocationEXT(GLuint program, GLuint color, const GLchar *name) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBindFragDataLocationEXT)(program, color, name); |
| } |
| |
| static GLint REGAL_CALL debug_glGetFragDataLocationEXT(GLuint program, const GLchar *name) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLint ret = _next->call(&_next->glGetFragDataLocationEXT)(program, name); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glGetUniformuivEXT(GLuint program, GLint location, GLuint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetUniformuivEXT)(program, location, params); |
| } |
| |
| static void REGAL_CALL debug_glGetVertexAttribIivEXT(GLuint index, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetVertexAttribIivEXT)(index, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetVertexAttribIuivEXT(GLuint index, GLenum pname, GLuint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetVertexAttribIuivEXT)(index, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glUniform1uiEXT(GLint location, GLuint v0) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform1uiEXT)(location, v0); |
| } |
| |
| static void REGAL_CALL debug_glUniform1uivEXT(GLint location, GLsizei count, const GLuint *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform1uivEXT)(location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glUniform2uiEXT(GLint location, GLuint v0, GLuint v1) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform2uiEXT)(location, v0, v1); |
| } |
| |
| static void REGAL_CALL debug_glUniform2uivEXT(GLint location, GLsizei count, const GLuint *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform2uivEXT)(location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glUniform3uiEXT(GLint location, GLuint v0, GLuint v1, GLuint v2) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform3uiEXT)(location, v0, v1, v2); |
| } |
| |
| static void REGAL_CALL debug_glUniform3uivEXT(GLint location, GLsizei count, const GLuint *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform3uivEXT)(location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glUniform4uiEXT(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform4uiEXT)(location, v0, v1, v2, v3); |
| } |
| |
| static void REGAL_CALL debug_glUniform4uivEXT(GLint location, GLsizei count, const GLuint *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform4uivEXT)(location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribI1iEXT(GLuint index, GLint x) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribI1iEXT)(index, x); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribI1ivEXT(GLuint index, const GLint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribI1ivEXT)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribI1uiEXT(GLuint index, GLuint x) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribI1uiEXT)(index, x); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribI1uivEXT(GLuint index, const GLuint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribI1uivEXT)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribI2iEXT(GLuint index, GLint x, GLint y) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribI2iEXT)(index, x, y); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribI2ivEXT(GLuint index, const GLint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribI2ivEXT)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribI2uiEXT(GLuint index, GLuint x, GLuint y) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribI2uiEXT)(index, x, y); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribI2uivEXT(GLuint index, const GLuint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribI2uivEXT)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribI3iEXT(GLuint index, GLint x, GLint y, GLint z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribI3iEXT)(index, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribI3ivEXT(GLuint index, const GLint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribI3ivEXT)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribI3uiEXT(GLuint index, GLuint x, GLuint y, GLuint z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribI3uiEXT)(index, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribI3uivEXT(GLuint index, const GLuint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribI3uivEXT)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribI4bvEXT(GLuint index, const GLbyte *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribI4bvEXT)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribI4iEXT(GLuint index, GLint x, GLint y, GLint z, GLint w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribI4iEXT)(index, x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribI4ivEXT(GLuint index, const GLint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribI4ivEXT)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribI4svEXT(GLuint index, const GLshort *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribI4svEXT)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribI4ubvEXT(GLuint index, const GLubyte *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribI4ubvEXT)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribI4uiEXT(GLuint index, GLuint x, GLuint y, GLuint z, GLuint w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribI4uiEXT)(index, x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribI4uivEXT(GLuint index, const GLuint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribI4uivEXT)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribI4usvEXT(GLuint index, const GLushort *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribI4usvEXT)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribIPointerEXT(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribIPointerEXT)(index, size, type, stride, pointer); |
| } |
| |
| // GL_EXT_histogram |
| |
| static void REGAL_CALL debug_glGetHistogramEXT(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetHistogramEXT)(target, reset, format, type, values); |
| } |
| |
| static void REGAL_CALL debug_glGetHistogramParameterfvEXT(GLenum target, GLenum pname, GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetHistogramParameterfvEXT)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetHistogramParameterivEXT(GLenum target, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetHistogramParameterivEXT)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetMinmaxEXT(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetMinmaxEXT)(target, reset, format, type, values); |
| } |
| |
| static void REGAL_CALL debug_glGetMinmaxParameterfvEXT(GLenum target, GLenum pname, GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetMinmaxParameterfvEXT)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetMinmaxParameterivEXT(GLenum target, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetMinmaxParameterivEXT)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glHistogramEXT(GLenum target, GLsizei width, GLenum internalformat, GLboolean sink) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glHistogramEXT)(target, width, internalformat, sink); |
| } |
| |
| static void REGAL_CALL debug_glMinmaxEXT(GLenum target, GLenum internalformat, GLboolean sink) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMinmaxEXT)(target, internalformat, sink); |
| } |
| |
| static void REGAL_CALL debug_glResetHistogramEXT(GLenum target) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glResetHistogramEXT)(target); |
| } |
| |
| static void REGAL_CALL debug_glResetMinmaxEXT(GLenum target) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glResetMinmaxEXT)(target); |
| } |
| |
| // GL_EXT_index_func |
| |
| static void REGAL_CALL debug_glIndexFuncEXT(GLenum func, GLfloat ref) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glIndexFuncEXT)(func, ref); |
| } |
| |
| // GL_EXT_index_material |
| |
| static void REGAL_CALL debug_glIndexMaterialEXT(GLenum face, GLenum mode) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glIndexMaterialEXT)(face, mode); |
| } |
| |
| // GL_EXT_light_texture |
| |
| static void REGAL_CALL debug_glApplyTextureEXT(GLenum mode) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glApplyTextureEXT)(mode); |
| } |
| |
| static void REGAL_CALL debug_glTextureLightEXT(GLenum pname) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTextureLightEXT)(pname); |
| } |
| |
| static void REGAL_CALL debug_glTextureMaterialEXT(GLenum face, GLenum mode) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTextureMaterialEXT)(face, mode); |
| } |
| |
| // GL_EXT_map_buffer_range |
| |
| static void REGAL_CALL debug_glFlushMappedBufferRangeEXT(GLenum target, GLintptr offset, GLsizeiptr length) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFlushMappedBufferRangeEXT)(target, offset, length); |
| } |
| |
| static GLvoid *REGAL_CALL debug_glMapBufferRangeEXT(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLvoid * ret = _next->call(&_next->glMapBufferRangeEXT)(target, offset, length, access); |
| return ret; |
| } |
| |
| // GL_EXT_multi_draw_arrays |
| |
| static void REGAL_CALL debug_glMultiDrawArraysEXT(GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiDrawArraysEXT)(mode, first, count, primcount); |
| } |
| |
| static void REGAL_CALL debug_glMultiDrawElementsEXT(GLenum mode, const GLsizei *count, GLenum type, const GLvoid * const *indices, GLsizei primcount) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiDrawElementsEXT)(mode, count, type, indices, primcount); |
| } |
| |
| // GL_EXT_multisample |
| |
| static void REGAL_CALL debug_glSampleMaskEXT(GLclampf value, GLboolean invert) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSampleMaskEXT)(value, invert); |
| } |
| |
| static void REGAL_CALL debug_glSamplePatternEXT(GLenum pattern) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSamplePatternEXT)(pattern); |
| } |
| |
| // GL_EXT_multisampled_render_to_texture |
| |
| static void REGAL_CALL debug_glFramebufferTexture2DMultisampleEXT(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFramebufferTexture2DMultisampleEXT)(target, attachment, textarget, texture, level, samples); |
| } |
| |
| // GL_EXT_multiview_draw_buffers |
| |
| static void REGAL_CALL debug_glDrawBuffersIndexedEXT(GLint n, const GLenum *location, const GLint *indices) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDrawBuffersIndexedEXT)(n, location, indices); |
| } |
| |
| static void REGAL_CALL debug_glGetIntegeri_vEXT(GLenum target, GLuint index, GLint *data) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetIntegeri_vEXT)(target, index, data); |
| } |
| |
| static void REGAL_CALL debug_glReadBufferIndexedEXT(GLenum src, GLint index) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glReadBufferIndexedEXT)(src, index); |
| } |
| |
| // GL_EXT_occlusion_query_boolean |
| |
| static void REGAL_CALL debug_glBeginQueryEXT(GLenum target, GLuint id) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBeginQueryEXT)(target, id); |
| } |
| |
| static void REGAL_CALL debug_glDeleteQueriesEXT(GLsizei n, const GLuint *ids) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDeleteQueriesEXT)(n, ids); |
| } |
| |
| static void REGAL_CALL debug_glEndQueryEXT(GLenum target) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glEndQueryEXT)(target); |
| } |
| |
| static void REGAL_CALL debug_glGenQueriesEXT(GLsizei n, GLuint *ids) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGenQueriesEXT)(n, ids); |
| } |
| |
| static void REGAL_CALL debug_glGetQueryObjectuivEXT(GLuint id, GLenum pname, GLuint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetQueryObjectuivEXT)(id, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetQueryivEXT(GLenum target, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetQueryivEXT)(target, pname, params); |
| } |
| |
| static GLboolean REGAL_CALL debug_glIsQueryEXT(GLuint id) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glIsQueryEXT)(id); |
| return ret; |
| } |
| |
| // GL_EXT_paletted_texture |
| |
| static void REGAL_CALL debug_glColorTableEXT(GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const GLvoid *table) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColorTableEXT)(target, internalFormat, width, format, type, table); |
| } |
| |
| static void REGAL_CALL debug_glGetColorTableEXT(GLenum target, GLenum format, GLenum type, GLvoid *data) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetColorTableEXT)(target, format, type, data); |
| } |
| |
| static void REGAL_CALL debug_glGetColorTableParameterfvEXT(GLenum target, GLenum pname, GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetColorTableParameterfvEXT)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetColorTableParameterivEXT(GLenum target, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetColorTableParameterivEXT)(target, pname, params); |
| } |
| |
| // GL_EXT_pixel_transform |
| |
| static void REGAL_CALL debug_glGetPixelTransformParameterfvEXT(GLenum target, GLenum pname, GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetPixelTransformParameterfvEXT)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetPixelTransformParameterivEXT(GLenum target, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetPixelTransformParameterivEXT)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glPixelTransformParameterfEXT(GLenum target, GLenum pname, const GLfloat param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPixelTransformParameterfEXT)(target, pname, param); |
| } |
| |
| static void REGAL_CALL debug_glPixelTransformParameterfvEXT(GLenum target, GLenum pname, const GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPixelTransformParameterfvEXT)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glPixelTransformParameteriEXT(GLenum target, GLenum pname, const GLint param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPixelTransformParameteriEXT)(target, pname, param); |
| } |
| |
| static void REGAL_CALL debug_glPixelTransformParameterivEXT(GLenum target, GLenum pname, const GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPixelTransformParameterivEXT)(target, pname, params); |
| } |
| |
| // GL_EXT_point_parameters |
| |
| static void REGAL_CALL debug_glPointParameterfEXT(GLenum pname, GLfloat param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPointParameterfEXT)(pname, param); |
| } |
| |
| static void REGAL_CALL debug_glPointParameterfvEXT(GLenum pname, const GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPointParameterfvEXT)(pname, params); |
| } |
| |
| // GL_EXT_polygon_offset |
| |
| static void REGAL_CALL debug_glPolygonOffsetEXT(GLfloat factor, GLfloat bias) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPolygonOffsetEXT)(factor, bias); |
| } |
| |
| // GL_EXT_provoking_vertex |
| |
| static void REGAL_CALL debug_glProvokingVertexEXT(GLenum mode) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProvokingVertexEXT)(mode); |
| } |
| |
| // GL_EXT_robustness |
| |
| static void REGAL_CALL debug_glGetnUniformfvEXT(GLuint program, GLint location, GLsizei bufSize, GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetnUniformfvEXT)(program, location, bufSize, params); |
| } |
| |
| static void REGAL_CALL debug_glGetnUniformivEXT(GLuint program, GLint location, GLsizei bufSize, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetnUniformivEXT)(program, location, bufSize, params); |
| } |
| |
| static void REGAL_CALL debug_glReadnPixelsEXT(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, GLvoid *data) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glReadnPixelsEXT)(x, y, width, height, format, type, bufSize, data); |
| } |
| |
| // GL_EXT_scene_marker |
| |
| static void REGAL_CALL debug_glBeginSceneEXT(void) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBeginSceneEXT)(); |
| } |
| |
| static void REGAL_CALL debug_glEndSceneEXT(void) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glEndSceneEXT)(); |
| } |
| |
| // GL_EXT_secondary_color |
| |
| static void REGAL_CALL debug_glSecondaryColor3bEXT(GLbyte red, GLbyte green, GLbyte blue) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSecondaryColor3bEXT)(red, green, blue); |
| } |
| |
| static void REGAL_CALL debug_glSecondaryColor3bvEXT(const GLbyte *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSecondaryColor3bvEXT)(v); |
| } |
| |
| static void REGAL_CALL debug_glSecondaryColor3dEXT(GLdouble red, GLdouble green, GLdouble blue) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSecondaryColor3dEXT)(red, green, blue); |
| } |
| |
| static void REGAL_CALL debug_glSecondaryColor3dvEXT(const GLdouble *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSecondaryColor3dvEXT)(v); |
| } |
| |
| static void REGAL_CALL debug_glSecondaryColor3fEXT(GLfloat red, GLfloat green, GLfloat blue) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSecondaryColor3fEXT)(red, green, blue); |
| } |
| |
| static void REGAL_CALL debug_glSecondaryColor3fvEXT(const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSecondaryColor3fvEXT)(v); |
| } |
| |
| static void REGAL_CALL debug_glSecondaryColor3iEXT(GLint red, GLint green, GLint blue) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSecondaryColor3iEXT)(red, green, blue); |
| } |
| |
| static void REGAL_CALL debug_glSecondaryColor3ivEXT(const GLint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSecondaryColor3ivEXT)(v); |
| } |
| |
| static void REGAL_CALL debug_glSecondaryColor3sEXT(GLshort red, GLshort green, GLshort blue) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSecondaryColor3sEXT)(red, green, blue); |
| } |
| |
| static void REGAL_CALL debug_glSecondaryColor3svEXT(const GLshort *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSecondaryColor3svEXT)(v); |
| } |
| |
| static void REGAL_CALL debug_glSecondaryColor3ubEXT(GLubyte red, GLubyte green, GLubyte blue) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSecondaryColor3ubEXT)(red, green, blue); |
| } |
| |
| static void REGAL_CALL debug_glSecondaryColor3ubvEXT(const GLubyte *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSecondaryColor3ubvEXT)(v); |
| } |
| |
| static void REGAL_CALL debug_glSecondaryColor3uiEXT(GLuint red, GLuint green, GLuint blue) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSecondaryColor3uiEXT)(red, green, blue); |
| } |
| |
| static void REGAL_CALL debug_glSecondaryColor3uivEXT(const GLuint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSecondaryColor3uivEXT)(v); |
| } |
| |
| static void REGAL_CALL debug_glSecondaryColor3usEXT(GLushort red, GLushort green, GLushort blue) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSecondaryColor3usEXT)(red, green, blue); |
| } |
| |
| static void REGAL_CALL debug_glSecondaryColor3usvEXT(const GLushort *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSecondaryColor3usvEXT)(v); |
| } |
| |
| static void REGAL_CALL debug_glSecondaryColorPointerEXT(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSecondaryColorPointerEXT)(size, type, stride, pointer); |
| } |
| |
| // GL_EXT_separate_shader_objects |
| |
| static void REGAL_CALL debug_glActiveProgramEXT(GLuint program) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glActiveProgramEXT)(program); |
| } |
| |
| static GLuint REGAL_CALL debug_glCreateShaderProgramEXT(GLenum type, const GLchar *string) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLuint ret = _next->call(&_next->glCreateShaderProgramEXT)(type, string); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glUseShaderProgramEXT(GLenum type, GLuint program) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUseShaderProgramEXT)(type, program); |
| } |
| |
| // GL_EXT_shader_image_load_store |
| |
| static void REGAL_CALL debug_glBindImageTextureEXT(GLuint index, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLint format) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBindImageTextureEXT)(index, texture, level, layered, layer, access, format); |
| } |
| |
| static void REGAL_CALL debug_glMemoryBarrierEXT(GLbitfield barriers) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMemoryBarrierEXT)(barriers); |
| } |
| |
| // GL_EXT_stencil_clear_tag |
| |
| static void REGAL_CALL debug_glStencilClearTagEXT(GLsizei stencilTagBits, GLuint stencilClearTag) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glStencilClearTagEXT)(stencilTagBits, stencilClearTag); |
| } |
| |
| // GL_EXT_stencil_two_side |
| |
| static void REGAL_CALL debug_glActiveStencilFaceEXT(GLenum face) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glActiveStencilFaceEXT)(face); |
| } |
| |
| // GL_EXT_subtexture |
| |
| static void REGAL_CALL debug_glTexSubImage1DEXT(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexSubImage1DEXT)(target, level, xoffset, width, format, type, pixels); |
| } |
| |
| static void REGAL_CALL debug_glTexSubImage2DEXT(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexSubImage2DEXT)(target, level, xoffset, yoffset, width, height, format, type, pixels); |
| } |
| |
| static void REGAL_CALL debug_glTexSubImage3DEXT(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexSubImage3DEXT)(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); |
| } |
| |
| // GL_EXT_texture3D |
| |
| static void REGAL_CALL debug_glTexImage3DEXT(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexImage3DEXT)(target, level, internalformat, width, height, depth, border, format, type, pixels); |
| } |
| |
| // GL_EXT_texture_array |
| |
| static void REGAL_CALL debug_glFramebufferTextureLayerEXT(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFramebufferTextureLayerEXT)(target, attachment, texture, level, layer); |
| } |
| |
| // GL_EXT_texture_buffer_object |
| |
| static void REGAL_CALL debug_glTexBufferEXT(GLenum target, GLenum internalformat, GLuint buffer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexBufferEXT)(target, internalformat, buffer); |
| } |
| |
| // GL_EXT_texture_integer |
| |
| static void REGAL_CALL debug_glClearColorIiEXT(GLint red, GLint green, GLint blue, GLint alpha) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glClearColorIiEXT)(red, green, blue, alpha); |
| } |
| |
| static void REGAL_CALL debug_glClearColorIuiEXT(GLuint red, GLuint green, GLuint blue, GLuint alpha) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glClearColorIuiEXT)(red, green, blue, alpha); |
| } |
| |
| static void REGAL_CALL debug_glGetTexParameterIivEXT(GLenum target, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetTexParameterIivEXT)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetTexParameterIuivEXT(GLenum target, GLenum pname, GLuint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetTexParameterIuivEXT)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glTexParameterIivEXT(GLenum target, GLenum pname, const GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexParameterIivEXT)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glTexParameterIuivEXT(GLenum target, GLenum pname, const GLuint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexParameterIuivEXT)(target, pname, params); |
| } |
| |
| // GL_EXT_texture_object |
| |
| static GLboolean REGAL_CALL debug_glAreTexturesResidentEXT(GLsizei n, const GLuint *textures, GLboolean *residences) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glAreTexturesResidentEXT)(n, textures, residences); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glBindTextureEXT(GLenum target, GLuint texture) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBindTextureEXT)(target, texture); |
| } |
| |
| static void REGAL_CALL debug_glDeleteTexturesEXT(GLsizei n, const GLuint *textures) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDeleteTexturesEXT)(n, textures); |
| } |
| |
| static void REGAL_CALL debug_glGenTexturesEXT(GLsizei n, GLuint *textures) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGenTexturesEXT)(n, textures); |
| } |
| |
| static GLboolean REGAL_CALL debug_glIsTextureEXT(GLuint texture) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glIsTextureEXT)(texture); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glPrioritizeTexturesEXT(GLsizei n, const GLuint *textures, const GLclampf *priorities) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPrioritizeTexturesEXT)(n, textures, priorities); |
| } |
| |
| // GL_EXT_texture_perturb_normal |
| |
| static void REGAL_CALL debug_glTextureNormalEXT(GLenum mode) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTextureNormalEXT)(mode); |
| } |
| |
| // GL_EXT_texture_storage |
| |
| static void REGAL_CALL debug_glTexStorage1DEXT(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexStorage1DEXT)(target, levels, internalformat, width); |
| } |
| |
| static void REGAL_CALL debug_glTexStorage2DEXT(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexStorage2DEXT)(target, levels, internalformat, width, height); |
| } |
| |
| static void REGAL_CALL debug_glTexStorage3DEXT(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexStorage3DEXT)(target, levels, internalformat, width, height, depth); |
| } |
| |
| // GL_EXT_timer_query |
| |
| static void REGAL_CALL debug_glGetQueryObjecti64vEXT(GLuint id, GLenum pname, GLint64EXT *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetQueryObjecti64vEXT)(id, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetQueryObjectui64vEXT(GLuint id, GLenum pname, GLuint64EXT *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetQueryObjectui64vEXT)(id, pname, params); |
| } |
| |
| // GL_EXT_transform_feedback |
| |
| static void REGAL_CALL debug_glBeginTransformFeedbackEXT(GLenum primitiveMode) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBeginTransformFeedbackEXT)(primitiveMode); |
| } |
| |
| static void REGAL_CALL debug_glBindBufferBaseEXT(GLenum target, GLuint index, GLuint buffer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBindBufferBaseEXT)(target, index, buffer); |
| } |
| |
| static void REGAL_CALL debug_glBindBufferOffsetEXT(GLenum target, GLuint index, GLuint buffer, GLintptr offset) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBindBufferOffsetEXT)(target, index, buffer, offset); |
| } |
| |
| static void REGAL_CALL debug_glBindBufferRangeEXT(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBindBufferRangeEXT)(target, index, buffer, offset, size); |
| } |
| |
| static void REGAL_CALL debug_glEndTransformFeedbackEXT(void) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glEndTransformFeedbackEXT)(); |
| } |
| |
| static void REGAL_CALL debug_glGetTransformFeedbackVaryingEXT(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetTransformFeedbackVaryingEXT)(program, index, bufSize, length, size, type, name); |
| } |
| |
| static void REGAL_CALL debug_glTransformFeedbackVaryingsEXT(GLuint program, GLsizei count, const GLchar * const *varyings, GLenum bufferMode) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTransformFeedbackVaryingsEXT)(program, count, varyings, bufferMode); |
| } |
| |
| // GL_EXT_vertex_array |
| |
| static void REGAL_CALL debug_glArrayElementEXT(GLint i) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glArrayElementEXT)(i); |
| } |
| |
| static void REGAL_CALL debug_glColorPointerEXT(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColorPointerEXT)(size, type, stride, count, pointer); |
| } |
| |
| static void REGAL_CALL debug_glDrawArraysEXT(GLenum mode, GLint first, GLsizei count) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDrawArraysEXT)(mode, first, count); |
| } |
| |
| static void REGAL_CALL debug_glEdgeFlagPointerEXT(GLsizei stride, GLsizei count, const GLboolean *pointer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glEdgeFlagPointerEXT)(stride, count, pointer); |
| } |
| |
| static void REGAL_CALL debug_glGetPointervEXT(GLenum pname, GLvoid **params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetPointervEXT)(pname, params); |
| } |
| |
| static void REGAL_CALL debug_glIndexPointerEXT(GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glIndexPointerEXT)(type, stride, count, pointer); |
| } |
| |
| static void REGAL_CALL debug_glNormalPointerEXT(GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNormalPointerEXT)(type, stride, count, pointer); |
| } |
| |
| static void REGAL_CALL debug_glTexCoordPointerEXT(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoordPointerEXT)(size, type, stride, count, pointer); |
| } |
| |
| static void REGAL_CALL debug_glVertexPointerEXT(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexPointerEXT)(size, type, stride, count, pointer); |
| } |
| |
| // GL_EXT_vertex_attrib_64bit |
| |
| static void REGAL_CALL debug_glGetVertexAttribLdvEXT(GLuint index, GLenum pname, GLdouble *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetVertexAttribLdvEXT)(index, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glVertexArrayVertexAttribLOffsetEXT(GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexArrayVertexAttribLOffsetEXT)(vaobj, buffer, index, size, type, stride, offset); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribL1dEXT(GLuint index, GLdouble x) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribL1dEXT)(index, x); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribL1dvEXT(GLuint index, const GLdouble *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribL1dvEXT)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribL2dEXT(GLuint index, GLdouble x, GLdouble y) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribL2dEXT)(index, x, y); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribL2dvEXT(GLuint index, const GLdouble *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribL2dvEXT)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribL3dEXT(GLuint index, GLdouble x, GLdouble y, GLdouble z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribL3dEXT)(index, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribL3dvEXT(GLuint index, const GLdouble *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribL3dvEXT)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribL4dEXT(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribL4dEXT)(index, x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribL4dvEXT(GLuint index, const GLdouble *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribL4dvEXT)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribLPointerEXT(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribLPointerEXT)(index, size, type, stride, pointer); |
| } |
| |
| // GL_EXT_vertex_shader |
| |
| static void REGAL_CALL debug_glBeginVertexShaderEXT(void) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBeginVertexShaderEXT)(); |
| } |
| |
| static GLuint REGAL_CALL debug_glBindLightParameterEXT(GLenum light, GLenum value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLuint ret = _next->call(&_next->glBindLightParameterEXT)(light, value); |
| return ret; |
| } |
| |
| static GLuint REGAL_CALL debug_glBindMaterialParameterEXT(GLenum face, GLenum value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLuint ret = _next->call(&_next->glBindMaterialParameterEXT)(face, value); |
| return ret; |
| } |
| |
| static GLuint REGAL_CALL debug_glBindParameterEXT(GLenum value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLuint ret = _next->call(&_next->glBindParameterEXT)(value); |
| return ret; |
| } |
| |
| static GLuint REGAL_CALL debug_glBindTexGenParameterEXT(GLenum unit, GLenum coord, GLenum value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLuint ret = _next->call(&_next->glBindTexGenParameterEXT)(unit, coord, value); |
| return ret; |
| } |
| |
| static GLuint REGAL_CALL debug_glBindTextureUnitParameterEXT(GLenum unit, GLenum value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLuint ret = _next->call(&_next->glBindTextureUnitParameterEXT)(unit, value); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glBindVertexShaderEXT(GLuint id) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBindVertexShaderEXT)(id); |
| } |
| |
| static void REGAL_CALL debug_glDeleteVertexShaderEXT(GLuint id) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDeleteVertexShaderEXT)(id); |
| } |
| |
| static void REGAL_CALL debug_glDisableVariantClientStateEXT(GLuint id) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDisableVariantClientStateEXT)(id); |
| } |
| |
| static void REGAL_CALL debug_glEnableVariantClientStateEXT(GLuint id) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glEnableVariantClientStateEXT)(id); |
| } |
| |
| static void REGAL_CALL debug_glEndVertexShaderEXT(void) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glEndVertexShaderEXT)(); |
| } |
| |
| static void REGAL_CALL debug_glExtractComponentEXT(GLuint res, GLuint src, GLuint num) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glExtractComponentEXT)(res, src, num); |
| } |
| |
| static GLuint REGAL_CALL debug_glGenSymbolsEXT(GLenum datatype, GLenum storagetype, GLenum range, GLuint components) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLuint ret = _next->call(&_next->glGenSymbolsEXT)(datatype, storagetype, range, components); |
| return ret; |
| } |
| |
| static GLuint REGAL_CALL debug_glGenVertexShadersEXT(GLuint range) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLuint ret = _next->call(&_next->glGenVertexShadersEXT)(range); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glGetInvariantBooleanvEXT(GLuint id, GLenum value, GLboolean *data) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetInvariantBooleanvEXT)(id, value, data); |
| } |
| |
| static void REGAL_CALL debug_glGetInvariantFloatvEXT(GLuint id, GLenum value, GLfloat *data) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetInvariantFloatvEXT)(id, value, data); |
| } |
| |
| static void REGAL_CALL debug_glGetInvariantIntegervEXT(GLuint id, GLenum value, GLint *data) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetInvariantIntegervEXT)(id, value, data); |
| } |
| |
| static void REGAL_CALL debug_glGetLocalConstantBooleanvEXT(GLuint id, GLenum value, GLboolean *data) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetLocalConstantBooleanvEXT)(id, value, data); |
| } |
| |
| static void REGAL_CALL debug_glGetLocalConstantFloatvEXT(GLuint id, GLenum value, GLfloat *data) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetLocalConstantFloatvEXT)(id, value, data); |
| } |
| |
| static void REGAL_CALL debug_glGetLocalConstantIntegervEXT(GLuint id, GLenum value, GLint *data) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetLocalConstantIntegervEXT)(id, value, data); |
| } |
| |
| static void REGAL_CALL debug_glGetVariantBooleanvEXT(GLuint id, GLenum value, GLboolean *data) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetVariantBooleanvEXT)(id, value, data); |
| } |
| |
| static void REGAL_CALL debug_glGetVariantFloatvEXT(GLuint id, GLenum value, GLfloat *data) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetVariantFloatvEXT)(id, value, data); |
| } |
| |
| static void REGAL_CALL debug_glGetVariantIntegervEXT(GLuint id, GLenum value, GLint *data) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetVariantIntegervEXT)(id, value, data); |
| } |
| |
| static void REGAL_CALL debug_glGetVariantPointervEXT(GLuint id, GLenum value, GLvoid **data) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetVariantPointervEXT)(id, value, data); |
| } |
| |
| static void REGAL_CALL debug_glInsertComponentEXT(GLuint res, GLuint src, GLuint num) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glInsertComponentEXT)(res, src, num); |
| } |
| |
| static GLboolean REGAL_CALL debug_glIsVariantEnabledEXT(GLuint id, GLenum cap) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glIsVariantEnabledEXT)(id, cap); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glSetInvariantEXT(GLuint id, GLenum type, const GLvoid *addr) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSetInvariantEXT)(id, type, addr); |
| } |
| |
| static void REGAL_CALL debug_glSetLocalConstantEXT(GLuint id, GLenum type, const GLvoid *addr) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSetLocalConstantEXT)(id, type, addr); |
| } |
| |
| static void REGAL_CALL debug_glShaderOp1EXT(GLenum op, GLuint res, GLuint arg1) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glShaderOp1EXT)(op, res, arg1); |
| } |
| |
| static void REGAL_CALL debug_glShaderOp2EXT(GLenum op, GLuint res, GLuint arg1, GLuint arg2) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glShaderOp2EXT)(op, res, arg1, arg2); |
| } |
| |
| static void REGAL_CALL debug_glShaderOp3EXT(GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glShaderOp3EXT)(op, res, arg1, arg2, arg3); |
| } |
| |
| static void REGAL_CALL debug_glSwizzleEXT(GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSwizzleEXT)(res, in, outX, outY, outZ, outW); |
| } |
| |
| static void REGAL_CALL debug_glVariantPointerEXT(GLuint id, GLenum type, GLuint stride, const GLvoid *addr) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVariantPointerEXT)(id, type, stride, addr); |
| } |
| |
| static void REGAL_CALL debug_glVariantbvEXT(GLuint id, const GLbyte *addr) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVariantbvEXT)(id, addr); |
| } |
| |
| static void REGAL_CALL debug_glVariantdvEXT(GLuint id, const GLdouble *addr) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVariantdvEXT)(id, addr); |
| } |
| |
| static void REGAL_CALL debug_glVariantfvEXT(GLuint id, const GLfloat *addr) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVariantfvEXT)(id, addr); |
| } |
| |
| static void REGAL_CALL debug_glVariantivEXT(GLuint id, const GLint *addr) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVariantivEXT)(id, addr); |
| } |
| |
| static void REGAL_CALL debug_glVariantsvEXT(GLuint id, const GLshort *addr) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVariantsvEXT)(id, addr); |
| } |
| |
| static void REGAL_CALL debug_glVariantubvEXT(GLuint id, const GLubyte *addr) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVariantubvEXT)(id, addr); |
| } |
| |
| static void REGAL_CALL debug_glVariantuivEXT(GLuint id, const GLuint *addr) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVariantuivEXT)(id, addr); |
| } |
| |
| static void REGAL_CALL debug_glVariantusvEXT(GLuint id, const GLushort *addr) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVariantusvEXT)(id, addr); |
| } |
| |
| static void REGAL_CALL debug_glWriteMaskEXT(GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWriteMaskEXT)(res, in, outX, outY, outZ, outW); |
| } |
| |
| // GL_EXT_vertex_weighting |
| |
| static void REGAL_CALL debug_glVertexWeightPointerEXT(GLsizei size, GLenum type, GLsizei stride, const GLvoid *pointer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexWeightPointerEXT)(size, type, stride, pointer); |
| } |
| |
| static void REGAL_CALL debug_glVertexWeightfEXT(GLfloat weight) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexWeightfEXT)(weight); |
| } |
| |
| static void REGAL_CALL debug_glVertexWeightfvEXT(const GLfloat *weight) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexWeightfvEXT)(weight); |
| } |
| |
| // GL_EXT_x11_sync_object |
| |
| static GLsync REGAL_CALL debug_glImportSyncEXT(GLenum external_sync_type, GLintptr external_sync, GLbitfield flags) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLsync ret = _next->call(&_next->glImportSyncEXT)(external_sync_type, external_sync, flags); |
| return ret; |
| } |
| |
| // GL_GREMEDY_frame_terminator |
| |
| static void REGAL_CALL debug_glFrameTerminatorGREMEDY(void) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFrameTerminatorGREMEDY)(); |
| } |
| |
| // GL_GREMEDY_string_marker |
| |
| static void REGAL_CALL debug_glStringMarkerGREMEDY(GLsizei len, const GLvoid *string) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glStringMarkerGREMEDY)(len, string); |
| } |
| |
| // GL_HP_image_transform |
| |
| static void REGAL_CALL debug_glGetImageTransformParameterfvHP(GLenum target, GLenum pname, GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetImageTransformParameterfvHP)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetImageTransformParameterivHP(GLenum target, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetImageTransformParameterivHP)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glImageTransformParameterfHP(GLenum target, GLenum pname, GLfloat param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glImageTransformParameterfHP)(target, pname, param); |
| } |
| |
| static void REGAL_CALL debug_glImageTransformParameterfvHP(GLenum target, GLenum pname, const GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glImageTransformParameterfvHP)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glImageTransformParameteriHP(GLenum target, GLenum pname, GLint param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glImageTransformParameteriHP)(target, pname, param); |
| } |
| |
| static void REGAL_CALL debug_glImageTransformParameterivHP(GLenum target, GLenum pname, const GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glImageTransformParameterivHP)(target, pname, params); |
| } |
| |
| // GL_IBM_multimode_draw_arrays |
| |
| static void REGAL_CALL debug_glMultiModeDrawArraysIBM(const GLenum *mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiModeDrawArraysIBM)(mode, first, count, primcount, modestride); |
| } |
| |
| static void REGAL_CALL debug_glMultiModeDrawElementsIBM(const GLenum *mode, const GLsizei *count, GLenum type, const GLvoid * const *indices, GLsizei primcount, GLint modestride) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiModeDrawElementsIBM)(mode, count, type, indices, primcount, modestride); |
| } |
| |
| // GL_IBM_vertex_array_lists |
| |
| static void REGAL_CALL debug_glColorPointerListIBM(GLint size, GLenum type, GLint stride, const GLvoid **pointer, GLint ptrstride) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColorPointerListIBM)(size, type, stride, pointer, ptrstride); |
| } |
| |
| static void REGAL_CALL debug_glEdgeFlagPointerListIBM(GLint stride, const GLboolean **pointer, GLint ptrstride) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glEdgeFlagPointerListIBM)(stride, pointer, ptrstride); |
| } |
| |
| static void REGAL_CALL debug_glFogCoordPointerListIBM(GLenum type, GLint stride, const GLvoid **pointer, GLint ptrstride) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFogCoordPointerListIBM)(type, stride, pointer, ptrstride); |
| } |
| |
| static void REGAL_CALL debug_glIndexPointerListIBM(GLenum type, GLint stride, const GLvoid **pointer, GLint ptrstride) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glIndexPointerListIBM)(type, stride, pointer, ptrstride); |
| } |
| |
| static void REGAL_CALL debug_glNormalPointerListIBM(GLenum type, GLint stride, const GLvoid **pointer, GLint ptrstride) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNormalPointerListIBM)(type, stride, pointer, ptrstride); |
| } |
| |
| static void REGAL_CALL debug_glSecondaryColorPointerListIBM(GLint size, GLenum type, GLint stride, const GLvoid **pointer, GLint ptrstride) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSecondaryColorPointerListIBM)(size, type, stride, pointer, ptrstride); |
| } |
| |
| static void REGAL_CALL debug_glTexCoordPointerListIBM(GLint size, GLenum type, GLint stride, const GLvoid **pointer, GLint ptrstride) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoordPointerListIBM)(size, type, stride, pointer, ptrstride); |
| } |
| |
| static void REGAL_CALL debug_glVertexPointerListIBM(GLint size, GLenum type, GLint stride, const GLvoid **pointer, GLint ptrstride) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexPointerListIBM)(size, type, stride, pointer, ptrstride); |
| } |
| |
| // GL_IMG_multisampled_render_to_texture |
| |
| static void REGAL_CALL debug_glFramebufferTexture2DMultisampleIMG(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFramebufferTexture2DMultisampleIMG)(target, attachment, textarget, texture, level, samples); |
| } |
| |
| static void REGAL_CALL debug_glRenderbufferStorageMultisampleIMG(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glRenderbufferStorageMultisampleIMG)(target, samples, internalformat, width, height); |
| } |
| |
| // GL_INGR_blend_func_separate |
| |
| static void REGAL_CALL debug_glBlendFuncSeparateINGR(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBlendFuncSeparateINGR)(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha); |
| } |
| |
| // GL_INTEL_map_texture |
| |
| static GLvoid *REGAL_CALL debug_glMapTexture2DINTEL(GLuint texture, GLint level, GLbitfield access, GLint *stride, GLenum *layout) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLvoid * ret = _next->call(&_next->glMapTexture2DINTEL)(texture, level, access, stride, layout); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glSyncTextureINTEL(GLuint texture) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSyncTextureINTEL)(texture); |
| } |
| |
| static void REGAL_CALL debug_glUnmapTexture2DINTEL(GLuint texture, GLint level) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUnmapTexture2DINTEL)(texture, level); |
| } |
| |
| // GL_INTEL_parallel_arrays |
| |
| static void REGAL_CALL debug_glColorPointervINTEL(GLint size, GLenum type, const GLvoid **pointer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColorPointervINTEL)(size, type, pointer); |
| } |
| |
| static void REGAL_CALL debug_glNormalPointervINTEL(GLenum type, const GLvoid **pointer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNormalPointervINTEL)(type, pointer); |
| } |
| |
| static void REGAL_CALL debug_glTexCoordPointervINTEL(GLint size, GLenum type, const GLvoid **pointer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoordPointervINTEL)(size, type, pointer); |
| } |
| |
| static void REGAL_CALL debug_glVertexPointervINTEL(GLint size, GLenum type, const GLvoid **pointer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexPointervINTEL)(size, type, pointer); |
| } |
| |
| // GL_INTEL_texture_scissor |
| |
| static void REGAL_CALL debug_glTexScissorFuncINTEL(GLenum target, GLenum lfunc, GLenum hfunc) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexScissorFuncINTEL)(target, lfunc, hfunc); |
| } |
| |
| static void REGAL_CALL debug_glTexScissorINTEL(GLenum target, GLclampf tlow, GLclampf thigh) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexScissorINTEL)(target, tlow, thigh); |
| } |
| |
| // GL_KHR_debug |
| |
| static void REGAL_CALL debug_glDebugMessageCallback(GLDEBUGPROC callback, const void *userParam) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDebugMessageCallback)(callback, userParam); |
| } |
| |
| static void REGAL_CALL debug_glDebugMessageControl(GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDebugMessageControl)(source, type, severity, count, ids, enabled); |
| } |
| |
| static void REGAL_CALL debug_glDebugMessageInsert(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDebugMessageInsert)(source, type, id, severity, length, buf); |
| } |
| |
| static GLuint REGAL_CALL debug_glGetDebugMessageLog(GLuint count, GLsizei bufsize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLuint ret = _next->call(&_next->glGetDebugMessageLog)(count, bufsize, sources, types, ids, severities, lengths, messageLog); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glGetObjectLabel(GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetObjectLabel)(identifier, name, bufSize, length, label); |
| } |
| |
| static void REGAL_CALL debug_glGetObjectPtrLabel(const GLvoid *ptr, GLsizei bufSize, GLsizei *length, GLchar *label) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetObjectPtrLabel)(ptr, bufSize, length, label); |
| } |
| |
| static void REGAL_CALL debug_glObjectLabel(GLenum identifier, GLuint name, GLsizei length, const GLchar *label) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glObjectLabel)(identifier, name, length, label); |
| } |
| |
| static void REGAL_CALL debug_glObjectPtrLabel(const GLvoid *ptr, GLsizei length, const GLchar *label) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glObjectPtrLabel)(ptr, length, label); |
| } |
| |
| static void REGAL_CALL debug_glPopDebugGroup(void) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPopDebugGroup)(); |
| } |
| |
| static void REGAL_CALL debug_glPushDebugGroup(GLenum source, GLuint id, GLsizei length, const GLchar *message) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPushDebugGroup)(source, id, length, message); |
| } |
| |
| // GL_KTX_buffer_region |
| |
| static GLuint REGAL_CALL debug_glBufferRegionEnabled(void) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLuint ret = _next->call(&_next->glBufferRegionEnabled)(); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glDeleteBufferRegion(GLenum region) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDeleteBufferRegion)(region); |
| } |
| |
| static void REGAL_CALL debug_glDrawBufferRegion(GLuint region, GLint x, GLint y, GLsizei width, GLsizei height, GLint xDest, GLint yDest) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDrawBufferRegion)(region, x, y, width, height, xDest, yDest); |
| } |
| |
| static GLuint REGAL_CALL debug_glNewBufferRegion(GLenum region) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLuint ret = _next->call(&_next->glNewBufferRegion)(region); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glReadBufferRegion(GLuint region, GLint x, GLint y, GLsizei width, GLsizei height) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glReadBufferRegion)(region, x, y, width, height); |
| } |
| |
| // GL_MESA_resize_buffers |
| |
| static void REGAL_CALL debug_glResizeBuffersMESA(void) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glResizeBuffersMESA)(); |
| } |
| |
| // GL_MESA_window_pos |
| |
| static void REGAL_CALL debug_glWindowPos2dMESA(GLdouble x, GLdouble y) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWindowPos2dMESA)(x, y); |
| } |
| |
| static void REGAL_CALL debug_glWindowPos2dvMESA(const GLdouble *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWindowPos2dvMESA)(v); |
| } |
| |
| static void REGAL_CALL debug_glWindowPos2fMESA(GLfloat x, GLfloat y) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWindowPos2fMESA)(x, y); |
| } |
| |
| static void REGAL_CALL debug_glWindowPos2fvMESA(const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWindowPos2fvMESA)(v); |
| } |
| |
| static void REGAL_CALL debug_glWindowPos2iMESA(GLint x, GLint y) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWindowPos2iMESA)(x, y); |
| } |
| |
| static void REGAL_CALL debug_glWindowPos2ivMESA(const GLint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWindowPos2ivMESA)(v); |
| } |
| |
| static void REGAL_CALL debug_glWindowPos2sMESA(GLshort x, GLshort y) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWindowPos2sMESA)(x, y); |
| } |
| |
| static void REGAL_CALL debug_glWindowPos2svMESA(const GLshort *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWindowPos2svMESA)(v); |
| } |
| |
| static void REGAL_CALL debug_glWindowPos3dMESA(GLdouble x, GLdouble y, GLdouble z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWindowPos3dMESA)(x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glWindowPos3dvMESA(const GLdouble *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWindowPos3dvMESA)(v); |
| } |
| |
| static void REGAL_CALL debug_glWindowPos3fMESA(GLfloat x, GLfloat y, GLfloat z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWindowPos3fMESA)(x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glWindowPos3fvMESA(const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWindowPos3fvMESA)(v); |
| } |
| |
| static void REGAL_CALL debug_glWindowPos3iMESA(GLint x, GLint y, GLint z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWindowPos3iMESA)(x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glWindowPos3ivMESA(const GLint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWindowPos3ivMESA)(v); |
| } |
| |
| static void REGAL_CALL debug_glWindowPos3sMESA(GLshort x, GLshort y, GLshort z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWindowPos3sMESA)(x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glWindowPos3svMESA(const GLshort *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWindowPos3svMESA)(v); |
| } |
| |
| static void REGAL_CALL debug_glWindowPos4dMESA(GLdouble x, GLdouble y, GLdouble z, GLdouble w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWindowPos4dMESA)(x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glWindowPos4dvMESA(const GLdouble *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWindowPos4dvMESA)(v); |
| } |
| |
| static void REGAL_CALL debug_glWindowPos4fMESA(GLfloat x, GLfloat y, GLfloat z, GLfloat w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWindowPos4fMESA)(x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glWindowPos4fvMESA(const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWindowPos4fvMESA)(v); |
| } |
| |
| static void REGAL_CALL debug_glWindowPos4iMESA(GLint x, GLint y, GLint z, GLint w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWindowPos4iMESA)(x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glWindowPos4ivMESA(const GLint *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWindowPos4ivMESA)(v); |
| } |
| |
| static void REGAL_CALL debug_glWindowPos4sMESA(GLshort x, GLshort y, GLshort z, GLshort w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWindowPos4sMESA)(x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glWindowPos4svMESA(const GLshort *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWindowPos4svMESA)(v); |
| } |
| |
| // GL_NVX_conditional_render |
| |
| static void REGAL_CALL debug_glBeginConditionalRenderNVX(GLuint id) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBeginConditionalRenderNVX)(id); |
| } |
| |
| static void REGAL_CALL debug_glEndConditionalRenderNVX(void) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glEndConditionalRenderNVX)(); |
| } |
| |
| // GL_NV_bindless_texture |
| |
| static GLuint64 REGAL_CALL debug_glGetImageHandleNV(GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLuint64 ret = _next->call(&_next->glGetImageHandleNV)(texture, level, layered, layer, format); |
| return ret; |
| } |
| |
| static GLuint64 REGAL_CALL debug_glGetTextureHandleNV(GLuint texture) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLuint64 ret = _next->call(&_next->glGetTextureHandleNV)(texture); |
| return ret; |
| } |
| |
| static GLuint64 REGAL_CALL debug_glGetTextureSamplerHandleNV(GLuint texture, GLuint sampler) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLuint64 ret = _next->call(&_next->glGetTextureSamplerHandleNV)(texture, sampler); |
| return ret; |
| } |
| |
| static GLboolean REGAL_CALL debug_glIsImageHandleResidentNV(GLuint64 handle) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glIsImageHandleResidentNV)(handle); |
| return ret; |
| } |
| |
| static GLboolean REGAL_CALL debug_glIsTextureHandleResidentNV(GLuint64 handle) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glIsTextureHandleResidentNV)(handle); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glMakeImageHandleNonResidentNV(GLuint64 handle) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMakeImageHandleNonResidentNV)(handle); |
| } |
| |
| static void REGAL_CALL debug_glMakeImageHandleResidentNV(GLuint64 handle, GLenum access) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMakeImageHandleResidentNV)(handle, access); |
| } |
| |
| static void REGAL_CALL debug_glMakeTextureHandleNonResidentNV(GLuint64 handle) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMakeTextureHandleNonResidentNV)(handle); |
| } |
| |
| static void REGAL_CALL debug_glMakeTextureHandleResidentNV(GLuint64 handle) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMakeTextureHandleResidentNV)(handle); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniformHandleui64NV(GLuint program, GLint location, GLuint64 value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniformHandleui64NV)(program, location, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniformHandleui64vNV(GLuint program, GLint location, GLsizei count, const GLuint64 *values) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniformHandleui64vNV)(program, location, count, values); |
| } |
| |
| static void REGAL_CALL debug_glUniformHandleui64NV(GLint location, GLuint64 value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniformHandleui64NV)(location, value); |
| } |
| |
| static void REGAL_CALL debug_glUniformHandleui64vNV(GLint location, GLsizei count, const GLuint64 *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniformHandleui64vNV)(location, count, value); |
| } |
| |
| // GL_NV_blend_equation_advanced |
| |
| static void REGAL_CALL debug_glBlendBarrierNV(void) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBlendBarrierNV)(); |
| } |
| |
| static void REGAL_CALL debug_glBlendParameteriNV(GLenum pname, GLint value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBlendParameteriNV)(pname, value); |
| } |
| |
| // GL_NV_conditional_render |
| |
| static void REGAL_CALL debug_glBeginConditionalRenderNV(GLuint id, GLenum mode) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBeginConditionalRenderNV)(id, mode); |
| } |
| |
| static void REGAL_CALL debug_glEndConditionalRenderNV(void) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glEndConditionalRenderNV)(); |
| } |
| |
| // GL_NV_copy_buffer |
| |
| static void REGAL_CALL debug_glCopyBufferSubDataNV(GLenum readtarget, GLenum writetarget, GLintptr readoffset, GLintptr writeoffset, GLsizeiptr size) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCopyBufferSubDataNV)(readtarget, writetarget, readoffset, writeoffset, size); |
| } |
| |
| // GL_NV_copy_image |
| |
| static void REGAL_CALL debug_glCopyImageSubDataNV(GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCopyImageSubDataNV)(srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, width, height, depth); |
| } |
| |
| // GL_NV_coverage_sample |
| |
| static void REGAL_CALL debug_glCoverageMaskNV(GLboolean mask) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCoverageMaskNV)(mask); |
| } |
| |
| static void REGAL_CALL debug_glCoverageOperationNV(GLenum operation) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCoverageOperationNV)(operation); |
| } |
| |
| // GL_NV_depth_buffer_float |
| |
| static void REGAL_CALL debug_glClearDepthdNV(GLdouble depth) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glClearDepthdNV)(depth); |
| } |
| |
| static void REGAL_CALL debug_glDepthBoundsdNV(GLdouble zmin, GLdouble zmax) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDepthBoundsdNV)(zmin, zmax); |
| } |
| |
| static void REGAL_CALL debug_glDepthRangedNV(GLdouble zNear, GLdouble zFar) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDepthRangedNV)(zNear, zFar); |
| } |
| |
| // GL_NV_draw_buffers |
| |
| static void REGAL_CALL debug_glDrawBuffersNV(GLsizei n, const GLenum *bufs) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDrawBuffersNV)(n, bufs); |
| } |
| |
| // GL_NV_draw_texture |
| |
| static void REGAL_CALL debug_glDrawTextureNV(GLuint texture, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDrawTextureNV)(texture, sampler, x0, y0, x1, y1, z, s0, t0, s1, t1); |
| } |
| |
| // GL_NV_evaluators |
| |
| static void REGAL_CALL debug_glEvalMapsNV(GLenum target, GLenum mode) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glEvalMapsNV)(target, mode); |
| } |
| |
| static void REGAL_CALL debug_glGetMapAttribParameterfvNV(GLenum target, GLuint index, GLenum pname, GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetMapAttribParameterfvNV)(target, index, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetMapAttribParameterivNV(GLenum target, GLuint index, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetMapAttribParameterivNV)(target, index, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetMapControlPointsNV(GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, GLvoid *points) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetMapControlPointsNV)(target, index, type, ustride, vstride, packed, points); |
| } |
| |
| static void REGAL_CALL debug_glGetMapParameterfvNV(GLenum target, GLenum pname, GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetMapParameterfvNV)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetMapParameterivNV(GLenum target, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetMapParameterivNV)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glMapControlPointsNV(GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const GLvoid *points) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMapControlPointsNV)(target, index, type, ustride, vstride, uorder, vorder, packed, points); |
| } |
| |
| static void REGAL_CALL debug_glMapParameterfvNV(GLenum target, GLenum pname, const GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMapParameterfvNV)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glMapParameterivNV(GLenum target, GLenum pname, const GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMapParameterivNV)(target, pname, params); |
| } |
| |
| // GL_NV_explicit_multisample |
| |
| static void REGAL_CALL debug_glGetMultisamplefvNV(GLenum pname, GLuint index, GLfloat *val) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetMultisamplefvNV)(pname, index, val); |
| } |
| |
| static void REGAL_CALL debug_glSampleMaskIndexedNV(GLuint index, GLbitfield mask) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSampleMaskIndexedNV)(index, mask); |
| } |
| |
| static void REGAL_CALL debug_glTexRenderbufferNV(GLenum target, GLuint renderbuffer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexRenderbufferNV)(target, renderbuffer); |
| } |
| |
| // GL_NV_fence |
| |
| static void REGAL_CALL debug_glDeleteFencesNV(GLsizei n, const GLuint *fences) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDeleteFencesNV)(n, fences); |
| } |
| |
| static void REGAL_CALL debug_glFinishFenceNV(GLuint fence) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFinishFenceNV)(fence); |
| } |
| |
| static void REGAL_CALL debug_glGenFencesNV(GLsizei n, GLuint *fences) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGenFencesNV)(n, fences); |
| } |
| |
| static void REGAL_CALL debug_glGetFenceivNV(GLuint fence, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetFenceivNV)(fence, pname, params); |
| } |
| |
| static GLboolean REGAL_CALL debug_glIsFenceNV(GLuint fence) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glIsFenceNV)(fence); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glSetFenceNV(GLuint fence, GLenum condition) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSetFenceNV)(fence, condition); |
| } |
| |
| static GLboolean REGAL_CALL debug_glTestFenceNV(GLuint fence) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glTestFenceNV)(fence); |
| return ret; |
| } |
| |
| // GL_NV_fragment_program |
| |
| static void REGAL_CALL debug_glGetProgramNamedParameterdvNV(GLuint id, GLsizei len, const GLubyte *name, GLdouble *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetProgramNamedParameterdvNV)(id, len, name, params); |
| } |
| |
| static void REGAL_CALL debug_glGetProgramNamedParameterfvNV(GLuint id, GLsizei len, const GLubyte *name, GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetProgramNamedParameterfvNV)(id, len, name, params); |
| } |
| |
| static void REGAL_CALL debug_glProgramNamedParameter4dNV(GLuint id, GLsizei len, const GLubyte *name, GLdouble x, GLdouble y, GLdouble z, GLdouble w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramNamedParameter4dNV)(id, len, name, x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glProgramNamedParameter4dvNV(GLuint id, GLsizei len, const GLubyte *name, const GLdouble *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramNamedParameter4dvNV)(id, len, name, v); |
| } |
| |
| static void REGAL_CALL debug_glProgramNamedParameter4fNV(GLuint id, GLsizei len, const GLubyte *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramNamedParameter4fNV)(id, len, name, x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glProgramNamedParameter4fvNV(GLuint id, GLsizei len, const GLubyte *name, const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramNamedParameter4fvNV)(id, len, name, v); |
| } |
| |
| // GL_NV_framebuffer_blit |
| |
| static void REGAL_CALL debug_glBlitFramebufferNV(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBlitFramebufferNV)(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); |
| } |
| |
| // GL_NV_framebuffer_multisample_coverage |
| |
| static void REGAL_CALL debug_glRenderbufferStorageMultisampleCoverageNV(GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glRenderbufferStorageMultisampleCoverageNV)(target, coverageSamples, colorSamples, internalformat, width, height); |
| } |
| |
| // GL_NV_geometry_program4 |
| |
| static void REGAL_CALL debug_glProgramVertexLimitNV(GLenum target, GLint limit) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramVertexLimitNV)(target, limit); |
| } |
| |
| // GL_NV_gpu_program4 |
| |
| static void REGAL_CALL debug_glGetProgramEnvParameterIivNV(GLenum target, GLuint index, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetProgramEnvParameterIivNV)(target, index, params); |
| } |
| |
| static void REGAL_CALL debug_glGetProgramEnvParameterIuivNV(GLenum target, GLuint index, GLuint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetProgramEnvParameterIuivNV)(target, index, params); |
| } |
| |
| static void REGAL_CALL debug_glGetProgramLocalParameterIivNV(GLenum target, GLuint index, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetProgramLocalParameterIivNV)(target, index, params); |
| } |
| |
| static void REGAL_CALL debug_glGetProgramLocalParameterIuivNV(GLenum target, GLuint index, GLuint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetProgramLocalParameterIuivNV)(target, index, params); |
| } |
| |
| static void REGAL_CALL debug_glProgramEnvParameterI4iNV(GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramEnvParameterI4iNV)(target, index, x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glProgramEnvParameterI4ivNV(GLenum target, GLuint index, const GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramEnvParameterI4ivNV)(target, index, params); |
| } |
| |
| static void REGAL_CALL debug_glProgramEnvParameterI4uiNV(GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramEnvParameterI4uiNV)(target, index, x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glProgramEnvParameterI4uivNV(GLenum target, GLuint index, const GLuint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramEnvParameterI4uivNV)(target, index, params); |
| } |
| |
| static void REGAL_CALL debug_glProgramEnvParametersI4ivNV(GLenum target, GLuint index, GLsizei count, const GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramEnvParametersI4ivNV)(target, index, count, params); |
| } |
| |
| static void REGAL_CALL debug_glProgramEnvParametersI4uivNV(GLenum target, GLuint index, GLsizei count, const GLuint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramEnvParametersI4uivNV)(target, index, count, params); |
| } |
| |
| static void REGAL_CALL debug_glProgramLocalParameterI4iNV(GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramLocalParameterI4iNV)(target, index, x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glProgramLocalParameterI4ivNV(GLenum target, GLuint index, const GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramLocalParameterI4ivNV)(target, index, params); |
| } |
| |
| static void REGAL_CALL debug_glProgramLocalParameterI4uiNV(GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramLocalParameterI4uiNV)(target, index, x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glProgramLocalParameterI4uivNV(GLenum target, GLuint index, const GLuint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramLocalParameterI4uivNV)(target, index, params); |
| } |
| |
| static void REGAL_CALL debug_glProgramLocalParametersI4ivNV(GLenum target, GLuint index, GLsizei count, const GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramLocalParametersI4ivNV)(target, index, count, params); |
| } |
| |
| static void REGAL_CALL debug_glProgramLocalParametersI4uivNV(GLenum target, GLuint index, GLsizei count, const GLuint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramLocalParametersI4uivNV)(target, index, count, params); |
| } |
| |
| // GL_NV_gpu_shader5 |
| |
| static void REGAL_CALL debug_glGetUniformi64vNV(GLuint program, GLint location, GLint64EXT *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetUniformi64vNV)(program, location, params); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform1i64NV(GLuint program, GLint location, GLint64EXT x) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform1i64NV)(program, location, x); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform1i64vNV(GLuint program, GLint location, GLsizei count, const GLint64EXT *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform1i64vNV)(program, location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform1ui64NV(GLuint program, GLint location, GLuint64EXT x) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform1ui64NV)(program, location, x); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform1ui64vNV(GLuint program, GLint location, GLsizei count, const GLuint64EXT *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform1ui64vNV)(program, location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform2i64NV(GLuint program, GLint location, GLint64EXT x, GLint64EXT y) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform2i64NV)(program, location, x, y); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform2i64vNV(GLuint program, GLint location, GLsizei count, const GLint64EXT *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform2i64vNV)(program, location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform2ui64NV(GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform2ui64NV)(program, location, x, y); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform2ui64vNV(GLuint program, GLint location, GLsizei count, const GLuint64EXT *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform2ui64vNV)(program, location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform3i64NV(GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform3i64NV)(program, location, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform3i64vNV(GLuint program, GLint location, GLsizei count, const GLint64EXT *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform3i64vNV)(program, location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform3ui64NV(GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform3ui64NV)(program, location, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform3ui64vNV(GLuint program, GLint location, GLsizei count, const GLuint64EXT *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform3ui64vNV)(program, location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform4i64NV(GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform4i64NV)(program, location, x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform4i64vNV(GLuint program, GLint location, GLsizei count, const GLint64EXT *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform4i64vNV)(program, location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform4ui64NV(GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform4ui64NV)(program, location, x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniform4ui64vNV(GLuint program, GLint location, GLsizei count, const GLuint64EXT *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniform4ui64vNV)(program, location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glUniform1i64NV(GLint location, GLint64EXT x) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform1i64NV)(location, x); |
| } |
| |
| static void REGAL_CALL debug_glUniform1i64vNV(GLint location, GLsizei count, const GLint64EXT *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform1i64vNV)(location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glUniform1ui64NV(GLint location, GLuint64EXT x) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform1ui64NV)(location, x); |
| } |
| |
| static void REGAL_CALL debug_glUniform1ui64vNV(GLint location, GLsizei count, const GLuint64EXT *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform1ui64vNV)(location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glUniform2i64NV(GLint location, GLint64EXT x, GLint64EXT y) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform2i64NV)(location, x, y); |
| } |
| |
| static void REGAL_CALL debug_glUniform2i64vNV(GLint location, GLsizei count, const GLint64EXT *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform2i64vNV)(location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glUniform2ui64NV(GLint location, GLuint64EXT x, GLuint64EXT y) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform2ui64NV)(location, x, y); |
| } |
| |
| static void REGAL_CALL debug_glUniform2ui64vNV(GLint location, GLsizei count, const GLuint64EXT *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform2ui64vNV)(location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glUniform3i64NV(GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform3i64NV)(location, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glUniform3i64vNV(GLint location, GLsizei count, const GLint64EXT *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform3i64vNV)(location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glUniform3ui64NV(GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform3ui64NV)(location, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glUniform3ui64vNV(GLint location, GLsizei count, const GLuint64EXT *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform3ui64vNV)(location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glUniform4i64NV(GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform4i64NV)(location, x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glUniform4i64vNV(GLint location, GLsizei count, const GLint64EXT *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform4i64vNV)(location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glUniform4ui64NV(GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform4ui64NV)(location, x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glUniform4ui64vNV(GLint location, GLsizei count, const GLuint64EXT *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniform4ui64vNV)(location, count, value); |
| } |
| |
| // GL_NV_half_float |
| |
| static void REGAL_CALL debug_glColor3hNV(GLhalfNV red, GLhalfNV green, GLhalfNV blue) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColor3hNV)(red, green, blue); |
| } |
| |
| static void REGAL_CALL debug_glColor3hvNV(const GLhalfNV *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColor3hvNV)(v); |
| } |
| |
| static void REGAL_CALL debug_glColor4hNV(GLhalfNV red, GLhalfNV green, GLhalfNV blue, GLhalfNV alpha) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColor4hNV)(red, green, blue, alpha); |
| } |
| |
| static void REGAL_CALL debug_glColor4hvNV(const GLhalfNV *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColor4hvNV)(v); |
| } |
| |
| static void REGAL_CALL debug_glFogCoordhNV(GLhalfNV coord) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFogCoordhNV)(coord); |
| } |
| |
| static void REGAL_CALL debug_glFogCoordhvNV(const GLhalfNV *coord) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFogCoordhvNV)(coord); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord1hNV(GLenum target, GLhalfNV s) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord1hNV)(target, s); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord1hvNV(GLenum target, const GLhalfNV *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord1hvNV)(target, v); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord2hNV(GLenum target, GLhalfNV s, GLhalfNV t) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord2hNV)(target, s, t); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord2hvNV(GLenum target, const GLhalfNV *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord2hvNV)(target, v); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord3hNV(GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord3hNV)(target, s, t, r); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord3hvNV(GLenum target, const GLhalfNV *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord3hvNV)(target, v); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord4hNV(GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord4hNV)(target, s, t, r, q); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord4hvNV(GLenum target, const GLhalfNV *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord4hvNV)(target, v); |
| } |
| |
| static void REGAL_CALL debug_glNormal3hNV(GLhalfNV nx, GLhalfNV ny, GLhalfNV nz) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNormal3hNV)(nx, ny, nz); |
| } |
| |
| static void REGAL_CALL debug_glNormal3hvNV(const GLhalfNV *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNormal3hvNV)(v); |
| } |
| |
| static void REGAL_CALL debug_glSecondaryColor3hNV(GLhalfNV red, GLhalfNV green, GLhalfNV blue) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSecondaryColor3hNV)(red, green, blue); |
| } |
| |
| static void REGAL_CALL debug_glSecondaryColor3hvNV(const GLhalfNV *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSecondaryColor3hvNV)(v); |
| } |
| |
| static void REGAL_CALL debug_glTexCoord1hNV(GLhalfNV s) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoord1hNV)(s); |
| } |
| |
| static void REGAL_CALL debug_glTexCoord1hvNV(const GLhalfNV *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoord1hvNV)(v); |
| } |
| |
| static void REGAL_CALL debug_glTexCoord2hNV(GLhalfNV s, GLhalfNV t) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoord2hNV)(s, t); |
| } |
| |
| static void REGAL_CALL debug_glTexCoord2hvNV(const GLhalfNV *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoord2hvNV)(v); |
| } |
| |
| static void REGAL_CALL debug_glTexCoord3hNV(GLhalfNV s, GLhalfNV t, GLhalfNV r) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoord3hNV)(s, t, r); |
| } |
| |
| static void REGAL_CALL debug_glTexCoord3hvNV(const GLhalfNV *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoord3hvNV)(v); |
| } |
| |
| static void REGAL_CALL debug_glTexCoord4hNV(GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoord4hNV)(s, t, r, q); |
| } |
| |
| static void REGAL_CALL debug_glTexCoord4hvNV(const GLhalfNV *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoord4hvNV)(v); |
| } |
| |
| static void REGAL_CALL debug_glVertex2hNV(GLhalfNV x, GLhalfNV y) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertex2hNV)(x, y); |
| } |
| |
| static void REGAL_CALL debug_glVertex2hvNV(const GLhalfNV *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertex2hvNV)(v); |
| } |
| |
| static void REGAL_CALL debug_glVertex3hNV(GLhalfNV x, GLhalfNV y, GLhalfNV z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertex3hNV)(x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glVertex3hvNV(const GLhalfNV *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertex3hvNV)(v); |
| } |
| |
| static void REGAL_CALL debug_glVertex4hNV(GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertex4hNV)(x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glVertex4hvNV(const GLhalfNV *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertex4hvNV)(v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib1hNV(GLuint index, GLhalfNV x) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib1hNV)(index, x); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib1hvNV(GLuint index, const GLhalfNV *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib1hvNV)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib2hNV(GLuint index, GLhalfNV x, GLhalfNV y) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib2hNV)(index, x, y); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib2hvNV(GLuint index, const GLhalfNV *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib2hvNV)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib3hNV(GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib3hNV)(index, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib3hvNV(GLuint index, const GLhalfNV *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib3hvNV)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib4hNV(GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib4hNV)(index, x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib4hvNV(GLuint index, const GLhalfNV *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib4hvNV)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribs1hvNV(GLuint index, GLsizei count, const GLhalfNV *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribs1hvNV)(index, count, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribs2hvNV(GLuint index, GLsizei count, const GLhalfNV *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribs2hvNV)(index, count, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribs3hvNV(GLuint index, GLsizei count, const GLhalfNV *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribs3hvNV)(index, count, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribs4hvNV(GLuint index, GLsizei count, const GLhalfNV *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribs4hvNV)(index, count, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexWeighthNV(GLhalfNV weight) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexWeighthNV)(weight); |
| } |
| |
| static void REGAL_CALL debug_glVertexWeighthvNV(const GLhalfNV *weight) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexWeighthvNV)(weight); |
| } |
| |
| // GL_NV_non_square_matrices |
| |
| static void REGAL_CALL debug_glUniformMatrix2x3fvNV(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniformMatrix2x3fvNV)(location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glUniformMatrix2x4fvNV(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniformMatrix2x4fvNV)(location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glUniformMatrix3x2fvNV(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniformMatrix3x2fvNV)(location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glUniformMatrix3x4fvNV(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniformMatrix3x4fvNV)(location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glUniformMatrix4x2fvNV(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniformMatrix4x2fvNV)(location, count, transpose, value); |
| } |
| |
| static void REGAL_CALL debug_glUniformMatrix4x3fvNV(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniformMatrix4x3fvNV)(location, count, transpose, value); |
| } |
| |
| // GL_NV_occlusion_query |
| |
| static void REGAL_CALL debug_glBeginOcclusionQueryNV(GLuint id) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBeginOcclusionQueryNV)(id); |
| } |
| |
| static void REGAL_CALL debug_glDeleteOcclusionQueriesNV(GLsizei n, const GLuint *ids) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDeleteOcclusionQueriesNV)(n, ids); |
| } |
| |
| static void REGAL_CALL debug_glEndOcclusionQueryNV(void) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glEndOcclusionQueryNV)(); |
| } |
| |
| static void REGAL_CALL debug_glGenOcclusionQueriesNV(GLsizei n, GLuint *ids) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGenOcclusionQueriesNV)(n, ids); |
| } |
| |
| static void REGAL_CALL debug_glGetOcclusionQueryivNV(GLuint id, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetOcclusionQueryivNV)(id, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetOcclusionQueryuivNV(GLuint id, GLenum pname, GLuint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetOcclusionQueryuivNV)(id, pname, params); |
| } |
| |
| static GLboolean REGAL_CALL debug_glIsOcclusionQueryNV(GLuint id) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glIsOcclusionQueryNV)(id); |
| return ret; |
| } |
| |
| // GL_NV_parameter_buffer_object |
| |
| static void REGAL_CALL debug_glProgramBufferParametersIivNV(GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramBufferParametersIivNV)(target, buffer, index, count, params); |
| } |
| |
| static void REGAL_CALL debug_glProgramBufferParametersIuivNV(GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLuint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramBufferParametersIuivNV)(target, buffer, index, count, params); |
| } |
| |
| static void REGAL_CALL debug_glProgramBufferParametersfvNV(GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramBufferParametersfvNV)(target, buffer, index, count, params); |
| } |
| |
| // GL_NV_path_rendering |
| |
| static void REGAL_CALL debug_glCopyPathNV(GLuint resultPath, GLuint srcPath) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCopyPathNV)(resultPath, srcPath); |
| } |
| |
| static void REGAL_CALL debug_glCoverFillPathInstancedNV(GLsizei numPaths, GLenum pathNameType, const GLvoid *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCoverFillPathInstancedNV)(numPaths, pathNameType, paths, pathBase, coverMode, transformType, transformValues); |
| } |
| |
| static void REGAL_CALL debug_glCoverFillPathNV(GLuint path, GLenum coverMode) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCoverFillPathNV)(path, coverMode); |
| } |
| |
| static void REGAL_CALL debug_glCoverStrokePathInstancedNV(GLsizei numPaths, GLenum pathNameType, const GLvoid *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCoverStrokePathInstancedNV)(numPaths, pathNameType, paths, pathBase, coverMode, transformType, transformValues); |
| } |
| |
| static void REGAL_CALL debug_glCoverStrokePathNV(GLuint name, GLenum coverMode) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCoverStrokePathNV)(name, coverMode); |
| } |
| |
| static void REGAL_CALL debug_glDeletePathsNV(GLuint path, GLsizei range) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDeletePathsNV)(path, range); |
| } |
| |
| static GLuint REGAL_CALL debug_glGenPathsNV(GLsizei range) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLuint ret = _next->call(&_next->glGenPathsNV)(range); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glGetPathColorGenfvNV(GLenum color, GLenum pname, GLfloat *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetPathColorGenfvNV)(color, pname, value); |
| } |
| |
| static void REGAL_CALL debug_glGetPathColorGenivNV(GLenum color, GLenum pname, GLint *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetPathColorGenivNV)(color, pname, value); |
| } |
| |
| static void REGAL_CALL debug_glGetPathCommandsNV(GLuint name, GLubyte *commands) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetPathCommandsNV)(name, commands); |
| } |
| |
| static void REGAL_CALL debug_glGetPathCoordsNV(GLuint name, GLfloat *coords) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetPathCoordsNV)(name, coords); |
| } |
| |
| static void REGAL_CALL debug_glGetPathDashArrayNV(GLuint name, GLfloat *dashArray) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetPathDashArrayNV)(name, dashArray); |
| } |
| |
| static GLfloat REGAL_CALL debug_glGetPathLengthNV(GLuint path, GLsizei startSegment, GLsizei numSegments) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLfloat ret = _next->call(&_next->glGetPathLengthNV)(path, startSegment, numSegments); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glGetPathMetricRangeNV(GLbitfield metricQueryMask, GLuint fistPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetPathMetricRangeNV)(metricQueryMask, fistPathName, numPaths, stride, metrics); |
| } |
| |
| static void REGAL_CALL debug_glGetPathMetricsNV(GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const GLvoid *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetPathMetricsNV)(metricQueryMask, numPaths, pathNameType, paths, pathBase, stride, metrics); |
| } |
| |
| static void REGAL_CALL debug_glGetPathParameterfvNV(GLuint name, GLenum param, GLfloat *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetPathParameterfvNV)(name, param, value); |
| } |
| |
| static void REGAL_CALL debug_glGetPathParameterivNV(GLuint name, GLenum param, GLint *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetPathParameterivNV)(name, param, value); |
| } |
| |
| static void REGAL_CALL debug_glGetPathSpacingNV(GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const GLvoid *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetPathSpacingNV)(pathListMode, numPaths, pathNameType, paths, pathBase, advanceScale, kerningScale, transformType, returnedSpacing); |
| } |
| |
| static void REGAL_CALL debug_glGetPathTexGenfvNV(GLenum texCoordSet, GLenum pname, GLfloat *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetPathTexGenfvNV)(texCoordSet, pname, value); |
| } |
| |
| static void REGAL_CALL debug_glGetPathTexGenivNV(GLenum texCoordSet, GLenum pname, GLint *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetPathTexGenivNV)(texCoordSet, pname, value); |
| } |
| |
| static void REGAL_CALL debug_glInterpolatePathsNV(GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glInterpolatePathsNV)(resultPath, pathA, pathB, weight); |
| } |
| |
| static GLboolean REGAL_CALL debug_glIsPathNV(GLuint path) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glIsPathNV)(path); |
| return ret; |
| } |
| |
| static GLboolean REGAL_CALL debug_glIsPointInFillPathNV(GLuint path, GLuint mask, GLfloat x, GLfloat y) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glIsPointInFillPathNV)(path, mask, x, y); |
| return ret; |
| } |
| |
| static GLboolean REGAL_CALL debug_glIsPointInStrokePathNV(GLuint path, GLfloat x, GLfloat y) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glIsPointInStrokePathNV)(path, x, y); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glPathColorGenNV(GLenum color, GLenum genMode, GLenum colorFormat, const GLfloat *coeffs) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPathColorGenNV)(color, genMode, colorFormat, coeffs); |
| } |
| |
| static void REGAL_CALL debug_glPathCommandsNV(GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const GLvoid *coords) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPathCommandsNV)(path, numCommands, commands, numCoords, coordType, coords); |
| } |
| |
| static void REGAL_CALL debug_glPathCoordsNV(GLuint path, GLsizei numCoords, GLenum coordType, const GLvoid *coords) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPathCoordsNV)(path, numCoords, coordType, coords); |
| } |
| |
| static void REGAL_CALL debug_glPathCoverDepthFuncNV(GLenum zfunc) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPathCoverDepthFuncNV)(zfunc); |
| } |
| |
| static void REGAL_CALL debug_glPathDashArrayNV(GLuint path, GLsizei dashCount, const GLfloat *dashArray) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPathDashArrayNV)(path, dashCount, dashArray); |
| } |
| |
| static void REGAL_CALL debug_glPathFogGenNV(GLenum genMode) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPathFogGenNV)(genMode); |
| } |
| |
| static void REGAL_CALL debug_glPathGlyphRangeNV(GLuint firstPathName, GLenum fontTarget, const GLvoid *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPathGlyphRangeNV)(firstPathName, fontTarget, fontName, fontStyle, firstGlyph, numGlyphs, handleMissingGlyphs, pathParameterTemplate, emScale); |
| } |
| |
| static void REGAL_CALL debug_glPathGlyphsNV(GLuint firstPathName, GLenum fontTarget, const GLvoid *fontName, GLbitfield fontStyle, GLsizei numGlyphs, GLenum type, const GLvoid *charcodes, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPathGlyphsNV)(firstPathName, fontTarget, fontName, fontStyle, numGlyphs, type, charcodes, handleMissingGlyphs, pathParameterTemplate, emScale); |
| } |
| |
| static void REGAL_CALL debug_glPathParameterfNV(GLuint path, GLenum pname, GLfloat value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPathParameterfNV)(path, pname, value); |
| } |
| |
| static void REGAL_CALL debug_glPathParameterfvNV(GLuint path, GLenum pname, const GLfloat *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPathParameterfvNV)(path, pname, value); |
| } |
| |
| static void REGAL_CALL debug_glPathParameteriNV(GLuint path, GLenum pname, GLint value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPathParameteriNV)(path, pname, value); |
| } |
| |
| static void REGAL_CALL debug_glPathParameterivNV(GLuint path, GLenum pname, const GLint *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPathParameterivNV)(path, pname, value); |
| } |
| |
| static void REGAL_CALL debug_glPathStencilDepthOffsetNV(GLfloat factor, GLfloat units) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPathStencilDepthOffsetNV)(factor, units); |
| } |
| |
| static void REGAL_CALL debug_glPathStencilFuncNV(GLenum func, GLint ref, GLuint mask) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPathStencilFuncNV)(func, ref, mask); |
| } |
| |
| static void REGAL_CALL debug_glPathStringNV(GLuint path, GLenum format, GLsizei length, const GLvoid *pathString) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPathStringNV)(path, format, length, pathString); |
| } |
| |
| static void REGAL_CALL debug_glPathSubCommandsNV(GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const GLvoid *coords) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPathSubCommandsNV)(path, commandStart, commandsToDelete, numCommands, commands, numCoords, coordType, coords); |
| } |
| |
| static void REGAL_CALL debug_glPathSubCoordsNV(GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const GLvoid *coords) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPathSubCoordsNV)(path, coordStart, numCoords, coordType, coords); |
| } |
| |
| static void REGAL_CALL debug_glPathTexGenNV(GLenum texCoordSet, GLenum genMode, GLint components, const GLfloat *coeffs) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPathTexGenNV)(texCoordSet, genMode, components, coeffs); |
| } |
| |
| static GLboolean REGAL_CALL debug_glPointAlongPathNV(GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glPointAlongPathNV)(path, startSegment, numSegments, distance, x, y, tangentX, tangentY); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glStencilFillPathInstancedNV(GLsizei numPaths, GLenum pathNameType, const GLvoid *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glStencilFillPathInstancedNV)(numPaths, pathNameType, paths, pathBase, fillMode, mask, transformType, transformValues); |
| } |
| |
| static void REGAL_CALL debug_glStencilFillPathNV(GLuint path, GLenum fillMode, GLuint mask) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glStencilFillPathNV)(path, fillMode, mask); |
| } |
| |
| static void REGAL_CALL debug_glStencilStrokePathInstancedNV(GLsizei numPaths, GLenum pathNameType, const GLvoid *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glStencilStrokePathInstancedNV)(numPaths, pathNameType, paths, pathBase, reference, mask, transformType, transformValues); |
| } |
| |
| static void REGAL_CALL debug_glStencilStrokePathNV(GLuint path, GLint reference, GLuint mask) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glStencilStrokePathNV)(path, reference, mask); |
| } |
| |
| static void REGAL_CALL debug_glTransformPathNV(GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTransformPathNV)(resultPath, srcPath, transformType, transformValues); |
| } |
| |
| static void REGAL_CALL debug_glWeightPathsNV(GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWeightPathsNV)(resultPath, numPaths, paths, weights); |
| } |
| |
| // GL_NV_pixel_data_range |
| |
| static void REGAL_CALL debug_glFlushPixelDataRangeNV(GLenum target) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFlushPixelDataRangeNV)(target); |
| } |
| |
| static void REGAL_CALL debug_glPixelDataRangeNV(GLenum target, GLsizei size, const GLvoid *pointer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPixelDataRangeNV)(target, size, pointer); |
| } |
| |
| // GL_NV_point_sprite |
| |
| static void REGAL_CALL debug_glPointParameteriNV(GLenum pname, GLint param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPointParameteriNV)(pname, param); |
| } |
| |
| static void REGAL_CALL debug_glPointParameterivNV(GLenum pname, const GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPointParameterivNV)(pname, params); |
| } |
| |
| // GL_NV_present_video |
| |
| static void REGAL_CALL debug_glGetVideoi64vNV(GLuint video_slot, GLenum pname, GLint64EXT *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetVideoi64vNV)(video_slot, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetVideoivNV(GLuint video_slot, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetVideoivNV)(video_slot, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetVideoui64vNV(GLuint video_slot, GLenum pname, GLuint64EXT *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetVideoui64vNV)(video_slot, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetVideouivNV(GLuint video_slot, GLenum pname, GLuint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetVideouivNV)(video_slot, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glPresentFrameDualFillNV(GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLenum target1, GLuint fill1, GLenum target2, GLuint fill2, GLenum target3, GLuint fill3) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPresentFrameDualFillNV)(video_slot, minPresentTime, beginPresentTimeId, presentDurationId, type, target0, fill0, target1, fill1, target2, fill2, target3, fill3); |
| } |
| |
| static void REGAL_CALL debug_glPresentFrameKeyedNV(GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLuint key0, GLenum target1, GLuint fill1, GLuint key1) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPresentFrameKeyedNV)(video_slot, minPresentTime, beginPresentTimeId, presentDurationId, type, target0, fill0, key0, target1, fill1, key1); |
| } |
| |
| // GL_NV_primitive_restart |
| |
| static void REGAL_CALL debug_glPrimitiveRestartIndexNV(GLuint index) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPrimitiveRestartIndexNV)(index); |
| } |
| |
| static void REGAL_CALL debug_glPrimitiveRestartNV(void) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPrimitiveRestartNV)(); |
| } |
| |
| // GL_NV_read_buffer |
| |
| static void REGAL_CALL debug_glReadBufferNV(GLenum mode) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glReadBufferNV)(mode); |
| } |
| |
| // GL_NV_register_combiners |
| |
| static void REGAL_CALL debug_glCombinerInputNV(GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCombinerInputNV)(stage, portion, variable, input, mapping, componentUsage); |
| } |
| |
| static void REGAL_CALL debug_glCombinerOutputNV(GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCombinerOutputNV)(stage, portion, abOutput, cdOutput, sumOutput, scale, bias, abDotProduct, cdDotProduct, muxSum); |
| } |
| |
| static void REGAL_CALL debug_glCombinerParameterfNV(GLenum pname, GLfloat param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCombinerParameterfNV)(pname, param); |
| } |
| |
| static void REGAL_CALL debug_glCombinerParameterfvNV(GLenum pname, const GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCombinerParameterfvNV)(pname, params); |
| } |
| |
| static void REGAL_CALL debug_glCombinerParameteriNV(GLenum pname, GLint param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCombinerParameteriNV)(pname, param); |
| } |
| |
| static void REGAL_CALL debug_glCombinerParameterivNV(GLenum pname, const GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCombinerParameterivNV)(pname, params); |
| } |
| |
| static void REGAL_CALL debug_glFinalCombinerInputNV(GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFinalCombinerInputNV)(variable, input, mapping, componentUsage); |
| } |
| |
| static void REGAL_CALL debug_glGetCombinerInputParameterfvNV(GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetCombinerInputParameterfvNV)(stage, portion, variable, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetCombinerInputParameterivNV(GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetCombinerInputParameterivNV)(stage, portion, variable, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetCombinerOutputParameterfvNV(GLenum stage, GLenum portion, GLenum pname, GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetCombinerOutputParameterfvNV)(stage, portion, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetCombinerOutputParameterivNV(GLenum stage, GLenum portion, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetCombinerOutputParameterivNV)(stage, portion, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetFinalCombinerInputParameterfvNV(GLenum variable, GLenum pname, GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetFinalCombinerInputParameterfvNV)(variable, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetFinalCombinerInputParameterivNV(GLenum variable, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetFinalCombinerInputParameterivNV)(variable, pname, params); |
| } |
| |
| // GL_NV_register_combiners2 |
| |
| static void REGAL_CALL debug_glCombinerStageParameterfvNV(GLenum stage, GLenum pname, const GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCombinerStageParameterfvNV)(stage, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetCombinerStageParameterfvNV(GLenum stage, GLenum pname, GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetCombinerStageParameterfvNV)(stage, pname, params); |
| } |
| |
| // GL_NV_shader_buffer_load |
| |
| static void REGAL_CALL debug_glGetBufferParameterui64vNV(GLenum target, GLenum pname, GLuint64EXT *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetBufferParameterui64vNV)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetIntegerui64vNV(GLenum target, GLuint64EXT *data) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetIntegerui64vNV)(target, data); |
| } |
| |
| static void REGAL_CALL debug_glGetNamedBufferParameterui64vNV(GLuint buffer, GLenum pname, GLuint64EXT *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetNamedBufferParameterui64vNV)(buffer, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetUniformui64vNV(GLuint program, GLint location, GLuint64EXT *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetUniformui64vNV)(program, location, params); |
| } |
| |
| static GLboolean REGAL_CALL debug_glIsBufferResidentNV(GLenum target) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glIsBufferResidentNV)(target); |
| return ret; |
| } |
| |
| static GLboolean REGAL_CALL debug_glIsNamedBufferResidentNV(GLuint buffer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glIsNamedBufferResidentNV)(buffer); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glMakeBufferNonResidentNV(GLenum target) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMakeBufferNonResidentNV)(target); |
| } |
| |
| static void REGAL_CALL debug_glMakeBufferResidentNV(GLenum target, GLenum access) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMakeBufferResidentNV)(target, access); |
| } |
| |
| static void REGAL_CALL debug_glMakeNamedBufferNonResidentNV(GLuint buffer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMakeNamedBufferNonResidentNV)(buffer); |
| } |
| |
| static void REGAL_CALL debug_glMakeNamedBufferResidentNV(GLuint buffer, GLenum access) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMakeNamedBufferResidentNV)(buffer, access); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniformui64NV(GLuint program, GLint location, GLuint64EXT v0) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniformui64NV)(program, location, v0); |
| } |
| |
| static void REGAL_CALL debug_glProgramUniformui64vNV(GLuint program, GLint location, GLsizei count, const GLuint64EXT *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramUniformui64vNV)(program, location, count, value); |
| } |
| |
| static void REGAL_CALL debug_glUniformui64NV(GLint location, GLuint64EXT v0) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniformui64NV)(location, v0); |
| } |
| |
| static void REGAL_CALL debug_glUniformui64vNV(GLint location, GLsizei count, const GLuint64EXT *value) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glUniformui64vNV)(location, count, value); |
| } |
| |
| // GL_NV_texture_barrier |
| |
| static void REGAL_CALL debug_glTextureBarrierNV(void) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTextureBarrierNV)(); |
| } |
| |
| // GL_NV_texture_multisample |
| |
| static void REGAL_CALL debug_glTexImage2DMultisampleCoverageNV(GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexImage2DMultisampleCoverageNV)(target, coverageSamples, colorSamples, internalFormat, width, height, fixedSampleLocations); |
| } |
| |
| static void REGAL_CALL debug_glTexImage3DMultisampleCoverageNV(GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexImage3DMultisampleCoverageNV)(target, coverageSamples, colorSamples, internalFormat, width, height, depth, fixedSampleLocations); |
| } |
| |
| static void REGAL_CALL debug_glTextureImage2DMultisampleCoverageNV(GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTextureImage2DMultisampleCoverageNV)(texture, target, coverageSamples, colorSamples, internalFormat, width, height, fixedSampleLocations); |
| } |
| |
| static void REGAL_CALL debug_glTextureImage2DMultisampleNV(GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTextureImage2DMultisampleNV)(texture, target, samples, internalFormat, width, height, fixedSampleLocations); |
| } |
| |
| static void REGAL_CALL debug_glTextureImage3DMultisampleCoverageNV(GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTextureImage3DMultisampleCoverageNV)(texture, target, coverageSamples, colorSamples, internalFormat, width, height, depth, fixedSampleLocations); |
| } |
| |
| static void REGAL_CALL debug_glTextureImage3DMultisampleNV(GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTextureImage3DMultisampleNV)(texture, target, samples, internalFormat, width, height, depth, fixedSampleLocations); |
| } |
| |
| // GL_NV_transform_feedback |
| |
| static void REGAL_CALL debug_glActiveVaryingNV(GLuint program, const GLchar *name) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glActiveVaryingNV)(program, name); |
| } |
| |
| static void REGAL_CALL debug_glBeginTransformFeedbackNV(GLenum primitiveMode) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBeginTransformFeedbackNV)(primitiveMode); |
| } |
| |
| static void REGAL_CALL debug_glBindBufferBaseNV(GLenum target, GLuint index, GLuint buffer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBindBufferBaseNV)(target, index, buffer); |
| } |
| |
| static void REGAL_CALL debug_glBindBufferOffsetNV(GLenum target, GLuint index, GLuint buffer, GLintptr offset) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBindBufferOffsetNV)(target, index, buffer, offset); |
| } |
| |
| static void REGAL_CALL debug_glBindBufferRangeNV(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBindBufferRangeNV)(target, index, buffer, offset, size); |
| } |
| |
| static void REGAL_CALL debug_glEndTransformFeedbackNV(void) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glEndTransformFeedbackNV)(); |
| } |
| |
| static void REGAL_CALL debug_glGetActiveVaryingNV(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetActiveVaryingNV)(program, index, bufSize, length, size, type, name); |
| } |
| |
| static void REGAL_CALL debug_glGetTransformFeedbackVaryingNV(GLuint program, GLuint index, GLint *location) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetTransformFeedbackVaryingNV)(program, index, location); |
| } |
| |
| static GLint REGAL_CALL debug_glGetVaryingLocationNV(GLuint program, const GLchar *name) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLint ret = _next->call(&_next->glGetVaryingLocationNV)(program, name); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glTransformFeedbackAttribsNV(GLuint count, const GLint *attribs, GLenum bufferMode) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTransformFeedbackAttribsNV)(count, attribs, bufferMode); |
| } |
| |
| static void REGAL_CALL debug_glTransformFeedbackVaryingsNV(GLuint program, GLsizei count, const GLint *locations, GLenum bufferMode) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTransformFeedbackVaryingsNV)(program, count, locations, bufferMode); |
| } |
| |
| // GL_NV_transform_feedback2 |
| |
| static void REGAL_CALL debug_glBindTransformFeedbackNV(GLenum target, GLuint id) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBindTransformFeedbackNV)(target, id); |
| } |
| |
| static void REGAL_CALL debug_glDeleteTransformFeedbacksNV(GLsizei n, const GLuint *ids) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDeleteTransformFeedbacksNV)(n, ids); |
| } |
| |
| static void REGAL_CALL debug_glDrawTransformFeedbackNV(GLenum mode, GLuint name) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDrawTransformFeedbackNV)(mode, name); |
| } |
| |
| static void REGAL_CALL debug_glGenTransformFeedbacksNV(GLsizei n, GLuint *ids) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGenTransformFeedbacksNV)(n, ids); |
| } |
| |
| static GLboolean REGAL_CALL debug_glIsTransformFeedbackNV(GLuint id) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glIsTransformFeedbackNV)(id); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glPauseTransformFeedbackNV(void) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPauseTransformFeedbackNV)(); |
| } |
| |
| static void REGAL_CALL debug_glResumeTransformFeedbackNV(void) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glResumeTransformFeedbackNV)(); |
| } |
| |
| // GL_NV_vdpau_interop |
| |
| static void REGAL_CALL debug_glVDPAUFiniNV(void) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVDPAUFiniNV)(); |
| } |
| |
| static void REGAL_CALL debug_glVDPAUGetSurfaceivNV(GLvdpauSurfaceNV surface, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVDPAUGetSurfaceivNV)(surface, pname, bufSize, length, values); |
| } |
| |
| static void REGAL_CALL debug_glVDPAUInitNV(const GLvoid *vdpDevice, const GLvoid *getProcAddress) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVDPAUInitNV)(vdpDevice, getProcAddress); |
| } |
| |
| static GLboolean REGAL_CALL debug_glVDPAUIsSurfaceNV(GLvdpauSurfaceNV surface) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glVDPAUIsSurfaceNV)(surface); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glVDPAUMapSurfacesNV(GLsizei numSurfaces, const GLvdpauSurfaceNV *surfaces) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVDPAUMapSurfacesNV)(numSurfaces, surfaces); |
| } |
| |
| static GLvdpauSurfaceNV REGAL_CALL debug_glVDPAURegisterOutputSurfaceNV(const GLvoid *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLvdpauSurfaceNV ret = _next->call(&_next->glVDPAURegisterOutputSurfaceNV)(vdpSurface, target, numTextureNames, textureNames); |
| return ret; |
| } |
| |
| static GLvdpauSurfaceNV REGAL_CALL debug_glVDPAURegisterVideoSurfaceNV(const GLvoid *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLvdpauSurfaceNV ret = _next->call(&_next->glVDPAURegisterVideoSurfaceNV)(vdpSurface, target, numTextureNames, textureNames); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glVDPAUSurfaceAccessNV(GLvdpauSurfaceNV surface, GLenum access) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVDPAUSurfaceAccessNV)(surface, access); |
| } |
| |
| static void REGAL_CALL debug_glVDPAUUnmapSurfacesNV(GLsizei numSurfaces, const GLvdpauSurfaceNV *surfaces) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVDPAUUnmapSurfacesNV)(numSurfaces, surfaces); |
| } |
| |
| static void REGAL_CALL debug_glVDPAUUnregisterSurfaceNV(GLvdpauSurfaceNV surface) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVDPAUUnregisterSurfaceNV)(surface); |
| } |
| |
| // GL_NV_vertex_array_range |
| |
| static void REGAL_CALL debug_glFlushVertexArrayRangeNV(void) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFlushVertexArrayRangeNV)(); |
| } |
| |
| static void REGAL_CALL debug_glVertexArrayRangeNV(GLsizei size, const GLvoid *pointer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexArrayRangeNV)(size, pointer); |
| } |
| |
| // GL_NV_vertex_attrib_integer_64bit |
| |
| static void REGAL_CALL debug_glGetVertexAttribLi64vNV(GLuint index, GLenum pname, GLint64EXT *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetVertexAttribLi64vNV)(index, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetVertexAttribLui64vNV(GLuint index, GLenum pname, GLuint64EXT *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetVertexAttribLui64vNV)(index, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribL1i64NV(GLuint index, GLint64EXT x) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribL1i64NV)(index, x); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribL1i64vNV(GLuint index, const GLint64EXT *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribL1i64vNV)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribL1ui64NV(GLuint index, GLuint64EXT x) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribL1ui64NV)(index, x); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribL1ui64vNV(GLuint index, const GLuint64EXT *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribL1ui64vNV)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribL2i64NV(GLuint index, GLint64EXT x, GLint64EXT y) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribL2i64NV)(index, x, y); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribL2i64vNV(GLuint index, const GLint64EXT *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribL2i64vNV)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribL2ui64NV(GLuint index, GLuint64EXT x, GLuint64EXT y) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribL2ui64NV)(index, x, y); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribL2ui64vNV(GLuint index, const GLuint64EXT *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribL2ui64vNV)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribL3i64NV(GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribL3i64NV)(index, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribL3i64vNV(GLuint index, const GLint64EXT *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribL3i64vNV)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribL3ui64NV(GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribL3ui64NV)(index, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribL3ui64vNV(GLuint index, const GLuint64EXT *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribL3ui64vNV)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribL4i64NV(GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribL4i64NV)(index, x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribL4i64vNV(GLuint index, const GLint64EXT *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribL4i64vNV)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribL4ui64NV(GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribL4ui64NV)(index, x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribL4ui64vNV(GLuint index, const GLuint64EXT *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribL4ui64vNV)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribLFormatNV(GLuint index, GLint size, GLenum type, GLsizei stride) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribLFormatNV)(index, size, type, stride); |
| } |
| |
| // GL_NV_vertex_buffer_unified_memory |
| |
| static void REGAL_CALL debug_glBufferAddressRangeNV(GLenum pname, GLuint index, GLuint64EXT address, GLsizeiptr length) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBufferAddressRangeNV)(pname, index, address, length); |
| } |
| |
| static void REGAL_CALL debug_glColorFormatNV(GLint size, GLenum type, GLsizei stride) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColorFormatNV)(size, type, stride); |
| } |
| |
| static void REGAL_CALL debug_glEdgeFlagFormatNV(GLsizei stride) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glEdgeFlagFormatNV)(stride); |
| } |
| |
| static void REGAL_CALL debug_glFogCoordFormatNV(GLenum type, GLsizei stride) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFogCoordFormatNV)(type, stride); |
| } |
| |
| static void REGAL_CALL debug_glGetIntegerui64i_vNV(GLenum target, GLuint index, GLuint64EXT *data) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetIntegerui64i_vNV)(target, index, data); |
| } |
| |
| static void REGAL_CALL debug_glIndexFormatNV(GLenum type, GLsizei stride) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glIndexFormatNV)(type, stride); |
| } |
| |
| static void REGAL_CALL debug_glNormalFormatNV(GLenum type, GLsizei stride) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNormalFormatNV)(type, stride); |
| } |
| |
| static void REGAL_CALL debug_glSecondaryColorFormatNV(GLint size, GLenum type, GLsizei stride) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSecondaryColorFormatNV)(size, type, stride); |
| } |
| |
| static void REGAL_CALL debug_glTexCoordFormatNV(GLint size, GLenum type, GLsizei stride) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoordFormatNV)(size, type, stride); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribFormatNV(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribFormatNV)(index, size, type, normalized, stride); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribIFormatNV(GLuint index, GLint size, GLenum type, GLsizei stride) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribIFormatNV)(index, size, type, stride); |
| } |
| |
| static void REGAL_CALL debug_glVertexFormatNV(GLint size, GLenum type, GLsizei stride) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexFormatNV)(size, type, stride); |
| } |
| |
| // GL_NV_vertex_program |
| |
| static GLboolean REGAL_CALL debug_glAreProgramsResidentNV(GLsizei n, const GLuint *programs, GLboolean *residences) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glAreProgramsResidentNV)(n, programs, residences); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glBindProgramNV(GLenum target, GLuint id) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBindProgramNV)(target, id); |
| } |
| |
| static void REGAL_CALL debug_glDeleteProgramsNV(GLsizei n, const GLuint *programs) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDeleteProgramsNV)(n, programs); |
| } |
| |
| static void REGAL_CALL debug_glExecuteProgramNV(GLenum target, GLuint id, const GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glExecuteProgramNV)(target, id, params); |
| } |
| |
| static void REGAL_CALL debug_glGenProgramsNV(GLsizei n, GLuint *programs) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGenProgramsNV)(n, programs); |
| } |
| |
| static void REGAL_CALL debug_glGetProgramParameterdvNV(GLenum target, GLuint index, GLenum pname, GLdouble *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetProgramParameterdvNV)(target, index, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetProgramParameterfvNV(GLenum target, GLuint index, GLenum pname, GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetProgramParameterfvNV)(target, index, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetProgramStringNV(GLuint id, GLenum pname, GLubyte *program) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetProgramStringNV)(id, pname, program); |
| } |
| |
| static void REGAL_CALL debug_glGetProgramivNV(GLuint id, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetProgramivNV)(id, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetTrackMatrixivNV(GLenum target, GLuint address, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetTrackMatrixivNV)(target, address, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetVertexAttribPointervNV(GLuint index, GLenum pname, GLvoid **pointer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetVertexAttribPointervNV)(index, pname, pointer); |
| } |
| |
| static void REGAL_CALL debug_glGetVertexAttribdvNV(GLuint index, GLenum pname, GLdouble *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetVertexAttribdvNV)(index, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetVertexAttribfvNV(GLuint index, GLenum pname, GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetVertexAttribfvNV)(index, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetVertexAttribivNV(GLuint index, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetVertexAttribivNV)(index, pname, params); |
| } |
| |
| static GLboolean REGAL_CALL debug_glIsProgramNV(GLuint id) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glIsProgramNV)(id); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glLoadProgramNV(GLenum target, GLuint id, GLsizei len, const GLubyte *program) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glLoadProgramNV)(target, id, len, program); |
| } |
| |
| static void REGAL_CALL debug_glProgramParameter4dNV(GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramParameter4dNV)(target, index, x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glProgramParameter4dvNV(GLenum target, GLuint index, const GLdouble *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramParameter4dvNV)(target, index, v); |
| } |
| |
| static void REGAL_CALL debug_glProgramParameter4fNV(GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramParameter4fNV)(target, index, x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glProgramParameter4fvNV(GLenum target, GLuint index, const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramParameter4fvNV)(target, index, v); |
| } |
| |
| static void REGAL_CALL debug_glProgramParameters4dvNV(GLenum target, GLuint index, GLsizei count, const GLdouble *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramParameters4dvNV)(target, index, count, v); |
| } |
| |
| static void REGAL_CALL debug_glProgramParameters4fvNV(GLenum target, GLuint index, GLsizei count, const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramParameters4fvNV)(target, index, count, v); |
| } |
| |
| static void REGAL_CALL debug_glRequestResidentProgramsNV(GLsizei n, const GLuint *programs) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glRequestResidentProgramsNV)(n, programs); |
| } |
| |
| static void REGAL_CALL debug_glTrackMatrixNV(GLenum target, GLuint address, GLenum matrix, GLenum transform) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTrackMatrixNV)(target, address, matrix, transform); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib1dNV(GLuint index, GLdouble x) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib1dNV)(index, x); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib1dvNV(GLuint index, const GLdouble *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib1dvNV)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib1fNV(GLuint index, GLfloat x) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib1fNV)(index, x); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib1fvNV(GLuint index, const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib1fvNV)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib1sNV(GLuint index, GLshort x) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib1sNV)(index, x); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib1svNV(GLuint index, const GLshort *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib1svNV)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib2dNV(GLuint index, GLdouble x, GLdouble y) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib2dNV)(index, x, y); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib2dvNV(GLuint index, const GLdouble *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib2dvNV)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib2fNV(GLuint index, GLfloat x, GLfloat y) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib2fNV)(index, x, y); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib2fvNV(GLuint index, const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib2fvNV)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib2sNV(GLuint index, GLshort x, GLshort y) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib2sNV)(index, x, y); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib2svNV(GLuint index, const GLshort *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib2svNV)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib3dNV(GLuint index, GLdouble x, GLdouble y, GLdouble z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib3dNV)(index, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib3dvNV(GLuint index, const GLdouble *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib3dvNV)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib3fNV(GLuint index, GLfloat x, GLfloat y, GLfloat z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib3fNV)(index, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib3fvNV(GLuint index, const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib3fvNV)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib3sNV(GLuint index, GLshort x, GLshort y, GLshort z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib3sNV)(index, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib3svNV(GLuint index, const GLshort *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib3svNV)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib4dNV(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib4dNV)(index, x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib4dvNV(GLuint index, const GLdouble *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib4dvNV)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib4fNV(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib4fNV)(index, x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib4fvNV(GLuint index, const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib4fvNV)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib4sNV(GLuint index, GLshort x, GLshort y, GLshort z, GLshort w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib4sNV)(index, x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib4svNV(GLuint index, const GLshort *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib4svNV)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib4ubNV(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib4ubNV)(index, x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttrib4ubvNV(GLuint index, const GLubyte *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttrib4ubvNV)(index, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribPointerNV(GLuint index, GLint fsize, GLenum type, GLsizei stride, const GLvoid *pointer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribPointerNV)(index, fsize, type, stride, pointer); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribs1dvNV(GLuint index, GLsizei n, const GLdouble *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribs1dvNV)(index, n, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribs1fvNV(GLuint index, GLsizei n, const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribs1fvNV)(index, n, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribs1svNV(GLuint index, GLsizei n, const GLshort *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribs1svNV)(index, n, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribs2dvNV(GLuint index, GLsizei n, const GLdouble *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribs2dvNV)(index, n, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribs2fvNV(GLuint index, GLsizei n, const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribs2fvNV)(index, n, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribs2svNV(GLuint index, GLsizei n, const GLshort *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribs2svNV)(index, n, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribs3dvNV(GLuint index, GLsizei n, const GLdouble *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribs3dvNV)(index, n, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribs3fvNV(GLuint index, GLsizei n, const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribs3fvNV)(index, n, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribs3svNV(GLuint index, GLsizei n, const GLshort *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribs3svNV)(index, n, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribs4dvNV(GLuint index, GLsizei n, const GLdouble *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribs4dvNV)(index, n, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribs4fvNV(GLuint index, GLsizei n, const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribs4fvNV)(index, n, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribs4svNV(GLuint index, GLsizei n, const GLshort *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribs4svNV)(index, n, v); |
| } |
| |
| static void REGAL_CALL debug_glVertexAttribs4ubvNV(GLuint index, GLsizei n, const GLubyte *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVertexAttribs4ubvNV)(index, n, v); |
| } |
| |
| // GL_NV_video_capture |
| |
| static void REGAL_CALL debug_glBeginVideoCaptureNV(GLuint video_capture_slot) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBeginVideoCaptureNV)(video_capture_slot); |
| } |
| |
| static void REGAL_CALL debug_glBindVideoCaptureStreamBufferNV(GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLintptr offset) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBindVideoCaptureStreamBufferNV)(video_capture_slot, stream, frame_region, offset); |
| } |
| |
| static void REGAL_CALL debug_glBindVideoCaptureStreamTextureNV(GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLenum target, GLuint texture) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBindVideoCaptureStreamTextureNV)(video_capture_slot, stream, frame_region, target, texture); |
| } |
| |
| static void REGAL_CALL debug_glEndVideoCaptureNV(GLuint video_capture_slot) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glEndVideoCaptureNV)(video_capture_slot); |
| } |
| |
| static void REGAL_CALL debug_glGetVideoCaptureStreamdvNV(GLuint video_capture_slot, GLuint stream, GLenum pname, GLdouble *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetVideoCaptureStreamdvNV)(video_capture_slot, stream, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetVideoCaptureStreamfvNV(GLuint video_capture_slot, GLuint stream, GLenum pname, GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetVideoCaptureStreamfvNV)(video_capture_slot, stream, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetVideoCaptureStreamivNV(GLuint video_capture_slot, GLuint stream, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetVideoCaptureStreamivNV)(video_capture_slot, stream, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetVideoCaptureivNV(GLuint video_capture_slot, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetVideoCaptureivNV)(video_capture_slot, pname, params); |
| } |
| |
| static GLenum REGAL_CALL debug_glVideoCaptureNV(GLuint video_capture_slot, GLuint *sequence_num, GLuint64EXT *capture_time) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLenum ret = _next->call(&_next->glVideoCaptureNV)(video_capture_slot, sequence_num, capture_time); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glVideoCaptureStreamParameterdvNV(GLuint video_capture_slot, GLuint stream, GLenum pname, const GLdouble *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVideoCaptureStreamParameterdvNV)(video_capture_slot, stream, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glVideoCaptureStreamParameterfvNV(GLuint video_capture_slot, GLuint stream, GLenum pname, const GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVideoCaptureStreamParameterfvNV)(video_capture_slot, stream, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glVideoCaptureStreamParameterivNV(GLuint video_capture_slot, GLuint stream, GLenum pname, const GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glVideoCaptureStreamParameterivNV)(video_capture_slot, stream, pname, params); |
| } |
| |
| // GL_OES_blend_equation_separate |
| |
| static void REGAL_CALL debug_glBlendEquationSeparateOES(GLenum modeRGB, GLenum modeAlpha) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBlendEquationSeparateOES)(modeRGB, modeAlpha); |
| } |
| |
| // GL_OES_blend_func_separate |
| |
| static void REGAL_CALL debug_glBlendFuncSeparateOES(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBlendFuncSeparateOES)(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha); |
| } |
| |
| // GL_OES_blend_subtract |
| |
| static void REGAL_CALL debug_glBlendEquationOES(GLenum mode) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBlendEquationOES)(mode); |
| } |
| |
| // GL_OES_framebuffer_object |
| |
| static void REGAL_CALL debug_glBindFramebufferOES(GLenum target, GLuint framebuffer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBindFramebufferOES)(target, framebuffer); |
| } |
| |
| static void REGAL_CALL debug_glBindRenderbufferOES(GLenum target, GLuint renderbuffer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBindRenderbufferOES)(target, renderbuffer); |
| } |
| |
| static GLenum REGAL_CALL debug_glCheckFramebufferStatusOES(GLenum target) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLenum ret = _next->call(&_next->glCheckFramebufferStatusOES)(target); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glDeleteFramebuffersOES(GLsizei n, const GLuint *framebuffers) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDeleteFramebuffersOES)(n, framebuffers); |
| } |
| |
| static void REGAL_CALL debug_glDeleteRenderbuffersOES(GLsizei n, const GLuint *renderbuffers) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDeleteRenderbuffersOES)(n, renderbuffers); |
| } |
| |
| static void REGAL_CALL debug_glFramebufferRenderbufferOES(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFramebufferRenderbufferOES)(target, attachment, renderbuffertarget, renderbuffer); |
| } |
| |
| static void REGAL_CALL debug_glFramebufferTexture2DOES(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFramebufferTexture2DOES)(target, attachment, textarget, texture, level); |
| } |
| |
| static void REGAL_CALL debug_glGenFramebuffersOES(GLsizei n, GLuint *framebuffers) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGenFramebuffersOES)(n, framebuffers); |
| } |
| |
| static void REGAL_CALL debug_glGenRenderbuffersOES(GLsizei n, GLuint *renderbuffers) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGenRenderbuffersOES)(n, renderbuffers); |
| } |
| |
| static void REGAL_CALL debug_glGenerateMipmapOES(GLenum target) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGenerateMipmapOES)(target); |
| } |
| |
| static void REGAL_CALL debug_glGetFramebufferAttachmentParameterivOES(GLenum target, GLenum attachment, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetFramebufferAttachmentParameterivOES)(target, attachment, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetRenderbufferParameterivOES(GLenum target, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetRenderbufferParameterivOES)(target, pname, params); |
| } |
| |
| static GLboolean REGAL_CALL debug_glIsFramebufferOES(GLuint framebuffer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glIsFramebufferOES)(framebuffer); |
| return ret; |
| } |
| |
| static GLboolean REGAL_CALL debug_glIsRenderbufferOES(GLuint renderbuffer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glIsRenderbufferOES)(renderbuffer); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glRenderbufferStorageOES(GLenum target, GLenum internalformat, GLsizei width, GLsizei height) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glRenderbufferStorageOES)(target, internalformat, width, height); |
| } |
| |
| // GL_OES_get_program_binary |
| |
| static void REGAL_CALL debug_glGetProgramBinaryOES(GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetProgramBinaryOES)(program, bufSize, length, binaryFormat, binary); |
| } |
| |
| static void REGAL_CALL debug_glProgramBinaryOES(GLuint program, GLenum binaryFormat, const GLvoid *binary, GLint length) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glProgramBinaryOES)(program, binaryFormat, binary, length); |
| } |
| |
| // GL_OES_mapbuffer |
| |
| static void REGAL_CALL debug_glGetBufferPointervOES(GLenum target, GLenum pname, GLvoid **params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetBufferPointervOES)(target, pname, params); |
| } |
| |
| static GLvoid *REGAL_CALL debug_glMapBufferOES(GLenum target, GLenum access) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLvoid * ret = _next->call(&_next->glMapBufferOES)(target, access); |
| return ret; |
| } |
| |
| static GLboolean REGAL_CALL debug_glUnmapBufferOES(GLenum target) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glUnmapBufferOES)(target); |
| return ret; |
| } |
| |
| // GL_OES_matrix_palette |
| |
| static void REGAL_CALL debug_glCurrentPaletteMatrixOES(GLuint index) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCurrentPaletteMatrixOES)(index); |
| } |
| |
| static void REGAL_CALL debug_glMatrixIndexPointerOES(GLint size, GLenum type, GLsizei stride, GLvoid *pointer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMatrixIndexPointerOES)(size, type, stride, pointer); |
| } |
| |
| static void REGAL_CALL debug_glWeightPointerOES(GLint size, GLenum type, GLsizei stride, GLvoid *pointer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glWeightPointerOES)(size, type, stride, pointer); |
| } |
| |
| // GL_OES_single_precision |
| |
| static void REGAL_CALL debug_glClearDepthfOES(GLclampd depth) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glClearDepthfOES)(depth); |
| } |
| |
| static void REGAL_CALL debug_glClipPlanefOES(GLenum plane, const GLfloat *equation) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glClipPlanefOES)(plane, equation); |
| } |
| |
| static void REGAL_CALL debug_glDepthRangefOES(GLclampf n, GLclampf f) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDepthRangefOES)(n, f); |
| } |
| |
| static void REGAL_CALL debug_glFrustumfOES(GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFrustumfOES)(l, r, b, t, n, f); |
| } |
| |
| static void REGAL_CALL debug_glGetClipPlanefOES(GLenum plane, GLfloat *equation) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetClipPlanefOES)(plane, equation); |
| } |
| |
| static void REGAL_CALL debug_glOrthofOES(GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glOrthofOES)(l, r, b, t, n, f); |
| } |
| |
| // GL_OES_texture_3D |
| |
| static void REGAL_CALL debug_glCompressedTexImage3DOES(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCompressedTexImage3DOES)(target, level, internalformat, width, height, depth, border, imageSize, data); |
| } |
| |
| static void REGAL_CALL debug_glCompressedTexSubImage3DOES(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCompressedTexSubImage3DOES)(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data); |
| } |
| |
| static void REGAL_CALL debug_glCopyTexSubImage3DOES(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCopyTexSubImage3DOES)(target, level, xoffset, yoffset, zoffset, x, y, width, height); |
| } |
| |
| static void REGAL_CALL debug_glFramebufferTexture3DOES(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFramebufferTexture3DOES)(target, attachment, textarget, texture, level, zoffset); |
| } |
| |
| static void REGAL_CALL debug_glTexImage3DOES(GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexImage3DOES)(target, level, internalFormat, width, height, depth, border, format, type, pixels); |
| } |
| |
| static void REGAL_CALL debug_glTexSubImage3DOES(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexSubImage3DOES)(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); |
| } |
| |
| // GL_OES_texture_cube_map |
| |
| static void REGAL_CALL debug_glGetTexGenfvOES(GLenum coord, GLenum pname, GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetTexGenfvOES)(coord, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetTexGenivOES(GLenum coord, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetTexGenivOES)(coord, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetTexGenxvOES(GLenum coord, GLenum pname, GLfixed *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetTexGenxvOES)(coord, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glTexGenfOES(GLenum coord, GLenum pname, GLfloat param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexGenfOES)(coord, pname, param); |
| } |
| |
| static void REGAL_CALL debug_glTexGenfvOES(GLenum coord, GLenum pname, const GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexGenfvOES)(coord, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glTexGeniOES(GLenum coord, GLenum pname, GLint param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexGeniOES)(coord, pname, param); |
| } |
| |
| static void REGAL_CALL debug_glTexGenivOES(GLenum coord, GLenum pname, const GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexGenivOES)(coord, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glTexGenxOES(GLenum coord, GLenum pname, GLfixed param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexGenxOES)(coord, pname, param); |
| } |
| |
| static void REGAL_CALL debug_glTexGenxvOES(GLenum coord, GLenum pname, const GLfixed *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexGenxvOES)(coord, pname, params); |
| } |
| |
| // GL_OES_vertex_array_object |
| |
| static void REGAL_CALL debug_glBindVertexArrayOES(GLuint array) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glBindVertexArrayOES)(array); |
| } |
| |
| static void REGAL_CALL debug_glDeleteVertexArraysOES(GLsizei n, const GLuint *arrays) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDeleteVertexArraysOES)(n, arrays); |
| } |
| |
| static void REGAL_CALL debug_glGenVertexArraysOES(GLsizei n, GLuint *arrays) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGenVertexArraysOES)(n, arrays); |
| } |
| |
| static GLboolean REGAL_CALL debug_glIsVertexArrayOES(GLuint array) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glIsVertexArrayOES)(array); |
| return ret; |
| } |
| |
| // GL_PGI_misc_hints |
| |
| static void REGAL_CALL debug_glHintPGI(GLenum target, GLint mode) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glHintPGI)(target, mode); |
| } |
| |
| // GL_QCOM_alpha_test |
| |
| static void REGAL_CALL debug_glAlphaFuncQCOM(GLenum func, GLclampf ref) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glAlphaFuncQCOM)(func, ref); |
| } |
| |
| // GL_QCOM_driver_control |
| |
| static void REGAL_CALL debug_glDisableDriverControlQCOM(GLuint driverControl) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDisableDriverControlQCOM)(driverControl); |
| } |
| |
| static void REGAL_CALL debug_glEnableDriverControlQCOM(GLuint driverControl) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glEnableDriverControlQCOM)(driverControl); |
| } |
| |
| static void REGAL_CALL debug_glGetDriverControlStringQCOM(GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetDriverControlStringQCOM)(driverControl, bufSize, length, driverControlString); |
| } |
| |
| static void REGAL_CALL debug_glGetDriverControlsQCOM(GLint *num, GLsizei size, GLuint *driverControls) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetDriverControlsQCOM)(num, size, driverControls); |
| } |
| |
| // GL_QCOM_extended_get |
| |
| static void REGAL_CALL debug_glExtGetBufferPointervQCOM(GLenum target, GLvoid **params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glExtGetBufferPointervQCOM)(target, params); |
| } |
| |
| static void REGAL_CALL debug_glExtGetBuffersQCOM(GLuint *buffers, GLint maxBuffers, GLint *numBuffers) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glExtGetBuffersQCOM)(buffers, maxBuffers, numBuffers); |
| } |
| |
| static void REGAL_CALL debug_glExtGetFramebuffersQCOM(GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glExtGetFramebuffersQCOM)(framebuffers, maxFramebuffers, numFramebuffers); |
| } |
| |
| static void REGAL_CALL debug_glExtGetRenderbuffersQCOM(GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glExtGetRenderbuffersQCOM)(renderbuffers, maxRenderbuffers, numRenderbuffers); |
| } |
| |
| static void REGAL_CALL debug_glExtGetTexLevelParameterivQCOM(GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glExtGetTexLevelParameterivQCOM)(texture, face, level, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glExtGetTexSubImageQCOM(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLvoid *texels) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glExtGetTexSubImageQCOM)(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, texels); |
| } |
| |
| static void REGAL_CALL debug_glExtGetTexturesQCOM(GLuint *textures, GLint maxTextures, GLint *numTextures) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glExtGetTexturesQCOM)(textures, maxTextures, numTextures); |
| } |
| |
| static void REGAL_CALL debug_glExtTexObjectStateOverrideiQCOM(GLenum target, GLenum pname, GLint param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glExtTexObjectStateOverrideiQCOM)(target, pname, param); |
| } |
| |
| // GL_QCOM_extended_get2 |
| |
| static void REGAL_CALL debug_glExtGetProgramBinarySourceQCOM(GLuint program, GLenum shadertype, GLchar *source, GLint *length) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glExtGetProgramBinarySourceQCOM)(program, shadertype, source, length); |
| } |
| |
| static void REGAL_CALL debug_glExtGetProgramsQCOM(GLuint *programs, GLint maxPrograms, GLint *numPrograms) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glExtGetProgramsQCOM)(programs, maxPrograms, numPrograms); |
| } |
| |
| static void REGAL_CALL debug_glExtGetShadersQCOM(GLuint *shaders, GLint maxShaders, GLint *numShaders) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glExtGetShadersQCOM)(shaders, maxShaders, numShaders); |
| } |
| |
| static GLboolean REGAL_CALL debug_glExtIsProgramBinaryQCOM(GLuint program) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glExtIsProgramBinaryQCOM)(program); |
| return ret; |
| } |
| |
| // GL_QCOM_tiled_rendering |
| |
| static void REGAL_CALL debug_glEndTilingQCOM(GLbitfield preserveMask) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glEndTilingQCOM)(preserveMask); |
| } |
| |
| static void REGAL_CALL debug_glStartTilingQCOM(GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glStartTilingQCOM)(x, y, width, height, preserveMask); |
| } |
| |
| // GL_REGAL_ES1_0_compatibility |
| |
| static void REGAL_CALL debug_glAlphaFuncx(GLenum func, GLclampx ref) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glAlphaFuncx)(func, ref); |
| } |
| |
| static void REGAL_CALL debug_glClearColorx(GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glClearColorx)(red, green, blue, alpha); |
| } |
| |
| static void REGAL_CALL debug_glClearDepthx(GLclampx depth) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glClearDepthx)(depth); |
| } |
| |
| static void REGAL_CALL debug_glColor4x(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColor4x)(red, green, blue, alpha); |
| } |
| |
| static void REGAL_CALL debug_glDepthRangex(GLclampx zNear, GLclampx zFar) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDepthRangex)(zNear, zFar); |
| } |
| |
| static void REGAL_CALL debug_glFogx(GLenum pname, GLfixed param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFogx)(pname, param); |
| } |
| |
| static void REGAL_CALL debug_glFogxv(GLenum pname, const GLfixed *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFogxv)(pname, params); |
| } |
| |
| static void REGAL_CALL debug_glFrustumf(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFrustumf)(left, right, bottom, top, zNear, zFar); |
| } |
| |
| static void REGAL_CALL debug_glFrustumx(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFrustumx)(left, right, bottom, top, zNear, zFar); |
| } |
| |
| static void REGAL_CALL debug_glLightModelx(GLenum pname, GLfixed param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glLightModelx)(pname, param); |
| } |
| |
| static void REGAL_CALL debug_glLightModelxv(GLenum pname, const GLfixed *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glLightModelxv)(pname, params); |
| } |
| |
| static void REGAL_CALL debug_glLightx(GLenum light, GLenum pname, GLfixed param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glLightx)(light, pname, param); |
| } |
| |
| static void REGAL_CALL debug_glLightxv(GLenum light, GLenum pname, const GLfixed *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glLightxv)(light, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glLineWidthx(GLfixed width) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glLineWidthx)(width); |
| } |
| |
| static void REGAL_CALL debug_glLoadMatrixx(const GLfixed *m) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glLoadMatrixx)(m); |
| } |
| |
| static void REGAL_CALL debug_glMaterialx(GLenum face, GLenum pname, GLfixed param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMaterialx)(face, pname, param); |
| } |
| |
| static void REGAL_CALL debug_glMaterialxv(GLenum face, GLenum pname, const GLfixed *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMaterialxv)(face, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glMultMatrixx(const GLfixed *m) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultMatrixx)(m); |
| } |
| |
| static void REGAL_CALL debug_glMultiTexCoord4x(GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfixed q) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glMultiTexCoord4x)(target, s, t, r, q); |
| } |
| |
| static void REGAL_CALL debug_glNormal3x(GLfixed nx, GLfixed ny, GLfixed nz) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNormal3x)(nx, ny, nz); |
| } |
| |
| static void REGAL_CALL debug_glOrthof(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glOrthof)(left, right, bottom, top, zNear, zFar); |
| } |
| |
| static void REGAL_CALL debug_glOrthox(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glOrthox)(left, right, bottom, top, zNear, zFar); |
| } |
| |
| static void REGAL_CALL debug_glPointSizex(GLfixed size) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPointSizex)(size); |
| } |
| |
| static void REGAL_CALL debug_glPolygonOffsetx(GLfixed factor, GLfixed units) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPolygonOffsetx)(factor, units); |
| } |
| |
| static void REGAL_CALL debug_glRotatex(GLfixed angle, GLfixed x, GLfixed y, GLfixed z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glRotatex)(angle, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glSampleCoveragex(GLclampx value, GLboolean invert) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSampleCoveragex)(value, invert); |
| } |
| |
| static void REGAL_CALL debug_glScalex(GLfixed x, GLfixed y, GLfixed z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glScalex)(x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glTexEnvx(GLenum target, GLenum pname, GLfixed param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexEnvx)(target, pname, param); |
| } |
| |
| static void REGAL_CALL debug_glTexEnvxv(GLenum target, GLenum pname, const GLfixed *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexEnvxv)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glTexParameterx(GLenum target, GLenum pname, GLfixed param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexParameterx)(target, pname, param); |
| } |
| |
| static void REGAL_CALL debug_glTranslatex(GLfixed x, GLfixed y, GLfixed z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTranslatex)(x, y, z); |
| } |
| |
| // GL_REGAL_ES1_1_compatibility |
| |
| static void REGAL_CALL debug_glClipPlanef(GLenum plane, const GLfloat *equation) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glClipPlanef)(plane, equation); |
| } |
| |
| static void REGAL_CALL debug_glClipPlanex(GLenum plane, const GLfixed *equation) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glClipPlanex)(plane, equation); |
| } |
| |
| static void REGAL_CALL debug_glGetClipPlanef(GLenum pname, GLfloat *eqn) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetClipPlanef)(pname, eqn); |
| } |
| |
| static void REGAL_CALL debug_glGetClipPlanex(GLenum pname, GLfixed *eqn) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetClipPlanex)(pname, eqn); |
| } |
| |
| static void REGAL_CALL debug_glGetFixedv(GLenum pname, GLfixed *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetFixedv)(pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetLightxv(GLenum light, GLenum pname, GLfixed *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetLightxv)(light, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetMaterialxv(GLenum face, GLenum pname, GLfixed *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetMaterialxv)(face, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetTexEnvxv(GLenum env, GLenum pname, GLfixed *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetTexEnvxv)(env, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetTexParameterxv(GLenum target, GLenum pname, GLfixed *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetTexParameterxv)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glPointParameterx(GLenum pname, GLfixed param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPointParameterx)(pname, param); |
| } |
| |
| static void REGAL_CALL debug_glPointParameterxv(GLenum pname, const GLfixed *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPointParameterxv)(pname, params); |
| } |
| |
| static void REGAL_CALL debug_glPointSizePointerOES(GLenum type, GLsizei stride, const GLvoid *pointer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPointSizePointerOES)(type, stride, pointer); |
| } |
| |
| static void REGAL_CALL debug_glTexParameterxv(GLenum target, GLenum pname, const GLfixed *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexParameterxv)(target, pname, params); |
| } |
| |
| // GL_REGAL_log |
| |
| static void REGAL_CALL debug_glLogMessageCallbackREGAL(GLLOGPROCREGAL callback) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glLogMessageCallbackREGAL)(callback); |
| } |
| |
| // GL_SGIS_detail_texture |
| |
| static void REGAL_CALL debug_glDetailTexFuncSGIS(GLenum target, GLsizei n, const GLfloat *points) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDetailTexFuncSGIS)(target, n, points); |
| } |
| |
| static void REGAL_CALL debug_glGetDetailTexFuncSGIS(GLenum target, GLfloat *points) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetDetailTexFuncSGIS)(target, points); |
| } |
| |
| // GL_SGIS_fog_function |
| |
| static void REGAL_CALL debug_glFogFuncSGIS(GLsizei n, const GLfloat *points) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFogFuncSGIS)(n, points); |
| } |
| |
| static void REGAL_CALL debug_glGetFogFuncSGIS(GLfloat *points) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetFogFuncSGIS)(points); |
| } |
| |
| // GL_SGIS_multisample |
| |
| static void REGAL_CALL debug_glSampleMaskSGIS(GLclampf value, GLboolean invert) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSampleMaskSGIS)(value, invert); |
| } |
| |
| static void REGAL_CALL debug_glSamplePatternSGIS(GLenum pattern) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSamplePatternSGIS)(pattern); |
| } |
| |
| // GL_SGIS_pixel_texture |
| |
| static void REGAL_CALL debug_glGetPixelTexGenParameterfvSGIS(GLenum pname, GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetPixelTexGenParameterfvSGIS)(pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetPixelTexGenParameterivSGIS(GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetPixelTexGenParameterivSGIS)(pname, params); |
| } |
| |
| static void REGAL_CALL debug_glPixelTexGenParameterfSGIS(GLenum pname, GLfloat param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPixelTexGenParameterfSGIS)(pname, param); |
| } |
| |
| static void REGAL_CALL debug_glPixelTexGenParameterfvSGIS(GLenum pname, const GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPixelTexGenParameterfvSGIS)(pname, params); |
| } |
| |
| static void REGAL_CALL debug_glPixelTexGenParameteriSGIS(GLenum pname, GLint param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPixelTexGenParameteriSGIS)(pname, param); |
| } |
| |
| static void REGAL_CALL debug_glPixelTexGenParameterivSGIS(GLenum pname, const GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPixelTexGenParameterivSGIS)(pname, params); |
| } |
| |
| // GL_SGIS_point_parameters |
| |
| static void REGAL_CALL debug_glPointParameterfSGIS(GLenum pname, GLfloat param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPointParameterfSGIS)(pname, param); |
| } |
| |
| static void REGAL_CALL debug_glPointParameterfvSGIS(GLenum pname, const GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPointParameterfvSGIS)(pname, params); |
| } |
| |
| // GL_SGIS_sharpen_texture |
| |
| static void REGAL_CALL debug_glGetSharpenTexFuncSGIS(GLenum target, GLfloat *points) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetSharpenTexFuncSGIS)(target, points); |
| } |
| |
| static void REGAL_CALL debug_glSharpenTexFuncSGIS(GLenum target, GLsizei n, const GLfloat *points) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSharpenTexFuncSGIS)(target, n, points); |
| } |
| |
| // GL_SGIS_texture4D |
| |
| static void REGAL_CALL debug_glTexImage4DSGIS(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLint border, GLenum format, GLenum type, const GLvoid *pixels) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexImage4DSGIS)(target, level, internalformat, width, height, depth, size4d, border, format, type, pixels); |
| } |
| |
| static void REGAL_CALL debug_glTexSubImage4DSGIS(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLenum format, GLenum type, const GLvoid *pixels) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexSubImage4DSGIS)(target, level, xoffset, yoffset, zoffset, woffset, width, height, depth, size4d, format, type, pixels); |
| } |
| |
| // GL_SGIS_texture_color_mask |
| |
| static void REGAL_CALL debug_glTextureColorMaskSGIS(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTextureColorMaskSGIS)(red, green, blue, alpha); |
| } |
| |
| // GL_SGIS_texture_filter4 |
| |
| static void REGAL_CALL debug_glGetTexFilterFuncSGIS(GLenum target, GLenum filter, GLfloat *weights) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetTexFilterFuncSGIS)(target, filter, weights); |
| } |
| |
| static void REGAL_CALL debug_glTexFilterFuncSGIS(GLenum target, GLenum filter, GLsizei n, const GLfloat *weights) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexFilterFuncSGIS)(target, filter, n, weights); |
| } |
| |
| // GL_SGIX_async |
| |
| static void REGAL_CALL debug_glAsyncMarkerSGIX(GLuint marker) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glAsyncMarkerSGIX)(marker); |
| } |
| |
| static void REGAL_CALL debug_glDeleteAsyncMarkersSGIX(GLuint marker, GLsizei range) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDeleteAsyncMarkersSGIX)(marker, range); |
| } |
| |
| static GLint REGAL_CALL debug_glFinishAsyncSGIX(GLuint *markerp) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLint ret = _next->call(&_next->glFinishAsyncSGIX)(markerp); |
| return ret; |
| } |
| |
| static GLuint REGAL_CALL debug_glGenAsyncMarkersSGIX(GLsizei range) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLuint ret = _next->call(&_next->glGenAsyncMarkersSGIX)(range); |
| return ret; |
| } |
| |
| static GLboolean REGAL_CALL debug_glIsAsyncMarkerSGIX(GLuint marker) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLboolean ret = _next->call(&_next->glIsAsyncMarkerSGIX)(marker); |
| return ret; |
| } |
| |
| static GLint REGAL_CALL debug_glPollAsyncSGIX(GLuint *markerp) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLint ret = _next->call(&_next->glPollAsyncSGIX)(markerp); |
| return ret; |
| } |
| |
| // GL_SGIX_flush_raster |
| |
| static void REGAL_CALL debug_glFlushRasterSGIX(void) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFlushRasterSGIX)(); |
| } |
| |
| // GL_SGIX_fog_texture |
| |
| static void REGAL_CALL debug_glTextureFogSGIX(GLenum pname) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTextureFogSGIX)(pname); |
| } |
| |
| // GL_SGIX_fragment_lighting |
| |
| static void REGAL_CALL debug_glFragmentColorMaterialSGIX(GLenum face, GLenum mode) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFragmentColorMaterialSGIX)(face, mode); |
| } |
| |
| static void REGAL_CALL debug_glFragmentLightModelfSGIX(GLenum pname, GLfloat param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFragmentLightModelfSGIX)(pname, param); |
| } |
| |
| static void REGAL_CALL debug_glFragmentLightModelfvSGIX(GLenum pname, const GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFragmentLightModelfvSGIX)(pname, params); |
| } |
| |
| static void REGAL_CALL debug_glFragmentLightModeliSGIX(GLenum pname, GLint param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFragmentLightModeliSGIX)(pname, param); |
| } |
| |
| static void REGAL_CALL debug_glFragmentLightModelivSGIX(GLenum pname, const GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFragmentLightModelivSGIX)(pname, params); |
| } |
| |
| static void REGAL_CALL debug_glFragmentLightfSGIX(GLenum light, GLenum pname, GLfloat param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFragmentLightfSGIX)(light, pname, param); |
| } |
| |
| static void REGAL_CALL debug_glFragmentLightfvSGIX(GLenum light, GLenum pname, const GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFragmentLightfvSGIX)(light, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glFragmentLightiSGIX(GLenum light, GLenum pname, GLint param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFragmentLightiSGIX)(light, pname, param); |
| } |
| |
| static void REGAL_CALL debug_glFragmentLightivSGIX(GLenum light, GLenum pname, const GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFragmentLightivSGIX)(light, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glFragmentMaterialfSGIX(GLenum face, GLenum pname, GLfloat param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFragmentMaterialfSGIX)(face, pname, param); |
| } |
| |
| static void REGAL_CALL debug_glFragmentMaterialfvSGIX(GLenum face, GLenum pname, const GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFragmentMaterialfvSGIX)(face, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glFragmentMaterialiSGIX(GLenum face, GLenum pname, GLint param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFragmentMaterialiSGIX)(face, pname, param); |
| } |
| |
| static void REGAL_CALL debug_glFragmentMaterialivSGIX(GLenum face, GLenum pname, const GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFragmentMaterialivSGIX)(face, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetFragmentLightfvSGIX(GLenum light, GLenum pname, GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetFragmentLightfvSGIX)(light, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetFragmentLightivSGIX(GLenum light, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetFragmentLightivSGIX)(light, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetFragmentMaterialfvSGIX(GLenum face, GLenum pname, GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetFragmentMaterialfvSGIX)(face, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetFragmentMaterialivSGIX(GLenum face, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetFragmentMaterialivSGIX)(face, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glLightEnviSGIX(GLenum pname, GLint param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glLightEnviSGIX)(pname, param); |
| } |
| |
| // GL_SGIX_framezoom |
| |
| static void REGAL_CALL debug_glFrameZoomSGIX(GLint factor) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFrameZoomSGIX)(factor); |
| } |
| |
| // GL_SGIX_igloo_interface |
| |
| static void REGAL_CALL debug_glIglooInterfaceSGIX(GLenum pname, const GLvoid *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glIglooInterfaceSGIX)(pname, params); |
| } |
| |
| // GL_SGIX_instruments |
| |
| static GLint REGAL_CALL debug_glGetInstrumentsSGIX(void) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLint ret = _next->call(&_next->glGetInstrumentsSGIX)(); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glInstrumentsBufferSGIX(GLsizei size, GLint *buffer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glInstrumentsBufferSGIX)(size, buffer); |
| } |
| |
| static GLint REGAL_CALL debug_glPollInstrumentsSGIX(GLint *marker_p) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| GLint ret = _next->call(&_next->glPollInstrumentsSGIX)(marker_p); |
| return ret; |
| } |
| |
| static void REGAL_CALL debug_glReadInstrumentsSGIX(GLint marker) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glReadInstrumentsSGIX)(marker); |
| } |
| |
| static void REGAL_CALL debug_glStartInstrumentsSGIX(void) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glStartInstrumentsSGIX)(); |
| } |
| |
| static void REGAL_CALL debug_glStopInstrumentsSGIX(GLint marker) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glStopInstrumentsSGIX)(marker); |
| } |
| |
| // GL_SGIX_list_priority |
| |
| static void REGAL_CALL debug_glGetListParameterfvSGIX(GLuint list, GLenum pname, GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetListParameterfvSGIX)(list, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetListParameterivSGIX(GLuint list, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetListParameterivSGIX)(list, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glListParameterfSGIX(GLuint list, GLenum pname, GLfloat param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glListParameterfSGIX)(list, pname, param); |
| } |
| |
| static void REGAL_CALL debug_glListParameterfvSGIX(GLuint list, GLenum pname, const GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glListParameterfvSGIX)(list, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glListParameteriSGIX(GLuint list, GLenum pname, GLint param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glListParameteriSGIX)(list, pname, param); |
| } |
| |
| static void REGAL_CALL debug_glListParameterivSGIX(GLuint list, GLenum pname, const GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glListParameterivSGIX)(list, pname, params); |
| } |
| |
| // GL_SGIX_pixel_texture |
| |
| static void REGAL_CALL debug_glPixelTexGenSGIX(GLenum mode) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glPixelTexGenSGIX)(mode); |
| } |
| |
| // GL_SGIX_polynomial_ffd |
| |
| static void REGAL_CALL debug_glDeformSGIX(GLbitfield mask) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDeformSGIX)(mask); |
| } |
| |
| static void REGAL_CALL debug_glDeformationMap3dSGIX(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, GLdouble w1, GLdouble w2, GLint wstride, GLint worder, const GLdouble *points) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDeformationMap3dSGIX)(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, w1, w2, wstride, worder, points); |
| } |
| |
| static void REGAL_CALL debug_glDeformationMap3fSGIX(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, GLfloat w1, GLfloat w2, GLint wstride, GLint worder, const GLfloat *points) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDeformationMap3fSGIX)(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, w1, w2, wstride, worder, points); |
| } |
| |
| static void REGAL_CALL debug_glLoadIdentityDeformationMapSGIX(GLbitfield mask) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glLoadIdentityDeformationMapSGIX)(mask); |
| } |
| |
| // GL_SGIX_reference_plane |
| |
| static void REGAL_CALL debug_glReferencePlaneSGIX(const GLdouble *equation) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glReferencePlaneSGIX)(equation); |
| } |
| |
| // GL_SGIX_sprite |
| |
| static void REGAL_CALL debug_glSpriteParameterfSGIX(GLenum pname, GLfloat param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSpriteParameterfSGIX)(pname, param); |
| } |
| |
| static void REGAL_CALL debug_glSpriteParameterfvSGIX(GLenum pname, const GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSpriteParameterfvSGIX)(pname, params); |
| } |
| |
| static void REGAL_CALL debug_glSpriteParameteriSGIX(GLenum pname, GLint param) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSpriteParameteriSGIX)(pname, param); |
| } |
| |
| static void REGAL_CALL debug_glSpriteParameterivSGIX(GLenum pname, const GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glSpriteParameterivSGIX)(pname, params); |
| } |
| |
| // GL_SGIX_tag_sample_buffer |
| |
| static void REGAL_CALL debug_glTagSampleBufferSGIX(void) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTagSampleBufferSGIX)(); |
| } |
| |
| // GL_SGI_color_table |
| |
| static void REGAL_CALL debug_glColorTableParameterfvSGI(GLenum target, GLenum pname, const GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColorTableParameterfvSGI)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glColorTableParameterivSGI(GLenum target, GLenum pname, const GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColorTableParameterivSGI)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glColorTableSGI(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColorTableSGI)(target, internalformat, width, format, type, table); |
| } |
| |
| static void REGAL_CALL debug_glCopyColorTableSGI(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glCopyColorTableSGI)(target, internalformat, x, y, width); |
| } |
| |
| static void REGAL_CALL debug_glGetColorTableParameterfvSGI(GLenum target, GLenum pname, GLfloat *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetColorTableParameterfvSGI)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetColorTableParameterivSGI(GLenum target, GLenum pname, GLint *params) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetColorTableParameterivSGI)(target, pname, params); |
| } |
| |
| static void REGAL_CALL debug_glGetColorTableSGI(GLenum target, GLenum format, GLenum type, GLvoid *table) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGetColorTableSGI)(target, format, type, table); |
| } |
| |
| // GL_SUNX_constant_data |
| |
| static void REGAL_CALL debug_glFinishTextureSUNX(void) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glFinishTextureSUNX)(); |
| } |
| |
| // GL_SUN_global_alpha |
| |
| static void REGAL_CALL debug_glGlobalAlphaFactorbSUN(GLbyte factor) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGlobalAlphaFactorbSUN)(factor); |
| } |
| |
| static void REGAL_CALL debug_glGlobalAlphaFactordSUN(GLdouble factor) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGlobalAlphaFactordSUN)(factor); |
| } |
| |
| static void REGAL_CALL debug_glGlobalAlphaFactorfSUN(GLfloat factor) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGlobalAlphaFactorfSUN)(factor); |
| } |
| |
| static void REGAL_CALL debug_glGlobalAlphaFactoriSUN(GLint factor) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGlobalAlphaFactoriSUN)(factor); |
| } |
| |
| static void REGAL_CALL debug_glGlobalAlphaFactorsSUN(GLshort factor) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGlobalAlphaFactorsSUN)(factor); |
| } |
| |
| static void REGAL_CALL debug_glGlobalAlphaFactorubSUN(GLubyte factor) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGlobalAlphaFactorubSUN)(factor); |
| } |
| |
| static void REGAL_CALL debug_glGlobalAlphaFactoruiSUN(GLuint factor) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGlobalAlphaFactoruiSUN)(factor); |
| } |
| |
| static void REGAL_CALL debug_glGlobalAlphaFactorusSUN(GLushort factor) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glGlobalAlphaFactorusSUN)(factor); |
| } |
| |
| // GL_SUN_mesh_array |
| |
| static void REGAL_CALL debug_glDrawMeshArraysSUN(GLenum mode, GLint first, GLsizei count, GLsizei width) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glDrawMeshArraysSUN)(mode, first, count, width); |
| } |
| |
| // GL_SUN_read_video_pixels |
| |
| static void REGAL_CALL debug_glReadVideoPixelsSUN(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glReadVideoPixelsSUN)(x, y, width, height, format, type, pixels); |
| } |
| |
| // GL_SUN_triangle_list |
| |
| static void REGAL_CALL debug_glReplacementCodePointerSUN(GLenum type, GLsizei stride, const GLvoid **pointer) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glReplacementCodePointerSUN)(type, stride, pointer); |
| } |
| |
| static void REGAL_CALL debug_glReplacementCodeubSUN(GLubyte code) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glReplacementCodeubSUN)(code); |
| } |
| |
| static void REGAL_CALL debug_glReplacementCodeubvSUN(const GLubyte *code) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glReplacementCodeubvSUN)(code); |
| } |
| |
| static void REGAL_CALL debug_glReplacementCodeuiSUN(GLuint code) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glReplacementCodeuiSUN)(code); |
| } |
| |
| static void REGAL_CALL debug_glReplacementCodeuivSUN(const GLuint *code) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glReplacementCodeuivSUN)(code); |
| } |
| |
| static void REGAL_CALL debug_glReplacementCodeusSUN(GLushort code) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glReplacementCodeusSUN)(code); |
| } |
| |
| static void REGAL_CALL debug_glReplacementCodeusvSUN(const GLushort *code) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glReplacementCodeusvSUN)(code); |
| } |
| |
| // GL_SUN_vertex |
| |
| static void REGAL_CALL debug_glColor3fVertex3fSUN(GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColor3fVertex3fSUN)(r, g, b, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glColor3fVertex3fvSUN(const GLfloat *c, const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColor3fVertex3fvSUN)(c, v); |
| } |
| |
| static void REGAL_CALL debug_glColor4fNormal3fVertex3fSUN(GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColor4fNormal3fVertex3fSUN)(r, g, b, a, nx, ny, nz, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glColor4fNormal3fVertex3fvSUN(const GLfloat *c, const GLfloat *n, const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColor4fNormal3fVertex3fvSUN)(c, n, v); |
| } |
| |
| static void REGAL_CALL debug_glColor4ubVertex2fSUN(GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColor4ubVertex2fSUN)(r, g, b, a, x, y); |
| } |
| |
| static void REGAL_CALL debug_glColor4ubVertex2fvSUN(const GLubyte *c, const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColor4ubVertex2fvSUN)(c, v); |
| } |
| |
| static void REGAL_CALL debug_glColor4ubVertex3fSUN(GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColor4ubVertex3fSUN)(r, g, b, a, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glColor4ubVertex3fvSUN(const GLubyte *c, const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glColor4ubVertex3fvSUN)(c, v); |
| } |
| |
| static void REGAL_CALL debug_glNormal3fVertex3fSUN(GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNormal3fVertex3fSUN)(nx, ny, nz, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glNormal3fVertex3fvSUN(const GLfloat *n, const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glNormal3fVertex3fvSUN)(n, v); |
| } |
| |
| static void REGAL_CALL debug_glReplacementCodeuiColor3fVertex3fSUN(GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glReplacementCodeuiColor3fVertex3fSUN)(rc, r, g, b, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glReplacementCodeuiColor3fVertex3fvSUN(const GLuint *rc, const GLfloat *c, const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glReplacementCodeuiColor3fVertex3fvSUN)(rc, c, v); |
| } |
| |
| static void REGAL_CALL debug_glReplacementCodeuiColor4fNormal3fVertex3fSUN(GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glReplacementCodeuiColor4fNormal3fVertex3fSUN)(rc, r, g, b, a, nx, ny, nz, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glReplacementCodeuiColor4fNormal3fVertex3fvSUN(const GLuint *rc, const GLfloat *c, const GLfloat *n, const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glReplacementCodeuiColor4fNormal3fVertex3fvSUN)(rc, c, n, v); |
| } |
| |
| static void REGAL_CALL debug_glReplacementCodeuiColor4ubVertex3fSUN(GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glReplacementCodeuiColor4ubVertex3fSUN)(rc, r, g, b, a, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glReplacementCodeuiColor4ubVertex3fvSUN(const GLuint *rc, const GLubyte *c, const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glReplacementCodeuiColor4ubVertex3fvSUN)(rc, c, v); |
| } |
| |
| static void REGAL_CALL debug_glReplacementCodeuiNormal3fVertex3fSUN(GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glReplacementCodeuiNormal3fVertex3fSUN)(rc, nx, ny, nz, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glReplacementCodeuiNormal3fVertex3fvSUN(const GLuint *rc, const GLfloat *n, const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glReplacementCodeuiNormal3fVertex3fvSUN)(rc, n, v); |
| } |
| |
| static void REGAL_CALL debug_glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN(GLuint rc, GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN)(rc, s, t, r, g, b, a, nx, ny, nz, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN(const GLuint *rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN)(rc, tc, c, n, v); |
| } |
| |
| static void REGAL_CALL debug_glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN(GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN)(rc, s, t, nx, ny, nz, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN(const GLuint *rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN)(rc, tc, n, v); |
| } |
| |
| static void REGAL_CALL debug_glReplacementCodeuiTexCoord2fVertex3fSUN(GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glReplacementCodeuiTexCoord2fVertex3fSUN)(rc, s, t, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glReplacementCodeuiTexCoord2fVertex3fvSUN(const GLuint *rc, const GLfloat *tc, const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glReplacementCodeuiTexCoord2fVertex3fvSUN)(rc, tc, v); |
| } |
| |
| static void REGAL_CALL debug_glReplacementCodeuiVertex3fSUN(GLuint rc, GLfloat x, GLfloat y, GLfloat z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glReplacementCodeuiVertex3fSUN)(rc, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glReplacementCodeuiVertex3fvSUN(const GLuint *rc, const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glReplacementCodeuiVertex3fvSUN)(rc, v); |
| } |
| |
| static void REGAL_CALL debug_glTexCoord2fColor3fVertex3fSUN(GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoord2fColor3fVertex3fSUN)(s, t, r, g, b, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glTexCoord2fColor3fVertex3fvSUN(const GLfloat *tc, const GLfloat *c, const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoord2fColor3fVertex3fvSUN)(tc, c, v); |
| } |
| |
| static void REGAL_CALL debug_glTexCoord2fColor4fNormal3fVertex3fSUN(GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoord2fColor4fNormal3fVertex3fSUN)(s, t, r, g, b, a, nx, ny, nz, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glTexCoord2fColor4fNormal3fVertex3fvSUN(const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoord2fColor4fNormal3fVertex3fvSUN)(tc, c, n, v); |
| } |
| |
| static void REGAL_CALL debug_glTexCoord2fColor4ubVertex3fSUN(GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoord2fColor4ubVertex3fSUN)(s, t, r, g, b, a, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glTexCoord2fColor4ubVertex3fvSUN(const GLfloat *tc, const GLubyte *c, const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoord2fColor4ubVertex3fvSUN)(tc, c, v); |
| } |
| |
| static void REGAL_CALL debug_glTexCoord2fNormal3fVertex3fSUN(GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoord2fNormal3fVertex3fSUN)(s, t, nx, ny, nz, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glTexCoord2fNormal3fVertex3fvSUN(const GLfloat *tc, const GLfloat *n, const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoord2fNormal3fVertex3fvSUN)(tc, n, v); |
| } |
| |
| static void REGAL_CALL debug_glTexCoord2fVertex3fSUN(GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoord2fVertex3fSUN)(s, t, x, y, z); |
| } |
| |
| static void REGAL_CALL debug_glTexCoord2fVertex3fvSUN(const GLfloat *tc, const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoord2fVertex3fvSUN)(tc, v); |
| } |
| |
| static void REGAL_CALL debug_glTexCoord4fColor4fNormal3fVertex4fSUN(GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z, GLfloat w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoord4fColor4fNormal3fVertex4fSUN)(s, t, p, q, r, g, b, a, nx, ny, nz, x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glTexCoord4fColor4fNormal3fVertex4fvSUN(const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoord4fColor4fNormal3fVertex4fvSUN)(tc, c, n, v); |
| } |
| |
| static void REGAL_CALL debug_glTexCoord4fVertex4fSUN(GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoord4fVertex4fSUN)(s, t, p, q, x, y, z, w); |
| } |
| |
| static void REGAL_CALL debug_glTexCoord4fVertex4fvSUN(const GLfloat *tc, const GLfloat *v) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glTexCoord4fVertex4fvSUN)(tc, v); |
| } |
| |
| // GL_WIN_swap_hint |
| |
| static void REGAL_CALL debug_glAddSwapHintRectWIN(GLint x, GLint y, GLsizei width, GLsizei height) |
| { |
| RegalContext *_context = REGAL_GET_CONTEXT(); |
| RegalAssert(_context); |
| DispatchTableGL *_next = _context->dispatcher.debug.next(); |
| RegalAssert(_next); |
| _next->call(&_next->glAddSwapHintRectWIN)(x, y, width, height); |
| } |
| |
| void InitDispatchTableDebug(DispatchTableGL &tbl) |
| { |
| |
| // GL_VERSION_1_0 |
| |
| tbl.glAccum = debug_glAccum; |
| tbl.glAlphaFunc = debug_glAlphaFunc; |
| tbl.glBegin = debug_glBegin; |
| tbl.glBitmap = debug_glBitmap; |
| tbl.glBlendFunc = debug_glBlendFunc; |
| tbl.glCallList = debug_glCallList; |
| tbl.glCallLists = debug_glCallLists; |
| tbl.glClear = debug_glClear; |
| tbl.glClearAccum = debug_glClearAccum; |
| tbl.glClearColor = debug_glClearColor; |
| tbl.glClearDepth = debug_glClearDepth; |
| tbl.glClearIndex = debug_glClearIndex; |
| tbl.glClearStencil = debug_glClearStencil; |
| tbl.glClipPlane = debug_glClipPlane; |
| tbl.glColor3b = debug_glColor3b; |
| tbl.glColor3bv = debug_glColor3bv; |
| tbl.glColor3d = debug_glColor3d; |
| tbl.glColor3dv = debug_glColor3dv; |
| tbl.glColor3f = debug_glColor3f; |
| tbl.glColor3fv = debug_glColor3fv; |
| tbl.glColor3i = debug_glColor3i; |
| tbl.glColor3iv = debug_glColor3iv; |
| tbl.glColor3s = debug_glColor3s; |
| tbl.glColor3sv = debug_glColor3sv; |
| tbl.glColor3ub = debug_glColor3ub; |
| tbl.glColor3ubv = debug_glColor3ubv; |
| tbl.glColor3ui = debug_glColor3ui; |
| tbl.glColor3uiv = debug_glColor3uiv; |
| tbl.glColor3us = debug_glColor3us; |
| tbl.glColor3usv = debug_glColor3usv; |
| tbl.glColor4b = debug_glColor4b; |
| tbl.glColor4bv = debug_glColor4bv; |
| tbl.glColor4d = debug_glColor4d; |
| tbl.glColor4dv = debug_glColor4dv; |
| tbl.glColor4f = debug_glColor4f; |
| tbl.glColor4fv = debug_glColor4fv; |
| tbl.glColor4i = debug_glColor4i; |
| tbl.glColor4iv = debug_glColor4iv; |
| tbl.glColor4s = debug_glColor4s; |
| tbl.glColor4sv = debug_glColor4sv; |
| tbl.glColor4ub = debug_glColor4ub; |
| tbl.glColor4ubv = debug_glColor4ubv; |
| tbl.glColor4ui = debug_glColor4ui; |
| tbl.glColor4uiv = debug_glColor4uiv; |
| tbl.glColor4us = debug_glColor4us; |
| tbl.glColor4usv = debug_glColor4usv; |
| tbl.glColorMask = debug_glColorMask; |
| tbl.glColorMaterial = debug_glColorMaterial; |
| tbl.glCopyPixels = debug_glCopyPixels; |
| tbl.glCullFace = debug_glCullFace; |
| tbl.glDeleteLists = debug_glDeleteLists; |
| tbl.glDepthFunc = debug_glDepthFunc; |
| tbl.glDepthMask = debug_glDepthMask; |
| tbl.glDepthRange = debug_glDepthRange; |
| tbl.glDisable = debug_glDisable; |
| tbl.glDrawBuffer = debug_glDrawBuffer; |
| tbl.glDrawPixels = debug_glDrawPixels; |
| tbl.glEdgeFlag = debug_glEdgeFlag; |
| tbl.glEdgeFlagv = debug_glEdgeFlagv; |
| tbl.glEnable = debug_glEnable; |
| tbl.glEnd = debug_glEnd; |
| tbl.glEndList = debug_glEndList; |
| tbl.glEvalCoord1d = debug_glEvalCoord1d; |
| tbl.glEvalCoord1dv = debug_glEvalCoord1dv; |
| tbl.glEvalCoord1f = debug_glEvalCoord1f; |
| tbl.glEvalCoord1fv = debug_glEvalCoord1fv; |
| tbl.glEvalCoord2d = debug_glEvalCoord2d; |
| tbl.glEvalCoord2dv = debug_glEvalCoord2dv; |
| tbl.glEvalCoord2f = debug_glEvalCoord2f; |
| tbl.glEvalCoord2fv = debug_glEvalCoord2fv; |
| tbl.glEvalMesh1 = debug_glEvalMesh1; |
| tbl.glEvalMesh2 = debug_glEvalMesh2; |
| tbl.glEvalPoint1 = debug_glEvalPoint1; |
| tbl.glEvalPoint2 = debug_glEvalPoint2; |
| tbl.glFeedbackBuffer = debug_glFeedbackBuffer; |
| tbl.glFinish = debug_glFinish; |
| tbl.glFlush = debug_glFlush; |
| tbl.glFogf = debug_glFogf; |
| tbl.glFogfv = debug_glFogfv; |
| tbl.glFogi = debug_glFogi; |
| tbl.glFogiv = debug_glFogiv; |
| tbl.glFrontFace = debug_glFrontFace; |
| tbl.glFrustum = debug_glFrustum; |
| tbl.glGenLists = debug_glGenLists; |
| tbl.glGetBooleanv = debug_glGetBooleanv; |
| tbl.glGetClipPlane = debug_glGetClipPlane; |
| tbl.glGetDoublev = debug_glGetDoublev; |
| tbl.glGetError = debug_glGetError; |
| tbl.glGetFloatv = debug_glGetFloatv; |
| tbl.glGetIntegerv = debug_glGetIntegerv; |
| tbl.glGetLightfv = debug_glGetLightfv; |
| tbl.glGetLightiv = debug_glGetLightiv; |
| tbl.glGetMapdv = debug_glGetMapdv; |
| tbl.glGetMapfv = debug_glGetMapfv; |
| tbl.glGetMapiv = debug_glGetMapiv; |
| tbl.glGetMaterialfv = debug_glGetMaterialfv; |
| tbl.glGetMaterialiv = debug_glGetMaterialiv; |
| tbl.glGetPixelMapfv = debug_glGetPixelMapfv; |
| tbl.glGetPixelMapuiv = debug_glGetPixelMapuiv; |
| tbl.glGetPixelMapusv = debug_glGetPixelMapusv; |
| tbl.glGetPolygonStipple = debug_glGetPolygonStipple; |
| tbl.glGetString = debug_glGetString; |
| tbl.glGetTexEnvfv = debug_glGetTexEnvfv; |
| tbl.glGetTexEnviv = debug_glGetTexEnviv; |
| tbl.glGetTexGendv = debug_glGetTexGendv; |
| tbl.glGetTexGenfv = debug_glGetTexGenfv; |
| tbl.glGetTexGeniv = debug_glGetTexGeniv; |
| tbl.glGetTexImage = debug_glGetTexImage; |
| tbl.glGetTexLevelParameterfv = debug_glGetTexLevelParameterfv; |
| tbl.glGetTexLevelParameteriv = debug_glGetTexLevelParameteriv; |
| tbl.glGetTexParameterfv = debug_glGetTexParameterfv; |
| tbl.glGetTexParameteriv = debug_glGetTexParameteriv; |
| tbl.glHint = debug_glHint; |
| tbl.glIndexMask = debug_glIndexMask; |
| tbl.glIndexd = debug_glIndexd; |
| tbl.glIndexdv = debug_glIndexdv; |
| tbl.glIndexf = debug_glIndexf; |
| tbl.glIndexfv = debug_glIndexfv; |
| tbl.glIndexi = debug_glIndexi; |
| tbl.glIndexiv = debug_glIndexiv; |
| tbl.glIndexs = debug_glIndexs; |
| tbl.glIndexsv = debug_glIndexsv; |
| tbl.glInitNames = debug_glInitNames; |
| tbl.glIsEnabled = debug_glIsEnabled; |
| tbl.glIsList = debug_glIsList; |
| tbl.glLightModelf = debug_glLightModelf; |
| tbl.glLightModelfv = debug_glLightModelfv; |
| tbl.glLightModeli = debug_glLightModeli; |
| tbl.glLightModeliv = debug_glLightModeliv; |
| tbl.glLightf = debug_glLightf; |
| tbl.glLightfv = debug_glLightfv; |
| tbl.glLighti = debug_glLighti; |
| tbl.glLightiv = debug_glLightiv; |
| tbl.glLineStipple = debug_glLineStipple; |
| tbl.glLineWidth = debug_glLineWidth; |
| tbl.glListBase = debug_glListBase; |
| tbl.glLoadIdentity = debug_glLoadIdentity; |
| tbl.glLoadMatrixd = debug_glLoadMatrixd; |
| tbl.glLoadMatrixf = debug_glLoadMatrixf; |
| tbl.glLoadName = debug_glLoadName; |
| tbl.glLogicOp = debug_glLogicOp; |
| tbl.glMap1d = debug_glMap1d; |
| tbl.glMap1f = debug_glMap1f; |
| tbl.glMap2d = debug_glMap2d; |
| tbl.glMap2f = debug_glMap2f; |
| tbl.glMapGrid1d = debug_glMapGrid1d; |
| tbl.glMapGrid1f = debug_glMapGrid1f; |
| tbl.glMapGrid2d = debug_glMapGrid2d; |
| tbl.glMapGrid2f = debug_glMapGrid2f; |
| tbl.glMaterialf = debug_glMaterialf; |
| tbl.glMaterialfv = debug_glMaterialfv; |
| tbl.glMateriali = debug_glMateriali; |
| tbl.glMaterialiv = debug_glMaterialiv; |
| tbl.glMatrixMode = debug_glMatrixMode; |
| tbl.glMultMatrixd = debug_glMultMatrixd; |
| tbl.glMultMatrixf = debug_glMultMatrixf; |
| tbl.glNewList = debug_glNewList; |
| tbl.glNormal3b = debug_glNormal3b; |
| tbl.glNormal3bv = debug_glNormal3bv; |
| tbl.glNormal3d = debug_glNormal3d; |
| tbl.glNormal3dv = debug_glNormal3dv; |
| tbl.glNormal3f = debug_glNormal3f; |
| tbl.glNormal3fv = debug_glNormal3fv; |
| tbl.glNormal3i = debug_glNormal3i; |
| tbl.glNormal3iv = debug_glNormal3iv; |
| tbl.glNormal3s = debug_glNormal3s; |
| tbl.glNormal3sv = debug_glNormal3sv; |
| tbl.glOrtho = debug_glOrtho; |
| tbl.glPassThrough = debug_glPassThrough; |
| tbl.glPixelMapfv = debug_glPixelMapfv; |
| tbl.glPixelMapuiv = debug_glPixelMapuiv; |
| tbl.glPixelMapusv = debug_glPixelMapusv; |
| tbl.glPixelStoref = debug_glPixelStoref; |
| tbl.glPixelStorei = debug_glPixelStorei; |
| tbl.glPixelTransferf = debug_glPixelTransferf; |
| tbl.glPixelTransferi = debug_glPixelTransferi; |
| tbl.glPixelZoom = debug_glPixelZoom; |
| tbl.glPointSize = debug_glPointSize; |
| tbl.glPolygonMode = debug_glPolygonMode; |
| tbl.glPolygonStipple = debug_glPolygonStipple; |
| tbl.glPopAttrib = debug_glPopAttrib; |
| tbl.glPopMatrix = debug_glPopMatrix; |
| tbl.glPopName = debug_glPopName; |
| tbl.glPushAttrib = debug_glPushAttrib; |
| tbl.glPushMatrix = debug_glPushMatrix; |
| tbl.glPushName = debug_glPushName; |
| tbl.glRasterPos2d = debug_glRasterPos2d; |
| tbl.glRasterPos2dv = debug_glRasterPos2dv; |
| tbl.glRasterPos2f = debug_glRasterPos2f; |
| tbl.glRasterPos2fv = debug_glRasterPos2fv; |
| tbl.glRasterPos2i = debug_glRasterPos2i; |
| tbl.glRasterPos2iv = debug_glRasterPos2iv; |
| tbl.glRasterPos2s = debug_glRasterPos2s; |
| tbl.glRasterPos2sv = debug_glRasterPos2sv; |
| tbl.glRasterPos3d = debug_glRasterPos3d; |
| tbl.glRasterPos3dv = debug_glRasterPos3dv; |
| tbl.glRasterPos3f = debug_glRasterPos3f; |
| tbl.glRasterPos3fv = debug_glRasterPos3fv; |
| tbl.glRasterPos3i = debug_glRasterPos3i; |
| tbl.glRasterPos3iv = debug_glRasterPos3iv; |
| tbl.glRasterPos3s = debug_glRasterPos3s; |
| tbl.glRasterPos3sv = debug_glRasterPos3sv; |
| tbl.glRasterPos4d = debug_glRasterPos4d; |
| tbl.glRasterPos4dv = debug_glRasterPos4dv; |
| tbl.glRasterPos4f = debug_glRasterPos4f; |
| tbl.glRasterPos4fv = debug_glRasterPos4fv; |
| tbl.glRasterPos4i = debug_glRasterPos4i; |
| tbl.glRasterPos4iv = debug_glRasterPos4iv; |
| tbl.glRasterPos4s = debug_glRasterPos4s; |
| tbl.glRasterPos4sv = debug_glRasterPos4sv; |
| tbl.glReadBuffer = debug_glReadBuffer; |
| tbl.glReadPixels = debug_glReadPixels; |
| tbl.glRectd = debug_glRectd; |
| tbl.glRectdv = debug_glRectdv; |
| tbl.glRectf = debug_glRectf; |
| tbl.glRectfv = debug_glRectfv; |
| tbl.glRecti = debug_glRecti; |
| tbl.glRectiv = debug_glRectiv; |
| tbl.glRects = debug_glRects; |
| tbl.glRectsv = debug_glRectsv; |
| tbl.glRenderMode = debug_glRenderMode; |
| tbl.glRotated = debug_glRotated; |
| tbl.glRotatef = debug_glRotatef; |
| tbl.glScaled = debug_glScaled; |
| tbl.glScalef = debug_glScalef; |
| tbl.glScissor = debug_glScissor; |
| tbl.glSelectBuffer = debug_glSelectBuffer; |
| tbl.glShadeModel = debug_glShadeModel; |
| tbl.glStencilFunc = debug_glStencilFunc; |
| tbl.glStencilMask = debug_glStencilMask; |
| tbl.glStencilOp = debug_glStencilOp; |
| tbl.glTexCoord1d = debug_glTexCoord1d; |
| tbl.glTexCoord1dv = debug_glTexCoord1dv; |
| tbl.glTexCoord1f = debug_glTexCoord1f; |
| tbl.glTexCoord1fv = debug_glTexCoord1fv; |
| tbl.glTexCoord1i = debug_glTexCoord1i; |
| tbl.glTexCoord1iv = debug_glTexCoord1iv; |
| tbl.glTexCoord1s = debug_glTexCoord1s; |
| tbl.glTexCoord1sv = debug_glTexCoord1sv; |
| tbl.glTexCoord2d = debug_glTexCoord2d; |
| tbl.glTexCoord2dv = debug_glTexCoord2dv; |
| tbl.glTexCoord2f = debug_glTexCoord2f; |
| tbl.glTexCoord2fv = debug_glTexCoord2fv; |
| tbl.glTexCoord2i = debug_glTexCoord2i; |
| tbl.glTexCoord2iv = debug_glTexCoord2iv; |
| tbl.glTexCoord2s = debug_glTexCoord2s; |
| tbl.glTexCoord2sv = debug_glTexCoord2sv; |
| tbl.glTexCoord3d = debug_glTexCoord3d; |
| tbl.glTexCoord3dv = debug_glTexCoord3dv; |
| tbl.glTexCoord3f = debug_glTexCoord3f; |
| tbl.glTexCoord3fv = debug_glTexCoord3fv; |
| tbl.glTexCoord3i = debug_glTexCoord3i; |
| tbl.glTexCoord3iv = debug_glTexCoord3iv; |
| tbl.glTexCoord3s = debug_glTexCoord3s; |
| tbl.glTexCoord3sv = debug_glTexCoord3sv; |
| tbl.glTexCoord4d = debug_glTexCoord4d; |
| tbl.glTexCoord4dv = debug_glTexCoord4dv; |
| tbl.glTexCoord4f = debug_glTexCoord4f; |
| tbl.glTexCoord4fv = debug_glTexCoord4fv; |
| tbl.glTexCoord4i = debug_glTexCoord4i; |
| tbl.glTexCoord4iv = debug_glTexCoord4iv; |
| tbl.glTexCoord4s = debug_glTexCoord4s; |
| tbl.glTexCoord4sv = debug_glTexCoord4sv; |
| tbl.glTexEnvf = debug_glTexEnvf; |
| tbl.glTexEnvfv = debug_glTexEnvfv; |
| tbl.glTexEnvi = debug_glTexEnvi; |
| tbl.glTexEnviv = debug_glTexEnviv; |
| tbl.glTexGend = debug_glTexGend; |
| tbl.glTexGendv = debug_glTexGendv; |
| tbl.glTexGenf = debug_glTexGenf; |
| tbl.glTexGenfv = debug_glTexGenfv; |
| tbl.glTexGeni = debug_glTexGeni; |
| tbl.glTexGeniv = debug_glTexGeniv; |
| tbl.glTexImage1D = debug_glTexImage1D; |
| tbl.glTexImage2D = debug_glTexImage2D; |
| tbl.glTexParameterf = debug_glTexParameterf; |
| tbl.glTexParameterfv = debug_glTexParameterfv; |
| tbl.glTexParameteri = debug_glTexParameteri; |
| tbl.glTexParameteriv = debug_glTexParameteriv; |
| tbl.glTranslated = debug_glTranslated; |
| tbl.glTranslatef = debug_glTranslatef; |
| tbl.glVertex2d = debug_glVertex2d; |
| tbl.glVertex2dv = debug_glVertex2dv; |
| tbl.glVertex2f = debug_glVertex2f; |
| tbl.glVertex2fv = debug_glVertex2fv; |
| tbl.glVertex2i = debug_glVertex2i; |
| tbl.glVertex2iv = debug_glVertex2iv; |
| tbl.glVertex2s = debug_glVertex2s; |
| tbl.glVertex2sv = debug_glVertex2sv; |
| tbl.glVertex3d = debug_glVertex3d; |
| tbl.glVertex3dv = debug_glVertex3dv; |
| tbl.glVertex3f = debug_glVertex3f; |
| tbl.glVertex3fv = debug_glVertex3fv; |
| tbl.glVertex3i = debug_glVertex3i; |
| tbl.glVertex3iv = debug_glVertex3iv; |
| tbl.glVertex3s = debug_glVertex3s; |
| tbl.glVertex3sv = debug_glVertex3sv; |
| tbl.glVertex4d = debug_glVertex4d; |
| tbl.glVertex4dv = debug_glVertex4dv; |
| tbl.glVertex4f = debug_glVertex4f; |
| tbl.glVertex4fv = debug_glVertex4fv; |
| tbl.glVertex4i = debug_glVertex4i; |
| tbl.glVertex4iv = debug_glVertex4iv; |
| tbl.glVertex4s = debug_glVertex4s; |
| tbl.glVertex4sv = debug_glVertex4sv; |
| tbl.glViewport = debug_glViewport; |
| |
| // GL_VERSION_1_1 |
| |
| tbl.glAreTexturesResident = debug_glAreTexturesResident; |
| tbl.glArrayElement = debug_glArrayElement; |
| tbl.glBindTexture = debug_glBindTexture; |
| tbl.glColorPointer = debug_glColorPointer; |
| tbl.glCopyTexImage1D = debug_glCopyTexImage1D; |
| tbl.glCopyTexImage2D = debug_glCopyTexImage2D; |
| tbl.glCopyTexSubImage1D = debug_glCopyTexSubImage1D; |
| tbl.glCopyTexSubImage2D = debug_glCopyTexSubImage2D; |
| tbl.glDeleteTextures = debug_glDeleteTextures; |
| tbl.glDisableClientState = debug_glDisableClientState; |
| tbl.glDrawArrays = debug_glDrawArrays; |
| tbl.glDrawElements = debug_glDrawElements; |
| tbl.glEdgeFlagPointer = debug_glEdgeFlagPointer; |
| tbl.glEnableClientState = debug_glEnableClientState; |
| tbl.glGenTextures = debug_glGenTextures; |
| tbl.glGetPointerv = debug_glGetPointerv; |
| tbl.glIndexPointer = debug_glIndexPointer; |
| tbl.glIndexub = debug_glIndexub; |
| tbl.glIndexubv = debug_glIndexubv; |
| tbl.glInterleavedArrays = debug_glInterleavedArrays; |
| tbl.glIsTexture = debug_glIsTexture; |
| tbl.glNormalPointer = debug_glNormalPointer; |
| tbl.glPolygonOffset = debug_glPolygonOffset; |
| tbl.glPopClientAttrib = debug_glPopClientAttrib; |
| tbl.glPrioritizeTextures = debug_glPrioritizeTextures; |
| tbl.glPushClientAttrib = debug_glPushClientAttrib; |
| tbl.glTexCoordPointer = debug_glTexCoordPointer; |
| tbl.glTexSubImage1D = debug_glTexSubImage1D; |
| tbl.glTexSubImage2D = debug_glTexSubImage2D; |
| tbl.glVertexPointer = debug_glVertexPointer; |
| |
| // GL_VERSION_1_2 |
| |
| tbl.glBlendColor = debug_glBlendColor; |
| tbl.glBlendEquation = debug_glBlendEquation; |
| tbl.glCopyTexSubImage3D = debug_glCopyTexSubImage3D; |
| tbl.glDrawRangeElements = debug_glDrawRangeElements; |
| tbl.glTexImage3D = debug_glTexImage3D; |
| tbl.glTexSubImage3D = debug_glTexSubImage3D; |
| |
| // GL_VERSION_1_3 |
| |
| tbl.glActiveTexture = debug_glActiveTexture; |
| tbl.glClientActiveTexture = debug_glClientActiveTexture; |
| tbl.glCompressedTexImage1D = debug_glCompressedTexImage1D; |
| tbl.glCompressedTexImage2D = debug_glCompressedTexImage2D; |
| tbl.glCompressedTexImage3D = debug_glCompressedTexImage3D; |
| tbl.glCompressedTexSubImage1D = debug_glCompressedTexSubImage1D; |
| tbl.glCompressedTexSubImage2D = debug_glCompressedTexSubImage2D; |
| tbl.glCompressedTexSubImage3D = debug_glCompressedTexSubImage3D; |
| tbl.glGetCompressedTexImage = debug_glGetCompressedTexImage; |
| tbl.glLoadTransposeMatrixd = debug_glLoadTransposeMatrixd; |
| tbl.glLoadTransposeMatrixf = debug_glLoadTransposeMatrixf; |
| tbl.glMultTransposeMatrixd = debug_glMultTransposeMatrixd; |
| tbl.glMultTransposeMatrixf = debug_glMultTransposeMatrixf; |
| tbl.glMultiTexCoord1d = debug_glMultiTexCoord1d; |
| tbl.glMultiTexCoord1dv = debug_glMultiTexCoord1dv; |
| tbl.glMultiTexCoord1f = debug_glMultiTexCoord1f; |
| tbl.glMultiTexCoord1fv = debug_glMultiTexCoord1fv; |
| tbl.glMultiTexCoord1i = debug_glMultiTexCoord1i; |
| tbl.glMultiTexCoord1iv = debug_glMultiTexCoord1iv; |
| tbl.glMultiTexCoord1s = debug_glMultiTexCoord1s; |
| tbl.glMultiTexCoord1sv = debug_glMultiTexCoord1sv; |
| tbl.glMultiTexCoord2d = debug_glMultiTexCoord2d; |
| tbl.glMultiTexCoord2dv = debug_glMultiTexCoord2dv; |
| tbl.glMultiTexCoord2f = debug_glMultiTexCoord2f; |
| tbl.glMultiTexCoord2fv = debug_glMultiTexCoord2fv; |
| tbl.glMultiTexCoord2i = debug_glMultiTexCoord2i; |
| tbl.glMultiTexCoord2iv = debug_glMultiTexCoord2iv; |
| tbl.glMultiTexCoord2s = debug_glMultiTexCoord2s; |
| tbl.glMultiTexCoord2sv = debug_glMultiTexCoord2sv; |
| tbl.glMultiTexCoord3d = debug_glMultiTexCoord3d; |
| tbl.glMultiTexCoord3dv = debug_glMultiTexCoord3dv; |
| tbl.glMultiTexCoord3f = debug_glMultiTexCoord3f; |
| tbl.glMultiTexCoord3fv = debug_glMultiTexCoord3fv; |
| tbl.glMultiTexCoord3i = debug_glMultiTexCoord3i; |
| tbl.glMultiTexCoord3iv = debug_glMultiTexCoord3iv; |
| tbl.glMultiTexCoord3s = debug_glMultiTexCoord3s; |
| tbl.glMultiTexCoord3sv = debug_glMultiTexCoord3sv; |
| tbl.glMultiTexCoord4d = debug_glMultiTexCoord4d; |
| tbl.glMultiTexCoord4dv = debug_glMultiTexCoord4dv; |
| tbl.glMultiTexCoord4f = debug_glMultiTexCoord4f; |
| tbl.glMultiTexCoord4fv = debug_glMultiTexCoord4fv; |
| tbl.glMultiTexCoord4i = debug_glMultiTexCoord4i; |
| tbl.glMultiTexCoord4iv = debug_glMultiTexCoord4iv; |
| tbl.glMultiTexCoord4s = debug_glMultiTexCoord4s; |
| tbl.glMultiTexCoord4sv = debug_glMultiTexCoord4sv; |
| tbl.glSampleCoverage = debug_glSampleCoverage; |
| |
| // GL_VERSION_1_4 |
| |
| tbl.glBlendFuncSeparate = debug_glBlendFuncSeparate; |
| tbl.glFogCoordPointer = debug_glFogCoordPointer; |
| tbl.glFogCoordd = debug_glFogCoordd; |
| tbl.glFogCoorddv = debug_glFogCoorddv; |
| tbl.glFogCoordf = debug_glFogCoordf; |
| tbl.glFogCoordfv = debug_glFogCoordfv; |
| tbl.glMultiDrawArrays = debug_glMultiDrawArrays; |
| tbl.glMultiDrawElements = debug_glMultiDrawElements; |
| tbl.glPointParameterf = debug_glPointParameterf; |
| tbl.glPointParameterfv = debug_glPointParameterfv; |
| tbl.glPointParameteri = debug_glPointParameteri; |
| tbl.glPointParameteriv = debug_glPointParameteriv; |
| tbl.glSecondaryColor3b = debug_glSecondaryColor3b; |
| tbl.glSecondaryColor3bv = debug_glSecondaryColor3bv; |
| tbl.glSecondaryColor3d = debug_glSecondaryColor3d; |
| tbl.glSecondaryColor3dv = debug_glSecondaryColor3dv; |
| tbl.glSecondaryColor3f = debug_glSecondaryColor3f; |
| tbl.glSecondaryColor3fv = debug_glSecondaryColor3fv; |
| tbl.glSecondaryColor3i = debug_glSecondaryColor3i; |
| tbl.glSecondaryColor3iv = debug_glSecondaryColor3iv; |
| tbl.glSecondaryColor3s = debug_glSecondaryColor3s; |
| tbl.glSecondaryColor3sv = debug_glSecondaryColor3sv; |
| tbl.glSecondaryColor3ub = debug_glSecondaryColor3ub; |
| tbl.glSecondaryColor3ubv = debug_glSecondaryColor3ubv; |
| tbl.glSecondaryColor3ui = debug_glSecondaryColor3ui; |
| tbl.glSecondaryColor3uiv = debug_glSecondaryColor3uiv; |
| tbl.glSecondaryColor3us = debug_glSecondaryColor3us; |
| tbl.glSecondaryColor3usv = debug_glSecondaryColor3usv; |
| tbl.glSecondaryColorPointer = debug_glSecondaryColorPointer; |
| tbl.glWindowPos2d = debug_glWindowPos2d; |
| tbl.glWindowPos2dv = debug_glWindowPos2dv; |
| tbl.glWindowPos2f = debug_glWindowPos2f; |
| tbl.glWindowPos2fv = debug_glWindowPos2fv; |
| tbl.glWindowPos2i = debug_glWindowPos2i; |
| tbl.glWindowPos2iv = debug_glWindowPos2iv; |
| tbl.glWindowPos2s = debug_glWindowPos2s; |
| tbl.glWindowPos2sv = debug_glWindowPos2sv; |
| tbl.glWindowPos3d = debug_glWindowPos3d; |
| tbl.glWindowPos3dv = debug_glWindowPos3dv; |
| tbl.glWindowPos3f = debug_glWindowPos3f; |
| tbl.glWindowPos3fv = debug_glWindowPos3fv; |
| tbl.glWindowPos3i = debug_glWindowPos3i; |
| tbl.glWindowPos3iv = debug_glWindowPos3iv; |
| tbl.glWindowPos3s = debug_glWindowPos3s; |
| tbl.glWindowPos3sv = debug_glWindowPos3sv; |
| |
| // GL_VERSION_1_5 |
| |
| tbl.glBeginQuery = debug_glBeginQuery; |
| tbl.glBindBuffer = debug_glBindBuffer; |
| tbl.glBufferData = debug_glBufferData; |
| tbl.glBufferSubData = debug_glBufferSubData; |
| tbl.glDeleteBuffers = debug_glDeleteBuffers; |
| tbl.glDeleteQueries = debug_glDeleteQueries; |
| tbl.glEndQuery = debug_glEndQuery; |
| tbl.glGenBuffers = debug_glGenBuffers; |
| tbl.glGenQueries = debug_glGenQueries; |
| tbl.glGetBufferParameteriv = debug_glGetBufferParameteriv; |
| tbl.glGetBufferPointerv = debug_glGetBufferPointerv; |
| tbl.glGetBufferSubData = debug_glGetBufferSubData; |
| tbl.glGetQueryObjectiv = debug_glGetQueryObjectiv; |
| tbl.glGetQueryObjectuiv = debug_glGetQueryObjectuiv; |
| tbl.glGetQueryiv = debug_glGetQueryiv; |
| tbl.glIsBuffer = debug_glIsBuffer; |
| tbl.glIsQuery = debug_glIsQuery; |
| tbl.glMapBuffer = debug_glMapBuffer; |
| tbl.glUnmapBuffer = debug_glUnmapBuffer; |
| |
| // GL_VERSION_2_0 |
| |
| tbl.glAttachShader = debug_glAttachShader; |
| tbl.glBindAttribLocation = debug_glBindAttribLocation; |
| tbl.glBlendEquationSeparate = debug_glBlendEquationSeparate; |
| tbl.glCompileShader = debug_glCompileShader; |
| tbl.glCreateProgram = debug_glCreateProgram; |
| tbl.glCreateShader = debug_glCreateShader; |
| tbl.glDeleteProgram = debug_glDeleteProgram; |
| tbl.glDeleteShader = debug_glDeleteShader; |
| tbl.glDetachShader = debug_glDetachShader; |
| tbl.glDisableVertexAttribArray = debug_glDisableVertexAttribArray; |
| tbl.glDrawBuffers = debug_glDrawBuffers; |
| tbl.glEnableVertexAttribArray = debug_glEnableVertexAttribArray; |
| tbl.glGetActiveAttrib = debug_glGetActiveAttrib; |
| tbl.glGetActiveUniform = debug_glGetActiveUniform; |
| tbl.glGetAttachedShaders = debug_glGetAttachedShaders; |
| tbl.glGetAttribLocation = debug_glGetAttribLocation; |
| tbl.glGetProgramInfoLog = debug_glGetProgramInfoLog; |
| tbl.glGetProgramiv = debug_glGetProgramiv; |
| tbl.glGetShaderInfoLog = debug_glGetShaderInfoLog; |
| tbl.glGetShaderSource = debug_glGetShaderSource; |
| tbl.glGetShaderiv = debug_glGetShaderiv; |
| tbl.glGetUniformLocation = debug_glGetUniformLocation; |
| tbl.glGetUniformfv = debug_glGetUniformfv; |
| tbl.glGetUniformiv = debug_glGetUniformiv; |
| tbl.glGetVertexAttribPointerv = debug_glGetVertexAttribPointerv; |
| tbl.glGetVertexAttribdv = debug_glGetVertexAttribdv; |
| tbl.glGetVertexAttribfv = debug_glGetVertexAttribfv; |
| tbl.glGetVertexAttribiv = debug_glGetVertexAttribiv; |
| tbl.glIsProgram = debug_glIsProgram; |
| tbl.glIsShader = debug_glIsShader; |
| tbl.glLinkProgram = debug_glLinkProgram; |
| tbl.glShaderSource = debug_glShaderSource; |
| tbl.glStencilFuncSeparate = debug_glStencilFuncSeparate; |
| tbl.glStencilMaskSeparate = debug_glStencilMaskSeparate; |
| tbl.glStencilOpSeparate = debug_glStencilOpSeparate; |
| tbl.glUniform1f = debug_glUniform1f; |
| tbl.glUniform1fv = debug_glUniform1fv; |
| tbl.glUniform1i = debug_glUniform1i; |
| tbl.glUniform1iv = debug_glUniform1iv; |
| tbl.glUniform2f = debug_glUniform2f; |
| tbl.glUniform2fv = debug_glUniform2fv; |
| tbl.glUniform2i = debug_glUniform2i; |
| tbl.glUniform2iv = debug_glUniform2iv; |
| tbl.glUniform3f = debug_glUniform3f; |
| tbl.glUniform3fv = debug_glUniform3fv; |
| tbl.glUniform3i = debug_glUniform3i; |
| tbl.glUniform3iv = debug_glUniform3iv; |
| tbl.glUniform4f = debug_glUniform4f; |
| tbl.glUniform4fv = debug_glUniform4fv; |
| tbl.glUniform4i = debug_glUniform4i; |
| tbl.glUniform4iv = debug_glUniform4iv; |
| tbl.glUniformMatrix2fv = debug_glUniformMatrix2fv; |
| tbl.glUniformMatrix3fv = debug_glUniformMatrix3fv; |
| tbl.glUniformMatrix4fv = debug_glUniformMatrix4fv; |
| tbl.glUseProgram = debug_glUseProgram; |
| tbl.glValidateProgram = debug_glValidateProgram; |
| tbl.glVertexAttrib1d = debug_glVertexAttrib1d; |
| tbl.glVertexAttrib1dv = debug_glVertexAttrib1dv; |
| tbl.glVertexAttrib1f = debug_glVertexAttrib1f; |
| tbl.glVertexAttrib1fv = debug_glVertexAttrib1fv; |
| tbl.glVertexAttrib1s = debug_glVertexAttrib1s; |
| tbl.glVertexAttrib1sv = debug_glVertexAttrib1sv; |
| tbl.glVertexAttrib2d = debug_glVertexAttrib2d; |
| tbl.glVertexAttrib2dv = debug_glVertexAttrib2dv; |
| tbl.glVertexAttrib2f = debug_glVertexAttrib2f; |
| tbl.glVertexAttrib2fv = debug_glVertexAttrib2fv; |
| tbl.glVertexAttrib2s = debug_glVertexAttrib2s; |
| tbl.glVertexAttrib2sv = debug_glVertexAttrib2sv; |
| tbl.glVertexAttrib3d = debug_glVertexAttrib3d; |
| tbl.glVertexAttrib3dv = debug_glVertexAttrib3dv; |
| tbl.glVertexAttrib3f = debug_glVertexAttrib3f; |
| tbl.glVertexAttrib3fv = debug_glVertexAttrib3fv; |
| tbl.glVertexAttrib3s = debug_glVertexAttrib3s; |
| tbl.glVertexAttrib3sv = debug_glVertexAttrib3sv; |
| tbl.glVertexAttrib4Nbv = debug_glVertexAttrib4Nbv; |
| tbl.glVertexAttrib4Niv = debug_glVertexAttrib4Niv; |
| tbl.glVertexAttrib4Nsv = debug_glVertexAttrib4Nsv; |
| tbl.glVertexAttrib4Nub = debug_glVertexAttrib4Nub; |
| tbl.glVertexAttrib4Nubv = debug_glVertexAttrib4Nubv; |
| tbl.glVertexAttrib4Nuiv = debug_glVertexAttrib4Nuiv; |
| tbl.glVertexAttrib4Nusv = debug_glVertexAttrib4Nusv; |
| tbl.glVertexAttrib4bv = debug_glVertexAttrib4bv; |
| tbl.glVertexAttrib4d = debug_glVertexAttrib4d; |
| tbl.glVertexAttrib4dv = debug_glVertexAttrib4dv; |
| tbl.glVertexAttrib4f = debug_glVertexAttrib4f; |
| tbl.glVertexAttrib4fv = debug_glVertexAttrib4fv; |
| tbl.glVertexAttrib4iv = debug_glVertexAttrib4iv; |
| tbl.glVertexAttrib4s = debug_glVertexAttrib4s; |
| tbl.glVertexAttrib4sv = debug_glVertexAttrib4sv; |
| tbl.glVertexAttrib4ubv = debug_glVertexAttrib4ubv; |
| tbl.glVertexAttrib4uiv = debug_glVertexAttrib4uiv; |
| tbl.glVertexAttrib4usv = debug_glVertexAttrib4usv; |
| tbl.glVertexAttribPointer = debug_glVertexAttribPointer; |
| |
| // GL_VERSION_2_1 |
| |
| tbl.glUniformMatrix2x3fv = debug_glUniformMatrix2x3fv; |
| tbl.glUniformMatrix2x4fv = debug_glUniformMatrix2x4fv; |
| tbl.glUniformMatrix3x2fv = debug_glUniformMatrix3x2fv; |
| tbl.glUniformMatrix3x4fv = debug_glUniformMatrix3x4fv; |
| tbl.glUniformMatrix4x2fv = debug_glUniformMatrix4x2fv; |
| tbl.glUniformMatrix4x3fv = debug_glUniformMatrix4x3fv; |
| |
| // GL_VERSION_3_0 |
| |
| tbl.glBeginConditionalRender = debug_glBeginConditionalRender; |
| tbl.glBeginTransformFeedback = debug_glBeginTransformFeedback; |
| tbl.glBindFragDataLocation = debug_glBindFragDataLocation; |
| tbl.glClampColor = debug_glClampColor; |
| tbl.glClearBufferfi = debug_glClearBufferfi; |
| tbl.glClearBufferfv = debug_glClearBufferfv; |
| tbl.glClearBufferiv = debug_glClearBufferiv; |
| tbl.glClearBufferuiv = debug_glClearBufferuiv; |
| tbl.glColorMaski = debug_glColorMaski; |
| tbl.glDisablei = debug_glDisablei; |
| tbl.glEnablei = debug_glEnablei; |
| tbl.glEndConditionalRender = debug_glEndConditionalRender; |
| tbl.glEndTransformFeedback = debug_glEndTransformFeedback; |
| tbl.glGetBooleani_v = debug_glGetBooleani_v; |
| tbl.glGetFragDataLocation = debug_glGetFragDataLocation; |
| tbl.glGetStringi = debug_glGetStringi; |
| tbl.glGetTexParameterIiv = debug_glGetTexParameterIiv; |
| tbl.glGetTexParameterIuiv = debug_glGetTexParameterIuiv; |
| tbl.glGetTransformFeedbackVarying = debug_glGetTransformFeedbackVarying; |
| tbl.glGetUniformuiv = debug_glGetUniformuiv; |
| tbl.glGetVertexAttribIiv = debug_glGetVertexAttribIiv; |
| tbl.glGetVertexAttribIuiv = debug_glGetVertexAttribIuiv; |
| tbl.glIsEnabledi = debug_glIsEnabledi; |
| tbl.glTexParameterIiv = debug_glTexParameterIiv; |
| tbl.glTexParameterIuiv = debug_glTexParameterIuiv; |
| tbl.glTransformFeedbackVaryings = debug_glTransformFeedbackVaryings; |
| tbl.glUniform1ui = debug_glUniform1ui; |
| tbl.glUniform1uiv = debug_glUniform1uiv; |
| tbl.glUniform2ui = debug_glUniform2ui; |
| tbl.glUniform2uiv = debug_glUniform2uiv; |
| tbl.glUniform3ui = debug_glUniform3ui; |
| tbl.glUniform3uiv = debug_glUniform3uiv; |
| tbl.glUniform4ui = debug_glUniform4ui; |
| tbl.glUniform4uiv = debug_glUniform4uiv; |
| tbl.glVertexAttribI1i = debug_glVertexAttribI1i; |
| tbl.glVertexAttribI1iv = debug_glVertexAttribI1iv; |
| tbl.glVertexAttribI1ui = debug_glVertexAttribI1ui; |
| tbl.glVertexAttribI1uiv = debug_glVertexAttribI1uiv; |
| tbl.glVertexAttribI2i = debug_glVertexAttribI2i; |
| tbl.glVertexAttribI2iv = debug_glVertexAttribI2iv; |
| tbl.glVertexAttribI2ui = debug_glVertexAttribI2ui; |
| tbl.glVertexAttribI2uiv = debug_glVertexAttribI2uiv; |
| tbl.glVertexAttribI3i = debug_glVertexAttribI3i; |
| tbl.glVertexAttribI3iv = debug_glVertexAttribI3iv; |
| tbl.glVertexAttribI3ui = debug_glVertexAttribI3ui; |
| tbl.glVertexAttribI3uiv = debug_glVertexAttribI3uiv; |
| tbl.glVertexAttribI4bv = debug_glVertexAttribI4bv; |
| tbl.glVertexAttribI4i = debug_glVertexAttribI4i; |
| tbl.glVertexAttribI4iv = debug_glVertexAttribI4iv; |
| tbl.glVertexAttribI4sv = debug_glVertexAttribI4sv; |
| tbl.glVertexAttribI4ubv = debug_glVertexAttribI4ubv; |
| tbl.glVertexAttribI4ui = debug_glVertexAttribI4ui; |
| tbl.glVertexAttribI4uiv = debug_glVertexAttribI4uiv; |
| tbl.glVertexAttribI4usv = debug_glVertexAttribI4usv; |
| tbl.glVertexAttribIPointer = debug_glVertexAttribIPointer; |
| |
| // GL_VERSION_3_1 |
| |
| tbl.glDrawArraysInstanced = debug_glDrawArraysInstanced; |
| tbl.glDrawElementsInstanced = debug_glDrawElementsInstanced; |
| tbl.glPrimitiveRestartIndex = debug_glPrimitiveRestartIndex; |
| tbl.glTexBuffer = debug_glTexBuffer; |
| |
| // GL_VERSION_3_2 |
| |
| tbl.glFramebufferTexture = debug_glFramebufferTexture; |
| tbl.glGetBufferParameteri64v = debug_glGetBufferParameteri64v; |
| tbl.glGetInteger64i_v = debug_glGetInteger64i_v; |
| |
| // GL_VERSION_3_3 |
| |
| tbl.glVertexAttribDivisor = debug_glVertexAttribDivisor; |
| |
| // GL_VERSION_4_0 |
| |
| tbl.glBlendEquationSeparatei = debug_glBlendEquationSeparatei; |
| tbl.glBlendEquationi = debug_glBlendEquationi; |
| tbl.glBlendFuncSeparatei = debug_glBlendFuncSeparatei; |
| tbl.glBlendFunci = debug_glBlendFunci; |
| |
| // GL_3DFX_tbuffer |
| |
| tbl.glTbufferMask3DFX = debug_glTbufferMask3DFX; |
| |
| // GL_AMD_debug_output |
| |
| tbl.glDebugMessageCallbackAMD = debug_glDebugMessageCallbackAMD; |
| tbl.glDebugMessageEnableAMD = debug_glDebugMessageEnableAMD; |
| tbl.glDebugMessageInsertAMD = debug_glDebugMessageInsertAMD; |
| tbl.glGetDebugMessageLogAMD = debug_glGetDebugMessageLogAMD; |
| |
| // GL_AMD_draw_buffers_blend |
| |
| tbl.glBlendEquationIndexedAMD = debug_glBlendEquationIndexedAMD; |
| tbl.glBlendEquationSeparateIndexedAMD = debug_glBlendEquationSeparateIndexedAMD; |
| tbl.glBlendFuncIndexedAMD = debug_glBlendFuncIndexedAMD; |
| tbl.glBlendFuncSeparateIndexedAMD = debug_glBlendFuncSeparateIndexedAMD; |
| |
| // GL_AMD_interleaved_elements |
| |
| tbl.glVertexAttribParameteriAMD = debug_glVertexAttribParameteriAMD; |
| |
| // GL_AMD_multi_draw_indirect |
| |
| tbl.glMultiDrawArraysIndirectAMD = debug_glMultiDrawArraysIndirectAMD; |
| tbl.glMultiDrawElementsIndirectAMD = debug_glMultiDrawElementsIndirectAMD; |
| |
| // GL_AMD_name_gen_delete |
| |
| tbl.glDeleteNamesAMD = debug_glDeleteNamesAMD; |
| tbl.glGenNamesAMD = debug_glGenNamesAMD; |
| tbl.glIsNameAMD = debug_glIsNameAMD; |
| |
| // GL_AMD_performance_monitor |
| |
| tbl.glBeginPerfMonitorAMD = debug_glBeginPerfMonitorAMD; |
| tbl.glDeletePerfMonitorsAMD = debug_glDeletePerfMonitorsAMD; |
| tbl.glEndPerfMonitorAMD = debug_glEndPerfMonitorAMD; |
| tbl.glGenPerfMonitorsAMD = debug_glGenPerfMonitorsAMD; |
| tbl.glGetPerfMonitorCounterDataAMD = debug_glGetPerfMonitorCounterDataAMD; |
| tbl.glGetPerfMonitorCounterInfoAMD = debug_glGetPerfMonitorCounterInfoAMD; |
| tbl.glGetPerfMonitorCounterStringAMD = debug_glGetPerfMonitorCounterStringAMD; |
| tbl.glGetPerfMonitorCountersAMD = debug_glGetPerfMonitorCountersAMD; |
| tbl.glGetPerfMonitorGroupStringAMD = debug_glGetPerfMonitorGroupStringAMD; |
| tbl.glGetPerfMonitorGroupsAMD = debug_glGetPerfMonitorGroupsAMD; |
| tbl.glSelectPerfMonitorCountersAMD = debug_glSelectPerfMonitorCountersAMD; |
| |
| // GL_AMD_sample_positions |
| |
| tbl.glSetMultisamplefvAMD = debug_glSetMultisamplefvAMD; |
| |
| // GL_AMD_sparse_texture |
| |
| tbl.glTexStorageSparseAMD = debug_glTexStorageSparseAMD; |
| tbl.glTextureStorageSparseAMD = debug_glTextureStorageSparseAMD; |
| |
| // GL_AMD_stencil_operation_extended |
| |
| tbl.glStencilOpValueAMD = debug_glStencilOpValueAMD; |
| |
| // GL_AMD_vertex_shader_tessellator |
| |
| tbl.glTessellationFactorAMD = debug_glTessellationFactorAMD; |
| tbl.glTessellationModeAMD = debug_glTessellationModeAMD; |
| |
| // GL_ANGLE_framebuffer_blit |
| |
| tbl.glBlitFramebufferANGLE = debug_glBlitFramebufferANGLE; |
| |
| // GL_ANGLE_framebuffer_multisample |
| |
| tbl.glRenderbufferStorageMultisampleANGLE = debug_glRenderbufferStorageMultisampleANGLE; |
| |
| // GL_ANGLE_instanced_arrays |
| |
| tbl.glDrawArraysInstancedANGLE = debug_glDrawArraysInstancedANGLE; |
| tbl.glDrawElementsInstancedANGLE = debug_glDrawElementsInstancedANGLE; |
| tbl.glVertexAttribDivisorANGLE = debug_glVertexAttribDivisorANGLE; |
| |
| // GL_ANGLE_timer_query |
| |
| tbl.glBeginQueryANGLE = debug_glBeginQueryANGLE; |
| tbl.glDeleteQueriesANGLE = debug_glDeleteQueriesANGLE; |
| tbl.glEndQueryANGLE = debug_glEndQueryANGLE; |
| tbl.glGenQueriesANGLE = debug_glGenQueriesANGLE; |
| tbl.glGetQueryObjecti64vANGLE = debug_glGetQueryObjecti64vANGLE; |
| tbl.glGetQueryObjectivANGLE = debug_glGetQueryObjectivANGLE; |
| tbl.glGetQueryObjectui64vANGLE = debug_glGetQueryObjectui64vANGLE; |
| tbl.glGetQueryObjectuivANGLE = debug_glGetQueryObjectuivANGLE; |
| tbl.glGetQueryivANGLE = debug_glGetQueryivANGLE; |
| tbl.glIsQueryANGLE = debug_glIsQueryANGLE; |
| tbl.glQueryCounterANGLE = debug_glQueryCounterANGLE; |
| |
| // GL_ANGLE_translated_shader_source |
| |
| tbl.glGetTranslatedShaderSourceANGLE = debug_glGetTranslatedShaderSourceANGLE; |
| |
| // GL_APPLE_copy_texture_levels |
| |
| tbl.glCopyTextureLevelsAPPLE = debug_glCopyTextureLevelsAPPLE; |
| |
| // GL_APPLE_element_array |
| |
| tbl.glDrawElementArrayAPPLE = debug_glDrawElementArrayAPPLE; |
| tbl.glDrawRangeElementArrayAPPLE = debug_glDrawRangeElementArrayAPPLE; |
| tbl.glElementPointerAPPLE = debug_glElementPointerAPPLE; |
| tbl.glMultiDrawElementArrayAPPLE = debug_glMultiDrawElementArrayAPPLE; |
| tbl.glMultiDrawRangeElementArrayAPPLE = debug_glMultiDrawRangeElementArrayAPPLE; |
| |
| // GL_APPLE_fence |
| |
| tbl.glDeleteFencesAPPLE = debug_glDeleteFencesAPPLE; |
| tbl.glFinishFenceAPPLE = debug_glFinishFenceAPPLE; |
| tbl.glFinishObjectAPPLE = debug_glFinishObjectAPPLE; |
| tbl.glGenFencesAPPLE = debug_glGenFencesAPPLE; |
| tbl.glIsFenceAPPLE = debug_glIsFenceAPPLE; |
| tbl.glSetFenceAPPLE = debug_glSetFenceAPPLE; |
| tbl.glTestFenceAPPLE = debug_glTestFenceAPPLE; |
| tbl.glTestObjectAPPLE = debug_glTestObjectAPPLE; |
| |
| // GL_APPLE_flush_buffer_range |
| |
| tbl.glBufferParameteriAPPLE = debug_glBufferParameteriAPPLE; |
| tbl.glFlushMappedBufferRangeAPPLE = debug_glFlushMappedBufferRangeAPPLE; |
| |
| // GL_APPLE_flush_render |
| |
| tbl.glFinishRenderAPPLE = debug_glFinishRenderAPPLE; |
| tbl.glFlushRenderAPPLE = debug_glFlushRenderAPPLE; |
| tbl.glSwapAPPLE = debug_glSwapAPPLE; |
| |
| // GL_APPLE_framebuffer_multisample |
| |
| tbl.glRenderbufferStorageMultisampleAPPLE = debug_glRenderbufferStorageMultisampleAPPLE; |
| tbl.glResolveMultisampleFramebufferAPPLE = debug_glResolveMultisampleFramebufferAPPLE; |
| |
| // GL_APPLE_object_purgeable |
| |
| tbl.glGetObjectParameterivAPPLE = debug_glGetObjectParameterivAPPLE; |
| tbl.glObjectPurgeableAPPLE = debug_glObjectPurgeableAPPLE; |
| tbl.glObjectUnpurgeableAPPLE = debug_glObjectUnpurgeableAPPLE; |
| |
| // GL_APPLE_sync |
| |
| tbl.glClientWaitSyncAPPLE = debug_glClientWaitSyncAPPLE; |
| tbl.glDeleteSyncAPPLE = debug_glDeleteSyncAPPLE; |
| tbl.glFenceSyncAPPLE = debug_glFenceSyncAPPLE; |
| tbl.glGetInteger64vAPPLE = debug_glGetInteger64vAPPLE; |
| tbl.glGetSyncivAPPLE = debug_glGetSyncivAPPLE; |
| tbl.glIsSyncAPPLE = debug_glIsSyncAPPLE; |
| tbl.glWaitSyncAPPLE = debug_glWaitSyncAPPLE; |
| |
| // GL_APPLE_texture_range |
| |
| tbl.glGetTexParameterPointervAPPLE = debug_glGetTexParameterPointervAPPLE; |
| tbl.glTextureRangeAPPLE = debug_glTextureRangeAPPLE; |
| |
| // GL_APPLE_vertex_array_object |
| |
| tbl.glBindVertexArrayAPPLE = debug_glBindVertexArrayAPPLE; |
| tbl.glDeleteVertexArraysAPPLE = debug_glDeleteVertexArraysAPPLE; |
| tbl.glGenVertexArraysAPPLE = debug_glGenVertexArraysAPPLE; |
| tbl.glIsVertexArrayAPPLE = debug_glIsVertexArrayAPPLE; |
| |
| // GL_APPLE_vertex_array_range |
| |
| tbl.glFlushVertexArrayRangeAPPLE = debug_glFlushVertexArrayRangeAPPLE; |
| tbl.glVertexArrayParameteriAPPLE = debug_glVertexArrayParameteriAPPLE; |
| tbl.glVertexArrayRangeAPPLE = debug_glVertexArrayRangeAPPLE; |
| |
| // GL_APPLE_vertex_program_evaluators |
| |
| tbl.glDisableVertexAttribAPPLE = debug_glDisableVertexAttribAPPLE; |
| tbl.glEnableVertexAttribAPPLE = debug_glEnableVertexAttribAPPLE; |
| tbl.glIsVertexAttribEnabledAPPLE = debug_glIsVertexAttribEnabledAPPLE; |
| tbl.glMapVertexAttrib1dAPPLE = debug_glMapVertexAttrib1dAPPLE; |
| tbl.glMapVertexAttrib1fAPPLE = debug_glMapVertexAttrib1fAPPLE; |
| tbl.glMapVertexAttrib2dAPPLE = debug_glMapVertexAttrib2dAPPLE; |
| tbl.glMapVertexAttrib2fAPPLE = debug_glMapVertexAttrib2fAPPLE; |
| |
| // GL_ARB_ES2_compatibility |
| |
| tbl.glClearDepthf = debug_glClearDepthf; |
| tbl.glDepthRangef = debug_glDepthRangef; |
| tbl.glGetShaderPrecisionFormat = debug_glGetShaderPrecisionFormat; |
| tbl.glReleaseShaderCompiler = debug_glReleaseShaderCompiler; |
| tbl.glShaderBinary = debug_glShaderBinary; |
| |
| // GL_ARB_base_instance |
| |
| tbl.glDrawArraysInstancedBaseInstance = debug_glDrawArraysInstancedBaseInstance; |
| tbl.glDrawElementsInstancedBaseInstance = debug_glDrawElementsInstancedBaseInstance; |
| tbl.glDrawElementsInstancedBaseVertexBaseInstance = debug_glDrawElementsInstancedBaseVertexBaseInstance; |
| |
| // GL_ARB_bindless_texture |
| |
| tbl.glGetImageHandleARB = debug_glGetImageHandleARB; |
| tbl.glGetTextureHandleARB = debug_glGetTextureHandleARB; |
| tbl.glGetTextureSamplerHandleARB = debug_glGetTextureSamplerHandleARB; |
| tbl.glGetVertexAttribLui64vARB = debug_glGetVertexAttribLui64vARB; |
| tbl.glIsImageHandleResidentARB = debug_glIsImageHandleResidentARB; |
| tbl.glIsTextureHandleResidentARB = debug_glIsTextureHandleResidentARB; |
| tbl.glMakeImageHandleNonResidentARB = debug_glMakeImageHandleNonResidentARB; |
| tbl.glMakeImageHandleResidentARB = debug_glMakeImageHandleResidentARB; |
| tbl.glMakeTextureHandleNonResidentARB = debug_glMakeTextureHandleNonResidentARB; |
| tbl.glMakeTextureHandleResidentARB = debug_glMakeTextureHandleResidentARB; |
| tbl.glProgramUniformHandleui64ARB = debug_glProgramUniformHandleui64ARB; |
| tbl.glProgramUniformHandleui64vARB = debug_glProgramUniformHandleui64vARB; |
| tbl.glUniformHandleui64ARB = debug_glUniformHandleui64ARB; |
| tbl.glUniformHandleui64vARB = debug_glUniformHandleui64vARB; |
| tbl.glVertexAttribL1ui64ARB = debug_glVertexAttribL1ui64ARB; |
| tbl.glVertexAttribL1ui64vARB = debug_glVertexAttribL1ui64vARB; |
| |
| // GL_ARB_blend_func_extended |
| |
| tbl.glBindFragDataLocationIndexed = debug_glBindFragDataLocationIndexed; |
| tbl.glGetFragDataIndex = debug_glGetFragDataIndex; |
| |
| // GL_ARB_buffer_storage |
| |
| tbl.glBufferStorage = debug_glBufferStorage; |
| tbl.glNamedBufferStorageEXT = debug_glNamedBufferStorageEXT; |
| |
| // GL_ARB_cl_event |
| |
| tbl.glCreateSyncFromCLeventARB = debug_glCreateSyncFromCLeventARB; |
| |
| // GL_ARB_clear_buffer_object |
| |
| tbl.glClearBufferData = debug_glClearBufferData; |
| tbl.glClearBufferSubData = debug_glClearBufferSubData; |
| tbl.glClearNamedBufferDataEXT = debug_glClearNamedBufferDataEXT; |
| tbl.glClearNamedBufferSubDataEXT = debug_glClearNamedBufferSubDataEXT; |
| |
| // GL_ARB_clear_texture |
| |
| tbl.glClearTexImage = debug_glClearTexImage; |
| tbl.glClearTexSubImage = debug_glClearTexSubImage; |
| |
| // GL_ARB_color_buffer_float |
| |
| tbl.glClampColorARB = debug_glClampColorARB; |
| |
| // GL_ARB_compute_shader |
| |
| tbl.glDispatchCompute = debug_glDispatchCompute; |
| tbl.glDispatchComputeIndirect = debug_glDispatchComputeIndirect; |
| |
| // GL_ARB_compute_variable_group_size |
| |
| tbl.glDispatchComputeGroupSizeARB = debug_glDispatchComputeGroupSizeARB; |
| |
| // GL_ARB_copy_buffer |
| |
| tbl.glCopyBufferSubData = debug_glCopyBufferSubData; |
| |
| // GL_ARB_copy_image |
| |
| tbl.glCopyImageSubData = debug_glCopyImageSubData; |
| |
| // GL_ARB_debug_output |
| |
| tbl.glDebugMessageCallbackARB = debug_glDebugMessageCallbackARB; |
| tbl.glDebugMessageControlARB = debug_glDebugMessageControlARB; |
| tbl.glDebugMessageInsertARB = debug_glDebugMessageInsertARB; |
| tbl.glGetDebugMessageLogARB = debug_glGetDebugMessageLogARB; |
| |
| // GL_ARB_draw_buffers |
| |
| tbl.glDrawBuffersARB = debug_glDrawBuffersARB; |
| |
| // GL_ARB_draw_buffers_blend |
| |
| tbl.glBlendEquationSeparateiARB = debug_glBlendEquationSeparateiARB; |
| tbl.glBlendEquationiARB = debug_glBlendEquationiARB; |
| tbl.glBlendFuncSeparateiARB = debug_glBlendFuncSeparateiARB; |
| tbl.glBlendFunciARB = debug_glBlendFunciARB; |
| |
| // GL_ARB_draw_elements_base_vertex |
| |
| tbl.glDrawElementsBaseVertex = debug_glDrawElementsBaseVertex; |
| tbl.glDrawElementsInstancedBaseVertex = debug_glDrawElementsInstancedBaseVertex; |
| tbl.glDrawRangeElementsBaseVertex = debug_glDrawRangeElementsBaseVertex; |
| tbl.glMultiDrawElementsBaseVertex = debug_glMultiDrawElementsBaseVertex; |
| |
| // GL_ARB_draw_indirect |
| |
| tbl.glDrawArraysIndirect = debug_glDrawArraysIndirect; |
| tbl.glDrawElementsIndirect = debug_glDrawElementsIndirect; |
| |
| // GL_ARB_draw_instanced |
| |
| tbl.glDrawArraysInstancedARB = debug_glDrawArraysInstancedARB; |
| tbl.glDrawElementsInstancedARB = debug_glDrawElementsInstancedARB; |
| |
| // GL_ARB_framebuffer_no_attachments |
| |
| tbl.glFramebufferParameteri = debug_glFramebufferParameteri; |
| tbl.glGetFramebufferParameteriv = debug_glGetFramebufferParameteriv; |
| tbl.glGetNamedFramebufferParameterivEXT = debug_glGetNamedFramebufferParameterivEXT; |
| tbl.glNamedFramebufferParameteriEXT = debug_glNamedFramebufferParameteriEXT; |
| |
| // GL_ARB_framebuffer_object |
| |
| tbl.glBindFramebuffer = debug_glBindFramebuffer; |
| tbl.glBindRenderbuffer = debug_glBindRenderbuffer; |
| tbl.glBlitFramebuffer = debug_glBlitFramebuffer; |
| tbl.glCheckFramebufferStatus = debug_glCheckFramebufferStatus; |
| tbl.glDeleteFramebuffers = debug_glDeleteFramebuffers; |
| tbl.glDeleteRenderbuffers = debug_glDeleteRenderbuffers; |
| tbl.glFramebufferRenderbuffer = debug_glFramebufferRenderbuffer; |
| tbl.glFramebufferTexture1D = debug_glFramebufferTexture1D; |
| tbl.glFramebufferTexture2D = debug_glFramebufferTexture2D; |
| tbl.glFramebufferTexture3D = debug_glFramebufferTexture3D; |
| tbl.glFramebufferTextureLayer = debug_glFramebufferTextureLayer; |
| tbl.glGenFramebuffers = debug_glGenFramebuffers; |
| tbl.glGenRenderbuffers = debug_glGenRenderbuffers; |
| tbl.glGenerateMipmap = debug_glGenerateMipmap; |
| tbl.glGetFramebufferAttachmentParameteriv = debug_glGetFramebufferAttachmentParameteriv; |
| tbl.glGetRenderbufferParameteriv = debug_glGetRenderbufferParameteriv; |
| tbl.glIsFramebuffer = debug_glIsFramebuffer; |
| tbl.glIsRenderbuffer = debug_glIsRenderbuffer; |
| tbl.glRenderbufferStorage = debug_glRenderbufferStorage; |
| tbl.glRenderbufferStorageMultisample = debug_glRenderbufferStorageMultisample; |
| |
| // GL_ARB_geometry_shader4 |
| |
| tbl.glFramebufferTextureARB = debug_glFramebufferTextureARB; |
| tbl.glFramebufferTextureFaceARB = debug_glFramebufferTextureFaceARB; |
| tbl.glFramebufferTextureLayerARB = debug_glFramebufferTextureLayerARB; |
| tbl.glProgramParameteriARB = debug_glProgramParameteriARB; |
| |
| // GL_ARB_get_program_binary |
| |
| tbl.glGetProgramBinary = debug_glGetProgramBinary; |
| tbl.glProgramBinary = debug_glProgramBinary; |
| tbl.glProgramParameteri = debug_glProgramParameteri; |
| |
| // GL_ARB_gpu_shader_fp64 |
| |
| tbl.glGetUniformdv = debug_glGetUniformdv; |
| tbl.glUniform1d = debug_glUniform1d; |
| tbl.glUniform1dv = debug_glUniform1dv; |
| tbl.glUniform2d = debug_glUniform2d; |
| tbl.glUniform2dv = debug_glUniform2dv; |
| tbl.glUniform3d = debug_glUniform3d; |
| tbl.glUniform3dv = debug_glUniform3dv; |
| tbl.glUniform4d = debug_glUniform4d; |
| tbl.glUniform4dv = debug_glUniform4dv; |
| tbl.glUniformMatrix2dv = debug_glUniformMatrix2dv; |
| tbl.glUniformMatrix2x3dv = debug_glUniformMatrix2x3dv; |
| tbl.glUniformMatrix2x4dv = debug_glUniformMatrix2x4dv; |
| tbl.glUniformMatrix3dv = debug_glUniformMatrix3dv; |
| tbl.glUniformMatrix3x2dv = debug_glUniformMatrix3x2dv; |
| tbl.glUniformMatrix3x4dv = debug_glUniformMatrix3x4dv; |
| tbl.glUniformMatrix4dv = debug_glUniformMatrix4dv; |
| tbl.glUniformMatrix4x2dv = debug_glUniformMatrix4x2dv; |
| tbl.glUniformMatrix4x3dv = debug_glUniformMatrix4x3dv; |
| |
| // GL_ARB_imaging |
| |
| tbl.glColorSubTable = debug_glColorSubTable; |
| tbl.glColorTable = debug_glColorTable; |
| tbl.glColorTableParameterfv = debug_glColorTableParameterfv; |
| tbl.glColorTableParameteriv = debug_glColorTableParameteriv; |
| tbl.glConvolutionFilter1D = debug_glConvolutionFilter1D; |
| tbl.glConvolutionFilter2D = debug_glConvolutionFilter2D; |
| tbl.glConvolutionParameterf = debug_glConvolutionParameterf; |
| tbl.glConvolutionParameterfv = debug_glConvolutionParameterfv; |
| tbl.glConvolutionParameteri = debug_glConvolutionParameteri; |
| tbl.glConvolutionParameteriv = debug_glConvolutionParameteriv; |
| tbl.glCopyColorSubTable = debug_glCopyColorSubTable; |
| tbl.glCopyColorTable = debug_glCopyColorTable; |
| tbl.glCopyConvolutionFilter1D = debug_glCopyConvolutionFilter1D; |
| tbl.glCopyConvolutionFilter2D = debug_glCopyConvolutionFilter2D; |
| tbl.glGetColorTable = debug_glGetColorTable; |
| tbl.glGetColorTableParameterfv = debug_glGetColorTableParameterfv; |
| tbl.glGetColorTableParameteriv = debug_glGetColorTableParameteriv; |
| tbl.glGetConvolutionFilter = debug_glGetConvolutionFilter; |
| tbl.glGetConvolutionParameterfv = debug_glGetConvolutionParameterfv; |
| tbl.glGetConvolutionParameteriv = debug_glGetConvolutionParameteriv; |
| tbl.glGetHistogram = debug_glGetHistogram; |
| tbl.glGetHistogramParameterfv = debug_glGetHistogramParameterfv; |
| tbl.glGetHistogramParameteriv = debug_glGetHistogramParameteriv; |
| tbl.glGetMinmax = debug_glGetMinmax; |
| tbl.glGetMinmaxParameterfv = debug_glGetMinmaxParameterfv; |
| tbl.glGetMinmaxParameteriv = debug_glGetMinmaxParameteriv; |
| tbl.glGetSeparableFilter = debug_glGetSeparableFilter; |
| tbl.glHistogram = debug_glHistogram; |
| tbl.glMinmax = debug_glMinmax; |
| tbl.glResetHistogram = debug_glResetHistogram; |
| tbl.glResetMinmax = debug_glResetMinmax; |
| tbl.glSeparableFilter2D = debug_glSeparableFilter2D; |
| |
| // GL_ARB_indirect_parameters |
| |
| tbl.glMultiDrawArraysIndirectCountARB = debug_glMultiDrawArraysIndirectCountARB; |
| tbl.glMultiDrawElementsIndirectCountARB = debug_glMultiDrawElementsIndirectCountARB; |
| |
| // GL_ARB_instanced_arrays |
| |
| tbl.glVertexAttribDivisorARB = debug_glVertexAttribDivisorARB; |
| |
| // GL_ARB_internalformat_query |
| |
| tbl.glGetInternalformativ = debug_glGetInternalformativ; |
| |
| // GL_ARB_internalformat_query2 |
| |
| tbl.glGetInternalformati64v = debug_glGetInternalformati64v; |
| |
| // GL_ARB_invalidate_subdata |
| |
| tbl.glInvalidateBufferData = debug_glInvalidateBufferData; |
| tbl.glInvalidateBufferSubData = debug_glInvalidateBufferSubData; |
| tbl.glInvalidateFramebuffer = debug_glInvalidateFramebuffer; |
| tbl.glInvalidateSubFramebuffer = debug_glInvalidateSubFramebuffer; |
| tbl.glInvalidateTexImage = debug_glInvalidateTexImage; |
| tbl.glInvalidateTexSubImage = debug_glInvalidateTexSubImage; |
| |
| // GL_ARB_map_buffer_range |
| |
| tbl.glFlushMappedBufferRange = debug_glFlushMappedBufferRange; |
| tbl.glMapBufferRange = debug_glMapBufferRange; |
| |
| // GL_ARB_matrix_palette |
| |
| tbl.glCurrentPaletteMatrixARB = debug_glCurrentPaletteMatrixARB; |
| tbl.glMatrixIndexPointerARB = debug_glMatrixIndexPointerARB; |
| tbl.glMatrixIndexubvARB = debug_glMatrixIndexubvARB; |
| tbl.glMatrixIndexuivARB = debug_glMatrixIndexuivARB; |
| tbl.glMatrixIndexusvARB = debug_glMatrixIndexusvARB; |
| |
| // GL_ARB_multi_bind |
| |
| tbl.glBindBuffersBase = debug_glBindBuffersBase; |
| tbl.glBindBuffersRange = debug_glBindBuffersRange; |
| tbl.glBindImageTextures = debug_glBindImageTextures; |
| tbl.glBindSamplers = debug_glBindSamplers; |
| tbl.glBindTextures = debug_glBindTextures; |
| tbl.glBindVertexBuffers = debug_glBindVertexBuffers; |
| |
| // GL_ARB_multi_draw_indirect |
| |
| tbl.glMultiDrawArraysIndirect = debug_glMultiDrawArraysIndirect; |
| tbl.glMultiDrawElementsIndirect = debug_glMultiDrawElementsIndirect; |
| |
| // GL_ARB_multisample |
| |
| tbl.glSampleCoverageARB = debug_glSampleCoverageARB; |
| |
| // GL_ARB_multitexture |
| |
| tbl.glActiveTextureARB = debug_glActiveTextureARB; |
| tbl.glClientActiveTextureARB = debug_glClientActiveTextureARB; |
| tbl.glMultiTexCoord1dARB = debug_glMultiTexCoord1dARB; |
| tbl.glMultiTexCoord1dvARB = debug_glMultiTexCoord1dvARB; |
| tbl.glMultiTexCoord1fARB = debug_glMultiTexCoord1fARB; |
| tbl.glMultiTexCoord1fvARB = debug_glMultiTexCoord1fvARB; |
| tbl.glMultiTexCoord1iARB = debug_glMultiTexCoord1iARB; |
| tbl.glMultiTexCoord1ivARB = debug_glMultiTexCoord1ivARB; |
| tbl.glMultiTexCoord1sARB = debug_glMultiTexCoord1sARB; |
| tbl.glMultiTexCoord1svARB = debug_glMultiTexCoord1svARB; |
| tbl.glMultiTexCoord2dARB = debug_glMultiTexCoord2dARB; |
| tbl.glMultiTexCoord2dvARB = debug_glMultiTexCoord2dvARB; |
| tbl.glMultiTexCoord2fARB = debug_glMultiTexCoord2fARB; |
| tbl.glMultiTexCoord2fvARB = debug_glMultiTexCoord2fvARB; |
| tbl.glMultiTexCoord2iARB = debug_glMultiTexCoord2iARB; |
| tbl.glMultiTexCoord2ivARB = debug_glMultiTexCoord2ivARB; |
| tbl.glMultiTexCoord2sARB = debug_glMultiTexCoord2sARB; |
| tbl.glMultiTexCoord2svARB = debug_glMultiTexCoord2svARB; |
| tbl.glMultiTexCoord3dARB = debug_glMultiTexCoord3dARB; |
| tbl.glMultiTexCoord3dvARB = debug_glMultiTexCoord3dvARB; |
| tbl.glMultiTexCoord3fARB = debug_glMultiTexCoord3fARB; |
| tbl.glMultiTexCoord3fvARB = debug_glMultiTexCoord3fvARB; |
| tbl.glMultiTexCoord3iARB = debug_glMultiTexCoord3iARB; |
| tbl.glMultiTexCoord3ivARB = debug_glMultiTexCoord3ivARB; |
| tbl.glMultiTexCoord3sARB = debug_glMultiTexCoord3sARB; |
| tbl.glMultiTexCoord3svARB = debug_glMultiTexCoord3svARB; |
| tbl.glMultiTexCoord4dARB = debug_glMultiTexCoord4dARB; |
| tbl.glMultiTexCoord4dvARB = debug_glMultiTexCoord4dvARB; |
| tbl.glMultiTexCoord4fARB = debug_glMultiTexCoord4fARB; |
| tbl.glMultiTexCoord4fvARB = debug_glMultiTexCoord4fvARB; |
| tbl.glMultiTexCoord4iARB = debug_glMultiTexCoord4iARB; |
| tbl.glMultiTexCoord4ivARB = debug_glMultiTexCoord4ivARB; |
| tbl.glMultiTexCoord4sARB = debug_glMultiTexCoord4sARB; |
| tbl.glMultiTexCoord4svARB = debug_glMultiTexCoord4svARB; |
| |
| // GL_ARB_occlusion_query |
| |
| tbl.glBeginQueryARB = debug_glBeginQueryARB; |
| tbl.glDeleteQueriesARB = debug_glDeleteQueriesARB; |
| tbl.glEndQueryARB = debug_glEndQueryARB; |
| tbl.glGenQueriesARB = debug_glGenQueriesARB; |
| tbl.glGetQueryObjectivARB = debug_glGetQueryObjectivARB; |
| tbl.glGetQueryObjectuivARB = debug_glGetQueryObjectuivARB; |
| tbl.glGetQueryivARB = debug_glGetQueryivARB; |
| tbl.glIsQueryARB = debug_glIsQueryARB; |
| |
| // GL_ARB_point_parameters |
| |
| tbl.glPointParameterfARB = debug_glPointParameterfARB; |
| tbl.glPointParameterfvARB = debug_glPointParameterfvARB; |
| |
| // GL_ARB_program_interface_query |
| |
| tbl.glGetProgramInterfaceiv = debug_glGetProgramInterfaceiv; |
| tbl.glGetProgramResourceIndex = debug_glGetProgramResourceIndex; |
| tbl.glGetProgramResourceLocation = debug_glGetProgramResourceLocation; |
| tbl.glGetProgramResourceLocationIndex = debug_glGetProgramResourceLocationIndex; |
| tbl.glGetProgramResourceName = debug_glGetProgramResourceName; |
| tbl.glGetProgramResourceiv = debug_glGetProgramResourceiv; |
| |
| // GL_ARB_provoking_vertex |
| |
| tbl.glProvokingVertex = debug_glProvokingVertex; |
| |
| // GL_ARB_robustness |
| |
| tbl.glGetGraphicsResetStatusARB = debug_glGetGraphicsResetStatusARB; |
| tbl.glGetnColorTableARB = debug_glGetnColorTableARB; |
| tbl.glGetnCompressedTexImageARB = debug_glGetnCompressedTexImageARB; |
| tbl.glGetnConvolutionFilterARB = debug_glGetnConvolutionFilterARB; |
| tbl.glGetnHistogramARB = debug_glGetnHistogramARB; |
| tbl.glGetnMapdvARB = debug_glGetnMapdvARB; |
| tbl.glGetnMapfvARB = debug_glGetnMapfvARB; |
| tbl.glGetnMapivARB = debug_glGetnMapivARB; |
| tbl.glGetnMinmaxARB = debug_glGetnMinmaxARB; |
| tbl.glGetnPixelMapfvARB = debug_glGetnPixelMapfvARB; |
| tbl.glGetnPixelMapuivARB = debug_glGetnPixelMapuivARB; |
| tbl.glGetnPixelMapusvARB = debug_glGetnPixelMapusvARB; |
| tbl.glGetnPolygonStippleARB = debug_glGetnPolygonStippleARB; |
| tbl.glGetnSeparableFilterARB = debug_glGetnSeparableFilterARB; |
| tbl.glGetnTexImageARB = debug_glGetnTexImageARB; |
| tbl.glGetnUniformdvARB = debug_glGetnUniformdvARB; |
| tbl.glGetnUniformfvARB = debug_glGetnUniformfvARB; |
| tbl.glGetnUniformivARB = debug_glGetnUniformivARB; |
| tbl.glGetnUniformuivARB = debug_glGetnUniformuivARB; |
| tbl.glReadnPixelsARB = debug_glReadnPixelsARB; |
| |
| // GL_ARB_sample_shading |
| |
| tbl.glMinSampleShading = debug_glMinSampleShading; |
| tbl.glMinSampleShadingARB = debug_glMinSampleShadingARB; |
| |
| // GL_ARB_sampler_objects |
| |
| tbl.glBindSampler = debug_glBindSampler; |
| tbl.glDeleteSamplers = debug_glDeleteSamplers; |
| tbl.glGenSamplers = debug_glGenSamplers; |
| tbl.glGetSamplerParameterIiv = debug_glGetSamplerParameterIiv; |
| tbl.glGetSamplerParameterIuiv = debug_glGetSamplerParameterIuiv; |
| tbl.glGetSamplerParameterfv = debug_glGetSamplerParameterfv; |
| tbl.glGetSamplerParameteriv = debug_glGetSamplerParameteriv; |
| tbl.glIsSampler = debug_glIsSampler; |
| tbl.glSamplerParameterIiv = debug_glSamplerParameterIiv; |
| tbl.glSamplerParameterIuiv = debug_glSamplerParameterIuiv; |
| tbl.glSamplerParameterf = debug_glSamplerParameterf; |
| tbl.glSamplerParameterfv = debug_glSamplerParameterfv; |
| tbl.glSamplerParameteri = debug_glSamplerParameteri; |
| tbl.glSamplerParameteriv = debug_glSamplerParameteriv; |
| |
| // GL_ARB_separate_shader_objects |
| |
| tbl.glActiveShaderProgram = debug_glActiveShaderProgram; |
| tbl.glBindProgramPipeline = debug_glBindProgramPipeline; |
| tbl.glCreateShaderProgramv = debug_glCreateShaderProgramv; |
| tbl.glDeleteProgramPipelines = debug_glDeleteProgramPipelines; |
| tbl.glGenProgramPipelines = debug_glGenProgramPipelines; |
| tbl.glGetProgramPipelineInfoLog = debug_glGetProgramPipelineInfoLog; |
| tbl.glGetProgramPipelineiv = debug_glGetProgramPipelineiv; |
| tbl.glIsProgramPipeline = debug_glIsProgramPipeline; |
| tbl.glProgramUniform1d = debug_glProgramUniform1d; |
| tbl.glProgramUniform1dv = debug_glProgramUniform1dv; |
| tbl.glProgramUniform1f = debug_glProgramUniform1f; |
| tbl.glProgramUniform1fv = debug_glProgramUniform1fv; |
| tbl.glProgramUniform1i = debug_glProgramUniform1i; |
| tbl.glProgramUniform1iv = debug_glProgramUniform1iv; |
| tbl.glProgramUniform1ui = debug_glProgramUniform1ui; |
| tbl.glProgramUniform1uiv = debug_glProgramUniform1uiv; |
| tbl.glProgramUniform2d = debug_glProgramUniform2d; |
| tbl.glProgramUniform2dv = debug_glProgramUniform2dv; |
| tbl.glProgramUniform2f = debug_glProgramUniform2f; |
| tbl.glProgramUniform2fv = debug_glProgramUniform2fv; |
| tbl.glProgramUniform2i = debug_glProgramUniform2i; |
| tbl.glProgramUniform2iv = debug_glProgramUniform2iv; |
| tbl.glProgramUniform2ui = debug_glProgramUniform2ui; |
| tbl.glProgramUniform2uiv = debug_glProgramUniform2uiv; |
| tbl.glProgramUniform3d = debug_glProgramUniform3d; |
| tbl.glProgramUniform3dv = debug_glProgramUniform3dv; |
| tbl.glProgramUniform3f = debug_glProgramUniform3f; |
| tbl.glProgramUniform3fv = debug_glProgramUniform3fv; |
| tbl.glProgramUniform3i = debug_glProgramUniform3i; |
| tbl.glProgramUniform3iv = debug_glProgramUniform3iv; |
| tbl.glProgramUniform3ui = debug_glProgramUniform3ui; |
| tbl.glProgramUniform3uiv = debug_glProgramUniform3uiv; |
| tbl.glProgramUniform4d = debug_glProgramUniform4d; |
| tbl.glProgramUniform4dv = debug_glProgramUniform4dv; |
| tbl.glProgramUniform4f = debug_glProgramUniform4f; |
| tbl.glProgramUniform4fv = debug_glProgramUniform4fv; |
| tbl.glProgramUniform4i = debug_glProgramUniform4i; |
| tbl.glProgramUniform4iv = debug_glProgramUniform4iv; |
| tbl.glProgramUniform4ui = debug_glProgramUniform4ui; |
| tbl.glProgramUniform4uiv = debug_glProgramUniform4uiv; |
| tbl.glProgramUniformMatrix2dv = debug_glProgramUniformMatrix2dv; |
| tbl.glProgramUniformMatrix2fv = debug_glProgramUniformMatrix2fv; |
| tbl.glProgramUniformMatrix2x3dv = debug_glProgramUniformMatrix2x3dv; |
| tbl.glProgramUniformMatrix2x3fv = debug_glProgramUniformMatrix2x3fv; |
| tbl.glProgramUniformMatrix2x4dv = debug_glProgramUniformMatrix2x4dv; |
| tbl.glProgramUniformMatrix2x4fv = debug_glProgramUniformMatrix2x4fv; |
| tbl.glProgramUniformMatrix3dv = debug_glProgramUniformMatrix3dv; |
| tbl.glProgramUniformMatrix3fv = debug_glProgramUniformMatrix3fv; |
| tbl.glProgramUniformMatrix3x2dv = debug_glProgramUniformMatrix3x2dv; |
| tbl.glProgramUniformMatrix3x2fv = debug_glProgramUniformMatrix3x2fv; |
| tbl.glProgramUniformMatrix3x4dv = debug_glProgramUniformMatrix3x4dv; |
| tbl.glProgramUniformMatrix3x4fv = debug_glProgramUniformMatrix3x4fv; |
| tbl.glProgramUniformMatrix4dv = debug_glProgramUniformMatrix4dv; |
| tbl.glProgramUniformMatrix4fv = debug_glProgramUniformMatrix4fv; |
| tbl.glProgramUniformMatrix4x2dv = debug_glProgramUniformMatrix4x2dv; |
| tbl.glProgramUniformMatrix4x2fv = debug_glProgramUniformMatrix4x2fv; |
| tbl.glProgramUniformMatrix4x3dv = debug_glProgramUniformMatrix4x3dv; |
| tbl.glProgramUniformMatrix4x3fv = debug_glProgramUniformMatrix4x3fv; |
| tbl.glUseProgramStages = debug_glUseProgramStages; |
| tbl.glValidateProgramPipeline = debug_glValidateProgramPipeline; |
| |
| // GL_ARB_shader_atomic_counters |
| |
| tbl.glGetActiveAtomicCounterBufferiv = debug_glGetActiveAtomicCounterBufferiv; |
| |
| // GL_ARB_shader_image_load_store |
| |
| tbl.glBindImageTexture = debug_glBindImageTexture; |
| tbl.glMemoryBarrier = debug_glMemoryBarrier; |
| |
| // GL_ARB_shader_objects |
| |
| tbl.glAttachObjectARB = debug_glAttachObjectARB; |
| tbl.glCompileShaderARB = debug_glCompileShaderARB; |
| tbl.glCreateProgramObjectARB = debug_glCreateProgramObjectARB; |
| tbl.glCreateShaderObjectARB = debug_glCreateShaderObjectARB; |
| tbl.glDeleteObjectARB = debug_glDeleteObjectARB; |
| tbl.glDetachObjectARB = debug_glDetachObjectARB; |
| tbl.glGetActiveUniformARB = debug_glGetActiveUniformARB; |
| tbl.glGetAttachedObjectsARB = debug_glGetAttachedObjectsARB; |
| tbl.glGetHandleARB = debug_glGetHandleARB; |
| tbl.glGetInfoLogARB = debug_glGetInfoLogARB; |
| tbl.glGetObjectParameterfvARB = debug_glGetObjectParameterfvARB; |
| tbl.glGetObjectParameterivARB = debug_glGetObjectParameterivARB; |
| tbl.glGetShaderSourceARB = debug_glGetShaderSourceARB; |
| tbl.glGetUniformLocationARB = debug_glGetUniformLocationARB; |
| tbl.glGetUniformfvARB = debug_glGetUniformfvARB; |
| tbl.glGetUniformivARB = debug_glGetUniformivARB; |
| tbl.glLinkProgramARB = debug_glLinkProgramARB; |
| tbl.glShaderSourceARB = debug_glShaderSourceARB; |
| tbl.glUniform1fARB = debug_glUniform1fARB; |
| tbl.glUniform1fvARB = debug_glUniform1fvARB; |
| tbl.glUniform1iARB = debug_glUniform1iARB; |
| tbl.glUniform1ivARB = debug_glUniform1ivARB; |
| tbl.glUniform2fARB = debug_glUniform2fARB; |
| tbl.glUniform2fvARB = debug_glUniform2fvARB; |
| tbl.glUniform2iARB = debug_glUniform2iARB; |
| tbl.glUniform2ivARB = debug_glUniform2ivARB; |
| tbl.glUniform3fARB = debug_glUniform3fARB; |
| tbl.glUniform3fvARB = debug_glUniform3fvARB; |
| tbl.glUniform3iARB = debug_glUniform3iARB; |
| tbl.glUniform3ivARB = debug_glUniform3ivARB; |
| tbl.glUniform4fARB = debug_glUniform4fARB; |
| tbl.glUniform4fvARB = debug_glUniform4fvARB; |
| tbl.glUniform4iARB = debug_glUniform4iARB; |
| tbl.glUniform4ivARB = debug_glUniform4ivARB; |
| tbl.glUniformMatrix2fvARB = debug_glUniformMatrix2fvARB; |
| tbl.glUniformMatrix3fvARB = debug_glUniformMatrix3fvARB; |
| tbl.glUniformMatrix4fvARB = debug_glUniformMatrix4fvARB; |
| tbl.glUseProgramObjectARB = debug_glUseProgramObjectARB; |
| tbl.glValidateProgramARB = debug_glValidateProgramARB; |
| |
| // GL_ARB_shader_storage_buffer_object |
| |
| tbl.glShaderStorageBlockBinding = debug_glShaderStorageBlockBinding; |
| |
| // GL_ARB_shader_subroutine |
| |
| tbl.glGetActiveSubroutineName = debug_glGetActiveSubroutineName; |
| tbl.glGetActiveSubroutineUniformName = debug_glGetActiveSubroutineUniformName; |
| tbl.glGetActiveSubroutineUniformiv = debug_glGetActiveSubroutineUniformiv; |
| tbl.glGetProgramStageiv = debug_glGetProgramStageiv; |
| tbl.glGetProgramSubroutineParameteruivNV = debug_glGetProgramSubroutineParameteruivNV; |
| tbl.glGetSubroutineIndex = debug_glGetSubroutineIndex; |
| tbl.glGetSubroutineUniformLocation = debug_glGetSubroutineUniformLocation; |
| tbl.glGetUniformSubroutineuiv = debug_glGetUniformSubroutineuiv; |
| tbl.glProgramSubroutineParametersuivNV = debug_glProgramSubroutineParametersuivNV; |
| tbl.glUniformSubroutinesuiv = debug_glUniformSubroutinesuiv; |
| |
| // GL_ARB_shading_language_include |
| |
| tbl.glCompileShaderIncludeARB = debug_glCompileShaderIncludeARB; |
| tbl.glDeleteNamedStringARB = debug_glDeleteNamedStringARB; |
| tbl.glGetNamedStringARB = debug_glGetNamedStringARB; |
| tbl.glGetNamedStringivARB = debug_glGetNamedStringivARB; |
| tbl.glIsNamedStringARB = debug_glIsNamedStringARB; |
| tbl.glNamedStringARB = debug_glNamedStringARB; |
| |
| // GL_ARB_sparse_texture |
| |
| tbl.glTexPageCommitmentARB = debug_glTexPageCommitmentARB; |
| tbl.glTexturePageCommitmentEXT = debug_glTexturePageCommitmentEXT; |
| |
| // GL_ARB_sync |
| |
| tbl.glClientWaitSync = debug_glClientWaitSync; |
| tbl.glDeleteSync = debug_glDeleteSync; |
| tbl.glFenceSync = debug_glFenceSync; |
| tbl.glGetInteger64v = debug_glGetInteger64v; |
| tbl.glGetSynciv = debug_glGetSynciv; |
| tbl.glIsSync = debug_glIsSync; |
| tbl.glWaitSync = debug_glWaitSync; |
| |
| // GL_ARB_tessellation_shader |
| |
| tbl.glPatchParameterfv = debug_glPatchParameterfv; |
| tbl.glPatchParameteri = debug_glPatchParameteri; |
| |
| // GL_ARB_texture_buffer_object |
| |
| tbl.glTexBufferARB = debug_glTexBufferARB; |
| |
| // GL_ARB_texture_buffer_range |
| |
| tbl.glTexBufferRange = debug_glTexBufferRange; |
| tbl.glTextureBufferRangeEXT = debug_glTextureBufferRangeEXT; |
| |
| // GL_ARB_texture_compression |
| |
| tbl.glCompressedTexImage1DARB = debug_glCompressedTexImage1DARB; |
| tbl.glCompressedTexImage2DARB = debug_glCompressedTexImage2DARB; |
| tbl.glCompressedTexImage3DARB = debug_glCompressedTexImage3DARB; |
| tbl.glCompressedTexSubImage1DARB = debug_glCompressedTexSubImage1DARB; |
| tbl.glCompressedTexSubImage2DARB = debug_glCompressedTexSubImage2DARB; |
| tbl.glCompressedTexSubImage3DARB = debug_glCompressedTexSubImage3DARB; |
| tbl.glGetCompressedTexImageARB = debug_glGetCompressedTexImageARB; |
| |
| // GL_ARB_texture_multisample |
| |
| tbl.glGetMultisamplefv = debug_glGetMultisamplefv; |
| tbl.glSampleMaski = debug_glSampleMaski; |
| tbl.glTexImage2DMultisample = debug_glTexImage2DMultisample; |
| tbl.glTexImage3DMultisample = debug_glTexImage3DMultisample; |
| |
| // GL_ARB_texture_storage |
| |
| tbl.glTexStorage1D = debug_glTexStorage1D; |
| tbl.glTexStorage2D = debug_glTexStorage2D; |
| tbl.glTexStorage3D = debug_glTexStorage3D; |
| tbl.glTextureStorage1DEXT = debug_glTextureStorage1DEXT; |
| tbl.glTextureStorage2DEXT = debug_glTextureStorage2DEXT; |
| tbl.glTextureStorage3DEXT = debug_glTextureStorage3DEXT; |
| |
| // GL_ARB_texture_storage_multisample |
| |
| tbl.glTexStorage2DMultisample = debug_glTexStorage2DMultisample; |
| tbl.glTexStorage3DMultisample = debug_glTexStorage3DMultisample; |
| tbl.glTextureStorage2DMultisampleEXT = debug_glTextureStorage2DMultisampleEXT; |
| tbl.glTextureStorage3DMultisampleEXT = debug_glTextureStorage3DMultisampleEXT; |
| |
| // GL_ARB_texture_view |
| |
| tbl.glTextureView = debug_glTextureView; |
| |
| // GL_ARB_timer_query |
| |
| tbl.glGetQueryObjecti64v = debug_glGetQueryObjecti64v; |
| tbl.glGetQueryObjectui64v = debug_glGetQueryObjectui64v; |
| tbl.glQueryCounter = debug_glQueryCounter; |
| |
| // GL_ARB_transform_feedback2 |
| |
| tbl.glBindTransformFeedback = debug_glBindTransformFeedback; |
| tbl.glDeleteTransformFeedbacks = debug_glDeleteTransformFeedbacks; |
| tbl.glDrawTransformFeedback = debug_glDrawTransformFeedback; |
| tbl.glGenTransformFeedbacks = debug_glGenTransformFeedbacks; |
| tbl.glIsTransformFeedback = debug_glIsTransformFeedback; |
| tbl.glPauseTransformFeedback = debug_glPauseTransformFeedback; |
| tbl.glResumeTransformFeedback = debug_glResumeTransformFeedback; |
| |
| // GL_ARB_transform_feedback3 |
| |
| tbl.glBeginQueryIndexed = debug_glBeginQueryIndexed; |
| tbl.glDrawTransformFeedbackStream = debug_glDrawTransformFeedbackStream; |
| tbl.glEndQueryIndexed = debug_glEndQueryIndexed; |
| tbl.glGetQueryIndexediv = debug_glGetQueryIndexediv; |
| |
| // GL_ARB_transform_feedback_instanced |
| |
| tbl.glDrawTransformFeedbackInstanced = debug_glDrawTransformFeedbackInstanced; |
| tbl.glDrawTransformFeedbackStreamInstanced = debug_glDrawTransformFeedbackStreamInstanced; |
| |
| // GL_ARB_transpose_matrix |
| |
| tbl.glLoadTransposeMatrixdARB = debug_glLoadTransposeMatrixdARB; |
| tbl.glLoadTransposeMatrixfARB = debug_glLoadTransposeMatrixfARB; |
| tbl.glMultTransposeMatrixdARB = debug_glMultTransposeMatrixdARB; |
| tbl.glMultTransposeMatrixfARB = debug_glMultTransposeMatrixfARB; |
| |
| // GL_ARB_uniform_buffer_object |
| |
| tbl.glBindBufferBase = debug_glBindBufferBase; |
| tbl.glBindBufferRange = debug_glBindBufferRange; |
| tbl.glGetActiveUniformBlockName = debug_glGetActiveUniformBlockName; |
| tbl.glGetActiveUniformBlockiv = debug_glGetActiveUniformBlockiv; |
| tbl.glGetActiveUniformName = debug_glGetActiveUniformName; |
| tbl.glGetActiveUniformsiv = debug_glGetActiveUniformsiv; |
| tbl.glGetIntegeri_v = debug_glGetIntegeri_v; |
| tbl.glGetUniformBlockIndex = debug_glGetUniformBlockIndex; |
| tbl.glGetUniformIndices = debug_glGetUniformIndices; |
| tbl.glUniformBlockBinding = debug_glUniformBlockBinding; |
| |
| // GL_ARB_vertex_array_object |
| |
| tbl.glBindVertexArray = debug_glBindVertexArray; |
| tbl.glDeleteVertexArrays = debug_glDeleteVertexArrays; |
| tbl.glGenVertexArrays = debug_glGenVertexArrays; |
| tbl.glIsVertexArray = debug_glIsVertexArray; |
| |
| // GL_ARB_vertex_attrib_64bit |
| |
| tbl.glGetVertexAttribLdv = debug_glGetVertexAttribLdv; |
| tbl.glVertexAttribL1d = debug_glVertexAttribL1d; |
| tbl.glVertexAttribL1dv = debug_glVertexAttribL1dv; |
| tbl.glVertexAttribL2d = debug_glVertexAttribL2d; |
| tbl.glVertexAttribL2dv = debug_glVertexAttribL2dv; |
| tbl.glVertexAttribL3d = debug_glVertexAttribL3d; |
| tbl.glVertexAttribL3dv = debug_glVertexAttribL3dv; |
| tbl.glVertexAttribL4d = debug_glVertexAttribL4d; |
| tbl.glVertexAttribL4dv = debug_glVertexAttribL4dv; |
| tbl.glVertexAttribLPointer = debug_glVertexAttribLPointer; |
| |
| // GL_ARB_vertex_attrib_binding |
| |
| tbl.glBindVertexBuffer = debug_glBindVertexBuffer; |
| tbl.glVertexArrayBindVertexBufferEXT = debug_glVertexArrayBindVertexBufferEXT; |
| tbl.glVertexArrayVertexAttribBindingEXT = debug_glVertexArrayVertexAttribBindingEXT; |
| tbl.glVertexArrayVertexAttribFormatEXT = debug_glVertexArrayVertexAttribFormatEXT; |
| tbl.glVertexArrayVertexAttribIFormatEXT = debug_glVertexArrayVertexAttribIFormatEXT; |
| tbl.glVertexArrayVertexAttribLFormatEXT = debug_glVertexArrayVertexAttribLFormatEXT; |
| tbl.glVertexArrayVertexBindingDivisorEXT = debug_glVertexArrayVertexBindingDivisorEXT; |
| tbl.glVertexAttribBinding = debug_glVertexAttribBinding; |
| tbl.glVertexAttribFormat = debug_glVertexAttribFormat; |
| tbl.glVertexAttribIFormat = debug_glVertexAttribIFormat; |
| tbl.glVertexAttribLFormat = debug_glVertexAttribLFormat; |
| tbl.glVertexBindingDivisor = debug_glVertexBindingDivisor; |
| |
| // GL_ARB_vertex_blend |
| |
| tbl.glVertexBlendARB = debug_glVertexBlendARB; |
| tbl.glWeightPointerARB = debug_glWeightPointerARB; |
| tbl.glWeightbvARB = debug_glWeightbvARB; |
| tbl.glWeightdvARB = debug_glWeightdvARB; |
| tbl.glWeightfvARB = debug_glWeightfvARB; |
| tbl.glWeightivARB = debug_glWeightivARB; |
| tbl.glWeightsvARB = debug_glWeightsvARB; |
| tbl.glWeightubvARB = debug_glWeightubvARB; |
| tbl.glWeightuivARB = debug_glWeightuivARB; |
| tbl.glWeightusvARB = debug_glWeightusvARB; |
| |
| // GL_ARB_vertex_buffer_object |
| |
| tbl.glBindBufferARB = debug_glBindBufferARB; |
| tbl.glBufferDataARB = debug_glBufferDataARB; |
| tbl.glBufferSubDataARB = debug_glBufferSubDataARB; |
| tbl.glDeleteBuffersARB = debug_glDeleteBuffersARB; |
| tbl.glGenBuffersARB = debug_glGenBuffersARB; |
| tbl.glGetBufferParameterivARB = debug_glGetBufferParameterivARB; |
| tbl.glGetBufferPointervARB = debug_glGetBufferPointervARB; |
| tbl.glGetBufferSubDataARB = debug_glGetBufferSubDataARB; |
| tbl.glIsBufferARB = debug_glIsBufferARB; |
| tbl.glMapBufferARB = debug_glMapBufferARB; |
| tbl.glUnmapBufferARB = debug_glUnmapBufferARB; |
| |
| // GL_ARB_vertex_program |
| |
| tbl.glBindProgramARB = debug_glBindProgramARB; |
| tbl.glDeleteProgramsARB = debug_glDeleteProgramsARB; |
| tbl.glDisableVertexAttribArrayARB = debug_glDisableVertexAttribArrayARB; |
| tbl.glEnableVertexAttribArrayARB = debug_glEnableVertexAttribArrayARB; |
| tbl.glGenProgramsARB = debug_glGenProgramsARB; |
| tbl.glGetProgramEnvParameterdvARB = debug_glGetProgramEnvParameterdvARB; |
| tbl.glGetProgramEnvParameterfvARB = debug_glGetProgramEnvParameterfvARB; |
| tbl.glGetProgramLocalParameterdvARB = debug_glGetProgramLocalParameterdvARB; |
| tbl.glGetProgramLocalParameterfvARB = debug_glGetProgramLocalParameterfvARB; |
| tbl.glGetProgramStringARB = debug_glGetProgramStringARB; |
| tbl.glGetProgramivARB = debug_glGetProgramivARB; |
| tbl.glGetVertexAttribPointervARB = debug_glGetVertexAttribPointervARB; |
| tbl.glGetVertexAttribdvARB = debug_glGetVertexAttribdvARB; |
| tbl.glGetVertexAttribfvARB = debug_glGetVertexAttribfvARB; |
| tbl.glGetVertexAttribivARB = debug_glGetVertexAttribivARB; |
| tbl.glIsProgramARB = debug_glIsProgramARB; |
| tbl.glProgramEnvParameter4dARB = debug_glProgramEnvParameter4dARB; |
| tbl.glProgramEnvParameter4dvARB = debug_glProgramEnvParameter4dvARB; |
| tbl.glProgramEnvParameter4fARB = debug_glProgramEnvParameter4fARB; |
| tbl.glProgramEnvParameter4fvARB = debug_glProgramEnvParameter4fvARB; |
| tbl.glProgramLocalParameter4dARB = debug_glProgramLocalParameter4dARB; |
| tbl.glProgramLocalParameter4dvARB = debug_glProgramLocalParameter4dvARB; |
| tbl.glProgramLocalParameter4fARB = debug_glProgramLocalParameter4fARB; |
| tbl.glProgramLocalParameter4fvARB = debug_glProgramLocalParameter4fvARB; |
| tbl.glProgramStringARB = debug_glProgramStringARB; |
| tbl.glVertexAttrib1dARB = debug_glVertexAttrib1dARB; |
| tbl.glVertexAttrib1dvARB = debug_glVertexAttrib1dvARB; |
| tbl.glVertexAttrib1fARB = debug_glVertexAttrib1fARB; |
| tbl.glVertexAttrib1fvARB = debug_glVertexAttrib1fvARB; |
| tbl.glVertexAttrib1sARB = debug_glVertexAttrib1sARB; |
| tbl.glVertexAttrib1svARB = debug_glVertexAttrib1svARB; |
| tbl.glVertexAttrib2dARB = debug_glVertexAttrib2dARB; |
| tbl.glVertexAttrib2dvARB = debug_glVertexAttrib2dvARB; |
| tbl.glVertexAttrib2fARB = debug_glVertexAttrib2fARB; |
| tbl.glVertexAttrib2fvARB = debug_glVertexAttrib2fvARB; |
| tbl.glVertexAttrib2sARB = debug_glVertexAttrib2sARB; |
| tbl.glVertexAttrib2svARB = debug_glVertexAttrib2svARB; |
| tbl.glVertexAttrib3dARB = debug_glVertexAttrib3dARB; |
| tbl.glVertexAttrib3dvARB = debug_glVertexAttrib3dvARB; |
| tbl.glVertexAttrib3fARB = debug_glVertexAttrib3fARB; |
| tbl.glVertexAttrib3fvARB = debug_glVertexAttrib3fvARB; |
| tbl.glVertexAttrib3sARB = debug_glVertexAttrib3sARB; |
| tbl.glVertexAttrib3svARB = debug_glVertexAttrib3svARB; |
| tbl.glVertexAttrib4NbvARB = debug_glVertexAttrib4NbvARB; |
| tbl.glVertexAttrib4NivARB = debug_glVertexAttrib4NivARB; |
| tbl.glVertexAttrib4NsvARB = debug_glVertexAttrib4NsvARB; |
| tbl.glVertexAttrib4NubARB = debug_glVertexAttrib4NubARB; |
| tbl.glVertexAttrib4NubvARB = debug_glVertexAttrib4NubvARB; |
| tbl.glVertexAttrib4NuivARB = debug_glVertexAttrib4NuivARB; |
| tbl.glVertexAttrib4NusvARB = debug_glVertexAttrib4NusvARB; |
| tbl.glVertexAttrib4bvARB = debug_glVertexAttrib4bvARB; |
| tbl.glVertexAttrib4dARB = debug_glVertexAttrib4dARB; |
| tbl.glVertexAttrib4dvARB = debug_glVertexAttrib4dvARB; |
| tbl.glVertexAttrib4fARB = debug_glVertexAttrib4fARB; |
| tbl.glVertexAttrib4fvARB = debug_glVertexAttrib4fvARB; |
| tbl.glVertexAttrib4ivARB = debug_glVertexAttrib4ivARB; |
| tbl.glVertexAttrib4sARB = debug_glVertexAttrib4sARB; |
| tbl.glVertexAttrib4svARB = debug_glVertexAttrib4svARB; |
| tbl.glVertexAttrib4ubvARB = debug_glVertexAttrib4ubvARB; |
| tbl.glVertexAttrib4uivARB = debug_glVertexAttrib4uivARB; |
| tbl.glVertexAttrib4usvARB = debug_glVertexAttrib4usvARB; |
| tbl.glVertexAttribPointerARB = debug_glVertexAttribPointerARB; |
| |
| // GL_ARB_vertex_shader |
| |
| tbl.glBindAttribLocationARB = debug_glBindAttribLocationARB; |
| tbl.glGetActiveAttribARB = debug_glGetActiveAttribARB; |
| tbl.glGetAttribLocationARB = debug_glGetAttribLocationARB; |
| |
| // GL_ARB_vertex_type_2_10_10_10_rev |
| |
| tbl.glColorP3ui = debug_glColorP3ui; |
| tbl.glColorP3uiv = debug_glColorP3uiv; |
| tbl.glColorP4ui = debug_glColorP4ui; |
| tbl.glColorP4uiv = debug_glColorP4uiv; |
| tbl.glMultiTexCoordP1ui = debug_glMultiTexCoordP1ui; |
| tbl.glMultiTexCoordP1uiv = debug_glMultiTexCoordP1uiv; |
| tbl.glMultiTexCoordP2ui = debug_glMultiTexCoordP2ui; |
| tbl.glMultiTexCoordP2uiv = debug_glMultiTexCoordP2uiv; |
| tbl.glMultiTexCoordP3ui = debug_glMultiTexCoordP3ui; |
| tbl.glMultiTexCoordP3uiv = debug_glMultiTexCoordP3uiv; |
| tbl.glMultiTexCoordP4ui = debug_glMultiTexCoordP4ui; |
| tbl.glMultiTexCoordP4uiv = debug_glMultiTexCoordP4uiv; |
| tbl.glNormalP3ui = debug_glNormalP3ui; |
| tbl.glNormalP3uiv = debug_glNormalP3uiv; |
| tbl.glSecondaryColorP3ui = debug_glSecondaryColorP3ui; |
| tbl.glSecondaryColorP3uiv = debug_glSecondaryColorP3uiv; |
| tbl.glTexCoordP1ui = debug_glTexCoordP1ui; |
| tbl.glTexCoordP1uiv = debug_glTexCoordP1uiv; |
| tbl.glTexCoordP2ui = debug_glTexCoordP2ui; |
| tbl.glTexCoordP2uiv = debug_glTexCoordP2uiv; |
| tbl.glTexCoordP3ui = debug_glTexCoordP3ui; |
| tbl.glTexCoordP3uiv = debug_glTexCoordP3uiv; |
| tbl.glTexCoordP4ui = debug_glTexCoordP4ui; |
| tbl.glTexCoordP4uiv = debug_glTexCoordP4uiv; |
| tbl.glVertexAttribP1ui = debug_glVertexAttribP1ui; |
| tbl.glVertexAttribP1uiv = debug_glVertexAttribP1uiv; |
| tbl.glVertexAttribP2ui = debug_glVertexAttribP2ui; |
| tbl.glVertexAttribP2uiv = debug_glVertexAttribP2uiv; |
| tbl.glVertexAttribP3ui = debug_glVertexAttribP3ui; |
| tbl.glVertexAttribP3uiv = debug_glVertexAttribP3uiv; |
| tbl.glVertexAttribP4ui = debug_glVertexAttribP4ui; |
| tbl.glVertexAttribP4uiv = debug_glVertexAttribP4uiv; |
| tbl.glVertexP2ui = debug_glVertexP2ui; |
| tbl.glVertexP2uiv = debug_glVertexP2uiv; |
| tbl.glVertexP3ui = debug_glVertexP3ui; |
| tbl.glVertexP3uiv = debug_glVertexP3uiv; |
| tbl.glVertexP4ui = debug_glVertexP4ui; |
| tbl.glVertexP4uiv = debug_glVertexP4uiv; |
| |
| // GL_ARB_viewport_array |
| |
| tbl.glDepthRangeArrayv = debug_glDepthRangeArrayv; |
| tbl.glDepthRangeIndexed = debug_glDepthRangeIndexed; |
| tbl.glGetDoublei_v = debug_glGetDoublei_v; |
| tbl.glGetFloati_v = debug_glGetFloati_v; |
| tbl.glScissorArrayv = debug_glScissorArrayv; |
| tbl.glScissorIndexed = debug_glScissorIndexed; |
| tbl.glScissorIndexedv = debug_glScissorIndexedv; |
| tbl.glViewportArrayv = debug_glViewportArrayv; |
| tbl.glViewportIndexedf = debug_glViewportIndexedf; |
| tbl.glViewportIndexedfv = debug_glViewportIndexedfv; |
| |
| // GL_ARB_window_pos |
| |
| tbl.glWindowPos2dARB = debug_glWindowPos2dARB; |
| tbl.glWindowPos2dvARB = debug_glWindowPos2dvARB; |
| tbl.glWindowPos2fARB = debug_glWindowPos2fARB; |
| tbl.glWindowPos2fvARB = debug_glWindowPos2fvARB; |
| tbl.glWindowPos2iARB = debug_glWindowPos2iARB; |
| tbl.glWindowPos2ivARB = debug_glWindowPos2ivARB; |
| tbl.glWindowPos2sARB = debug_glWindowPos2sARB; |
| tbl.glWindowPos2svARB = debug_glWindowPos2svARB; |
| tbl.glWindowPos3dARB = debug_glWindowPos3dARB; |
| tbl.glWindowPos3dvARB = debug_glWindowPos3dvARB; |
| tbl.glWindowPos3fARB = debug_glWindowPos3fARB; |
| tbl.glWindowPos3fvARB = debug_glWindowPos3fvARB; |
| tbl.glWindowPos3iARB = debug_glWindowPos3iARB; |
| tbl.glWindowPos3ivARB = debug_glWindowPos3ivARB; |
| tbl.glWindowPos3sARB = debug_glWindowPos3sARB; |
| tbl.glWindowPos3svARB = debug_glWindowPos3svARB; |
| |
| // GL_ATI_draw_buffers |
| |
| tbl.glDrawBuffersATI = debug_glDrawBuffersATI; |
| |
| // GL_ATI_element_array |
| |
| tbl.glDrawElementArrayATI = debug_glDrawElementArrayATI; |
| tbl.glDrawRangeElementArrayATI = debug_glDrawRangeElementArrayATI; |
| tbl.glElementPointerATI = debug_glElementPointerATI; |
| |
| // GL_ATI_envmap_bumpmap |
| |
| tbl.glGetTexBumpParameterfvATI = debug_glGetTexBumpParameterfvATI; |
| tbl.glGetTexBumpParameterivATI = debug_glGetTexBumpParameterivATI; |
| tbl.glTexBumpParameterfvATI = debug_glTexBumpParameterfvATI; |
| tbl.glTexBumpParameterivATI = debug_glTexBumpParameterivATI; |
| |
| // GL_ATI_fragment_shader |
| |
| tbl.glAlphaFragmentOp1ATI = debug_glAlphaFragmentOp1ATI; |
| tbl.glAlphaFragmentOp2ATI = debug_glAlphaFragmentOp2ATI; |
| tbl.glAlphaFragmentOp3ATI = debug_glAlphaFragmentOp3ATI; |
| tbl.glBeginFragmentShaderATI = debug_glBeginFragmentShaderATI; |
| tbl.glBindFragmentShaderATI = debug_glBindFragmentShaderATI; |
| tbl.glColorFragmentOp1ATI = debug_glColorFragmentOp1ATI; |
| tbl.glColorFragmentOp2ATI = debug_glColorFragmentOp2ATI; |
| tbl.glColorFragmentOp3ATI = debug_glColorFragmentOp3ATI; |
| tbl.glDeleteFragmentShaderATI = debug_glDeleteFragmentShaderATI; |
| tbl.glEndFragmentShaderATI = debug_glEndFragmentShaderATI; |
| tbl.glGenFragmentShadersATI = debug_glGenFragmentShadersATI; |
| tbl.glPassTexCoordATI = debug_glPassTexCoordATI; |
| tbl.glSampleMapATI = debug_glSampleMapATI; |
| tbl.glSetFragmentShaderConstantATI = debug_glSetFragmentShaderConstantATI; |
| |
| // GL_ATI_map_object_buffer |
| |
| tbl.glMapObjectBufferATI = debug_glMapObjectBufferATI; |
| tbl.glUnmapObjectBufferATI = debug_glUnmapObjectBufferATI; |
| |
| // GL_ATI_pn_triangles |
| |
| tbl.glPNTrianglesfATI = debug_glPNTrianglesfATI; |
| tbl.glPNTrianglesiATI = debug_glPNTrianglesiATI; |
| |
| // GL_ATI_separate_stencil |
| |
| tbl.glStencilFuncSeparateATI = debug_glStencilFuncSeparateATI; |
| tbl.glStencilOpSeparateATI = debug_glStencilOpSeparateATI; |
| |
| // GL_ATI_vertex_array_object |
| |
| tbl.glArrayObjectATI = debug_glArrayObjectATI; |
| tbl.glFreeObjectBufferATI = debug_glFreeObjectBufferATI; |
| tbl.glGetArrayObjectfvATI = debug_glGetArrayObjectfvATI; |
| tbl.glGetArrayObjectivATI = debug_glGetArrayObjectivATI; |
| tbl.glGetObjectBufferfvATI = debug_glGetObjectBufferfvATI; |
| tbl.glGetObjectBufferivATI = debug_glGetObjectBufferivATI; |
| tbl.glGetVariantArrayObjectfvATI = debug_glGetVariantArrayObjectfvATI; |
| tbl.glGetVariantArrayObjectivATI = debug_glGetVariantArrayObjectivATI; |
| tbl.glIsObjectBufferATI = debug_glIsObjectBufferATI; |
| tbl.glNewObjectBufferATI = debug_glNewObjectBufferATI; |
| tbl.glUpdateObjectBufferATI = debug_glUpdateObjectBufferATI; |
| tbl.glVariantArrayObjectATI = debug_glVariantArrayObjectATI; |
| |
| // GL_ATI_vertex_attrib_array_object |
| |
| tbl.glGetVertexAttribArrayObjectfvATI = debug_glGetVertexAttribArrayObjectfvATI; |
| tbl.glGetVertexAttribArrayObjectivATI = debug_glGetVertexAttribArrayObjectivATI; |
| tbl.glVertexAttribArrayObjectATI = debug_glVertexAttribArrayObjectATI; |
| |
| // GL_ATI_vertex_streams |
| |
| tbl.glClientActiveVertexStreamATI = debug_glClientActiveVertexStreamATI; |
| tbl.glNormalStream3bATI = debug_glNormalStream3bATI; |
| tbl.glNormalStream3bvATI = debug_glNormalStream3bvATI; |
| tbl.glNormalStream3dATI = debug_glNormalStream3dATI; |
| tbl.glNormalStream3dvATI = debug_glNormalStream3dvATI; |
| tbl.glNormalStream3fATI = debug_glNormalStream3fATI; |
| tbl.glNormalStream3fvATI = debug_glNormalStream3fvATI; |
| tbl.glNormalStream3iATI = debug_glNormalStream3iATI; |
| tbl.glNormalStream3ivATI = debug_glNormalStream3ivATI; |
| tbl.glNormalStream3sATI = debug_glNormalStream3sATI; |
| tbl.glNormalStream3svATI = debug_glNormalStream3svATI; |
| tbl.glVertexBlendEnvfATI = debug_glVertexBlendEnvfATI; |
| tbl.glVertexBlendEnviATI = debug_glVertexBlendEnviATI; |
| tbl.glVertexStream1dATI = debug_glVertexStream1dATI; |
| tbl.glVertexStream1dvATI = debug_glVertexStream1dvATI; |
| tbl.glVertexStream1fATI = debug_glVertexStream1fATI; |
| tbl.glVertexStream1fvATI = debug_glVertexStream1fvATI; |
| tbl.glVertexStream1iATI = debug_glVertexStream1iATI; |
| tbl.glVertexStream1ivATI = debug_glVertexStream1ivATI; |
| tbl.glVertexStream1sATI = debug_glVertexStream1sATI; |
| tbl.glVertexStream1svATI = debug_glVertexStream1svATI; |
| tbl.glVertexStream2dATI = debug_glVertexStream2dATI; |
| tbl.glVertexStream2dvATI = debug_glVertexStream2dvATI; |
| tbl.glVertexStream2fATI = debug_glVertexStream2fATI; |
| tbl.glVertexStream2fvATI = debug_glVertexStream2fvATI; |
| tbl.glVertexStream2iATI = debug_glVertexStream2iATI; |
| tbl.glVertexStream2ivATI = debug_glVertexStream2ivATI; |
| tbl.glVertexStream2sATI = debug_glVertexStream2sATI; |
| tbl.glVertexStream2svATI = debug_glVertexStream2svATI; |
| tbl.glVertexStream3dATI = debug_glVertexStream3dATI; |
| tbl.glVertexStream3dvATI = debug_glVertexStream3dvATI; |
| tbl.glVertexStream3fATI = debug_glVertexStream3fATI; |
| tbl.glVertexStream3fvATI = debug_glVertexStream3fvATI; |
| tbl.glVertexStream3iATI = debug_glVertexStream3iATI; |
| tbl.glVertexStream3ivATI = debug_glVertexStream3ivATI; |
| tbl.glVertexStream3sATI = debug_glVertexStream3sATI; |
| tbl.glVertexStream3svATI = debug_glVertexStream3svATI; |
| tbl.glVertexStream4dATI = debug_glVertexStream4dATI; |
| tbl.glVertexStream4dvATI = debug_glVertexStream4dvATI; |
| tbl.glVertexStream4fATI = debug_glVertexStream4fATI; |
| tbl.glVertexStream4fvATI = debug_glVertexStream4fvATI; |
| tbl.glVertexStream4iATI = debug_glVertexStream4iATI; |
| tbl.glVertexStream4ivATI = debug_glVertexStream4ivATI; |
| tbl.glVertexStream4sATI = debug_glVertexStream4sATI; |
| tbl.glVertexStream4svATI = debug_glVertexStream4svATI; |
| |
| // GL_EXT_bindable_uniform |
| |
| tbl.glGetUniformBufferSizeEXT = debug_glGetUniformBufferSizeEXT; |
| tbl.glGetUniformOffsetEXT = debug_glGetUniformOffsetEXT; |
| tbl.glUniformBufferEXT = debug_glUniformBufferEXT; |
| |
| // GL_EXT_blend_color |
| |
| tbl.glBlendColorEXT = debug_glBlendColorEXT; |
| |
| // GL_EXT_blend_equation_separate |
| |
| tbl.glBlendEquationSeparateEXT = debug_glBlendEquationSeparateEXT; |
| |
| // GL_EXT_blend_func_separate |
| |
| tbl.glBlendFuncSeparateEXT = debug_glBlendFuncSeparateEXT; |
| |
| // GL_EXT_blend_minmax |
| |
| tbl.glBlendEquationEXT = debug_glBlendEquationEXT; |
| |
| // GL_EXT_color_subtable |
| |
| tbl.glColorSubTableEXT = debug_glColorSubTableEXT; |
| tbl.glCopyColorSubTableEXT = debug_glCopyColorSubTableEXT; |
| |
| // GL_EXT_compiled_vertex_array |
| |
| tbl.glLockArraysEXT = debug_glLockArraysEXT; |
| tbl.glUnlockArraysEXT = debug_glUnlockArraysEXT; |
| |
| // GL_EXT_convolution |
| |
| tbl.glConvolutionFilter1DEXT = debug_glConvolutionFilter1DEXT; |
| tbl.glConvolutionFilter2DEXT = debug_glConvolutionFilter2DEXT; |
| tbl.glConvolutionParameterfEXT = debug_glConvolutionParameterfEXT; |
| tbl.glConvolutionParameterfvEXT = debug_glConvolutionParameterfvEXT; |
| tbl.glConvolutionParameteriEXT = debug_glConvolutionParameteriEXT; |
| tbl.glConvolutionParameterivEXT = debug_glConvolutionParameterivEXT; |
| tbl.glCopyConvolutionFilter1DEXT = debug_glCopyConvolutionFilter1DEXT; |
| tbl.glCopyConvolutionFilter2DEXT = debug_glCopyConvolutionFilter2DEXT; |
| tbl.glGetConvolutionFilterEXT = debug_glGetConvolutionFilterEXT; |
| tbl.glGetConvolutionParameterfvEXT = debug_glGetConvolutionParameterfvEXT; |
| tbl.glGetConvolutionParameterivEXT = debug_glGetConvolutionParameterivEXT; |
| tbl.glGetSeparableFilterEXT = debug_glGetSeparableFilterEXT; |
| tbl.glSeparableFilter2DEXT = debug_glSeparableFilter2DEXT; |
| |
| // GL_EXT_coordinate_frame |
| |
| tbl.glBinormal3bEXT = debug_glBinormal3bEXT; |
| tbl.glBinormal3bvEXT = debug_glBinormal3bvEXT; |
| tbl.glBinormal3dEXT = debug_glBinormal3dEXT; |
| tbl.glBinormal3dvEXT = debug_glBinormal3dvEXT; |
| tbl.glBinormal3fEXT = debug_glBinormal3fEXT; |
| tbl.glBinormal3fvEXT = debug_glBinormal3fvEXT; |
| tbl.glBinormal3iEXT = debug_glBinormal3iEXT; |
| tbl.glBinormal3ivEXT = debug_glBinormal3ivEXT; |
| tbl.glBinormal3sEXT = debug_glBinormal3sEXT; |
| tbl.glBinormal3svEXT = debug_glBinormal3svEXT; |
| tbl.glBinormalPointerEXT = debug_glBinormalPointerEXT; |
| tbl.glTangent3bEXT = debug_glTangent3bEXT; |
| tbl.glTangent3bvEXT = debug_glTangent3bvEXT; |
| tbl.glTangent3dEXT = debug_glTangent3dEXT; |
| tbl.glTangent3dvEXT = debug_glTangent3dvEXT; |
| tbl.glTangent3fEXT = debug_glTangent3fEXT; |
| tbl.glTangent3fvEXT = debug_glTangent3fvEXT; |
| tbl.glTangent3iEXT = debug_glTangent3iEXT; |
| tbl.glTangent3ivEXT = debug_glTangent3ivEXT; |
| tbl.glTangent3sEXT = debug_glTangent3sEXT; |
| tbl.glTangent3svEXT = debug_glTangent3svEXT; |
| tbl.glTangentPointerEXT = debug_glTangentPointerEXT; |
| |
| // GL_EXT_copy_texture |
| |
| tbl.glCopyTexImage1DEXT = debug_glCopyTexImage1DEXT; |
| tbl.glCopyTexImage2DEXT = debug_glCopyTexImage2DEXT; |
| tbl.glCopyTexSubImage1DEXT = debug_glCopyTexSubImage1DEXT; |
| tbl.glCopyTexSubImage2DEXT = debug_glCopyTexSubImage2DEXT; |
| tbl.glCopyTexSubImage3DEXT = debug_glCopyTexSubImage3DEXT; |
| |
| // GL_EXT_cull_vertex |
| |
| tbl.glCullParameterdvEXT = debug_glCullParameterdvEXT; |
| tbl.glCullParameterfvEXT = debug_glCullParameterfvEXT; |
| |
| // GL_EXT_debug_label |
| |
| tbl.glGetObjectLabelEXT = debug_glGetObjectLabelEXT; |
| tbl.glLabelObjectEXT = debug_glLabelObjectEXT; |
| |
| // GL_EXT_debug_marker |
| |
| tbl.glInsertEventMarkerEXT = debug_glInsertEventMarkerEXT; |
| tbl.glPopGroupMarkerEXT = debug_glPopGroupMarkerEXT; |
| tbl.glPushGroupMarkerEXT = debug_glPushGroupMarkerEXT; |
| |
| // GL_EXT_depth_bounds_test |
| |
| tbl.glDepthBoundsEXT = debug_glDepthBoundsEXT; |
| |
| // GL_EXT_direct_state_access |
| |
| tbl.glBindMultiTextureEXT = debug_glBindMultiTextureEXT; |
| tbl.glCheckNamedFramebufferStatusEXT = debug_glCheckNamedFramebufferStatusEXT; |
| tbl.glClientAttribDefaultEXT = debug_glClientAttribDefaultEXT; |
| tbl.glCompressedMultiTexImage1DEXT = debug_glCompressedMultiTexImage1DEXT; |
| tbl.glCompressedMultiTexImage2DEXT = debug_glCompressedMultiTexImage2DEXT; |
| tbl.glCompressedMultiTexImage3DEXT = debug_glCompressedMultiTexImage3DEXT; |
| tbl.glCompressedMultiTexSubImage1DEXT = debug_glCompressedMultiTexSubImage1DEXT; |
| tbl.glCompressedMultiTexSubImage2DEXT = debug_glCompressedMultiTexSubImage2DEXT; |
| tbl.glCompressedMultiTexSubImage3DEXT = debug_glCompressedMultiTexSubImage3DEXT; |
| tbl.glCompressedTextureImage1DEXT = debug_glCompressedTextureImage1DEXT; |
| tbl.glCompressedTextureImage2DEXT = debug_glCompressedTextureImage2DEXT; |
| tbl.glCompressedTextureImage3DEXT = debug_glCompressedTextureImage3DEXT; |
| tbl.glCompressedTextureSubImage1DEXT = debug_glCompressedTextureSubImage1DEXT; |
| tbl.glCompressedTextureSubImage2DEXT = debug_glCompressedTextureSubImage2DEXT; |
| tbl.glCompressedTextureSubImage3DEXT = debug_glCompressedTextureSubImage3DEXT; |
| tbl.glCopyMultiTexImage1DEXT = debug_glCopyMultiTexImage1DEXT; |
| tbl.glCopyMultiTexImage2DEXT = debug_glCopyMultiTexImage2DEXT; |
| tbl.glCopyMultiTexSubImage1DEXT = debug_glCopyMultiTexSubImage1DEXT; |
| tbl.glCopyMultiTexSubImage2DEXT = debug_glCopyMultiTexSubImage2DEXT; |
| tbl.glCopyMultiTexSubImage3DEXT = debug_glCopyMultiTexSubImage3DEXT; |
| tbl.glCopyTextureImage1DEXT = debug_glCopyTextureImage1DEXT; |
| tbl.glCopyTextureImage2DEXT = debug_glCopyTextureImage2DEXT; |
| tbl.glCopyTextureSubImage1DEXT = debug_glCopyTextureSubImage1DEXT; |
| tbl.glCopyTextureSubImage2DEXT = debug_glCopyTextureSubImage2DEXT; |
| tbl.glCopyTextureSubImage3DEXT = debug_glCopyTextureSubImage3DEXT; |
| tbl.glDisableClientStateIndexedEXT = debug_glDisableClientStateIndexedEXT; |
| tbl.glDisableClientStateiEXT = debug_glDisableClientStateiEXT; |
| tbl.glDisableVertexArrayAttribEXT = debug_glDisableVertexArrayAttribEXT; |
| tbl.glDisableVertexArrayEXT = debug_glDisableVertexArrayEXT; |
| tbl.glEnableClientStateIndexedEXT = debug_glEnableClientStateIndexedEXT; |
| tbl.glEnableClientStateiEXT = debug_glEnableClientStateiEXT; |
| tbl.glEnableVertexArrayAttribEXT = debug_glEnableVertexArrayAttribEXT; |
| tbl.glEnableVertexArrayEXT = debug_glEnableVertexArrayEXT; |
| tbl.glFlushMappedNamedBufferRangeEXT = debug_glFlushMappedNamedBufferRangeEXT; |
| tbl.glFramebufferDrawBufferEXT = debug_glFramebufferDrawBufferEXT; |
| tbl.glFramebufferDrawBuffersEXT = debug_glFramebufferDrawBuffersEXT; |
| tbl.glFramebufferReadBufferEXT = debug_glFramebufferReadBufferEXT; |
| tbl.glGenerateMultiTexMipmapEXT = debug_glGenerateMultiTexMipmapEXT; |
| tbl.glGenerateTextureMipmapEXT = debug_glGenerateTextureMipmapEXT; |
| tbl.glGetCompressedMultiTexImageEXT = debug_glGetCompressedMultiTexImageEXT; |
| tbl.glGetCompressedTextureImageEXT = debug_glGetCompressedTextureImageEXT; |
| tbl.glGetDoubleIndexedvEXT = debug_glGetDoubleIndexedvEXT; |
| tbl.glGetDoublei_vEXT = debug_glGetDoublei_vEXT; |
| tbl.glGetFloatIndexedvEXT = debug_glGetFloatIndexedvEXT; |
| tbl.glGetFloati_vEXT = debug_glGetFloati_vEXT; |
| tbl.glGetFramebufferParameterivEXT = debug_glGetFramebufferParameterivEXT; |
| tbl.glGetMultiTexEnvfvEXT = debug_glGetMultiTexEnvfvEXT; |
| tbl.glGetMultiTexEnvivEXT = debug_glGetMultiTexEnvivEXT; |
| tbl.glGetMultiTexGendvEXT = debug_glGetMultiTexGendvEXT; |
| tbl.glGetMultiTexGenfvEXT = debug_glGetMultiTexGenfvEXT; |
| tbl.glGetMultiTexGenivEXT = debug_glGetMultiTexGenivEXT; |
| tbl.glGetMultiTexImageEXT = debug_glGetMultiTexImageEXT; |
| tbl.glGetMultiTexLevelParameterfvEXT = debug_glGetMultiTexLevelParameterfvEXT; |
| tbl.glGetMultiTexLevelParameterivEXT = debug_glGetMultiTexLevelParameterivEXT; |
| tbl.glGetMultiTexParameterIivEXT = debug_glGetMultiTexParameterIivEXT; |
| tbl.glGetMultiTexParameterIuivEXT = debug_glGetMultiTexParameterIuivEXT; |
| tbl.glGetMultiTexParameterfvEXT = debug_glGetMultiTexParameterfvEXT; |
| tbl.glGetMultiTexParameterivEXT = debug_glGetMultiTexParameterivEXT; |
| tbl.glGetNamedBufferParameterivEXT = debug_glGetNamedBufferParameterivEXT; |
| tbl.glGetNamedBufferPointervEXT = debug_glGetNamedBufferPointervEXT; |
| tbl.glGetNamedBufferSubDataEXT = debug_glGetNamedBufferSubDataEXT; |
| tbl.glGetNamedFramebufferAttachmentParameterivEXT = debug_glGetNamedFramebufferAttachmentParameterivEXT; |
| tbl.glGetNamedProgramLocalParameterIivEXT = debug_glGetNamedProgramLocalParameterIivEXT; |
| tbl.glGetNamedProgramLocalParameterIuivEXT = debug_glGetNamedProgramLocalParameterIuivEXT; |
| tbl.glGetNamedProgramLocalParameterdvEXT = debug_glGetNamedProgramLocalParameterdvEXT; |
| tbl.glGetNamedProgramLocalParameterfvEXT = debug_glGetNamedProgramLocalParameterfvEXT; |
| tbl.glGetNamedProgramStringEXT = debug_glGetNamedProgramStringEXT; |
| tbl.glGetNamedProgramivEXT = debug_glGetNamedProgramivEXT; |
| tbl.glGetNamedRenderbufferParameterivEXT = debug_glGetNamedRenderbufferParameterivEXT; |
| tbl.glGetPointerIndexedvEXT = debug_glGetPointerIndexedvEXT; |
| tbl.glGetPointeri_vEXT = debug_glGetPointeri_vEXT; |
| tbl.glGetTextureImageEXT = debug_glGetTextureImageEXT; |
| tbl.glGetTextureLevelParameterfvEXT = debug_glGetTextureLevelParameterfvEXT; |
| tbl.glGetTextureLevelParameterivEXT = debug_glGetTextureLevelParameterivEXT; |
| tbl.glGetTextureParameterIivEXT = debug_glGetTextureParameterIivEXT; |
| tbl.glGetTextureParameterIuivEXT = debug_glGetTextureParameterIuivEXT; |
| tbl.glGetTextureParameterfvEXT = debug_glGetTextureParameterfvEXT; |
| tbl.glGetTextureParameterivEXT = debug_glGetTextureParameterivEXT; |
| tbl.glGetVertexArrayIntegeri_vEXT = debug_glGetVertexArrayIntegeri_vEXT; |
| tbl.glGetVertexArrayIntegervEXT = debug_glGetVertexArrayIntegervEXT; |
| tbl.glGetVertexArrayPointeri_vEXT = debug_glGetVertexArrayPointeri_vEXT; |
| tbl.glGetVertexArrayPointervEXT = debug_glGetVertexArrayPointervEXT; |
| tbl.glMapNamedBufferEXT = debug_glMapNamedBufferEXT; |
| tbl.glMapNamedBufferRangeEXT = debug_glMapNamedBufferRangeEXT; |
| tbl.glMatrixFrustumEXT = debug_glMatrixFrustumEXT; |
| tbl.glMatrixLoadIdentityEXT = debug_glMatrixLoadIdentityEXT; |
| tbl.glMatrixLoadTransposedEXT = debug_glMatrixLoadTransposedEXT; |
| tbl.glMatrixLoadTransposefEXT = debug_glMatrixLoadTransposefEXT; |
| tbl.glMatrixLoaddEXT = debug_glMatrixLoaddEXT; |
| tbl.glMatrixLoadfEXT = debug_glMatrixLoadfEXT; |
| tbl.glMatrixMultTransposedEXT = debug_glMatrixMultTransposedEXT; |
| tbl.glMatrixMultTransposefEXT = debug_glMatrixMultTransposefEXT; |
| tbl.glMatrixMultdEXT = debug_glMatrixMultdEXT; |
| tbl.glMatrixMultfEXT = debug_glMatrixMultfEXT; |
| tbl.glMatrixOrthoEXT = debug_glMatrixOrthoEXT; |
| tbl.glMatrixPopEXT = debug_glMatrixPopEXT; |
| tbl.glMatrixPushEXT = debug_glMatrixPushEXT; |
| tbl.glMatrixRotatedEXT = debug_glMatrixRotatedEXT; |
| tbl.glMatrixRotatefEXT = debug_glMatrixRotatefEXT; |
| tbl.glMatrixScaledEXT = debug_glMatrixScaledEXT; |
| tbl.glMatrixScalefEXT = debug_glMatrixScalefEXT; |
| tbl.glMatrixTranslatedEXT = debug_glMatrixTranslatedEXT; |
| tbl.glMatrixTranslatefEXT = debug_glMatrixTranslatefEXT; |
| tbl.glMultiTexBufferEXT = debug_glMultiTexBufferEXT; |
| tbl.glMultiTexCoordPointerEXT = debug_glMultiTexCoordPointerEXT; |
| tbl.glMultiTexEnvfEXT = debug_glMultiTexEnvfEXT; |
| tbl.glMultiTexEnvfvEXT = debug_glMultiTexEnvfvEXT; |
| tbl.glMultiTexEnviEXT = debug_glMultiTexEnviEXT; |
| tbl.glMultiTexEnvivEXT = debug_glMultiTexEnvivEXT; |
| tbl.glMultiTexGendEXT = debug_glMultiTexGendEXT; |
| tbl.glMultiTexGendvEXT = debug_glMultiTexGendvEXT; |
| tbl.glMultiTexGenfEXT = debug_glMultiTexGenfEXT; |
| tbl.glMultiTexGenfvEXT = debug_glMultiTexGenfvEXT; |
| tbl.glMultiTexGeniEXT = debug_glMultiTexGeniEXT; |
| tbl.glMultiTexGenivEXT = debug_glMultiTexGenivEXT; |
| tbl.glMultiTexImage1DEXT = debug_glMultiTexImage1DEXT; |
| tbl.glMultiTexImage2DEXT = debug_glMultiTexImage2DEXT; |
| tbl.glMultiTexImage3DEXT = debug_glMultiTexImage3DEXT; |
| tbl.glMultiTexParameterIivEXT = debug_glMultiTexParameterIivEXT; |
| tbl.glMultiTexParameterIuivEXT = debug_glMultiTexParameterIuivEXT; |
| tbl.glMultiTexParameterfEXT = debug_glMultiTexParameterfEXT; |
| tbl.glMultiTexParameterfvEXT = debug_glMultiTexParameterfvEXT; |
| tbl.glMultiTexParameteriEXT = debug_glMultiTexParameteriEXT; |
| tbl.glMultiTexParameterivEXT = debug_glMultiTexParameterivEXT; |
| tbl.glMultiTexRenderbufferEXT = debug_glMultiTexRenderbufferEXT; |
| tbl.glMultiTexSubImage1DEXT = debug_glMultiTexSubImage1DEXT; |
| tbl.glMultiTexSubImage2DEXT = debug_glMultiTexSubImage2DEXT; |
| tbl.glMultiTexSubImage3DEXT = debug_glMultiTexSubImage3DEXT; |
| tbl.glNamedBufferDataEXT = debug_glNamedBufferDataEXT; |
| tbl.glNamedBufferSubDataEXT = debug_glNamedBufferSubDataEXT; |
| tbl.glNamedCopyBufferSubDataEXT = debug_glNamedCopyBufferSubDataEXT; |
| tbl.glNamedFramebufferRenderbufferEXT = debug_glNamedFramebufferRenderbufferEXT; |
| tbl.glNamedFramebufferTexture1DEXT = debug_glNamedFramebufferTexture1DEXT; |
| tbl.glNamedFramebufferTexture2DEXT = debug_glNamedFramebufferTexture2DEXT; |
| tbl.glNamedFramebufferTexture3DEXT = debug_glNamedFramebufferTexture3DEXT; |
| tbl.glNamedFramebufferTextureEXT = debug_glNamedFramebufferTextureEXT; |
| tbl.glNamedFramebufferTextureFaceEXT = debug_glNamedFramebufferTextureFaceEXT; |
| tbl.glNamedFramebufferTextureLayerEXT = debug_glNamedFramebufferTextureLayerEXT; |
| tbl.glNamedProgramLocalParameter4dEXT = debug_glNamedProgramLocalParameter4dEXT; |
| tbl.glNamedProgramLocalParameter4dvEXT = debug_glNamedProgramLocalParameter4dvEXT; |
| tbl.glNamedProgramLocalParameter4fEXT = debug_glNamedProgramLocalParameter4fEXT; |
| tbl.glNamedProgramLocalParameter4fvEXT = debug_glNamedProgramLocalParameter4fvEXT; |
| tbl.glNamedProgramLocalParameterI4iEXT = debug_glNamedProgramLocalParameterI4iEXT; |
| tbl.glNamedProgramLocalParameterI4ivEXT = debug_glNamedProgramLocalParameterI4ivEXT; |
| tbl.glNamedProgramLocalParameterI4uiEXT = debug_glNamedProgramLocalParameterI4uiEXT; |
| tbl.glNamedProgramLocalParameterI4uivEXT = debug_glNamedProgramLocalParameterI4uivEXT; |
| tbl.glNamedProgramLocalParameters4fvEXT = debug_glNamedProgramLocalParameters4fvEXT; |
| tbl.glNamedProgramLocalParametersI4ivEXT = debug_glNamedProgramLocalParametersI4ivEXT; |
| tbl.glNamedProgramLocalParametersI4uivEXT = debug_glNamedProgramLocalParametersI4uivEXT; |
| tbl.glNamedProgramStringEXT = debug_glNamedProgramStringEXT; |
| tbl.glNamedRenderbufferStorageEXT = debug_glNamedRenderbufferStorageEXT; |
| tbl.glNamedRenderbufferStorageMultisampleCoverageEXT = debug_glNamedRenderbufferStorageMultisampleCoverageEXT; |
| tbl.glNamedRenderbufferStorageMultisampleEXT = debug_glNamedRenderbufferStorageMultisampleEXT; |
| tbl.glProgramUniform1dEXT = debug_glProgramUniform1dEXT; |
| tbl.glProgramUniform1dvEXT = debug_glProgramUniform1dvEXT; |
| tbl.glProgramUniform1fEXT = debug_glProgramUniform1fEXT; |
| tbl.glProgramUniform1fvEXT = debug_glProgramUniform1fvEXT; |
| tbl.glProgramUniform1iEXT = debug_glProgramUniform1iEXT; |
| tbl.glProgramUniform1ivEXT = debug_glProgramUniform1ivEXT; |
| tbl.glProgramUniform1uiEXT = debug_glProgramUniform1uiEXT; |
| tbl.glProgramUniform1uivEXT = debug_glProgramUniform1uivEXT; |
| tbl.glProgramUniform2dEXT = debug_glProgramUniform2dEXT; |
| tbl.glProgramUniform2dvEXT = debug_glProgramUniform2dvEXT; |
| tbl.glProgramUniform2fEXT = debug_glProgramUniform2fEXT; |
| tbl.glProgramUniform2fvEXT = debug_glProgramUniform2fvEXT; |
| tbl.glProgramUniform2iEXT = debug_glProgramUniform2iEXT; |
| tbl.glProgramUniform2ivEXT = debug_glProgramUniform2ivEXT; |
| tbl.glProgramUniform2uiEXT = debug_glProgramUniform2uiEXT; |
| tbl.glProgramUniform2uivEXT = debug_glProgramUniform2uivEXT; |
| tbl.glProgramUniform3dEXT = debug_glProgramUniform3dEXT; |
| tbl.glProgramUniform3dvEXT = debug_glProgramUniform3dvEXT; |
| tbl.glProgramUniform3fEXT = debug_glProgramUniform3fEXT; |
| tbl.glProgramUniform3fvEXT = debug_glProgramUniform3fvEXT; |
| tbl.glProgramUniform3iEXT = debug_glProgramUniform3iEXT; |
| tbl.glProgramUniform3ivEXT = debug_glProgramUniform3ivEXT; |
| tbl.glProgramUniform3uiEXT = debug_glProgramUniform3uiEXT; |
| tbl.glProgramUniform3uivEXT = debug_glProgramUniform3uivEXT; |
| tbl.glProgramUniform4dEXT = debug_glProgramUniform4dEXT; |
| tbl.glProgramUniform4dvEXT = debug_glProgramUniform4dvEXT; |
| tbl.glProgramUniform4fEXT = debug_glProgramUniform4fEXT; |
| tbl.glProgramUniform4fvEXT = debug_glProgramUniform4fvEXT; |
| tbl.glProgramUniform4iEXT = debug_glProgramUniform4iEXT; |
| tbl.glProgramUniform4ivEXT = debug_glProgramUniform4ivEXT; |
| tbl.glProgramUniform4uiEXT = debug_glProgramUniform4uiEXT; |
| tbl.glProgramUniform4uivEXT = debug_glProgramUniform4uivEXT; |
| tbl.glProgramUniformMatrix2dvEXT = debug_glProgramUniformMatrix2dvEXT; |
| tbl.glProgramUniformMatrix2fvEXT = debug_glProgramUniformMatrix2fvEXT; |
| tbl.glProgramUniformMatrix2x3dvEXT = debug_glProgramUniformMatrix2x3dvEXT; |
| tbl.glProgramUniformMatrix2x3fvEXT = debug_glProgramUniformMatrix2x3fvEXT; |
| tbl.glProgramUniformMatrix2x4dvEXT = debug_glProgramUniformMatrix2x4dvEXT; |
| tbl.glProgramUniformMatrix2x4fvEXT = debug_glProgramUniformMatrix2x4fvEXT; |
| tbl.glProgramUniformMatrix3dvEXT = debug_glProgramUniformMatrix3dvEXT; |
| tbl.glProgramUniformMatrix3fvEXT = debug_glProgramUniformMatrix3fvEXT; |
| tbl.glProgramUniformMatrix3x2dvEXT = debug_glProgramUniformMatrix3x2dvEXT; |
| tbl.glProgramUniformMatrix3x2fvEXT = debug_glProgramUniformMatrix3x2fvEXT; |
| tbl.glProgramUniformMatrix3x4dvEXT = debug_glProgramUniformMatrix3x4dvEXT; |
| tbl.glProgramUniformMatrix3x4fvEXT = debug_glProgramUniformMatrix3x4fvEXT; |
| tbl.glProgramUniformMatrix4dvEXT = debug_glProgramUniformMatrix4dvEXT; |
| tbl.glProgramUniformMatrix4fvEXT = debug_glProgramUniformMatrix4fvEXT; |
| tbl.glProgramUniformMatrix4x2dvEXT = debug_glProgramUniformMatrix4x2dvEXT; |
| tbl.glProgramUniformMatrix4x2fvEXT = debug_glProgramUniformMatrix4x2fvEXT; |
| tbl.glProgramUniformMatrix4x3dvEXT = debug_glProgramUniformMatrix4x3dvEXT; |
| tbl.glProgramUniformMatrix4x3fvEXT = debug_glProgramUniformMatrix4x3fvEXT; |
| tbl.glPushClientAttribDefaultEXT = debug_glPushClientAttribDefaultEXT; |
| tbl.glTextureBufferEXT = debug_glTextureBufferEXT; |
| tbl.glTextureImage1DEXT = debug_glTextureImage1DEXT; |
| tbl.glTextureImage2DEXT = debug_glTextureImage2DEXT; |
| tbl.glTextureImage3DEXT = debug_glTextureImage3DEXT; |
| tbl.glTextureParameterIivEXT = debug_glTextureParameterIivEXT; |
| tbl.glTextureParameterIuivEXT = debug_glTextureParameterIuivEXT; |
| tbl.glTextureParameterfEXT = debug_glTextureParameterfEXT; |
| tbl.glTextureParameterfvEXT = debug_glTextureParameterfvEXT; |
| tbl.glTextureParameteriEXT = debug_glTextureParameteriEXT; |
| tbl.glTextureParameterivEXT = debug_glTextureParameterivEXT; |
| tbl.glTextureRenderbufferEXT = debug_glTextureRenderbufferEXT; |
| tbl.glTextureSubImage1DEXT = debug_glTextureSubImage1DEXT; |
| tbl.glTextureSubImage2DEXT = debug_glTextureSubImage2DEXT; |
| tbl.glTextureSubImage3DEXT = debug_glTextureSubImage3DEXT; |
| tbl.glUnmapNamedBufferEXT = debug_glUnmapNamedBufferEXT; |
| tbl.glVertexArrayColorOffsetEXT = debug_glVertexArrayColorOffsetEXT; |
| tbl.glVertexArrayEdgeFlagOffsetEXT = debug_glVertexArrayEdgeFlagOffsetEXT; |
| tbl.glVertexArrayFogCoordOffsetEXT = debug_glVertexArrayFogCoordOffsetEXT; |
| tbl.glVertexArrayIndexOffsetEXT = debug_glVertexArrayIndexOffsetEXT; |
| tbl.glVertexArrayMultiTexCoordOffsetEXT = debug_glVertexArrayMultiTexCoordOffsetEXT; |
| tbl.glVertexArrayNormalOffsetEXT = debug_glVertexArrayNormalOffsetEXT; |
| tbl.glVertexArraySecondaryColorOffsetEXT = debug_glVertexArraySecondaryColorOffsetEXT; |
| tbl.glVertexArrayTexCoordOffsetEXT = debug_glVertexArrayTexCoordOffsetEXT; |
| tbl.glVertexArrayVertexAttribIOffsetEXT = debug_glVertexArrayVertexAttribIOffsetEXT; |
| tbl.glVertexArrayVertexAttribOffsetEXT = debug_glVertexArrayVertexAttribOffsetEXT; |
| tbl.glVertexArrayVertexOffsetEXT = debug_glVertexArrayVertexOffsetEXT; |
| |
| // GL_EXT_discard_framebuffer |
| |
| tbl.glDiscardFramebufferEXT = debug_glDiscardFramebufferEXT; |
| |
| // GL_EXT_disjoint_timer_query |
| |
| tbl.glGetQueryObjectivEXT = debug_glGetQueryObjectivEXT; |
| tbl.glQueryCounterEXT = debug_glQueryCounterEXT; |
| |
| // GL_EXT_draw_buffers2 |
| |
| tbl.glColorMaskIndexedEXT = debug_glColorMaskIndexedEXT; |
| tbl.glDisableIndexedEXT = debug_glDisableIndexedEXT; |
| tbl.glEnableIndexedEXT = debug_glEnableIndexedEXT; |
| tbl.glGetBooleanIndexedvEXT = debug_glGetBooleanIndexedvEXT; |
| tbl.glGetIntegerIndexedvEXT = debug_glGetIntegerIndexedvEXT; |
| tbl.glIsEnabledIndexedEXT = debug_glIsEnabledIndexedEXT; |
| |
| // GL_EXT_draw_instanced |
| |
| tbl.glDrawArraysInstancedEXT = debug_glDrawArraysInstancedEXT; |
| tbl.glDrawElementsInstancedEXT = debug_glDrawElementsInstancedEXT; |
| |
| // GL_EXT_draw_range_elements |
| |
| tbl.glDrawRangeElementsEXT = debug_glDrawRangeElementsEXT; |
| |
| // GL_EXT_fog_coord |
| |
| tbl.glFogCoordPointerEXT = debug_glFogCoordPointerEXT; |
| tbl.glFogCoorddEXT = debug_glFogCoorddEXT; |
| tbl.glFogCoorddvEXT = debug_glFogCoorddvEXT; |
| tbl.glFogCoordfEXT = debug_glFogCoordfEXT; |
| tbl.glFogCoordfvEXT = debug_glFogCoordfvEXT; |
| |
| // GL_EXT_fragment_lighting |
| |
| tbl.glFragmentColorMaterialEXT = debug_glFragmentColorMaterialEXT; |
| tbl.glFragmentLightModelfEXT = debug_glFragmentLightModelfEXT; |
| tbl.glFragmentLightModelfvEXT = debug_glFragmentLightModelfvEXT; |
| tbl.glFragmentLightModeliEXT = debug_glFragmentLightModeliEXT; |
| tbl.glFragmentLightModelivEXT = debug_glFragmentLightModelivEXT; |
| tbl.glFragmentLightfEXT = debug_glFragmentLightfEXT; |
| tbl.glFragmentLightfvEXT = debug_glFragmentLightfvEXT; |
| tbl.glFragmentLightiEXT = debug_glFragmentLightiEXT; |
| tbl.glFragmentLightivEXT = debug_glFragmentLightivEXT; |
| tbl.glFragmentMaterialfEXT = debug_glFragmentMaterialfEXT; |
| tbl.glFragmentMaterialfvEXT = debug_glFragmentMaterialfvEXT; |
| tbl.glFragmentMaterialiEXT = debug_glFragmentMaterialiEXT; |
| tbl.glFragmentMaterialivEXT = debug_glFragmentMaterialivEXT; |
| tbl.glGetFragmentLightfvEXT = debug_glGetFragmentLightfvEXT; |
| tbl.glGetFragmentLightivEXT = debug_glGetFragmentLightivEXT; |
| tbl.glGetFragmentMaterialfvEXT = debug_glGetFragmentMaterialfvEXT; |
| tbl.glGetFragmentMaterialivEXT = debug_glGetFragmentMaterialivEXT; |
| tbl.glLightEnviEXT = debug_glLightEnviEXT; |
| |
| // GL_EXT_framebuffer_blit |
| |
| tbl.glBlitFramebufferEXT = debug_glBlitFramebufferEXT; |
| |
| // GL_EXT_framebuffer_multisample |
| |
| tbl.glRenderbufferStorageMultisampleEXT = debug_glRenderbufferStorageMultisampleEXT; |
| |
| // GL_EXT_framebuffer_object |
| |
| tbl.glBindFramebufferEXT = debug_glBindFramebufferEXT; |
| tbl.glBindRenderbufferEXT = debug_glBindRenderbufferEXT; |
| tbl.glCheckFramebufferStatusEXT = debug_glCheckFramebufferStatusEXT; |
| tbl.glDeleteFramebuffersEXT = debug_glDeleteFramebuffersEXT; |
| tbl.glDeleteRenderbuffersEXT = debug_glDeleteRenderbuffersEXT; |
| tbl.glFramebufferRenderbufferEXT = debug_glFramebufferRenderbufferEXT; |
| tbl.glFramebufferTexture1DEXT = debug_glFramebufferTexture1DEXT; |
| tbl.glFramebufferTexture2DEXT = debug_glFramebufferTexture2DEXT; |
| tbl.glFramebufferTexture3DEXT = debug_glFramebufferTexture3DEXT; |
| tbl.glGenFramebuffersEXT = debug_glGenFramebuffersEXT; |
| tbl.glGenRenderbuffersEXT = debug_glGenRenderbuffersEXT; |
| tbl.glGenerateMipmapEXT = debug_glGenerateMipmapEXT; |
| tbl.glGetFramebufferAttachmentParameterivEXT = debug_glGetFramebufferAttachmentParameterivEXT; |
| tbl.glGetRenderbufferParameterivEXT = debug_glGetRenderbufferParameterivEXT; |
| tbl.glIsFramebufferEXT = debug_glIsFramebufferEXT; |
| tbl.glIsRenderbufferEXT = debug_glIsRenderbufferEXT; |
| tbl.glRenderbufferStorageEXT = debug_glRenderbufferStorageEXT; |
| |
| // GL_EXT_geometry_shader4 |
| |
| tbl.glFramebufferTextureEXT = debug_glFramebufferTextureEXT; |
| tbl.glFramebufferTextureFaceEXT = debug_glFramebufferTextureFaceEXT; |
| tbl.glProgramParameteriEXT = debug_glProgramParameteriEXT; |
| |
| // GL_EXT_gpu_program_parameters |
| |
| tbl.glProgramEnvParameters4fvEXT = debug_glProgramEnvParameters4fvEXT; |
| tbl.glProgramLocalParameters4fvEXT = debug_glProgramLocalParameters4fvEXT; |
| |
| // GL_EXT_gpu_shader4 |
| |
| tbl.glBindFragDataLocationEXT = debug_glBindFragDataLocationEXT; |
| tbl.glGetFragDataLocationEXT = debug_glGetFragDataLocationEXT; |
| tbl.glGetUniformuivEXT = debug_glGetUniformuivEXT; |
| tbl.glGetVertexAttribIivEXT = debug_glGetVertexAttribIivEXT; |
| tbl.glGetVertexAttribIuivEXT = debug_glGetVertexAttribIuivEXT; |
| tbl.glUniform1uiEXT = debug_glUniform1uiEXT; |
| tbl.glUniform1uivEXT = debug_glUniform1uivEXT; |
| tbl.glUniform2uiEXT = debug_glUniform2uiEXT; |
| tbl.glUniform2uivEXT = debug_glUniform2uivEXT; |
| tbl.glUniform3uiEXT = debug_glUniform3uiEXT; |
| tbl.glUniform3uivEXT = debug_glUniform3uivEXT; |
| tbl.glUniform4uiEXT = debug_glUniform4uiEXT; |
| tbl.glUniform4uivEXT = debug_glUniform4uivEXT; |
| tbl.glVertexAttribI1iEXT = debug_glVertexAttribI1iEXT; |
| tbl.glVertexAttribI1ivEXT = debug_glVertexAttribI1ivEXT; |
| tbl.glVertexAttribI1uiEXT = debug_glVertexAttribI1uiEXT; |
| tbl.glVertexAttribI1uivEXT = debug_glVertexAttribI1uivEXT; |
| tbl.glVertexAttribI2iEXT = debug_glVertexAttribI2iEXT; |
| tbl.glVertexAttribI2ivEXT = debug_glVertexAttribI2ivEXT; |
| tbl.glVertexAttribI2uiEXT = debug_glVertexAttribI2uiEXT; |
| tbl.glVertexAttribI2uivEXT = debug_glVertexAttribI2uivEXT; |
| tbl.glVertexAttribI3iEXT = debug_glVertexAttribI3iEXT; |
| tbl.glVertexAttribI3ivEXT = debug_glVertexAttribI3ivEXT; |
| tbl.glVertexAttribI3uiEXT = debug_glVertexAttribI3uiEXT; |
| tbl.glVertexAttribI3uivEXT = debug_glVertexAttribI3uivEXT; |
| tbl.glVertexAttribI4bvEXT = debug_glVertexAttribI4bvEXT; |
| tbl.glVertexAttribI4iEXT = debug_glVertexAttribI4iEXT; |
| tbl.glVertexAttribI4ivEXT = debug_glVertexAttribI4ivEXT; |
| tbl.glVertexAttribI4svEXT = debug_glVertexAttribI4svEXT; |
| tbl.glVertexAttribI4ubvEXT = debug_glVertexAttribI4ubvEXT; |
| tbl.glVertexAttribI4uiEXT = debug_glVertexAttribI4uiEXT; |
| tbl.glVertexAttribI4uivEXT = debug_glVertexAttribI4uivEXT; |
| tbl.glVertexAttribI4usvEXT = debug_glVertexAttribI4usvEXT; |
| tbl.glVertexAttribIPointerEXT = debug_glVertexAttribIPointerEXT; |
| |
| // GL_EXT_histogram |
| |
| tbl.glGetHistogramEXT = debug_glGetHistogramEXT; |
| tbl.glGetHistogramParameterfvEXT = debug_glGetHistogramParameterfvEXT; |
| tbl.glGetHistogramParameterivEXT = debug_glGetHistogramParameterivEXT; |
| tbl.glGetMinmaxEXT = debug_glGetMinmaxEXT; |
| tbl.glGetMinmaxParameterfvEXT = debug_glGetMinmaxParameterfvEXT; |
| tbl.glGetMinmaxParameterivEXT = debug_glGetMinmaxParameterivEXT; |
| tbl.glHistogramEXT = debug_glHistogramEXT; |
| tbl.glMinmaxEXT = debug_glMinmaxEXT; |
| tbl.glResetHistogramEXT = debug_glResetHistogramEXT; |
| tbl.glResetMinmaxEXT = debug_glResetMinmaxEXT; |
| |
| // GL_EXT_index_func |
| |
| tbl.glIndexFuncEXT = debug_glIndexFuncEXT; |
| |
| // GL_EXT_index_material |
| |
| tbl.glIndexMaterialEXT = debug_glIndexMaterialEXT; |
| |
| // GL_EXT_light_texture |
| |
| tbl.glApplyTextureEXT = debug_glApplyTextureEXT; |
| tbl.glTextureLightEXT = debug_glTextureLightEXT; |
| tbl.glTextureMaterialEXT = debug_glTextureMaterialEXT; |
| |
| // GL_EXT_map_buffer_range |
| |
| tbl.glFlushMappedBufferRangeEXT = debug_glFlushMappedBufferRangeEXT; |
| tbl.glMapBufferRangeEXT = debug_glMapBufferRangeEXT; |
| |
| // GL_EXT_multi_draw_arrays |
| |
| tbl.glMultiDrawArraysEXT = debug_glMultiDrawArraysEXT; |
| tbl.glMultiDrawElementsEXT = debug_glMultiDrawElementsEXT; |
| |
| // GL_EXT_multisample |
| |
| tbl.glSampleMaskEXT = debug_glSampleMaskEXT; |
| tbl.glSamplePatternEXT = debug_glSamplePatternEXT; |
| |
| // GL_EXT_multisampled_render_to_texture |
| |
| tbl.glFramebufferTexture2DMultisampleEXT = debug_glFramebufferTexture2DMultisampleEXT; |
| |
| // GL_EXT_multiview_draw_buffers |
| |
| tbl.glDrawBuffersIndexedEXT = debug_glDrawBuffersIndexedEXT; |
| tbl.glGetIntegeri_vEXT = debug_glGetIntegeri_vEXT; |
| tbl.glReadBufferIndexedEXT = debug_glReadBufferIndexedEXT; |
| |
| // GL_EXT_occlusion_query_boolean |
| |
| tbl.glBeginQueryEXT = debug_glBeginQueryEXT; |
| tbl.glDeleteQueriesEXT = debug_glDeleteQueriesEXT; |
| tbl.glEndQueryEXT = debug_glEndQueryEXT; |
| tbl.glGenQueriesEXT = debug_glGenQueriesEXT; |
| tbl.glGetQueryObjectuivEXT = debug_glGetQueryObjectuivEXT; |
| tbl.glGetQueryivEXT = debug_glGetQueryivEXT; |
| tbl.glIsQueryEXT = debug_glIsQueryEXT; |
| |
| // GL_EXT_paletted_texture |
| |
| tbl.glColorTableEXT = debug_glColorTableEXT; |
| tbl.glGetColorTableEXT = debug_glGetColorTableEXT; |
| tbl.glGetColorTableParameterfvEXT = debug_glGetColorTableParameterfvEXT; |
| tbl.glGetColorTableParameterivEXT = debug_glGetColorTableParameterivEXT; |
| |
| // GL_EXT_pixel_transform |
| |
| tbl.glGetPixelTransformParameterfvEXT = debug_glGetPixelTransformParameterfvEXT; |
| tbl.glGetPixelTransformParameterivEXT = debug_glGetPixelTransformParameterivEXT; |
| tbl.glPixelTransformParameterfEXT = debug_glPixelTransformParameterfEXT; |
| tbl.glPixelTransformParameterfvEXT = debug_glPixelTransformParameterfvEXT; |
| tbl.glPixelTransformParameteriEXT = debug_glPixelTransformParameteriEXT; |
| tbl.glPixelTransformParameterivEXT = debug_glPixelTransformParameterivEXT; |
| |
| // GL_EXT_point_parameters |
| |
| tbl.glPointParameterfEXT = debug_glPointParameterfEXT; |
| tbl.glPointParameterfvEXT = debug_glPointParameterfvEXT; |
| |
| // GL_EXT_polygon_offset |
| |
| tbl.glPolygonOffsetEXT = debug_glPolygonOffsetEXT; |
| |
| // GL_EXT_provoking_vertex |
| |
| tbl.glProvokingVertexEXT = debug_glProvokingVertexEXT; |
| |
| // GL_EXT_robustness |
| |
| tbl.glGetnUniformfvEXT = debug_glGetnUniformfvEXT; |
| tbl.glGetnUniformivEXT = debug_glGetnUniformivEXT; |
| tbl.glReadnPixelsEXT = debug_glReadnPixelsEXT; |
| |
| // GL_EXT_scene_marker |
| |
| tbl.glBeginSceneEXT = debug_glBeginSceneEXT; |
| tbl.glEndSceneEXT = debug_glEndSceneEXT; |
| |
| // GL_EXT_secondary_color |
| |
| tbl.glSecondaryColor3bEXT = debug_glSecondaryColor3bEXT; |
| tbl.glSecondaryColor3bvEXT = debug_glSecondaryColor3bvEXT; |
| tbl.glSecondaryColor3dEXT = debug_glSecondaryColor3dEXT; |
| tbl.glSecondaryColor3dvEXT = debug_glSecondaryColor3dvEXT; |
| tbl.glSecondaryColor3fEXT = debug_glSecondaryColor3fEXT; |
| tbl.glSecondaryColor3fvEXT = debug_glSecondaryColor3fvEXT; |
| tbl.glSecondaryColor3iEXT = debug_glSecondaryColor3iEXT; |
| tbl.glSecondaryColor3ivEXT = debug_glSecondaryColor3ivEXT; |
| tbl.glSecondaryColor3sEXT = debug_glSecondaryColor3sEXT; |
| tbl.glSecondaryColor3svEXT = debug_glSecondaryColor3svEXT; |
| tbl.glSecondaryColor3ubEXT = debug_glSecondaryColor3ubEXT; |
| tbl.glSecondaryColor3ubvEXT = debug_glSecondaryColor3ubvEXT; |
| tbl.glSecondaryColor3uiEXT = debug_glSecondaryColor3uiEXT; |
| tbl.glSecondaryColor3uivEXT = debug_glSecondaryColor3uivEXT; |
| tbl.glSecondaryColor3usEXT = debug_glSecondaryColor3usEXT; |
| tbl.glSecondaryColor3usvEXT = debug_glSecondaryColor3usvEXT; |
| tbl.glSecondaryColorPointerEXT = debug_glSecondaryColorPointerEXT; |
| |
| // GL_EXT_separate_shader_objects |
| |
| tbl.glActiveProgramEXT = debug_glActiveProgramEXT; |
| tbl.glCreateShaderProgramEXT = debug_glCreateShaderProgramEXT; |
| tbl.glUseShaderProgramEXT = debug_glUseShaderProgramEXT; |
| |
| // GL_EXT_shader_image_load_store |
| |
| tbl.glBindImageTextureEXT = debug_glBindImageTextureEXT; |
| tbl.glMemoryBarrierEXT = debug_glMemoryBarrierEXT; |
| |
| // GL_EXT_stencil_clear_tag |
| |
| tbl.glStencilClearTagEXT = debug_glStencilClearTagEXT; |
| |
| // GL_EXT_stencil_two_side |
| |
| tbl.glActiveStencilFaceEXT = debug_glActiveStencilFaceEXT; |
| |
| // GL_EXT_subtexture |
| |
| tbl.glTexSubImage1DEXT = debug_glTexSubImage1DEXT; |
| tbl.glTexSubImage2DEXT = debug_glTexSubImage2DEXT; |
| tbl.glTexSubImage3DEXT = debug_glTexSubImage3DEXT; |
| |
| // GL_EXT_texture3D |
| |
| tbl.glTexImage3DEXT = debug_glTexImage3DEXT; |
| |
| // GL_EXT_texture_array |
| |
| tbl.glFramebufferTextureLayerEXT = debug_glFramebufferTextureLayerEXT; |
| |
| // GL_EXT_texture_buffer_object |
| |
| tbl.glTexBufferEXT = debug_glTexBufferEXT; |
| |
| // GL_EXT_texture_integer |
| |
| tbl.glClearColorIiEXT = debug_glClearColorIiEXT; |
| tbl.glClearColorIuiEXT = debug_glClearColorIuiEXT; |
| tbl.glGetTexParameterIivEXT = debug_glGetTexParameterIivEXT; |
| tbl.glGetTexParameterIuivEXT = debug_glGetTexParameterIuivEXT; |
| tbl.glTexParameterIivEXT = debug_glTexParameterIivEXT; |
| tbl.glTexParameterIuivEXT = debug_glTexParameterIuivEXT; |
| |
| // GL_EXT_texture_object |
| |
| tbl.glAreTexturesResidentEXT = debug_glAreTexturesResidentEXT; |
| tbl.glBindTextureEXT = debug_glBindTextureEXT; |
| tbl.glDeleteTexturesEXT = debug_glDeleteTexturesEXT; |
| tbl.glGenTexturesEXT = debug_glGenTexturesEXT; |
| tbl.glIsTextureEXT = debug_glIsTextureEXT; |
| tbl.glPrioritizeTexturesEXT = debug_glPrioritizeTexturesEXT; |
| |
| // GL_EXT_texture_perturb_normal |
| |
| tbl.glTextureNormalEXT = debug_glTextureNormalEXT; |
| |
| // GL_EXT_texture_storage |
| |
| tbl.glTexStorage1DEXT = debug_glTexStorage1DEXT; |
| tbl.glTexStorage2DEXT = debug_glTexStorage2DEXT; |
| tbl.glTexStorage3DEXT = debug_glTexStorage3DEXT; |
| |
| // GL_EXT_timer_query |
| |
| tbl.glGetQueryObjecti64vEXT = debug_glGetQueryObjecti64vEXT; |
| tbl.glGetQueryObjectui64vEXT = debug_glGetQueryObjectui64vEXT; |
| |
| // GL_EXT_transform_feedback |
| |
| tbl.glBeginTransformFeedbackEXT = debug_glBeginTransformFeedbackEXT; |
| tbl.glBindBufferBaseEXT = debug_glBindBufferBaseEXT; |
| tbl.glBindBufferOffsetEXT = debug_glBindBufferOffsetEXT; |
| tbl.glBindBufferRangeEXT = debug_glBindBufferRangeEXT; |
| tbl.glEndTransformFeedbackEXT = debug_glEndTransformFeedbackEXT; |
| tbl.glGetTransformFeedbackVaryingEXT = debug_glGetTransformFeedbackVaryingEXT; |
| tbl.glTransformFeedbackVaryingsEXT = debug_glTransformFeedbackVaryingsEXT; |
| |
| // GL_EXT_vertex_array |
| |
| tbl.glArrayElementEXT = debug_glArrayElementEXT; |
| tbl.glColorPointerEXT = debug_glColorPointerEXT; |
| tbl.glDrawArraysEXT = debug_glDrawArraysEXT; |
| tbl.glEdgeFlagPointerEXT = debug_glEdgeFlagPointerEXT; |
| tbl.glGetPointervEXT = debug_glGetPointervEXT; |
| tbl.glIndexPointerEXT = debug_glIndexPointerEXT; |
| tbl.glNormalPointerEXT = debug_glNormalPointerEXT; |
| tbl.glTexCoordPointerEXT = debug_glTexCoordPointerEXT; |
| tbl.glVertexPointerEXT = debug_glVertexPointerEXT; |
| |
| // GL_EXT_vertex_attrib_64bit |
| |
| tbl.glGetVertexAttribLdvEXT = debug_glGetVertexAttribLdvEXT; |
| tbl.glVertexArrayVertexAttribLOffsetEXT = debug_glVertexArrayVertexAttribLOffsetEXT; |
| tbl.glVertexAttribL1dEXT = debug_glVertexAttribL1dEXT; |
| tbl.glVertexAttribL1dvEXT = debug_glVertexAttribL1dvEXT; |
| tbl.glVertexAttribL2dEXT = debug_glVertexAttribL2dEXT; |
| tbl.glVertexAttribL2dvEXT = debug_glVertexAttribL2dvEXT; |
| tbl.glVertexAttribL3dEXT = debug_glVertexAttribL3dEXT; |
| tbl.glVertexAttribL3dvEXT = debug_glVertexAttribL3dvEXT; |
| tbl.glVertexAttribL4dEXT = debug_glVertexAttribL4dEXT; |
| tbl.glVertexAttribL4dvEXT = debug_glVertexAttribL4dvEXT; |
| tbl.glVertexAttribLPointerEXT = debug_glVertexAttribLPointerEXT; |
| |
| // GL_EXT_vertex_shader |
| |
| tbl.glBeginVertexShaderEXT = debug_glBeginVertexShaderEXT; |
| tbl.glBindLightParameterEXT = debug_glBindLightParameterEXT; |
| tbl.glBindMaterialParameterEXT = debug_glBindMaterialParameterEXT; |
| tbl.glBindParameterEXT = debug_glBindParameterEXT; |
| tbl.glBindTexGenParameterEXT = debug_glBindTexGenParameterEXT; |
| tbl.glBindTextureUnitParameterEXT = debug_glBindTextureUnitParameterEXT; |
| tbl.glBindVertexShaderEXT = debug_glBindVertexShaderEXT; |
| tbl.glDeleteVertexShaderEXT = debug_glDeleteVertexShaderEXT; |
| tbl.glDisableVariantClientStateEXT = debug_glDisableVariantClientStateEXT; |
| tbl.glEnableVariantClientStateEXT = debug_glEnableVariantClientStateEXT; |
| tbl.glEndVertexShaderEXT = debug_glEndVertexShaderEXT; |
| tbl.glExtractComponentEXT = debug_glExtractComponentEXT; |
| tbl.glGenSymbolsEXT = debug_glGenSymbolsEXT; |
| tbl.glGenVertexShadersEXT = debug_glGenVertexShadersEXT; |
| tbl.glGetInvariantBooleanvEXT = debug_glGetInvariantBooleanvEXT; |
| tbl.glGetInvariantFloatvEXT = debug_glGetInvariantFloatvEXT; |
| tbl.glGetInvariantIntegervEXT = debug_glGetInvariantIntegervEXT; |
| tbl.glGetLocalConstantBooleanvEXT = debug_glGetLocalConstantBooleanvEXT; |
| tbl.glGetLocalConstantFloatvEXT = debug_glGetLocalConstantFloatvEXT; |
| tbl.glGetLocalConstantIntegervEXT = debug_glGetLocalConstantIntegervEXT; |
| tbl.glGetVariantBooleanvEXT = debug_glGetVariantBooleanvEXT; |
| tbl.glGetVariantFloatvEXT = debug_glGetVariantFloatvEXT; |
| tbl.glGetVariantIntegervEXT = debug_glGetVariantIntegervEXT; |
| tbl.glGetVariantPointervEXT = debug_glGetVariantPointervEXT; |
| tbl.glInsertComponentEXT = debug_glInsertComponentEXT; |
| tbl.glIsVariantEnabledEXT = debug_glIsVariantEnabledEXT; |
| tbl.glSetInvariantEXT = debug_glSetInvariantEXT; |
| tbl.glSetLocalConstantEXT = debug_glSetLocalConstantEXT; |
| tbl.glShaderOp1EXT = debug_glShaderOp1EXT; |
| tbl.glShaderOp2EXT = debug_glShaderOp2EXT; |
| tbl.glShaderOp3EXT = debug_glShaderOp3EXT; |
| tbl.glSwizzleEXT = debug_glSwizzleEXT; |
| tbl.glVariantPointerEXT = debug_glVariantPointerEXT; |
| tbl.glVariantbvEXT = debug_glVariantbvEXT; |
| tbl.glVariantdvEXT = debug_glVariantdvEXT; |
| tbl.glVariantfvEXT = debug_glVariantfvEXT; |
| tbl.glVariantivEXT = debug_glVariantivEXT; |
| tbl.glVariantsvEXT = debug_glVariantsvEXT; |
| tbl.glVariantubvEXT = debug_glVariantubvEXT; |
| tbl.glVariantuivEXT = debug_glVariantuivEXT; |
| tbl.glVariantusvEXT = debug_glVariantusvEXT; |
| tbl.glWriteMaskEXT = debug_glWriteMaskEXT; |
| |
| // GL_EXT_vertex_weighting |
| |
| tbl.glVertexWeightPointerEXT = debug_glVertexWeightPointerEXT; |
| tbl.glVertexWeightfEXT = debug_glVertexWeightfEXT; |
| tbl.glVertexWeightfvEXT = debug_glVertexWeightfvEXT; |
| |
| // GL_EXT_x11_sync_object |
| |
| tbl.glImportSyncEXT = debug_glImportSyncEXT; |
| |
| // GL_GREMEDY_frame_terminator |
| |
| tbl.glFrameTerminatorGREMEDY = debug_glFrameTerminatorGREMEDY; |
| |
| // GL_GREMEDY_string_marker |
| |
| tbl.glStringMarkerGREMEDY = debug_glStringMarkerGREMEDY; |
| |
| // GL_HP_image_transform |
| |
| tbl.glGetImageTransformParameterfvHP = debug_glGetImageTransformParameterfvHP; |
| tbl.glGetImageTransformParameterivHP = debug_glGetImageTransformParameterivHP; |
| tbl.glImageTransformParameterfHP = debug_glImageTransformParameterfHP; |
| tbl.glImageTransformParameterfvHP = debug_glImageTransformParameterfvHP; |
| tbl.glImageTransformParameteriHP = debug_glImageTransformParameteriHP; |
| tbl.glImageTransformParameterivHP = debug_glImageTransformParameterivHP; |
| |
| // GL_IBM_multimode_draw_arrays |
| |
| tbl.glMultiModeDrawArraysIBM = debug_glMultiModeDrawArraysIBM; |
| tbl.glMultiModeDrawElementsIBM = debug_glMultiModeDrawElementsIBM; |
| |
| // GL_IBM_vertex_array_lists |
| |
| tbl.glColorPointerListIBM = debug_glColorPointerListIBM; |
| tbl.glEdgeFlagPointerListIBM = debug_glEdgeFlagPointerListIBM; |
| tbl.glFogCoordPointerListIBM = debug_glFogCoordPointerListIBM; |
| tbl.glIndexPointerListIBM = debug_glIndexPointerListIBM; |
| tbl.glNormalPointerListIBM = debug_glNormalPointerListIBM; |
| tbl.glSecondaryColorPointerListIBM = debug_glSecondaryColorPointerListIBM; |
| tbl.glTexCoordPointerListIBM = debug_glTexCoordPointerListIBM; |
| tbl.glVertexPointerListIBM = debug_glVertexPointerListIBM; |
| |
| // GL_IMG_multisampled_render_to_texture |
| |
| tbl.glFramebufferTexture2DMultisampleIMG = debug_glFramebufferTexture2DMultisampleIMG; |
| tbl.glRenderbufferStorageMultisampleIMG = debug_glRenderbufferStorageMultisampleIMG; |
| |
| // GL_INGR_blend_func_separate |
| |
| tbl.glBlendFuncSeparateINGR = debug_glBlendFuncSeparateINGR; |
| |
| // GL_INTEL_map_texture |
| |
| tbl.glMapTexture2DINTEL = debug_glMapTexture2DINTEL; |
| tbl.glSyncTextureINTEL = debug_glSyncTextureINTEL; |
| tbl.glUnmapTexture2DINTEL = debug_glUnmapTexture2DINTEL; |
| |
| // GL_INTEL_parallel_arrays |
| |
| tbl.glColorPointervINTEL = debug_glColorPointervINTEL; |
| tbl.glNormalPointervINTEL = debug_glNormalPointervINTEL; |
| tbl.glTexCoordPointervINTEL = debug_glTexCoordPointervINTEL; |
| tbl.glVertexPointervINTEL = debug_glVertexPointervINTEL; |
| |
| // GL_INTEL_texture_scissor |
| |
| tbl.glTexScissorFuncINTEL = debug_glTexScissorFuncINTEL; |
| tbl.glTexScissorINTEL = debug_glTexScissorINTEL; |
| |
| // GL_KHR_debug |
| |
| tbl.glDebugMessageCallback = debug_glDebugMessageCallback; |
| tbl.glDebugMessageControl = debug_glDebugMessageControl; |
| tbl.glDebugMessageInsert = debug_glDebugMessageInsert; |
| tbl.glGetDebugMessageLog = debug_glGetDebugMessageLog; |
| tbl.glGetObjectLabel = debug_glGetObjectLabel; |
| tbl.glGetObjectPtrLabel = debug_glGetObjectPtrLabel; |
| tbl.glObjectLabel = debug_glObjectLabel; |
| tbl.glObjectPtrLabel = debug_glObjectPtrLabel; |
| tbl.glPopDebugGroup = debug_glPopDebugGroup; |
| tbl.glPushDebugGroup = debug_glPushDebugGroup; |
| |
| // GL_KTX_buffer_region |
| |
| tbl.glBufferRegionEnabled = debug_glBufferRegionEnabled; |
| tbl.glDeleteBufferRegion = debug_glDeleteBufferRegion; |
| tbl.glDrawBufferRegion = debug_glDrawBufferRegion; |
| tbl.glNewBufferRegion = debug_glNewBufferRegion; |
| tbl.glReadBufferRegion = debug_glReadBufferRegion; |
| |
| // GL_MESA_resize_buffers |
| |
| tbl.glResizeBuffersMESA = debug_glResizeBuffersMESA; |
| |
| // GL_MESA_window_pos |
| |
| tbl.glWindowPos2dMESA = debug_glWindowPos2dMESA; |
| tbl.glWindowPos2dvMESA = debug_glWindowPos2dvMESA; |
| tbl.glWindowPos2fMESA = debug_glWindowPos2fMESA; |
| tbl.glWindowPos2fvMESA = debug_glWindowPos2fvMESA; |
| tbl.glWindowPos2iMESA = debug_glWindowPos2iMESA; |
| tbl.glWindowPos2ivMESA = debug_glWindowPos2ivMESA; |
| tbl.glWindowPos2sMESA = debug_glWindowPos2sMESA; |
| tbl.glWindowPos2svMESA = debug_glWindowPos2svMESA; |
| tbl.glWindowPos3dMESA = debug_glWindowPos3dMESA; |
| tbl.glWindowPos3dvMESA = debug_glWindowPos3dvMESA; |
| tbl.glWindowPos3fMESA = debug_glWindowPos3fMESA; |
| tbl.glWindowPos3fvMESA = debug_glWindowPos3fvMESA; |
| tbl.glWindowPos3iMESA = debug_glWindowPos3iMESA; |
| tbl.glWindowPos3ivMESA = debug_glWindowPos3ivMESA; |
| tbl.glWindowPos3sMESA = debug_glWindowPos3sMESA; |
| tbl.glWindowPos3svMESA = debug_glWindowPos3svMESA; |
| tbl.glWindowPos4dMESA = debug_glWindowPos4dMESA; |
| tbl.glWindowPos4dvMESA = debug_glWindowPos4dvMESA; |
| tbl.glWindowPos4fMESA = debug_glWindowPos4fMESA; |
| tbl.glWindowPos4fvMESA = debug_glWindowPos4fvMESA; |
| tbl.glWindowPos4iMESA = debug_glWindowPos4iMESA; |
| tbl.glWindowPos4ivMESA = debug_glWindowPos4ivMESA; |
| tbl.glWindowPos4sMESA = debug_glWindowPos4sMESA; |
| tbl.glWindowPos4svMESA = debug_glWindowPos4svMESA; |
| |
| // GL_NVX_conditional_render |
| |
| tbl.glBeginConditionalRenderNVX = debug_glBeginConditionalRenderNVX; |
| tbl.glEndConditionalRenderNVX = debug_glEndConditionalRenderNVX; |
| |
| // GL_NV_bindless_texture |
| |
| tbl.glGetImageHandleNV = debug_glGetImageHandleNV; |
| tbl.glGetTextureHandleNV = debug_glGetTextureHandleNV; |
| tbl.glGetTextureSamplerHandleNV = debug_glGetTextureSamplerHandleNV; |
| tbl.glIsImageHandleResidentNV = debug_glIsImageHandleResidentNV; |
| tbl.glIsTextureHandleResidentNV = debug_glIsTextureHandleResidentNV; |
| tbl.glMakeImageHandleNonResidentNV = debug_glMakeImageHandleNonResidentNV; |
| tbl.glMakeImageHandleResidentNV = debug_glMakeImageHandleResidentNV; |
| tbl.glMakeTextureHandleNonResidentNV = debug_glMakeTextureHandleNonResidentNV; |
| tbl.glMakeTextureHandleResidentNV = debug_glMakeTextureHandleResidentNV; |
| tbl.glProgramUniformHandleui64NV = debug_glProgramUniformHandleui64NV; |
| tbl.glProgramUniformHandleui64vNV = debug_glProgramUniformHandleui64vNV; |
| tbl.glUniformHandleui64NV = debug_glUniformHandleui64NV; |
| tbl.glUniformHandleui64vNV = debug_glUniformHandleui64vNV; |
| |
| // GL_NV_blend_equation_advanced |
| |
| tbl.glBlendBarrierNV = debug_glBlendBarrierNV; |
| tbl.glBlendParameteriNV = debug_glBlendParameteriNV; |
| |
| // GL_NV_conditional_render |
| |
| tbl.glBeginConditionalRenderNV = debug_glBeginConditionalRenderNV; |
| tbl.glEndConditionalRenderNV = debug_glEndConditionalRenderNV; |
| |
| // GL_NV_copy_buffer |
| |
| tbl.glCopyBufferSubDataNV = debug_glCopyBufferSubDataNV; |
| |
| // GL_NV_copy_image |
| |
| tbl.glCopyImageSubDataNV = debug_glCopyImageSubDataNV; |
| |
| // GL_NV_coverage_sample |
| |
| tbl.glCoverageMaskNV = debug_glCoverageMaskNV; |
| tbl.glCoverageOperationNV = debug_glCoverageOperationNV; |
| |
| // GL_NV_depth_buffer_float |
| |
| tbl.glClearDepthdNV = debug_glClearDepthdNV; |
| tbl.glDepthBoundsdNV = debug_glDepthBoundsdNV; |
| tbl.glDepthRangedNV = debug_glDepthRangedNV; |
| |
| // GL_NV_draw_buffers |
| |
| tbl.glDrawBuffersNV = debug_glDrawBuffersNV; |
| |
| // GL_NV_draw_texture |
| |
| tbl.glDrawTextureNV = debug_glDrawTextureNV; |
| |
| // GL_NV_evaluators |
| |
| tbl.glEvalMapsNV = debug_glEvalMapsNV; |
| tbl.glGetMapAttribParameterfvNV = debug_glGetMapAttribParameterfvNV; |
| tbl.glGetMapAttribParameterivNV = debug_glGetMapAttribParameterivNV; |
| tbl.glGetMapControlPointsNV = debug_glGetMapControlPointsNV; |
| tbl.glGetMapParameterfvNV = debug_glGetMapParameterfvNV; |
| tbl.glGetMapParameterivNV = debug_glGetMapParameterivNV; |
| tbl.glMapControlPointsNV = debug_glMapControlPointsNV; |
| tbl.glMapParameterfvNV = debug_glMapParameterfvNV; |
| tbl.glMapParameterivNV = debug_glMapParameterivNV; |
| |
| // GL_NV_explicit_multisample |
| |
| tbl.glGetMultisamplefvNV = debug_glGetMultisamplefvNV; |
| tbl.glSampleMaskIndexedNV = debug_glSampleMaskIndexedNV; |
| tbl.glTexRenderbufferNV = debug_glTexRenderbufferNV; |
| |
| // GL_NV_fence |
| |
| tbl.glDeleteFencesNV = debug_glDeleteFencesNV; |
| tbl.glFinishFenceNV = debug_glFinishFenceNV; |
| tbl.glGenFencesNV = debug_glGenFencesNV; |
| tbl.glGetFenceivNV = debug_glGetFenceivNV; |
| tbl.glIsFenceNV = debug_glIsFenceNV; |
| tbl.glSetFenceNV = debug_glSetFenceNV; |
| tbl.glTestFenceNV = debug_glTestFenceNV; |
| |
| // GL_NV_fragment_program |
| |
| tbl.glGetProgramNamedParameterdvNV = debug_glGetProgramNamedParameterdvNV; |
| tbl.glGetProgramNamedParameterfvNV = debug_glGetProgramNamedParameterfvNV; |
| tbl.glProgramNamedParameter4dNV = debug_glProgramNamedParameter4dNV; |
| tbl.glProgramNamedParameter4dvNV = debug_glProgramNamedParameter4dvNV; |
| tbl.glProgramNamedParameter4fNV = debug_glProgramNamedParameter4fNV; |
| tbl.glProgramNamedParameter4fvNV = debug_glProgramNamedParameter4fvNV; |
| |
| // GL_NV_framebuffer_blit |
| |
| tbl.glBlitFramebufferNV = debug_glBlitFramebufferNV; |
| |
| // GL_NV_framebuffer_multisample_coverage |
| |
| tbl.glRenderbufferStorageMultisampleCoverageNV = debug_glRenderbufferStorageMultisampleCoverageNV; |
| |
| // GL_NV_geometry_program4 |
| |
| tbl.glProgramVertexLimitNV = debug_glProgramVertexLimitNV; |
| |
| // GL_NV_gpu_program4 |
| |
| tbl.glGetProgramEnvParameterIivNV = debug_glGetProgramEnvParameterIivNV; |
| tbl.glGetProgramEnvParameterIuivNV = debug_glGetProgramEnvParameterIuivNV; |
| tbl.glGetProgramLocalParameterIivNV = debug_glGetProgramLocalParameterIivNV; |
| tbl.glGetProgramLocalParameterIuivNV = debug_glGetProgramLocalParameterIuivNV; |
| tbl.glProgramEnvParameterI4iNV = debug_glProgramEnvParameterI4iNV; |
| tbl.glProgramEnvParameterI4ivNV = debug_glProgramEnvParameterI4ivNV; |
| tbl.glProgramEnvParameterI4uiNV = debug_glProgramEnvParameterI4uiNV; |
| tbl.glProgramEnvParameterI4uivNV = debug_glProgramEnvParameterI4uivNV; |
| tbl.glProgramEnvParametersI4ivNV = debug_glProgramEnvParametersI4ivNV; |
| tbl.glProgramEnvParametersI4uivNV = debug_glProgramEnvParametersI4uivNV; |
| tbl.glProgramLocalParameterI4iNV = debug_glProgramLocalParameterI4iNV; |
| tbl.glProgramLocalParameterI4ivNV = debug_glProgramLocalParameterI4ivNV; |
| tbl.glProgramLocalParameterI4uiNV = debug_glProgramLocalParameterI4uiNV; |
| tbl.glProgramLocalParameterI4uivNV = debug_glProgramLocalParameterI4uivNV; |
| tbl.glProgramLocalParametersI4ivNV = debug_glProgramLocalParametersI4ivNV; |
| tbl.glProgramLocalParametersI4uivNV = debug_glProgramLocalParametersI4uivNV; |
| |
| // GL_NV_gpu_shader5 |
| |
| tbl.glGetUniformi64vNV = debug_glGetUniformi64vNV; |
| tbl.glProgramUniform1i64NV = debug_glProgramUniform1i64NV; |
| tbl.glProgramUniform1i64vNV = debug_glProgramUniform1i64vNV; |
| tbl.glProgramUniform1ui64NV = debug_glProgramUniform1ui64NV; |
| tbl.glProgramUniform1ui64vNV = debug_glProgramUniform1ui64vNV; |
| tbl.glProgramUniform2i64NV = debug_glProgramUniform2i64NV; |
| tbl.glProgramUniform2i64vNV = debug_glProgramUniform2i64vNV; |
| tbl.glProgramUniform2ui64NV = debug_glProgramUniform2ui64NV; |
| tbl.glProgramUniform2ui64vNV = debug_glProgramUniform2ui64vNV; |
| tbl.glProgramUniform3i64NV = debug_glProgramUniform3i64NV; |
| tbl.glProgramUniform3i64vNV = debug_glProgramUniform3i64vNV; |
| tbl.glProgramUniform3ui64NV = debug_glProgramUniform3ui64NV; |
| tbl.glProgramUniform3ui64vNV = debug_glProgramUniform3ui64vNV; |
| tbl.glProgramUniform4i64NV = debug_glProgramUniform4i64NV; |
| tbl.glProgramUniform4i64vNV = debug_glProgramUniform4i64vNV; |
| tbl.glProgramUniform4ui64NV = debug_glProgramUniform4ui64NV; |
| tbl.glProgramUniform4ui64vNV = debug_glProgramUniform4ui64vNV; |
| tbl.glUniform1i64NV = debug_glUniform1i64NV; |
| tbl.glUniform1i64vNV = debug_glUniform1i64vNV; |
| tbl.glUniform1ui64NV = debug_glUniform1ui64NV; |
| tbl.glUniform1ui64vNV = debug_glUniform1ui64vNV; |
| tbl.glUniform2i64NV = debug_glUniform2i64NV; |
| tbl.glUniform2i64vNV = debug_glUniform2i64vNV; |
| tbl.glUniform2ui64NV = debug_glUniform2ui64NV; |
| tbl.glUniform2ui64vNV = debug_glUniform2ui64vNV; |
| tbl.glUniform3i64NV = debug_glUniform3i64NV; |
| tbl.glUniform3i64vNV = debug_glUniform3i64vNV; |
| tbl.glUniform3ui64NV = debug_glUniform3ui64NV; |
| tbl.glUniform3ui64vNV = debug_glUniform3ui64vNV; |
| tbl.glUniform4i64NV = debug_glUniform4i64NV; |
| tbl.glUniform4i64vNV = debug_glUniform4i64vNV; |
| tbl.glUniform4ui64NV = debug_glUniform4ui64NV; |
| tbl.glUniform4ui64vNV = debug_glUniform4ui64vNV; |
| |
| // GL_NV_half_float |
| |
| tbl.glColor3hNV = debug_glColor3hNV; |
| tbl.glColor3hvNV = debug_glColor3hvNV; |
| tbl.glColor4hNV = debug_glColor4hNV; |
| tbl.glColor4hvNV = debug_glColor4hvNV; |
| tbl.glFogCoordhNV = debug_glFogCoordhNV; |
| tbl.glFogCoordhvNV = debug_glFogCoordhvNV; |
| tbl.glMultiTexCoord1hNV = debug_glMultiTexCoord1hNV; |
| tbl.glMultiTexCoord1hvNV = debug_glMultiTexCoord1hvNV; |
| tbl.glMultiTexCoord2hNV = debug_glMultiTexCoord2hNV; |
| tbl.glMultiTexCoord2hvNV = debug_glMultiTexCoord2hvNV; |
| tbl.glMultiTexCoord3hNV = debug_glMultiTexCoord3hNV; |
| tbl.glMultiTexCoord3hvNV = debug_glMultiTexCoord3hvNV; |
| tbl.glMultiTexCoord4hNV = debug_glMultiTexCoord4hNV; |
| tbl.glMultiTexCoord4hvNV = debug_glMultiTexCoord4hvNV; |
| tbl.glNormal3hNV = debug_glNormal3hNV; |
| tbl.glNormal3hvNV = debug_glNormal3hvNV; |
| tbl.glSecondaryColor3hNV = debug_glSecondaryColor3hNV; |
| tbl.glSecondaryColor3hvNV = debug_glSecondaryColor3hvNV; |
| tbl.glTexCoord1hNV = debug_glTexCoord1hNV; |
| tbl.glTexCoord1hvNV = debug_glTexCoord1hvNV; |
| tbl.glTexCoord2hNV = debug_glTexCoord2hNV; |
| tbl.glTexCoord2hvNV = debug_glTexCoord2hvNV; |
| tbl.glTexCoord3hNV = debug_glTexCoord3hNV; |
| tbl.glTexCoord3hvNV = debug_glTexCoord3hvNV; |
| tbl.glTexCoord4hNV = debug_glTexCoord4hNV; |
| tbl.glTexCoord4hvNV = debug_glTexCoord4hvNV; |
| tbl.glVertex2hNV = debug_glVertex2hNV; |
| tbl.glVertex2hvNV = debug_glVertex2hvNV; |
| tbl.glVertex3hNV = debug_glVertex3hNV; |
| tbl.glVertex3hvNV = debug_glVertex3hvNV; |
| tbl.glVertex4hNV = debug_glVertex4hNV; |
| tbl.glVertex4hvNV = debug_glVertex4hvNV; |
| tbl.glVertexAttrib1hNV = debug_glVertexAttrib1hNV; |
| tbl.glVertexAttrib1hvNV = debug_glVertexAttrib1hvNV; |
| tbl.glVertexAttrib2hNV = debug_glVertexAttrib2hNV; |
| tbl.glVertexAttrib2hvNV = debug_glVertexAttrib2hvNV; |
| tbl.glVertexAttrib3hNV = debug_glVertexAttrib3hNV; |
| tbl.glVertexAttrib3hvNV = debug_glVertexAttrib3hvNV; |
| tbl.glVertexAttrib4hNV = debug_glVertexAttrib4hNV; |
| tbl.glVertexAttrib4hvNV = debug_glVertexAttrib4hvNV; |
| tbl.glVertexAttribs1hvNV = debug_glVertexAttribs1hvNV; |
| tbl.glVertexAttribs2hvNV = debug_glVertexAttribs2hvNV; |
| tbl.glVertexAttribs3hvNV = debug_glVertexAttribs3hvNV; |
| tbl.glVertexAttribs4hvNV = debug_glVertexAttribs4hvNV; |
| tbl.glVertexWeighthNV = debug_glVertexWeighthNV; |
| tbl.glVertexWeighthvNV = debug_glVertexWeighthvNV; |
| |
| // GL_NV_non_square_matrices |
| |
| tbl.glUniformMatrix2x3fvNV = debug_glUniformMatrix2x3fvNV; |
| tbl.glUniformMatrix2x4fvNV = debug_glUniformMatrix2x4fvNV; |
| tbl.glUniformMatrix3x2fvNV = debug_glUniformMatrix3x2fvNV; |
| tbl.glUniformMatrix3x4fvNV = debug_glUniformMatrix3x4fvNV; |
| tbl.glUniformMatrix4x2fvNV = debug_glUniformMatrix4x2fvNV; |
| tbl.glUniformMatrix4x3fvNV = debug_glUniformMatrix4x3fvNV; |
| |
| // GL_NV_occlusion_query |
| |
| tbl.glBeginOcclusionQueryNV = debug_glBeginOcclusionQueryNV; |
| tbl.glDeleteOcclusionQueriesNV = debug_glDeleteOcclusionQueriesNV; |
| tbl.glEndOcclusionQueryNV = debug_glEndOcclusionQueryNV; |
| tbl.glGenOcclusionQueriesNV = debug_glGenOcclusionQueriesNV; |
| tbl.glGetOcclusionQueryivNV = debug_glGetOcclusionQueryivNV; |
| tbl.glGetOcclusionQueryuivNV = debug_glGetOcclusionQueryuivNV; |
| tbl.glIsOcclusionQueryNV = debug_glIsOcclusionQueryNV; |
| |
| // GL_NV_parameter_buffer_object |
| |
| tbl.glProgramBufferParametersIivNV = debug_glProgramBufferParametersIivNV; |
| tbl.glProgramBufferParametersIuivNV = debug_glProgramBufferParametersIuivNV; |
| tbl.glProgramBufferParametersfvNV = debug_glProgramBufferParametersfvNV; |
| |
| // GL_NV_path_rendering |
| |
| tbl.glCopyPathNV = debug_glCopyPathNV; |
| tbl.glCoverFillPathInstancedNV = debug_glCoverFillPathInstancedNV; |
| tbl.glCoverFillPathNV = debug_glCoverFillPathNV; |
| tbl.glCoverStrokePathInstancedNV = debug_glCoverStrokePathInstancedNV; |
| tbl.glCoverStrokePathNV = debug_glCoverStrokePathNV; |
| tbl.glDeletePathsNV = debug_glDeletePathsNV; |
| tbl.glGenPathsNV = debug_glGenPathsNV; |
| tbl.glGetPathColorGenfvNV = debug_glGetPathColorGenfvNV; |
| tbl.glGetPathColorGenivNV = debug_glGetPathColorGenivNV; |
| tbl.glGetPathCommandsNV = debug_glGetPathCommandsNV; |
| tbl.glGetPathCoordsNV = debug_glGetPathCoordsNV; |
| tbl.glGetPathDashArrayNV = debug_glGetPathDashArrayNV; |
| tbl.glGetPathLengthNV = debug_glGetPathLengthNV; |
| tbl.glGetPathMetricRangeNV = debug_glGetPathMetricRangeNV; |
| tbl.glGetPathMetricsNV = debug_glGetPathMetricsNV; |
| tbl.glGetPathParameterfvNV = debug_glGetPathParameterfvNV; |
| tbl.glGetPathParameterivNV = debug_glGetPathParameterivNV; |
| tbl.glGetPathSpacingNV = debug_glGetPathSpacingNV; |
| tbl.glGetPathTexGenfvNV = debug_glGetPathTexGenfvNV; |
| tbl.glGetPathTexGenivNV = debug_glGetPathTexGenivNV; |
| tbl.glInterpolatePathsNV = debug_glInterpolatePathsNV; |
| tbl.glIsPathNV = debug_glIsPathNV; |
| tbl.glIsPointInFillPathNV = debug_glIsPointInFillPathNV; |
| tbl.glIsPointInStrokePathNV = debug_glIsPointInStrokePathNV; |
| tbl.glPathColorGenNV = debug_glPathColorGenNV; |
| tbl.glPathCommandsNV = debug_glPathCommandsNV; |
| tbl.glPathCoordsNV = debug_glPathCoordsNV; |
| tbl.glPathCoverDepthFuncNV = debug_glPathCoverDepthFuncNV; |
| tbl.glPathDashArrayNV = debug_glPathDashArrayNV; |
| tbl.glPathFogGenNV = debug_glPathFogGenNV; |
| tbl.glPathGlyphRangeNV = debug_glPathGlyphRangeNV; |
| tbl.glPathGlyphsNV = debug_glPathGlyphsNV; |
| tbl.glPathParameterfNV = debug_glPathParameterfNV; |
| tbl.glPathParameterfvNV = debug_glPathParameterfvNV; |
| tbl.glPathParameteriNV = debug_glPathParameteriNV; |
| tbl.glPathParameterivNV = debug_glPathParameterivNV; |
| tbl.glPathStencilDepthOffsetNV = debug_glPathStencilDepthOffsetNV; |
| tbl.glPathStencilFuncNV = debug_glPathStencilFuncNV; |
| tbl.glPathStringNV = debug_glPathStringNV; |
| tbl.glPathSubCommandsNV = debug_glPathSubCommandsNV; |
| tbl.glPathSubCoordsNV = debug_glPathSubCoordsNV; |
| tbl.glPathTexGenNV = debug_glPathTexGenNV; |
| tbl.glPointAlongPathNV = debug_glPointAlongPathNV; |
| tbl.glStencilFillPathInstancedNV = debug_glStencilFillPathInstancedNV; |
| tbl.glStencilFillPathNV = debug_glStencilFillPathNV; |
| tbl.glStencilStrokePathInstancedNV = debug_glStencilStrokePathInstancedNV; |
| tbl.glStencilStrokePathNV = debug_glStencilStrokePathNV; |
| tbl.glTransformPathNV = debug_glTransformPathNV; |
| tbl.glWeightPathsNV = debug_glWeightPathsNV; |
| |
| // GL_NV_pixel_data_range |
| |
| tbl.glFlushPixelDataRangeNV = debug_glFlushPixelDataRangeNV; |
| tbl.glPixelDataRangeNV = debug_glPixelDataRangeNV; |
| |
| // GL_NV_point_sprite |
| |
| tbl.glPointParameteriNV = debug_glPointParameteriNV; |
| tbl.glPointParameterivNV = debug_glPointParameterivNV; |
| |
| // GL_NV_present_video |
| |
| tbl.glGetVideoi64vNV = debug_glGetVideoi64vNV; |
| tbl.glGetVideoivNV = debug_glGetVideoivNV; |
| tbl.glGetVideoui64vNV = debug_glGetVideoui64vNV; |
| tbl.glGetVideouivNV = debug_glGetVideouivNV; |
| tbl.glPresentFrameDualFillNV = debug_glPresentFrameDualFillNV; |
| tbl.glPresentFrameKeyedNV = debug_glPresentFrameKeyedNV; |
| |
| // GL_NV_primitive_restart |
| |
| tbl.glPrimitiveRestartIndexNV = debug_glPrimitiveRestartIndexNV; |
| tbl.glPrimitiveRestartNV = debug_glPrimitiveRestartNV; |
| |
| // GL_NV_read_buffer |
| |
| tbl.glReadBufferNV = debug_glReadBufferNV; |
| |
| // GL_NV_register_combiners |
| |
| tbl.glCombinerInputNV = debug_glCombinerInputNV; |
| tbl.glCombinerOutputNV = debug_glCombinerOutputNV; |
| tbl.glCombinerParameterfNV = debug_glCombinerParameterfNV; |
| tbl.glCombinerParameterfvNV = debug_glCombinerParameterfvNV; |
| tbl.glCombinerParameteriNV = debug_glCombinerParameteriNV; |
| tbl.glCombinerParameterivNV = debug_glCombinerParameterivNV; |
| tbl.glFinalCombinerInputNV = debug_glFinalCombinerInputNV; |
| tbl.glGetCombinerInputParameterfvNV = debug_glGetCombinerInputParameterfvNV; |
| tbl.glGetCombinerInputParameterivNV = debug_glGetCombinerInputParameterivNV; |
| tbl.glGetCombinerOutputParameterfvNV = debug_glGetCombinerOutputParameterfvNV; |
| tbl.glGetCombinerOutputParameterivNV = debug_glGetCombinerOutputParameterivNV; |
| tbl.glGetFinalCombinerInputParameterfvNV = debug_glGetFinalCombinerInputParameterfvNV; |
| tbl.glGetFinalCombinerInputParameterivNV = debug_glGetFinalCombinerInputParameterivNV; |
| |
| // GL_NV_register_combiners2 |
| |
| tbl.glCombinerStageParameterfvNV = debug_glCombinerStageParameterfvNV; |
| tbl.glGetCombinerStageParameterfvNV = debug_glGetCombinerStageParameterfvNV; |
| |
| // GL_NV_shader_buffer_load |
| |
| tbl.glGetBufferParameterui64vNV = debug_glGetBufferParameterui64vNV; |
| tbl.glGetIntegerui64vNV = debug_glGetIntegerui64vNV; |
| tbl.glGetNamedBufferParameterui64vNV = debug_glGetNamedBufferParameterui64vNV; |
| tbl.glGetUniformui64vNV = debug_glGetUniformui64vNV; |
| tbl.glIsBufferResidentNV = debug_glIsBufferResidentNV; |
| tbl.glIsNamedBufferResidentNV = debug_glIsNamedBufferResidentNV; |
| tbl.glMakeBufferNonResidentNV = debug_glMakeBufferNonResidentNV; |
| tbl.glMakeBufferResidentNV = debug_glMakeBufferResidentNV; |
| tbl.glMakeNamedBufferNonResidentNV = debug_glMakeNamedBufferNonResidentNV; |
| tbl.glMakeNamedBufferResidentNV = debug_glMakeNamedBufferResidentNV; |
| tbl.glProgramUniformui64NV = debug_glProgramUniformui64NV; |
| tbl.glProgramUniformui64vNV = debug_glProgramUniformui64vNV; |
| tbl.glUniformui64NV = debug_glUniformui64NV; |
| tbl.glUniformui64vNV = debug_glUniformui64vNV; |
| |
| // GL_NV_texture_barrier |
| |
| tbl.glTextureBarrierNV = debug_glTextureBarrierNV; |
| |
| // GL_NV_texture_multisample |
| |
| tbl.glTexImage2DMultisampleCoverageNV = debug_glTexImage2DMultisampleCoverageNV; |
| tbl.glTexImage3DMultisampleCoverageNV = debug_glTexImage3DMultisampleCoverageNV; |
| tbl.glTextureImage2DMultisampleCoverageNV = debug_glTextureImage2DMultisampleCoverageNV; |
| tbl.glTextureImage2DMultisampleNV = debug_glTextureImage2DMultisampleNV; |
| tbl.glTextureImage3DMultisampleCoverageNV = debug_glTextureImage3DMultisampleCoverageNV; |
| tbl.glTextureImage3DMultisampleNV = debug_glTextureImage3DMultisampleNV; |
| |
| // GL_NV_transform_feedback |
| |
| tbl.glActiveVaryingNV = debug_glActiveVaryingNV; |
| tbl.glBeginTransformFeedbackNV = debug_glBeginTransformFeedbackNV; |
| tbl.glBindBufferBaseNV = debug_glBindBufferBaseNV; |
| tbl.glBindBufferOffsetNV = debug_glBindBufferOffsetNV; |
| tbl.glBindBufferRangeNV = debug_glBindBufferRangeNV; |
| tbl.glEndTransformFeedbackNV = debug_glEndTransformFeedbackNV; |
| tbl.glGetActiveVaryingNV = debug_glGetActiveVaryingNV; |
| tbl.glGetTransformFeedbackVaryingNV = debug_glGetTransformFeedbackVaryingNV; |
| tbl.glGetVaryingLocationNV = debug_glGetVaryingLocationNV; |
| tbl.glTransformFeedbackAttribsNV = debug_glTransformFeedbackAttribsNV; |
| tbl.glTransformFeedbackVaryingsNV = debug_glTransformFeedbackVaryingsNV; |
| |
| // GL_NV_transform_feedback2 |
| |
| tbl.glBindTransformFeedbackNV = debug_glBindTransformFeedbackNV; |
| tbl.glDeleteTransformFeedbacksNV = debug_glDeleteTransformFeedbacksNV; |
| tbl.glDrawTransformFeedbackNV = debug_glDrawTransformFeedbackNV; |
| tbl.glGenTransformFeedbacksNV = debug_glGenTransformFeedbacksNV; |
| tbl.glIsTransformFeedbackNV = debug_glIsTransformFeedbackNV; |
| tbl.glPauseTransformFeedbackNV = debug_glPauseTransformFeedbackNV; |
| tbl.glResumeTransformFeedbackNV = debug_glResumeTransformFeedbackNV; |
| |
| // GL_NV_vdpau_interop |
| |
| tbl.glVDPAUFiniNV = debug_glVDPAUFiniNV; |
| tbl.glVDPAUGetSurfaceivNV = debug_glVDPAUGetSurfaceivNV; |
| tbl.glVDPAUInitNV = debug_glVDPAUInitNV; |
| tbl.glVDPAUIsSurfaceNV = debug_glVDPAUIsSurfaceNV; |
| tbl.glVDPAUMapSurfacesNV = debug_glVDPAUMapSurfacesNV; |
| tbl.glVDPAURegisterOutputSurfaceNV = debug_glVDPAURegisterOutputSurfaceNV; |
| tbl.glVDPAURegisterVideoSurfaceNV = debug_glVDPAURegisterVideoSurfaceNV; |
| tbl.glVDPAUSurfaceAccessNV = debug_glVDPAUSurfaceAccessNV; |
| tbl.glVDPAUUnmapSurfacesNV = debug_glVDPAUUnmapSurfacesNV; |
| tbl.glVDPAUUnregisterSurfaceNV = debug_glVDPAUUnregisterSurfaceNV; |
| |
| // GL_NV_vertex_array_range |
| |
| tbl.glFlushVertexArrayRangeNV = debug_glFlushVertexArrayRangeNV; |
| tbl.glVertexArrayRangeNV = debug_glVertexArrayRangeNV; |
| |
| // GL_NV_vertex_attrib_integer_64bit |
| |
| tbl.glGetVertexAttribLi64vNV = debug_glGetVertexAttribLi64vNV; |
| tbl.glGetVertexAttribLui64vNV = debug_glGetVertexAttribLui64vNV; |
| tbl.glVertexAttribL1i64NV = debug_glVertexAttribL1i64NV; |
| tbl.glVertexAttribL1i64vNV = debug_glVertexAttribL1i64vNV; |
| tbl.glVertexAttribL1ui64NV = debug_glVertexAttribL1ui64NV; |
| tbl.glVertexAttribL1ui64vNV = debug_glVertexAttribL1ui64vNV; |
| tbl.glVertexAttribL2i64NV = debug_glVertexAttribL2i64NV; |
| tbl.glVertexAttribL2i64vNV = debug_glVertexAttribL2i64vNV; |
| tbl.glVertexAttribL2ui64NV = debug_glVertexAttribL2ui64NV; |
| tbl.glVertexAttribL2ui64vNV = debug_glVertexAttribL2ui64vNV; |
| tbl.glVertexAttribL3i64NV = debug_glVertexAttribL3i64NV; |
| tbl.glVertexAttribL3i64vNV = debug_glVertexAttribL3i64vNV; |
| tbl.glVertexAttribL3ui64NV = debug_glVertexAttribL3ui64NV; |
| tbl.glVertexAttribL3ui64vNV = debug_glVertexAttribL3ui64vNV; |
| tbl.glVertexAttribL4i64NV = debug_glVertexAttribL4i64NV; |
| tbl.glVertexAttribL4i64vNV = debug_glVertexAttribL4i64vNV; |
| tbl.glVertexAttribL4ui64NV = debug_glVertexAttribL4ui64NV; |
| tbl.glVertexAttribL4ui64vNV = debug_glVertexAttribL4ui64vNV; |
| tbl.glVertexAttribLFormatNV = debug_glVertexAttribLFormatNV; |
| |
| // GL_NV_vertex_buffer_unified_memory |
| |
| tbl.glBufferAddressRangeNV = debug_glBufferAddressRangeNV; |
| tbl.glColorFormatNV = debug_glColorFormatNV; |
| tbl.glEdgeFlagFormatNV = debug_glEdgeFlagFormatNV; |
| tbl.glFogCoordFormatNV = debug_glFogCoordFormatNV; |
| tbl.glGetIntegerui64i_vNV = debug_glGetIntegerui64i_vNV; |
| tbl.glIndexFormatNV = debug_glIndexFormatNV; |
| tbl.glNormalFormatNV = debug_glNormalFormatNV; |
| tbl.glSecondaryColorFormatNV = debug_glSecondaryColorFormatNV; |
| tbl.glTexCoordFormatNV = debug_glTexCoordFormatNV; |
| tbl.glVertexAttribFormatNV = debug_glVertexAttribFormatNV; |
| tbl.glVertexAttribIFormatNV = debug_glVertexAttribIFormatNV; |
| tbl.glVertexFormatNV = debug_glVertexFormatNV; |
| |
| // GL_NV_vertex_program |
| |
| tbl.glAreProgramsResidentNV = debug_glAreProgramsResidentNV; |
| tbl.glBindProgramNV = debug_glBindProgramNV; |
| tbl.glDeleteProgramsNV = debug_glDeleteProgramsNV; |
| tbl.glExecuteProgramNV = debug_glExecuteProgramNV; |
| tbl.glGenProgramsNV = debug_glGenProgramsNV; |
| tbl.glGetProgramParameterdvNV = debug_glGetProgramParameterdvNV; |
| tbl.glGetProgramParameterfvNV = debug_glGetProgramParameterfvNV; |
| tbl.glGetProgramStringNV = debug_glGetProgramStringNV; |
| tbl.glGetProgramivNV = debug_glGetProgramivNV; |
| tbl.glGetTrackMatrixivNV = debug_glGetTrackMatrixivNV; |
| tbl.glGetVertexAttribPointervNV = debug_glGetVertexAttribPointervNV; |
| tbl.glGetVertexAttribdvNV = debug_glGetVertexAttribdvNV; |
| tbl.glGetVertexAttribfvNV = debug_glGetVertexAttribfvNV; |
| tbl.glGetVertexAttribivNV = debug_glGetVertexAttribivNV; |
| tbl.glIsProgramNV = debug_glIsProgramNV; |
| tbl.glLoadProgramNV = debug_glLoadProgramNV; |
| tbl.glProgramParameter4dNV = debug_glProgramParameter4dNV; |
| tbl.glProgramParameter4dvNV = debug_glProgramParameter4dvNV; |
| tbl.glProgramParameter4fNV = debug_glProgramParameter4fNV; |
| tbl.glProgramParameter4fvNV = debug_glProgramParameter4fvNV; |
| tbl.glProgramParameters4dvNV = debug_glProgramParameters4dvNV; |
| tbl.glProgramParameters4fvNV = debug_glProgramParameters4fvNV; |
| tbl.glRequestResidentProgramsNV = debug_glRequestResidentProgramsNV; |
| tbl.glTrackMatrixNV = debug_glTrackMatrixNV; |
| tbl.glVertexAttrib1dNV = debug_glVertexAttrib1dNV; |
| tbl.glVertexAttrib1dvNV = debug_glVertexAttrib1dvNV; |
| tbl.glVertexAttrib1fNV = debug_glVertexAttrib1fNV; |
| tbl.glVertexAttrib1fvNV = debug_glVertexAttrib1fvNV; |
| tbl.glVertexAttrib1sNV = debug_glVertexAttrib1sNV; |
| tbl.glVertexAttrib1svNV = debug_glVertexAttrib1svNV; |
| tbl.glVertexAttrib2dNV = debug_glVertexAttrib2dNV; |
| tbl.glVertexAttrib2dvNV = debug_glVertexAttrib2dvNV; |
| tbl.glVertexAttrib2fNV = debug_glVertexAttrib2fNV; |
| tbl.glVertexAttrib2fvNV = debug_glVertexAttrib2fvNV; |
| tbl.glVertexAttrib2sNV = debug_glVertexAttrib2sNV; |
| tbl.glVertexAttrib2svNV = debug_glVertexAttrib2svNV; |
| tbl.glVertexAttrib3dNV = debug_glVertexAttrib3dNV; |
| tbl.glVertexAttrib3dvNV = debug_glVertexAttrib3dvNV; |
| tbl.glVertexAttrib3fNV = debug_glVertexAttrib3fNV; |
| tbl.glVertexAttrib3fvNV = debug_glVertexAttrib3fvNV; |
| tbl.glVertexAttrib3sNV = debug_glVertexAttrib3sNV; |
| tbl.glVertexAttrib3svNV = debug_glVertexAttrib3svNV; |
| tbl.glVertexAttrib4dNV = debug_glVertexAttrib4dNV; |
| tbl.glVertexAttrib4dvNV = debug_glVertexAttrib4dvNV; |
| tbl.glVertexAttrib4fNV = debug_glVertexAttrib4fNV; |
| tbl.glVertexAttrib4fvNV = debug_glVertexAttrib4fvNV; |
| tbl.glVertexAttrib4sNV = debug_glVertexAttrib4sNV; |
| tbl.glVertexAttrib4svNV = debug_glVertexAttrib4svNV; |
| tbl.glVertexAttrib4ubNV = debug_glVertexAttrib4ubNV; |
| tbl.glVertexAttrib4ubvNV = debug_glVertexAttrib4ubvNV; |
| tbl.glVertexAttribPointerNV = debug_glVertexAttribPointerNV; |
| tbl.glVertexAttribs1dvNV = debug_glVertexAttribs1dvNV; |
| tbl.glVertexAttribs1fvNV = debug_glVertexAttribs1fvNV; |
| tbl.glVertexAttribs1svNV = debug_glVertexAttribs1svNV; |
| tbl.glVertexAttribs2dvNV = debug_glVertexAttribs2dvNV; |
| tbl.glVertexAttribs2fvNV = debug_glVertexAttribs2fvNV; |
| tbl.glVertexAttribs2svNV = debug_glVertexAttribs2svNV; |
| tbl.glVertexAttribs3dvNV = debug_glVertexAttribs3dvNV; |
| tbl.glVertexAttribs3fvNV = debug_glVertexAttribs3fvNV; |
| tbl.glVertexAttribs3svNV = debug_glVertexAttribs3svNV; |
| tbl.glVertexAttribs4dvNV = debug_glVertexAttribs4dvNV; |
| tbl.glVertexAttribs4fvNV = debug_glVertexAttribs4fvNV; |
| tbl.glVertexAttribs4svNV = debug_glVertexAttribs4svNV; |
| tbl.glVertexAttribs4ubvNV = debug_glVertexAttribs4ubvNV; |
| |
| // GL_NV_video_capture |
| |
| tbl.glBeginVideoCaptureNV = debug_glBeginVideoCaptureNV; |
| tbl.glBindVideoCaptureStreamBufferNV = debug_glBindVideoCaptureStreamBufferNV; |
| tbl.glBindVideoCaptureStreamTextureNV = debug_glBindVideoCaptureStreamTextureNV; |
| tbl.glEndVideoCaptureNV = debug_glEndVideoCaptureNV; |
| tbl.glGetVideoCaptureStreamdvNV = debug_glGetVideoCaptureStreamdvNV; |
| tbl.glGetVideoCaptureStreamfvNV = debug_glGetVideoCaptureStreamfvNV; |
| tbl.glGetVideoCaptureStreamivNV = debug_glGetVideoCaptureStreamivNV; |
| tbl.glGetVideoCaptureivNV = debug_glGetVideoCaptureivNV; |
| tbl.glVideoCaptureNV = debug_glVideoCaptureNV; |
| tbl.glVideoCaptureStreamParameterdvNV = debug_glVideoCaptureStreamParameterdvNV; |
| tbl.glVideoCaptureStreamParameterfvNV = debug_glVideoCaptureStreamParameterfvNV; |
| tbl.glVideoCaptureStreamParameterivNV = debug_glVideoCaptureStreamParameterivNV; |
| |
| // GL_OES_blend_equation_separate |
| |
| tbl.glBlendEquationSeparateOES = debug_glBlendEquationSeparateOES; |
| |
| // GL_OES_blend_func_separate |
| |
| tbl.glBlendFuncSeparateOES = debug_glBlendFuncSeparateOES; |
| |
| // GL_OES_blend_subtract |
| |
| tbl.glBlendEquationOES = debug_glBlendEquationOES; |
| |
| // GL_OES_framebuffer_object |
| |
| tbl.glBindFramebufferOES = debug_glBindFramebufferOES; |
| tbl.glBindRenderbufferOES = debug_glBindRenderbufferOES; |
| tbl.glCheckFramebufferStatusOES = debug_glCheckFramebufferStatusOES; |
| tbl.glDeleteFramebuffersOES = debug_glDeleteFramebuffersOES; |
| tbl.glDeleteRenderbuffersOES = debug_glDeleteRenderbuffersOES; |
| tbl.glFramebufferRenderbufferOES = debug_glFramebufferRenderbufferOES; |
| tbl.glFramebufferTexture2DOES = debug_glFramebufferTexture2DOES; |
| tbl.glGenFramebuffersOES = debug_glGenFramebuffersOES; |
| tbl.glGenRenderbuffersOES = debug_glGenRenderbuffersOES; |
| tbl.glGenerateMipmapOES = debug_glGenerateMipmapOES; |
| tbl.glGetFramebufferAttachmentParameterivOES = debug_glGetFramebufferAttachmentParameterivOES; |
| tbl.glGetRenderbufferParameterivOES = debug_glGetRenderbufferParameterivOES; |
| tbl.glIsFramebufferOES = debug_glIsFramebufferOES; |
| tbl.glIsRenderbufferOES = debug_glIsRenderbufferOES; |
| tbl.glRenderbufferStorageOES = debug_glRenderbufferStorageOES; |
| |
| // GL_OES_get_program_binary |
| |
| tbl.glGetProgramBinaryOES = debug_glGetProgramBinaryOES; |
| tbl.glProgramBinaryOES = debug_glProgramBinaryOES; |
| |
| // GL_OES_mapbuffer |
| |
| tbl.glGetBufferPointervOES = debug_glGetBufferPointervOES; |
| tbl.glMapBufferOES = debug_glMapBufferOES; |
| tbl.glUnmapBufferOES = debug_glUnmapBufferOES; |
| |
| // GL_OES_matrix_palette |
| |
| tbl.glCurrentPaletteMatrixOES = debug_glCurrentPaletteMatrixOES; |
| tbl.glMatrixIndexPointerOES = debug_glMatrixIndexPointerOES; |
| tbl.glWeightPointerOES = debug_glWeightPointerOES; |
| |
| // GL_OES_single_precision |
| |
| tbl.glClearDepthfOES = debug_glClearDepthfOES; |
| tbl.glClipPlanefOES = debug_glClipPlanefOES; |
| tbl.glDepthRangefOES = debug_glDepthRangefOES; |
| tbl.glFrustumfOES = debug_glFrustumfOES; |
| tbl.glGetClipPlanefOES = debug_glGetClipPlanefOES; |
| tbl.glOrthofOES = debug_glOrthofOES; |
| |
| // GL_OES_texture_3D |
| |
| tbl.glCompressedTexImage3DOES = debug_glCompressedTexImage3DOES; |
| tbl.glCompressedTexSubImage3DOES = debug_glCompressedTexSubImage3DOES; |
| tbl.glCopyTexSubImage3DOES = debug_glCopyTexSubImage3DOES; |
| tbl.glFramebufferTexture3DOES = debug_glFramebufferTexture3DOES; |
| tbl.glTexImage3DOES = debug_glTexImage3DOES; |
| tbl.glTexSubImage3DOES = debug_glTexSubImage3DOES; |
| |
| // GL_OES_texture_cube_map |
| |
| tbl.glGetTexGenfvOES = debug_glGetTexGenfvOES; |
| tbl.glGetTexGenivOES = debug_glGetTexGenivOES; |
| tbl.glGetTexGenxvOES = debug_glGetTexGenxvOES; |
| tbl.glTexGenfOES = debug_glTexGenfOES; |
| tbl.glTexGenfvOES = debug_glTexGenfvOES; |
| tbl.glTexGeniOES = debug_glTexGeniOES; |
| tbl.glTexGenivOES = debug_glTexGenivOES; |
| tbl.glTexGenxOES = debug_glTexGenxOES; |
| tbl.glTexGenxvOES = debug_glTexGenxvOES; |
| |
| // GL_OES_vertex_array_object |
| |
| tbl.glBindVertexArrayOES = debug_glBindVertexArrayOES; |
| tbl.glDeleteVertexArraysOES = debug_glDeleteVertexArraysOES; |
| tbl.glGenVertexArraysOES = debug_glGenVertexArraysOES; |
| tbl.glIsVertexArrayOES = debug_glIsVertexArrayOES; |
| |
| // GL_PGI_misc_hints |
| |
| tbl.glHintPGI = debug_glHintPGI; |
| |
| // GL_QCOM_alpha_test |
| |
| tbl.glAlphaFuncQCOM = debug_glAlphaFuncQCOM; |
| |
| // GL_QCOM_driver_control |
| |
| tbl.glDisableDriverControlQCOM = debug_glDisableDriverControlQCOM; |
| tbl.glEnableDriverControlQCOM = debug_glEnableDriverControlQCOM; |
| tbl.glGetDriverControlStringQCOM = debug_glGetDriverControlStringQCOM; |
| tbl.glGetDriverControlsQCOM = debug_glGetDriverControlsQCOM; |
| |
| // GL_QCOM_extended_get |
| |
| tbl.glExtGetBufferPointervQCOM = debug_glExtGetBufferPointervQCOM; |
| tbl.glExtGetBuffersQCOM = debug_glExtGetBuffersQCOM; |
| tbl.glExtGetFramebuffersQCOM = debug_glExtGetFramebuffersQCOM; |
| tbl.glExtGetRenderbuffersQCOM = debug_glExtGetRenderbuffersQCOM; |
| tbl.glExtGetTexLevelParameterivQCOM = debug_glExtGetTexLevelParameterivQCOM; |
| tbl.glExtGetTexSubImageQCOM = debug_glExtGetTexSubImageQCOM; |
| tbl.glExtGetTexturesQCOM = debug_glExtGetTexturesQCOM; |
| tbl.glExtTexObjectStateOverrideiQCOM = debug_glExtTexObjectStateOverrideiQCOM; |
| |
| // GL_QCOM_extended_get2 |
| |
| tbl.glExtGetProgramBinarySourceQCOM = debug_glExtGetProgramBinarySourceQCOM; |
| tbl.glExtGetProgramsQCOM = debug_glExtGetProgramsQCOM; |
| tbl.glExtGetShadersQCOM = debug_glExtGetShadersQCOM; |
| tbl.glExtIsProgramBinaryQCOM = debug_glExtIsProgramBinaryQCOM; |
| |
| // GL_QCOM_tiled_rendering |
| |
| tbl.glEndTilingQCOM = debug_glEndTilingQCOM; |
| tbl.glStartTilingQCOM = debug_glStartTilingQCOM; |
| |
| // GL_REGAL_ES1_0_compatibility |
| |
| tbl.glAlphaFuncx = debug_glAlphaFuncx; |
| tbl.glClearColorx = debug_glClearColorx; |
| tbl.glClearDepthx = debug_glClearDepthx; |
| tbl.glColor4x = debug_glColor4x; |
| tbl.glDepthRangex = debug_glDepthRangex; |
| tbl.glFogx = debug_glFogx; |
| tbl.glFogxv = debug_glFogxv; |
| tbl.glFrustumf = debug_glFrustumf; |
| tbl.glFrustumx = debug_glFrustumx; |
| tbl.glLightModelx = debug_glLightModelx; |
| tbl.glLightModelxv = debug_glLightModelxv; |
| tbl.glLightx = debug_glLightx; |
| tbl.glLightxv = debug_glLightxv; |
| tbl.glLineWidthx = debug_glLineWidthx; |
| tbl.glLoadMatrixx = debug_glLoadMatrixx; |
| tbl.glMaterialx = debug_glMaterialx; |
| tbl.glMaterialxv = debug_glMaterialxv; |
| tbl.glMultMatrixx = debug_glMultMatrixx; |
| tbl.glMultiTexCoord4x = debug_glMultiTexCoord4x; |
| tbl.glNormal3x = debug_glNormal3x; |
| tbl.glOrthof = debug_glOrthof; |
| tbl.glOrthox = debug_glOrthox; |
| tbl.glPointSizex = debug_glPointSizex; |
| tbl.glPolygonOffsetx = debug_glPolygonOffsetx; |
| tbl.glRotatex = debug_glRotatex; |
| tbl.glSampleCoveragex = debug_glSampleCoveragex; |
| tbl.glScalex = debug_glScalex; |
| tbl.glTexEnvx = debug_glTexEnvx; |
| tbl.glTexEnvxv = debug_glTexEnvxv; |
| tbl.glTexParameterx = debug_glTexParameterx; |
| tbl.glTranslatex = debug_glTranslatex; |
| |
| // GL_REGAL_ES1_1_compatibility |
| |
| tbl.glClipPlanef = debug_glClipPlanef; |
| tbl.glClipPlanex = debug_glClipPlanex; |
| tbl.glGetClipPlanef = debug_glGetClipPlanef; |
| tbl.glGetClipPlanex = debug_glGetClipPlanex; |
| tbl.glGetFixedv = debug_glGetFixedv; |
| tbl.glGetLightxv = debug_glGetLightxv; |
| tbl.glGetMaterialxv = debug_glGetMaterialxv; |
| tbl.glGetTexEnvxv = debug_glGetTexEnvxv; |
| tbl.glGetTexParameterxv = debug_glGetTexParameterxv; |
| tbl.glPointParameterx = debug_glPointParameterx; |
| tbl.glPointParameterxv = debug_glPointParameterxv; |
| tbl.glPointSizePointerOES = debug_glPointSizePointerOES; |
| tbl.glTexParameterxv = debug_glTexParameterxv; |
| |
| // GL_REGAL_log |
| |
| tbl.glLogMessageCallbackREGAL = debug_glLogMessageCallbackREGAL; |
| |
| // GL_SGIS_detail_texture |
| |
| tbl.glDetailTexFuncSGIS = debug_glDetailTexFuncSGIS; |
| tbl.glGetDetailTexFuncSGIS = debug_glGetDetailTexFuncSGIS; |
| |
| // GL_SGIS_fog_function |
| |
| tbl.glFogFuncSGIS = debug_glFogFuncSGIS; |
| tbl.glGetFogFuncSGIS = debug_glGetFogFuncSGIS; |
| |
| // GL_SGIS_multisample |
| |
| tbl.glSampleMaskSGIS = debug_glSampleMaskSGIS; |
| tbl.glSamplePatternSGIS = debug_glSamplePatternSGIS; |
| |
| // GL_SGIS_pixel_texture |
| |
| tbl.glGetPixelTexGenParameterfvSGIS = debug_glGetPixelTexGenParameterfvSGIS; |
| tbl.glGetPixelTexGenParameterivSGIS = debug_glGetPixelTexGenParameterivSGIS; |
| tbl.glPixelTexGenParameterfSGIS = debug_glPixelTexGenParameterfSGIS; |
| tbl.glPixelTexGenParameterfvSGIS = debug_glPixelTexGenParameterfvSGIS; |
| tbl.glPixelTexGenParameteriSGIS = debug_glPixelTexGenParameteriSGIS; |
| tbl.glPixelTexGenParameterivSGIS = debug_glPixelTexGenParameterivSGIS; |
| |
| // GL_SGIS_point_parameters |
| |
| tbl.glPointParameterfSGIS = debug_glPointParameterfSGIS; |
| tbl.glPointParameterfvSGIS = debug_glPointParameterfvSGIS; |
| |
| // GL_SGIS_sharpen_texture |
| |
| tbl.glGetSharpenTexFuncSGIS = debug_glGetSharpenTexFuncSGIS; |
| tbl.glSharpenTexFuncSGIS = debug_glSharpenTexFuncSGIS; |
| |
| // GL_SGIS_texture4D |
| |
| tbl.glTexImage4DSGIS = debug_glTexImage4DSGIS; |
| tbl.glTexSubImage4DSGIS = debug_glTexSubImage4DSGIS; |
| |
| // GL_SGIS_texture_color_mask |
| |
| tbl.glTextureColorMaskSGIS = debug_glTextureColorMaskSGIS; |
| |
| // GL_SGIS_texture_filter4 |
| |
| tbl.glGetTexFilterFuncSGIS = debug_glGetTexFilterFuncSGIS; |
| tbl.glTexFilterFuncSGIS = debug_glTexFilterFuncSGIS; |
| |
| // GL_SGIX_async |
| |
| tbl.glAsyncMarkerSGIX = debug_glAsyncMarkerSGIX; |
| tbl.glDeleteAsyncMarkersSGIX = debug_glDeleteAsyncMarkersSGIX; |
| tbl.glFinishAsyncSGIX = debug_glFinishAsyncSGIX; |
| tbl.glGenAsyncMarkersSGIX = debug_glGenAsyncMarkersSGIX; |
| tbl.glIsAsyncMarkerSGIX = debug_glIsAsyncMarkerSGIX; |
| tbl.glPollAsyncSGIX = debug_glPollAsyncSGIX; |
| |
| // GL_SGIX_flush_raster |
| |
| tbl.glFlushRasterSGIX = debug_glFlushRasterSGIX; |
| |
| // GL_SGIX_fog_texture |
| |
| tbl.glTextureFogSGIX = debug_glTextureFogSGIX; |
| |
| // GL_SGIX_fragment_lighting |
| |
| tbl.glFragmentColorMaterialSGIX = debug_glFragmentColorMaterialSGIX; |
| tbl.glFragmentLightModelfSGIX = debug_glFragmentLightModelfSGIX; |
| tbl.glFragmentLightModelfvSGIX = debug_glFragmentLightModelfvSGIX; |
| tbl.glFragmentLightModeliSGIX = debug_glFragmentLightModeliSGIX; |
| tbl.glFragmentLightModelivSGIX = debug_glFragmentLightModelivSGIX; |
| tbl.glFragmentLightfSGIX = debug_glFragmentLightfSGIX; |
| tbl.glFragmentLightfvSGIX = debug_glFragmentLightfvSGIX; |
| tbl.glFragmentLightiSGIX = debug_glFragmentLightiSGIX; |
| tbl.glFragmentLightivSGIX = debug_glFragmentLightivSGIX; |
| tbl.glFragmentMaterialfSGIX = debug_glFragmentMaterialfSGIX; |
| tbl.glFragmentMaterialfvSGIX = debug_glFragmentMaterialfvSGIX; |
| tbl.glFragmentMaterialiSGIX = debug_glFragmentMaterialiSGIX; |
| tbl.glFragmentMaterialivSGIX = debug_glFragmentMaterialivSGIX; |
| tbl.glGetFragmentLightfvSGIX = debug_glGetFragmentLightfvSGIX; |
| tbl.glGetFragmentLightivSGIX = debug_glGetFragmentLightivSGIX; |
| tbl.glGetFragmentMaterialfvSGIX = debug_glGetFragmentMaterialfvSGIX; |
| tbl.glGetFragmentMaterialivSGIX = debug_glGetFragmentMaterialivSGIX; |
| tbl.glLightEnviSGIX = debug_glLightEnviSGIX; |
| |
| // GL_SGIX_framezoom |
| |
| tbl.glFrameZoomSGIX = debug_glFrameZoomSGIX; |
| |
| // GL_SGIX_igloo_interface |
| |
| tbl.glIglooInterfaceSGIX = debug_glIglooInterfaceSGIX; |
| |
| // GL_SGIX_instruments |
| |
| tbl.glGetInstrumentsSGIX = debug_glGetInstrumentsSGIX; |
| tbl.glInstrumentsBufferSGIX = debug_glInstrumentsBufferSGIX; |
| tbl.glPollInstrumentsSGIX = debug_glPollInstrumentsSGIX; |
| tbl.glReadInstrumentsSGIX = debug_glReadInstrumentsSGIX; |
| tbl.glStartInstrumentsSGIX = debug_glStartInstrumentsSGIX; |
| tbl.glStopInstrumentsSGIX = debug_glStopInstrumentsSGIX; |
| |
| // GL_SGIX_list_priority |
| |
| tbl.glGetListParameterfvSGIX = debug_glGetListParameterfvSGIX; |
| tbl.glGetListParameterivSGIX = debug_glGetListParameterivSGIX; |
| tbl.glListParameterfSGIX = debug_glListParameterfSGIX; |
| tbl.glListParameterfvSGIX = debug_glListParameterfvSGIX; |
| tbl.glListParameteriSGIX = debug_glListParameteriSGIX; |
| tbl.glListParameterivSGIX = debug_glListParameterivSGIX; |
| |
| // GL_SGIX_pixel_texture |
| |
| tbl.glPixelTexGenSGIX = debug_glPixelTexGenSGIX; |
| |
| // GL_SGIX_polynomial_ffd |
| |
| tbl.glDeformSGIX = debug_glDeformSGIX; |
| tbl.glDeformationMap3dSGIX = debug_glDeformationMap3dSGIX; |
| tbl.glDeformationMap3fSGIX = debug_glDeformationMap3fSGIX; |
| tbl.glLoadIdentityDeformationMapSGIX = debug_glLoadIdentityDeformationMapSGIX; |
| |
| // GL_SGIX_reference_plane |
| |
| tbl.glReferencePlaneSGIX = debug_glReferencePlaneSGIX; |
| |
| // GL_SGIX_sprite |
| |
| tbl.glSpriteParameterfSGIX = debug_glSpriteParameterfSGIX; |
| tbl.glSpriteParameterfvSGIX = debug_glSpriteParameterfvSGIX; |
| tbl.glSpriteParameteriSGIX = debug_glSpriteParameteriSGIX; |
| tbl.glSpriteParameterivSGIX = debug_glSpriteParameterivSGIX; |
| |
| // GL_SGIX_tag_sample_buffer |
| |
| tbl.glTagSampleBufferSGIX = debug_glTagSampleBufferSGIX; |
| |
| // GL_SGI_color_table |
| |
| tbl.glColorTableParameterfvSGI = debug_glColorTableParameterfvSGI; |
| tbl.glColorTableParameterivSGI = debug_glColorTableParameterivSGI; |
| tbl.glColorTableSGI = debug_glColorTableSGI; |
| tbl.glCopyColorTableSGI = debug_glCopyColorTableSGI; |
| tbl.glGetColorTableParameterfvSGI = debug_glGetColorTableParameterfvSGI; |
| tbl.glGetColorTableParameterivSGI = debug_glGetColorTableParameterivSGI; |
| tbl.glGetColorTableSGI = debug_glGetColorTableSGI; |
| |
| // GL_SUNX_constant_data |
| |
| tbl.glFinishTextureSUNX = debug_glFinishTextureSUNX; |
| |
| // GL_SUN_global_alpha |
| |
| tbl.glGlobalAlphaFactorbSUN = debug_glGlobalAlphaFactorbSUN; |
| tbl.glGlobalAlphaFactordSUN = debug_glGlobalAlphaFactordSUN; |
| tbl.glGlobalAlphaFactorfSUN = debug_glGlobalAlphaFactorfSUN; |
| tbl.glGlobalAlphaFactoriSUN = debug_glGlobalAlphaFactoriSUN; |
| tbl.glGlobalAlphaFactorsSUN = debug_glGlobalAlphaFactorsSUN; |
| tbl.glGlobalAlphaFactorubSUN = debug_glGlobalAlphaFactorubSUN; |
| tbl.glGlobalAlphaFactoruiSUN = debug_glGlobalAlphaFactoruiSUN; |
| tbl.glGlobalAlphaFactorusSUN = debug_glGlobalAlphaFactorusSUN; |
| |
| // GL_SUN_mesh_array |
| |
| tbl.glDrawMeshArraysSUN = debug_glDrawMeshArraysSUN; |
| |
| // GL_SUN_read_video_pixels |
| |
| tbl.glReadVideoPixelsSUN = debug_glReadVideoPixelsSUN; |
| |
| // GL_SUN_triangle_list |
| |
| tbl.glReplacementCodePointerSUN = debug_glReplacementCodePointerSUN; |
| tbl.glReplacementCodeubSUN = debug_glReplacementCodeubSUN; |
| tbl.glReplacementCodeubvSUN = debug_glReplacementCodeubvSUN; |
| tbl.glReplacementCodeuiSUN = debug_glReplacementCodeuiSUN; |
| tbl.glReplacementCodeuivSUN = debug_glReplacementCodeuivSUN; |
| tbl.glReplacementCodeusSUN = debug_glReplacementCodeusSUN; |
| tbl.glReplacementCodeusvSUN = debug_glReplacementCodeusvSUN; |
| |
| // GL_SUN_vertex |
| |
| tbl.glColor3fVertex3fSUN = debug_glColor3fVertex3fSUN; |
| tbl.glColor3fVertex3fvSUN = debug_glColor3fVertex3fvSUN; |
| tbl.glColor4fNormal3fVertex3fSUN = debug_glColor4fNormal3fVertex3fSUN; |
| tbl.glColor4fNormal3fVertex3fvSUN = debug_glColor4fNormal3fVertex3fvSUN; |
| tbl.glColor4ubVertex2fSUN = debug_glColor4ubVertex2fSUN; |
| tbl.glColor4ubVertex2fvSUN = debug_glColor4ubVertex2fvSUN; |
| tbl.glColor4ubVertex3fSUN = debug_glColor4ubVertex3fSUN; |
| tbl.glColor4ubVertex3fvSUN = debug_glColor4ubVertex3fvSUN; |
| tbl.glNormal3fVertex3fSUN = debug_glNormal3fVertex3fSUN; |
| tbl.glNormal3fVertex3fvSUN = debug_glNormal3fVertex3fvSUN; |
| tbl.glReplacementCodeuiColor3fVertex3fSUN = debug_glReplacementCodeuiColor3fVertex3fSUN; |
| tbl.glReplacementCodeuiColor3fVertex3fvSUN = debug_glReplacementCodeuiColor3fVertex3fvSUN; |
| tbl.glReplacementCodeuiColor4fNormal3fVertex3fSUN = debug_glReplacementCodeuiColor4fNormal3fVertex3fSUN; |
| tbl.glReplacementCodeuiColor4fNormal3fVertex3fvSUN = debug_glReplacementCodeuiColor4fNormal3fVertex3fvSUN; |
| tbl.glReplacementCodeuiColor4ubVertex3fSUN = debug_glReplacementCodeuiColor4ubVertex3fSUN; |
| tbl.glReplacementCodeuiColor4ubVertex3fvSUN = debug_glReplacementCodeuiColor4ubVertex3fvSUN; |
| tbl.glReplacementCodeuiNormal3fVertex3fSUN = debug_glReplacementCodeuiNormal3fVertex3fSUN; |
| tbl.glReplacementCodeuiNormal3fVertex3fvSUN = debug_glReplacementCodeuiNormal3fVertex3fvSUN; |
| tbl.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN = debug_glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN; |
| tbl.glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN = debug_glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN; |
| tbl.glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN = debug_glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN; |
| tbl.glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN = debug_glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN; |
| tbl.glReplacementCodeuiTexCoord2fVertex3fSUN = debug_glReplacementCodeuiTexCoord2fVertex3fSUN; |
| tbl.glReplacementCodeuiTexCoord2fVertex3fvSUN = debug_glReplacementCodeuiTexCoord2fVertex3fvSUN; |
| tbl.glReplacementCodeuiVertex3fSUN = debug_glReplacementCodeuiVertex3fSUN; |
| tbl.glReplacementCodeuiVertex3fvSUN = debug_glReplacementCodeuiVertex3fvSUN; |
| tbl.glTexCoord2fColor3fVertex3fSUN = debug_glTexCoord2fColor3fVertex3fSUN; |
| tbl.glTexCoord2fColor3fVertex3fvSUN = debug_glTexCoord2fColor3fVertex3fvSUN; |
| tbl.glTexCoord2fColor4fNormal3fVertex3fSUN = debug_glTexCoord2fColor4fNormal3fVertex3fSUN; |
| tbl.glTexCoord2fColor4fNormal3fVertex3fvSUN = debug_glTexCoord2fColor4fNormal3fVertex3fvSUN; |
| tbl.glTexCoord2fColor4ubVertex3fSUN = debug_glTexCoord2fColor4ubVertex3fSUN; |
| tbl.glTexCoord2fColor4ubVertex3fvSUN = debug_glTexCoord2fColor4ubVertex3fvSUN; |
| tbl.glTexCoord2fNormal3fVertex3fSUN = debug_glTexCoord2fNormal3fVertex3fSUN; |
| tbl.glTexCoord2fNormal3fVertex3fvSUN = debug_glTexCoord2fNormal3fVertex3fvSUN; |
| tbl.glTexCoord2fVertex3fSUN = debug_glTexCoord2fVertex3fSUN; |
| tbl.glTexCoord2fVertex3fvSUN = debug_glTexCoord2fVertex3fvSUN; |
| tbl.glTexCoord4fColor4fNormal3fVertex4fSUN = debug_glTexCoord4fColor4fNormal3fVertex4fSUN; |
| tbl.glTexCoord4fColor4fNormal3fVertex4fvSUN = debug_glTexCoord4fColor4fNormal3fVertex4fvSUN; |
| tbl.glTexCoord4fVertex4fSUN = debug_glTexCoord4fVertex4fSUN; |
| tbl.glTexCoord4fVertex4fvSUN = debug_glTexCoord4fVertex4fvSUN; |
| |
| // GL_WIN_swap_hint |
| |
| tbl.glAddSwapHintRectWIN = debug_glAddSwapHintRectWIN; |
| |
| } |
| |
| REGAL_NAMESPACE_END |
| |
| #endif |